@veruna/api-contracts 6.0.0 → 6.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (400) hide show
  1. package/build/controllers/auth-admin.controllers.d.ts +1 -0
  2. package/build/controllers/auth-admin.controllers.js +5 -0
  3. package/build/controllers/auth-admin.controllers.js.map +1 -0
  4. package/build/controllers/client-file.controllers.d.ts +2 -0
  5. package/build/controllers/client-file.controllers.js +4 -2
  6. package/build/controllers/client-file.controllers.js.map +1 -1
  7. package/build/controllers/email-profile-admin.controllers.d.ts +1 -0
  8. package/build/controllers/email-profile-admin.controllers.js +5 -0
  9. package/build/controllers/email-profile-admin.controllers.js.map +1 -0
  10. package/build/controllers/index.d.ts +8 -1
  11. package/build/controllers/index.js +18 -2
  12. package/build/controllers/index.js.map +1 -1
  13. package/build/controllers/telegram-profile-admin.controllers.d.ts +1 -0
  14. package/build/controllers/telegram-profile-admin.controllers.js +5 -0
  15. package/build/controllers/telegram-profile-admin.controllers.js.map +1 -0
  16. package/build/controllers/users-admin.controllers.d.ts +1 -0
  17. package/build/controllers/users-admin.controllers.js +5 -0
  18. package/build/controllers/users-admin.controllers.js.map +1 -0
  19. package/build/controllers/vk-profile-admin.controllers.d.ts +1 -0
  20. package/build/controllers/vk-profile-admin.controllers.js +5 -0
  21. package/build/controllers/vk-profile-admin.controllers.js.map +1 -0
  22. package/build/controllers/wallet-admin.controllers.d.ts +1 -0
  23. package/build/controllers/wallet-admin.controllers.js +5 -0
  24. package/build/controllers/wallet-admin.controllers.js.map +1 -0
  25. package/build/controllers/yandex-profile-admin.controllers.d.ts +1 -0
  26. package/build/controllers/yandex-profile-admin.controllers.js +5 -0
  27. package/build/controllers/yandex-profile-admin.controllers.js.map +1 -0
  28. package/build/locales/en.d.ts +4 -0
  29. package/build/locales/en.js +4 -0
  30. package/build/locales/en.js.map +1 -1
  31. package/build/locales/index.d.ts +8 -0
  32. package/build/locales/ru.d.ts +4 -0
  33. package/build/locales/ru.js +4 -0
  34. package/build/locales/ru.js.map +1 -1
  35. package/build/locales/validation.d.ts +150 -0
  36. package/build/locales/validation.js +126 -0
  37. package/build/locales/validation.js.map +1 -1
  38. package/build/rest-api.d.ts +111 -60
  39. package/build/rest-api.js +111 -60
  40. package/build/rest-api.js.map +1 -1
  41. package/build/routes/auth-admin.routes.d.ts +5 -0
  42. package/build/routes/auth-admin.routes.js +9 -0
  43. package/build/routes/auth-admin.routes.js.map +1 -0
  44. package/build/routes/client-file.routes.d.ts +15 -4
  45. package/build/routes/client-file.routes.js +8 -2
  46. package/build/routes/client-file.routes.js.map +1 -1
  47. package/build/routes/email-profile-admin.routes.d.ts +5 -0
  48. package/build/routes/email-profile-admin.routes.js +9 -0
  49. package/build/routes/email-profile-admin.routes.js.map +1 -0
  50. package/build/routes/index.d.ts +5 -1
  51. package/build/routes/index.js +12 -2
  52. package/build/routes/index.js.map +1 -1
  53. package/build/routes/s2s.routes.d.ts +3 -0
  54. package/build/routes/s2s.routes.js +3 -0
  55. package/build/routes/s2s.routes.js.map +1 -1
  56. package/build/routes/users-admin.routes.d.ts +6 -0
  57. package/build/routes/users-admin.routes.js +10 -0
  58. package/build/routes/users-admin.routes.js.map +1 -0
  59. package/build/routes/wallet-admin.routes.d.ts +5 -0
  60. package/build/routes/wallet-admin.routes.js +9 -0
  61. package/build/routes/wallet-admin.routes.js.map +1 -0
  62. package/build/tsconfig.tsbuildinfo +1 -1
  63. package/build/v1/auth/admin/commands/admin-terminate-sessions.command.d.ts +22 -0
  64. package/build/v1/auth/admin/commands/admin-terminate-sessions.command.js +22 -0
  65. package/build/v1/auth/admin/commands/admin-terminate-sessions.command.js.map +1 -0
  66. package/build/v1/auth/admin/commands/index.d.ts +1 -0
  67. package/build/v1/auth/admin/commands/index.js +18 -0
  68. package/build/v1/auth/admin/commands/index.js.map +1 -0
  69. package/build/v1/auth/admin/index.d.ts +5 -0
  70. package/build/v1/auth/admin/index.js +25 -0
  71. package/build/v1/auth/admin/index.js.map +1 -0
  72. package/build/v1/auth/admin/queries/admin-get-user-sessions.query.d.ts +19 -0
  73. package/build/v1/auth/admin/queries/admin-get-user-sessions.query.js +15 -0
  74. package/build/v1/auth/admin/queries/admin-get-user-sessions.query.js.map +1 -0
  75. package/build/v1/auth/admin/queries/index.d.ts +1 -0
  76. package/build/v1/auth/admin/queries/index.js +18 -0
  77. package/build/v1/auth/admin/queries/index.js.map +1 -0
  78. package/build/v1/auth/admin/schemas/admin-sessions.schema.d.ts +29 -0
  79. package/build/v1/auth/admin/schemas/admin-sessions.schema.js +23 -0
  80. package/build/v1/auth/admin/schemas/admin-sessions.schema.js.map +1 -0
  81. package/build/v1/auth/admin/schemas/index.d.ts +1 -0
  82. package/build/v1/auth/admin/schemas/index.js +18 -0
  83. package/build/v1/auth/admin/schemas/index.js.map +1 -0
  84. package/build/v1/auth/commands/delete-session.command.js +1 -1
  85. package/build/v1/auth/commands/delete-session.command.js.map +1 -1
  86. package/build/v1/auth/commands/logout-all.command.js +1 -1
  87. package/build/v1/auth/commands/logout-all.command.js.map +1 -1
  88. package/build/v1/auth/commands/logout.command.js +1 -1
  89. package/build/v1/auth/commands/logout.command.js.map +1 -1
  90. package/build/v1/auth/commands/signin.command.js +1 -1
  91. package/build/v1/auth/commands/signin.command.js.map +1 -1
  92. package/build/v1/auth/commands/signup.command.d.ts +1 -0
  93. package/build/v1/auth/commands/signup.command.js +1 -1
  94. package/build/v1/auth/commands/signup.command.js.map +1 -1
  95. package/build/v1/auth/index.d.ts +1 -0
  96. package/build/v1/auth/index.js +1 -0
  97. package/build/v1/auth/index.js.map +1 -1
  98. package/build/v1/auth/queries/get-sessions.query.js +1 -1
  99. package/build/v1/auth/queries/get-sessions.query.js.map +1 -1
  100. package/build/v1/auth/schemas/signup-request.schema.d.ts +1 -0
  101. package/build/v1/auth/schemas/signup-request.schema.js +4 -0
  102. package/build/v1/auth/schemas/signup-request.schema.js.map +1 -1
  103. package/build/v1/client-file/commands/client-file-attach.command.d.ts +2 -0
  104. package/build/v1/client-file/queries/user-files-stats.query.d.ts +2 -0
  105. package/build/v1/client-file/schemas/client-file-attach-request.schema.d.ts +3 -0
  106. package/build/v1/client-file/schemas/client-file-attach-request.schema.js +17 -1
  107. package/build/v1/client-file/schemas/client-file-attach-request.schema.js.map +1 -1
  108. package/build/v1/client-file/schemas/client-file-status.enum.d.ts +1 -0
  109. package/build/v1/client-file/schemas/client-file-status.enum.js +1 -0
  110. package/build/v1/client-file/schemas/client-file-status.enum.js.map +1 -1
  111. package/build/v1/client-file/schemas/user-files-stats-response.schema.d.ts +2 -0
  112. package/build/v1/client-file/schemas/user-files-stats-response.schema.js +2 -0
  113. package/build/v1/client-file/schemas/user-files-stats-response.schema.js.map +1 -1
  114. package/build/v1/email-profile/admin/commands/admin-set-email.command.d.ts +15 -0
  115. package/build/v1/email-profile/admin/commands/admin-set-email.command.js +14 -0
  116. package/build/v1/email-profile/admin/commands/admin-set-email.command.js.map +1 -0
  117. package/build/v1/email-profile/admin/commands/admin-set-password.command.d.ts +24 -0
  118. package/build/v1/email-profile/admin/commands/admin-set-password.command.js +22 -0
  119. package/build/v1/email-profile/admin/commands/admin-set-password.command.js.map +1 -0
  120. package/build/v1/email-profile/admin/commands/index.d.ts +2 -0
  121. package/build/v1/email-profile/admin/commands/index.js +19 -0
  122. package/build/v1/email-profile/admin/commands/index.js.map +1 -0
  123. package/build/v1/email-profile/admin/index.d.ts +4 -0
  124. package/build/v1/email-profile/admin/index.js +24 -0
  125. package/build/v1/email-profile/admin/index.js.map +1 -0
  126. package/build/v1/email-profile/admin/schemas/admin-set-email.schema.d.ts +10 -0
  127. package/build/v1/email-profile/admin/schemas/admin-set-email.schema.js +15 -0
  128. package/build/v1/email-profile/admin/schemas/admin-set-email.schema.js.map +1 -0
  129. package/build/v1/email-profile/admin/schemas/admin-set-password.schema.d.ts +13 -0
  130. package/build/v1/email-profile/admin/schemas/admin-set-password.schema.js +17 -0
  131. package/build/v1/email-profile/admin/schemas/admin-set-password.schema.js.map +1 -0
  132. package/build/v1/email-profile/admin/schemas/index.d.ts +2 -0
  133. package/build/v1/email-profile/admin/schemas/index.js +19 -0
  134. package/build/v1/email-profile/admin/schemas/index.js.map +1 -0
  135. package/build/v1/email-profile/index.d.ts +1 -0
  136. package/build/v1/email-profile/index.js +18 -0
  137. package/build/v1/email-profile/index.js.map +1 -0
  138. package/build/v1/file/file.errors.d.ts +3 -0
  139. package/build/v1/file/file.errors.js +16 -1
  140. package/build/v1/file/file.errors.js.map +1 -1
  141. package/build/v1/index.d.ts +1 -0
  142. package/build/v1/index.js +1 -0
  143. package/build/v1/index.js.map +1 -1
  144. package/build/v1/s2s/commands/index.d.ts +1 -0
  145. package/build/v1/s2s/commands/index.js +1 -0
  146. package/build/v1/s2s/commands/index.js.map +1 -1
  147. package/build/v1/s2s/commands/migrate-client-file-owner.command.d.ts +15 -0
  148. package/build/v1/s2s/commands/migrate-client-file-owner.command.js +14 -0
  149. package/build/v1/s2s/commands/migrate-client-file-owner.command.js.map +1 -0
  150. package/build/v1/s2s/queries/check-client-file-quota.query.d.ts +18 -0
  151. package/build/v1/s2s/queries/check-client-file-quota.query.js +15 -0
  152. package/build/v1/s2s/queries/check-client-file-quota.query.js.map +1 -0
  153. package/build/v1/s2s/queries/index.d.ts +2 -0
  154. package/build/v1/s2s/queries/index.js +2 -0
  155. package/build/v1/s2s/queries/index.js.map +1 -1
  156. package/build/v1/s2s/queries/verify-unreg-token.query.d.ts +16 -0
  157. package/build/v1/s2s/queries/verify-unreg-token.query.js +15 -0
  158. package/build/v1/s2s/queries/verify-unreg-token.query.js.map +1 -0
  159. package/build/v1/s2s/schemas/index.d.ts +6 -0
  160. package/build/v1/s2s/schemas/index.js +6 -0
  161. package/build/v1/s2s/schemas/index.js.map +1 -1
  162. package/build/v1/s2s/schemas/s2s-check-client-file-quota-request.schema.d.ts +8 -0
  163. package/build/v1/s2s/schemas/s2s-check-client-file-quota-request.schema.js +13 -0
  164. package/build/v1/s2s/schemas/s2s-check-client-file-quota-request.schema.js.map +1 -0
  165. package/build/v1/s2s/schemas/s2s-check-client-file-quota-response.schema.d.ts +9 -0
  166. package/build/v1/s2s/schemas/s2s-check-client-file-quota-response.schema.js +12 -0
  167. package/build/v1/s2s/schemas/s2s-check-client-file-quota-response.schema.js.map +1 -0
  168. package/build/v1/s2s/schemas/s2s-migrate-client-file-owner-request.schema.d.ts +6 -0
  169. package/build/v1/s2s/schemas/s2s-migrate-client-file-owner-request.schema.js +14 -0
  170. package/build/v1/s2s/schemas/s2s-migrate-client-file-owner-request.schema.js.map +1 -0
  171. package/build/v1/s2s/schemas/s2s-migrate-client-file-owner-response.schema.d.ts +5 -0
  172. package/build/v1/s2s/schemas/s2s-migrate-client-file-owner-response.schema.js +8 -0
  173. package/build/v1/s2s/schemas/s2s-migrate-client-file-owner-response.schema.js.map +1 -0
  174. package/build/v1/s2s/schemas/s2s-verify-unreg-token-request.schema.d.ts +5 -0
  175. package/build/v1/s2s/schemas/s2s-verify-unreg-token-request.schema.js +9 -0
  176. package/build/v1/s2s/schemas/s2s-verify-unreg-token-request.schema.js.map +1 -0
  177. package/build/v1/s2s/schemas/s2s-verify-unreg-token-response.schema.d.ts +5 -0
  178. package/build/v1/s2s/schemas/s2s-verify-unreg-token-response.schema.js +9 -0
  179. package/build/v1/s2s/schemas/s2s-verify-unreg-token-response.schema.js.map +1 -0
  180. package/build/v1/shared/index.d.ts +1 -0
  181. package/build/v1/shared/index.js +1 -0
  182. package/build/v1/shared/index.js.map +1 -1
  183. package/build/v1/shared/owner-type.enum.d.ts +4 -0
  184. package/build/v1/shared/owner-type.enum.js +9 -0
  185. package/build/v1/shared/owner-type.enum.js.map +1 -0
  186. package/build/v1/telegram-profile/admin/commands/admin-unlink-telegram.command.d.ts +12 -0
  187. package/build/v1/telegram-profile/admin/commands/admin-unlink-telegram.command.js +15 -0
  188. package/build/v1/telegram-profile/admin/commands/admin-unlink-telegram.command.js.map +1 -0
  189. package/build/v1/telegram-profile/admin/commands/index.d.ts +1 -0
  190. package/build/v1/telegram-profile/admin/commands/index.js +18 -0
  191. package/build/v1/telegram-profile/admin/commands/index.js.map +1 -0
  192. package/build/v1/telegram-profile/admin/index.d.ts +3 -0
  193. package/build/v1/telegram-profile/admin/index.js +22 -0
  194. package/build/v1/telegram-profile/admin/index.js.map +1 -0
  195. package/build/v1/telegram-profile/admin/schemas/admin-unlink.schema.d.ts +5 -0
  196. package/build/v1/telegram-profile/admin/schemas/admin-unlink.schema.js +9 -0
  197. package/build/v1/telegram-profile/admin/schemas/admin-unlink.schema.js.map +1 -0
  198. package/build/v1/telegram-profile/admin/schemas/index.d.ts +1 -0
  199. package/build/v1/telegram-profile/admin/schemas/index.js +18 -0
  200. package/build/v1/telegram-profile/admin/schemas/index.js.map +1 -0
  201. package/build/v1/telegram-profile/commands/link-telegram.command.js +1 -1
  202. package/build/v1/telegram-profile/commands/link-telegram.command.js.map +1 -1
  203. package/build/v1/telegram-profile/commands/unlink-telegram.command.js +1 -1
  204. package/build/v1/telegram-profile/commands/unlink-telegram.command.js.map +1 -1
  205. package/build/v1/telegram-profile/index.d.ts +1 -0
  206. package/build/v1/telegram-profile/index.js +1 -0
  207. package/build/v1/telegram-profile/index.js.map +1 -1
  208. package/build/v1/telegram-profile/queries/get-telegram-link-status.query.js +1 -1
  209. package/build/v1/telegram-profile/queries/get-telegram-link-status.query.js.map +1 -1
  210. package/build/v1/telegram-profile/queries/get-telegram-profile.query.js +1 -1
  211. package/build/v1/telegram-profile/queries/get-telegram-profile.query.js.map +1 -1
  212. package/build/v1/users/admin/commands/admin-delete-user.command.d.ts +12 -0
  213. package/build/v1/users/admin/commands/admin-delete-user.command.js +17 -0
  214. package/build/v1/users/admin/commands/admin-delete-user.command.js.map +1 -0
  215. package/build/v1/users/admin/commands/admin-update-user.command.d.ts +26 -0
  216. package/build/v1/users/admin/commands/admin-update-user.command.js +14 -0
  217. package/build/v1/users/admin/commands/admin-update-user.command.js.map +1 -0
  218. package/build/v1/users/admin/commands/index.d.ts +2 -0
  219. package/build/v1/users/admin/commands/index.js +19 -0
  220. package/build/v1/users/admin/commands/index.js.map +1 -0
  221. package/build/v1/users/admin/index.d.ts +6 -0
  222. package/build/v1/users/admin/index.js +26 -0
  223. package/build/v1/users/admin/index.js.map +1 -0
  224. package/build/v1/users/admin/queries/admin-get-user-details.query.d.ts +146 -0
  225. package/build/v1/users/admin/queries/admin-get-user-details.query.js +15 -0
  226. package/build/v1/users/admin/queries/admin-get-user-details.query.js.map +1 -0
  227. package/build/v1/users/admin/queries/admin-list-users.query.d.ts +40 -0
  228. package/build/v1/users/admin/queries/admin-list-users.query.js +14 -0
  229. package/build/v1/users/admin/queries/admin-list-users.query.js.map +1 -0
  230. package/build/v1/users/admin/queries/index.d.ts +2 -0
  231. package/build/v1/users/admin/queries/index.js +19 -0
  232. package/build/v1/users/admin/queries/index.js.map +1 -0
  233. package/build/v1/users/admin/schemas/admin-update-user.schema.d.ts +23 -0
  234. package/build/v1/users/admin/schemas/admin-update-user.schema.js +18 -0
  235. package/build/v1/users/admin/schemas/admin-update-user.schema.js.map +1 -0
  236. package/build/v1/users/admin/schemas/admin-user-details.schema.d.ts +404 -0
  237. package/build/v1/users/admin/schemas/admin-user-details.schema.js +77 -0
  238. package/build/v1/users/admin/schemas/admin-user-details.schema.js.map +1 -0
  239. package/build/v1/users/admin/schemas/admin-user-list.schema.d.ts +52 -0
  240. package/build/v1/users/admin/schemas/admin-user-list.schema.js +58 -0
  241. package/build/v1/users/admin/schemas/admin-user-list.schema.js.map +1 -0
  242. package/build/v1/users/admin/schemas/admin-user-sort.enum.d.ts +9 -0
  243. package/build/v1/users/admin/schemas/admin-user-sort.enum.js +15 -0
  244. package/build/v1/users/admin/schemas/admin-user-sort.enum.js.map +1 -0
  245. package/build/v1/users/admin/schemas/index.d.ts +4 -0
  246. package/build/v1/users/admin/schemas/index.js +21 -0
  247. package/build/v1/users/admin/schemas/index.js.map +1 -0
  248. package/build/v1/users/admin/users-admin.errors.d.ts +5 -0
  249. package/build/v1/users/admin/users-admin.errors.js +14 -0
  250. package/build/v1/users/admin/users-admin.errors.js.map +1 -0
  251. package/build/v1/users/commands/confirm-email-verification.command.js +1 -1
  252. package/build/v1/users/commands/confirm-email-verification.command.js.map +1 -1
  253. package/build/v1/users/commands/delete-account-complete.command.js +1 -1
  254. package/build/v1/users/commands/delete-account-complete.command.js.map +1 -1
  255. package/build/v1/users/commands/delete-account-start.command.js +1 -1
  256. package/build/v1/users/commands/delete-account-start.command.js.map +1 -1
  257. package/build/v1/users/commands/delete-account-verify.command.js +1 -1
  258. package/build/v1/users/commands/delete-account-verify.command.js.map +1 -1
  259. package/build/v1/users/commands/email-change-complete.command.js +1 -1
  260. package/build/v1/users/commands/email-change-complete.command.js.map +1 -1
  261. package/build/v1/users/commands/email-change-start.command.js +1 -1
  262. package/build/v1/users/commands/email-change-start.command.js.map +1 -1
  263. package/build/v1/users/commands/email-change-verify.command.js +1 -1
  264. package/build/v1/users/commands/email-change-verify.command.js.map +1 -1
  265. package/build/v1/users/commands/password-change-complete.command.js +1 -1
  266. package/build/v1/users/commands/password-change-complete.command.js.map +1 -1
  267. package/build/v1/users/commands/password-change-start.command.js +1 -1
  268. package/build/v1/users/commands/password-change-start.command.js.map +1 -1
  269. package/build/v1/users/commands/password-change-verify.command.js +1 -1
  270. package/build/v1/users/commands/password-change-verify.command.js.map +1 -1
  271. package/build/v1/users/commands/password-reset-confirm.command.js +1 -1
  272. package/build/v1/users/commands/password-reset-confirm.command.js.map +1 -1
  273. package/build/v1/users/commands/password-reset-request.command.js +1 -1
  274. package/build/v1/users/commands/password-reset-request.command.js.map +1 -1
  275. package/build/v1/users/commands/resend-email-verification.command.js +1 -1
  276. package/build/v1/users/commands/resend-email-verification.command.js.map +1 -1
  277. package/build/v1/users/commands/setup-email-complete.command.js +1 -1
  278. package/build/v1/users/commands/setup-email-complete.command.js.map +1 -1
  279. package/build/v1/users/commands/setup-email-verify.command.js +1 -1
  280. package/build/v1/users/commands/setup-email-verify.command.js.map +1 -1
  281. package/build/v1/users/commands/setup-email.command.js +1 -1
  282. package/build/v1/users/commands/setup-email.command.js.map +1 -1
  283. package/build/v1/users/commands/setup-password-complete.command.js +1 -1
  284. package/build/v1/users/commands/setup-password-complete.command.js.map +1 -1
  285. package/build/v1/users/commands/setup-password-verify.command.js +1 -1
  286. package/build/v1/users/commands/setup-password-verify.command.js.map +1 -1
  287. package/build/v1/users/commands/setup-password.command.js +1 -1
  288. package/build/v1/users/commands/setup-password.command.js.map +1 -1
  289. package/build/v1/users/commands/update-profile.command.js +1 -1
  290. package/build/v1/users/commands/update-profile.command.js.map +1 -1
  291. package/build/v1/users/index.d.ts +1 -0
  292. package/build/v1/users/index.js +1 -0
  293. package/build/v1/users/index.js.map +1 -1
  294. package/build/v1/users/queries/delete-account-status.query.js +1 -1
  295. package/build/v1/users/queries/delete-account-status.query.js.map +1 -1
  296. package/build/v1/users/queries/email-change-status.query.js +1 -1
  297. package/build/v1/users/queries/email-change-status.query.js.map +1 -1
  298. package/build/v1/users/queries/get-current-user.query.js +1 -1
  299. package/build/v1/users/queries/get-current-user.query.js.map +1 -1
  300. package/build/v1/users/queries/get-setup-status.query.js +1 -1
  301. package/build/v1/users/queries/get-setup-status.query.js.map +1 -1
  302. package/build/v1/users/queries/password-change-status.query.js +1 -1
  303. package/build/v1/users/queries/password-change-status.query.js.map +1 -1
  304. package/build/v1/users/queries/setup-email-status.query.js +1 -1
  305. package/build/v1/users/queries/setup-email-status.query.js.map +1 -1
  306. package/build/v1/users/queries/setup-password-status.query.js +1 -1
  307. package/build/v1/users/queries/setup-password-status.query.js.map +1 -1
  308. package/build/v1/vk-profile/admin/commands/admin-unlink-vk.command.d.ts +12 -0
  309. package/build/v1/vk-profile/admin/commands/admin-unlink-vk.command.js +15 -0
  310. package/build/v1/vk-profile/admin/commands/admin-unlink-vk.command.js.map +1 -0
  311. package/build/v1/vk-profile/admin/commands/index.d.ts +1 -0
  312. package/build/v1/vk-profile/admin/commands/index.js +18 -0
  313. package/build/v1/vk-profile/admin/commands/index.js.map +1 -0
  314. package/build/v1/vk-profile/admin/index.d.ts +3 -0
  315. package/build/v1/vk-profile/admin/index.js +22 -0
  316. package/build/v1/vk-profile/admin/index.js.map +1 -0
  317. package/build/v1/vk-profile/admin/schemas/admin-unlink.schema.d.ts +5 -0
  318. package/build/v1/vk-profile/admin/schemas/admin-unlink.schema.js +9 -0
  319. package/build/v1/vk-profile/admin/schemas/admin-unlink.schema.js.map +1 -0
  320. package/build/v1/vk-profile/admin/schemas/index.d.ts +1 -0
  321. package/build/v1/vk-profile/admin/schemas/index.js +18 -0
  322. package/build/v1/vk-profile/admin/schemas/index.js.map +1 -0
  323. package/build/v1/vk-profile/commands/link-vk.command.js +1 -1
  324. package/build/v1/vk-profile/commands/link-vk.command.js.map +1 -1
  325. package/build/v1/vk-profile/commands/unlink-vk.command.js +1 -1
  326. package/build/v1/vk-profile/commands/unlink-vk.command.js.map +1 -1
  327. package/build/v1/vk-profile/index.d.ts +1 -0
  328. package/build/v1/vk-profile/index.js +1 -0
  329. package/build/v1/vk-profile/index.js.map +1 -1
  330. package/build/v1/vk-profile/queries/get-vk-link-status.query.js +1 -1
  331. package/build/v1/vk-profile/queries/get-vk-link-status.query.js.map +1 -1
  332. package/build/v1/vk-profile/queries/get-vk-profile.query.js +1 -1
  333. package/build/v1/vk-profile/queries/get-vk-profile.query.js.map +1 -1
  334. package/build/v1/wallet/admin/commands/admin-adjust-balance.command.d.ts +21 -0
  335. package/build/v1/wallet/admin/commands/admin-adjust-balance.command.js +14 -0
  336. package/build/v1/wallet/admin/commands/admin-adjust-balance.command.js.map +1 -0
  337. package/build/v1/wallet/admin/commands/index.d.ts +1 -0
  338. package/build/v1/wallet/admin/commands/index.js +18 -0
  339. package/build/v1/wallet/admin/commands/index.js.map +1 -0
  340. package/build/v1/wallet/admin/index.d.ts +5 -0
  341. package/build/v1/wallet/admin/index.js +25 -0
  342. package/build/v1/wallet/admin/index.js.map +1 -0
  343. package/build/v1/wallet/admin/queries/admin-get-wallet-balance.query.d.ts +33 -0
  344. package/build/v1/wallet/admin/queries/admin-get-wallet-balance.query.js +15 -0
  345. package/build/v1/wallet/admin/queries/admin-get-wallet-balance.query.js.map +1 -0
  346. package/build/v1/wallet/admin/queries/admin-list-wallet-transactions.query.d.ts +34 -0
  347. package/build/v1/wallet/admin/queries/admin-list-wallet-transactions.query.js +14 -0
  348. package/build/v1/wallet/admin/queries/admin-list-wallet-transactions.query.js.map +1 -0
  349. package/build/v1/wallet/admin/queries/index.d.ts +2 -0
  350. package/build/v1/wallet/admin/queries/index.js +19 -0
  351. package/build/v1/wallet/admin/queries/index.js.map +1 -0
  352. package/build/v1/wallet/admin/schemas/admin-adjustment-direction.enum.d.ts +4 -0
  353. package/build/v1/wallet/admin/schemas/admin-adjustment-direction.enum.js +9 -0
  354. package/build/v1/wallet/admin/schemas/admin-adjustment-direction.enum.js.map +1 -0
  355. package/build/v1/wallet/admin/schemas/admin-adjustment.schema.d.ts +17 -0
  356. package/build/v1/wallet/admin/schemas/admin-adjustment.schema.js +37 -0
  357. package/build/v1/wallet/admin/schemas/admin-adjustment.schema.js.map +1 -0
  358. package/build/v1/wallet/admin/schemas/admin-balance.schema.d.ts +51 -0
  359. package/build/v1/wallet/admin/schemas/admin-balance.schema.js +9 -0
  360. package/build/v1/wallet/admin/schemas/admin-balance.schema.js.map +1 -0
  361. package/build/v1/wallet/admin/schemas/admin-transactions.schema.d.ts +49 -0
  362. package/build/v1/wallet/admin/schemas/admin-transactions.schema.js +43 -0
  363. package/build/v1/wallet/admin/schemas/admin-transactions.schema.js.map +1 -0
  364. package/build/v1/wallet/admin/schemas/index.d.ts +4 -0
  365. package/build/v1/wallet/admin/schemas/index.js +21 -0
  366. package/build/v1/wallet/admin/schemas/index.js.map +1 -0
  367. package/build/v1/wallet/index.d.ts +1 -0
  368. package/build/v1/wallet/index.js +1 -0
  369. package/build/v1/wallet/index.js.map +1 -1
  370. package/build/v1/wallet/queries/get-balance-summary.query.js +1 -1
  371. package/build/v1/wallet/queries/get-balance-summary.query.js.map +1 -1
  372. package/build/v1/wallet/queries/list-wallet-events.query.js +1 -1
  373. package/build/v1/wallet/queries/list-wallet-events.query.js.map +1 -1
  374. package/build/v1/yandex-profile/admin/commands/admin-unlink-yandex.command.d.ts +12 -0
  375. package/build/v1/yandex-profile/admin/commands/admin-unlink-yandex.command.js +15 -0
  376. package/build/v1/yandex-profile/admin/commands/admin-unlink-yandex.command.js.map +1 -0
  377. package/build/v1/yandex-profile/admin/commands/index.d.ts +1 -0
  378. package/build/v1/yandex-profile/admin/commands/index.js +18 -0
  379. package/build/v1/yandex-profile/admin/commands/index.js.map +1 -0
  380. package/build/v1/yandex-profile/admin/index.d.ts +3 -0
  381. package/build/v1/yandex-profile/admin/index.js +22 -0
  382. package/build/v1/yandex-profile/admin/index.js.map +1 -0
  383. package/build/v1/yandex-profile/admin/schemas/admin-unlink.schema.d.ts +5 -0
  384. package/build/v1/yandex-profile/admin/schemas/admin-unlink.schema.js +9 -0
  385. package/build/v1/yandex-profile/admin/schemas/admin-unlink.schema.js.map +1 -0
  386. package/build/v1/yandex-profile/admin/schemas/index.d.ts +1 -0
  387. package/build/v1/yandex-profile/admin/schemas/index.js +18 -0
  388. package/build/v1/yandex-profile/admin/schemas/index.js.map +1 -0
  389. package/build/v1/yandex-profile/commands/link-yandex.command.js +1 -1
  390. package/build/v1/yandex-profile/commands/link-yandex.command.js.map +1 -1
  391. package/build/v1/yandex-profile/commands/unlink-yandex.command.js +1 -1
  392. package/build/v1/yandex-profile/commands/unlink-yandex.command.js.map +1 -1
  393. package/build/v1/yandex-profile/index.d.ts +1 -0
  394. package/build/v1/yandex-profile/index.js +1 -0
  395. package/build/v1/yandex-profile/index.js.map +1 -1
  396. package/build/v1/yandex-profile/queries/get-yandex-link-status.query.js +1 -1
  397. package/build/v1/yandex-profile/queries/get-yandex-link-status.query.js.map +1 -1
  398. package/build/v1/yandex-profile/queries/get-yandex-profile.query.js +1 -1
  399. package/build/v1/yandex-profile/queries/get-yandex-profile.query.js.map +1 -1
  400. package/package.json +1 -1
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.S2SMigrateClientFileOwnerResponseSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.S2SMigrateClientFileOwnerResponseSchema = zod_1.z.object({
6
+ migratedCount: zod_1.z.number().int().min(0),
7
+ });
8
+ //# sourceMappingURL=s2s-migrate-client-file-owner-response.schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"s2s-migrate-client-file-owner-response.schema.js","sourceRoot":"","sources":["../../../../v1/s2s/schemas/s2s-migrate-client-file-owner-response.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,uCAAuC,GAAG,OAAC,CAAC,MAAM,CAAC;IAC5D,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;CACzC,CAAC,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { z } from 'zod';
2
+ export declare const S2SVerifyUnregTokenRequestSchema: z.ZodObject<{
3
+ token: z.ZodString;
4
+ clientIp: z.ZodString;
5
+ }, z.core.$strip>;
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.S2SVerifyUnregTokenRequestSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.S2SVerifyUnregTokenRequestSchema = zod_1.z.object({
6
+ token: zod_1.z.string().min(1),
7
+ clientIp: zod_1.z.string().min(1),
8
+ });
9
+ //# sourceMappingURL=s2s-verify-unreg-token-request.schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"s2s-verify-unreg-token-request.schema.js","sourceRoot":"","sources":["../../../../v1/s2s/schemas/s2s-verify-unreg-token-request.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAMX,QAAA,gCAAgC,GAAG,OAAC,CAAC,MAAM,CAAC;IACrD,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACxB,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;CAC9B,CAAC,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { z } from 'zod';
2
+ export declare const S2SVerifyUnregTokenResponseSchema: z.ZodObject<{
3
+ uuid: z.ZodString;
4
+ status: z.ZodString;
5
+ }, z.core.$strip>;
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.S2SVerifyUnregTokenResponseSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.S2SVerifyUnregTokenResponseSchema = zod_1.z.object({
6
+ uuid: zod_1.z.string(),
7
+ status: zod_1.z.string(),
8
+ });
9
+ //# sourceMappingURL=s2s-verify-unreg-token-response.schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"s2s-verify-unreg-token-response.schema.js","sourceRoot":"","sources":["../../../../v1/s2s/schemas/s2s-verify-unreg-token-response.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAMX,QAAA,iCAAiC,GAAG,OAAC,CAAC,MAAM,CAAC;IACtD,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE;CACrB,CAAC,CAAC"}
@@ -2,3 +2,4 @@ export * from './visibility.enum';
2
2
  export * from './writable-visibility.enum';
