@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,6 @@
1
+ export declare const AI_PROXY_CONTROLLER: "ai-proxy";
2
+ export declare const AI_PROXY_ROUTES: {
3
+ readonly IMAGE_GENERATION_CALLBACK: "image-generation/callback";
4
+ readonly IMAGE_EDITOR_CALLBACK: "image-editor/callback";
5
+ };
6
+ //# sourceMappingURL=ai-proxy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ai-proxy.d.ts","sourceRoot":"","sources":["../../../../api/controller/http/ai-proxy.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB,EAAG,UAAmB,CAAC;AAEvD,eAAO,MAAM,eAAe;;;CAGlB,CAAC"}
@@ -4,4 +4,5 @@ exports.AI_PROXY_ROUTES = exports.AI_PROXY_CONTROLLER = void 0;
4
4
  exports.AI_PROXY_CONTROLLER = 'ai-proxy';
5
5
  exports.AI_PROXY_ROUTES = {
6
6
  IMAGE_GENERATION_CALLBACK: 'image-generation/callback',
7
+ IMAGE_EDITOR_CALLBACK: 'image-editor/callback',
7
8
  };
@@ -0,0 +1,14 @@
1
+ export declare const AUTH_CONTROLLER: "auth";
2
+ export declare const AUTH_ROUTES: {
3
+ readonly REGISTER: "register";
4
+ readonly LOGIN: "login";
5
+ readonly ADMIN_LOGIN: "admin/login";
6
+ readonly VK_LOGIN: "vk/login";
7
+ readonly YANDEX_LOGIN: "yandex/login";
8
+ readonly CREATE_USER: "create-user";
9
+ readonly RESTORE_PASSWORD: "restore-password";
10
+ readonly RESET_PASSWORD: "reset-password";
11
+ readonly VERIFY_EMAIL: "verify-email";
12
+ readonly VERIFY_EMAIL_RETRY: "verify-email-retry";
13
+ };
14
+ //# sourceMappingURL=auth.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../../../api/controller/http/auth.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,EAAG,MAAe,CAAC;AAE/C,eAAO,MAAM,WAAW;;;;;;;;;;;CAWd,CAAC"}
@@ -5,4 +5,12 @@ exports.AUTH_CONTROLLER = 'auth';
5
5
  exports.AUTH_ROUTES = {
6
6
  REGISTER: 'register',
7
7
  LOGIN: 'login',
8
+ ADMIN_LOGIN: 'admin/login',
9
+ VK_LOGIN: 'vk/login',
10
+ YANDEX_LOGIN: 'yandex/login',
11
+ CREATE_USER: 'create-user',
12
+ RESTORE_PASSWORD: 'restore-password',
13
+ RESET_PASSWORD: 'reset-password',
14
+ VERIFY_EMAIL: 'verify-email',
15
+ VERIFY_EMAIL_RETRY: 'verify-email-retry',
8
16
  };
