@r2wa-org/eden 0.0.72 → 0.0.76

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 (370) hide show
  1. package/README.md +18 -4
  2. package/dist/admin/index.d.ts +2256 -213
  3. package/dist/admin-user/admin/dto.schemas.d.ts +3 -3
  4. package/dist/admin-user/admin/errors/index.d.ts +4 -0
  5. package/dist/admin-user/admin/errors/locales/zh.d.ts +1 -0
  6. package/dist/app-version/admin/dto.schemas.d.ts +99 -0
  7. package/dist/{src/admin → app-version}/admin/router.d.ts +182 -83
  8. package/dist/app-version/admin/service.d.ts +105 -0
  9. package/dist/{src/account-type → app-version}/db.schemas.d.ts +142 -74
  10. package/dist/{src/account-type → app-version}/schema.d.ts +76 -41
  11. package/dist/asset/admin/dto.schemas.d.ts +3 -7
  12. package/dist/asset/admin/router.d.ts +2 -8
  13. package/dist/asset/admin/service.d.ts +1 -6
  14. package/dist/asset/errors/index.d.ts +2 -0
  15. package/dist/asset/errors/locales/zh.d.ts +1 -0
  16. package/dist/asset/user/dto.schemas.d.ts +0 -2
  17. package/dist/asset/user/router.d.ts +0 -3
  18. package/dist/asset/user/service.d.ts +0 -3
  19. package/dist/asset-convert-product/admin/service.d.ts +1 -0
  20. package/dist/asset-convert-product/errors/index.d.ts +1 -0
  21. package/dist/asset-convert-product/errors/locales/zh.d.ts +1 -0
  22. package/dist/asset-convert-product/user/dto.schemas.d.ts +119 -84
  23. package/dist/asset-convert-product/user/router.d.ts +21 -0
  24. package/dist/asset-convert-product/user/service.d.ts +39 -0
  25. package/dist/asset-type/admin/dto.schemas.d.ts +0 -53
  26. package/dist/asset-type/admin/router.d.ts +0 -6
  27. package/dist/asset-type/admin/service.d.ts +0 -4
  28. package/dist/asset-type/db.schemas.d.ts +0 -34
  29. package/dist/asset-type/schema.d.ts +0 -17
  30. package/dist/asset-type/seed.d.ts +0 -3
  31. package/dist/asset-type/user/dto.schemas.d.ts +0 -2
  32. package/dist/asset-type/user/router.d.ts +0 -1
  33. package/dist/asset-type/user/service.d.ts +0 -1
  34. package/dist/auth/db.schemas.d.ts +8 -8
  35. package/dist/auth/schema.d.ts +4 -4
  36. package/dist/bank-account/admin/dto.schemas.d.ts +47 -2
  37. package/dist/bank-account/admin/router.d.ts +32 -0
  38. package/dist/bank-account/admin/service.d.ts +88 -15
  39. package/dist/check-in/admin/dto.schemas.d.ts +1 -1
  40. package/dist/check-in/user/dto.schemas.d.ts +1 -1
  41. package/dist/db/schemas.d.ts +1 -0
  42. package/dist/deposit/admin/dto.schemas.d.ts +2 -2
  43. package/dist/deposit/user/dto.schemas.d.ts +2 -2
  44. package/dist/env/server.d.ts +1 -0
  45. package/dist/http-access-log.d.ts +30 -0
  46. package/dist/index.d.ts +2591 -358
  47. package/dist/ledger/admin/dto.schemas.d.ts +353 -688
  48. package/dist/ledger/admin/router.d.ts +81 -0
  49. package/dist/ledger/admin/service.d.ts +2 -135
  50. package/dist/ledger/schema.d.ts +1 -0
  51. package/dist/ledger-account/admin/dto.schemas.d.ts +132 -516
  52. package/dist/ledger-account/admin/router.d.ts +69 -0
  53. package/dist/ledger-account/admin/service.d.ts +54 -0
  54. package/dist/market-data/admin/dto.schemas.d.ts +597 -64
  55. package/dist/market-data/admin/router.d.ts +30 -4
  56. package/dist/market-data/admin/service.d.ts +26 -0
  57. package/dist/market-data/errors/index.d.ts +1 -0
  58. package/dist/market-data/errors/locales/zh.d.ts +1 -0
  59. package/dist/market-data/user/dto.schemas.d.ts +81 -0
  60. package/dist/market-data/user/router.d.ts +172 -0
  61. package/dist/market-data/user/service.d.ts +12 -1
  62. package/dist/market-pricing/admin/dto.schemas.d.ts +602 -64
  63. package/dist/market-pricing/admin/router.d.ts +173 -17
  64. package/dist/market-pricing/admin/service.d.ts +172 -15
  65. package/dist/news/admin/service.d.ts +1 -0
  66. package/dist/news-category/admin/dto.schemas.d.ts +4 -4
  67. package/dist/news-category/admin/router.d.ts +2 -2
  68. package/dist/news-category/admin/service.d.ts +1 -0
  69. package/dist/news-category/errors/index.d.ts +2 -0
  70. package/dist/news-category/errors/locales/zh.d.ts +1 -0
  71. package/dist/operations-overview/admin/dto.schemas.d.ts +41 -0
  72. package/dist/{src/shipping-address/admin.router.d.ts → operations-overview/admin/router.d.ts} +47 -37
  73. package/dist/operations-overview/admin/service.d.ts +4 -0
  74. package/dist/receipt-method/admin/dto.schemas.d.ts +48 -378
  75. package/dist/receipt-method/admin/router.d.ts +16 -0
  76. package/dist/receipt-method/admin/service.d.ts +36 -0
  77. package/dist/referral/admin/dto.schemas.d.ts +6 -2
  78. package/dist/referral/admin/router.d.ts +1 -6
  79. package/dist/referral/admin/service.d.ts +1 -1
  80. package/dist/referral/errors/index.d.ts +1 -0
  81. package/dist/referral/errors/locales/zh.d.ts +1 -0
  82. package/dist/referral/user/dto.schemas.d.ts +2 -2
  83. package/dist/src/admin/index.d.ts +2256 -213
  84. package/dist/src/admin-user/admin/dto.schemas.d.ts +3 -3
  85. package/dist/src/admin-user/admin/errors/index.d.ts +4 -0
  86. package/dist/src/admin-user/admin/errors/locales/zh.d.ts +1 -0
  87. package/dist/src/app-version/admin/dto.schemas.d.ts +99 -0
  88. package/dist/src/{referral-depth-config/admin.router.d.ts → app-version/admin/router.d.ts} +211 -101
  89. package/dist/src/app-version/admin/service.d.ts +105 -0
  90. package/dist/src/{account → app-version}/db.schemas.d.ts +186 -84
  91. package/dist/src/{account → app-version}/schema.d.ts +98 -52
  92. package/dist/src/asset/admin/dto.schemas.d.ts +3 -7
  93. package/dist/src/asset/admin/router.d.ts +2 -8
  94. package/dist/src/asset/admin/service.d.ts +1 -6
  95. package/dist/src/asset/errors/index.d.ts +2 -0
  96. package/dist/src/asset/errors/locales/zh.d.ts +1 -0
  97. package/dist/src/asset/user/dto.schemas.d.ts +0 -2
  98. package/dist/src/asset/user/router.d.ts +0 -3
  99. package/dist/src/asset/user/service.d.ts +0 -3
  100. package/dist/src/asset-convert-product/admin/service.d.ts +1 -0
  101. package/dist/src/asset-convert-product/errors/index.d.ts +1 -0
  102. package/dist/src/asset-convert-product/errors/locales/zh.d.ts +1 -0
  103. package/dist/src/asset-convert-product/user/dto.schemas.d.ts +119 -84
  104. package/dist/src/asset-convert-product/user/router.d.ts +21 -0
  105. package/dist/src/asset-convert-product/user/service.d.ts +39 -0
  106. package/dist/src/asset-type/admin/dto.schemas.d.ts +0 -53
  107. package/dist/src/asset-type/admin/router.d.ts +0 -6
  108. package/dist/src/asset-type/admin/service.d.ts +0 -4
  109. package/dist/src/asset-type/db.schemas.d.ts +0 -34
  110. package/dist/src/asset-type/schema.d.ts +0 -17
  111. package/dist/src/asset-type/seed.d.ts +0 -3
  112. package/dist/src/asset-type/user/dto.schemas.d.ts +0 -2
  113. package/dist/src/asset-type/user/router.d.ts +0 -1
  114. package/dist/src/asset-type/user/service.d.ts +0 -1
  115. package/dist/src/auth/better-auth.d.ts +30 -0
  116. package/dist/src/auth/db.schemas.d.ts +8 -8
  117. package/dist/src/auth/schema.d.ts +4 -4
  118. package/dist/src/bank-account/admin/dto.schemas.d.ts +47 -2
  119. package/dist/src/bank-account/admin/router.d.ts +32 -0
  120. package/dist/src/bank-account/admin/service.d.ts +88 -15
  121. package/dist/src/check-in/admin/dto.schemas.d.ts +1 -1
  122. package/dist/src/check-in/user/dto.schemas.d.ts +1 -1
  123. package/dist/src/db/schemas.d.ts +1 -0
  124. package/dist/src/deposit/admin/dto.schemas.d.ts +2 -2
  125. package/dist/src/deposit/user/dto.schemas.d.ts +2 -2
  126. package/dist/src/env/server.d.ts +1 -0
  127. package/dist/src/http-access-log.d.ts +30 -0
  128. package/dist/src/index.d.ts +2591 -358
  129. package/dist/src/ledger/admin/dto.schemas.d.ts +353 -688
  130. package/dist/src/ledger/admin/router.d.ts +81 -0
  131. package/dist/src/ledger/admin/service.d.ts +2 -135
  132. package/dist/src/ledger/schema.d.ts +1 -0
  133. package/dist/src/ledger-account/admin/dto.schemas.d.ts +132 -516
  134. package/dist/src/ledger-account/admin/router.d.ts +69 -0
  135. package/dist/src/ledger-account/admin/service.d.ts +54 -0
  136. package/dist/src/market-data/admin/dto.schemas.d.ts +597 -64
  137. package/dist/src/market-data/admin/router.d.ts +30 -4
  138. package/dist/src/market-data/admin/service.d.ts +26 -0
  139. package/dist/src/market-data/errors/index.d.ts +1 -0
  140. package/dist/src/market-data/errors/locales/zh.d.ts +1 -0
  141. package/dist/src/market-data/user/dto.schemas.d.ts +81 -0
  142. package/dist/src/market-data/user/router.d.ts +172 -0
  143. package/dist/src/market-data/user/service.d.ts +12 -1
  144. package/dist/src/market-pricing/admin/dto.schemas.d.ts +602 -64
  145. package/dist/src/market-pricing/admin/router.d.ts +173 -17
  146. package/dist/src/market-pricing/admin/service.d.ts +172 -15
  147. package/dist/src/news/admin/service.d.ts +1 -0
  148. package/dist/src/news-category/admin/dto.schemas.d.ts +4 -4
  149. package/dist/src/news-category/admin/router.d.ts +2 -2
  150. package/dist/src/news-category/admin/service.d.ts +1 -0
  151. package/dist/src/news-category/errors/index.d.ts +2 -0
  152. package/dist/src/news-category/errors/locales/zh.d.ts +1 -0
  153. package/dist/src/operations-overview/admin/dto.schemas.d.ts +41 -0
  154. package/dist/src/{transfer/admin.router.d.ts → operations-overview/admin/router.d.ts} +49 -41
  155. package/dist/src/operations-overview/admin/service.d.ts +4 -0
  156. package/dist/src/receipt-method/admin/dto.schemas.d.ts +48 -378
  157. package/dist/src/receipt-method/admin/router.d.ts +16 -0
  158. package/dist/src/receipt-method/admin/service.d.ts +36 -0
  159. package/dist/src/referral/admin/dto.schemas.d.ts +6 -2
  160. package/dist/src/referral/admin/router.d.ts +1 -6
  161. package/dist/src/referral/admin/service.d.ts +1 -1
  162. package/dist/src/referral/errors/index.d.ts +1 -0
  163. package/dist/src/referral/errors/locales/zh.d.ts +1 -0
  164. package/dist/src/referral/user/dto.schemas.d.ts +2 -2
  165. package/dist/src/team/admin/dto.schemas.d.ts +1678 -253
  166. package/dist/src/team/admin/router.d.ts +82 -1
  167. package/dist/src/team/admin/service.d.ts +2 -2
  168. package/dist/src/team/errors/index.d.ts +1 -0
  169. package/dist/src/team/errors/locales/zh.d.ts +1 -0
  170. package/dist/src/team/user/dto.schemas.d.ts +5 -5
  171. package/dist/src/trade-market/admin/dto.schemas.d.ts +4079 -77
  172. package/dist/src/trade-market/admin/router.d.ts +486 -0
  173. package/dist/src/trade-market/admin/service.d.ts +488 -0
  174. package/dist/src/trade-market/errors/index.d.ts +1 -0
  175. package/dist/src/trade-market/errors/locales/zh.d.ts +1 -0
  176. package/dist/src/trade-market/internal/service.d.ts +325 -0
  177. package/dist/src/trade-market/user/service.d.ts +324 -0
  178. package/dist/src/user/admin/dto.schemas.d.ts +1 -1
  179. package/dist/src/welfare-cycle/admin/dto.schemas.d.ts +1080 -1561
  180. package/dist/src/welfare-cycle/admin/router.d.ts +748 -2
  181. package/dist/src/welfare-cycle/admin/service.d.ts +828 -40
  182. package/dist/src/welfare-cycle/errors/index.d.ts +2 -0
  183. package/dist/src/welfare-cycle/errors/locales/zh.d.ts +2 -0
  184. package/dist/src/welfare-cycle/user/dto.schemas.d.ts +1 -0
  185. package/dist/src/welfare-cycle/user/router.d.ts +1 -0
  186. package/dist/src/welfare-cycle/user/service.d.ts +1 -0
  187. package/dist/src/withdraw/errors/index.d.ts +2 -0
  188. package/dist/src/withdraw/errors/locales/zh.d.ts +1 -0
  189. package/dist/src/withdraw/user/dto.schemas.d.ts +2 -2
  190. package/dist/src/withdraw/user/router.d.ts +2 -2
  191. package/dist/src/withdraw/user/service.d.ts +1 -0
  192. package/dist/team/admin/dto.schemas.d.ts +1678 -253
  193. package/dist/team/admin/router.d.ts +82 -1
  194. package/dist/team/admin/service.d.ts +2 -2
  195. package/dist/team/errors/index.d.ts +1 -0
  196. package/dist/team/errors/locales/zh.d.ts +1 -0
  197. package/dist/team/user/dto.schemas.d.ts +5 -5
  198. package/dist/trade-market/admin/dto.schemas.d.ts +4079 -77
  199. package/dist/trade-market/admin/router.d.ts +486 -0
  200. package/dist/trade-market/admin/service.d.ts +488 -0
  201. package/dist/trade-market/errors/index.d.ts +1 -0
  202. package/dist/trade-market/errors/locales/zh.d.ts +1 -0
  203. package/dist/trade-market/internal/service.d.ts +325 -0
  204. package/dist/trade-market/user/service.d.ts +324 -0
  205. package/dist/user/admin/dto.schemas.d.ts +1 -1
  206. package/dist/welfare-cycle/admin/dto.schemas.d.ts +1080 -1561
  207. package/dist/welfare-cycle/admin/router.d.ts +748 -2
  208. package/dist/welfare-cycle/admin/service.d.ts +828 -40
  209. package/dist/welfare-cycle/errors/index.d.ts +2 -0
  210. package/dist/welfare-cycle/errors/locales/zh.d.ts +2 -0
  211. package/dist/welfare-cycle/user/dto.schemas.d.ts +1 -0
  212. package/dist/welfare-cycle/user/router.d.ts +1 -0
  213. package/dist/welfare-cycle/user/service.d.ts +1 -0
  214. package/dist/withdraw/errors/index.d.ts +2 -0
  215. package/dist/withdraw/errors/locales/zh.d.ts +1 -0
  216. package/dist/withdraw/user/dto.schemas.d.ts +2 -2
  217. package/dist/withdraw/user/router.d.ts +2 -2
  218. package/dist/withdraw/user/service.d.ts +1 -0
  219. package/package.json +54 -6
  220. package/dist/src/account/admin.router.d.ts +0 -548
  221. package/dist/src/account/dto.schemas.d.ts +0 -414
  222. package/dist/src/account/index.d.ts +0 -7
  223. package/dist/src/account/router.d.ts +0 -509
  224. package/dist/src/account/seed.d.ts +0 -1
  225. package/dist/src/account/service.d.ts +0 -139
  226. package/dist/src/account-type/admin.router.d.ts +0 -495
  227. package/dist/src/account-type/dto.schemas.d.ts +0 -28
  228. package/dist/src/account-type/index.d.ts +0 -7
  229. package/dist/src/account-type/router.d.ts +0 -460
  230. package/dist/src/account-type/seed.d.ts +0 -1
  231. package/dist/src/account-type/service.d.ts +0 -52
  232. package/dist/src/admin/admin/dto.schemas.d.ts +0 -880
  233. package/dist/src/admin/admin/errors/index.d.ts +0 -15
  234. package/dist/src/admin/admin/errors/locales/zh.d.ts +0 -14
  235. package/dist/src/admin/admin/service.d.ts +0 -60
  236. package/dist/src/admin/user/dto.schemas.d.ts +0 -600
  237. package/dist/src/admin/user/router.d.ts +0 -82
  238. package/dist/src/admin/user/service.d.ts +0 -31
  239. package/dist/src/asset/admin.router.d.ts +0 -661
  240. package/dist/src/asset/dto.schemas.d.ts +0 -139
  241. package/dist/src/asset/router.d.ts +0 -480
  242. package/dist/src/asset/service.d.ts +0 -160
  243. package/dist/src/asset-type/admin.router.d.ts +0 -584
  244. package/dist/src/asset-type/dto.schemas.d.ts +0 -178
  245. package/dist/src/asset-type/router.d.ts +0 -472
  246. package/dist/src/asset-type/service.d.ts +0 -59
  247. package/dist/src/asset-type/share/dto.schemas.d.ts +0 -178
  248. package/dist/src/bank-account/admin.router.d.ts +0 -880
  249. package/dist/src/bank-account/dto.schemas.d.ts +0 -572
  250. package/dist/src/bank-account/router.d.ts +0 -680
  251. package/dist/src/bank-account/service.d.ts +0 -359
  252. package/dist/src/check-in/admin.router.d.ts +0 -533
  253. package/dist/src/check-in/dto.schemas.d.ts +0 -544
  254. package/dist/src/check-in/router.d.ts +0 -619
  255. package/dist/src/check-in/service.d.ts +0 -99
  256. package/dist/src/deposit/admin.router.d.ts +0 -642
  257. package/dist/src/deposit/dto.schemas.d.ts +0 -715
  258. package/dist/src/deposit/router.d.ts +0 -632
  259. package/dist/src/deposit/service.d.ts +0 -298
  260. package/dist/src/eden/index.d.ts +0 -57
  261. package/dist/src/file-storage/admin.router.d.ts +0 -601
  262. package/dist/src/file-storage/dto.schemas.d.ts +0 -1238
  263. package/dist/src/file-storage/router.d.ts +0 -588
  264. package/dist/src/file-storage/service.d.ts +0 -264
  265. package/dist/src/file-storage/share.router.d.ts +0 -564
  266. package/dist/src/ledger/admin.router.d.ts +0 -527
  267. package/dist/src/ledger/dto.schemas.d.ts +0 -712
  268. package/dist/src/ledger/router.d.ts +0 -487
  269. package/dist/src/ledger/service.d.ts +0 -462
  270. package/dist/src/ledger-account/admin.router.d.ts +0 -591
  271. package/dist/src/ledger-account/dto.schemas.d.ts +0 -559
  272. package/dist/src/ledger-account/router.d.ts +0 -426
  273. package/dist/src/ledger-account/seed.d.ts +0 -1
  274. package/dist/src/ledger-account/service.d.ts +0 -200
  275. package/dist/src/ledger-account-import/admin.router.d.ts +0 -694
  276. package/dist/src/ledger-account-import/dto.schemas.d.ts +0 -1255
  277. package/dist/src/ledger-account-import/service.d.ts +0 -105
  278. package/dist/src/ledger-account-transfer/dto.schemas.d.ts +0 -22
  279. package/dist/src/ledger-account-transfer/router.d.ts +0 -469
  280. package/dist/src/ledger-account-transfer/service.d.ts +0 -26
  281. package/dist/src/ledger-account-type/admin.router.d.ts +0 -711
  282. package/dist/src/ledger-account-type/dto.schemas.d.ts +0 -509
  283. package/dist/src/ledger-account-type/router.d.ts +0 -486
  284. package/dist/src/ledger-account-type/service.d.ts +0 -147
  285. package/dist/src/news/admin.router.d.ts +0 -824
  286. package/dist/src/news/dto.schemas.d.ts +0 -233
  287. package/dist/src/news/router.d.ts +0 -620
  288. package/dist/src/news/service.d.ts +0 -495
  289. package/dist/src/news-category/admin.router.d.ts +0 -207
  290. package/dist/src/news-category/dto.schemas.d.ts +0 -57
  291. package/dist/src/news-category/router.d.ts +0 -460
  292. package/dist/src/news-category/service.d.ts +0 -105
  293. package/dist/src/notification/admin.router.d.ts +0 -582
  294. package/dist/src/notification/dto.schemas.d.ts +0 -457
  295. package/dist/src/notification/router.d.ts +0 -626
  296. package/dist/src/notification/service.d.ts +0 -195
  297. package/dist/src/receipt-method/admin.router.d.ts +0 -579
  298. package/dist/src/receipt-method/dto.schemas.d.ts +0 -418
  299. package/dist/src/receipt-method/router.d.ts +0 -602
  300. package/dist/src/receipt-method/service.d.ts +0 -152
  301. package/dist/src/referral/admin.router.d.ts +0 -562
  302. package/dist/src/referral/dto.schemas.d.ts +0 -665
  303. package/dist/src/referral/router.d.ts +0 -579
  304. package/dist/src/referral/service.d.ts +0 -42
  305. package/dist/src/referral-depth-config/dto.schemas.d.ts +0 -208
  306. package/dist/src/referral-depth-config/index.d.ts +0 -5
  307. package/dist/src/referral-depth-config/service.d.ts +0 -56
  308. package/dist/src/shipping-address/dto.schemas.d.ts +0 -303
  309. package/dist/src/shipping-address/router.d.ts +0 -621
  310. package/dist/src/shipping-address/service.d.ts +0 -109
  311. package/dist/src/subscription/admin.router.d.ts +0 -818
  312. package/dist/src/subscription/cron.d.ts +0 -53
  313. package/dist/src/subscription/db.schemas.d.ts +0 -896
  314. package/dist/src/subscription/dto.schemas.d.ts +0 -1942
  315. package/dist/src/subscription/errors/index.d.ts +0 -21
  316. package/dist/src/subscription/errors/locales/zh.d.ts +0 -20
  317. package/dist/src/subscription/index.d.ts +0 -7
  318. package/dist/src/subscription/permissions.d.ts +0 -5
  319. package/dist/src/subscription/router.d.ts +0 -625
  320. package/dist/src/subscription/schema.d.ts +0 -475
  321. package/dist/src/subscription/service.d.ts +0 -306
  322. package/dist/src/team/admin.router.d.ts +0 -569
  323. package/dist/src/team/dto.schemas.d.ts +0 -2110
  324. package/dist/src/team/router.d.ts +0 -737
  325. package/dist/src/team/service.d.ts +0 -40
  326. package/dist/src/transfer/dto.schemas.d.ts +0 -628
  327. package/dist/src/transfer/router.d.ts +0 -514
  328. package/dist/src/transfer/service.d.ts +0 -133
  329. package/dist/src/user/admin.router.d.ts +0 -827
  330. package/dist/src/user/dto.schemas.d.ts +0 -1446
  331. package/dist/src/user/router.d.ts +0 -560
  332. package/dist/src/user/service.d.ts +0 -294
  333. package/dist/src/user-kyc/admin.router.d.ts +0 -669
  334. package/dist/src/user-kyc/dto.schemas.d.ts +0 -939
  335. package/dist/src/user-kyc/router.d.ts +0 -602
  336. package/dist/src/user-kyc/service.d.ts +0 -170
  337. package/dist/src/user-security/admin.router.d.ts +0 -493
  338. package/dist/src/user-security/dto.schemas.d.ts +0 -36
  339. package/dist/src/user-security/router.d.ts +0 -547
  340. package/dist/src/user-security/service.d.ts +0 -51
  341. package/dist/src/wallet/admin.router.d.ts +0 -519
  342. package/dist/src/wallet/dto.schemas.d.ts +0 -317
  343. package/dist/src/wallet/ensure.d.ts +0 -11
  344. package/dist/src/wallet/router.d.ts +0 -484
  345. package/dist/src/wallet/service.d.ts +0 -100
  346. package/dist/src/wallet-import/admin.router.d.ts +0 -694
  347. package/dist/src/wallet-import/db.schemas.d.ts +0 -1206
  348. package/dist/src/wallet-import/dto.schemas.d.ts +0 -1255
  349. package/dist/src/wallet-import/errors/index.d.ts +0 -18
  350. package/dist/src/wallet-import/errors/locales/zh.d.ts +0 -17
  351. package/dist/src/wallet-import/index.d.ts +0 -8
  352. package/dist/src/wallet-import/permissions.d.ts +0 -7
  353. package/dist/src/wallet-import/schema.d.ts +0 -636
  354. package/dist/src/wallet-import/service.d.ts +0 -105
  355. package/dist/src/wallet-import/worker.d.ts +0 -1
  356. package/dist/src/wallet-transfer/dto.schemas.d.ts +0 -22
  357. package/dist/src/wallet-transfer/errors/index.d.ts +0 -23
  358. package/dist/src/wallet-transfer/errors/locales/zh.d.ts +0 -15
  359. package/dist/src/wallet-transfer/index.d.ts +0 -4
  360. package/dist/src/wallet-transfer/router.d.ts +0 -469
  361. package/dist/src/wallet-transfer/service.d.ts +0 -26
  362. package/dist/src/wallet-type/admin.router.d.ts +0 -611
  363. package/dist/src/wallet-type/constants.d.ts +0 -4
  364. package/dist/src/wallet-type/dto.schemas.d.ts +0 -79
  365. package/dist/src/wallet-type/router.d.ts +0 -481
  366. package/dist/src/wallet-type/service.d.ts +0 -243
  367. package/dist/src/withdraw/admin.router.d.ts +0 -662
  368. package/dist/src/withdraw/dto.schemas.d.ts +0 -919
  369. package/dist/src/withdraw/router.d.ts +0 -529
  370. package/dist/src/withdraw/service.d.ts +0 -153
