@r2wa-org/eden 0.0.93 → 0.0.97

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 (519) hide show
  1. package/dist/admin/index.d.ts +372 -100
  2. package/dist/check-in/admin/router.d.ts +1 -13
  3. package/dist/db/schemas.d.ts +1 -0
  4. package/dist/index.d.ts +532 -336
  5. package/dist/ledger-account-type/admin/router.d.ts +13 -1
  6. package/dist/lock-activity/admin/participation.dto.schemas.d.ts +148 -0
  7. package/dist/lock-activity/admin/participation.service.d.ts +144 -0
  8. package/dist/lock-activity/admin/router.d.ts +372 -0
  9. package/dist/lock-activity/errors/index.d.ts +8 -0
  10. package/dist/lock-activity/errors/locales/zh.d.ts +8 -0
  11. package/dist/lock-activity/internal/participation.service.d.ts +42 -0
  12. package/dist/{src/referral/db.schemas.d.ts → lock-activity/participation.db.schemas.d.ts} +157 -129
  13. package/dist/{src/referral/schema.d.ts → lock-activity/participation.schema.d.ts} +89 -85
  14. package/dist/lock-activity/permissions.d.ts +1 -0
  15. package/dist/lock-activity/user/participation.dto.schemas.d.ts +25 -0
  16. package/dist/lock-activity/user/participation.service.d.ts +24 -0
  17. package/dist/lock-activity/user/router.d.ts +80 -0
  18. package/dist/user-security/admin/router.d.ts +1 -13
  19. package/dist/withdraw/user/router.d.ts +13 -1
  20. package/package.json +1 -1
  21. package/dist/market-data/index.d.ts +0 -8
  22. package/dist/market-data/user/dto.schemas.d.ts +0 -370
  23. package/dist/market-data/user/router.d.ts +0 -693
  24. package/dist/market-data/user/service.d.ts +0 -41
  25. package/dist/referral/admin/dto.schemas.d.ts +0 -597
  26. package/dist/referral/admin/router.d.ts +0 -553
  27. package/dist/referral/admin/service.d.ts +0 -6
  28. package/dist/referral/errors/index.d.ts +0 -15
  29. package/dist/referral/errors/locales/zh.d.ts +0 -14
  30. package/dist/referral/index.d.ts +0 -9
  31. package/dist/referral/internal/service.d.ts +0 -23
  32. package/dist/referral/user/dto.schemas.d.ts +0 -602
  33. package/dist/referral/user/router.d.ts +0 -578
  34. package/dist/referral/user/service.d.ts +0 -21
  35. package/dist/src/admin/index.d.ts +0 -10428
  36. package/dist/src/admin-user/admin/dto.schemas.d.ts +0 -878
  37. package/dist/src/admin-user/admin/errors/index.d.ts +0 -20
  38. package/dist/src/admin-user/admin/errors/locales/zh.d.ts +0 -16
  39. package/dist/src/admin-user/admin/router.d.ts +0 -655
  40. package/dist/src/admin-user/admin/service.d.ts +0 -60
  41. package/dist/src/app-version/admin/dto.schemas.d.ts +0 -99
  42. package/dist/src/app-version/admin/router.d.ts +0 -756
  43. package/dist/src/app-version/admin/service.d.ts +0 -105
  44. package/dist/src/app-version/db.schemas.d.ts +0 -448
  45. package/dist/src/app-version/schema.d.ts +0 -236
  46. package/dist/src/asset/admin/dto.schemas.d.ts +0 -164
  47. package/dist/src/asset/admin/router.d.ts +0 -762
  48. package/dist/src/asset/admin/service.d.ts +0 -144
  49. package/dist/src/asset/db.schemas.d.ts +0 -380
  50. package/dist/src/asset/errors/index.d.ts +0 -33
  51. package/dist/src/asset/errors/locales/zh.d.ts +0 -20
  52. package/dist/src/asset/index.d.ts +0 -11
  53. package/dist/src/asset/internal/service.d.ts +0 -16
  54. package/dist/src/asset/permissions.d.ts +0 -4
  55. package/dist/src/asset/schema.d.ts +0 -209
  56. package/dist/src/asset/seed.d.ts +0 -1
  57. package/dist/src/asset/user/dto.schemas.d.ts +0 -78
  58. package/dist/src/asset/user/router.d.ts +0 -567
  59. package/dist/src/asset/user/service.d.ts +0 -75
  60. package/dist/src/asset-convert-product/admin/dto.schemas.d.ts +0 -823
  61. package/dist/src/asset-convert-product/admin/router.d.ts +0 -1586
  62. package/dist/src/asset-convert-product/admin/service.d.ts +0 -814
  63. package/dist/src/asset-convert-product/db.schemas.d.ts +0 -1270
  64. package/dist/src/asset-convert-product/errors/index.d.ts +0 -32
  65. package/dist/src/asset-convert-product/errors/locales/zh.d.ts +0 -31
  66. package/dist/src/asset-convert-product/index.d.ts +0 -8
  67. package/dist/src/asset-convert-product/internal/service.d.ts +0 -2
  68. package/dist/src/asset-convert-product/permissions.d.ts +0 -5
  69. package/dist/src/asset-convert-product/schema.d.ts +0 -688
  70. package/dist/src/asset-convert-product/user/dto.schemas.d.ts +0 -1089
  71. package/dist/src/asset-convert-product/user/router.d.ts +0 -797
  72. package/dist/src/asset-convert-product/user/service.d.ts +0 -413
  73. package/dist/src/asset-price/admin/dto.schemas.d.ts +0 -102
  74. package/dist/src/asset-price/admin/router.d.ts +0 -658
  75. package/dist/src/asset-price/admin/service.d.ts +0 -82
  76. package/dist/src/asset-price/constants.d.ts +0 -2
  77. package/dist/src/asset-price/db.schemas.d.ts +0 -358
  78. package/dist/src/asset-price/errors/index.d.ts +0 -20
  79. package/dist/src/asset-price/errors/locales/zh.d.ts +0 -19
  80. package/dist/src/asset-price/index.d.ts +0 -12
  81. package/dist/src/asset-price/internal/service.d.ts +0 -14
  82. package/dist/src/asset-price/permissions.d.ts +0 -6
  83. package/dist/src/asset-price/schema.d.ts +0 -191
  84. package/dist/src/asset-price/seed.d.ts +0 -1
  85. package/dist/src/asset-price/user/dto.schemas.d.ts +0 -45
  86. package/dist/src/asset-price/user/router.d.ts +0 -512
  87. package/dist/src/asset-price/user/service.d.ts +0 -26
  88. package/dist/src/asset-type/admin/dto.schemas.d.ts +0 -404
  89. package/dist/src/asset-type/admin/router.d.ts +0 -617
  90. package/dist/src/asset-type/admin/service.d.ts +0 -45
  91. package/dist/src/asset-type/db.schemas.d.ts +0 -244
  92. package/dist/src/asset-type/errors/index.d.ts +0 -27
  93. package/dist/src/asset-type/errors/locales/zh.d.ts +0 -17
  94. package/dist/src/asset-type/index.d.ts +0 -11
  95. package/dist/src/asset-type/internal/service.d.ts +0 -9
  96. package/dist/src/asset-type/permissions.d.ts +0 -4
  97. package/dist/src/asset-type/schema.d.ts +0 -133
  98. package/dist/src/asset-type/seed.d.ts +0 -19
  99. package/dist/src/asset-type/user/dto.schemas.d.ts +0 -35
  100. package/dist/src/asset-type/user/router.d.ts +0 -471
  101. package/dist/src/asset-type/user/service.d.ts +0 -18
  102. package/dist/src/auth/better-auth.d.ts +0 -3312
  103. package/dist/src/auth/better-hooks.d.ts +0 -23
  104. package/dist/src/auth/db.schemas.d.ts +0 -1696
  105. package/dist/src/auth/permissions.d.ts +0 -235
  106. package/dist/src/auth/roles.d.ts +0 -725
  107. package/dist/src/auth/router.d.ts +0 -385
  108. package/dist/src/auth/schema.d.ts +0 -882
  109. package/dist/src/bank-account/admin/dto.schemas.d.ts +0 -524
  110. package/dist/src/bank-account/admin/router.d.ts +0 -909
  111. package/dist/src/bank-account/admin/service.d.ts +0 -221
  112. package/dist/src/bank-account/db.schemas.d.ts +0 -1032
  113. package/dist/src/bank-account/errors/index.d.ts +0 -13
  114. package/dist/src/bank-account/errors/locales/zh.d.ts +0 -12
  115. package/dist/src/bank-account/index.d.ts +0 -8
  116. package/dist/src/bank-account/internal/service.d.ts +0 -51
  117. package/dist/src/bank-account/permissions.d.ts +0 -10
  118. package/dist/src/bank-account/schema.d.ts +0 -535
  119. package/dist/src/bank-account/seed.d.ts +0 -4
  120. package/dist/src/bank-account/user/dto.schemas.d.ts +0 -458
  121. package/dist/src/bank-account/user/router.d.ts +0 -680
  122. package/dist/src/bank-account/user/service.d.ts +0 -133
  123. package/dist/src/check-in/admin/dto.schemas.d.ts +0 -312
  124. package/dist/src/check-in/admin/router.d.ts +0 -526
  125. package/dist/src/check-in/admin/service.d.ts +0 -38
  126. package/dist/src/check-in/db.schemas.d.ts +0 -312
  127. package/dist/src/check-in/errors/index.d.ts +0 -13
  128. package/dist/src/check-in/errors/locales/zh.d.ts +0 -10
  129. package/dist/src/check-in/index.d.ts +0 -7
  130. package/dist/src/check-in/internal/service.d.ts +0 -51
  131. package/dist/src/check-in/permissions.d.ts +0 -6
  132. package/dist/src/check-in/schema.d.ts +0 -168
  133. package/dist/src/check-in/user/dto.schemas.d.ts +0 -503
  134. package/dist/src/check-in/user/router.d.ts +0 -615
  135. package/dist/src/check-in/user/service.d.ts +0 -49
  136. package/dist/src/cors/index.d.ts +0 -30
  137. package/dist/src/cron/index.d.ts +0 -10
  138. package/dist/src/db/columns.helpers.d.ts +0 -13
  139. package/dist/src/db/enums.d.ts +0 -1
  140. package/dist/src/db/index.d.ts +0 -4
  141. package/dist/src/db/schemas.d.ts +0 -34
  142. package/dist/src/db/transaction.d.ts +0 -3
  143. package/dist/src/db/typebox.d.ts +0 -19
  144. package/dist/src/deposit/admin/dto.schemas.d.ts +0 -649
  145. package/dist/src/deposit/admin/router.d.ts +0 -638
  146. package/dist/src/deposit/admin/service.d.ts +0 -127
  147. package/dist/src/deposit/db.schemas.d.ts +0 -652
  148. package/dist/src/deposit/errors/index.d.ts +0 -45
  149. package/dist/src/deposit/errors/locales/zh.d.ts +0 -24
  150. package/dist/src/deposit/index.d.ts +0 -7
  151. package/dist/src/deposit/internal/service.d.ts +0 -8
  152. package/dist/src/deposit/permissions.d.ts +0 -9
  153. package/dist/src/deposit/schema.d.ts +0 -340
  154. package/dist/src/deposit/user/dto.schemas.d.ts +0 -655
  155. package/dist/src/deposit/user/router.d.ts +0 -681
  156. package/dist/src/deposit/user/service.d.ts +0 -148
  157. package/dist/src/dynamic-env/admin.router.d.ts +0 -620
  158. package/dist/src/dynamic-env/cache.d.ts +0 -35
  159. package/dist/src/dynamic-env/db.schemas.d.ts +0 -182
  160. package/dist/src/dynamic-env/dto.schema.d.ts +0 -17
  161. package/dist/src/dynamic-env/errors/index.d.ts +0 -11
  162. package/dist/src/dynamic-env/errors/locales/zh.d.ts +0 -10
  163. package/dist/src/dynamic-env/index.d.ts +0 -3
  164. package/dist/src/dynamic-env/schema.d.ts +0 -96
  165. package/dist/src/dynamic-env/service.d.ts +0 -93
  166. package/dist/src/email/index.d.ts +0 -2
  167. package/dist/src/env/client.d.ts +0 -2
  168. package/dist/src/env/index.d.ts +0 -2
  169. package/dist/src/env/server.d.ts +0 -50
  170. package/dist/src/env/typebox-env.d.ts +0 -7
  171. package/dist/src/error/errorcode.d.ts +0 -9
  172. package/dist/src/error/index.d.ts +0 -120
  173. package/dist/src/error/locales/zh.d.ts +0 -2
  174. package/dist/src/error/messages.d.ts +0 -10
  175. package/dist/src/external/dto.schemas.d.ts +0 -173
  176. package/dist/src/external/errors/index.d.ts +0 -13
  177. package/dist/src/external/errors/locales/zh.d.ts +0 -10
  178. package/dist/src/external/index.d.ts +0 -4
  179. package/dist/src/external/router.d.ts +0 -105
  180. package/dist/src/external/service.d.ts +0 -31
  181. package/dist/src/file-storage/admin/dto.schemas.d.ts +0 -209
  182. package/dist/src/file-storage/admin/router.d.ts +0 -598
  183. package/dist/src/file-storage/admin/service.d.ts +0 -89
  184. package/dist/src/file-storage/db.schemas.d.ts +0 -1026
  185. package/dist/src/file-storage/errors/index.d.ts +0 -19
  186. package/dist/src/file-storage/errors/locales/zh.d.ts +0 -18
  187. package/dist/src/file-storage/index.d.ts +0 -7
  188. package/dist/src/file-storage/internal/service.d.ts +0 -66
  189. package/dist/src/file-storage/permissions.d.ts +0 -5
  190. package/dist/src/file-storage/s3.client.d.ts +0 -284
  191. package/dist/src/file-storage/schema.d.ts +0 -538
  192. package/dist/src/file-storage/share/dto.schemas.d.ts +0 -68
  193. package/dist/src/file-storage/share/router.d.ts +0 -561
  194. package/dist/src/file-storage/user/dto.schemas.d.ts +0 -1100
  195. package/dist/src/file-storage/user/router.d.ts +0 -585
  196. package/dist/src/file-storage/user/service.d.ts +0 -80
  197. package/dist/src/http-access-log.d.ts +0 -30
  198. package/dist/src/index.d.ts +0 -16262
  199. package/dist/src/ledger/admin/dto.schemas.d.ts +0 -461
  200. package/dist/src/ledger/admin/router.d.ts +0 -608
  201. package/dist/src/ledger/admin/service.d.ts +0 -22
  202. package/dist/src/ledger/db.schemas.d.ts +0 -694
  203. package/dist/src/ledger/errors/index.d.ts +0 -38
  204. package/dist/src/ledger/errors/locales/zh.d.ts +0 -22
  205. package/dist/src/ledger/index.d.ts +0 -6
  206. package/dist/src/ledger/internal/service.d.ts +0 -36
  207. package/dist/src/ledger/permissions.d.ts +0 -8
  208. package/dist/src/ledger/schema.d.ts +0 -365
  209. package/dist/src/ledger/user/dto.schemas.d.ts +0 -712
  210. package/dist/src/ledger/user/router.d.ts +0 -487
  211. package/dist/src/ledger/user/service.d.ts +0 -146
  212. package/dist/src/ledger-account/admin/dto.schemas.d.ts +0 -258
  213. package/dist/src/ledger-account/admin/router.d.ts +0 -757
  214. package/dist/src/ledger-account/admin/service.d.ts +0 -238
  215. package/dist/src/ledger-account/db.schemas.d.ts +0 -346
  216. package/dist/src/ledger-account/errors/index.d.ts +0 -18
  217. package/dist/src/ledger-account/errors/locales/zh.d.ts +0 -17
  218. package/dist/src/ledger-account/index.d.ts +0 -8
  219. package/dist/src/ledger-account/internal/service.d.ts +0 -44
  220. package/dist/src/ledger-account/permissions.d.ts +0 -4
  221. package/dist/src/ledger-account/schema.d.ts +0 -190
  222. package/dist/src/ledger-account/user/dto.schemas.d.ts +0 -590
  223. package/dist/src/ledger-account/user/router.d.ts +0 -602
  224. package/dist/src/ledger-account/user/service.d.ts +0 -154
  225. package/dist/src/ledger-account-import/admin/dto.schemas.d.ts +0 -1255
  226. package/dist/src/ledger-account-import/admin/router.d.ts +0 -691
  227. package/dist/src/ledger-account-import/admin/service.d.ts +0 -92
  228. package/dist/src/ledger-account-import/db.schemas.d.ts +0 -1206
  229. package/dist/src/ledger-account-import/errors/index.d.ts +0 -18
  230. package/dist/src/ledger-account-import/errors/locales/zh.d.ts +0 -17
  231. package/dist/src/ledger-account-import/index.d.ts +0 -8
  232. package/dist/src/ledger-account-import/internal/service.d.ts +0 -13
  233. package/dist/src/ledger-account-import/permissions.d.ts +0 -7
  234. package/dist/src/ledger-account-import/schema.d.ts +0 -636
  235. package/dist/src/ledger-account-import/user/service.d.ts +0 -3
  236. package/dist/src/ledger-account-import/worker.d.ts +0 -1
  237. package/dist/src/ledger-account-transfer/admin/service.d.ts +0 -3
  238. package/dist/src/ledger-account-transfer/errors/index.d.ts +0 -23
  239. package/dist/src/ledger-account-transfer/errors/locales/zh.d.ts +0 -15
  240. package/dist/src/ledger-account-transfer/index.d.ts +0 -6
  241. package/dist/src/ledger-account-transfer/internal/service.d.ts +0 -8
  242. package/dist/src/ledger-account-transfer/user/dto.schemas.d.ts +0 -20
  243. package/dist/src/ledger-account-transfer/user/router.d.ts +0 -466
  244. package/dist/src/ledger-account-transfer/user/service.d.ts +0 -16
  245. package/dist/src/ledger-account-type/admin/dto.schemas.d.ts +0 -509
  246. package/dist/src/ledger-account-type/admin/router.d.ts +0 -708
  247. package/dist/src/ledger-account-type/admin/service.d.ts +0 -109
  248. package/dist/src/ledger-account-type/db.schemas.d.ts +0 -788
  249. package/dist/src/ledger-account-type/errors/index.d.ts +0 -18
  250. package/dist/src/ledger-account-type/errors/locales/zh.d.ts +0 -17
  251. package/dist/src/ledger-account-type/index.d.ts +0 -9
  252. package/dist/src/ledger-account-type/internal/service.d.ts +0 -8
  253. package/dist/src/ledger-account-type/permissions.d.ts +0 -4
  254. package/dist/src/ledger-account-type/schema.d.ts +0 -405
  255. package/dist/src/ledger-account-type/seed.d.ts +0 -1
  256. package/dist/src/ledger-account-type/user/dto.schemas.d.ts +0 -509
  257. package/dist/src/ledger-account-type/user/router.d.ts +0 -534
  258. package/dist/src/ledger-account-type/user/service.d.ts +0 -59
  259. package/dist/src/market-data/admin/dto.schemas.d.ts +0 -824
  260. package/dist/src/market-data/admin/router.d.ts +0 -632
  261. package/dist/src/market-data/admin/service.d.ts +0 -78
  262. package/dist/src/market-data/cron.d.ts +0 -6
  263. package/dist/src/market-data/db.schemas.d.ts +0 -516
  264. package/dist/src/market-data/errors/index.d.ts +0 -13
  265. package/dist/src/market-data/errors/locales/zh.d.ts +0 -12
  266. package/dist/src/market-data/index.d.ts +0 -8
  267. package/dist/src/market-data/internal/service.d.ts +0 -77
  268. package/dist/src/market-data/permissions.d.ts +0 -6
  269. package/dist/src/market-data/schema.d.ts +0 -270
  270. package/dist/src/market-data/user/dto.schemas.d.ts +0 -370
  271. package/dist/src/market-data/user/router.d.ts +0 -693
  272. package/dist/src/market-data/user/service.d.ts +0 -41
  273. package/dist/src/market-pricing/admin/dto.schemas.d.ts +0 -860
  274. package/dist/src/market-pricing/admin/router.d.ts +0 -988
  275. package/dist/src/market-pricing/admin/service.d.ts +0 -286
  276. package/dist/src/market-pricing/cron.d.ts +0 -6
  277. package/dist/src/market-pricing/db.schemas.d.ts +0 -828
  278. package/dist/src/market-pricing/errors/index.d.ts +0 -14
  279. package/dist/src/market-pricing/errors/locales/zh.d.ts +0 -13
  280. package/dist/src/market-pricing/internal/service.d.ts +0 -35
  281. package/dist/src/market-pricing/permissions.d.ts +0 -4
  282. package/dist/src/market-pricing/schema.d.ts +0 -434
  283. package/dist/src/nanoid/index.d.ts +0 -2
  284. package/dist/src/news/admin/dto.schemas.d.ts +0 -159
  285. package/dist/src/news/admin/router.d.ts +0 -818
  286. package/dist/src/news/admin/service.d.ts +0 -221
  287. package/dist/src/news/db.schemas.d.ts +0 -1150
  288. package/dist/src/news/errors/index.d.ts +0 -20
  289. package/dist/src/news/errors/locales/zh.d.ts +0 -13
  290. package/dist/src/news/index.d.ts +0 -7
  291. package/dist/src/news/internal/service.d.ts +0 -7
  292. package/dist/src/news/permissions.d.ts +0 -4
  293. package/dist/src/news/schema.d.ts +0 -616
  294. package/dist/src/news/user/dto.schemas.d.ts +0 -178
  295. package/dist/src/news/user/router.d.ts +0 -617
  296. package/dist/src/news/user/service.d.ts +0 -228
  297. package/dist/src/news-category/admin/dto.schemas.d.ts +0 -52
  298. package/dist/src/news-category/admin/router.d.ts +0 -204
  299. package/dist/src/news-category/admin/service.d.ts +0 -55
  300. package/dist/src/news-category/constants.d.ts +0 -1
  301. package/dist/src/news-category/db.schemas.d.ts +0 -324
  302. package/dist/src/news-category/errors/index.d.ts +0 -21
  303. package/dist/src/news-category/errors/locales/zh.d.ts +0 -14
  304. package/dist/src/news-category/index.d.ts +0 -8
  305. package/dist/src/news-category/internal/service.d.ts +0 -5
  306. package/dist/src/news-category/permissions.d.ts +0 -4
  307. package/dist/src/news-category/schema.d.ts +0 -173
  308. package/dist/src/news-category/seed.d.ts +0 -12
  309. package/dist/src/news-category/user/dto.schemas.d.ts +0 -55
  310. package/dist/src/news-category/user/router.d.ts +0 -457
  311. package/dist/src/news-category/user/service.d.ts +0 -25
  312. package/dist/src/notification/admin/dto.schemas.d.ts +0 -432
  313. package/dist/src/notification/admin/router.d.ts +0 -576
  314. package/dist/src/notification/admin/service.d.ts +0 -43
  315. package/dist/src/notification/db.schemas.d.ts +0 -624
  316. package/dist/src/notification/errors/index.d.ts +0 -19
  317. package/dist/src/notification/errors/locales/zh.d.ts +0 -13
  318. package/dist/src/notification/index.d.ts +0 -7
  319. package/dist/src/notification/internal/service.d.ts +0 -28
  320. package/dist/src/notification/permissions.d.ts +0 -6
  321. package/dist/src/notification/schema.d.ts +0 -347
  322. package/dist/src/notification/user/dto.schemas.d.ts +0 -411
  323. package/dist/src/notification/user/router.d.ts +0 -632
  324. package/dist/src/notification/user/service.d.ts +0 -82
  325. package/dist/src/operations-overview/admin/dto.schemas.d.ts +0 -41
  326. package/dist/src/operations-overview/admin/router.d.ts +0 -517
  327. package/dist/src/operations-overview/admin/service.d.ts +0 -4
  328. package/dist/src/portfolio/index.d.ts +0 -2
  329. package/dist/src/portfolio/internal/index.d.ts +0 -1
  330. package/dist/src/portfolio/internal/service.d.ts +0 -5
  331. package/dist/src/portfolio/user/dto.schemas.d.ts +0 -352
  332. package/dist/src/portfolio/user/index.d.ts +0 -3
  333. package/dist/src/portfolio/user/router.d.ts +0 -659
  334. package/dist/src/portfolio/user/service.d.ts +0 -143
  335. package/dist/src/receipt-method/admin/dto.schemas.d.ts +0 -62
  336. package/dist/src/receipt-method/admin/router.d.ts +0 -592
  337. package/dist/src/receipt-method/admin/service.d.ts +0 -82
  338. package/dist/src/receipt-method/db.schemas.d.ts +0 -380
  339. package/dist/src/receipt-method/errors/index.d.ts +0 -17
  340. package/dist/src/receipt-method/errors/locales/zh.d.ts +0 -16
  341. package/dist/src/receipt-method/index.d.ts +0 -7
  342. package/dist/src/receipt-method/internal/service.d.ts +0 -33
  343. package/dist/src/receipt-method/permissions.d.ts +0 -4
  344. package/dist/src/receipt-method/schema.d.ts +0 -205
  345. package/dist/src/receipt-method/user/dto.schemas.d.ts +0 -417
  346. package/dist/src/receipt-method/user/router.d.ts +0 -602
  347. package/dist/src/receipt-method/user/service.d.ts +0 -73
  348. package/dist/src/referral/admin/dto.schemas.d.ts +0 -597
  349. package/dist/src/referral/admin/router.d.ts +0 -553
  350. package/dist/src/referral/admin/service.d.ts +0 -6
  351. package/dist/src/referral/errors/index.d.ts +0 -15
  352. package/dist/src/referral/errors/locales/zh.d.ts +0 -14
  353. package/dist/src/referral/index.d.ts +0 -9
  354. package/dist/src/referral/internal/service.d.ts +0 -23
  355. package/dist/src/referral/permissions.d.ts +0 -8
  356. package/dist/src/referral/user/dto.schemas.d.ts +0 -602
  357. package/dist/src/referral/user/router.d.ts +0 -578
  358. package/dist/src/referral/user/service.d.ts +0 -21
  359. package/dist/src/referral-depth-config/admin/dto.schemas.d.ts +0 -203
  360. package/dist/src/referral-depth-config/admin/router.d.ts +0 -643
  361. package/dist/src/referral-depth-config/admin/service.d.ts +0 -38
  362. package/dist/src/referral-depth-config/db.schemas.d.ts +0 -176
  363. package/dist/src/referral-depth-config/errors/index.d.ts +0 -11
  364. package/dist/src/referral-depth-config/errors/locales/zh.d.ts +0 -10
  365. package/dist/src/referral-depth-config/internal/service.d.ts +0 -4
  366. package/dist/src/referral-depth-config/permissions.d.ts +0 -8
  367. package/dist/src/referral-depth-config/schema.d.ts +0 -99
  368. package/dist/src/server-test/errors/index.d.ts +0 -10
  369. package/dist/src/server-test/errors/locales/zh.d.ts +0 -9
  370. package/dist/src/server-test/index.d.ts +0 -486
  371. package/dist/src/shipping-address/admin/dto.schemas.d.ts +0 -289
  372. package/dist/src/shipping-address/admin/router.d.ts +0 -504
  373. package/dist/src/shipping-address/admin/service.d.ts +0 -17
  374. package/dist/src/shipping-address/db.schemas.d.ts +0 -278
  375. package/dist/src/shipping-address/errors/index.d.ts +0 -12
  376. package/dist/src/shipping-address/errors/locales/zh.d.ts +0 -11
  377. package/dist/src/shipping-address/index.d.ts +0 -7
  378. package/dist/src/shipping-address/internal/service.d.ts +0 -15
  379. package/dist/src/shipping-address/permissions.d.ts +0 -4
  380. package/dist/src/shipping-address/schema.d.ts +0 -150
  381. package/dist/src/shipping-address/user/dto.schemas.d.ts +0 -303
  382. package/dist/src/shipping-address/user/router.d.ts +0 -621
  383. package/dist/src/shipping-address/user/service.d.ts +0 -68
  384. package/dist/src/sms/index.d.ts +0 -5
  385. package/dist/src/team/admin/dto.schemas.d.ts +0 -2198
  386. package/dist/src/team/admin/router.d.ts +0 -646
  387. package/dist/src/team/admin/service.d.ts +0 -6
  388. package/dist/src/team/errors/index.d.ts +0 -13
  389. package/dist/src/team/errors/locales/zh.d.ts +0 -12
  390. package/dist/src/team/index.d.ts +0 -8
  391. package/dist/src/team/internal/service.d.ts +0 -6
  392. package/dist/src/team/permissions.d.ts +0 -7
  393. package/dist/src/team/user/dto.schemas.d.ts +0 -1987
  394. package/dist/src/team/user/router.d.ts +0 -734
  395. package/dist/src/team/user/service.d.ts +0 -10
  396. package/dist/src/trade-market/admin/dto.schemas.d.ts +0 -4764
  397. package/dist/src/trade-market/admin/router.d.ts +0 -1334
  398. package/dist/src/trade-market/admin/service.d.ts +0 -646
  399. package/dist/src/trade-market/db.schemas.d.ts +0 -1338
  400. package/dist/src/trade-market/errors/index.d.ts +0 -23
  401. package/dist/src/trade-market/errors/locales/zh.d.ts +0 -22
  402. package/dist/src/trade-market/index.d.ts +0 -8
  403. package/dist/src/trade-market/internal/service.d.ts +0 -564
  404. package/dist/src/trade-market/permissions.d.ts +0 -5
  405. package/dist/src/trade-market/schema.d.ts +0 -708
  406. package/dist/src/trade-market/user/dto.schemas.d.ts +0 -1394
  407. package/dist/src/trade-market/user/router.d.ts +0 -754
  408. package/dist/src/trade-market/user/service.d.ts +0 -471
  409. package/dist/src/transfer/admin/dto.schemas.d.ts +0 -396
  410. package/dist/src/transfer/admin/router.d.ts +0 -506
  411. package/dist/src/transfer/admin/service.d.ts +0 -56
  412. package/dist/src/transfer/db.schemas.d.ts +0 -386
  413. package/dist/src/transfer/errors/index.d.ts +0 -32
  414. package/dist/src/transfer/errors/locales/zh.d.ts +0 -19
  415. package/dist/src/transfer/index.d.ts +0 -11
  416. package/dist/src/transfer/internal/service.d.ts +0 -8
  417. package/dist/src/transfer/permissions.d.ts +0 -8
  418. package/dist/src/transfer/schema.d.ts +0 -204
  419. package/dist/src/transfer/user/dto.schemas.d.ts +0 -416
  420. package/dist/src/transfer/user/router.d.ts +0 -514
  421. package/dist/src/transfer/user/service.d.ts +0 -67
  422. package/dist/src/user/admin/dto.schemas.d.ts +0 -1439
  423. package/dist/src/user/admin/router.d.ts +0 -853
  424. package/dist/src/user/admin/service.d.ts +0 -164
  425. package/dist/src/user/db.schemas.d.ts +0 -1038
  426. package/dist/src/user/errors/index.d.ts +0 -40
  427. package/dist/src/user/errors/locales/zh.d.ts +0 -23
  428. package/dist/src/user/index.d.ts +0 -9
  429. package/dist/src/user/internal/service.d.ts +0 -22
  430. package/dist/src/user/permissions.d.ts +0 -7
  431. package/dist/src/user/schema.d.ts +0 -541
  432. package/dist/src/user/user/dto.schemas.d.ts +0 -14
  433. package/dist/src/user/user/router.d.ts +0 -558
  434. package/dist/src/user/user/service.d.ts +0 -89
  435. package/dist/src/user-kyc/admin/dto.schemas.d.ts +0 -625
  436. package/dist/src/user-kyc/admin/router.d.ts +0 -666
  437. package/dist/src/user-kyc/admin/service.d.ts +0 -89
  438. package/dist/src/user-kyc/db.schemas.d.ts +0 -896
  439. package/dist/src/user-kyc/errors/index.d.ts +0 -21
  440. package/dist/src/user-kyc/errors/locales/zh.d.ts +0 -14
  441. package/dist/src/user-kyc/index.d.ts +0 -10
  442. package/dist/src/user-kyc/internal/service.d.ts +0 -9
  443. package/dist/src/user-kyc/permissions.d.ts +0 -6
  444. package/dist/src/user-kyc/schema.d.ts +0 -474
  445. package/dist/src/user-kyc/user/dto.schemas.d.ts +0 -314
  446. package/dist/src/user-kyc/user/router.d.ts +0 -602
  447. package/dist/src/user-kyc/user/service.d.ts +0 -64
  448. package/dist/src/user-security/admin/dto.schemas.d.ts +0 -8
  449. package/dist/src/user-security/admin/router.d.ts +0 -490
  450. package/dist/src/user-security/admin/service.d.ts +0 -6
  451. package/dist/src/user-security/db.schemas.d.ts +0 -414
  452. package/dist/src/user-security/index.d.ts +0 -8
  453. package/dist/src/user-security/internal/service.d.ts +0 -15
  454. package/dist/src/user-security/schema.d.ts +0 -215
  455. package/dist/src/user-security/user/dto.schemas.d.ts +0 -21
  456. package/dist/src/user-security/user/router.d.ts +0 -547
  457. package/dist/src/user-security/user/service.d.ts +0 -15
  458. package/dist/src/utils/date.d.ts +0 -21
  459. package/dist/src/utils/index.d.ts +0 -4
  460. package/dist/src/utils/order.d.ts +0 -6
  461. package/dist/src/utils/pagination.d.ts +0 -113
  462. package/dist/src/utils/password.d.ts +0 -8
  463. package/dist/src/wallet/admin/dto.schemas.d.ts +0 -349
  464. package/dist/src/wallet/admin/router.d.ts +0 -581
  465. package/dist/src/wallet/admin/service.d.ts +0 -65
  466. package/dist/src/wallet/db.schemas.d.ts +0 -278
  467. package/dist/src/wallet/errors/index.d.ts +0 -10
  468. package/dist/src/wallet/errors/locales/zh.d.ts +0 -9
  469. package/dist/src/wallet/index.d.ts +0 -11
  470. package/dist/src/wallet/internal/service.d.ts +0 -177
  471. package/dist/src/wallet/permissions.d.ts +0 -8
  472. package/dist/src/wallet/schema.d.ts +0 -152
  473. package/dist/src/wallet/seed.d.ts +0 -1
  474. package/dist/src/wallet/user/dto.schemas.d.ts +0 -372
  475. package/dist/src/wallet/user/router.d.ts +0 -544
  476. package/dist/src/wallet/user/service.d.ts +0 -75
  477. package/dist/src/wallet-type/admin/dto.schemas.d.ts +0 -83
  478. package/dist/src/wallet-type/admin/router.d.ts +0 -741
  479. package/dist/src/wallet-type/admin/service.d.ts +0 -109
  480. package/dist/src/wallet-type/db.schemas.d.ts +0 -278
  481. package/dist/src/wallet-type/errors/index.d.ts +0 -15
  482. package/dist/src/wallet-type/errors/locales/zh.d.ts +0 -14
  483. package/dist/src/wallet-type/index.d.ts +0 -10
  484. package/dist/src/wallet-type/internal/service.d.ts +0 -256
  485. package/dist/src/wallet-type/permissions.d.ts +0 -4
  486. package/dist/src/wallet-type/schema.d.ts +0 -199
  487. package/dist/src/wallet-type/seed.d.ts +0 -1
  488. package/dist/src/wallet-type/user/dto.schemas.d.ts +0 -62
  489. package/dist/src/wallet-type/user/router.d.ts +0 -481
  490. package/dist/src/wallet-type/user/service.d.ts +0 -24
  491. package/dist/src/welfare-cycle/admin/dto.schemas.d.ts +0 -1242
  492. package/dist/src/welfare-cycle/admin/router.d.ts +0 -1805
  493. package/dist/src/welfare-cycle/admin/service.d.ts +0 -1031
  494. package/dist/src/welfare-cycle/cron.d.ts +0 -7
  495. package/dist/src/welfare-cycle/db.schemas.d.ts +0 -2404
  496. package/dist/src/welfare-cycle/errors/index.d.ts +0 -27
  497. package/dist/src/welfare-cycle/errors/locales/zh.d.ts +0 -26
  498. package/dist/src/welfare-cycle/index.d.ts +0 -7
  499. package/dist/src/welfare-cycle/internal/service.d.ts +0 -135
  500. package/dist/src/welfare-cycle/permissions.d.ts +0 -6
  501. package/dist/src/welfare-cycle/schema.d.ts +0 -1272
  502. package/dist/src/welfare-cycle/user/dto.schemas.d.ts +0 -2073
  503. package/dist/src/welfare-cycle/user/router.d.ts +0 -808
  504. package/dist/src/welfare-cycle/user/service.d.ts +0 -192
  505. package/dist/src/withdraw/admin/dto.schemas.d.ts +0 -902
  506. package/dist/src/withdraw/admin/router.d.ts +0 -659
  507. package/dist/src/withdraw/admin/service.d.ts +0 -83
  508. package/dist/src/withdraw/db.schemas.d.ts +0 -584
  509. package/dist/src/withdraw/errors/index.d.ts +0 -45
  510. package/dist/src/withdraw/errors/locales/zh.d.ts +0 -24
  511. package/dist/src/withdraw/index.d.ts +0 -8
  512. package/dist/src/withdraw/internal/index.d.ts +0 -1
  513. package/dist/src/withdraw/internal/service.d.ts +0 -10
  514. package/dist/src/withdraw/permissions.d.ts +0 -9
  515. package/dist/src/withdraw/schema.d.ts +0 -307
  516. package/dist/src/withdraw/user/dto.schemas.d.ts +0 -1508
  517. package/dist/src/withdraw/user/index.d.ts +0 -3
  518. package/dist/src/withdraw/user/router.d.ts +0 -649
  519. package/dist/src/withdraw/user/service.d.ts +0 -66
