@r2wa-org/eden 0.0.89 → 0.0.90

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 (333) hide show
  1. package/dist/admin/index.d.ts +2803 -2803
  2. package/dist/admin-user/admin/errors/index.d.ts +8 -8
  3. package/dist/admin-user/admin/router.d.ts +141 -141
  4. package/dist/admin-user/admin/service.d.ts +20 -20
  5. package/dist/app-version/admin/dto.schemas.d.ts +23 -23
  6. package/dist/app-version/admin/router.d.ts +160 -160
  7. package/dist/app-version/admin/service.d.ts +20 -20
  8. package/dist/app-version/db.schemas.d.ts +20 -20
  9. package/dist/app-version/index.d.ts +5 -0
  10. package/dist/app-version/schema.d.ts +11 -11
  11. package/dist/app-version/user/dto.schemas.d.ts +40 -0
  12. package/dist/app-version/user/router.d.ts +67 -0
  13. package/dist/app-version/user/service.d.ts +22 -0
  14. package/dist/asset/admin/dto.schemas.d.ts +70 -70
  15. package/dist/asset/admin/router.d.ts +215 -215
  16. package/dist/asset/admin/service.d.ts +66 -66
  17. package/dist/asset/db.schemas.d.ts +2 -2
  18. package/dist/asset/errors/index.d.ts +12 -12
  19. package/dist/asset/permissions.d.ts +1 -1
  20. package/dist/asset/schema.d.ts +2 -2
  21. package/dist/asset/user/dto.schemas.d.ts +31 -31
  22. package/dist/asset/user/router.d.ts +155 -155
  23. package/dist/asset/user/service.d.ts +33 -33
  24. package/dist/asset-convert-product/admin/dto.schemas.d.ts +495 -495
  25. package/dist/asset-convert-product/admin/router.d.ts +598 -598
  26. package/dist/asset-convert-product/admin/service.d.ts +457 -457
  27. package/dist/asset-convert-product/db.schemas.d.ts +6 -6
  28. package/dist/asset-convert-product/errors/index.d.ts +23 -23
  29. package/dist/asset-convert-product/permissions.d.ts +2 -2
  30. package/dist/asset-convert-product/schema.d.ts +5 -5
  31. package/dist/asset-convert-product/user/dto.schemas.d.ts +127 -127
  32. package/dist/asset-convert-product/user/router.d.ts +209 -209
  33. package/dist/asset-convert-product/user/service.d.ts +186 -186
  34. package/dist/asset-price/admin/dto.schemas.d.ts +26 -26
  35. package/dist/asset-price/admin/router.d.ts +187 -187
  36. package/dist/asset-price/admin/service.d.ts +16 -16
  37. package/dist/asset-price/constants.d.ts +2 -2
  38. package/dist/asset-price/errors/index.d.ts +11 -11
  39. package/dist/asset-price/internal/service.d.ts +7 -7
  40. package/dist/asset-price/permissions.d.ts +2 -2
  41. package/dist/asset-price/schema.d.ts +1 -1
  42. package/dist/asset-price/user/dto.schemas.d.ts +4 -4
  43. package/dist/asset-price/user/router.d.ts +133 -133
  44. package/dist/asset-type/admin/dto.schemas.d.ts +4 -4
  45. package/dist/asset-type/admin/router.d.ts +155 -155
  46. package/dist/asset-type/admin/service.d.ts +16 -16
  47. package/dist/asset-type/errors/index.d.ts +9 -9
  48. package/dist/asset-type/permissions.d.ts +1 -1
  49. package/dist/asset-type/schema.d.ts +1 -1
  50. package/dist/asset-type/seed.d.ts +9 -9
  51. package/dist/asset-type/user/dto.schemas.d.ts +5 -5
  52. package/dist/asset-type/user/router.d.ts +130 -130
  53. package/dist/asset-type/user/service.d.ts +4 -4
  54. package/dist/auth/better-auth.d.ts +267 -300
  55. package/dist/auth/permissions.d.ts +216 -216
  56. package/dist/auth/roles.d.ts +665 -665
  57. package/dist/auth/router.d.ts +116 -116
  58. package/dist/auth/schema.d.ts +5 -5
  59. package/dist/bank-account/admin/dto.schemas.d.ts +75 -75
  60. package/dist/bank-account/admin/router.d.ts +241 -241
  61. package/dist/bank-account/admin/service.d.ts +112 -112
  62. package/dist/bank-account/db.schemas.d.ts +40 -40
  63. package/dist/bank-account/errors/index.d.ts +4 -4
  64. package/dist/bank-account/internal/service.d.ts +14 -14
  65. package/dist/bank-account/permissions.d.ts +3 -3
  66. package/dist/bank-account/schema.d.ts +22 -22
  67. package/dist/bank-account/user/dto.schemas.d.ts +38 -38
  68. package/dist/bank-account/user/router.d.ts +150 -150
  69. package/dist/bank-account/user/service.d.ts +36 -36
  70. package/dist/check-in/admin/dto.schemas.d.ts +11 -11
  71. package/dist/check-in/admin/router.d.ts +147 -147
  72. package/dist/check-in/admin/service.d.ts +20 -19
  73. package/dist/check-in/db.schemas.d.ts +248 -4
  74. package/dist/check-in/errors/index.d.ts +8 -2
  75. package/dist/check-in/errors/locales/zh.d.ts +3 -0
  76. package/dist/check-in/internal/service.d.ts +18 -18
  77. package/dist/check-in/permissions.d.ts +2 -2
  78. package/dist/check-in/schema.d.ts +135 -3
  79. package/dist/check-in/user/dto.schemas.d.ts +144 -15
  80. package/dist/check-in/user/router.d.ts +158 -182
  81. package/dist/check-in/user/service.d.ts +52 -28
  82. package/dist/db/columns.helpers.d.ts +1 -1
  83. package/dist/deposit/admin/dto.schemas.d.ts +40 -40
  84. package/dist/deposit/admin/router.d.ts +160 -160
  85. package/dist/deposit/admin/service.d.ts +46 -46
  86. package/dist/deposit/db.schemas.d.ts +2 -2
  87. package/dist/deposit/errors/index.d.ts +16 -16
  88. package/dist/deposit/permissions.d.ts +2 -2
  89. package/dist/deposit/schema.d.ts +2 -2
  90. package/dist/deposit/user/dto.schemas.d.ts +40 -40
  91. package/dist/deposit/user/router.d.ts +180 -180
  92. package/dist/deposit/user/service.d.ts +69 -69
  93. package/dist/dynamic-env/admin.router.d.ts +137 -137
  94. package/dist/dynamic-env/cache.d.ts +0 -6
  95. package/dist/dynamic-env/errors/index.d.ts +2 -2
  96. package/dist/dynamic-env/schema.d.ts +1 -1
  97. package/dist/env/server.d.ts +12 -12
  98. package/dist/error/index.d.ts +1 -1
  99. package/dist/external/dto.schemas.d.ts +2 -2
  100. package/dist/external/errors/index.d.ts +2 -2
  101. package/dist/external/router.d.ts +6 -6
  102. package/dist/external/service.d.ts +6 -6
  103. package/dist/file-storage/admin/dto.schemas.d.ts +106 -106
  104. package/dist/file-storage/admin/router.d.ts +183 -171
  105. package/dist/file-storage/admin/service.d.ts +27 -27
  106. package/dist/file-storage/db.schemas.d.ts +26 -26
  107. package/dist/file-storage/errors/index.d.ts +10 -10
  108. package/dist/file-storage/internal/service.d.ts +9 -9
  109. package/dist/file-storage/permissions.d.ts +2 -2
  110. package/dist/file-storage/s3.client.d.ts +48 -48
  111. package/dist/file-storage/schema.d.ts +14 -14
  112. package/dist/file-storage/share/dto.schemas.d.ts +8 -8
  113. package/dist/file-storage/share/router.d.ts +145 -145
  114. package/dist/file-storage/user/dto.schemas.d.ts +48 -48
  115. package/dist/file-storage/user/router.d.ts +141 -141
  116. package/dist/file-storage/user/service.d.ts +36 -36
  117. package/dist/index.d.ts +3807 -3791
  118. package/dist/ledger/admin/dto.schemas.d.ts +270 -270
  119. package/dist/ledger/admin/router.d.ts +207 -207
  120. package/dist/ledger/db.schemas.d.ts +4 -4
  121. package/dist/ledger/errors/index.d.ts +14 -14
  122. package/dist/ledger/permissions.d.ts +1 -1
  123. package/dist/ledger/schema.d.ts +3 -3
  124. package/dist/ledger/user/dto.schemas.d.ts +5 -5
  125. package/dist/ledger/user/router.d.ts +130 -130
  126. package/dist/ledger/user/service.d.ts +93 -93
  127. package/dist/ledger-account/admin/dto.schemas.d.ts +83 -83
  128. package/dist/ledger-account/admin/router.d.ts +222 -222
  129. package/dist/ledger-account/admin/service.d.ts +149 -149
  130. package/dist/ledger-account/db.schemas.d.ts +2 -2
  131. package/dist/ledger-account/errors/index.d.ts +9 -9
  132. package/dist/ledger-account/internal/service.d.ts +7 -7
  133. package/dist/ledger-account/permissions.d.ts +1 -1
  134. package/dist/ledger-account/schema.d.ts +2 -2
  135. package/dist/ledger-account/user/dto.schemas.d.ts +23 -23
  136. package/dist/ledger-account/user/router.d.ts +168 -168
  137. package/dist/ledger-account/user/service.d.ts +100 -100
  138. package/dist/ledger-account-import/admin/dto.schemas.d.ts +6 -6
  139. package/dist/ledger-account-import/admin/router.d.ts +169 -169
  140. package/dist/ledger-account-import/admin/service.d.ts +43 -43
  141. package/dist/ledger-account-import/db.schemas.d.ts +4 -4
  142. package/dist/ledger-account-import/errors/index.d.ts +9 -9
  143. package/dist/ledger-account-import/permissions.d.ts +1 -1
  144. package/dist/ledger-account-import/schema.d.ts +4 -4
  145. package/dist/ledger-account-transfer/errors/index.d.ts +7 -7
  146. package/dist/ledger-account-transfer/user/router.d.ts +132 -132
  147. package/dist/ledger-account-type/admin/dto.schemas.d.ts +9 -9
  148. package/dist/ledger-account-type/admin/router.d.ts +157 -157
  149. package/dist/ledger-account-type/admin/service.d.ts +68 -68
  150. package/dist/ledger-account-type/errors/index.d.ts +9 -9
  151. package/dist/ledger-account-type/permissions.d.ts +1 -1
  152. package/dist/ledger-account-type/schema.d.ts +1 -1
  153. package/dist/ledger-account-type/user/dto.schemas.d.ts +9 -9
  154. package/dist/ledger-account-type/user/router.d.ts +133 -133
  155. package/dist/ledger-account-type/user/service.d.ts +34 -34
  156. package/dist/market-data/admin/dto.schemas.d.ts +4 -4
  157. package/dist/market-data/admin/router.d.ts +150 -150
  158. package/dist/market-data/admin/service.d.ts +11 -11
  159. package/dist/market-data/errors/index.d.ts +4 -4
  160. package/dist/market-data/internal/service.d.ts +19 -19
  161. package/dist/market-data/permissions.d.ts +3 -3
  162. package/dist/market-data/resolutions.d.ts +2 -2
  163. package/dist/market-data/schema.d.ts +1 -1
  164. package/dist/market-pricing/admin/dto.schemas.d.ts +88 -88
  165. package/dist/market-pricing/admin/router.d.ts +332 -320
  166. package/dist/market-pricing/admin/service.d.ts +97 -97
  167. package/dist/market-pricing/db.schemas.d.ts +6 -6
  168. package/dist/market-pricing/defaults.d.ts +11 -11
  169. package/dist/market-pricing/errors/index.d.ts +26 -26
  170. package/dist/market-pricing/internal/service.d.ts +3 -3
  171. package/dist/market-pricing/permissions.d.ts +1 -1
  172. package/dist/market-pricing/schema.d.ts +5 -5
  173. package/dist/news/admin/dto.schemas.d.ts +67 -67
  174. package/dist/news/admin/router.d.ts +226 -226
  175. package/dist/news/admin/service.d.ts +89 -89
  176. package/dist/news/db.schemas.d.ts +28 -28
  177. package/dist/news/errors/index.d.ts +5 -5
  178. package/dist/news/permissions.d.ts +1 -1
  179. package/dist/news/schema.d.ts +17 -17
  180. package/dist/news/user/dto.schemas.d.ts +84 -84
  181. package/dist/news/user/router.d.ts +184 -184
  182. package/dist/news/user/service.d.ts +143 -143
  183. package/dist/news-category/admin/dto.schemas.d.ts +10 -10
  184. package/dist/news-category/admin/router.d.ts +24 -24
  185. package/dist/news-category/admin/service.d.ts +15 -15
  186. package/dist/news-category/errors/index.d.ts +6 -6
  187. package/dist/news-category/permissions.d.ts +1 -1
  188. package/dist/news-category/schema.d.ts +1 -1
  189. package/dist/news-category/seed.d.ts +3 -3
  190. package/dist/news-category/user/dto.schemas.d.ts +8 -8
  191. package/dist/news-category/user/router.d.ts +127 -127
  192. package/dist/news-category/user/service.d.ts +10 -10
  193. package/dist/notification/admin/dto.schemas.d.ts +45 -45
  194. package/dist/notification/admin/router.d.ts +155 -155
  195. package/dist/notification/admin/service.d.ts +13 -13
  196. package/dist/notification/db.schemas.d.ts +6 -6
  197. package/dist/notification/errors/index.d.ts +5 -5
  198. package/dist/notification/internal/service.d.ts +7 -7
  199. package/dist/notification/permissions.d.ts +2 -2
  200. package/dist/notification/schema.d.ts +5 -5
  201. package/dist/notification/user/dto.schemas.d.ts +34 -34
  202. package/dist/notification/user/router.d.ts +161 -161
  203. package/dist/notification/user/service.d.ts +38 -38
  204. package/dist/operations-overview/admin/router.d.ts +137 -137
  205. package/dist/portfolio/user/dto.schemas.d.ts +38 -38
  206. package/dist/portfolio/user/router.d.ts +173 -173
  207. package/dist/portfolio/user/service.d.ts +27 -27
  208. package/dist/receipt-method/admin/dto.schemas.d.ts +20 -20
  209. package/dist/receipt-method/admin/router.d.ts +160 -160
  210. package/dist/receipt-method/admin/service.d.ts +46 -46
  211. package/dist/receipt-method/db.schemas.d.ts +2 -2
  212. package/dist/receipt-method/errors/index.d.ts +8 -8
  213. package/dist/receipt-method/permissions.d.ts +1 -1
  214. package/dist/receipt-method/schema.d.ts +2 -2
  215. package/dist/receipt-method/user/dto.schemas.d.ts +6 -6
  216. package/dist/receipt-method/user/router.d.ts +138 -138
  217. package/dist/receipt-method/user/service.d.ts +33 -33
  218. package/dist/referral/admin/dto.schemas.d.ts +6 -6
  219. package/dist/referral/admin/router.d.ts +143 -143
  220. package/dist/referral/errors/index.d.ts +6 -6
  221. package/dist/referral/permissions.d.ts +1 -1
  222. package/dist/referral/schema.d.ts +2 -2
  223. package/dist/referral/user/dto.schemas.d.ts +2 -2
  224. package/dist/referral/user/router.d.ts +137 -137
  225. package/dist/referral-depth-config/admin/dto.schemas.d.ts +1 -1
  226. package/dist/referral-depth-config/admin/router.d.ts +156 -144
  227. package/dist/referral-depth-config/admin/service.d.ts +6 -6
  228. package/dist/referral-depth-config/errors/index.d.ts +2 -2
  229. package/dist/referral-depth-config/permissions.d.ts +1 -1
  230. package/dist/referral-depth-config/schema.d.ts +1 -1
  231. package/dist/server-test/errors/index.d.ts +1 -1
  232. package/dist/server-test/index.d.ts +117 -117
  233. package/dist/shipping-address/admin/router.d.ts +138 -138
  234. package/dist/shipping-address/admin/service.d.ts +5 -5
  235. package/dist/shipping-address/errors/index.d.ts +3 -3
  236. package/dist/shipping-address/permissions.d.ts +1 -1
  237. package/dist/shipping-address/schema.d.ts +1 -1
  238. package/dist/shipping-address/user/dto.schemas.d.ts +4 -4
  239. package/dist/shipping-address/user/router.d.ts +142 -142
  240. package/dist/shipping-address/user/service.d.ts +20 -20
  241. package/dist/team/admin/dto.schemas.d.ts +728 -728
  242. package/dist/team/admin/router.d.ts +187 -187
  243. package/dist/team/errors/index.d.ts +4 -4
  244. package/dist/team/permissions.d.ts +1 -1
  245. package/dist/team/user/dto.schemas.d.ts +206 -206
  246. package/dist/team/user/router.d.ts +170 -170
  247. package/dist/trade-market/admin/dto.schemas.d.ts +365 -365
  248. package/dist/trade-market/admin/router.d.ts +271 -271
  249. package/dist/trade-market/admin/service.d.ts +123 -123
  250. package/dist/trade-market/db.schemas.d.ts +4 -4
  251. package/dist/trade-market/errors/index.d.ts +15 -15
  252. package/dist/trade-market/internal/service.d.ts +141 -141
  253. package/dist/trade-market/permissions.d.ts +2 -2
  254. package/dist/trade-market/schema.d.ts +4 -4
  255. package/dist/trade-market/user/dto.schemas.d.ts +160 -160
  256. package/dist/trade-market/user/router.d.ts +232 -232
  257. package/dist/trade-market/user/service.d.ts +133 -133
  258. package/dist/transfer/admin/router.d.ts +140 -140
  259. package/dist/transfer/admin/service.d.ts +27 -27
  260. package/dist/transfer/errors/index.d.ts +11 -11
  261. package/dist/transfer/permissions.d.ts +1 -1
  262. package/dist/transfer/schema.d.ts +1 -1
  263. package/dist/transfer/user/router.d.ts +140 -140
  264. package/dist/transfer/user/service.d.ts +27 -27
  265. package/dist/udf/router.d.ts +136 -136
  266. package/dist/udf/service.d.ts +1 -1
  267. package/dist/user/admin/dto.schemas.d.ts +363 -363
  268. package/dist/user/admin/router.d.ts +256 -256
  269. package/dist/user/admin/service.d.ts +50 -50
  270. package/dist/user/db.schemas.d.ts +62 -62
  271. package/dist/user/errors/index.d.ts +15 -15
  272. package/dist/user/internal/service.d.ts +8 -8
  273. package/dist/user/permissions.d.ts +3 -3
  274. package/dist/user/schema.d.ts +34 -34
  275. package/dist/user/user/dto.schemas.d.ts +1 -1
  276. package/dist/user/user/router.d.ts +148 -148
  277. package/dist/user/user/service.d.ts +35 -35
  278. package/dist/user-kyc/admin/dto.schemas.d.ts +34 -34
  279. package/dist/user-kyc/admin/router.d.ts +157 -157
  280. package/dist/user-kyc/admin/service.d.ts +20 -20
  281. package/dist/user-kyc/db.schemas.d.ts +46 -46
  282. package/dist/user-kyc/errors/index.d.ts +6 -6
  283. package/dist/user-kyc/permissions.d.ts +2 -2
  284. package/dist/user-kyc/schema.d.ts +25 -25
  285. package/dist/user-kyc/user/dto.schemas.d.ts +13 -13
  286. package/dist/user-kyc/user/router.d.ts +146 -146
  287. package/dist/user-kyc/user/service.d.ts +14 -14
  288. package/dist/user-security/admin/router.d.ts +133 -133
  289. package/dist/user-security/db.schemas.d.ts +20 -20
  290. package/dist/user-security/schema.d.ts +11 -11
  291. package/dist/user-security/user/router.d.ts +129 -129
  292. package/dist/wallet/admin/dto.schemas.d.ts +15 -15
  293. package/dist/wallet/admin/router.d.ts +159 -159
  294. package/dist/wallet/admin/service.d.ts +18 -18
  295. package/dist/wallet/errors/index.d.ts +1 -1
  296. package/dist/wallet/internal/service.d.ts +45 -45
  297. package/dist/wallet/permissions.d.ts +1 -1
  298. package/dist/wallet/schema.d.ts +1 -1
  299. package/dist/wallet/user/dto.schemas.d.ts +10 -10
  300. package/dist/wallet/user/router.d.ts +147 -147
  301. package/dist/wallet/user/service.d.ts +10 -10
  302. package/dist/wallet-type/admin/dto.schemas.d.ts +27 -27
  303. package/dist/wallet-type/admin/router.d.ts +201 -201
  304. package/dist/wallet-type/admin/service.d.ts +22 -22
  305. package/dist/wallet-type/errors/index.d.ts +6 -6
  306. package/dist/wallet-type/internal/service.d.ts +111 -111
  307. package/dist/wallet-type/permissions.d.ts +1 -1
  308. package/dist/wallet-type/schema.d.ts +2 -2
  309. package/dist/wallet-type/user/dto.schemas.d.ts +21 -21
  310. package/dist/wallet-type/user/router.d.ts +137 -137
  311. package/dist/wallet-type/user/service.d.ts +7 -7
  312. package/dist/welfare-cycle/admin/dto.schemas.d.ts +723 -723
  313. package/dist/welfare-cycle/admin/router.d.ts +788 -788
  314. package/dist/welfare-cycle/admin/service.d.ts +706 -706
  315. package/dist/welfare-cycle/db.schemas.d.ts +8 -8
  316. package/dist/welfare-cycle/errors/index.d.ts +18 -18
  317. package/dist/welfare-cycle/internal/service.d.ts +84 -84
  318. package/dist/welfare-cycle/permissions.d.ts +3 -3
  319. package/dist/welfare-cycle/schema.d.ts +8 -8
  320. package/dist/welfare-cycle/user/dto.schemas.d.ts +22 -22
  321. package/dist/welfare-cycle/user/router.d.ts +173 -173
  322. package/dist/welfare-cycle/user/service.d.ts +95 -95
  323. package/dist/withdraw/admin/dto.schemas.d.ts +3 -3
  324. package/dist/withdraw/admin/router.d.ts +171 -171
  325. package/dist/withdraw/admin/service.d.ts +15 -15
  326. package/dist/withdraw/db.schemas.d.ts +2 -2
  327. package/dist/withdraw/errors/index.d.ts +16 -16
  328. package/dist/withdraw/permissions.d.ts +2 -2
  329. package/dist/withdraw/schema.d.ts +2 -2
  330. package/dist/withdraw/user/dto.schemas.d.ts +18 -18
  331. package/dist/withdraw/user/router.d.ts +176 -176
  332. package/dist/withdraw/user/service.d.ts +36 -36
  333. package/package.json +7 -9