3
3
  export * from './access-reason.enum';
4
4
  export * from './access.schema';
5
+ export * from './owner-type.enum';
@@ -18,4 +18,5 @@ __exportStar(require("./visibility.enum"), exports);
18
18
  __exportStar(require("./writable-visibility.enum"), exports);
19
19
  __exportStar(require("./access-reason.enum"), exports);
20
20
  __exportStar(require("./access.schema"), exports);
21
+ __exportStar(require("./owner-type.enum"), exports);
21
22
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../v1/shared/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,6DAA2C;AAC3C,uDAAqC;AACrC,kDAAgC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../v1/shared/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,6DAA2C;AAC3C,uDAAqC;AACrC,kDAAgC;AAChC,oDAAkC"}
@@ -0,0 +1,4 @@
1
+ export declare enum OwnerType {
2
+ REGISTERED = "REGISTERED",
3
+ UNREGISTERED = "UNREGISTERED"
4
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OwnerType = void 0;
4
+ var OwnerType;
5
+ (function (OwnerType) {
6
+ OwnerType["REGISTERED"] = "REGISTERED";
7
+ OwnerType["UNREGISTERED"] = "UNREGISTERED";
8
+ })(OwnerType || (exports.OwnerType = OwnerType = {}));
9
+ //# sourceMappingURL=owner-type.enum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"owner-type.enum.js","sourceRoot":"","sources":["../../../v1/shared/owner-type.enum.ts"],"names":[],"mappings":";;;AAYA,IAAY,SAGX;AAHD,WAAY,SAAS;IACjB,sCAAyB,CAAA;IACzB,0CAA6B,CAAA;AACjC,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB"}
@@ -0,0 +1,12 @@
1
+ import { z } from 'zod';
2
+ import { HttpMethod } from '../../../../shared/http-method.enum';
3
+ export declare namespace AdminUnlinkTelegramCommand {
4
+ const Request: z.ZodObject<{}, z.core.$strip>;
5
+ const Response: z.ZodObject<{
6
+ uuid: z.ZodString;
7
+ }, z.core.$strip>;
8
+ const URL: (userId: string) => string;
9
+ const METHOD = HttpMethod.DELETE;
10
+ type RequestType = z.infer<typeof Request>;
11
+ type ResponseType = z.infer<typeof Response>;
12
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AdminUnlinkTelegramCommand = void 0;
4
+ const zod_1 = require("zod");
5
+ const schemas_1 = require("../schemas");
6
+ const rest_api_1 = require("../../../../rest-api");
7
+ const http_method_enum_1 = require("../../../../shared/http-method.enum");
8
+ var AdminUnlinkTelegramCommand;
9
+ (function (AdminUnlinkTelegramCommand) {
10
+ AdminUnlinkTelegramCommand.Request = zod_1.z.object({});
11
+ AdminUnlinkTelegramCommand.Response = schemas_1.AdminUnlinkTelegramResponseSchema;
12
+ AdminUnlinkTelegramCommand.URL = (userId) => rest_api_1.REST_API.V1.TELEGRAM_PROFILE.ADMIN.UNLINK(userId);
13
+ AdminUnlinkTelegramCommand.METHOD = http_method_enum_1.HttpMethod.DELETE;
14
+ })(AdminUnlinkTelegramCommand || (exports.AdminUnlinkTelegramCommand = AdminUnlinkTelegramCommand = {}));
15
+ //# sourceMappingURL=admin-unlink-telegram.command.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"admin-unlink-telegram.command.js","sourceRoot":"","sources":["../../../../../v1/telegram-profile/admin/commands/admin-unlink-telegram.command.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,wCAA+D;AAC/D,mDAAgD;AAChD,0EAAiE;AAEjE,IAAiB,0BAA0B,CAO1C;AAPD,WAAiB,0BAA0B;IAC1B,kCAAO,GAAG,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IACvB,mCAAQ,GAAG,2CAAiC,CAAC;IAC7C,8BAAG,GAAG,CAAC,MAAc,EAAE,EAAE,CAAC,mBAAQ,CAAC,EAAE,CAAC,gBAAgB,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC5E,iCAAM,GAAG,6BAAU,CAAC,MAAM,CAAC;AAG5C,CAAC,EAPgB,0BAA0B,0CAA1B,0BAA0B,QAO1C"}
@@ -0,0 +1 @@
1
+ export * from './admin-unlink-telegram.command';
@@ -0,0 +1,18 @@
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("./admin-unlink-telegram.command"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../v1/telegram-profile/admin/commands/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kEAAgD"}
@@ -0,0 +1,3 @@
1
+ export * from './schemas';
2
+ export * from './commands';
3
+ export { TELEGRAM_PROFILE_ADMIN_CONTROLLER } from '../../../controllers';
@@ -0,0 +1,22 @@
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
+ exports.TELEGRAM_PROFILE_ADMIN_CONTROLLER = void 0;
18
+ __exportStar(require("./schemas"), exports);
19
+ __exportStar(require("./commands"), exports);
20
+ var controllers_1 = require("../../../controllers");
21
+ Object.defineProperty(exports, "TELEGRAM_PROFILE_ADMIN_CONTROLLER", { enumerable: true, get: function () { return controllers_1.TELEGRAM_PROFILE_ADMIN_CONTROLLER; } });
22
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../v1/telegram-profile/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,6CAA2B;AAC3B,oDAAyE;AAAhE,gIAAA,iCAAiC,OAAA"}
@@ -0,0 +1,5 @@
1
+ import { z } from 'zod';
2
+ export declare const AdminUnlinkTelegramResponseSchema: z.ZodObject<{
3
+ uuid: z.ZodString;
4
+ }, z.core.$strip>;
5
+ export type AdminUnlinkTelegramResponse = z.infer<typeof AdminUnlinkTelegramResponseSchema>;
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AdminUnlinkTelegramResponseSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ const regex_1 = require("../../../../shared/regex");
6
+ exports.AdminUnlinkTelegramResponseSchema = zod_1.z.object({
7
+ uuid: zod_1.z.string().regex(regex_1.UUID_REGEX),
8
+ });
9
+ //# sourceMappingURL=admin-unlink.schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"admin-unlink.schema.js","sourceRoot":"","sources":["../../../../../v1/telegram-profile/admin/schemas/admin-unlink.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,oDAAsD;AAMzC,QAAA,iCAAiC,GAAG,OAAC,CAAC,MAAM,CAAC;IACtD,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,kBAAU,CAAC;CACrC,CAAC,CAAC"}
@@ -0,0 +1 @@
1
+ export * from './admin-unlink.schema';
@@ -0,0 +1,18 @@
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("./admin-unlink.schema"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../v1/telegram-profile/admin/schemas/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC"}
@@ -9,7 +9,7 @@ var LinkTelegramCommand;
9
9
  (function (LinkTelegramCommand) {
10
10
  LinkTelegramCommand.Request = zod_1.z.object({});
11
11
  LinkTelegramCommand.Response = schemas_1.TelegramLinkResponseSchema;
12
- LinkTelegramCommand.URL = rest_api_1.REST_API.V1.TELEGRAM_PROFILE.LINK;
12
+ LinkTelegramCommand.URL = rest_api_1.REST_API.V1.TELEGRAM_PROFILE.REG.LINK;
13
13
  LinkTelegramCommand.METHOD = http_method_enum_1.HttpMethod.POST;
14
14
  })(LinkTelegramCommand || (exports.LinkTelegramCommand = LinkTelegramCommand = {}));
15
15
  //# sourceMappingURL=link-telegram.command.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"link-telegram.command.js","sourceRoot":"","sources":["../../../../v1/telegram-profile/commands/link-telegram.command.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,wCAAwD;AACxD,uEAA8D;AAC9D,gDAA6C;AAM7C,IAAiB,mBAAmB,CASnC;AATD,WAAiB,mBAAmB;IACnB,2BAAO,GAAG,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IACvB,4BAAQ,GAAG,oCAA0B,CAAC;IAEtC,uBAAG,GAAG,mBAAQ,CAAC,EAAE,CAAC,gBAAgB,CAAC,IAAI,CAAC;IACxC,0BAAM,GAAG,6BAAU,CAAC,IAAI,CAAC;AAI1C,CAAC,EATgB,mBAAmB,mCAAnB,mBAAmB,QASnC"}
1
+ {"version":3,"file":"link-telegram.command.js","sourceRoot":"","sources":["../../../../v1/telegram-profile/commands/link-telegram.command.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,wCAAwD;AACxD,uEAA8D;AAC9D,gDAA6C;AAM7C,IAAiB,mBAAmB,CASnC;AATD,WAAiB,mBAAmB;IACnB,2BAAO,GAAG,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IACvB,4BAAQ,GAAG,oCAA0B,CAAC;IAEtC,uBAAG,GAAG,mBAAQ,CAAC,EAAE,CAAC,gBAAgB,CAAC,GAAG,CAAC,IAAI,CAAC;IAC5C,0BAAM,GAAG,6BAAU,CAAC,IAAI,CAAC;AAI1C,CAAC,EATgB,mBAAmB,mCAAnB,mBAAmB,QASnC"}
@@ -7,7 +7,7 @@ const rest_api_1 = require("../../../rest-api");
7
7
  var UnlinkTelegramCommand;
8
8
  (function (UnlinkTelegramCommand) {
9
9
  UnlinkTelegramCommand.Response = zod_1.z.void();
10
- UnlinkTelegramCommand.URL = rest_api_1.REST_API.V1.TELEGRAM_PROFILE.UNLINK;
10
+ UnlinkTelegramCommand.URL = rest_api_1.REST_API.V1.TELEGRAM_PROFILE.REG.UNLINK;
11
11
  UnlinkTelegramCommand.METHOD = http_method_enum_1.HttpMethod.DELETE;
12
12
  })(UnlinkTelegramCommand || (exports.UnlinkTelegramCommand = UnlinkTelegramCommand = {}));
13
13
  //# sourceMappingURL=unlink-telegram.command.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"unlink-telegram.command.js","sourceRoot":"","sources":["../../../../v1/telegram-profile/commands/unlink-telegram.command.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,uEAA8D;AAC9D,gDAA6C;AAM7C,IAAiB,qBAAqB,CAOrC;AAPD,WAAiB,qBAAqB;IACrB,8BAAQ,GAAG,OAAC,CAAC,IAAI,EAAE,CAAC;IAEpB,yBAAG,GAAG,mBAAQ,CAAC,EAAE,CAAC,gBAAgB,CAAC,MAAM,CAAC;IAC1C,4BAAM,GAAG,6BAAU,CAAC,MAAM,CAAC;AAG5C,CAAC,EAPgB,qBAAqB,qCAArB,qBAAqB,QAOrC"}
1
+ {"version":3,"file":"unlink-telegram.command.js","sourceRoot":"","sources":["../../../../v1/telegram-profile/commands/unlink-telegram.command.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,uEAA8D;AAC9D,gDAA6C;AAM7C,IAAiB,qBAAqB,CAOrC;AAPD,WAAiB,qBAAqB;IACrB,8BAAQ,GAAG,OAAC,CAAC,IAAI,EAAE,CAAC;IAEpB,yBAAG,GAAG,mBAAQ,CAAC,EAAE,CAAC,gBAAgB,CAAC,GAAG,CAAC,MAAM,CAAC;IAC9C,4BAAM,GAAG,6BAAU,CAAC,MAAM,CAAC;AAG5C,CAAC,EAPgB,qBAAqB,qCAArB,qBAAqB,QAOrC"}
@@ -2,5 +2,6 @@ export * from './telegram-profile.errors';
2
2
  export * from './schemas';
3
3
  export * from './commands';
4
4
  export * from './queries';
5
+ export * from './admin';
5
6
  export { TELEGRAM_PROFILE_CONTROLLER } from '../../controllers';
6
7
  export { TELEGRAM_PROFILE_ROUTES } from '../../routes';
@@ -19,6 +19,7 @@ __exportStar(require("./telegram-profile.errors"), exports);
19
19
  __exportStar(require("./schemas"), exports);
20
20
  __exportStar(require("./commands"), exports);
21
21
  __exportStar(require("./queries"), exports);
22
+ __exportStar(require("./admin"), exports);
22
23
  var controllers_1 = require("../../controllers");
23
24
  Object.defineProperty(exports, "TELEGRAM_PROFILE_CONTROLLER", { enumerable: true, get: function () { return controllers_1.TELEGRAM_PROFILE_CONTROLLER; } });
24
25
  var routes_1 = require("../../routes");
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../v1/telegram-profile/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,4DAA0C;AAC1C,4CAA0B;AAC1B,6CAA2B;AAC3B,4CAA0B;AAE1B,iDAAgE;AAAvD,0HAAA,2BAA2B,OAAA;AACpC,uCAAuD;AAA9C,iHAAA,uBAAuB,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../v1/telegram-profile/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,4DAA0C;AAC1C,4CAA0B;AAC1B,6CAA2B;AAC3B,4CAA0B;AAC1B,0CAAwB;AAExB,iDAAgE;AAAvD,0HAAA,2BAA2B,OAAA;AACpC,uCAAuD;AAA9C,iHAAA,uBAAuB,OAAA"}
@@ -7,7 +7,7 @@ const rest_api_1 = require("../../../rest-api");
7
7
  var GetTelegramLinkStatusQuery;
8
8
  (function (GetTelegramLinkStatusQuery) {
9
9
  GetTelegramLinkStatusQuery.Response = schemas_1.TelegramLinkStatusResponseSchema;
10
- GetTelegramLinkStatusQuery.URL = (uuid) => rest_api_1.REST_API.V1.TELEGRAM_PROFILE.LINK_STATUS(uuid);
10
+ GetTelegramLinkStatusQuery.URL = (uuid) => rest_api_1.REST_API.V1.TELEGRAM_PROFILE.REG.LINK_STATUS(uuid);
11
11
  GetTelegramLinkStatusQuery.METHOD = http_method_enum_1.HttpMethod.GET;
12
12
  })(GetTelegramLinkStatusQuery || (exports.GetTelegramLinkStatusQuery = GetTelegramLinkStatusQuery = {}));
13
13
  //# sourceMappingURL=get-telegram-link-status.query.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-telegram-link-status.query.js","sourceRoot":"","sources":["../../../../v1/telegram-profile/queries/get-telegram-link-status.query.ts"],"names":[],"mappings":";;;AACA,wCAA8D;AAC9D,uEAA8D;AAC9D,gDAA6C;AAM7C,IAAiB,0BAA0B,CAO1C;AAPD,WAAiB,0BAA0B;IAC1B,mCAAQ,GAAG,0CAAgC,CAAC;IAE5C,8BAAG,GAAG,CAAC,IAAY,EAAE,EAAE,CAAC,mBAAQ,CAAC,EAAE,CAAC,gBAAgB,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;IACvE,iCAAM,GAAG,6BAAU,CAAC,GAAG,CAAC;AAGzC,CAAC,EAPgB,0BAA0B,0CAA1B,0BAA0B,QAO1C"}
1
+ {"version":3,"file":"get-telegram-link-status.query.js","sourceRoot":"","sources":["../../../../v1/telegram-profile/queries/get-telegram-link-status.query.ts"],"names":[],"mappings":";;;AACA,wCAA8D;AAC9D,uEAA8D;AAC9D,gDAA6C;AAM7C,IAAiB,0BAA0B,CAO1C;AAPD,WAAiB,0BAA0B;IAC1B,mCAAQ,GAAG,0CAAgC,CAAC;IAE5C,8BAAG,GAAG,CAAC,IAAY,EAAE,EAAE,CAAC,mBAAQ,CAAC,EAAE,CAAC,gBAAgB,CAAC,GAAG,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;IAC3E,iCAAM,GAAG,6BAAU,CAAC,GAAG,CAAC;AAGzC,CAAC,EAPgB,0BAA0B,0CAA1B,0BAA0B,QAO1C"}
@@ -7,7 +7,7 @@ const rest_api_1 = require("../../../rest-api");
7
7
  var GetTelegramProfileQuery;
8
8
  (function (GetTelegramProfileQuery) {
9
9
  GetTelegramProfileQuery.Response = schemas_1.TelegramProfileResponseSchema;
10
- GetTelegramProfileQuery.URL = rest_api_1.REST_API.V1.TELEGRAM_PROFILE.GET_PROFILE;
10
+ GetTelegramProfileQuery.URL = rest_api_1.REST_API.V1.TELEGRAM_PROFILE.REG.GET_PROFILE;
11
11
  GetTelegramProfileQuery.METHOD = http_method_enum_1.HttpMethod.GET;
12
12
  })(GetTelegramProfileQuery || (exports.GetTelegramProfileQuery = GetTelegramProfileQuery = {}));
13
13
  //# sourceMappingURL=get-telegram-profile.query.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-telegram-profile.query.js","sourceRoot":"","sources":["../../../../v1/telegram-profile/queries/get-telegram-profile.query.ts"],"names":[],"mappings":";;;AACA,wCAA2D;AAC3D,uEAA8D;AAC9D,gDAA6C;AAM7C,IAAiB,uBAAuB,CAOvC;AAPD,WAAiB,uBAAuB;IACvB,gCAAQ,GAAG,uCAA6B,CAAC;IAEzC,2BAAG,GAAG,mBAAQ,CAAC,EAAE,CAAC,gBAAgB,CAAC,WAAW,CAAC;IAC/C,8BAAM,GAAG,6BAAU,CAAC,GAAG,CAAC;AAGzC,CAAC,EAPgB,uBAAuB,uCAAvB,uBAAuB,QAOvC"}
1
+ {"version":3,"file":"get-telegram-profile.query.js","sourceRoot":"","sources":["../../../../v1/telegram-profile/queries/get-telegram-profile.query.ts"],"names":[],"mappings":";;;AACA,wCAA2D;AAC3D,uEAA8D;AAC9D,gDAA6C;AAM7C,IAAiB,uBAAuB,CAOvC;AAPD,WAAiB,uBAAuB;IACvB,gCAAQ,GAAG,uCAA6B,CAAC;IAEzC,2BAAG,GAAG,mBAAQ,CAAC,EAAE,CAAC,gBAAgB,CAAC,GAAG,CAAC,WAAW,CAAC;IACnD,8BAAM,GAAG,6BAAU,CAAC,GAAG,CAAC;AAGzC,CAAC,EAPgB,uBAAuB,uCAAvB,uBAAuB,QAOvC"}
@@ -0,0 +1,12 @@
1
+ import { z } from 'zod';
2
+ import { HttpMethod } from '../../../../shared/http-method.enum';
3
+ export declare namespace AdminDeleteUserCommand {
4
+ const Request: z.ZodObject<{}, z.core.$strip>;
5
+ const Response: z.ZodObject<{
6
+ uuid: z.ZodString;
7
+ }, z.core.$strip>;
8
+ const URL: (userId: string) => string;
9
+ const METHOD = HttpMethod.DELETE;
10
+ type RequestType = z.infer<typeof Request>;
11
+ type ResponseType = z.infer<typeof Response>;
12
+ }
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AdminDeleteUserCommand = void 0;
4
+ const zod_1 = require("zod");
5
+ const regex_1 = require("../../../../shared/regex");
6
+ const rest_api_1 = require("../../../../rest-api");
7
+ const http_method_enum_1 = require("../../../../shared/http-method.enum");
8
+ var AdminDeleteUserCommand;
9
+ (function (AdminDeleteUserCommand) {
10
+ AdminDeleteUserCommand.Request = zod_1.z.object({});
11
+ AdminDeleteUserCommand.Response = zod_1.z.object({
12
+ uuid: zod_1.z.string().regex(regex_1.UUID_REGEX),
13
+ });
14
+ AdminDeleteUserCommand.URL = (userId) => rest_api_1.REST_API.V1.USERS.ADMIN.DELETE(userId);
15
+ AdminDeleteUserCommand.METHOD = http_method_enum_1.HttpMethod.DELETE;
16
+ })(AdminDeleteUserCommand || (exports.AdminDeleteUserCommand = AdminDeleteUserCommand = {}));
17
+ //# sourceMappingURL=admin-delete-user.command.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"admin-delete-user.command.js","sourceRoot":"","sources":["../../../../../v1/users/admin/commands/admin-delete-user.command.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,oDAAsD;AACtD,mDAAgD;AAChD,0EAAiE;AAEjE,IAAiB,sBAAsB,CAetC;AAfD,WAAiB,sBAAsB;IACtB,8BAAO,GAAG,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IAOvB,+BAAQ,GAAG,OAAC,CAAC,MAAM,CAAC;QAC7B,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,kBAAU,CAAC;KACrC,CAAC,CAAC;IACU,0BAAG,GAAG,CAAC,MAAc,EAAE,EAAE,CAAC,mBAAQ,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACjE,6BAAM,GAAG,6BAAU,CAAC,MAAM,CAAC;AAG5C,CAAC,EAfgB,sBAAsB,sCAAtB,sBAAsB,QAetC"}
@@ -0,0 +1,26 @@
1
+ import { z } from 'zod';
2
+ import { HttpMethod } from '../../../../shared/http-method.enum';
3
+ export declare namespace AdminUpdateUserCommand {
4
+ const Request: z.ZodObject<{
5
+ name: z.ZodOptional<z.ZodString>;
6
+ role: z.ZodOptional<z.ZodEnum<typeof import("../../..").UserRole>>;
7
+ status: z.ZodOptional<z.ZodEnum<{
8
+ ACTIVE: import("../..").UserStatus.ACTIVE;
9
+ BANNED: import("../..").UserStatus.BANNED;
10
+ }>>;
11
+ }, z.core.$strip>;
12
+ const Response: z.ZodObject<{
13
+ uuid: z.ZodString;
14
+ name: z.ZodString;
15
+ createdAt: z.ZodString;
16
+ status: z.ZodEnum<typeof import("../..").UserStatus>;
17
+ role: z.ZodEnum<typeof import("../../..").UserRole>;
18
+ registrationIp: z.ZodNullable<z.ZodString>;
19
+ updatedAt: z.ZodString;
20
+ deletedAt: z.ZodNullable<z.ZodString>;
21
+ }, z.core.$strip>;
22
+ const URL: (userId: string) => string;
23
+ const METHOD = HttpMethod.PATCH;
24
+ type RequestType = z.infer<typeof Request>;
25
+ type ResponseType = z.infer<typeof Response>;
26
+ }
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AdminUpdateUserCommand = void 0;
4
+ const schemas_1 = require("../schemas");
5
+ const rest_api_1 = require("../../../../rest-api");
6
+ const http_method_enum_1 = require("../../../../shared/http-method.enum");
7
+ var AdminUpdateUserCommand;
8
+ (function (AdminUpdateUserCommand) {
9
+ AdminUpdateUserCommand.Request = schemas_1.AdminUpdateUserRequestSchema;
10
+ AdminUpdateUserCommand.Response = schemas_1.AdminUpdateUserResponseSchema;
11
+ AdminUpdateUserCommand.URL = (userId) => rest_api_1.REST_API.V1.USERS.ADMIN.UPDATE(userId);
12
+ AdminUpdateUserCommand.METHOD = http_method_enum_1.HttpMethod.PATCH;
13
+ })(AdminUpdateUserCommand || (exports.AdminUpdateUserCommand = AdminUpdateUserCommand = {}));
14
+ //# sourceMappingURL=admin-update-user.command.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"admin-update-user.command.js","sourceRoot":"","sources":["../../../../../v1/users/admin/commands/admin-update-user.command.ts"],"names":[],"mappings":";;;AACA,wCAAyF;AACzF,mDAAgD;AAChD,0EAAiE;AAEjE,IAAiB,sBAAsB,CAOtC;AAPD,WAAiB,sBAAsB;IACtB,8BAAO,GAAG,sCAA4B,CAAC;IACvC,+BAAQ,GAAG,uCAA6B,CAAC;IACzC,0BAAG,GAAG,CAAC,MAAc,EAAE,EAAE,CAAC,mBAAQ,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACjE,6BAAM,GAAG,6BAAU,CAAC,KAAK,CAAC;AAG3C,CAAC,EAPgB,sBAAsB,sCAAtB,sBAAsB,QAOtC"}
@@ -0,0 +1,2 @@
1
+ export * from './admin-update-user.command';
2
+ export * from './admin-delete-user.command';
@@ -0,0 +1,19 @@
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("./admin-update-user.command"), exports);
18
+ __exportStar(require("./admin-delete-user.command"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../v1/users/admin/commands/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8DAA4C;AAC5C,8DAA4C"}
@@ -0,0 +1,6 @@
1
+ export * from './schemas';
2
+ export * from './queries';
3
+ export * from './commands';
4
+ export * from './users-admin.errors';
5
+ export { USERS_ADMIN_CONTROLLER } from '../../../controllers';
6
+ export { USERS_ADMIN_ROUTES } from '../../../routes';
@@ -0,0 +1,26 @@
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
+ exports.USERS_ADMIN_ROUTES = exports.USERS_ADMIN_CONTROLLER = void 0;
18
+ __exportStar(require("./schemas"), exports);
19
+ __exportStar(require("./queries"), exports);
20
+ __exportStar(require("./commands"), exports);
21
+ __exportStar(require("./users-admin.errors"), exports);
22
+ var controllers_1 = require("../../../controllers");
23
+ Object.defineProperty(exports, "USERS_ADMIN_CONTROLLER", { enumerable: true, get: function () { return controllers_1.USERS_ADMIN_CONTROLLER; } });
24
+ var routes_1 = require("../../../routes");
25
+ Object.defineProperty(exports, "USERS_ADMIN_ROUTES", { enumerable: true, get: function () { return routes_1.USERS_ADMIN_ROUTES; } });
26
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../v1/users/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,4CAA0B;AAC1B,6CAA2B;AAC3B,uDAAqC;AACrC,oDAA8D;AAArD,qHAAA,sBAAsB,OAAA;AAC/B,0CAAqD;AAA5C,4GAAA,kBAAkB,OAAA"}