@purpleschool/multisite 0.0.1 → 0.0.3

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 (603) hide show
  1. package/build/api/controller/http/ai-proxy.d.ts +6 -0
  2. package/build/api/controller/http/ai-proxy.d.ts.map +1 -0
  3. package/build/api/controller/http/ai-proxy.js +1 -0
  4. package/build/api/controller/http/auth.d.ts +14 -0
  5. package/build/api/controller/http/auth.d.ts.map +1 -0
  6. package/build/api/controller/http/auth.js +8 -0
  7. package/build/api/controller/http/cloud-payments.d.ts +5 -0
  8. package/build/api/controller/http/cloud-payments.d.ts.map +1 -0
  9. package/build/api/controller/http/file.d.ts +6 -0
  10. package/build/api/controller/http/file.d.ts.map +1 -0
  11. package/build/api/controller/http/health.d.ts +4 -0
  12. package/build/api/controller/http/health.d.ts.map +1 -0
  13. package/build/api/controller/http/image-editor.d.ts +15 -0
  14. package/build/api/controller/http/image-editor.d.ts.map +1 -0
  15. package/build/api/controller/http/image-editor.js +17 -0
  16. package/build/api/controller/http/image-generation.d.ts +15 -0
  17. package/build/api/controller/http/image-generation.d.ts.map +1 -0
  18. package/{api/controller/http/index.ts → build/api/controller/http/index.d.ts} +5 -0
  19. package/build/api/controller/http/index.d.ts.map +1 -0
  20. package/build/api/controller/http/index.js +4 -0
  21. package/build/api/controller/http/marketplace-card.d.ts +15 -0
  22. package/build/api/controller/http/marketplace-card.d.ts.map +1 -0
  23. package/build/api/controller/http/marketplace-card.js +17 -0
  24. package/build/api/controller/http/page-question.d.ts +9 -0
  25. package/build/api/controller/http/page-question.d.ts.map +1 -0
  26. package/build/api/controller/http/page-question.js +11 -0
  27. package/build/api/controller/http/page.d.ts +12 -0
  28. package/build/api/controller/http/page.d.ts.map +1 -0
  29. package/build/api/controller/http/page.js +14 -0
  30. package/build/api/controller/http/payment.d.ts +5 -0
  31. package/build/api/controller/http/payment.d.ts.map +1 -0
  32. package/build/api/controller/http/product.d.ts +7 -0
  33. package/build/api/controller/http/product.d.ts.map +1 -0
  34. package/build/api/controller/http/subscription.d.ts +7 -0
  35. package/build/api/controller/http/subscription.d.ts.map +1 -0
  36. package/build/api/controller/http/transaction.d.ts +5 -0
  37. package/build/api/controller/http/transaction.d.ts.map +1 -0
  38. package/build/api/controller/http/unregistered-user.d.ts +2 -0
  39. package/build/api/controller/http/unregistered-user.d.ts.map +1 -0
  40. package/build/api/controller/http/user.d.ts +5 -0
  41. package/build/api/controller/http/user.d.ts.map +1 -0
  42. package/build/api/controller/index.d.ts +2 -0
  43. package/build/api/controller/index.d.ts.map +1 -0
  44. package/{api/index.ts → build/api/index.d.ts} +1 -0
  45. package/build/api/index.d.ts.map +1 -0
  46. package/build/api/routes.d.ts +90 -0
  47. package/build/api/routes.d.ts.map +1 -0
  48. package/build/api/routes.js +23 -0
  49. package/build/commands/auth/create-user.command.d.ts +35 -0
  50. package/build/commands/auth/create-user.command.d.ts.map +1 -0
  51. package/build/commands/auth/create-user.command.js +16 -0
  52. package/build/commands/auth/index.d.ts +10 -0
  53. package/build/commands/auth/index.d.ts.map +1 -0
  54. package/build/commands/auth/index.js +7 -0
  55. package/build/commands/auth/login.command.d.ts +37 -0
  56. package/build/commands/auth/login.command.d.ts.map +1 -0
  57. package/build/commands/auth/register.command.d.ts +44 -0
  58. package/build/commands/auth/register.command.d.ts.map +1 -0
  59. package/build/commands/auth/register.command.js +3 -0
  60. package/build/commands/auth/reset-password.command.d.ts +36 -0
  61. package/build/commands/auth/reset-password.command.d.ts.map +1 -0
  62. package/build/commands/auth/reset-password.command.js +17 -0
  63. package/build/commands/auth/restore-password.command.d.ts +35 -0
  64. package/build/commands/auth/restore-password.command.d.ts.map +1 -0
  65. package/build/commands/auth/restore-password.command.js +16 -0
  66. package/build/commands/auth/verify-email-retry.command.d.ts +30 -0
  67. package/build/commands/auth/verify-email-retry.command.d.ts.map +1 -0
  68. package/build/commands/auth/verify-email-retry.command.js +15 -0
  69. package/build/commands/auth/verify-email.command.d.ts +33 -0
  70. package/build/commands/auth/verify-email.command.d.ts.map +1 -0
  71. package/build/commands/auth/verify-email.command.js +16 -0
  72. package/build/commands/auth/vk-login.command.d.ts +45 -0
  73. package/build/commands/auth/vk-login.command.d.ts.map +1 -0
  74. package/build/commands/auth/vk-login.command.js +20 -0
  75. package/build/commands/auth/yandex-login.command.d.ts +39 -0
  76. package/build/commands/auth/yandex-login.command.d.ts.map +1 -0
  77. package/build/commands/auth/yandex-login.command.js +18 -0
  78. package/{commands/file/index.ts → build/commands/file/index.d.ts} +1 -0
  79. package/build/commands/file/index.d.ts.map +1 -0
  80. package/build/commands/file/upload-file.command.d.ts +57 -0
  81. package/build/commands/file/upload-file.command.d.ts.map +1 -0
  82. package/build/commands/image-editor/execute-image-editor.command.d.ts +275 -0
  83. package/build/commands/image-editor/execute-image-editor.command.d.ts.map +1 -0
  84. package/build/commands/image-editor/execute-image-editor.command.js +16 -0
  85. package/build/commands/image-editor/index.d.ts +8 -0
  86. package/build/commands/image-editor/index.d.ts.map +1 -0
  87. package/build/commands/image-editor/index.js +23 -0
  88. package/build/commands/image-editor/proxy-image-editor-callback.command.d.ts +26 -0
  89. package/build/commands/image-editor/proxy-image-editor-callback.command.d.ts.map +1 -0
  90. package/build/commands/image-editor/proxy-image-editor-callback.command.js +15 -0
  91. package/build/commands/image-editor/retry-image-editor-job.command.d.ts +275 -0
  92. package/build/commands/image-editor/retry-image-editor-job.command.d.ts.map +1 -0
  93. package/build/commands/image-editor/retry-image-editor-job.command.js +16 -0
  94. package/build/commands/image-editor/set-reaction-to-image-editor-job.command.d.ts +253 -0
  95. package/build/commands/image-editor/set-reaction-to-image-editor-job.command.d.ts.map +1 -0
  96. package/build/commands/image-editor/set-reaction-to-image-editor-job.command.js +16 -0
  97. package/build/commands/image-editor/soft-delete-image-editor-job-by-uuid.command.d.ts +12 -0
  98. package/build/commands/image-editor/soft-delete-image-editor-job-by-uuid.command.d.ts.map +1 -0
  99. package/build/commands/image-editor/soft-delete-image-editor-job-by-uuid.command.js +10 -0
  100. package/build/commands/image-editor/soft-delete-image-editor-jobs-by-criteria.command.d.ts +12 -0
  101. package/build/commands/image-editor/soft-delete-image-editor-jobs-by-criteria.command.d.ts.map +1 -0
  102. package/build/commands/image-editor/soft-delete-image-editor-jobs-by-criteria.command.js +10 -0
  103. package/build/commands/image-editor/update-image-editor-job-title.command.d.ts +249 -0
  104. package/build/commands/image-editor/update-image-editor-job-title.command.d.ts.map +1 -0
  105. package/build/commands/image-editor/update-image-editor-job-title.command.js +14 -0
  106. package/build/commands/image-generation/execute-image-generation.command.d.ts +316 -0
  107. package/build/commands/image-generation/execute-image-generation.command.d.ts.map +1 -0
  108. package/{commands/image-generation/index.ts → build/commands/image-generation/index.d.ts} +1 -0
  109. package/build/commands/image-generation/index.d.ts.map +1 -0
  110. package/build/commands/image-generation/proxy-image-generation-callback.command.d.ts +48 -0
  111. package/build/commands/image-generation/proxy-image-generation-callback.command.d.ts.map +1 -0
  112. package/build/commands/image-generation/retry-image-generation-job.command.d.ts +316 -0
  113. package/build/commands/image-generation/retry-image-generation-job.command.d.ts.map +1 -0
  114. package/build/commands/image-generation/set-reaction-to-image-generation-job.command.d.ts +292 -0
  115. package/build/commands/image-generation/set-reaction-to-image-generation-job.command.d.ts.map +1 -0
  116. package/build/commands/image-generation/soft-delete-image-generation-job-by-uuid.command.d.ts +12 -0
  117. package/build/commands/image-generation/soft-delete-image-generation-job-by-uuid.command.d.ts.map +1 -0
  118. package/build/commands/image-generation/soft-delete-image-generation-jobs-by-criteria.command.d.ts +12 -0
  119. package/build/commands/image-generation/soft-delete-image-generation-jobs-by-criteria.command.d.ts.map +1 -0
  120. package/build/commands/image-generation/update-image-generation-job-title.command.d.ts +282 -0
  121. package/build/commands/image-generation/update-image-generation-job-title.command.d.ts.map +1 -0
  122. package/{commands/index.ts → build/commands/index.d.ts} +4 -0
  123. package/build/commands/index.d.ts.map +1 -0
  124. package/build/commands/index.js +3 -0
  125. package/build/commands/marketplace-card/execute-marketplace-card.command.d.ts +155 -0
  126. package/build/commands/marketplace-card/execute-marketplace-card.command.d.ts.map +1 -0
  127. package/build/commands/marketplace-card/execute-marketplace-card.command.js +12 -0
  128. package/build/commands/marketplace-card/index.d.ts +7 -0
  129. package/build/commands/marketplace-card/index.d.ts.map +1 -0
  130. package/build/commands/marketplace-card/index.js +22 -0
  131. package/build/commands/marketplace-card/retry-marketplace-card-job.command.d.ts +163 -0
  132. package/build/commands/marketplace-card/retry-marketplace-card-job.command.d.ts.map +1 -0
  133. package/build/commands/marketplace-card/retry-marketplace-card-job.command.js +25 -0
  134. package/build/commands/marketplace-card/set-reaction-to-marketplace-card-job.command.d.ts +143 -0
  135. package/build/commands/marketplace-card/set-reaction-to-marketplace-card-job.command.d.ts.map +1 -0
  136. package/build/commands/marketplace-card/set-reaction-to-marketplace-card-job.command.js +19 -0
  137. package/build/commands/marketplace-card/soft-delete-marketplace-card-job-by-uuid.command.d.ts +20 -0
  138. package/build/commands/marketplace-card/soft-delete-marketplace-card-job-by-uuid.command.d.ts.map +1 -0
  139. package/build/commands/marketplace-card/soft-delete-marketplace-card-job-by-uuid.command.js +13 -0
  140. package/build/commands/marketplace-card/soft-delete-marketplace-card-jobs-by-criteria.command.d.ts +12 -0
  141. package/build/commands/marketplace-card/soft-delete-marketplace-card-jobs-by-criteria.command.d.ts.map +1 -0
  142. package/build/commands/marketplace-card/soft-delete-marketplace-card-jobs-by-criteria.command.js +10 -0
  143. package/build/commands/marketplace-card/update-marketplace-card-job-title.command.d.ts +139 -0
  144. package/build/commands/marketplace-card/update-marketplace-card-job-title.command.d.ts.map +1 -0
  145. package/build/commands/marketplace-card/update-marketplace-card-job-title.command.js +17 -0
  146. package/build/commands/page/create-page-question.command.d.ts +64 -0
  147. package/build/commands/page/create-page-question.command.d.ts.map +1 -0
  148. package/build/commands/page/create-page-question.command.js +16 -0
  149. package/build/commands/page/create-page.command.d.ts +188 -0
  150. package/build/commands/page/create-page.command.d.ts.map +1 -0
  151. package/build/commands/page/create-page.command.js +16 -0
  152. package/build/commands/page/delete-page-question.command.d.ts +20 -0
  153. package/build/commands/page/delete-page-question.command.d.ts.map +1 -0
  154. package/build/commands/page/delete-page-question.command.js +13 -0
  155. package/build/commands/page/delete-page.command.d.ts +14 -0
  156. package/build/commands/page/delete-page.command.d.ts.map +1 -0
  157. package/build/commands/page/delete-page.command.js +11 -0
  158. package/build/commands/page/find-page-by-alias.command.d.ts +559 -0
  159. package/build/commands/page/find-page-by-alias.command.d.ts.map +1 -0
  160. package/build/commands/page/find-page-by-alias.command.js +20 -0
  161. package/build/commands/page/find-page-by-criteria.command.d.ts +206 -0
  162. package/build/commands/page/find-page-by-criteria.command.d.ts.map +1 -0
  163. package/build/commands/page/find-page-by-criteria.command.js +22 -0
  164. package/build/commands/page/find-page.command.d.ts +387 -0
  165. package/build/commands/page/find-page.command.d.ts.map +1 -0
  166. package/build/commands/page/find-page.command.js +17 -0
  167. package/build/commands/page/index.d.ts +10 -0
  168. package/build/commands/page/index.d.ts.map +1 -0
  169. package/build/commands/page/index.js +25 -0
  170. package/build/commands/page/update-page-question.command.d.ts +72 -0
  171. package/build/commands/page/update-page-question.command.d.ts.map +1 -0
  172. package/build/commands/page/update-page-question.command.js +19 -0
  173. package/build/commands/page/update-page.command.d.ts +193 -0
  174. package/build/commands/page/update-page.command.d.ts.map +1 -0
  175. package/build/commands/page/update-page.command.js +19 -0
  176. package/build/commands/payment/cloud-payments.command.d.ts +113 -0
  177. package/build/commands/payment/cloud-payments.command.d.ts.map +1 -0
  178. package/{commands/payment/index.ts → build/commands/payment/index.d.ts} +1 -0
  179. package/build/commands/payment/index.d.ts.map +1 -0
  180. package/build/commands/product/buy-product.command.d.ts +547 -0
  181. package/build/commands/product/buy-product.command.d.ts.map +1 -0
  182. package/{commands/product/index.ts → build/commands/product/index.d.ts} +1 -0
  183. package/build/commands/product/index.d.ts.map +1 -0
  184. package/build/commands/subscription/buy-subscription.command.d.ts +547 -0
  185. package/build/commands/subscription/buy-subscription.command.d.ts.map +1 -0
  186. package/{commands/subscription/index.ts → build/commands/subscription/index.d.ts} +1 -0
  187. package/build/commands/subscription/index.d.ts.map +1 -0
  188. package/{commands/transaction/index.ts → build/commands/transaction/index.d.ts} +1 -0
  189. package/build/commands/transaction/index.d.ts.map +1 -0
  190. package/build/commands/transaction/write-off.command.d.ts +44 -0
  191. package/build/commands/transaction/write-off.command.d.ts.map +1 -0
  192. package/{commands/unregistered-user/index.ts → build/commands/unregistered-user/index.d.ts} +1 -1
  193. package/build/commands/unregistered-user/index.d.ts.map +1 -0
  194. package/build/commands/unregistered-user/upsert-unregistered-user.command.d.ts +39 -0
  195. package/build/commands/unregistered-user/upsert-unregistered-user.command.d.ts.map +1 -0
  196. package/{constants/common/enums/index.ts → build/constants/common/enums/index.d.ts} +1 -1
  197. package/build/constants/common/enums/index.d.ts.map +1 -0
  198. package/build/constants/common/enums/user-reaction.enum.d.ts +5 -0
  199. package/build/constants/common/enums/user-reaction.enum.d.ts.map +1 -0
  200. package/build/constants/common/index.d.ts +2 -0
  201. package/build/constants/common/index.d.ts.map +1 -0
  202. package/build/constants/email/email-endpoint.d.ts +2 -0
  203. package/build/constants/email/email-endpoint.d.ts.map +1 -0
  204. package/build/constants/email/email-endpoint.js +4 -0
  205. package/build/constants/email/index.d.ts +3 -0
  206. package/build/constants/email/index.d.ts.map +1 -0
  207. package/build/constants/email/index.js +18 -0
  208. package/build/constants/email/subjects.d.ts +13 -0
  209. package/build/constants/email/subjects.d.ts.map +1 -0
  210. package/build/constants/email/subjects.js +15 -0
  211. package/build/constants/errors/errors.d.ts +643 -0
  212. package/build/constants/errors/errors.d.ts.map +1 -0
  213. package/build/constants/errors/errors.js +369 -2
  214. package/build/constants/errors/index.d.ts +2 -0
  215. package/build/constants/errors/index.d.ts.map +1 -0
  216. package/build/constants/files/enums/file-type.enum.d.ts +4 -0
  217. package/build/constants/files/enums/file-type.enum.d.ts.map +1 -0
  218. package/build/constants/files/enums/index.d.ts +2 -0
  219. package/build/constants/files/enums/index.d.ts.map +1 -0
  220. package/build/constants/files/index.d.ts +2 -0
  221. package/build/constants/files/index.d.ts.map +1 -0
  222. package/build/constants/image-editor/enums/image-editing-strategy.enum.d.ts +10 -0
  223. package/build/constants/image-editor/enums/image-editing-strategy.enum.d.ts.map +1 -0
  224. package/build/constants/image-editor/enums/image-editing-strategy.enum.js +13 -0
  225. package/build/constants/image-editor/enums/image-editor-model-type.enum.d.ts +6 -0
  226. package/build/constants/image-editor/enums/image-editor-model-type.enum.d.ts.map +1 -0
  227. package/build/constants/image-editor/enums/image-editor-model-type.enum.js +9 -0
  228. package/build/constants/image-editor/enums/index.d.ts +3 -0
  229. package/build/constants/image-editor/enums/index.d.ts.map +1 -0
  230. package/build/constants/image-editor/enums/index.js +18 -0
  231. package/build/constants/image-editor/index.d.ts +2 -0
  232. package/build/constants/image-editor/index.d.ts.map +1 -0
  233. package/build/constants/image-editor/index.js +17 -0
  234. package/build/constants/image-generation/enums/image-generation-model-strategy.enum.d.ts +15 -0
  235. package/build/constants/image-generation/enums/image-generation-model-strategy.enum.d.ts.map +1 -0
  236. package/build/constants/image-generation/enums/image-generation-resolution.enum.d.ts +6 -0
  237. package/build/constants/image-generation/enums/image-generation-resolution.enum.d.ts.map +1 -0
  238. package/{constants/image-generation/enums/index.ts → build/constants/image-generation/enums/index.d.ts} +1 -0
  239. package/build/constants/image-generation/enums/index.d.ts.map +1 -0
  240. package/build/constants/image-generation/index.d.ts +2 -0
  241. package/build/constants/image-generation/index.d.ts.map +1 -0
  242. package/{constants/index.ts → build/constants/index.d.ts} +4 -0
  243. package/build/constants/index.d.ts.map +1 -0
  244. package/build/constants/index.js +3 -0
  245. package/{constants/order/enums/index.ts → build/constants/order/enums/index.d.ts} +1 -1
  246. package/build/constants/order/enums/index.d.ts.map +1 -0
  247. package/build/constants/order/enums/order-status.enum.d.ts +6 -0
  248. package/build/constants/order/enums/order-status.enum.d.ts.map +1 -0
  249. package/build/constants/order/enums/order-type.enum.d.ts +4 -0
  250. package/build/constants/order/enums/order-type.enum.d.ts.map +1 -0
  251. package/build/constants/order/index.d.ts +2 -0
  252. package/build/constants/order/index.d.ts.map +1 -0
  253. package/build/constants/page/enums/page-type.enum.d.ts +6 -0
  254. package/build/constants/page/enums/page-type.enum.d.ts.map +1 -0
  255. package/build/constants/page/enums/page-type.enum.js +9 -0
  256. package/build/constants/page/index.d.ts +2 -0
  257. package/build/constants/page/index.d.ts.map +1 -0
  258. package/build/constants/page/index.js +17 -0
  259. package/{constants/payment/enums/index.ts → build/constants/payment/enums/index.d.ts} +1 -1
  260. package/build/constants/payment/enums/index.d.ts.map +1 -0
  261. package/build/constants/payment/enums/payment-status.enum.d.ts +4 -0
  262. package/build/constants/payment/enums/payment-status.enum.d.ts.map +1 -0
  263. package/build/constants/payment/index.d.ts +2 -0
  264. package/build/constants/payment/index.d.ts.map +1 -0
  265. package/build/constants/subscription/free-subscription-id.constant.d.ts +2 -0
  266. package/build/constants/subscription/free-subscription-id.constant.d.ts.map +1 -0
  267. package/{constants/subscription/index.ts → build/constants/subscription/index.d.ts} +1 -1
  268. package/build/constants/subscription/index.d.ts.map +1 -0
  269. package/{constants/tools/enums/index.ts → build/constants/tools/enums/index.d.ts} +2 -0
  270. package/build/constants/tools/enums/index.d.ts.map +1 -0
  271. package/build/constants/tools/enums/index.js +1 -0
  272. package/build/constants/tools/enums/job-request-origin.enum.d.ts +4 -0
  273. package/build/constants/tools/enums/job-request-origin.enum.d.ts.map +1 -0
  274. package/build/constants/tools/enums/job-status.enum.d.ts +6 -0
  275. package/build/constants/tools/enums/job-status.enum.d.ts.map +1 -0
  276. package/build/constants/tools/enums/marketplace-card-strategy.enum.d.ts +7 -0
  277. package/build/constants/tools/enums/marketplace-card-strategy.enum.d.ts.map +1 -0
  278. package/build/constants/tools/enums/marketplace-card-strategy.enum.js +10 -0
  279. package/build/constants/tools/enums/tool-model-status.enum.d.ts +5 -0
  280. package/build/constants/tools/enums/tool-model-status.enum.d.ts.map +1 -0
  281. package/build/constants/tools/enums/tool-type.enum.d.ts +6 -0
  282. package/build/constants/tools/enums/tool-type.enum.d.ts.map +1 -0
  283. package/build/constants/tools/enums/tool-type.enum.js +2 -0
  284. package/build/constants/tools/index.d.ts +2 -0
  285. package/build/constants/tools/index.d.ts.map +1 -0
  286. package/{constants/transaction/enums/index.ts → build/constants/transaction/enums/index.d.ts} +1 -1
  287. package/build/constants/transaction/enums/index.d.ts.map +1 -0
  288. package/build/constants/transaction/enums/transaction-status.enum.d.ts +6 -0
  289. package/build/constants/transaction/enums/transaction-status.enum.d.ts.map +1 -0
  290. package/build/constants/transaction/index.d.ts +2 -0
  291. package/build/constants/transaction/index.d.ts.map +1 -0
  292. package/build/constants/user/enums/index.d.ts +4 -0
  293. package/build/constants/user/enums/index.d.ts.map +1 -0
  294. package/build/constants/user/enums/index.js +1 -0
  295. package/build/constants/user/enums/signup-method.enum.d.ts +7 -0
  296. package/build/constants/user/enums/signup-method.enum.d.ts.map +1 -0
  297. package/build/constants/user/enums/signup-method.enum.js +10 -0
  298. package/build/constants/user/enums/user-role.enum.d.ts +6 -0
  299. package/build/constants/user/enums/user-role.enum.d.ts.map +1 -0
  300. package/build/constants/user/enums/user-status.enum.d.ts +6 -0
  301. package/build/constants/user/enums/user-status.enum.d.ts.map +1 -0
  302. package/build/constants/user/index.d.ts +2 -0
  303. package/build/constants/user/index.d.ts.map +1 -0
  304. package/{constants/user-to-product/enums/index.ts → build/constants/user-to-product/enums/index.d.ts} +1 -1
  305. package/build/constants/user-to-product/enums/index.d.ts.map +1 -0
  306. package/build/constants/user-to-product/enums/user-to-product-status.enum.d.ts +4 -0
  307. package/build/constants/user-to-product/enums/user-to-product-status.enum.d.ts.map +1 -0
  308. package/build/constants/user-to-product/index.d.ts +2 -0
  309. package/build/constants/user-to-product/index.d.ts.map +1 -0
  310. package/{constants/user-to-subscription/enums/index.ts → build/constants/user-to-subscription/enums/index.d.ts} +1 -1
  311. package/build/constants/user-to-subscription/enums/index.d.ts.map +1 -0
  312. package/build/constants/user-to-subscription/enums/user-to-subscription-status.enum.d.ts +4 -0
  313. package/build/constants/user-to-subscription/enums/user-to-subscription-status.enum.d.ts.map +1 -0
  314. package/build/constants/user-to-subscription/index.d.ts +2 -0
  315. package/build/constants/user-to-subscription/index.d.ts.map +1 -0
  316. package/{index.ts → build/index.d.ts} +1 -0
  317. package/build/index.d.ts.map +1 -0
  318. package/build/models/cloud-payments-widget-data.schema.d.ts +419 -0
  319. package/build/models/cloud-payments-widget-data.schema.d.ts.map +1 -0
  320. package/build/models/cloud-payments-widget.schema.d.ts +424 -0
  321. package/build/models/cloud-payments-widget.schema.d.ts.map +1 -0
  322. package/build/models/common/attached-file.schema.d.ts +29 -0
  323. package/build/models/common/attached-file.schema.d.ts.map +1 -0
  324. package/build/models/common/icon-variants.schema.d.ts +53 -0
  325. package/build/models/common/icon-variants.schema.d.ts.map +1 -0
  326. package/{models/common/index.ts → build/models/common/index.d.ts} +1 -0
  327. package/build/models/common/index.d.ts.map +1 -0
  328. package/build/models/common/json-value.schema.d.ts +8 -0
  329. package/build/models/common/json-value.schema.d.ts.map +1 -0
  330. package/build/models/common/receipt.schema.d.ts +82 -0
  331. package/build/models/common/receipt.schema.d.ts.map +1 -0
  332. package/build/models/file.schema.d.ts +31 -0
  333. package/build/models/file.schema.d.ts.map +1 -0
  334. package/build/models/image-editor/image-editor-config.schema.d.ts +509 -0
  335. package/build/models/image-editor/image-editor-config.schema.d.ts.map +1 -0
  336. package/build/models/image-editor/image-editor-config.schema.js +10 -0
  337. package/build/models/image-editor/image-editor-job-params.schema.d.ts +62 -0
  338. package/build/models/image-editor/image-editor-job-params.schema.d.ts.map +1 -0
  339. package/build/models/image-editor/image-editor-job-params.schema.js +12 -0
  340. package/build/models/image-editor/image-editor-job-request-params.schema.d.ts +16 -0
  341. package/build/models/image-editor/image-editor-job-request-params.schema.d.ts.map +1 -0
  342. package/build/models/image-editor/image-editor-job-request-params.schema.js +9 -0
  343. package/build/models/image-editor/image-editor-job.schema.d.ts +160 -0
  344. package/build/models/image-editor/image-editor-job.schema.d.ts.map +1 -0
  345. package/build/models/image-editor/image-editor-job.schema.js +30 -0
  346. package/build/models/image-editor/image-editor-model-params.schema.d.ts +48 -0
  347. package/build/models/image-editor/image-editor-model-params.schema.d.ts.map +1 -0
  348. package/build/models/image-editor/image-editor-model-params.schema.js +15 -0
  349. package/build/models/image-editor/image-editor-model.schema.d.ts +212 -0
  350. package/build/models/image-editor/image-editor-model.schema.d.ts.map +1 -0
  351. package/build/models/image-editor/image-editor-model.schema.js +28 -0
  352. package/build/models/image-editor/image-editor-pricing-rule.schema.d.ts +30 -0
  353. package/build/models/image-editor/image-editor-pricing-rule.schema.d.ts.map +1 -0
  354. package/build/models/image-editor/image-editor-pricing-rule.schema.js +11 -0
  355. package/build/models/image-editor/image-editor-prompt-group.schema.d.ts +149 -0
  356. package/build/models/image-editor/image-editor-prompt-group.schema.d.ts.map +1 -0
  357. package/build/models/image-editor/image-editor-prompt-group.schema.js +13 -0
  358. package/build/models/image-editor/image-editor-system-prompt.schema.d.ts +47 -0
  359. package/build/models/image-editor/image-editor-system-prompt.schema.d.ts.map +1 -0
  360. package/build/models/image-editor/image-editor-system-prompt.schema.js +20 -0
  361. package/build/models/image-editor/index.d.ts +10 -0
  362. package/build/models/image-editor/index.d.ts.map +1 -0
  363. package/build/models/image-editor/index.js +25 -0
  364. package/build/models/image-generation/image-generation-config.schema.d.ts +535 -0
  365. package/build/models/image-generation/image-generation-config.schema.d.ts.map +1 -0
  366. package/build/models/image-generation/image-generation-job-attempt.schema.d.ts +20 -0
  367. package/build/models/image-generation/image-generation-job-attempt.schema.d.ts.map +1 -0
  368. package/build/models/image-generation/image-generation-job-params.schema.d.ts +60 -0
  369. package/build/models/image-generation/image-generation-job-params.schema.d.ts.map +1 -0
  370. package/build/models/image-generation/image-generation-job-request-params.schema.d.ts +20 -0
  371. package/build/models/image-generation/image-generation-job-request-params.schema.d.ts.map +1 -0
  372. package/build/models/image-generation/image-generation-job.schema.d.ts +182 -0
  373. package/build/models/image-generation/image-generation-job.schema.d.ts.map +1 -0
  374. package/build/models/image-generation/image-generation-model-params.schema.d.ts +42 -0
  375. package/build/models/image-generation/image-generation-model-params.schema.d.ts.map +1 -0
  376. package/build/models/image-generation/image-generation-model.schema.d.ts +215 -0
  377. package/build/models/image-generation/image-generation-model.schema.d.ts.map +1 -0
  378. package/build/models/image-generation/image-generation-preset.schema.d.ts +19 -0
  379. package/build/models/image-generation/image-generation-preset.schema.d.ts.map +1 -0
  380. package/build/models/image-generation/image-generation-pricing-rule.schema.d.ts +66 -0
  381. package/build/models/image-generation/image-generation-pricing-rule.schema.d.ts.map +1 -0
  382. package/build/models/image-generation/image-generation-vendor.schema.d.ts +381 -0
  383. package/build/models/image-generation/image-generation-vendor.schema.d.ts.map +1 -0
  384. package/{models/image-generation/index.ts → build/models/image-generation/index.d.ts} +1 -0
  385. package/build/models/image-generation/index.d.ts.map +1 -0
  386. package/{models/index.ts → build/models/index.d.ts} +5 -0
  387. package/build/models/index.d.ts.map +1 -0
  388. package/build/models/index.js +4 -0
  389. package/build/models/marketplace-card/index.d.ts +7 -0
  390. package/build/models/marketplace-card/index.d.ts.map +1 -0
  391. package/build/models/marketplace-card/index.js +22 -0
  392. package/build/models/marketplace-card/marketplace-card-config.schema.d.ts +203 -0
  393. package/build/models/marketplace-card/marketplace-card-config.schema.d.ts.map +1 -0
  394. package/build/models/marketplace-card/marketplace-card-config.schema.js +10 -0
  395. package/build/models/marketplace-card/marketplace-card-job-request-params.schema.d.ts +34 -0
  396. package/build/models/marketplace-card/marketplace-card-job-request-params.schema.d.ts.map +1 -0
  397. package/build/models/marketplace-card/marketplace-card-job-request-params.schema.js +15 -0
  398. package/build/models/marketplace-card/marketplace-card-job.schema.d.ts +74 -0
  399. package/build/models/marketplace-card/marketplace-card-job.schema.d.ts.map +1 -0
  400. package/build/models/marketplace-card/marketplace-card-job.schema.js +28 -0
  401. package/build/models/marketplace-card/marketplace-card-model-params.schema.d.ts +30 -0
  402. package/build/models/marketplace-card/marketplace-card-model-params.schema.d.ts.map +1 -0
  403. package/build/models/marketplace-card/marketplace-card-model-params.schema.js +11 -0
  404. package/build/models/marketplace-card/marketplace-card-model.schema.d.ts +123 -0
  405. package/build/models/marketplace-card/marketplace-card-model.schema.d.ts.map +1 -0
  406. package/build/models/marketplace-card/marketplace-card-model.schema.js +15 -0
  407. package/build/models/marketplace-card/marketplace-card-style-preset.schema.d.ts +19 -0
  408. package/build/models/marketplace-card/marketplace-card-style-preset.schema.d.ts.map +1 -0
  409. package/build/models/marketplace-card/marketplace-card-style-preset.schema.js +10 -0
  410. package/build/models/page-question.schema.d.ts +24 -0
  411. package/build/models/page-question.schema.d.ts.map +1 -0
  412. package/build/models/page-question.schema.js +12 -0
  413. package/build/models/page.schema.d.ts +232 -0
  414. package/build/models/page.schema.d.ts.map +1 -0
  415. package/build/models/page.schema.js +37 -0
  416. package/build/models/product.schema.d.ts +24 -0
  417. package/build/models/product.schema.d.ts.map +1 -0
  418. package/build/models/subscription.schema.d.ts +30 -0
  419. package/build/models/subscription.schema.d.ts.map +1 -0
  420. package/build/models/tools/index.d.ts +2 -0
  421. package/build/models/tools/index.d.ts.map +1 -0
  422. package/build/models/tools/vendor.schema.d.ts +76 -0
  423. package/build/models/tools/vendor.schema.d.ts.map +1 -0
  424. package/build/models/user.schema.d.ts +25 -0
  425. package/build/models/user.schema.d.ts.map +1 -0
  426. package/build/queries/file/find-files.command.d.ts +91 -0
  427. package/build/queries/file/find-files.command.d.ts.map +1 -0
  428. package/build/queries/file/get-file.command.d.ts +65 -0
  429. package/build/queries/file/get-file.command.d.ts.map +1 -0
  430. package/{queries/file/index.ts → build/queries/file/index.d.ts} +1 -1
  431. package/build/queries/file/index.d.ts.map +1 -0
  432. package/build/queries/image-editor/find-image-editor-jobs.command.d.ts +275 -0
  433. package/build/queries/image-editor/find-image-editor-jobs.command.d.ts.map +1 -0
  434. package/build/queries/image-editor/find-image-editor-jobs.command.js +20 -0
  435. package/build/queries/image-editor/get-image-editor-config.command.d.ts +667 -0
  436. package/build/queries/image-editor/get-image-editor-config.command.d.ts.map +1 -0
  437. package/build/queries/image-editor/get-image-editor-config.command.js +11 -0
  438. package/build/queries/image-editor/get-image-editor-job.command.d.ts +249 -0
  439. package/build/queries/image-editor/get-image-editor-job.command.d.ts.map +1 -0
  440. package/build/queries/image-editor/get-image-editor-job.command.js +14 -0
  441. package/build/queries/image-editor/get-image-editor-price.command.d.ts +53 -0
  442. package/build/queries/image-editor/get-image-editor-price.command.d.ts.map +1 -0
  443. package/build/queries/image-editor/get-image-editor-price.command.js +17 -0
  444. package/build/queries/image-editor/index.d.ts +5 -0
  445. package/build/queries/image-editor/index.d.ts.map +1 -0
  446. package/build/queries/image-editor/index.js +20 -0
  447. package/build/queries/image-generation/find-image-generation-jobs.command.d.ts +308 -0
  448. package/build/queries/image-generation/find-image-generation-jobs.command.d.ts.map +1 -0
  449. package/build/queries/image-generation/get-image-generation-config.command.d.ts +679 -0
  450. package/build/queries/image-generation/get-image-generation-config.command.d.ts.map +1 -0
  451. package/build/queries/image-generation/get-image-generation-job.command.d.ts +282 -0
  452. package/build/queries/image-generation/get-image-generation-job.command.d.ts.map +1 -0
  453. package/build/queries/image-generation/get-image-generation-price.command.d.ts +44 -0
  454. package/build/queries/image-generation/get-image-generation-price.command.d.ts.map +1 -0
  455. package/{queries/image-generation/index.ts → build/queries/image-generation/index.d.ts} +1 -0
  456. package/build/queries/image-generation/index.d.ts.map +1 -0
  457. package/{queries/index.ts → build/queries/index.d.ts} +4 -1
  458. package/build/queries/index.d.ts.map +1 -0
  459. package/build/queries/index.js +3 -0
  460. package/build/queries/marketplace-card/find-marketplace-card-jobs.command.d.ts +160 -0
  461. package/build/queries/marketplace-card/find-marketplace-card-jobs.command.d.ts.map +1 -0
  462. package/build/queries/marketplace-card/find-marketplace-card-jobs.command.js +21 -0
  463. package/build/queries/marketplace-card/get-marketplace-card-config.command.d.ts +273 -0
  464. package/build/queries/marketplace-card/get-marketplace-card-config.command.d.ts.map +1 -0
  465. package/build/queries/marketplace-card/get-marketplace-card-config.command.js +11 -0
  466. package/build/queries/marketplace-card/get-marketplace-card-job.command.d.ts +131 -0
  467. package/build/queries/marketplace-card/get-marketplace-card-job.command.d.ts.map +1 -0
  468. package/build/queries/marketplace-card/get-marketplace-card-job.command.js +14 -0
  469. package/build/queries/marketplace-card/get-marketplace-card-price.command.d.ts +30 -0
  470. package/build/queries/marketplace-card/get-marketplace-card-price.command.d.ts.map +1 -0
  471. package/build/queries/marketplace-card/get-marketplace-card-price.command.js +15 -0
  472. package/build/queries/marketplace-card/index.d.ts +5 -0
  473. package/build/queries/marketplace-card/index.d.ts.map +1 -0
  474. package/build/queries/marketplace-card/index.js +20 -0
  475. package/build/queries/page/find-all-page-questions.query.d.ts +49 -0
  476. package/build/queries/page/find-all-page-questions.query.d.ts.map +1 -0
  477. package/build/queries/page/find-all-page-questions.query.js +12 -0
  478. package/build/queries/page/find-page-question-by-uuid.query.d.ts +55 -0
  479. package/build/queries/page/find-page-question-by-uuid.query.d.ts.map +1 -0
  480. package/build/queries/page/find-page-question-by-uuid.query.js +14 -0
  481. package/build/queries/page/find-page-questions-by-page-id.query.d.ts +55 -0
  482. package/build/queries/page/find-page-questions-by-page-id.query.d.ts.map +1 -0
  483. package/build/queries/page/find-page-questions-by-page-id.query.js +14 -0
  484. package/build/queries/page/index.d.ts +4 -0
  485. package/build/queries/page/index.d.ts.map +1 -0
  486. package/build/queries/page/index.js +19 -0
  487. package/build/queries/payment/get-payment-history.command.d.ts +62 -0
  488. package/build/queries/payment/get-payment-history.command.d.ts.map +1 -0
  489. package/{queries/payment/index.ts → build/queries/payment/index.d.ts} +1 -1
  490. package/build/queries/payment/index.d.ts.map +1 -0
  491. package/build/queries/product/find-products.command.d.ts +47 -0
  492. package/build/queries/product/find-products.command.d.ts.map +1 -0
  493. package/{queries/product/index.ts → build/queries/product/index.d.ts} +1 -1
  494. package/build/queries/product/index.d.ts.map +1 -0
  495. package/build/queries/subscription/find-subscriptions.command.d.ts +57 -0
  496. package/build/queries/subscription/find-subscriptions.command.d.ts.map +1 -0
  497. package/{queries/subscription/index.ts → build/queries/subscription/index.d.ts} +1 -1
  498. package/build/queries/subscription/index.d.ts.map +1 -0
  499. package/build/queries/user/get-my-products.command.d.ts +97 -0
  500. package/build/queries/user/get-my-products.command.d.ts.map +1 -0
  501. package/build/queries/user/get-my-subscriptions.command.d.ts +121 -0
  502. package/build/queries/user/get-my-subscriptions.command.d.ts.map +1 -0
  503. package/build/queries/user/get-user.command.d.ts +38 -0
  504. package/build/queries/user/get-user.command.d.ts.map +1 -0
  505. package/{queries/user/index.ts → build/queries/user/index.d.ts} +1 -0
  506. package/build/queries/user/index.d.ts.map +1 -0
  507. package/package.json +34 -2
  508. package/api/controller/http/ai-proxy.ts +0 -6
  509. package/api/controller/http/auth.ts +0 -7
  510. package/api/controller/http/cloud-payments.ts +0 -6
  511. package/api/controller/http/file.ts +0 -7
  512. package/api/controller/http/health.ts +0 -4
  513. package/api/controller/http/image-generation.ts +0 -15
  514. package/api/controller/http/payment.ts +0 -6
  515. package/api/controller/http/product.ts +0 -7
  516. package/api/controller/http/subscription.ts +0 -8
  517. package/api/controller/http/transaction.ts +0 -6
  518. package/api/controller/http/unregistered-user.ts +0 -1
  519. package/api/controller/http/user.ts +0 -5
  520. package/api/controller/index.ts +0 -2
  521. package/api/routes.ts +0 -76
  522. package/commands/auth/index.ts +0 -2
  523. package/commands/auth/login.command.ts +0 -18
  524. package/commands/auth/register.command.ts +0 -18
  525. package/commands/file/upload-file.command.ts +0 -10
  526. package/commands/image-generation/execute-image-generation.command.ts +0 -20
  527. package/commands/image-generation/proxy-image-generation-callback.command.ts +0 -21
  528. package/commands/image-generation/retry-image-generation-job.command.ts +0 -20
  529. package/commands/image-generation/set-reaction-to-image-generation-job.command.ts +0 -29
  530. package/commands/image-generation/soft-delete-image-generation-job-by-uuid.command.ts +0 -10
  531. package/commands/image-generation/soft-delete-image-generation-jobs-by-criteria.command.ts +0 -10
  532. package/commands/image-generation/update-image-generation-job-title.command.ts +0 -17
  533. package/commands/payment/cloud-payments.command.ts +0 -53
  534. package/commands/product/buy-product.command.ts +0 -20
  535. package/commands/subscription/buy-subscription.command.ts +0 -20
  536. package/commands/transaction/write-off.command.ts +0 -19
  537. package/commands/unregistered-user/upsert-unregistered-user.command.ts +0 -17
  538. package/constants/common/enums/user-reaction.enum.ts +0 -5
  539. package/constants/common/index.ts +0 -2
  540. package/constants/errors/errors.ts +0 -308
  541. package/constants/errors/index.ts +0 -2
  542. package/constants/files/enums/file-type.enum.ts +0 -4
  543. package/constants/files/enums/index.ts +0 -2
  544. package/constants/files/index.ts +0 -2
  545. package/constants/image-generation/enums/image-generation-model-strategy.enum.ts +0 -15
  546. package/constants/image-generation/enums/image-generation-resolution.enum.ts +0 -6
  547. package/constants/image-generation/index.ts +0 -2
  548. package/constants/order/enums/order-status.enum.ts +0 -6
  549. package/constants/order/enums/order-type.enum.ts +0 -4
  550. package/constants/order/index.ts +0 -2
  551. package/constants/payment/enums/payment-status.enum.ts +0 -4
  552. package/constants/payment/index.ts +0 -2
  553. package/constants/subscription/free-subscription-id.constant.ts +0 -2
  554. package/constants/tools/enums/job-request-origin.enum.ts +0 -4
  555. package/constants/tools/enums/job-status.enum.ts +0 -6
  556. package/constants/tools/enums/tool-model-status.enum.ts +0 -5
  557. package/constants/tools/enums/tool-type.enum.ts +0 -4
  558. package/constants/tools/index.ts +0 -2
  559. package/constants/transaction/enums/transaction-status.enum.ts +0 -6
  560. package/constants/transaction/index.ts +0 -2
  561. package/constants/user/enums/index.ts +0 -3
  562. package/constants/user/enums/user-role.enum.ts +0 -6
  563. package/constants/user/enums/user-status.enum.ts +0 -6
  564. package/constants/user/index.ts +0 -2
  565. package/constants/user-to-product/enums/user-to-product-status.enum.ts +0 -4
  566. package/constants/user-to-product/index.ts +0 -2
  567. package/constants/user-to-subscription/enums/user-to-subscription-status.enum.ts +0 -4
  568. package/constants/user-to-subscription/index.ts +0 -2
  569. package/models/cloud-payments-widget-data.schema.ts +0 -19
  570. package/models/cloud-payments-widget.schema.ts +0 -15
  571. package/models/common/attached-file.schema.ts +0 -14
  572. package/models/common/icon-variants.schema.ts +0 -13
  573. package/models/common/json-value.schema.ts +0 -11
  574. package/models/common/receipt.schema.ts +0 -20
  575. package/models/file.schema.ts +0 -14
  576. package/models/image-generation/image-generation-config.schema.ts +0 -11
  577. package/models/image-generation/image-generation-job-attempt.schema.ts +0 -12
  578. package/models/image-generation/image-generation-job-params.schema.ts +0 -11
  579. package/models/image-generation/image-generation-job-request-params.schema.ts +0 -11
  580. package/models/image-generation/image-generation-job.schema.ts +0 -30
  581. package/models/image-generation/image-generation-model-params.schema.ts +0 -22
  582. package/models/image-generation/image-generation-model.schema.ts +0 -28
  583. package/models/image-generation/image-generation-preset.schema.ts +0 -11
  584. package/models/image-generation/image-generation-pricing-rule.schema.ts +0 -20
  585. package/models/image-generation/image-generation-vendor.schema.ts +0 -9
  586. package/models/product.schema.ts +0 -10
  587. package/models/subscription.schema.ts +0 -12
  588. package/models/tools/index.ts +0 -2
  589. package/models/tools/vendor.schema.ts +0 -12
  590. package/models/user.schema.ts +0 -11
  591. package/queries/file/find-files.command.ts +0 -21
  592. package/queries/file/get-file.command.ts +0 -15
  593. package/queries/image-generation/find-image-generation-jobs.command.ts +0 -21
  594. package/queries/image-generation/get-image-generation-config.command.ts +0 -9
  595. package/queries/image-generation/get-image-generation-job.command.ts +0 -15
  596. package/queries/image-generation/get-image-generation-price.command.ts +0 -19
  597. package/queries/payment/get-payment-history.command.ts +0 -17
  598. package/queries/product/find-products.command.ts +0 -10
  599. package/queries/subscription/find-subscriptions.command.ts +0 -10
  600. package/queries/user/get-my-products.command.ts +0 -19
  601. package/queries/user/get-my-subscriptions.command.ts +0 -21
  602. package/queries/user/get-user.command.ts +0 -14
  603. package/tsconfig.json +0 -104