@@ -0,0 +1,5 @@
1
+ export declare const CLOUD_PAYMENTS_CONTROLLER: "cloud-payments";
2
+ export declare const CLOUD_PAYMENTS_ROUTES: {
3
+ readonly CALLBACK: "callback";
4
+ };
5
+ //# sourceMappingURL=cloud-payments.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cloud-payments.d.ts","sourceRoot":"","sources":["../../../../api/controller/http/cloud-payments.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,yBAAyB,EAAG,gBAAyB,CAAC;AAEnE,eAAO,MAAM,qBAAqB;;CAExB,CAAC"}
@@ -0,0 +1,6 @@
1
+ export declare const FILE_PRIVATE_CONTROLLER: "files/private";
2
+ export declare const FILE_PUBLIC_CONTROLLER: "files/public";
3
+ export declare const FILE_ROUTES: {
4
+ readonly UPLOAD: "upload";
5
+ };
6
+ //# sourceMappingURL=file.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"file.d.ts","sourceRoot":"","sources":["../../../../api/controller/http/file.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB,EAAG,eAAwB,CAAC;AAChE,eAAO,MAAM,sBAAsB,EAAG,cAAuB,CAAC;AAE9D,eAAO,MAAM,WAAW;;CAEd,CAAC"}
@@ -0,0 +1,4 @@
1
+ export declare const HEALTH_ROUTES: {
2
+ readonly PING: "ping";
3
+ };
4
+ //# sourceMappingURL=health.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"health.d.ts","sourceRoot":"","sources":["../../../../api/controller/http/health.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa;;CAEhB,CAAC"}
@@ -0,0 +1,15 @@
1
+ export declare const IMAGE_EDITOR_PRIVATE_CONTROLLER: "image-editor/private";
2
+ export declare const IMAGE_EDITOR_PUBLIC_CONTROLLER: "image-editor/public";
3
+ export declare const IMAGE_EDITOR_ROUTES: {
4
+ readonly CONFIG: "config";
5
+ readonly PRICE: "price";
6
+ readonly EXECUTE: "execute";
7
+ readonly GET_JOBS: "jobs";
8
+ readonly GET_JOB: (uuid: string) => string;
9
+ readonly UPDATE: (uuid: string) => string;
10
+ readonly SET_REACTION: (uuid: string) => string;
11
+ readonly DELETE: (uuid: string) => string;
12
+ readonly DELETE_ALL: "jobs";
13
+ readonly RETRY: (uuid: string) => string;
14
+ };
15
+ //# sourceMappingURL=image-editor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"image-editor.d.ts","sourceRoot":"","sources":["../../../../api/controller/http/image-editor.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,+BAA+B,EAAG,sBAA+B,CAAC;AAC/E,eAAO,MAAM,8BAA8B,EAAG,qBAA8B,CAAC;AAE7E,eAAO,MAAM,mBAAmB;;;;;6BAKZ,MAAM;4BACP,MAAM;kCACA,MAAM;4BACZ,MAAM;;2BAEP,MAAM;CACd,CAAC"}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IMAGE_EDITOR_ROUTES = exports.IMAGE_EDITOR_PUBLIC_CONTROLLER = exports.IMAGE_EDITOR_PRIVATE_CONTROLLER = void 0;
4
+ exports.IMAGE_EDITOR_PRIVATE_CONTROLLER = 'image-editor/private';
5
+ exports.IMAGE_EDITOR_PUBLIC_CONTROLLER = 'image-editor/public';
6
+ exports.IMAGE_EDITOR_ROUTES = {
7
+ CONFIG: 'config',
8
+ PRICE: 'price',
9
+ EXECUTE: 'execute',
10
+ GET_JOBS: 'jobs',
11
+ GET_JOB: (uuid) => `jobs/${uuid}`,
12
+ UPDATE: (uuid) => `jobs/${uuid}`,
13
+ SET_REACTION: (uuid) => `jobs/${uuid}/reaction`,
14
+ DELETE: (uuid) => `jobs/${uuid}`,
15
+ DELETE_ALL: 'jobs',
16
+ RETRY: (uuid) => `jobs/${uuid}/retry`,
17
+ };
@@ -0,0 +1,15 @@
1
+ export declare const IMAGE_GENERATION_PRIVATE_CONTROLLER: "image-generation/private";
2
+ export declare const IMAGE_GENERATION_PUBLIC_CONTROLLER: "image-generation/public";
3
+ export declare const IMAGE_GENERATION_ROUTES: {
4
+ readonly CONFIG: "config";
5
+ readonly PRICE: "price";
6
+ readonly EXECUTE: "execute";
7
+ readonly GET_JOBS: "jobs";
8
+ readonly GET_JOB: (uuid: string) => string;
9
+ readonly UPDATE: (uuid: string) => string;
10
+ readonly SET_REACTION: (uuid: string) => string;
11
+ readonly DELETE: (uuid: string) => string;
12
+ readonly DELETE_ALL: "jobs";
13
+ readonly RETRY: (uuid: string) => string;
14
+ };
15
+ //# sourceMappingURL=image-generation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"image-generation.d.ts","sourceRoot":"","sources":["../../../../api/controller/http/image-generation.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mCAAmC,EAAG,0BAAmC,CAAC;AACvF,eAAO,MAAM,kCAAkC,EAAG,yBAAkC,CAAC;AAErF,eAAO,MAAM,uBAAuB;;;;;6BAKhB,MAAM;4BACP,MAAM;kCACA,MAAM;4BACZ,MAAM;;2BAEP,MAAM;CACd,CAAC"}
@@ -7,6 +7,11 @@ export * from './cloud-payments';
7
7
  export * from './transaction';
8
8
  export * from './health';
9
9
  export * from './image-generation';
10
+ export * from './image-editor';
11
+ export * from './marketplace-card';
10
12
  export * from './ai-proxy';
11
13
  export * from './file';
12
14
  export * from './unregistered-user';