@@ -1,519 +0,0 @@
1
- import { Elysia } from "elysia";
2
- export declare const walletAdminRouter: Elysia<"/wallets", {
3
- decorator: {};
4
- store: {};
5
- derive: {};
6
- resolve: {};
7
- }, {
8
- typebox: {};
9
- error: {};
10
- }, {
11
- schema: {};
12
- standaloneSchema: {};
13
- macro: {};
14
- macroFn: {};
15
- parser: {};
16
- response: {};
17
- } & {
18
- schema: {};
19
- standaloneSchema: {};
20
- macro: Partial<{
21
- readonly auth: boolean;
22
- readonly admin: boolean;
23
- }>;
24
- macroFn: {
25
- readonly auth: {
26
- readonly resolve: ({ status, request: { headers } }: {
27
- body: unknown;
28
- query: Record<string, string>;
29
- params: {};
30
- headers: Record<string, string | undefined>;
31
- cookie: Record<string, import("elysia").Cookie<unknown>>;
32
- server: import("elysia/universal/server").Server | null;
33
- redirect: import("elysia").redirect;
34
- set: {
35
- headers: import("elysia").HTTPHeaders;
36
- status?: number | keyof import("elysia").StatusMap;
37
- redirect?: string;
38
- cookie?: Record<string, import("elysia/cookies").ElysiaCookie>;
39
- };
40
- path: string;
41
- route: string;
42
- request: Request;
43
- store: {};
44
- status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 200 | 400 | 422 | 101 | 102 | 103 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 421 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | 420 ? {
45
- readonly 100: "Continue";
46
- readonly 101: "Switching Protocols";
47
- readonly 102: "Processing";
48
- readonly 103: "Early Hints";
49
- readonly 200: "OK";
50
- readonly 201: "Created";
51
- readonly 202: "Accepted";
52
- readonly 203: "Non-Authoritative Information";
53
- readonly 204: "No Content";
54
- readonly 205: "Reset Content";
55
- readonly 206: "Partial Content";
56
- readonly 207: "Multi-Status";
57
- readonly 208: "Already Reported";
58
- readonly 300: "Multiple Choices";
59
- readonly 301: "Moved Permanently";
60
- readonly 302: "Found";
61
- readonly 303: "See Other";
62
- readonly 304: "Not Modified";
63
- readonly 307: "Temporary Redirect";
64
- readonly 308: "Permanent Redirect";
65
- readonly 400: "Bad Request";
66
- readonly 401: "Unauthorized";
67
- readonly 402: "Payment Required";
68
- readonly 403: "Forbidden";
69
- readonly 404: "Not Found";
70
- readonly 405: "Method Not Allowed";
71
- readonly 406: "Not Acceptable";
72
- readonly 407: "Proxy Authentication Required";
73
- readonly 408: "Request Timeout";
74
- readonly 409: "Conflict";
75
- readonly 410: "Gone";
76
- readonly 411: "Length Required";
77
- readonly 412: "Precondition Failed";
78
- readonly 413: "Payload Too Large";
79
- readonly 414: "URI Too Long";
80
- readonly 415: "Unsupported Media Type";
81
- readonly 416: "Range Not Satisfiable";
82
- readonly 417: "Expectation Failed";
83
- readonly 418: "I'm a teapot";
84
- readonly 420: "Enhance Your Calm";
85
- readonly 421: "Misdirected Request";
86
- readonly 422: "Unprocessable Content";
87
- readonly 423: "Locked";
88
- readonly 424: "Failed Dependency";
89
- readonly 425: "Too Early";
90
- readonly 426: "Upgrade Required";
91
- readonly 428: "Precondition Required";
92
- readonly 429: "Too Many Requests";
93
- readonly 431: "Request Header Fields Too Large";
94
- readonly 451: "Unavailable For Legal Reasons";
95
- readonly 500: "Internal Server Error";
96
- readonly 501: "Not Implemented";
97
- readonly 502: "Bad Gateway";
98
- readonly 503: "Service Unavailable";
99
- readonly 504: "Gateway Timeout";
100
- readonly 505: "HTTP Version Not Supported";
101
- readonly 506: "Variant Also Negotiates";
102
- readonly 507: "Insufficient Storage";
103
- readonly 508: "Loop Detected";
104
- readonly 510: "Not Extended";
105
- readonly 511: "Network Authentication Required";
106
- }[Code] : Code>(code: Code, response?: T) => import("elysia").ElysiaCustomStatusResponse<Code, T, Code extends "Continue" | "Switching Protocols" | "Processing" | "Early Hints" | "OK" | "Created" | "Accepted" | "Non-Authoritative Information" | "No Content" | "Reset Content" | "Partial Content" | "Multi-Status" | "Already Reported" | "Multiple Choices" | "Moved Permanently" | "Found" | "See Other" | "Not Modified" | "Temporary Redirect" | "Permanent Redirect" | "Bad Request" | "Unauthorized" | "Payment Required" | "Forbidden" | "Not Found" | "Method Not Allowed" | "Not Acceptable" | "Proxy Authentication Required" | "Request Timeout" | "Conflict" | "Gone" | "Length Required" | "Precondition Failed" | "Payload Too Large" | "URI Too Long" | "Unsupported Media Type" | "Range Not Satisfiable" | "Expectation Failed" | "I'm a teapot" | "Enhance Your Calm" | "Misdirected Request" | "Unprocessable Content" | "Locked" | "Failed Dependency" | "Too Early" | "Upgrade Required" | "Precondition Required" | "Too Many Requests" | "Request Header Fields Too Large" | "Unavailable For Legal Reasons" | "Internal Server Error" | "Not Implemented" | "Bad Gateway" | "Service Unavailable" | "Gateway Timeout" | "HTTP Version Not Supported" | "Variant Also Negotiates" | "Insufficient Storage" | "Loop Detected" | "Not Extended" | "Network Authentication Required" ? {
107
- readonly Continue: 100;
108
- readonly "Switching Protocols": 101;
109
- readonly Processing: 102;
110
- readonly "Early Hints": 103;
111
- readonly OK: 200;
112
- readonly Created: 201;
113
- readonly Accepted: 202;
114
- readonly "Non-Authoritative Information": 203;
115
- readonly "No Content": 204;
116
- readonly "Reset Content": 205;
117
- readonly "Partial Content": 206;
118
- readonly "Multi-Status": 207;
119
- readonly "Already Reported": 208;
120
- readonly "Multiple Choices": 300;
121
- readonly "Moved Permanently": 301;
122
- readonly Found: 302;
123
- readonly "See Other": 303;
124
- readonly "Not Modified": 304;
125
- readonly "Temporary Redirect": 307;
126
- readonly "Permanent Redirect": 308;
127
- readonly "Bad Request": 400;
128
- readonly Unauthorized: 401;
129
- readonly "Payment Required": 402;
130
- readonly Forbidden: 403;
131
- readonly "Not Found": 404;
132
- readonly "Method Not Allowed": 405;
133
- readonly "Not Acceptable": 406;
134
- readonly "Proxy Authentication Required": 407;
135
- readonly "Request Timeout": 408;
136
- readonly Conflict: 409;
137
- readonly Gone: 410;
138
- readonly "Length Required": 411;
139
- readonly "Precondition Failed": 412;
140
- readonly "Payload Too Large": 413;
141
- readonly "URI Too Long": 414;
142
- readonly "Unsupported Media Type": 415;
143
- readonly "Range Not Satisfiable": 416;
144
- readonly "Expectation Failed": 417;
145
- readonly "I'm a teapot": 418;
146
- readonly "Enhance Your Calm": 420;
147
- readonly "Misdirected Request": 421;
148
- readonly "Unprocessable Content": 422;
149
- readonly Locked: 423;
150
- readonly "Failed Dependency": 424;
151
- readonly "Too Early": 425;
152
- readonly "Upgrade Required": 426;
153
- readonly "Precondition Required": 428;
154
- readonly "Too Many Requests": 429;
155
- readonly "Request Header Fields Too Large": 431;
156
- readonly "Unavailable For Legal Reasons": 451;
157
- readonly "Internal Server Error": 500;
158
- readonly "Not Implemented": 501;
159
- readonly "Bad Gateway": 502;
160
- readonly "Service Unavailable": 503;
161
- readonly "Gateway Timeout": 504;
162
- readonly "HTTP Version Not Supported": 505;
163
- readonly "Variant Also Negotiates": 506;
164
- readonly "Insufficient Storage": 507;
165
- readonly "Loop Detected": 508;
166
- readonly "Not Extended": 510;
167
- readonly "Network Authentication Required": 511;
168
- }[Code] : Code>;
169
- }) => Promise<import("elysia").ElysiaCustomStatusResponse<401, any, 401> | {
170
- user: {
171
- id: string;
172
- createdAt: Date;
173
- updatedAt: Date;
174
- email: string;
175
- emailVerified: boolean;
176
- name: string;
177
- image?: string | null | undefined | undefined;
178
- phoneNumber?: string | null | undefined;
179
- phoneNumberVerified?: boolean | null | undefined;
180
- twoFactorEnabled: boolean | null | undefined;
181
- username?: string | null | undefined;
182
- displayUsername?: string | null | undefined;
183
- banned: boolean | null | undefined;
184
- role?: string | null | undefined;
185
- banReason?: string | null | undefined;
186
- banExpires?: Date | null | undefined;
187
- };
188
- session: {
189
- id: string;
190
- createdAt: Date;
191
- updatedAt: Date;
192
- userId: string;
193
- expiresAt: Date;
194
- token: string;
195
- ipAddress?: string | null | undefined | undefined;
196
- userAgent?: string | null | undefined | undefined;
197
- impersonatedBy?: string | null | undefined;
198
- };
199
- }>;
200
- };
201
- readonly admin: {
202
- readonly resolve: ({ status, request: { headers } }: {
203
- body: unknown;
204
- query: Record<string, string>;
205
- params: {};
206
- headers: Record<string, string | undefined>;
207
- cookie: Record<string, import("elysia").Cookie<unknown>>;
208
- server: import("elysia/universal/server").Server | null;
209
- redirect: import("elysia").redirect;
210
- set: {
211
- headers: import("elysia").HTTPHeaders;
212
- status?: number | keyof import("elysia").StatusMap;
213
- redirect?: string;
214
- cookie?: Record<string, import("elysia/cookies").ElysiaCookie>;
215
- };
216
- path: string;
217
- route: string;
218
- request: Request;
219
- store: {};
220
- status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 200 | 400 | 422 | 101 | 102 | 103 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 421 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | 420 ? {
221
- readonly 100: "Continue";
222
- readonly 101: "Switching Protocols";
223
- readonly 102: "Processing";
224
- readonly 103: "Early Hints";
225
- readonly 200: "OK";
226
- readonly 201: "Created";
227
- readonly 202: "Accepted";
228
- readonly 203: "Non-Authoritative Information";
229
- readonly 204: "No Content";
230
- readonly 205: "Reset Content";
231
- readonly 206: "Partial Content";
232
- readonly 207: "Multi-Status";
233
- readonly 208: "Already Reported";
234
- readonly 300: "Multiple Choices";
235
- readonly 301: "Moved Permanently";
236
- readonly 302: "Found";
237
- readonly 303: "See Other";
238
- readonly 304: "Not Modified";
239
- readonly 307: "Temporary Redirect";
240
- readonly 308: "Permanent Redirect";
241
- readonly 400: "Bad Request";
242
- readonly 401: "Unauthorized";
243
- readonly 402: "Payment Required";
244
- readonly 403: "Forbidden";
245
- readonly 404: "Not Found";
246
- readonly 405: "Method Not Allowed";
247
- readonly 406: "Not Acceptable";
248
- readonly 407: "Proxy Authentication Required";
249
- readonly 408: "Request Timeout";
250
- readonly 409: "Conflict";
251
- readonly 410: "Gone";
252
- readonly 411: "Length Required";
253
- readonly 412: "Precondition Failed";
254
- readonly 413: "Payload Too Large";
255
- readonly 414: "URI Too Long";
256
- readonly 415: "Unsupported Media Type";
257
- readonly 416: "Range Not Satisfiable";
258
- readonly 417: "Expectation Failed";
259
- readonly 418: "I'm a teapot";
260
- readonly 420: "Enhance Your Calm";
261
- readonly 421: "Misdirected Request";
262
- readonly 422: "Unprocessable Content";
263
- readonly 423: "Locked";
264
- readonly 424: "Failed Dependency";
265
- readonly 425: "Too Early";
266
- readonly 426: "Upgrade Required";
267
- readonly 428: "Precondition Required";
268
- readonly 429: "Too Many Requests";
269
- readonly 431: "Request Header Fields Too Large";
270
- readonly 451: "Unavailable For Legal Reasons";
271
- readonly 500: "Internal Server Error";
272
- readonly 501: "Not Implemented";
273
- readonly 502: "Bad Gateway";
274
- readonly 503: "Service Unavailable";
275
- readonly 504: "Gateway Timeout";
276
- readonly 505: "HTTP Version Not Supported";
277
- readonly 506: "Variant Also Negotiates";
278
- readonly 507: "Insufficient Storage";
279
- readonly 508: "Loop Detected";
280
- readonly 510: "Not Extended";
281
- readonly 511: "Network Authentication Required";
282
- }[Code] : Code>(code: Code, response?: T) => import("elysia").ElysiaCustomStatusResponse<Code, T, Code extends "Continue" | "Switching Protocols" | "Processing" | "Early Hints" | "OK" | "Created" | "Accepted" | "Non-Authoritative Information" | "No Content" | "Reset Content" | "Partial Content" | "Multi-Status" | "Already Reported" | "Multiple Choices" | "Moved Permanently" | "Found" | "See Other" | "Not Modified" | "Temporary Redirect" | "Permanent Redirect" | "Bad Request" | "Unauthorized" | "Payment Required" | "Forbidden" | "Not Found" | "Method Not Allowed" | "Not Acceptable" | "Proxy Authentication Required" | "Request Timeout" | "Conflict" | "Gone" | "Length Required" | "Precondition Failed" | "Payload Too Large" | "URI Too Long" | "Unsupported Media Type" | "Range Not Satisfiable" | "Expectation Failed" | "I'm a teapot" | "Enhance Your Calm" | "Misdirected Request" | "Unprocessable Content" | "Locked" | "Failed Dependency" | "Too Early" | "Upgrade Required" | "Precondition Required" | "Too Many Requests" | "Request Header Fields Too Large" | "Unavailable For Legal Reasons" | "Internal Server Error" | "Not Implemented" | "Bad Gateway" | "Service Unavailable" | "Gateway Timeout" | "HTTP Version Not Supported" | "Variant Also Negotiates" | "Insufficient Storage" | "Loop Detected" | "Not Extended" | "Network Authentication Required" ? {
283
- readonly Continue: 100;
284
- readonly "Switching Protocols": 101;
285
- readonly Processing: 102;
286
- readonly "Early Hints": 103;
287
- readonly OK: 200;
288
- readonly Created: 201;
289
- readonly Accepted: 202;
290
- readonly "Non-Authoritative Information": 203;
291
- readonly "No Content": 204;
292
- readonly "Reset Content": 205;
293
- readonly "Partial Content": 206;
294
- readonly "Multi-Status": 207;
295
- readonly "Already Reported": 208;
296
- readonly "Multiple Choices": 300;
297
- readonly "Moved Permanently": 301;
298
- readonly Found: 302;
299
- readonly "See Other": 303;
300
- readonly "Not Modified": 304;
301
- readonly "Temporary Redirect": 307;
302
- readonly "Permanent Redirect": 308;
303
- readonly "Bad Request": 400;
304
- readonly Unauthorized: 401;
305
- readonly "Payment Required": 402;
306
- readonly Forbidden: 403;
307
- readonly "Not Found": 404;
308
- readonly "Method Not Allowed": 405;
309
- readonly "Not Acceptable": 406;
310
- readonly "Proxy Authentication Required": 407;
311
- readonly "Request Timeout": 408;
312
- readonly Conflict: 409;
313
- readonly Gone: 410;
314
- readonly "Length Required": 411;
315
- readonly "Precondition Failed": 412;
316
- readonly "Payload Too Large": 413;
317
- readonly "URI Too Long": 414;
318
- readonly "Unsupported Media Type": 415;
319
- readonly "Range Not Satisfiable": 416;
320
- readonly "Expectation Failed": 417;
321
- readonly "I'm a teapot": 418;
322
- readonly "Enhance Your Calm": 420;
323
- readonly "Misdirected Request": 421;
324
- readonly "Unprocessable Content": 422;
325
- readonly Locked: 423;
326
- readonly "Failed Dependency": 424;
327
- readonly "Too Early": 425;
328
- readonly "Upgrade Required": 426;
329
- readonly "Precondition Required": 428;
330
- readonly "Too Many Requests": 429;
331
- readonly "Request Header Fields Too Large": 431;
332
- readonly "Unavailable For Legal Reasons": 451;
333
- readonly "Internal Server Error": 500;
334
- readonly "Not Implemented": 501;
335
- readonly "Bad Gateway": 502;
336
- readonly "Service Unavailable": 503;
337
- readonly "Gateway Timeout": 504;
338
- readonly "HTTP Version Not Supported": 505;
339
- readonly "Variant Also Negotiates": 506;
340
- readonly "Insufficient Storage": 507;
341
- readonly "Loop Detected": 508;
342
- readonly "Not Extended": 510;
343
- readonly "Network Authentication Required": 511;
344
- }[Code] : Code>;
345
- }) => Promise<import("elysia").ElysiaCustomStatusResponse<401, any, 401> | import("elysia").ElysiaCustomStatusResponse<403, "Forbidden: Admins only", 403> | {
346
- user: {
347
- id: string;
348
- createdAt: Date;
349
- updatedAt: Date;
350
- email: string;
351
- emailVerified: boolean;
352
- name: string;
353
- image?: string | null | undefined | undefined;
354
- phoneNumber?: string | null | undefined;
355
- phoneNumberVerified?: boolean | null | undefined;
356
- twoFactorEnabled: boolean | null | undefined;
357
- username?: string | null | undefined;
358
- displayUsername?: string | null | undefined;
359
- banned: boolean | null | undefined;
360
- role?: string | null | undefined;
361
- banReason?: string | null | undefined;
362
- banExpires?: Date | null | undefined;
363
- };
364
- session: {
365
- id: string;
366
- createdAt: Date;
367
- updatedAt: Date;
368
- userId: string;
369
- expiresAt: Date;
370
- token: string;
371
- ipAddress?: string | null | undefined | undefined;
372
- userAgent?: string | null | undefined | undefined;
373
- impersonatedBy?: string | null | undefined;
374
- };
375
- }>;
376
- };
377
- };
378
- parser: {};
379
- response: {};
380
- }, {
381
- wallets: {};
382
- } & {
383
- wallets: {
384
- get: {
385
- body: unknown;
386
- params: {};
387
- query: {
388
- userId?: string | undefined;
389
- isActive?: boolean | undefined;
390
- limit?: number | undefined;
391
- offset?: number | undefined;
392
- pageSize?: number | undefined;
393
- pageIndex?: number | undefined;
394
- walletTypeKey?: string | undefined;
395
- };
396
- headers: unknown;
397
- response: {
398
- 200: {
399
- data: {
400
- id: string;
401
- name: string;
402
- createdAt: Date;
403
- updatedAt: Date;
404
- userId: string;
405
- isActive: boolean;
406
- walletTypeId: string;
407
- isPrimary: boolean;
408
- walletType: {
409
- id: string;
410
- name: string;
411
- createdAt: Date;
412
- updatedAt: Date;
413
- key: string;
414
- isActive: boolean;
415
- sortOrder: number;
416
- isSingleton: boolean;
417
- };
418
- }[];
419
- pagination: {
420
- total: number;
421
- pageSize: number;
422
- pageIndex: number;
423
- totalPages: number;
424
- hasNextPage: boolean;
425
- };
426
- };
427
- 422: {
428
- type: "validation";
429
- on: string;
430
- summary?: string;
431
- message?: string;
432
- found?: unknown;
433
- property?: string;
434
- expected?: string;
435
- };
436
- 401: "Unauthorized";
437
- 403: "Forbidden: Admins only";
438
- };
439
- };
440
- };
441
- }, {
442
- derive: {};
443
- resolve: {};
444
- schema: {};
445
- standaloneSchema: {};
446
- response: {};
447
- }, {
448
- derive: {};
449
- resolve: {
450
- user: {
451
- id: string;
452
- createdAt: Date;
453
- updatedAt: Date;
454
- email: string;
455
- emailVerified: boolean;
456
- name: string;
457
- image?: string | null | undefined | undefined;
458
- phoneNumber?: string | null | undefined;
459
- phoneNumberVerified?: boolean | null | undefined;
460
- twoFactorEnabled: boolean | null | undefined;
461
- username?: string | null | undefined;
462
- displayUsername?: string | null | undefined;
463
- banned: boolean | null | undefined;
464
- role?: string | null | undefined;
465
- banReason?: string | null | undefined;
466
- banExpires?: Date | null | undefined;
467
- };
468
- session: {
469
- id: string;
470
- createdAt: Date;
471
- updatedAt: Date;
472
- userId: string;
473
- expiresAt: Date;
474
- token: string;
475
- ipAddress?: string | null | undefined | undefined;
476
- userAgent?: string | null | undefined | undefined;
477
- impersonatedBy?: string | null | undefined;
478
- };
479
- } & {
480
- user: {
481
- id: string;
482
- createdAt: Date;
483
- updatedAt: Date;
484
- email: string;
485
- emailVerified: boolean;
486
- name: string;
487
- image?: string | null | undefined | undefined;
488
- phoneNumber?: string | null | undefined;
489
- phoneNumberVerified?: boolean | null | undefined;
490
- twoFactorEnabled: boolean | null | undefined;
491
- username?: string | null | undefined;
492
- displayUsername?: string | null | undefined;
493
- banned: boolean | null | undefined;
494
- role?: string | null | undefined;
495
- banReason?: string | null | undefined;
496
- banExpires?: Date | null | undefined;
497
- };
498
- session: {
499
- id: string;
500
- createdAt: Date;
501
- updatedAt: Date;
502
- userId: string;
503
- expiresAt: Date;
504
- token: string;
505
- ipAddress?: string | null | undefined | undefined;
506
- userAgent?: string | null | undefined | undefined;
507
- impersonatedBy?: string | null | undefined;
508
- };
509
- };
510
- schema: {};
511
- standaloneSchema: {};
512
- response: {
513
- 401: "Unauthorized";
514
- } & {
515
- 401: "Unauthorized";
516
- } & {
517
- 403: "Forbidden: Admins only";
518
- };
519
- }>;