@@ -1,621 +0,0 @@
1
- import { Elysia } from "elysia";
2
- export declare const shippingAddressRouter: Elysia<"/shipping_address", {
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
- shipping_address: {};
382
- } & {
383
- shipping_address: {
384
- post: {
385
- body: {
386
- isDefault?: boolean | undefined;
387
- phoneNumber: string;
388
- recipientName: string;
389
- detailAddress: string;
390
- };
391
- params: {};
392
- query: {};
393
- headers: {};
394
- response: {
395
- 200: {
396
- id: string;
397
- createdAt: Date;
398
- updatedAt: Date;
399
- phoneNumber: string;
400
- userId: string;
401
- isDefault: boolean;
402
- recipientName: string;
403
- detailAddress: string;
404
- };
405
- 422: {
406
- type: "validation";
407
- on: string;
408
- summary?: string;
409
- message?: string;
410
- found?: unknown;
411
- property?: string;
412
- expected?: string;
413
- };
414
- 401: "Unauthorized";
415
- };
416
- };
417
- };
418
- } & {
419
- shipping_address: {
420
- ":id": {
421
- patch: {
422
- body: {
423
- phoneNumber?: string | undefined;
424
- isDefault?: boolean | undefined;
425
- recipientName?: string | undefined;
426
- detailAddress?: string | undefined;
427
- };
428
- params: {
429
- id: string;
430
- };
431
- query: {};
432
- headers: {};
433
- response: {
434
- 200: {
435
- id: string;
436
- createdAt: Date;
437
- updatedAt: Date;
438
- phoneNumber: string;
439
- userId: string;
440
- isDefault: boolean;
441
- recipientName: string;
442
- detailAddress: string;
443
- };
444
- 422: {
445
- type: "validation";
446
- on: string;
447
- summary?: string;
448
- message?: string;
449
- found?: unknown;
450
- property?: string;
451
- expected?: string;
452
- };
453
- 401: "Unauthorized";
454
- };
455
- };
456
- };
457
- };
458
- } & {
459
- shipping_address: {
460
- ":id": {
461
- delete: {
462
- body: {};
463
- params: {
464
- id: string;
465
- };
466
- query: {};
467
- headers: {};
468
- response: {
469
- 200: {
470
- success: boolean;
471
- };
472
- 422: {
473
- type: "validation";
474
- on: string;
475
- summary?: string;
476
- message?: string;
477
- found?: unknown;
478
- property?: string;
479
- expected?: string;
480
- };
481
- 401: "Unauthorized";
482
- };
483
- };
484
- };
485
- };
486
- } & {
487
- shipping_address: {
488
- ":id": {
489
- default: {
490
- post: {
491
- body: {};
492
- params: {
493
- id: string;
494
- };
495
- query: {};
496
- headers: {};
497
- response: {
498
- 200: {
499
- id: string;
500
- createdAt: Date;
501
- updatedAt: Date;
502
- phoneNumber: string;
503
- userId: string;
504
- isDefault: boolean;
505
- recipientName: string;
506
- detailAddress: string;
507
- };
508
- 422: {
509
- type: "validation";
510
- on: string;
511
- summary?: string;
512
- message?: string;
513
- found?: unknown;
514
- property?: string;
515
- expected?: string;
516
- };
517
- 401: "Unauthorized";
518
- };
519
- };
520
- };
521
- };
522
- };
523
- } & {
524
- shipping_address: {
525
- ":id": {
526
- get: {
527
- body: {};
528
- params: {
529
- id: string;
530
- };
531
- query: {};
532
- headers: {};
533
- response: {
534
- 200: {
535
- id: string;
536
- createdAt: Date;
537
- updatedAt: Date;
538
- phoneNumber: string;
539
- userId: string;
540
- isDefault: boolean;
541
- recipientName: string;
542
- detailAddress: string;
543
- };
544
- 422: {
545
- type: "validation";
546
- on: string;
547
- summary?: string;
548
- message?: string;
549
- found?: unknown;
550
- property?: string;
551
- expected?: string;
552
- };
553
- 401: "Unauthorized";
554
- };
555
- };
556
- };
557
- };
558
- } & {
559
- shipping_address: {
560
- get: {
561
- body: {};
562
- params: {};
563
- query: {
564
- limit?: number | undefined;
565
- offset?: number | undefined;
566
- pageSize?: number | undefined;
567
- pageIndex?: number | undefined;
568
- };
569
- headers: {};
570
- response: {
571
- 200: {
572
- data: {
573
- id: string;
574
- createdAt: Date;
575
- updatedAt: Date;
576
- phoneNumber: string;
577
- userId: string;
578
- isDefault: boolean;
579
- recipientName: string;
580
- detailAddress: string;
581
- }[];
582
- pagination: {
583
- total: number;
584
- pageSize: number;
585
- pageIndex: number;
586
- totalPages: number;
587
- hasNextPage: boolean;
588
- };
589
- };
590
- 422: {
591
- type: "validation";
592
- on: string;
593
- summary?: string;
594
- message?: string;
595
- found?: unknown;
596
- property?: string;
597
- expected?: string;
598
- };
599
- 401: "Unauthorized";
600
- };
601
- };
602
- };
603
- }, {
604
- derive: {};
605
- resolve: {};
606
- schema: {};
607
- standaloneSchema: {};
608
- response: {};
609
- }, {
610
- derive: {};
611
- resolve: {};
612
- schema: {};
613
- standaloneSchema: {};
614
- response: {};
615
- } & {
616
- derive: {};
617
- resolve: {};
618
- schema: {};
619
- standaloneSchema: {};
620
- response: {};
621
- }>;