15
+ export * from './page';
16
+ export * from './page-question';
17
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../api/controller/http/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,qBAAqB,CAAC;AACpC,cAAc,QAAQ,CAAC;AACvB,cAAc,iBAAiB,CAAC"}
@@ -23,6 +23,10 @@ __exportStar(require("./cloud-payments"), exports);
23
23
  __exportStar(require("./transaction"), exports);
24
24
  __exportStar(require("./health"), exports);
25
25
  __exportStar(require("./image-generation"), exports);
26
+ __exportStar(require("./image-editor"), exports);
27
+ __exportStar(require("./marketplace-card"), exports);
26
28
  __exportStar(require("./ai-proxy"), exports);
27
29
  __exportStar(require("./file"), exports);
28
30
  __exportStar(require("./unregistered-user"), exports);
31
+ __exportStar(require("./page"), exports);
32
+ __exportStar(require("./page-question"), exports);
@@ -0,0 +1,15 @@
1
+ export declare const MARKETPLACE_CARD_PRIVATE_CONTROLLER: "marketplace-card/private";
2
+ export declare const MARKETPLACE_CARD_PUBLIC_CONTROLLER: "marketplace-card/public";
3
+ export declare const MARKETPLACE_CARD_ROUTES: {
4
+ readonly CONFIG: "config";
5
+ readonly PRICE: "price";
6
+ readonly EXECUTE: "execute";
7
+ readonly GET_JOBS: "jobs";
8
+ readonly GET_JOB: (uuid: string) => string;
9
+ readonly UPDATE: (uuid: string) => string;
10
+ readonly SET_REACTION: (uuid: string) => string;
11
+ readonly DELETE: (uuid: string) => string;
12
+ readonly DELETE_ALL: "jobs";
13
+ readonly RETRY: (uuid: string) => string;
14
+ };
15
+ //# sourceMappingURL=marketplace-card.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"marketplace-card.d.ts","sourceRoot":"","sources":["../../../../api/controller/http/marketplace-card.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mCAAmC,EAAG,0BAAmC,CAAC;AACvF,eAAO,MAAM,kCAAkC,EAAG,yBAAkC,CAAC;AAErF,eAAO,MAAM,uBAAuB;;;;;6BAKhB,MAAM;4BACP,MAAM;kCACA,MAAM;4BACZ,MAAM;;2BAEP,MAAM;CACd,CAAC"}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MARKETPLACE_CARD_ROUTES = exports.MARKETPLACE_CARD_PUBLIC_CONTROLLER = exports.MARKETPLACE_CARD_PRIVATE_CONTROLLER = void 0;
4
+ exports.MARKETPLACE_CARD_PRIVATE_CONTROLLER = 'marketplace-card/private';
5
+ exports.MARKETPLACE_CARD_PUBLIC_CONTROLLER = 'marketplace-card/public';
6
+ exports.MARKETPLACE_CARD_ROUTES = {
7
+ CONFIG: 'config',
8
+ PRICE: 'price',
9
+ EXECUTE: 'execute',
10
+ GET_JOBS: 'jobs',
11
+ GET_JOB: (uuid) => `jobs/${uuid}`,
12
+ UPDATE: (uuid) => `jobs/${uuid}`,
13
+ SET_REACTION: (uuid) => `jobs/${uuid}/reaction`,
14
+ DELETE: (uuid) => `jobs/${uuid}`,
15
+ DELETE_ALL: 'jobs',
16
+ RETRY: (uuid) => `jobs/${uuid}/retry`,
17
+ };
@@ -0,0 +1,9 @@
1
+ export declare const PAGE_QUESTION_CONTROLLER: "page-question";
2
+ export declare const PAGE_QUESTION_ROUTES: {
3
+ readonly FIND_BY_UUID: (uuid: string) => string;
4
+ readonly CREATE: "";
5
+ readonly UPDATE: (uuid: string) => string;
6
+ readonly DELETE: (uuid: string) => string;
7
+ readonly GET_ALL: "";
8
+ };
9
+ //# sourceMappingURL=page-question.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"page-question.d.ts","sourceRoot":"","sources":["../../../../api/controller/http/page-question.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,wBAAwB,EAAG,eAAwB,CAAC;AAEjE,eAAO,MAAM,oBAAoB;kCACR,MAAM;;4BAEZ,MAAM;4BACN,MAAM;;CAEf,CAAC"}
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PAGE_QUESTION_ROUTES = exports.PAGE_QUESTION_CONTROLLER = void 0;
4
+ exports.PAGE_QUESTION_CONTROLLER = 'page-question';
5
+ exports.PAGE_QUESTION_ROUTES = {
6
+ FIND_BY_UUID: (uuid) => `${uuid}`,
7
+ CREATE: '',
8
+ UPDATE: (uuid) => `update/${uuid}`,
9
+ DELETE: (uuid) => `delete/${uuid}`,
10
+ GET_ALL: '',
11
+ };
@@ -0,0 +1,12 @@
1
+ export declare const PAGE_CONTROLLER: "page";
2
+ export declare const PAGE_ROUTES: {
3
+ readonly FIND_BY_CRITERIA: "search";
4
+ readonly FIND_BY_UUID: (uuid: string) => string;
5
+ readonly GET_ALL: "";
6
+ readonly FIND_BY_ALIAS: (alias: string) => string;
7
+ readonly CREATE: "";
8
+ readonly UPDATE: (uuid: string) => string;
9
+ readonly DELETE: (uuid: string) => string;
10
+ readonly CREATE_QUESTIONS_BULK: (pageId: string) => string;
11
+ };
12
+ //# sourceMappingURL=page.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"page.d.ts","sourceRoot":"","sources":["../../../../api/controller/http/page.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,EAAG,MAAe,CAAC;AAE/C,eAAO,MAAM,WAAW;;kCAEC,MAAM;;oCAEJ,MAAM;;4BAEd,MAAM;4BACN,MAAM;6CACW,MAAM;CAChC,CAAC"}
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PAGE_ROUTES = exports.PAGE_CONTROLLER = void 0;
4
+ exports.PAGE_CONTROLLER = 'page';
5
+ exports.PAGE_ROUTES = {
6
+ FIND_BY_CRITERIA: 'search',
7
+ FIND_BY_UUID: (uuid) => `${uuid}`,
8
+ GET_ALL: '',
9
+ FIND_BY_ALIAS: (alias) => `by/alias/${alias}`,
10
+ CREATE: '',
11
+ UPDATE: (uuid) => `update/${uuid}`,
12
+ DELETE: (uuid) => `delete/${uuid}`,
13
+ CREATE_QUESTIONS_BULK: (pageId) => `${pageId}/questions/bulk`,
14
+ };
@@ -0,0 +1,5 @@
1
+ export declare const PAYMENT_CONTROLLER: "payments";
2
+ export declare const PAYMENT_ROUTES: {
3
+ readonly HISTORY: "history";
4
+ };
5
+ //# sourceMappingURL=payment.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payment.d.ts","sourceRoot":"","sources":["../../../../api/controller/http/payment.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,EAAG,UAAmB,CAAC;AAEtD,eAAO,MAAM,cAAc;;CAEjB,CAAC"}
@@ -0,0 +1,7 @@
1
+ export declare const PRODUCT_PRIVATE_CONTROLLER: "product/private";
2
+ export declare const PRODUCT_PUBLIC_CONTROLLER: "product/public";
3
+ export declare const PRODUCT_ROUTES: {
4
+ readonly GET_ALL: "all";
5
+ readonly BUY: "buy";
6
+ };
7
+ //# sourceMappingURL=product.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"product.d.ts","sourceRoot":"","sources":["../../../../api/controller/http/product.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,0BAA0B,EAAG,iBAA0B,CAAC;AACrE,eAAO,MAAM,yBAAyB,EAAG,gBAAyB,CAAC;AAEnE,eAAO,MAAM,cAAc;;;CAGjB,CAAC"}
@@ -0,0 +1,7 @@
1
+ export declare const SUBSCRIPTION_PRIVATE_CONTROLLER: "subscription/private";
2
+ export declare const SUBSCRIPTION_PUBLIC_CONTROLLER: "subscription/public";
3
+ export declare const SUBSCRIPTION_ROUTES: {
4
+ readonly GET_ALL: "all";
5
+ readonly BUY: "buy";
6
+ };
7
+ //# sourceMappingURL=subscription.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"subscription.d.ts","sourceRoot":"","sources":["../../../../api/controller/http/subscription.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,+BAA+B,EAAG,sBAA+B,CAAC;AAC/E,eAAO,MAAM,8BAA8B,EAAG,qBAA8B,CAAC;AAE7E,eAAO,MAAM,mBAAmB;;;CAGtB,CAAC"}
@@ -0,0 +1,5 @@
1
+ export declare const TRANSACTION_CONTROLLER: "transactions";
2
+ export declare const TRANSACTION_ROUTES: {
3
+ readonly WRITE_OFF: "write-off";
4
+ };
5
+ //# sourceMappingURL=transaction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transaction.d.ts","sourceRoot":"","sources":["../../../../api/controller/http/transaction.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sBAAsB,EAAG,cAAuB,CAAC;AAE9D,eAAO,MAAM,kBAAkB;;CAErB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const UNREGISTERED_USER_CONTROLLER: "unregistered-user";
2
+ //# sourceMappingURL=unregistered-user.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unregistered-user.d.ts","sourceRoot":"","sources":["../../../../api/controller/http/unregistered-user.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,4BAA4B,EAAG,mBAA4B,CAAC"}
@@ -0,0 +1,5 @@
1
+ export declare const USER_CONTROLLER: "users";
2
+ export declare const USER_ROUTES: {
3
+ readonly GET: "me";
4
+ };
5
+ //# sourceMappingURL=user.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../../api/controller/http/user.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,EAAG,OAAgB,CAAC;AAEhD,eAAO,MAAM,WAAW;;CAEd,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './http';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../api/controller/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC"}
@@ -1,2 +1,3 @@
1
1
  export * from './controller';
