@r2wa-org/eden 0.0.93 → 0.0.99

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 (554) hide show
  1. package/dist/admin/index.d.ts +1623 -772
  2. package/dist/asset/admin/router.d.ts +1 -13
  3. package/dist/asset-convert-product/admin/dto.schemas.d.ts +8 -0
  4. package/dist/asset-convert-product/admin/router.d.ts +25 -13
  5. package/dist/asset-convert-product/admin/service.d.ts +12 -12
  6. package/dist/auth/better-auth.d.ts +7 -1
  7. package/dist/auth/i18n/zh.d.ts +100 -0
  8. package/dist/auth/permissions.d.ts +6 -1
  9. package/dist/auth/roles.d.ts +15 -0
  10. package/dist/bank-account/admin/router.d.ts +13 -1
  11. package/dist/check-in/admin/router.d.ts +1 -13
  12. package/dist/content-video/admin/dto.schemas.d.ts +128 -0
  13. package/dist/{src/news → content-video}/admin/router.d.ts +363 -320
  14. package/dist/content-video/admin/service.d.ts +210 -0
  15. package/dist/{src/app-version → content-video}/db.schemas.d.ts +152 -114
  16. package/dist/content-video/errors/index.d.ts +17 -0
  17. package/dist/content-video/errors/locales/zh.d.ts +16 -0
  18. package/dist/{market-data → content-video}/index.d.ts +5 -5
  19. package/dist/content-video/internal/service.d.ts +106 -0
  20. package/dist/content-video/permissions.d.ts +4 -0
  21. package/dist/{src/app-version → content-video}/schema.d.ts +83 -62
  22. package/dist/content-video/user/dto.schemas.d.ts +52 -0
  23. package/dist/{src/asset-type → content-video}/user/router.d.ts +175 -164
  24. package/dist/content-video/user/service.d.ts +36 -0
  25. package/dist/db/schemas.d.ts +2 -0
  26. package/dist/file-storage/admin/dto.schemas.d.ts +4 -0
  27. package/dist/file-storage/admin/router.d.ts +2 -2
  28. package/dist/file-storage/admin/service.d.ts +2 -2
  29. package/dist/file-storage/db.schemas.d.ts +4 -4
  30. package/dist/file-storage/internal/service.d.ts +1 -1
  31. package/dist/file-storage/s3.client.d.ts +22 -0
  32. package/dist/file-storage/schema.d.ts +3 -3
  33. package/dist/file-storage/share/dto.schemas.d.ts +1 -0
  34. package/dist/file-storage/share/router.d.ts +1 -1
  35. package/dist/file-storage/user/dto.schemas.d.ts +6 -4
  36. package/dist/file-storage/user/router.d.ts +3 -3
  37. package/dist/file-storage/user/service.d.ts +2 -2
  38. package/dist/index.d.ts +1693 -648
  39. package/dist/ledger/admin/dto.schemas.d.ts +8 -0
  40. package/dist/ledger/admin/router.d.ts +4 -4
  41. package/dist/ledger/db.schemas.d.ts +8 -8
  42. package/dist/ledger/schema.d.ts +6 -6
  43. package/dist/ledger/user/dto.schemas.d.ts +8 -8
  44. package/dist/ledger/user/router.d.ts +2 -2
  45. package/dist/ledger/user/service.d.ts +2 -2
  46. package/dist/lock-activity/admin/participation.dto.schemas.d.ts +200 -0
  47. package/dist/lock-activity/admin/participation.service.d.ts +144 -0
  48. package/dist/lock-activity/admin/reward.service.d.ts +48 -0
  49. package/dist/lock-activity/admin/router.d.ts +443 -0
  50. package/dist/lock-activity/constants.d.ts +2 -0
  51. package/dist/lock-activity/cron.d.ts +6 -0
  52. package/dist/lock-activity/errors/index.d.ts +11 -0
  53. package/dist/lock-activity/errors/locales/zh.d.ts +11 -0
  54. package/dist/lock-activity/internal/participation.service.d.ts +42 -0
  55. package/dist/lock-activity/internal/reward.service.d.ts +15 -0
  56. package/dist/{src/referral/db.schemas.d.ts → lock-activity/participation.db.schemas.d.ts} +157 -129
  57. package/dist/{src/referral/schema.d.ts → lock-activity/participation.schema.d.ts} +89 -85
  58. package/dist/lock-activity/permissions.d.ts +1 -0
  59. package/dist/lock-activity/user/participation.dto.schemas.d.ts +25 -0
  60. package/dist/lock-activity/user/participation.service.d.ts +24 -0
  61. package/dist/lock-activity/user/router.d.ts +93 -1
  62. package/dist/news/admin/dto.schemas.d.ts +26 -26
  63. package/dist/news/admin/router.d.ts +25 -25
  64. package/dist/news/admin/service.d.ts +4 -1
  65. package/dist/news/user/service.d.ts +2 -2
  66. package/dist/referral/index.d.ts +1 -0
  67. package/dist/referral/user/router.d.ts +29 -1
  68. package/dist/user/internal/avatar.service.d.ts +42 -0
  69. package/dist/user-security/admin/router.d.ts +1 -13
  70. package/package.json +1 -1
  71. package/dist/market-data/user/dto.schemas.d.ts +0 -370
  72. package/dist/market-data/user/router.d.ts +0 -693
  73. package/dist/market-data/user/service.d.ts +0 -41
  74. package/dist/src/admin/index.d.ts +0 -10428
  75. package/dist/src/admin-user/admin/dto.schemas.d.ts +0 -878
  76. package/dist/src/admin-user/admin/errors/index.d.ts +0 -20
  77. package/dist/src/admin-user/admin/errors/locales/zh.d.ts +0 -16
  78. package/dist/src/admin-user/admin/router.d.ts +0 -655
  79. package/dist/src/admin-user/admin/service.d.ts +0 -60
  80. package/dist/src/app-version/admin/dto.schemas.d.ts +0 -99
  81. package/dist/src/app-version/admin/router.d.ts +0 -756
  82. package/dist/src/app-version/admin/service.d.ts +0 -105
  83. package/dist/src/asset/admin/dto.schemas.d.ts +0 -164
  84. package/dist/src/asset/admin/router.d.ts +0 -762
  85. package/dist/src/asset/admin/service.d.ts +0 -144
  86. package/dist/src/asset/db.schemas.d.ts +0 -380
  87. package/dist/src/asset/errors/index.d.ts +0 -33
  88. package/dist/src/asset/errors/locales/zh.d.ts +0 -20
  89. package/dist/src/asset/index.d.ts +0 -11
  90. package/dist/src/asset/internal/service.d.ts +0 -16
  91. package/dist/src/asset/permissions.d.ts +0 -4
  92. package/dist/src/asset/schema.d.ts +0 -209
  93. package/dist/src/asset/seed.d.ts +0 -1
  94. package/dist/src/asset/user/dto.schemas.d.ts +0 -78
  95. package/dist/src/asset/user/router.d.ts +0 -567
  96. package/dist/src/asset/user/service.d.ts +0 -75
  97. package/dist/src/asset-convert-product/admin/dto.schemas.d.ts +0 -823
  98. package/dist/src/asset-convert-product/admin/router.d.ts +0 -1586
  99. package/dist/src/asset-convert-product/admin/service.d.ts +0 -814
  100. package/dist/src/asset-convert-product/db.schemas.d.ts +0 -1270
  101. package/dist/src/asset-convert-product/errors/index.d.ts +0 -32
  102. package/dist/src/asset-convert-product/errors/locales/zh.d.ts +0 -31
  103. package/dist/src/asset-convert-product/index.d.ts +0 -8
  104. package/dist/src/asset-convert-product/internal/service.d.ts +0 -2
  105. package/dist/src/asset-convert-product/permissions.d.ts +0 -5
  106. package/dist/src/asset-convert-product/schema.d.ts +0 -688
  107. package/dist/src/asset-convert-product/user/dto.schemas.d.ts +0 -1089
  108. package/dist/src/asset-convert-product/user/router.d.ts +0 -797
  109. package/dist/src/asset-convert-product/user/service.d.ts +0 -413
  110. package/dist/src/asset-price/admin/dto.schemas.d.ts +0 -102
  111. package/dist/src/asset-price/admin/router.d.ts +0 -658
  112. package/dist/src/asset-price/admin/service.d.ts +0 -82
  113. package/dist/src/asset-price/constants.d.ts +0 -2
  114. package/dist/src/asset-price/db.schemas.d.ts +0 -358
  115. package/dist/src/asset-price/errors/index.d.ts +0 -20
  116. package/dist/src/asset-price/errors/locales/zh.d.ts +0 -19
  117. package/dist/src/asset-price/index.d.ts +0 -12
  118. package/dist/src/asset-price/internal/service.d.ts +0 -14
  119. package/dist/src/asset-price/permissions.d.ts +0 -6
  120. package/dist/src/asset-price/schema.d.ts +0 -191
  121. package/dist/src/asset-price/seed.d.ts +0 -1
  122. package/dist/src/asset-price/user/dto.schemas.d.ts +0 -45
  123. package/dist/src/asset-price/user/router.d.ts +0 -512
  124. package/dist/src/asset-price/user/service.d.ts +0 -26
  125. package/dist/src/asset-type/admin/dto.schemas.d.ts +0 -404
  126. package/dist/src/asset-type/admin/router.d.ts +0 -617
  127. package/dist/src/asset-type/admin/service.d.ts +0 -45
  128. package/dist/src/asset-type/db.schemas.d.ts +0 -244
  129. package/dist/src/asset-type/errors/index.d.ts +0 -27
  130. package/dist/src/asset-type/errors/locales/zh.d.ts +0 -17
  131. package/dist/src/asset-type/index.d.ts +0 -11
  132. package/dist/src/asset-type/internal/service.d.ts +0 -9
  133. package/dist/src/asset-type/permissions.d.ts +0 -4
  134. package/dist/src/asset-type/schema.d.ts +0 -133
  135. package/dist/src/asset-type/seed.d.ts +0 -19
  136. package/dist/src/asset-type/user/dto.schemas.d.ts +0 -35
  137. package/dist/src/asset-type/user/service.d.ts +0 -18
  138. package/dist/src/auth/better-auth.d.ts +0 -3312
  139. package/dist/src/auth/better-hooks.d.ts +0 -23
  140. package/dist/src/auth/db.schemas.d.ts +0 -1696
  141. package/dist/src/auth/permissions.d.ts +0 -235
  142. package/dist/src/auth/roles.d.ts +0 -725
  143. package/dist/src/auth/router.d.ts +0 -385
  144. package/dist/src/auth/schema.d.ts +0 -882
  145. package/dist/src/bank-account/admin/dto.schemas.d.ts +0 -524
  146. package/dist/src/bank-account/admin/router.d.ts +0 -909
  147. package/dist/src/bank-account/admin/service.d.ts +0 -221
  148. package/dist/src/bank-account/db.schemas.d.ts +0 -1032
  149. package/dist/src/bank-account/errors/index.d.ts +0 -13
  150. package/dist/src/bank-account/errors/locales/zh.d.ts +0 -12
  151. package/dist/src/bank-account/index.d.ts +0 -8
  152. package/dist/src/bank-account/internal/service.d.ts +0 -51
  153. package/dist/src/bank-account/permissions.d.ts +0 -10
  154. package/dist/src/bank-account/schema.d.ts +0 -535
  155. package/dist/src/bank-account/seed.d.ts +0 -4
  156. package/dist/src/bank-account/user/dto.schemas.d.ts +0 -458
  157. package/dist/src/bank-account/user/router.d.ts +0 -680
  158. package/dist/src/bank-account/user/service.d.ts +0 -133
  159. package/dist/src/check-in/admin/dto.schemas.d.ts +0 -312
  160. package/dist/src/check-in/admin/router.d.ts +0 -526
  161. package/dist/src/check-in/admin/service.d.ts +0 -38
  162. package/dist/src/check-in/db.schemas.d.ts +0 -312
  163. package/dist/src/check-in/errors/index.d.ts +0 -13
  164. package/dist/src/check-in/errors/locales/zh.d.ts +0 -10
  165. package/dist/src/check-in/index.d.ts +0 -7
  166. package/dist/src/check-in/internal/service.d.ts +0 -51
  167. package/dist/src/check-in/permissions.d.ts +0 -6
  168. package/dist/src/check-in/schema.d.ts +0 -168
  169. package/dist/src/check-in/user/dto.schemas.d.ts +0 -503
  170. package/dist/src/check-in/user/router.d.ts +0 -615
  171. package/dist/src/check-in/user/service.d.ts +0 -49
  172. package/dist/src/cors/index.d.ts +0 -30
  173. package/dist/src/cron/index.d.ts +0 -10
  174. package/dist/src/db/columns.helpers.d.ts +0 -13
  175. package/dist/src/db/enums.d.ts +0 -1
  176. package/dist/src/db/index.d.ts +0 -4
  177. package/dist/src/db/schemas.d.ts +0 -34
  178. package/dist/src/db/transaction.d.ts +0 -3
  179. package/dist/src/db/typebox.d.ts +0 -19
  180. package/dist/src/deposit/admin/dto.schemas.d.ts +0 -649
  181. package/dist/src/deposit/admin/router.d.ts +0 -638
  182. package/dist/src/deposit/admin/service.d.ts +0 -127
  183. package/dist/src/deposit/db.schemas.d.ts +0 -652
  184. package/dist/src/deposit/errors/index.d.ts +0 -45
  185. package/dist/src/deposit/errors/locales/zh.d.ts +0 -24
  186. package/dist/src/deposit/index.d.ts +0 -7
  187. package/dist/src/deposit/internal/service.d.ts +0 -8
  188. package/dist/src/deposit/permissions.d.ts +0 -9
  189. package/dist/src/deposit/schema.d.ts +0 -340
  190. package/dist/src/deposit/user/dto.schemas.d.ts +0 -655
  191. package/dist/src/deposit/user/router.d.ts +0 -681
  192. package/dist/src/deposit/user/service.d.ts +0 -148
  193. package/dist/src/dynamic-env/admin.router.d.ts +0 -620
  194. package/dist/src/dynamic-env/cache.d.ts +0 -35
  195. package/dist/src/dynamic-env/db.schemas.d.ts +0 -182
  196. package/dist/src/dynamic-env/dto.schema.d.ts +0 -17
  197. package/dist/src/dynamic-env/errors/index.d.ts +0 -11
  198. package/dist/src/dynamic-env/errors/locales/zh.d.ts +0 -10
  199. package/dist/src/dynamic-env/index.d.ts +0 -3
  200. package/dist/src/dynamic-env/schema.d.ts +0 -96
  201. package/dist/src/dynamic-env/service.d.ts +0 -93
  202. package/dist/src/email/index.d.ts +0 -2
  203. package/dist/src/env/client.d.ts +0 -2
  204. package/dist/src/env/index.d.ts +0 -2
  205. package/dist/src/env/server.d.ts +0 -50
  206. package/dist/src/env/typebox-env.d.ts +0 -7
  207. package/dist/src/error/errorcode.d.ts +0 -9
  208. package/dist/src/error/index.d.ts +0 -120
  209. package/dist/src/error/locales/zh.d.ts +0 -2
  210. package/dist/src/error/messages.d.ts +0 -10
  211. package/dist/src/external/dto.schemas.d.ts +0 -173
  212. package/dist/src/external/errors/index.d.ts +0 -13
  213. package/dist/src/external/errors/locales/zh.d.ts +0 -10
  214. package/dist/src/external/index.d.ts +0 -4
  215. package/dist/src/external/router.d.ts +0 -105
  216. package/dist/src/external/service.d.ts +0 -31
  217. package/dist/src/file-storage/admin/dto.schemas.d.ts +0 -209
  218. package/dist/src/file-storage/admin/router.d.ts +0 -598
  219. package/dist/src/file-storage/admin/service.d.ts +0 -89
  220. package/dist/src/file-storage/db.schemas.d.ts +0 -1026
  221. package/dist/src/file-storage/errors/index.d.ts +0 -19
  222. package/dist/src/file-storage/errors/locales/zh.d.ts +0 -18
  223. package/dist/src/file-storage/index.d.ts +0 -7
  224. package/dist/src/file-storage/internal/service.d.ts +0 -66
  225. package/dist/src/file-storage/permissions.d.ts +0 -5
  226. package/dist/src/file-storage/s3.client.d.ts +0 -284
  227. package/dist/src/file-storage/schema.d.ts +0 -538
  228. package/dist/src/file-storage/share/dto.schemas.d.ts +0 -68
  229. package/dist/src/file-storage/share/router.d.ts +0 -561
  230. package/dist/src/file-storage/user/dto.schemas.d.ts +0 -1100
  231. package/dist/src/file-storage/user/router.d.ts +0 -585
  232. package/dist/src/file-storage/user/service.d.ts +0 -80
  233. package/dist/src/http-access-log.d.ts +0 -30
  234. package/dist/src/index.d.ts +0 -16262
  235. package/dist/src/ledger/admin/dto.schemas.d.ts +0 -461
  236. package/dist/src/ledger/admin/router.d.ts +0 -608
  237. package/dist/src/ledger/admin/service.d.ts +0 -22
  238. package/dist/src/ledger/db.schemas.d.ts +0 -694
  239. package/dist/src/ledger/errors/index.d.ts +0 -38
  240. package/dist/src/ledger/errors/locales/zh.d.ts +0 -22
  241. package/dist/src/ledger/index.d.ts +0 -6
  242. package/dist/src/ledger/internal/service.d.ts +0 -36
  243. package/dist/src/ledger/permissions.d.ts +0 -8
  244. package/dist/src/ledger/schema.d.ts +0 -365
  245. package/dist/src/ledger/user/dto.schemas.d.ts +0 -712
  246. package/dist/src/ledger/user/router.d.ts +0 -487
  247. package/dist/src/ledger/user/service.d.ts +0 -146
  248. package/dist/src/ledger-account/admin/dto.schemas.d.ts +0 -258
  249. package/dist/src/ledger-account/admin/router.d.ts +0 -757
  250. package/dist/src/ledger-account/admin/service.d.ts +0 -238
  251. package/dist/src/ledger-account/db.schemas.d.ts +0 -346
  252. package/dist/src/ledger-account/errors/index.d.ts +0 -18
  253. package/dist/src/ledger-account/errors/locales/zh.d.ts +0 -17
  254. package/dist/src/ledger-account/index.d.ts +0 -8
  255. package/dist/src/ledger-account/internal/service.d.ts +0 -44
  256. package/dist/src/ledger-account/permissions.d.ts +0 -4
  257. package/dist/src/ledger-account/schema.d.ts +0 -190
  258. package/dist/src/ledger-account/user/dto.schemas.d.ts +0 -590
  259. package/dist/src/ledger-account/user/router.d.ts +0 -602
  260. package/dist/src/ledger-account/user/service.d.ts +0 -154
  261. package/dist/src/ledger-account-import/admin/dto.schemas.d.ts +0 -1255
  262. package/dist/src/ledger-account-import/admin/router.d.ts +0 -691
  263. package/dist/src/ledger-account-import/admin/service.d.ts +0 -92
  264. package/dist/src/ledger-account-import/db.schemas.d.ts +0 -1206
  265. package/dist/src/ledger-account-import/errors/index.d.ts +0 -18
  266. package/dist/src/ledger-account-import/errors/locales/zh.d.ts +0 -17
  267. package/dist/src/ledger-account-import/index.d.ts +0 -8
  268. package/dist/src/ledger-account-import/internal/service.d.ts +0 -13
  269. package/dist/src/ledger-account-import/permissions.d.ts +0 -7
  270. package/dist/src/ledger-account-import/schema.d.ts +0 -636
  271. package/dist/src/ledger-account-import/user/service.d.ts +0 -3
  272. package/dist/src/ledger-account-import/worker.d.ts +0 -1
  273. package/dist/src/ledger-account-transfer/admin/service.d.ts +0 -3
  274. package/dist/src/ledger-account-transfer/errors/index.d.ts +0 -23
  275. package/dist/src/ledger-account-transfer/errors/locales/zh.d.ts +0 -15
  276. package/dist/src/ledger-account-transfer/index.d.ts +0 -6
  277. package/dist/src/ledger-account-transfer/internal/service.d.ts +0 -8
  278. package/dist/src/ledger-account-transfer/user/dto.schemas.d.ts +0 -20
  279. package/dist/src/ledger-account-transfer/user/router.d.ts +0 -466
  280. package/dist/src/ledger-account-transfer/user/service.d.ts +0 -16
  281. package/dist/src/ledger-account-type/admin/dto.schemas.d.ts +0 -509
  282. package/dist/src/ledger-account-type/admin/router.d.ts +0 -708
  283. package/dist/src/ledger-account-type/admin/service.d.ts +0 -109
  284. package/dist/src/ledger-account-type/db.schemas.d.ts +0 -788
  285. package/dist/src/ledger-account-type/errors/index.d.ts +0 -18
  286. package/dist/src/ledger-account-type/errors/locales/zh.d.ts +0 -17
  287. package/dist/src/ledger-account-type/index.d.ts +0 -9
  288. package/dist/src/ledger-account-type/internal/service.d.ts +0 -8
  289. package/dist/src/ledger-account-type/permissions.d.ts +0 -4
  290. package/dist/src/ledger-account-type/schema.d.ts +0 -405
  291. package/dist/src/ledger-account-type/seed.d.ts +0 -1
  292. package/dist/src/ledger-account-type/user/dto.schemas.d.ts +0 -509
  293. package/dist/src/ledger-account-type/user/router.d.ts +0 -534
  294. package/dist/src/ledger-account-type/user/service.d.ts +0 -59
  295. package/dist/src/market-data/admin/dto.schemas.d.ts +0 -824
  296. package/dist/src/market-data/admin/router.d.ts +0 -632
  297. package/dist/src/market-data/admin/service.d.ts +0 -78
  298. package/dist/src/market-data/cron.d.ts +0 -6
  299. package/dist/src/market-data/db.schemas.d.ts +0 -516
  300. package/dist/src/market-data/errors/index.d.ts +0 -13
  301. package/dist/src/market-data/errors/locales/zh.d.ts +0 -12
  302. package/dist/src/market-data/index.d.ts +0 -8
  303. package/dist/src/market-data/internal/service.d.ts +0 -77
  304. package/dist/src/market-data/permissions.d.ts +0 -6
  305. package/dist/src/market-data/schema.d.ts +0 -270
  306. package/dist/src/market-data/user/dto.schemas.d.ts +0 -370
  307. package/dist/src/market-data/user/router.d.ts +0 -693
  308. package/dist/src/market-data/user/service.d.ts +0 -41
  309. package/dist/src/market-pricing/admin/dto.schemas.d.ts +0 -860
  310. package/dist/src/market-pricing/admin/router.d.ts +0 -988
  311. package/dist/src/market-pricing/admin/service.d.ts +0 -286
  312. package/dist/src/market-pricing/cron.d.ts +0 -6
  313. package/dist/src/market-pricing/db.schemas.d.ts +0 -828
  314. package/dist/src/market-pricing/errors/index.d.ts +0 -14
  315. package/dist/src/market-pricing/errors/locales/zh.d.ts +0 -13
  316. package/dist/src/market-pricing/internal/service.d.ts +0 -35
  317. package/dist/src/market-pricing/permissions.d.ts +0 -4
  318. package/dist/src/market-pricing/schema.d.ts +0 -434
  319. package/dist/src/nanoid/index.d.ts +0 -2
  320. package/dist/src/news/admin/dto.schemas.d.ts +0 -159
  321. package/dist/src/news/admin/service.d.ts +0 -221
  322. package/dist/src/news/db.schemas.d.ts +0 -1150
  323. package/dist/src/news/errors/index.d.ts +0 -20
  324. package/dist/src/news/errors/locales/zh.d.ts +0 -13
  325. package/dist/src/news/index.d.ts +0 -7
  326. package/dist/src/news/internal/service.d.ts +0 -7
  327. package/dist/src/news/permissions.d.ts +0 -4
  328. package/dist/src/news/schema.d.ts +0 -616
  329. package/dist/src/news/user/dto.schemas.d.ts +0 -178
  330. package/dist/src/news/user/router.d.ts +0 -617
  331. package/dist/src/news/user/service.d.ts +0 -228
  332. package/dist/src/news-category/admin/dto.schemas.d.ts +0 -52
  333. package/dist/src/news-category/admin/router.d.ts +0 -204
  334. package/dist/src/news-category/admin/service.d.ts +0 -55
  335. package/dist/src/news-category/constants.d.ts +0 -1
  336. package/dist/src/news-category/db.schemas.d.ts +0 -324
  337. package/dist/src/news-category/errors/index.d.ts +0 -21
  338. package/dist/src/news-category/errors/locales/zh.d.ts +0 -14
  339. package/dist/src/news-category/index.d.ts +0 -8
  340. package/dist/src/news-category/internal/service.d.ts +0 -5
  341. package/dist/src/news-category/permissions.d.ts +0 -4
  342. package/dist/src/news-category/schema.d.ts +0 -173
  343. package/dist/src/news-category/seed.d.ts +0 -12
  344. package/dist/src/news-category/user/dto.schemas.d.ts +0 -55
  345. package/dist/src/news-category/user/router.d.ts +0 -457
  346. package/dist/src/news-category/user/service.d.ts +0 -25
  347. package/dist/src/notification/admin/dto.schemas.d.ts +0 -432
  348. package/dist/src/notification/admin/router.d.ts +0 -576
  349. package/dist/src/notification/admin/service.d.ts +0 -43
  350. package/dist/src/notification/db.schemas.d.ts +0 -624
  351. package/dist/src/notification/errors/index.d.ts +0 -19
  352. package/dist/src/notification/errors/locales/zh.d.ts +0 -13
  353. package/dist/src/notification/index.d.ts +0 -7
  354. package/dist/src/notification/internal/service.d.ts +0 -28
  355. package/dist/src/notification/permissions.d.ts +0 -6
  356. package/dist/src/notification/schema.d.ts +0 -347
  357. package/dist/src/notification/user/dto.schemas.d.ts +0 -411
  358. package/dist/src/notification/user/router.d.ts +0 -632
  359. package/dist/src/notification/user/service.d.ts +0 -82
  360. package/dist/src/operations-overview/admin/dto.schemas.d.ts +0 -41
  361. package/dist/src/operations-overview/admin/router.d.ts +0 -517
  362. package/dist/src/operations-overview/admin/service.d.ts +0 -4
  363. package/dist/src/portfolio/index.d.ts +0 -2
  364. package/dist/src/portfolio/internal/index.d.ts +0 -1
  365. package/dist/src/portfolio/internal/service.d.ts +0 -5
  366. package/dist/src/portfolio/user/dto.schemas.d.ts +0 -352
  367. package/dist/src/portfolio/user/index.d.ts +0 -3
  368. package/dist/src/portfolio/user/router.d.ts +0 -659
  369. package/dist/src/portfolio/user/service.d.ts +0 -143
  370. package/dist/src/receipt-method/admin/dto.schemas.d.ts +0 -62
  371. package/dist/src/receipt-method/admin/router.d.ts +0 -592
  372. package/dist/src/receipt-method/admin/service.d.ts +0 -82
  373. package/dist/src/receipt-method/db.schemas.d.ts +0 -380
  374. package/dist/src/receipt-method/errors/index.d.ts +0 -17
  375. package/dist/src/receipt-method/errors/locales/zh.d.ts +0 -16
  376. package/dist/src/receipt-method/index.d.ts +0 -7
  377. package/dist/src/receipt-method/internal/service.d.ts +0 -33
  378. package/dist/src/receipt-method/permissions.d.ts +0 -4
  379. package/dist/src/receipt-method/schema.d.ts +0 -205
  380. package/dist/src/receipt-method/user/dto.schemas.d.ts +0 -417
  381. package/dist/src/receipt-method/user/router.d.ts +0 -602
  382. package/dist/src/receipt-method/user/service.d.ts +0 -73
  383. package/dist/src/referral/admin/dto.schemas.d.ts +0 -597
  384. package/dist/src/referral/admin/router.d.ts +0 -553
  385. package/dist/src/referral/admin/service.d.ts +0 -6
  386. package/dist/src/referral/errors/index.d.ts +0 -15
  387. package/dist/src/referral/errors/locales/zh.d.ts +0 -14
  388. package/dist/src/referral/index.d.ts +0 -9
  389. package/dist/src/referral/internal/service.d.ts +0 -23
  390. package/dist/src/referral/permissions.d.ts +0 -8
  391. package/dist/src/referral/user/dto.schemas.d.ts +0 -602
  392. package/dist/src/referral/user/router.d.ts +0 -578
  393. package/dist/src/referral/user/service.d.ts +0 -21
  394. package/dist/src/referral-depth-config/admin/dto.schemas.d.ts +0 -203
  395. package/dist/src/referral-depth-config/admin/router.d.ts +0 -643
  396. package/dist/src/referral-depth-config/admin/service.d.ts +0 -38
  397. package/dist/src/referral-depth-config/db.schemas.d.ts +0 -176
  398. package/dist/src/referral-depth-config/errors/index.d.ts +0 -11
  399. package/dist/src/referral-depth-config/errors/locales/zh.d.ts +0 -10
  400. package/dist/src/referral-depth-config/internal/service.d.ts +0 -4
  401. package/dist/src/referral-depth-config/permissions.d.ts +0 -8
  402. package/dist/src/referral-depth-config/schema.d.ts +0 -99
  403. package/dist/src/server-test/errors/index.d.ts +0 -10
  404. package/dist/src/server-test/errors/locales/zh.d.ts +0 -9
  405. package/dist/src/server-test/index.d.ts +0 -486
  406. package/dist/src/shipping-address/admin/dto.schemas.d.ts +0 -289
  407. package/dist/src/shipping-address/admin/router.d.ts +0 -504
  408. package/dist/src/shipping-address/admin/service.d.ts +0 -17
  409. package/dist/src/shipping-address/db.schemas.d.ts +0 -278
  410. package/dist/src/shipping-address/errors/index.d.ts +0 -12
  411. package/dist/src/shipping-address/errors/locales/zh.d.ts +0 -11
  412. package/dist/src/shipping-address/index.d.ts +0 -7
  413. package/dist/src/shipping-address/internal/service.d.ts +0 -15
  414. package/dist/src/shipping-address/permissions.d.ts +0 -4
  415. package/dist/src/shipping-address/schema.d.ts +0 -150
  416. package/dist/src/shipping-address/user/dto.schemas.d.ts +0 -303
  417. package/dist/src/shipping-address/user/router.d.ts +0 -621
  418. package/dist/src/shipping-address/user/service.d.ts +0 -68
  419. package/dist/src/sms/index.d.ts +0 -5
  420. package/dist/src/team/admin/dto.schemas.d.ts +0 -2198
  421. package/dist/src/team/admin/router.d.ts +0 -646
  422. package/dist/src/team/admin/service.d.ts +0 -6
  423. package/dist/src/team/errors/index.d.ts +0 -13
  424. package/dist/src/team/errors/locales/zh.d.ts +0 -12
  425. package/dist/src/team/index.d.ts +0 -8
  426. package/dist/src/team/internal/service.d.ts +0 -6
  427. package/dist/src/team/permissions.d.ts +0 -7
  428. package/dist/src/team/user/dto.schemas.d.ts +0 -1987
  429. package/dist/src/team/user/router.d.ts +0 -734
  430. package/dist/src/team/user/service.d.ts +0 -10
  431. package/dist/src/trade-market/admin/dto.schemas.d.ts +0 -4764
  432. package/dist/src/trade-market/admin/router.d.ts +0 -1334
  433. package/dist/src/trade-market/admin/service.d.ts +0 -646
  434. package/dist/src/trade-market/db.schemas.d.ts +0 -1338
  435. package/dist/src/trade-market/errors/index.d.ts +0 -23
  436. package/dist/src/trade-market/errors/locales/zh.d.ts +0 -22
  437. package/dist/src/trade-market/index.d.ts +0 -8
  438. package/dist/src/trade-market/internal/service.d.ts +0 -564
  439. package/dist/src/trade-market/permissions.d.ts +0 -5
  440. package/dist/src/trade-market/schema.d.ts +0 -708
  441. package/dist/src/trade-market/user/dto.schemas.d.ts +0 -1394
  442. package/dist/src/trade-market/user/router.d.ts +0 -754
  443. package/dist/src/trade-market/user/service.d.ts +0 -471
  444. package/dist/src/transfer/admin/dto.schemas.d.ts +0 -396
  445. package/dist/src/transfer/admin/router.d.ts +0 -506
  446. package/dist/src/transfer/admin/service.d.ts +0 -56
  447. package/dist/src/transfer/db.schemas.d.ts +0 -386
  448. package/dist/src/transfer/errors/index.d.ts +0 -32
  449. package/dist/src/transfer/errors/locales/zh.d.ts +0 -19
  450. package/dist/src/transfer/index.d.ts +0 -11
  451. package/dist/src/transfer/internal/service.d.ts +0 -8
  452. package/dist/src/transfer/permissions.d.ts +0 -8
  453. package/dist/src/transfer/schema.d.ts +0 -204
  454. package/dist/src/transfer/user/dto.schemas.d.ts +0 -416
  455. package/dist/src/transfer/user/router.d.ts +0 -514
  456. package/dist/src/transfer/user/service.d.ts +0 -67
  457. package/dist/src/user/admin/dto.schemas.d.ts +0 -1439
  458. package/dist/src/user/admin/router.d.ts +0 -853
  459. package/dist/src/user/admin/service.d.ts +0 -164
  460. package/dist/src/user/db.schemas.d.ts +0 -1038
  461. package/dist/src/user/errors/index.d.ts +0 -40
  462. package/dist/src/user/errors/locales/zh.d.ts +0 -23
  463. package/dist/src/user/index.d.ts +0 -9
  464. package/dist/src/user/internal/service.d.ts +0 -22
  465. package/dist/src/user/permissions.d.ts +0 -7
  466. package/dist/src/user/schema.d.ts +0 -541
  467. package/dist/src/user/user/dto.schemas.d.ts +0 -14
  468. package/dist/src/user/user/router.d.ts +0 -558
  469. package/dist/src/user/user/service.d.ts +0 -89
  470. package/dist/src/user-kyc/admin/dto.schemas.d.ts +0 -625
  471. package/dist/src/user-kyc/admin/router.d.ts +0 -666
  472. package/dist/src/user-kyc/admin/service.d.ts +0 -89
  473. package/dist/src/user-kyc/db.schemas.d.ts +0 -896
  474. package/dist/src/user-kyc/errors/index.d.ts +0 -21
  475. package/dist/src/user-kyc/errors/locales/zh.d.ts +0 -14
  476. package/dist/src/user-kyc/index.d.ts +0 -10
  477. package/dist/src/user-kyc/internal/service.d.ts +0 -9
  478. package/dist/src/user-kyc/permissions.d.ts +0 -6
  479. package/dist/src/user-kyc/schema.d.ts +0 -474
  480. package/dist/src/user-kyc/user/dto.schemas.d.ts +0 -314
  481. package/dist/src/user-kyc/user/router.d.ts +0 -602
  482. package/dist/src/user-kyc/user/service.d.ts +0 -64
  483. package/dist/src/user-security/admin/dto.schemas.d.ts +0 -8
  484. package/dist/src/user-security/admin/router.d.ts +0 -490
  485. package/dist/src/user-security/admin/service.d.ts +0 -6
  486. package/dist/src/user-security/db.schemas.d.ts +0 -414
  487. package/dist/src/user-security/index.d.ts +0 -8
  488. package/dist/src/user-security/internal/service.d.ts +0 -15
  489. package/dist/src/user-security/schema.d.ts +0 -215
  490. package/dist/src/user-security/user/dto.schemas.d.ts +0 -21
  491. package/dist/src/user-security/user/router.d.ts +0 -547
  492. package/dist/src/user-security/user/service.d.ts +0 -15
  493. package/dist/src/utils/date.d.ts +0 -21
  494. package/dist/src/utils/index.d.ts +0 -4
  495. package/dist/src/utils/order.d.ts +0 -6
  496. package/dist/src/utils/pagination.d.ts +0 -113
  497. package/dist/src/utils/password.d.ts +0 -8
  498. package/dist/src/wallet/admin/dto.schemas.d.ts +0 -349
  499. package/dist/src/wallet/admin/router.d.ts +0 -581
  500. package/dist/src/wallet/admin/service.d.ts +0 -65
  501. package/dist/src/wallet/db.schemas.d.ts +0 -278
  502. package/dist/src/wallet/errors/index.d.ts +0 -10
  503. package/dist/src/wallet/errors/locales/zh.d.ts +0 -9
  504. package/dist/src/wallet/index.d.ts +0 -11
  505. package/dist/src/wallet/internal/service.d.ts +0 -177
  506. package/dist/src/wallet/permissions.d.ts +0 -8
  507. package/dist/src/wallet/schema.d.ts +0 -152
  508. package/dist/src/wallet/seed.d.ts +0 -1
  509. package/dist/src/wallet/user/dto.schemas.d.ts +0 -372
  510. package/dist/src/wallet/user/router.d.ts +0 -544
  511. package/dist/src/wallet/user/service.d.ts +0 -75
  512. package/dist/src/wallet-type/admin/dto.schemas.d.ts +0 -83
  513. package/dist/src/wallet-type/admin/router.d.ts +0 -741
  514. package/dist/src/wallet-type/admin/service.d.ts +0 -109
  515. package/dist/src/wallet-type/db.schemas.d.ts +0 -278
  516. package/dist/src/wallet-type/errors/index.d.ts +0 -15
  517. package/dist/src/wallet-type/errors/locales/zh.d.ts +0 -14
  518. package/dist/src/wallet-type/index.d.ts +0 -10
  519. package/dist/src/wallet-type/internal/service.d.ts +0 -256
  520. package/dist/src/wallet-type/permissions.d.ts +0 -4
  521. package/dist/src/wallet-type/schema.d.ts +0 -199
  522. package/dist/src/wallet-type/seed.d.ts +0 -1
  523. package/dist/src/wallet-type/user/dto.schemas.d.ts +0 -62
  524. package/dist/src/wallet-type/user/router.d.ts +0 -481
  525. package/dist/src/wallet-type/user/service.d.ts +0 -24
  526. package/dist/src/welfare-cycle/admin/dto.schemas.d.ts +0 -1242
  527. package/dist/src/welfare-cycle/admin/router.d.ts +0 -1805
  528. package/dist/src/welfare-cycle/admin/service.d.ts +0 -1031
  529. package/dist/src/welfare-cycle/cron.d.ts +0 -7
  530. package/dist/src/welfare-cycle/db.schemas.d.ts +0 -2404
  531. package/dist/src/welfare-cycle/errors/index.d.ts +0 -27
  532. package/dist/src/welfare-cycle/errors/locales/zh.d.ts +0 -26
  533. package/dist/src/welfare-cycle/index.d.ts +0 -7
  534. package/dist/src/welfare-cycle/internal/service.d.ts +0 -135
  535. package/dist/src/welfare-cycle/permissions.d.ts +0 -6
  536. package/dist/src/welfare-cycle/schema.d.ts +0 -1272
  537. package/dist/src/welfare-cycle/user/dto.schemas.d.ts +0 -2073
  538. package/dist/src/welfare-cycle/user/router.d.ts +0 -808
  539. package/dist/src/welfare-cycle/user/service.d.ts +0 -192
  540. package/dist/src/withdraw/admin/dto.schemas.d.ts +0 -902
  541. package/dist/src/withdraw/admin/router.d.ts +0 -659
  542. package/dist/src/withdraw/admin/service.d.ts +0 -83
  543. package/dist/src/withdraw/db.schemas.d.ts +0 -584
  544. package/dist/src/withdraw/errors/index.d.ts +0 -45
  545. package/dist/src/withdraw/errors/locales/zh.d.ts +0 -24
  546. package/dist/src/withdraw/index.d.ts +0 -8
  547. package/dist/src/withdraw/internal/index.d.ts +0 -1
  548. package/dist/src/withdraw/internal/service.d.ts +0 -10
  549. package/dist/src/withdraw/permissions.d.ts +0 -9
  550. package/dist/src/withdraw/schema.d.ts +0 -307
  551. package/dist/src/withdraw/user/dto.schemas.d.ts +0 -1508
  552. package/dist/src/withdraw/user/index.d.ts +0 -3
  553. package/dist/src/withdraw/user/router.d.ts +0 -649
  554. package/dist/src/withdraw/user/service.d.ts +0 -66