@@ -35,13 +35,25 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
35
35
  headers: import("elysia").HTTPHeaders;
36
36
  status?: number | keyof import("elysia").StatusMap;
37
37
  redirect?: string;
38
- cookie?: Record<string, import("elysia/cookies").ElysiaCookie>;
38
+ cookie?: Record<string, {
39
+ domain?: string | undefined;
40
+ expires?: Date | undefined;
41
+ httpOnly?: boolean | undefined;
42
+ maxAge?: number | undefined;
43
+ path?: string | undefined;
44
+ priority?: 'low' | 'medium' | 'high' | undefined;
45
+ partitioned?: boolean | undefined;
46
+ sameSite?: true | false | 'lax' | 'strict' | 'none' | undefined;
47
+ secure?: boolean | undefined;
48
+ secrets?: string | null | (string | null)[];
49
+ value?: unknown;
50
+ }>;
39
51
  };
40
52
  path: string;
41
53
  route: string;
42
54
  request: Request;
43
55
  store: {};
44
- status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 101 | 102 | 103 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 421 | 422 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | 420 ? {
56
+ status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 101 | 102 | 103 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 420 | 421 | 422 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 ? {
45
57
  readonly 100: "Continue";
46
58
  readonly 101: "Switching Protocols";
47
59
  readonly 102: "Processing";
@@ -105,66 +117,66 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
105
117
  readonly 511: "Network Authentication Required";
106
118
  }[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
119
  readonly Continue: 100;
108
- readonly "Switching Protocols": 101;
120
+ readonly 'Switching Protocols': 101;
109
121
  readonly Processing: 102;
110
- readonly "Early Hints": 103;
122
+ readonly 'Early Hints': 103;
111
123
  readonly OK: 200;
112
124
  readonly Created: 201;
113
125
  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;
126
+ readonly 'Non-Authoritative Information': 203;
127
+ readonly 'No Content': 204;
128
+ readonly 'Reset Content': 205;
129
+ readonly 'Partial Content': 206;
130
+ readonly 'Multi-Status': 207;
131
+ readonly 'Already Reported': 208;
132
+ readonly 'Multiple Choices': 300;
133
+ readonly 'Moved Permanently': 301;
122
134
  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;
135
+ readonly 'See Other': 303;
136
+ readonly 'Not Modified': 304;
137
+ readonly 'Temporary Redirect': 307;
138
+ readonly 'Permanent Redirect': 308;
139
+ readonly 'Bad Request': 400;
128
140
  readonly Unauthorized: 401;
129
- readonly "Payment Required": 402;
141
+ readonly 'Payment Required': 402;
130
142
  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;
143
+ readonly 'Not Found': 404;
144
+ readonly 'Method Not Allowed': 405;
145
+ readonly 'Not Acceptable': 406;
146
+ readonly 'Proxy Authentication Required': 407;
147
+ readonly 'Request Timeout': 408;
136
148
  readonly Conflict: 409;
137
149
  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;
150
+ readonly 'Length Required': 411;
151
+ readonly 'Precondition Failed': 412;
152
+ readonly 'Payload Too Large': 413;
153
+ readonly 'URI Too Long': 414;
154
+ readonly 'Unsupported Media Type': 415;
155
+ readonly 'Range Not Satisfiable': 416;
156
+ readonly 'Expectation Failed': 417;
145
157
  readonly "I'm a teapot": 418;
146
- readonly "Enhance Your Calm": 420;
147
- readonly "Misdirected Request": 421;
148
- readonly "Unprocessable Content": 422;
158
+ readonly 'Enhance Your Calm': 420;
159
+ readonly 'Misdirected Request': 421;
160
+ readonly 'Unprocessable Content': 422;
149
161
  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;
162
+ readonly 'Failed Dependency': 424;
163
+ readonly 'Too Early': 425;
164
+ readonly 'Upgrade Required': 426;
165
+ readonly 'Precondition Required': 428;
166
+ readonly 'Too Many Requests': 429;
167
+ readonly 'Request Header Fields Too Large': 431;
168
+ readonly 'Unavailable For Legal Reasons': 451;
169
+ readonly 'Internal Server Error': 500;
170
+ readonly 'Not Implemented': 501;
171
+ readonly 'Bad Gateway': 502;
172
+ readonly 'Service Unavailable': 503;
173
+ readonly 'Gateway Timeout': 504;
174
+ readonly 'HTTP Version Not Supported': 505;
175
+ readonly 'Variant Also Negotiates': 506;
176
+ readonly 'Insufficient Storage': 507;
177
+ readonly 'Loop Detected': 508;
178
+ readonly 'Not Extended': 510;
179
+ readonly 'Network Authentication Required': 511;
168
180
  }[Code] : Code>;
169
181
  }) => Promise<import("elysia").ElysiaCustomStatusResponse<401, any, 401> | {
170
182
  user: {
@@ -174,16 +186,16 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
174
186
  email: string;
175
187
  emailVerified: boolean;
176
188
  name: string;
177
- image?: string | null | undefined | undefined;
178
- twoFactorEnabled: boolean | null | undefined;
179
- username?: string | null | undefined;
189
+ image?: string | null | undefined;
190
+ banExpires?: Date | null | undefined;
191
+ banReason?: string | null | undefined;
192
+ banned: boolean | null | undefined;
180
193
  displayUsername?: string | null | undefined;
181
194
  phoneNumber?: string | null | undefined;
182
195
  phoneNumberVerified?: boolean | null | undefined;
183
- banned: boolean | null | undefined;
184
196
  role?: string | null | undefined;
185
- banReason?: string | null | undefined;
186
- banExpires?: Date | null | undefined;
197
+ twoFactorEnabled: boolean | null | undefined;
198
+ username?: string | null | undefined;
187
199
  };
188
200
  session: {
189
201
  id: string;
@@ -192,8 +204,8 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
192
204
  userId: string;
193
205
  expiresAt: Date;
194
206
  token: string;
195
- ipAddress?: string | null | undefined | undefined;
196
- userAgent?: string | null | undefined | undefined;
207
+ ipAddress?: string | null | undefined;
208
+ userAgent?: string | null | undefined;
197
209
  impersonatedBy?: string | null | undefined;
198
210
  };
199
211
  }>;