2
2
  export * from './routes';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../api/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC"}
@@ -0,0 +1,90 @@
1
+ export declare const ROOT: "/api";
2
+ export declare const REST_API: {
3
+ readonly HEALTH: {
4
+ readonly PING: "/api/ping";
5
+ };
6
+ readonly AUTH: {
7
+ readonly REGISTER: "/api/auth/register";
8
+ readonly LOGIN: "/api/auth/login";
9
+ };
10
+ readonly UNREGISTERED_USER: {
11
+ readonly UPSERT: "/api/unregistered-user";
12
+ };
13
+ readonly USERS: {
14
+ readonly GET: "/api/users";
15
+ };
16
+ readonly PRODUCT_PUBLIC: {
17
+ readonly GET: "/api/product/public/all";
18
+ };
19
+ readonly PRODUCT_PRIVATE: {
20
+ readonly GET: "/api/product/private/all";
21
+ readonly BUY: (uuid: string) => string;
22
+ };
23
+ readonly SUBSCRIPTION_PUBLIC: {
24
+ readonly GET: "/api/subscription/public/all";
25
+ };
26
+ readonly SUBSCRIPTION_PRIVATE: {
27
+ readonly GET: "/api/subscription/private/all";
28
+ readonly BUY: (uuid: string) => string;
29
+ };
30
+ readonly PAYMENT: {
31
+ readonly HISTORY: "/api/payments/history";
32
+ };
33
+ readonly CLOUD_PAYMENTS: {
34
+ readonly CALLBACK: (type: string) => string;
35
+ };
36
+ readonly IMAGE_GENERATION_PUBLIC: {
37
+ readonly CONFIG: "/api/image-generation/public/config";
38
+ readonly PRICE: "/api/image-generation/public/price";
39
+ };
40
+ readonly IMAGE_GENERATION_PRIVATE: {
41
+ readonly CONFIG: "/api/image-generation/private/config";
42
+ readonly EXECUTE: "/api/image-generation/private/execute";
43
+ readonly LIST_JOBS: "/api/image-generation/private/jobs";
44
+ readonly GET_JOB: (uuid: string) => string;
45
+ readonly UPDATE: (uuid: string) => string;
46
+ readonly SET_REACTION: (uuid: string) => string;
47
+ readonly DELETE: (uuid: string) => string;
48
+ readonly DELETE_ALL: "/api/image-generation/private/jobs";
49
+ };
50
+ readonly MARKETPLACE_CARD_PUBLIC: {
51
+ readonly CONFIG: "/api/marketplace-card/public/config";
52
+ readonly EXECUTE: "/api/marketplace-card/public/execute";
53
+ readonly LIST_JOBS: "/api/marketplace-card/public/jobs";
54
+ readonly GET_JOB: (uuid: string) => string;
55
+ readonly RETRY: (uuid: string) => string;
56
+ readonly SET_REACTION: (uuid: string) => string;
57
+ readonly UPDATE: (uuid: string) => string;
58
+ readonly DELETE: (uuid: string) => string;
59
+ readonly DELETE_ALL: "/api/marketplace-card/public/jobs";
60
+ };
61
+ readonly MARKETPLACE_CARD_PRIVATE: {
62
+ readonly CONFIG: "/api/marketplace-card/private/config";
63
+ readonly PRICE: "/api/marketplace-card/private/price";
64
+ readonly EXECUTE: "/api/marketplace-card/private/execute";
65
+ readonly LIST_JOBS: "/api/marketplace-card/private/jobs";
66
+ readonly GET_JOB: (uuid: string) => string;
67
+ readonly RETRY: (uuid: string) => string;
68
+ readonly SET_REACTION: (uuid: string) => string;
69
+ readonly UPDATE: (uuid: string) => string;
70
+ readonly DELETE: (uuid: string) => string;
71
+ readonly DELETE_ALL: "/api/marketplace-card/private/jobs";
72
+ };
73
+ readonly AI_PROXY: {
74
+ readonly IMAGE_GENERATION_CALLBACK: "/api/ai-proxy/image-generation/callback";
75
+ };
76
+ readonly FILES_PRIVATE: {
77
+ readonly UPLOAD: "/api/files/private/upload";
78
+ readonly LIST: "/api/files/private";
79
+ readonly GET: (uuid: string) => string;
80
+ };
81
+ readonly FILES_PUBLIC: {
82
+ readonly UPLOAD: "/api/files/public/upload";
83
+ readonly LIST: "/api/files/public";
84
+ readonly GET: (uuid: string) => string;
85
+ };
86
+ readonly TRANSACTION: {
87
+ readonly WRITE_OFF: "/api/transactions/write-off";
88
+ };
89
+ };
90
+ //# sourceMappingURL=routes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../api/routes.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,EAAG,MAAe,CAAC;AAEpC,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;6BAmBD,MAAM;;;;;;;6BAQN,MAAM;;;;;;kCAOD,MAAM;;;;;;;;;;iCAWP,MAAM;gCAEP,MAAM;sCAEA,MAAM;gCAEZ,MAAM;;;;;;;iCAQL,MAAM;+BAER,MAAM;sCAEC,MAAM;gCAEZ,MAAM;gCAEN,MAAM;;;;;;;;iCASL,MAAM;+BAER,MAAM;sCAEC,MAAM;gCAEZ,MAAM;gCAEN,MAAM;;;;;;;;;6BAUT,MAAM;;;;;6BAKN,MAAM;;;;;CAKhB,CAAC"}
@@ -84,6 +84,29 @@ exports.REST_API = {
84
84
  DELETE: (uuid) => `${exports.ROOT}/${CONTROLLERS.IMAGE_GENERATION_PRIVATE_CONTROLLER}/${CONTROLLERS.IMAGE_GENERATION_ROUTES.DELETE(uuid)}`,
85
85
  DELETE_ALL: `${exports.ROOT}/${CONTROLLERS.IMAGE_GENERATION_PRIVATE_CONTROLLER}/${CONTROLLERS.IMAGE_GENERATION_ROUTES.DELETE_ALL}`,
86
86
  },