@@ -1,797 +0,0 @@
1
- import Elysia from "elysia";
2
- export declare const assetConvertProductRouter: Elysia<"/asset_convert_product", {
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 | 418 | 200 | 422 | 400 | 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 | 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
- twoFactorEnabled: boolean | null | undefined;
179
- username?: string | null | undefined;
180
- displayUsername?: string | null | undefined;
181
- phoneNumber?: string | null | undefined;
182
- phoneNumberVerified?: boolean | 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 | 418 | 200 | 422 | 400 | 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 | 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
- twoFactorEnabled: boolean | null | undefined;
355
- username?: string | null | undefined;
356
- displayUsername?: string | null | undefined;
357
- phoneNumber?: string | null | undefined;
358
- phoneNumberVerified?: boolean | 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
- asset_convert_product: {};
382
- } & {
383
- asset_convert_product: {
384
- products: {
385
- get: {
386
- body: {};
387
- params: {};
388
- query: {
389
- productCategoryKey?: "gold" | "gov_bond" | "real_estate" | "corporate_credit" | undefined;
390
- isHot?: boolean | undefined;
391
- limit?: number | undefined;
392
- offset?: number | undefined;
393
- pageSize?: number | undefined;
394
- pageIndex?: number | undefined;
395
- };
396
- headers: {};
397
- response: {
398
- 200: {
399
- data: {
400
- id: string;
401
- name: string;
402
- createdAt: Date;
403
- updatedAt: Date;
404
- description: string | null;
405
- status: "active" | "draft" | "paused" | "ended";
406
- price: {
407
- latest?: {
408
- id: string;
409
- baseAssetId: string;
410
- quoteAssetId: string;
411
- price: string;
412
- source: string;
413
- effectiveAt: Date;
414
- } | undefined;
415
- dailyChangeRate?: string | undefined;
416
- trend10d: {
417
- date: string;
418
- price: string;
419
- effectiveAt: string | Date;
420
- }[];
421
- };
422
- productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
423
- targetAssetId: string;
424
- payAssetId: string;
425
- payAccountTypeId: string;
426
- receiveAccountTypeId: string;
427
- minPayAmount: string;
428
- settlementMode: "available" | "locked";
429
- allowPurchase: boolean;
430
- isHot: boolean;
431
- targetAsset: {
432
- symbol: string;
433
- id: string;
434
- name: string;
435
- code: string;
436
- category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
437
- isActive: boolean;
438
- precision: number;
439
- };
440
- payAsset: {
441
- symbol: string;
442
- id: string;
443
- name: string;
444
- code: string;
445
- category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
446
- isActive: boolean;
447
- precision: number;
448
- };
449
- payAccountType: {
450
- id: string;
451
- name: string;
452
- description: string | null;
453
- key: string;
454
- isActive: boolean;
455
- };
456
- receiveAccountType: {
457
- id: string;
458
- name: string;
459
- description: string | null;
460
- key: string;
461
- isActive: boolean;
462
- };
463
- trend10d: {
464
- date: string;
465
- price: string;
466
- effectiveAt: string | Date;
467
- }[];
468
- }[];
469
- pagination: {
470
- total: number;
471
- pageSize: number;
472
- pageIndex: number;
473
- totalPages: number;
474
- hasNextPage: boolean;
475
- };
476
- };
477
- 422: {
478
- type: "validation";
479
- on: string;
480
- summary?: string;
481
- message?: string;
482
- found?: unknown;
483
- property?: string;
484
- expected?: string;
485
- };
486
- 401: "Unauthorized";
487
- };
488
- };
489
- };
490
- };
491
- } & {
492
- asset_convert_product: {
493
- products: {
494
- ":id": {
495
- get: {
496
- body: {};
497
- params: {
498
- id: string;
499
- };
500
- query: {};
501
- headers: {};
502
- response: {
503
- 200: {
504
- id: string;
505
- name: string;
506
- createdAt: Date;
507
- updatedAt: Date;
508
- description: string | null;
509
- status: "active" | "draft" | "paused" | "ended";
510
- price: {
511
- latest?: {
512
- id: string;
513
- baseAssetId: string;
514
- quoteAssetId: string;
515
- price: string;
516
- source: string;
517
- effectiveAt: Date;
518
- } | undefined;
519
- dailyChangeRate?: string | undefined;
520
- trend10d: {
521
- date: string;
522
- price: string;
523
- effectiveAt: string | Date;
524
- }[];
525
- };
526
- productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
527
- targetAssetId: string;
528
- payAssetId: string;
529
- payAccountTypeId: string;
530
- receiveAccountTypeId: string;
531
- minPayAmount: string;
532
- settlementMode: "available" | "locked";
533
- allowPurchase: boolean;
534
- isHot: boolean;
535
- targetAsset: {
536
- symbol: string;
537
- id: string;
538
- name: string;
539
- code: string;
540
- category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
541
- isActive: boolean;
542
- precision: number;
543
- };
544
- payAsset: {
545
- symbol: string;
546
- id: string;
547
- name: string;
548
- code: string;
549
- category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
550
- isActive: boolean;
551
- precision: number;
552
- };
553
- payAccountType: {
554
- id: string;
555
- name: string;
556
- description: string | null;
557
- key: string;
558
- isActive: boolean;
559
- };
560
- receiveAccountType: {
561
- id: string;
562
- name: string;
563
- description: string | null;
564
- key: string;
565
- isActive: boolean;
566
- };
567
- trend10d: {
568
- date: string;
569
- price: string;
570
- effectiveAt: string | Date;
571
- }[];
572
- };
573
- 422: {
574
- type: "validation";
575
- on: string;
576
- summary?: string;
577
- message?: string;
578
- found?: unknown;
579
- property?: string;
580
- expected?: string;
581
- };
582
- 401: "Unauthorized";
583
- };
584
- };
585
- };
586
- };
587
- };
588
- } & {
589
- asset_convert_product: {
590
- orders: {
591
- post: {
592
- body: {
593
- transactionPassword?: string | undefined;
594
- idempotencyKey: string;
595
- productId: string;
596
- payAmount: string;
597
- };
598
- params: {};
599
- query: {};
600
- headers: {};
601
- response: {
602
- 200: {
603
- id: string;
604
- createdAt: Date;
605
- updatedAt: Date;
606
- userId: string;
607
- status: "created" | "completed";
608
- idempotencyKey: string;
609
- orderNo: string;
610
- productId: string;
611
- payAssetIdSnapshot: string;
612
- targetAssetIdSnapshot: string;
613
- quoteAssetIdSnapshot: string;
614
- priceSnapshot: string;
615
- priceEffectiveAtSnapshot: Date;
616
- payAmount: string;
617
- sourcePayAccountId: string;
618
- targetAmount: string;
619
- settlementModeSnapshot: "available" | "locked";
620
- receiveAccountId: string;
621
- debitLedgerEntryId: string | null;
622
- creditLedgerEntryId: string | null;
623
- failureCode: string | null;
624
- failureReason: string | null;
625
- };
626
- 422: {
627
- type: "validation";
628
- on: string;
629
- summary?: string;
630
- message?: string;
631
- found?: unknown;
632
- property?: string;
633
- expected?: string;
634
- };
635
- 401: "Unauthorized";
636
- };
637
- };
638
- };
639
- };
640
- } & {
641
- asset_convert_product: {
642
- orders: {
643
- get: {
644
- body: {};
645
- params: {};
646
- query: {
647
- status?: "created" | "completed" | undefined;
648
- limit?: number | undefined;
649
- offset?: number | undefined;
650
- pageSize?: number | undefined;
651
- pageIndex?: number | undefined;
652
- };
653
- headers: {};
654
- response: {
655
- 200: {
656
- data: {
657
- id: string;
658
- createdAt: Date;
659
- updatedAt: Date;
660
- userId: string;
661
- status: "created" | "completed";
662
- idempotencyKey: string;
663
- orderNo: string;
664
- productId: string;
665
- payAssetIdSnapshot: string;
666
- targetAssetIdSnapshot: string;
667
- quoteAssetIdSnapshot: string;
668
- priceSnapshot: string;
669
- priceEffectiveAtSnapshot: Date;
670
- payAmount: string;
671
- sourcePayAccountId: string;
672
- targetAmount: string;
673
- settlementModeSnapshot: "available" | "locked";
674
- receiveAccountId: string;
675
- debitLedgerEntryId: string | null;
676
- creditLedgerEntryId: string | null;
677
- failureCode: string | null;
678
- failureReason: string | null;
679
- }[];
680
- pagination: {
681
- total: number;
682
- pageSize: number;
683
- pageIndex: number;
684
- totalPages: number;
685
- hasNextPage: boolean;
686
- };
687
- };
688
- 422: {
689
- type: "validation";
690
- on: string;
691
- summary?: string;
692
- message?: string;
693
- found?: unknown;
694
- property?: string;
695
- expected?: string;
696
- };
697
- 401: "Unauthorized";
698
- };
699
- };
700
- };
701
- };
702
- } & {
703
- asset_convert_product: {
704
- orders: {
705
- ":id": {
706
- get: {
707
- body: {};
708
- params: {
709
- id: string;
710
- };
711
- query: {};
712
- headers: {};
713
- response: {
714
- 200: {
715
- id: string;
716
- createdAt: Date;
717
- updatedAt: Date;
718
- userId: string;
719
- status: "created" | "completed";
720
- idempotencyKey: string;
721
- orderNo: string;
722
- productId: string;
723
- payAssetIdSnapshot: string;
724
- targetAssetIdSnapshot: string;
725
- quoteAssetIdSnapshot: string;
726
- priceSnapshot: string;
727
- priceEffectiveAtSnapshot: Date;
728
- payAmount: string;
729
- sourcePayAccountId: string;
730
- targetAmount: string;
731
- settlementModeSnapshot: "available" | "locked";
732
- receiveAccountId: string;
733
- debitLedgerEntryId: string | null;
734
- creditLedgerEntryId: string | null;
735
- failureCode: string | null;
736
- failureReason: string | null;
737
- };
738
- 422: {
739
- type: "validation";
740
- on: string;
741
- summary?: string;
742
- message?: string;
743
- found?: unknown;
744
- property?: string;
745
- expected?: string;
746
- };
747
- 401: "Unauthorized";
748
- };
749
- };
750
- };
751
- };
752
- };
753
- }, {
754
- derive: {};
755
- resolve: {};
756
- schema: {};
757
- standaloneSchema: {};
758
- response: {};
759
- }, {
760
- derive: {};
761
- resolve: {
762
- user: {
763
- id: string;
764
- createdAt: Date;
765
- updatedAt: Date;
766
- email: string;
767
- emailVerified: boolean;
768
- name: string;
769
- image?: string | null | undefined | undefined;
770
- twoFactorEnabled: boolean | null | undefined;
771
- username?: string | null | undefined;
772
- displayUsername?: string | null | undefined;
773
- phoneNumber?: string | null | undefined;
774
- phoneNumberVerified?: boolean | null | undefined;
775
- banned: boolean | null | undefined;
776
- role?: string | null | undefined;
777
- banReason?: string | null | undefined;
778
- banExpires?: Date | null | undefined;
779
- };
780
- session: {
781
- id: string;
782
- createdAt: Date;
783
- updatedAt: Date;
784
- userId: string;
785
- expiresAt: Date;
786
- token: string;
787
- ipAddress?: string | null | undefined | undefined;
788
- userAgent?: string | null | undefined | undefined;
789
- impersonatedBy?: string | null | undefined;
790
- };
791
- };
792
- schema: {};
793
- standaloneSchema: {};
794
- response: {
795
- 401: "Unauthorized";
796
- };
797
- }>;