@@ -217,7 +229,7 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
217
229
  route: string;
218
230
  request: Request;
219
231
  store: {};
220
- status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 101 | 102 | 103 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 421 | 422 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | 420 ? {
232
+ status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 101 | 102 | 103 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 420 | 421 | 422 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 ? {
221
233
  readonly 100: "Continue";
222
234
  readonly 101: "Switching Protocols";
223
235
  readonly 102: "Processing";
@@ -281,66 +293,66 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
281
293
  readonly 511: "Network Authentication Required";
282
294
  }[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
295
  readonly Continue: 100;
284
- readonly "Switching Protocols": 101;
296
+ readonly 'Switching Protocols': 101;
285
297
  readonly Processing: 102;
286
- readonly "Early Hints": 103;
298
+ readonly 'Early Hints': 103;
287
299
  readonly OK: 200;
288
300
  readonly Created: 201;
289
301
  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;
302
+ readonly 'Non-Authoritative Information': 203;
303
+ readonly 'No Content': 204;
304
+ readonly 'Reset Content': 205;
305
+ readonly 'Partial Content': 206;
306
+ readonly 'Multi-Status': 207;
307
+ readonly 'Already Reported': 208;
308
+ readonly 'Multiple Choices': 300;
309
+ readonly 'Moved Permanently': 301;
298
310
  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;
311
+ readonly 'See Other': 303;
312
+ readonly 'Not Modified': 304;
313
+ readonly 'Temporary Redirect': 307;
314
+ readonly 'Permanent Redirect': 308;
315
+ readonly 'Bad Request': 400;
304
316
  readonly Unauthorized: 401;
305
- readonly "Payment Required": 402;
317
+ readonly 'Payment Required': 402;
306
318
  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;
319
+ readonly 'Not Found': 404;
320
+ readonly 'Method Not Allowed': 405;
321
+ readonly 'Not Acceptable': 406;
322
+ readonly 'Proxy Authentication Required': 407;
323
+ readonly 'Request Timeout': 408;
312
324
  readonly Conflict: 409;
313
325
  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;
326
+ readonly 'Length Required': 411;
327
+ readonly 'Precondition Failed': 412;
328
+ readonly 'Payload Too Large': 413;
329
+ readonly 'URI Too Long': 414;
330
+ readonly 'Unsupported Media Type': 415;
331
+ readonly 'Range Not Satisfiable': 416;
332
+ readonly 'Expectation Failed': 417;
321
333
  readonly "I'm a teapot": 418;
322
- readonly "Enhance Your Calm": 420;
323
- readonly "Misdirected Request": 421;
324
- readonly "Unprocessable Content": 422;
334
+ readonly 'Enhance Your Calm': 420;
335
+ readonly 'Misdirected Request': 421;
336
+ readonly 'Unprocessable Content': 422;
325
337
  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;
338
+ readonly 'Failed Dependency': 424;
339
+ readonly 'Too Early': 425;
340
+ readonly 'Upgrade Required': 426;
341
+ readonly 'Precondition Required': 428;
342
+ readonly 'Too Many Requests': 429;
343
+ readonly 'Request Header Fields Too Large': 431;
344
+ readonly 'Unavailable For Legal Reasons': 451;
345
+ readonly 'Internal Server Error': 500;
346
+ readonly 'Not Implemented': 501;
347
+ readonly 'Bad Gateway': 502;
348
+ readonly 'Service Unavailable': 503;
349
+ readonly 'Gateway Timeout': 504;
350
+ readonly 'HTTP Version Not Supported': 505;
351
+ readonly 'Variant Also Negotiates': 506;
352
+ readonly 'Insufficient Storage': 507;
353
+ readonly 'Loop Detected': 508;
354
+ readonly 'Not Extended': 510;
355
+ readonly 'Network Authentication Required': 511;
344
356
  }[Code] : Code>;
345
357
  }) => Promise<import("elysia").ElysiaCustomStatusResponse<401, any, 401> | import("elysia").ElysiaCustomStatusResponse<403, "Forbidden: Admins only", 403> | {
346
358
  user: {
@@ -350,16 +362,16 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
350
362
  email: string;
351
363
  emailVerified: boolean;
352
364
  name: string;
353
- image?: string | null | undefined | undefined;
354
- twoFactorEnabled: boolean | null | undefined;
355
- username?: string | null | undefined;
365
+ image?: string | null | undefined;
366
+ banExpires?: Date | null | undefined;
367
+ banReason?: string | null | undefined;
368
+ banned: boolean | null | undefined;
356
369
  displayUsername?: string | null | undefined;
357
370
  phoneNumber?: string | null | undefined;
358
371
  phoneNumberVerified?: boolean | null | undefined;
359
- banned: boolean | null | undefined;
360
372
  role?: string | null | undefined;
361
- banReason?: string | null | undefined;
362
- banExpires?: Date | null | undefined;
373
+ twoFactorEnabled: boolean | null | undefined;
374
+ username?: string | null | undefined;
363
375
  };
364
376
  session: {
365
377
  id: string;
@@ -368,8 +380,8 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
368
380
  userId: string;
369
381
  expiresAt: Date;
370
382
  token: string;
371
- ipAddress?: string | null | undefined | undefined;
372
- userAgent?: string | null | undefined | undefined;
383
+ ipAddress?: string | null | undefined;
384
+ userAgent?: string | null | undefined;
373
385
  impersonatedBy?: string | null | undefined;
374
386
  };
375
387
  }>;