87
+ MARKETPLACE_CARD_PUBLIC: {
88
+ CONFIG: `${exports.ROOT}/${CONTROLLERS.MARKETPLACE_CARD_PUBLIC_CONTROLLER}/${CONTROLLERS.MARKETPLACE_CARD_ROUTES.CONFIG}`,
89
+ EXECUTE: `${exports.ROOT}/${CONTROLLERS.MARKETPLACE_CARD_PUBLIC_CONTROLLER}/${CONTROLLERS.MARKETPLACE_CARD_ROUTES.EXECUTE}`,
90
+ LIST_JOBS: `${exports.ROOT}/${CONTROLLERS.MARKETPLACE_CARD_PUBLIC_CONTROLLER}/${CONTROLLERS.MARKETPLACE_CARD_ROUTES.GET_JOBS}`,
91
+ GET_JOB: (uuid) => `${exports.ROOT}/${CONTROLLERS.MARKETPLACE_CARD_PUBLIC_CONTROLLER}/${CONTROLLERS.MARKETPLACE_CARD_ROUTES.GET_JOB(uuid)}`,
92
+ RETRY: (uuid) => `${exports.ROOT}/${CONTROLLERS.MARKETPLACE_CARD_PUBLIC_CONTROLLER}/${CONTROLLERS.MARKETPLACE_CARD_ROUTES.RETRY(uuid)}`,
93
+ SET_REACTION: (uuid) => `${exports.ROOT}/${CONTROLLERS.MARKETPLACE_CARD_PUBLIC_CONTROLLER}/${CONTROLLERS.MARKETPLACE_CARD_ROUTES.SET_REACTION(uuid)}`,
94
+ UPDATE: (uuid) => `${exports.ROOT}/${CONTROLLERS.MARKETPLACE_CARD_PUBLIC_CONTROLLER}/${CONTROLLERS.MARKETPLACE_CARD_ROUTES.UPDATE(uuid)}`,
95
+ DELETE: (uuid) => `${exports.ROOT}/${CONTROLLERS.MARKETPLACE_CARD_PUBLIC_CONTROLLER}/${CONTROLLERS.MARKETPLACE_CARD_ROUTES.DELETE(uuid)}`,
96
+ DELETE_ALL: `${exports.ROOT}/${CONTROLLERS.MARKETPLACE_CARD_PUBLIC_CONTROLLER}/${CONTROLLERS.MARKETPLACE_CARD_ROUTES.DELETE_ALL}`,
97
+ },
98
+ MARKETPLACE_CARD_PRIVATE: {
99
+ CONFIG: `${exports.ROOT}/${CONTROLLERS.MARKETPLACE_CARD_PRIVATE_CONTROLLER}/${CONTROLLERS.MARKETPLACE_CARD_ROUTES.CONFIG}`,
100
+ PRICE: `${exports.ROOT}/${CONTROLLERS.MARKETPLACE_CARD_PRIVATE_CONTROLLER}/${CONTROLLERS.MARKETPLACE_CARD_ROUTES.PRICE}`,
101
+ EXECUTE: `${exports.ROOT}/${CONTROLLERS.MARKETPLACE_CARD_PRIVATE_CONTROLLER}/${CONTROLLERS.MARKETPLACE_CARD_ROUTES.EXECUTE}`,
102
+ LIST_JOBS: `${exports.ROOT}/${CONTROLLERS.MARKETPLACE_CARD_PRIVATE_CONTROLLER}/${CONTROLLERS.MARKETPLACE_CARD_ROUTES.GET_JOBS}`,
103
+ GET_JOB: (uuid) => `${exports.ROOT}/${CONTROLLERS.MARKETPLACE_CARD_PRIVATE_CONTROLLER}/${CONTROLLERS.MARKETPLACE_CARD_ROUTES.GET_JOB(uuid)}`,
104
+ RETRY: (uuid) => `${exports.ROOT}/${CONTROLLERS.MARKETPLACE_CARD_PRIVATE_CONTROLLER}/${CONTROLLERS.MARKETPLACE_CARD_ROUTES.RETRY(uuid)}`,
105
+ SET_REACTION: (uuid) => `${exports.ROOT}/${CONTROLLERS.MARKETPLACE_CARD_PRIVATE_CONTROLLER}/${CONTROLLERS.MARKETPLACE_CARD_ROUTES.SET_REACTION(uuid)}`,
106
+ UPDATE: (uuid) => `${exports.ROOT}/${CONTROLLERS.MARKETPLACE_CARD_PRIVATE_CONTROLLER}/${CONTROLLERS.MARKETPLACE_CARD_ROUTES.UPDATE(uuid)}`,
107
+ DELETE: (uuid) => `${exports.ROOT}/${CONTROLLERS.MARKETPLACE_CARD_PRIVATE_CONTROLLER}/${CONTROLLERS.MARKETPLACE_CARD_ROUTES.DELETE(uuid)}`,
108
+ DELETE_ALL: `${exports.ROOT}/${CONTROLLERS.MARKETPLACE_CARD_PRIVATE_CONTROLLER}/${CONTROLLERS.MARKETPLACE_CARD_ROUTES.DELETE_ALL}`,
109
+ },
87
110
  AI_PROXY: {
88
111
  IMAGE_GENERATION_CALLBACK: `${exports.ROOT}/${CONTROLLERS.AI_PROXY_CONTROLLER}/${CONTROLLERS.AI_PROXY_ROUTES.IMAGE_GENERATION_CALLBACK}`,
89
112
  },