@@ -0,0 +1,275 @@
1
+ import { z } from 'zod';
2
+ export declare namespace ExecuteImageEditorCommand {
3
+ const RequestSchema: z.ZodObject<{
4
+ modelId: z.ZodString;
5
+ prompt: z.ZodString;
6
+ params: z.ZodObject<{
7
+ imageUrls: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
8
+ systemPromptId: z.ZodOptional<z.ZodString>;
9
+ aspectRatio: z.ZodOptional<z.ZodString>;
10
+ }, "strip", z.ZodTypeAny, {
11
+ imageUrls: string[];
12
+ aspectRatio?: string | undefined;
13
+ systemPromptId?: string | undefined;
14
+ }, {
15
+ aspectRatio?: string | undefined;
16
+ imageUrls?: string[] | undefined;
17
+ systemPromptId?: string | undefined;
18
+ }>;
19
+ }, "strip", z.ZodTypeAny, {
20
+ params: {
21
+ imageUrls: string[];
22
+ aspectRatio?: string | undefined;
23
+ systemPromptId?: string | undefined;
24
+ };
25
+ modelId: string;
26
+ prompt: string;
27
+ }, {
28
+ params: {
29
+ aspectRatio?: string | undefined;
30
+ imageUrls?: string[] | undefined;
31
+ systemPromptId?: string | undefined;
32
+ };
33
+ modelId: string;
34
+ prompt: string;
35
+ }>;
36
+ type Request = z.infer<typeof RequestSchema>;
37
+ const ResponseSchema: z.ZodObject<{
38
+ data: z.ZodObject<{
39
+ uuid: z.ZodString;
40
+ prompt: z.ZodString;
41
+ reaction: z.ZodNullable<z.ZodNativeEnum<typeof import("../..").USER_REACTION>>;
42
+ dislikeReason: z.ZodNullable<z.ZodString>;
43
+ externalId: z.ZodNullable<z.ZodString>;
44
+ title: z.ZodString;
45
+ status: z.ZodNativeEnum<typeof import("../..").JOB_STATUS>;
46
+ error: z.ZodNullable<z.ZodString>;
47
+ internalError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
+ modelId: z.ZodString;
49
+ price: z.ZodNumber;
50
+ params: z.ZodObject<{
51
+ attachedFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
52
+ uuid: z.ZodString;
53
+ url: z.ZodString;
54
+ name: z.ZodString;
55
+ mimeType: z.ZodString;
56
+ type: z.ZodNativeEnum<typeof import("../..").FILE_TYPE>;
57
+ size: z.ZodNumber;
58
+ duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
59
+ }, "strip", z.ZodTypeAny, {
60
+ uuid: string;
61
+ type: import("../..").FILE_TYPE;
62
+ name: string;
63
+ url: string;
64
+ mimeType: string;
65
+ size: number;
66
+ duration?: number | null | undefined;
67
+ }, {
68
+ uuid: string;
69
+ type: import("../..").FILE_TYPE;
70
+ name: string;
71
+ url: string;
72
+ mimeType: string;
73
+ size: number;
74
+ duration?: number | null | undefined;
75
+ }>, "many">>;
76
+ imageUrls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
77
+ systemPromptId: z.ZodOptional<z.ZodString>;
78
+ aspectRatio: z.ZodOptional<z.ZodString>;
79
+ userHasActiveSubscriptionOrProduct: z.ZodOptional<z.ZodBoolean>;
80
+ }, "strip", z.ZodTypeAny, {
81
+ aspectRatio?: string | undefined;
82
+ attachedFiles?: {
83
+ uuid: string;
84
+ type: import("../..").FILE_TYPE;
85
+ name: string;
86
+ url: string;
87
+ mimeType: string;
88
+ size: number;
89
+ duration?: number | null | undefined;
90
+ }[] | undefined;
91
+ imageUrls?: string[] | undefined;
92
+ systemPromptId?: string | undefined;
93
+ userHasActiveSubscriptionOrProduct?: boolean | undefined;
94
+ }, {
95
+ aspectRatio?: string | undefined;
96
+ attachedFiles?: {
97
+ uuid: string;
98
+ type: import("../..").FILE_TYPE;
99
+ name: string;
100
+ url: string;
101
+ mimeType: string;
102
+ size: number;
103
+ duration?: number | null | undefined;
104
+ }[] | undefined;
105
+ imageUrls?: string[] | undefined;
106
+ systemPromptId?: string | undefined;
107
+ userHasActiveSubscriptionOrProduct?: boolean | undefined;
108
+ }>;
109
+ imageUrls: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
110
+ attempts: z.ZodArray<z.ZodAny, "many">;
111
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
112
+ unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
113
+ postId: z.ZodNullable<z.ZodString>;
114
+ isDeleted: z.ZodBoolean;
115
+ tokenReservationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
116
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
117
+ completedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>>;
118
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
119
+ }, "strip", z.ZodTypeAny, {
120
+ price: number;
121
+ uuid: string;
122
+ status: import("../..").JOB_STATUS;
123
+ params: {
124
+ aspectRatio?: string | undefined;
125
+ attachedFiles?: {
126
+ uuid: string;
127
+ type: import("../..").FILE_TYPE;
128
+ name: string;
129
+ url: string;
130
+ mimeType: string;
131
+ size: number;
132
+ duration?: number | null | undefined;
133
+ }[] | undefined;
134
+ imageUrls?: string[] | undefined;
135
+ systemPromptId?: string | undefined;
136
+ userHasActiveSubscriptionOrProduct?: boolean | undefined;
137
+ };
138
+ title: string;
139
+ createdAt: string | Date;
140
+ updatedAt: string | Date;
141
+ error: string | null;
142
+ modelId: string;
143
+ prompt: string;
144
+ reaction: import("../..").USER_REACTION | null;
145
+ dislikeReason: string | null;
146
+ externalId: string | null;
147
+ attempts: any[];
148
+ isDeleted: boolean;
149
+ imageUrls: string[];
150
+ postId: string | null;
151
+ userId?: string | null | undefined;
152
+ unregisteredUserId?: string | null | undefined;
153
+ internalError?: string | null | undefined;
154
+ tokenReservationId?: string | null | undefined;
155
+ completedAt?: string | Date | null | undefined;
156
+ }, {
157
+ price: number;
158
+ uuid: string;
159
+ status: import("../..").JOB_STATUS;
160
+ params: {
161
+ aspectRatio?: string | undefined;
162
+ attachedFiles?: {
163
+ uuid: string;
164
+ type: import("../..").FILE_TYPE;
165
+ name: string;
166
+ url: string;
167
+ mimeType: string;
168
+ size: number;
169
+ duration?: number | null | undefined;
170
+ }[] | undefined;
171
+ imageUrls?: string[] | undefined;
172
+ systemPromptId?: string | undefined;
173
+ userHasActiveSubscriptionOrProduct?: boolean | undefined;
174
+ };
175
+ title: string;
176
+ createdAt: string | Date;
177
+ updatedAt: string | Date;
178
+ error: string | null;
179
+ modelId: string;
180
+ prompt: string;
181
+ reaction: import("../..").USER_REACTION | null;
182
+ dislikeReason: string | null;
183
+ externalId: string | null;
184
+ attempts: any[];
185
+ isDeleted: boolean;
186
+ postId: string | null;
187
+ userId?: string | null | undefined;
188
+ unregisteredUserId?: string | null | undefined;
189
+ internalError?: string | null | undefined;
190
+ tokenReservationId?: string | null | undefined;
191
+ completedAt?: string | Date | null | undefined;
192
+ imageUrls?: string[] | undefined;
193
+ }>;
194
+ }, "strip", z.ZodTypeAny, {
195
+ data: {
196
+ price: number;
197
+ uuid: string;
198
+ status: import("../..").JOB_STATUS;
199
+ params: {
200
+ aspectRatio?: string | undefined;
201
+ attachedFiles?: {
202
+ uuid: string;
203
+ type: import("../..").FILE_TYPE;
204
+ name: string;
205
+ url: string;
206
+ mimeType: string;
207
+ size: number;
208
+ duration?: number | null | undefined;
209
+ }[] | undefined;
210
+ imageUrls?: string[] | undefined;
211
+ systemPromptId?: string | undefined;
212
+ userHasActiveSubscriptionOrProduct?: boolean | undefined;
213
+ };
214
+ title: string;
215
+ createdAt: string | Date;
216
+ updatedAt: string | Date;
217
+ error: string | null;
218
+ modelId: string;
219
+ prompt: string;
220
+ reaction: import("../..").USER_REACTION | null;
221
+ dislikeReason: string | null;
222
+ externalId: string | null;
223
+ attempts: any[];
224
+ isDeleted: boolean;
225
+ imageUrls: string[];
226
+ postId: string | null;
227
+ userId?: string | null | undefined;
228
+ unregisteredUserId?: string | null | undefined;
229
+ internalError?: string | null | undefined;
230
+ tokenReservationId?: string | null | undefined;
231
+ completedAt?: string | Date | null | undefined;
232
+ };
233
+ }, {
234
+ data: {
235
+ price: number;
236
+ uuid: string;
237
+ status: import("../..").JOB_STATUS;
238
+ params: {
239
+ aspectRatio?: string | undefined;
240
+ attachedFiles?: {
241
+ uuid: string;
242
+ type: import("../..").FILE_TYPE;
243
+ name: string;
244
+ url: string;
245
+ mimeType: string;
246
+ size: number;
247
+ duration?: number | null | undefined;
248
+ }[] | undefined;
249
+ imageUrls?: string[] | undefined;
250
+ systemPromptId?: string | undefined;
251
+ userHasActiveSubscriptionOrProduct?: boolean | undefined;
252
+ };
253
+ title: string;
254
+ createdAt: string | Date;
255
+ updatedAt: string | Date;
256
+ error: string | null;
257
+ modelId: string;
258
+ prompt: string;
259
+ reaction: import("../..").USER_REACTION | null;
260
+ dislikeReason: string | null;
261
+ externalId: string | null;
262
+ attempts: any[];
263
+ isDeleted: boolean;
264
+ postId: string | null;
265
+ userId?: string | null | undefined;
266
+ unregisteredUserId?: string | null | undefined;
267
+ internalError?: string | null | undefined;
268
+ tokenReservationId?: string | null | undefined;
269
+ completedAt?: string | Date | null | undefined;
270
+ imageUrls?: string[] | undefined;
271
+ };
272
+ }>;
273
+ type Response = z.infer<typeof ResponseSchema>;
274
+ }
275
+ //# sourceMappingURL=execute-image-editor.command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"execute-image-editor.command.d.ts","sourceRoot":"","sources":["../../../commands/image-editor/execute-image-editor.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,yBAAiB,yBAAyB,CAAC;IAChC,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAIxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ExecuteImageEditorCommand = void 0;
4
+ const zod_1 = require("zod");
5
+ const models_1 = require("../../models");
6
+ var ExecuteImageEditorCommand;
7
+ (function (ExecuteImageEditorCommand) {
8
+ ExecuteImageEditorCommand.RequestSchema = zod_1.z.object({
9
+ modelId: zod_1.z.string().uuid(),
10
+ prompt: zod_1.z.string().min(1).max(5000),
11
+ params: models_1.ImageEditorJobRequestParamsSchema,
12
+ });
13
+ ExecuteImageEditorCommand.ResponseSchema = zod_1.z.object({
14
+ data: models_1.ImageEditorJobSchema,
15
+ });
16
+ })(ExecuteImageEditorCommand || (exports.ExecuteImageEditorCommand = ExecuteImageEditorCommand = {}));
@@ -0,0 +1,8 @@
1
+ export * from './proxy-image-editor-callback.command';
2
+ export * from './execute-image-editor.command';
3
+ export * from './retry-image-editor-job.command';
4
+ export * from './set-reaction-to-image-editor-job.command';
5
+ export * from './update-image-editor-job-title.command';
6
+ export * from './soft-delete-image-editor-job-by-uuid.command';
7
+ export * from './soft-delete-image-editor-jobs-by-criteria.command';
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../commands/image-editor/index.ts"],"names":[],"mappings":"AAAA,cAAc,uCAAuC,CAAC;AACtD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,kCAAkC,CAAC;AACjD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,yCAAyC,CAAC;AACxD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,qDAAqD,CAAC"}
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./proxy-image-editor-callback.command"), exports);
18
+ __exportStar(require("./execute-image-editor.command"), exports);
19
+ __exportStar(require("./retry-image-editor-job.command"), exports);
20
+ __exportStar(require("./set-reaction-to-image-editor-job.command"), exports);
21
+ __exportStar(require("./update-image-editor-job-title.command"), exports);
22
+ __exportStar(require("./soft-delete-image-editor-job-by-uuid.command"), exports);
23
+ __exportStar(require("./soft-delete-image-editor-jobs-by-criteria.command"), exports);
@@ -0,0 +1,26 @@
1
+ import { z } from 'zod';
2
+ export declare namespace ProxyImageEditorCallbackCommand {
3
+ const RequestSchema: z.ZodObject<{
4
+ jobId: z.ZodString;
5
+ imageUrl: z.ZodOptional<z.ZodString>;
6
+ error: z.ZodOptional<z.ZodString>;
7
+ }, "strip", z.ZodTypeAny, {
8
+ jobId: string;
9
+ error?: string | undefined;
10
+ imageUrl?: string | undefined;
11
+ }, {
12
+ jobId: string;
13
+ error?: string | undefined;
14
+ imageUrl?: string | undefined;
15
+ }>;
16
+ type Request = z.infer<typeof RequestSchema>;
17
+ const ResponseSchema: z.ZodObject<{
18
+ ok: z.ZodBoolean;
19
+ }, "strip", z.ZodTypeAny, {
20
+ ok: boolean;
21
+ }, {
22
+ ok: boolean;
23
+ }>;
24
+ type Response = z.infer<typeof ResponseSchema>;
25
+ }
26
+ //# sourceMappingURL=proxy-image-editor-callback.command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"proxy-image-editor-callback.command.d.ts","sourceRoot":"","sources":["../../../commands/image-editor/proxy-image-editor-callback.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,yBAAiB,+BAA+B,CAAC;IACtC,MAAM,aAAa;;;;;;;;;;;;MAIxB,CAAC;IACH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;MAEzB,CAAC;IACH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ProxyImageEditorCallbackCommand = void 0;
4
+ const zod_1 = require("zod");
5
+ var ProxyImageEditorCallbackCommand;
6
+ (function (ProxyImageEditorCallbackCommand) {
7
+ ProxyImageEditorCallbackCommand.RequestSchema = zod_1.z.object({
8
+ jobId: zod_1.z.string().min(1),
9
+ imageUrl: zod_1.z.string().url().optional(),
10
+ error: zod_1.z.string().optional(),
11
+ });
12
+ ProxyImageEditorCallbackCommand.ResponseSchema = zod_1.z.object({
13
+ ok: zod_1.z.boolean(),
14
+ });
15
+ })(ProxyImageEditorCallbackCommand || (exports.ProxyImageEditorCallbackCommand = ProxyImageEditorCallbackCommand = {}));
@@ -0,0 +1,275 @@
1
+ import { z } from 'zod';
2
+ export declare namespace RetryImageEditorJobCommand {
3
+ const RequestSchema: z.ZodObject<{
4
+ prompt: z.ZodOptional<z.ZodString>;
5
+ modelId: z.ZodOptional<z.ZodString>;
6
+ params: z.ZodOptional<z.ZodObject<{
7
+ imageUrls: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
8
+ systemPromptId: z.ZodOptional<z.ZodString>;
9
+ aspectRatio: z.ZodOptional<z.ZodString>;
10
+ }, "strip", z.ZodTypeAny, {
11
+ imageUrls: string[];
12
+ aspectRatio?: string | undefined;
13
+ systemPromptId?: string | undefined;
14
+ }, {
15
+ aspectRatio?: string | undefined;
16
+ imageUrls?: string[] | undefined;
17
+ systemPromptId?: string | undefined;
18
+ }>>;
19
+ }, "strip", z.ZodTypeAny, {
20
+ params?: {
21
+ imageUrls: string[];
22
+ aspectRatio?: string | undefined;
23
+ systemPromptId?: string | undefined;
24
+ } | undefined;
25
+ modelId?: string | undefined;
26
+ prompt?: string | undefined;
27
+ }, {
28
+ params?: {
29
+ aspectRatio?: string | undefined;
30
+ imageUrls?: string[] | undefined;
31
+ systemPromptId?: string | undefined;
32
+ } | undefined;
33
+ modelId?: string | undefined;
34
+ prompt?: string | undefined;
35
+ }>;
36
+ type Request = z.infer<typeof RequestSchema>;
37
+ const ResponseSchema: z.ZodObject<{
38
+ data: z.ZodObject<{
39
+ uuid: z.ZodString;
40
+ prompt: z.ZodString;
41
+ reaction: z.ZodNullable<z.ZodNativeEnum<typeof import("../..").USER_REACTION>>;
42
+ dislikeReason: z.ZodNullable<z.ZodString>;
43
+ externalId: z.ZodNullable<z.ZodString>;
44
+ title: z.ZodString;
45
+ status: z.ZodNativeEnum<typeof import("../..").JOB_STATUS>;
46
+ error: z.ZodNullable<z.ZodString>;
47
+ internalError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
+ modelId: z.ZodString;
49
+ price: z.ZodNumber;
50
+ params: z.ZodObject<{
51
+ attachedFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
52
+ uuid: z.ZodString;
53
+ url: z.ZodString;
54
+ name: z.ZodString;
55
+ mimeType: z.ZodString;
56
+ type: z.ZodNativeEnum<typeof import("../..").FILE_TYPE>;
57
+ size: z.ZodNumber;
58
+ duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
59
+ }, "strip", z.ZodTypeAny, {
60
+ uuid: string;
61
+ type: import("../..").FILE_TYPE;
62
+ name: string;
63
+ url: string;
64
+ mimeType: string;
65
+ size: number;
66
+ duration?: number | null | undefined;
67
+ }, {
68
+ uuid: string;
69
+ type: import("../..").FILE_TYPE;
70
+ name: string;
71
+ url: string;
72
+ mimeType: string;
73
+ size: number;
74
+ duration?: number | null | undefined;
75
+ }>, "many">>;
76
+ imageUrls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
77
+ systemPromptId: z.ZodOptional<z.ZodString>;
78
+ aspectRatio: z.ZodOptional<z.ZodString>;
79
+ userHasActiveSubscriptionOrProduct: z.ZodOptional<z.ZodBoolean>;
80
+ }, "strip", z.ZodTypeAny, {
81
+ aspectRatio?: string | undefined;
82
+ attachedFiles?: {
83
+ uuid: string;
84
+ type: import("../..").FILE_TYPE;
85
+ name: string;
86
+ url: string;
87
+ mimeType: string;
88
+ size: number;
89
+ duration?: number | null | undefined;
90
+ }[] | undefined;
91
+ imageUrls?: string[] | undefined;
92
+ systemPromptId?: string | undefined;
93
+ userHasActiveSubscriptionOrProduct?: boolean | undefined;
94
+ }, {
95
+ aspectRatio?: string | undefined;
96
+ attachedFiles?: {
97
+ uuid: string;
98
+ type: import("../..").FILE_TYPE;
99
+ name: string;
100
+ url: string;
101
+ mimeType: string;
102
+ size: number;
103
+ duration?: number | null | undefined;
104
+ }[] | undefined;
105
+ imageUrls?: string[] | undefined;
106
+ systemPromptId?: string | undefined;
107
+ userHasActiveSubscriptionOrProduct?: boolean | undefined;
108
+ }>;
109
+ imageUrls: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
110
+ attempts: z.ZodArray<z.ZodAny, "many">;
111
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
112
+ unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
113
+ postId: z.ZodNullable<z.ZodString>;
114
+ isDeleted: z.ZodBoolean;
115
+ tokenReservationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
116
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
117
+ completedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>>;
118
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
119
+ }, "strip", z.ZodTypeAny, {
120
+ price: number;
121
+ uuid: string;
122
+ status: import("../..").JOB_STATUS;
123
+ params: {
124
+ aspectRatio?: string | undefined;
125
+ attachedFiles?: {
126
+ uuid: string;
127
+ type: import("../..").FILE_TYPE;
128
+ name: string;
129
+ url: string;
130
+ mimeType: string;
131
+ size: number;
132
+ duration?: number | null | undefined;
133
+ }[] | undefined;
134
+ imageUrls?: string[] | undefined;
135
+ systemPromptId?: string | undefined;
136
+ userHasActiveSubscriptionOrProduct?: boolean | undefined;
137
+ };
138
+ title: string;
139
+ createdAt: string | Date;
140
+ updatedAt: string | Date;
141
+ error: string | null;
142
+ modelId: string;
143
+ prompt: string;
144
+ reaction: import("../..").USER_REACTION | null;
145
+ dislikeReason: string | null;
146
+ externalId: string | null;
147
+ attempts: any[];
148
+ isDeleted: boolean;
149
+ imageUrls: string[];
150
+ postId: string | null;
151
+ userId?: string | null | undefined;
152
+ unregisteredUserId?: string | null | undefined;
153
+ internalError?: string | null | undefined;
154
+ tokenReservationId?: string | null | undefined;
155
+ completedAt?: string | Date | null | undefined;
156
+ }, {
157
+ price: number;
158
+ uuid: string;
159
+ status: import("../..").JOB_STATUS;
160
+ params: {
161
+ aspectRatio?: string | undefined;
162
+ attachedFiles?: {
163
+ uuid: string;
164
+ type: import("../..").FILE_TYPE;
165
+ name: string;
166
+ url: string;
167
+ mimeType: string;
168
+ size: number;
169
+ duration?: number | null | undefined;
170
+ }[] | undefined;
171
+ imageUrls?: string[] | undefined;
172
+ systemPromptId?: string | undefined;
173
+ userHasActiveSubscriptionOrProduct?: boolean | undefined;
174
+ };
175
+ title: string;
176
+ createdAt: string | Date;
177
+ updatedAt: string | Date;
178
+ error: string | null;
179
+ modelId: string;
180
+ prompt: string;
181
+ reaction: import("../..").USER_REACTION | null;
182
+ dislikeReason: string | null;
183
+ externalId: string | null;
184
+ attempts: any[];
185
+ isDeleted: boolean;
186
+ postId: string | null;
187
+ userId?: string | null | undefined;
188
+ unregisteredUserId?: string | null | undefined;
189
+ internalError?: string | null | undefined;
190
+ tokenReservationId?: string | null | undefined;
191
+ completedAt?: string | Date | null | undefined;
192
+ imageUrls?: string[] | undefined;
193
+ }>;
194
+ }, "strip", z.ZodTypeAny, {
195
+ data: {
196
+ price: number;
197
+ uuid: string;
198
+ status: import("../..").JOB_STATUS;
199
+ params: {
200
+ aspectRatio?: string | undefined;
201
+ attachedFiles?: {
202
+ uuid: string;
203
+ type: import("../..").FILE_TYPE;
204
+ name: string;
205
+ url: string;
206
+ mimeType: string;
207
+ size: number;
208
+ duration?: number | null | undefined;
209
+ }[] | undefined;
210
+ imageUrls?: string[] | undefined;
211
+ systemPromptId?: string | undefined;
212
+ userHasActiveSubscriptionOrProduct?: boolean | undefined;
213
+ };
214
+ title: string;
215
+ createdAt: string | Date;
216
+ updatedAt: string | Date;
217
+ error: string | null;
218
+ modelId: string;
219
+ prompt: string;
220
+ reaction: import("../..").USER_REACTION | null;
221
+ dislikeReason: string | null;
222
+ externalId: string | null;
223
+ attempts: any[];
224
+ isDeleted: boolean;
225
+ imageUrls: string[];
226
+ postId: string | null;
227
+ userId?: string | null | undefined;
228
+ unregisteredUserId?: string | null | undefined;
229
+ internalError?: string | null | undefined;
230
+ tokenReservationId?: string | null | undefined;
231
+ completedAt?: string | Date | null | undefined;
232
+ };
233
+ }, {
234
+ data: {
235
+ price: number;
236
+ uuid: string;
237
+ status: import("../..").JOB_STATUS;
238
+ params: {
239
+ aspectRatio?: string | undefined;
240
+ attachedFiles?: {
241
+ uuid: string;
242
+ type: import("../..").FILE_TYPE;
243
+ name: string;
244
+ url: string;
245
+ mimeType: string;
246
+ size: number;
247
+ duration?: number | null | undefined;
248
+ }[] | undefined;
249
+ imageUrls?: string[] | undefined;
250
+ systemPromptId?: string | undefined;
251
+ userHasActiveSubscriptionOrProduct?: boolean | undefined;
252
+ };
253
+ title: string;
254
+ createdAt: string | Date;
255
+ updatedAt: string | Date;
256
+ error: string | null;
257
+ modelId: string;
258
+ prompt: string;
259
+ reaction: import("../..").USER_REACTION | null;
260
+ dislikeReason: string | null;
261
+ externalId: string | null;
262
+ attempts: any[];
263
+ isDeleted: boolean;
264
+ postId: string | null;
265
+ userId?: string | null | undefined;
266
+ unregisteredUserId?: string | null | undefined;
267
+ internalError?: string | null | undefined;
268
+ tokenReservationId?: string | null | undefined;
269
+ completedAt?: string | Date | null | undefined;
270
+ imageUrls?: string[] | undefined;
271
+ };
272
+ }>;
273
+ type Response = z.infer<typeof ResponseSchema>;
274
+ }
275
+ //# sourceMappingURL=retry-image-editor-job.command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"retry-image-editor-job.command.d.ts","sourceRoot":"","sources":["../../../commands/image-editor/retry-image-editor-job.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,yBAAiB,0BAA0B,CAAC;IACjC,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAIxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IACH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RetryImageEditorJobCommand = void 0;
4
+ const zod_1 = require("zod");
5
+ const models_1 = require("../../models");
6
+ var RetryImageEditorJobCommand;
7
+ (function (RetryImageEditorJobCommand) {
8
+ RetryImageEditorJobCommand.RequestSchema = zod_1.z.object({
9
+ prompt: zod_1.z.string().min(1).max(5000).optional(),
10
+ modelId: zod_1.z.string().uuid().optional(),
11
+ params: models_1.ImageEditorJobRequestParamsSchema.optional(),
12
+ });
13
+ RetryImageEditorJobCommand.ResponseSchema = zod_1.z.object({
14
+ data: models_1.ImageEditorJobSchema,
15
+ });
16
+ })(RetryImageEditorJobCommand || (exports.RetryImageEditorJobCommand = RetryImageEditorJobCommand = {}));