@@ -384,6 +396,19 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
384
396
  strategies: {
385
397
  post: {
386
398
  body: {
399
+ basic: {
400
+ name: string;
401
+ baseAssetId: string;
402
+ quoteAssetId?: string | undefined;
403
+ trendMode?: "auto" | "down" | "flat" | "up" | undefined;
404
+ liquiditySession?: "high" | "low" | "normal" | undefined;
405
+ noiseSigmaBps?: string | undefined;
406
+ jumpChanceBps?: string | undefined;
407
+ minPrice?: string | null | undefined;
408
+ maxPrice?: string | null | undefined;
409
+ intervalSeconds?: number | undefined;
410
+ isEnabled?: boolean | undefined;
411
+ };
387
412
  advanced?: {
388
413
  trendDriftUpBps?: string | undefined;
389
414
  trendDriftFlatBps?: string | undefined;
@@ -398,54 +423,12 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
398
423
  meanReversionBps?: string | undefined;
399
424
  roundNumberMagnetBps?: string | undefined;
400
425
  } | undefined;
401
- basic: {
402
- quoteAssetId?: string | undefined;
403
- isEnabled?: boolean | undefined;
404
- trendMode?: "flat" | "up" | "down" | "auto" | undefined;
405
- noiseSigmaBps?: string | undefined;
406
- jumpChanceBps?: string | undefined;
407
- liquiditySession?: "normal" | "low" | "high" | undefined;
408
- minPrice?: string | null | undefined;
409
- maxPrice?: string | null | undefined;
410
- intervalSeconds?: number | undefined;
411
- name: string;
412
- baseAssetId: string;
413
- };
414
426
  };
415
427
  params: {};
416
428
  query: {};
417
429
  headers: {};
418
430
  response: {
419
431
  200: {
420
- id: string;
421
- createdAt: Date;
422
- updatedAt: Date;
423
- baseAsset: {
424
- symbol: string | null;
425
- id: string;
426
- name: string;
427
- createdAt: Date;
428
- updatedAt: Date;
429
- code: string;
430
- iconUrl: string;
431
- category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
432
- isActive: boolean;
433
- typeId: string | null;
434
- precision: number;
435
- };
436
- quoteAsset: {
437
- symbol: string | null;
438
- id: string;
439
- name: string;
440
- createdAt: Date;
441
- updatedAt: Date;
442
- code: string;
443
- iconUrl: string;
444
- category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
445
- isActive: boolean;
446
- typeId: string | null;
447
- precision: number;
448
- };
449
432
  advanced: {
450
433
  trendDriftUpBps: string;
451
434
  trendDriftFlatBps: string;
@@ -460,24 +443,53 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
460
443
  meanReversionBps: string;
461
444
  roundNumberMagnetBps: string;
462
445
  };
446
+ baseAsset: {
447
+ createdAt: Date;
448
+ updatedAt: Date;
449
+ id: string;
450
+ code: string;
451
+ name: string;
452
+ iconUrl: string;
453
+ category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
454
+ typeId: string | null;
455
+ symbol: string | null;
456
+ precision: number;
457
+ isActive: boolean;
458
+ };
463
459
  basic: {
464
460
  name: string;
465
461
  baseAssetId: string;
466
462
  quoteAssetId: string;
467
- isEnabled: boolean;
468
- trendMode: "flat" | "up" | "down" | "auto";
463
+ trendMode: "auto" | "down" | "flat" | "up";
464
+ liquiditySession: "high" | "low" | "normal";
469
465
  noiseSigmaBps: string;
470
466
  jumpChanceBps: string;
471
- liquiditySession: "normal" | "low" | "high";
472
467
  minPrice: string | null;
473
468
  maxPrice: string | null;
474
469
  intervalSeconds: number;
470
+ isEnabled: boolean;
471
+ };
472
+ createdAt: Date;
473
+ id: string;
474
+ quoteAsset: {
475
+ createdAt: Date;
476
+ updatedAt: Date;
477
+ id: string;
478
+ code: string;
479
+ name: string;
480
+ iconUrl: string;
481
+ category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
482
+ typeId: string | null;
483
+ symbol: string | null;
484
+ precision: number;
485
+ isActive: boolean;
475
486
  };
487
+ updatedAt: Date;
476
488
  };
477
489
  401: "Unauthorized";
478
490
  403: "Forbidden: Admins only";
479
491
  422: {
480
- type: "validation";
492
+ type: 'validation';
481
493
  on: string;
482
494
  summary?: string;
483
495
  message?: string;
@@ -495,6 +507,19 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
495
507
  ":id": {
496
508
  patch: {
497
509
  body: {
510
+ basic?: {
511
+ name?: string | undefined;
512
+ baseAssetId?: string | undefined;
513
+ quoteAssetId?: string | undefined;
514
+ trendMode?: "auto" | "down" | "flat" | "up" | undefined;
515
+ liquiditySession?: "high" | "low" | "normal" | undefined;
516
+ noiseSigmaBps?: string | undefined;
517
+ jumpChanceBps?: string | undefined;
518
+ minPrice?: string | null | undefined;
519
+ maxPrice?: string | null | undefined;
520
+ intervalSeconds?: number | undefined;
521
+ isEnabled?: boolean | undefined;
522
+ } | undefined;
498
523
  advanced?: {
499
524
  trendDriftUpBps?: string | undefined;
500
525
  trendDriftFlatBps?: string | undefined;
@@ -509,19 +534,6 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
509
534
  meanReversionBps?: string | undefined;
510
535
  roundNumberMagnetBps?: string | undefined;
511
536
  } | undefined;
512
- basic?: {
513
- name?: string | undefined;
514
- baseAssetId?: string | undefined;
515
- quoteAssetId?: string | undefined;
516
- isEnabled?: boolean | undefined;
517
- trendMode?: "flat" | "up" | "down" | "auto" | undefined;
518
- noiseSigmaBps?: string | undefined;
519
- jumpChanceBps?: string | undefined;
520
- liquiditySession?: "normal" | "low" | "high" | undefined;
521
- minPrice?: string | null | undefined;
522
- maxPrice?: string | null | undefined;
523
- intervalSeconds?: number | undefined;
524
- } | undefined;
525
537
  };
526
538
  params: {
527
539
  id: string;
@@ -530,35 +542,6 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
530
542
  headers: {};
531
543
  response: {
532
544
  200: {
533
- id: string;
534
- createdAt: Date;
535
- updatedAt: Date;
536
- baseAsset: {
537
- symbol: string | null;
538
- id: string;
539
- name: string;
540
- createdAt: Date;
541
- updatedAt: Date;
542
- code: string;
543
- iconUrl: string;
544
- category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
545
- isActive: boolean;
546
- typeId: string | null;
547
- precision: number;
548
- };
549
- quoteAsset: {
550
- symbol: string | null;
551
- id: string;
552
- name: string;
553
- createdAt: Date;
554
- updatedAt: Date;
555
- code: string;
556
- iconUrl: string;
557
- category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
558
- isActive: boolean;
559
- typeId: string | null;
560
- precision: number;
561
- };
562
545
  advanced: {
563
546
  trendDriftUpBps: string;
564
547
  trendDriftFlatBps: string;
@@ -573,24 +556,53 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
573
556
  meanReversionBps: string;
574
557
  roundNumberMagnetBps: string;
575
558
  };
559
+ baseAsset: {
560
+ createdAt: Date;
561
+ updatedAt: Date;
562
+ id: string;
563
+ code: string;
564
+ name: string;
565
+ iconUrl: string;
566
+ category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
567
+ typeId: string | null;
568
+ symbol: string | null;
569
+ precision: number;
570
+ isActive: boolean;
571
+ };
576
572
  basic: {
577
573
  name: string;
578
574
  baseAssetId: string;
579
575
  quoteAssetId: string;
580
- isEnabled: boolean;
581
- trendMode: "flat" | "up" | "down" | "auto";
576
+ trendMode: "auto" | "down" | "flat" | "up";
577
+ liquiditySession: "high" | "low" | "normal";
582
578
  noiseSigmaBps: string;
583
579
  jumpChanceBps: string;
584
- liquiditySession: "normal" | "low" | "high";
585
580
  minPrice: string | null;
586
581
  maxPrice: string | null;
587
582
  intervalSeconds: number;
583
+ isEnabled: boolean;
588
584
  };
585
+ createdAt: Date;
586
+ id: string;
587
+ quoteAsset: {
588
+ createdAt: Date;
589
+ updatedAt: Date;
590
+ id: string;
591
+ code: string;
592
+ name: string;
593
+ iconUrl: string;
594
+ category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
595
+ typeId: string | null;
596
+ symbol: string | null;
597
+ precision: number;
598
+ isActive: boolean;
599
+ };
600
+ updatedAt: Date;
589
601
  };
590
602
  401: "Unauthorized";
591
603
  403: "Forbidden: Admins only";
592
604
  422: {
593
- type: "validation";
605
+ type: 'validation';
594
606
  on: string;
595
607
  summary?: string;
596
608
  message?: string;
@@ -624,8 +636,8 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
624
636
  name: string;
625
637
  baseAssetId: string;
626
638
  quoteAssetId: string;
627
- trendMode: "flat" | "up" | "down" | "auto";
628
- liquiditySession: "normal" | "low" | "high";
639
+ trendMode: "auto" | "down" | "flat" | "up";
640
+ liquiditySession: "high" | "low" | "normal";
629
641
  noiseSigmaBps: string;
630
642
  jumpChanceBps: string;
631
643
  minPrice: string | null;
@@ -648,36 +660,36 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
648
660
  roundNumberMagnetBps: string;
649
661
  };
650
662
  baseAsset: {
651
- symbol: string | null;
652
- id: string;
653
- name: string;
654
- createdAt: Date;
655
- updatedAt: Date;
663
+ category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
656
664
  code: string;
665
+ createdAt: Date;
657
666
  iconUrl: string;
658
- category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
667
+ id: string;
659
668
  isActive: boolean;
660
- typeId: string | null;
669
+ name: string;
661
670
  precision: number;
662
- };
663
- quoteAsset: {
664
671
  symbol: string | null;
665
- id: string;
666
- name: string;
667
- createdAt: Date;
672
+ typeId: string | null;
668
673
  updatedAt: Date;
674
+ };
675
+ quoteAsset: {
676
+ category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
669
677
  code: string;
678
+ createdAt: Date;
670
679
  iconUrl: string;
671
- category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
680
+ id: string;
672
681
  isActive: boolean;
673
- typeId: string | null;
682
+ name: string;
674
683
  precision: number;
684
+ symbol: string | null;
685
+ typeId: string | null;
686
+ updatedAt: Date;
675
687
  };
676
688
  };
677
689
  401: "Unauthorized";
678
690
  403: "Forbidden: Admins only";
679
691
  422: {
680
- type: "validation";
692
+ type: 'validation';
681
693
  on: string;
682
694
  summary?: string;
683
695
  message?: string;
@@ -712,8 +724,8 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
712
724
  name: string;
713
725
  baseAssetId: string;
714
726
  quoteAssetId: string;
715
- trendMode: "flat" | "up" | "down" | "auto";
716
- liquiditySession: "normal" | "low" | "high";
727
+ trendMode: "auto" | "down" | "flat" | "up";
728
+ liquiditySession: "high" | "low" | "normal";
717
729
  noiseSigmaBps: string;
718
730
  jumpChanceBps: string;
719
731
  minPrice: string | null;
@@ -736,36 +748,36 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
736
748
  roundNumberMagnetBps: string;
737
749
  };
738
750
  baseAsset: {
739
- symbol: string | null;
740
- id: string;
741
- name: string;
742
- createdAt: Date;
743
- updatedAt: Date;
751
+ category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
744
752
  code: string;
753
+ createdAt: Date;
745
754
  iconUrl: string;
746
- category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
755
+ id: string;
747
756
  isActive: boolean;
748
- typeId: string | null;
757
+ name: string;
749
758
  precision: number;
750
- };
751
- quoteAsset: {
752
759
  symbol: string | null;
753
- id: string;
754
- name: string;
755
- createdAt: Date;
760
+ typeId: string | null;
756
761
  updatedAt: Date;
762
+ };
763
+ quoteAsset: {
764
+ category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
757
765
  code: string;
766
+ createdAt: Date;
758
767
  iconUrl: string;
759
- category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
768
+ id: string;
760
769
  isActive: boolean;
761
- typeId: string | null;
770
+ name: string;
762
771
  precision: number;
772
+ symbol: string | null;
773
+ typeId: string | null;
774
+ updatedAt: Date;
763
775
  };
764
776
  };
765
777
  401: "Unauthorized";
766
778
  403: "Forbidden: Admins only";
767
779
  422: {
768
- type: "validation";
780
+ type: 'validation';
769
781
  on: string;
770
782
  summary?: string;
771
783
  message?: string;
@@ -787,54 +799,54 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
787
799
  params: {};
788
800
  query: {
789
801
  baseAssetId?: string | undefined;
790
- quoteAssetId?: string | undefined;
791
802
  isEnabled?: boolean | undefined;
792
803
  limit?: number | undefined;
793
804
  offset?: number | undefined;
794
- pageSize?: number | undefined;
795
805
  pageIndex?: number | undefined;
806
+ pageSize?: number | undefined;
807
+ quoteAssetId?: string | undefined;
796
808
  };
797
809
  headers: {};
798
810
  response: {
799
811
  200: {
800
812
  data: {
801
813
  id: string;
802
- baseAsset: {
803
- symbol: string | null;
804
- id: string;
805
- name: string;
806
- code: string;
807
- category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
808
- isActive: boolean;
809
- precision: number;
810
- };
811
- quoteAsset: {
812
- symbol: string | null;
813
- id: string;
814
- name: string;
815
- code: string;
816
- category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
817
- isActive: boolean;
818
- precision: number;
819
- };
820
814
  basic: {
821
815
  name: string;
822
816
  baseAssetId: string;
823
817
  quoteAssetId: string;
824
- isEnabled: boolean;
825
- trendMode: "flat" | "up" | "down" | "auto";
818
+ trendMode: "auto" | "down" | "flat" | "up";
819
+ liquiditySession: "high" | "low" | "normal";
826
820
  noiseSigmaBps: string;
827
821
  jumpChanceBps: string;
828
- liquiditySession: "normal" | "low" | "high";
829
822
  minPrice: string | null;
830
823
  maxPrice: string | null;
831
824
  intervalSeconds: number;
825
+ isEnabled: boolean;
826
+ };
827
+ baseAsset: {
828
+ id: string;
829
+ code: string;
830
+ name: string;
831
+ category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
832
+ symbol: string | null;
833
+ precision: number;
834
+ isActive: boolean;
835
+ };
836
+ quoteAsset: {
837
+ id: string;
838
+ code: string;
839
+ name: string;
840
+ category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
841
+ symbol: string | null;
842
+ precision: number;
843
+ isActive: boolean;
832
844
  };
833
845
  }[];
834
846
  pagination: {
835
- total: number;
836
847
  pageSize: number;
837
848
  pageIndex: number;
849
+ total: number;
838
850
  totalPages: number;
839
851
  hasNextPage: boolean;
840
852
  };
@@ -842,7 +854,7 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
842
854
  401: "Unauthorized";
843
855
  403: "Forbidden: Admins only";
844
856
  422: {
845
- type: "validation";
857
+ type: 'validation';
846
858
  on: string;
847
859
  summary?: string;
848
860
  message?: string;
@@ -867,35 +879,6 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
867
879
  headers: {};
868
880
  response: {
869
881
  200: {
870
- id: string;
871
- createdAt: Date;
872
- updatedAt: Date;
873
- baseAsset: {
874
- symbol: string | null;
875
- id: string;
876
- name: string;
877
- createdAt: Date;
878
- updatedAt: Date;
879
- code: string;
880
- iconUrl: string;
881
- category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
882
- isActive: boolean;
883
- typeId: string | null;
884
- precision: number;
885
- };
886
- quoteAsset: {
887
- symbol: string | null;
888
- id: string;
889
- name: string;
890
- createdAt: Date;
891
- updatedAt: Date;
892
- code: string;
893
- iconUrl: string;
894
- category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
895
- isActive: boolean;
896
- typeId: string | null;
897
- precision: number;
898
- };
899
882
  advanced: {
900
883
  trendDriftUpBps: string;
901
884
  trendDriftFlatBps: string;
@@ -910,24 +893,53 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
910
893
  meanReversionBps: string;
911
894
  roundNumberMagnetBps: string;
912
895
  };
896
+ baseAsset: {
897
+ createdAt: Date;
898
+ updatedAt: Date;
899
+ id: string;
900
+ code: string;
901
+ name: string;
902
+ iconUrl: string;
903
+ category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
904
+ typeId: string | null;
905
+ symbol: string | null;
906
+ precision: number;
907
+ isActive: boolean;
908
+ };
913
909
  basic: {
914
910
  name: string;
915
911
  baseAssetId: string;
916
912
  quoteAssetId: string;
917
- isEnabled: boolean;
918
- trendMode: "flat" | "up" | "down" | "auto";
913
+ trendMode: "auto" | "down" | "flat" | "up";
914
+ liquiditySession: "high" | "low" | "normal";
919
915
  noiseSigmaBps: string;
920
916
  jumpChanceBps: string;
921
- liquiditySession: "normal" | "low" | "high";
922
917
  minPrice: string | null;
923
918
  maxPrice: string | null;
924
919
  intervalSeconds: number;
920
+ isEnabled: boolean;
925
921
  };
922
+ createdAt: Date;
923
+ id: string;
924
+ quoteAsset: {
925
+ createdAt: Date;
926
+ updatedAt: Date;
927
+ id: string;
928
+ code: string;
929
+ name: string;
930
+ iconUrl: string;
931
+ category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
932
+ typeId: string | null;
933
+ symbol: string | null;
934
+ precision: number;
935
+ isActive: boolean;
936
+ };
937
+ updatedAt: Date;
926
938
  };
927
939
  401: "Unauthorized";
928
940
  403: "Forbidden: Admins only";
929
941
  422: {
930
- type: "validation";
942
+ type: 'validation';
931
943
  on: string;
932
944
  summary?: string;
933
945
  message?: string;
@@ -954,15 +966,15 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
954
966
  headers: {};
955
967
  response: {
956
968
  200: {
969
+ strategyId: string;
957
970
  price: string;
958
971
  effectiveAt: Date;
959
972
  created: boolean;
960
- strategyId: string;
961
973
  };
962
974
  401: "Unauthorized";
963
975
  403: "Forbidden: Admins only";
964
976
  422: {
965
- type: "validation";
977
+ type: 'validation';
966
978
  on: string;
967
979
  summary?: string;
968
980
  message?: string;
@@ -993,7 +1005,7 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
993
1005
  401: "Unauthorized";
994
1006
  403: "Forbidden: Admins only";
995
1007
  422: {
996
- type: "validation";
1008
+ type: 'validation';
997
1009
  on: string;
998
1010
  summary?: string;
999
1011
  message?: string;
@@ -1022,16 +1034,16 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
1022
1034
  email: string;
1023
1035
  emailVerified: boolean;
1024
1036
  name: string;
1025
- image?: string | null | undefined | undefined;
1026
- twoFactorEnabled: boolean | null | undefined;
1027
- username?: string | null | undefined;
1037
+ image?: string | null | undefined;
1038
+ banExpires?: Date | null | undefined;
1039
+ banReason?: string | null | undefined;
1040
+ banned: boolean | null | undefined;
1028
1041
  displayUsername?: string | null | undefined;
1029
1042
  phoneNumber?: string | null | undefined;
1030
1043
  phoneNumberVerified?: boolean | null | undefined;
1031
- banned: boolean | null | undefined;
1032
1044
  role?: string | null | undefined;
1033
- banReason?: string | null | undefined;
1034
- banExpires?: Date | null | undefined;
1045
+ twoFactorEnabled: boolean | null | undefined;
1046
+ username?: string | null | undefined;
1035
1047
  };
1036
1048
  session: {
1037
1049
  id: string;
@@ -1040,8 +1052,8 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
1040
1052
  userId: string;
1041
1053
  expiresAt: Date;
1042
1054
  token: string;
1043
- ipAddress?: string | null | undefined | undefined;
1044
- userAgent?: string | null | undefined | undefined;
1055
+ ipAddress?: string | null | undefined;
1056
+ userAgent?: string | null | undefined;
1045
1057
  impersonatedBy?: string | null | undefined;
1046
1058
  };
1047
1059
  } & {
@@ -1052,16 +1064,16 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
1052
1064
  email: string;
1053
1065
  emailVerified: boolean;
1054
1066
  name: string;
1055
- image?: string | null | undefined | undefined;
1056
- twoFactorEnabled: boolean | null | undefined;
1057
- username?: string | null | undefined;
1067
+ image?: string | null | undefined;
1068
+ banExpires?: Date | null | undefined;
1069
+ banReason?: string | null | undefined;
1070
+ banned: boolean | null | undefined;
1058
1071
  displayUsername?: string | null | undefined;
1059
1072
  phoneNumber?: string | null | undefined;
1060
1073
  phoneNumberVerified?: boolean | null | undefined;
1061
- banned: boolean | null | undefined;
1062
1074
  role?: string | null | undefined;
1063
- banReason?: string | null | undefined;
1064
- banExpires?: Date | null | undefined;
1075
+ twoFactorEnabled: boolean | null | undefined;
1076
+ username?: string | null | undefined;
1065
1077
  };
1066
1078
  session: {
1067
1079
  id: string;
@@ -1070,8 +1082,8 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
1070
1082
  userId: string;
1071
1083
  expiresAt: Date;
1072
1084
  token: string;
1073
- ipAddress?: string | null | undefined | undefined;
1074
- userAgent?: string | null | undefined | undefined;
1085
+ ipAddress?: string | null | undefined;
1086
+ userAgent?: string | null | undefined;
1075
1087
  impersonatedBy?: string | null | undefined;
1076
1088
  };
1077
1089
  };