@@ -0,0 +1,35 @@
1
+ import { z } from 'zod';
2
+ export declare namespace CreateUserCommand {
3
+ const RequestSchema: z.ZodObject<Pick<{
4
+ uuid: z.ZodOptional<z.ZodString>;
5
+ siteId: z.ZodOptional<z.ZodString>;
6
+ email: z.ZodString;
7
+ password: z.ZodString;
8
+ role: z.ZodOptional<z.ZodNativeEnum<typeof import("../..").USER_ROLE>>;
9
+ status: z.ZodOptional<z.ZodNativeEnum<typeof import("../..").USER_STATUS>>;
10
+ }, "email">, "strip", z.ZodTypeAny, {
11
+ email: string;
12
+ }, {
13
+ email: string;
14
+ }>;
15
+ type Request = z.infer<typeof RequestSchema>;
16
+ const ResponseSchema: z.ZodObject<{
17
+ data: z.ZodObject<{
18
+ uuid: z.ZodString;
19
+ }, "strip", z.ZodTypeAny, {
20
+ uuid: string;
21
+ }, {
22
+ uuid: string;
23
+ }>;
24
+ }, "strip", z.ZodTypeAny, {
25
+ data: {
26
+ uuid: string;
27
+ };
28
+ }, {
29
+ data: {
30
+ uuid: string;
31
+ };
32
+ }>;
33
+ type Response = z.infer<typeof ResponseSchema>;
34
+ }
35
+ //# sourceMappingURL=create-user.command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-user.command.d.ts","sourceRoot":"","sources":["../../../commands/auth/create-user.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,aAAa;;;;;;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;MAIzB,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.CreateUserCommand = void 0;
4
+ const zod_1 = require("zod");
5
+ const models_1 = require("../../models");
6
+ var CreateUserCommand;
7
+ (function (CreateUserCommand) {
8
+ CreateUserCommand.RequestSchema = models_1.UserSchema.pick({
9
+ email: true,
10
+ });
11
+ CreateUserCommand.ResponseSchema = zod_1.z.object({
12
+ data: zod_1.z.object({
13
+ uuid: zod_1.z.string().uuid(),
14
+ }),
15
+ });
16
+ })(CreateUserCommand || (exports.CreateUserCommand = CreateUserCommand = {}));
@@ -0,0 +1,10 @@
1
+ export * from './login.command';
2
+ export * from './register.command';
3
+ export * from './create-user.command';
4
+ export * from './restore-password.command';
5
+ export * from './reset-password.command';
6
+ export * from './verify-email.command';
7
+ export * from './verify-email-retry.command';
8
+ export * from './vk-login.command';
9
+ export * from './yandex-login.command';
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../commands/auth/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC"}
@@ -16,3 +16,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./login.command"), exports);
18
18
  __exportStar(require("./register.command"), exports);
19
+ __exportStar(require("./create-user.command"), exports);
20
+ __exportStar(require("./restore-password.command"), exports);
21
+ __exportStar(require("./reset-password.command"), exports);
22
+ __exportStar(require("./verify-email.command"), exports);
23
+ __exportStar(require("./verify-email-retry.command"), exports);
24
+ __exportStar(require("./vk-login.command"), exports);
25
+ __exportStar(require("./yandex-login.command"), exports);
@@ -0,0 +1,37 @@
1
+ import { z } from 'zod';
2
+ export declare namespace LoginCommand {
3
+ const RequestSchema: z.ZodObject<Pick<{
4
+ uuid: z.ZodOptional<z.ZodString>;
5
+ siteId: z.ZodOptional<z.ZodString>;
6
+ email: z.ZodString;
7
+ password: z.ZodString;
8
+ role: z.ZodOptional<z.ZodNativeEnum<typeof import("../..").USER_ROLE>>;
9
+ status: z.ZodOptional<z.ZodNativeEnum<typeof import("../..").USER_STATUS>>;
10
+ }, "email" | "password">, "strip", z.ZodTypeAny, {
11
+ email: string;
12
+ password: string;
13
+ }, {
14
+ email: string;
15
+ password: string;
16
+ }>;
17
+ type Request = z.infer<typeof RequestSchema>;
18
+ const ResponseSchema: z.ZodObject<{
19
+ data: z.ZodObject<{
20
+ accessToken: z.ZodString;
21
+ }, "strip", z.ZodTypeAny, {
22
+ accessToken: string;
23
+ }, {
24
+ accessToken: string;
25
+ }>;
26
+ }, "strip", z.ZodTypeAny, {
27
+ data: {
28
+ accessToken: string;
29
+ };
30
+ }, {
31
+ data: {
32
+ accessToken: string;
33
+ };
34
+ }>;
35
+ type Response = z.infer<typeof ResponseSchema>;
36
+ }
37
+ //# sourceMappingURL=login.command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"login.command.d.ts","sourceRoot":"","sources":["../../../commands/auth/login.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,yBAAiB,YAAY,CAAC;IACnB,MAAM,aAAa;;;;;;;;;;;;;MAGxB,CAAC;IACH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;MAIzB,CAAC;IACH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}