@r2wa-org/eden 0.0.93 → 0.0.99

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (554) hide show
  1. package/dist/admin/index.d.ts +1623 -772
  2. package/dist/asset/admin/router.d.ts +1 -13
  3. package/dist/asset-convert-product/admin/dto.schemas.d.ts +8 -0
  4. package/dist/asset-convert-product/admin/router.d.ts +25 -13
  5. package/dist/asset-convert-product/admin/service.d.ts +12 -12
  6. package/dist/auth/better-auth.d.ts +7 -1
  7. package/dist/auth/i18n/zh.d.ts +100 -0
  8. package/dist/auth/permissions.d.ts +6 -1
  9. package/dist/auth/roles.d.ts +15 -0
  10. package/dist/bank-account/admin/router.d.ts +13 -1
  11. package/dist/check-in/admin/router.d.ts +1 -13
  12. package/dist/content-video/admin/dto.schemas.d.ts +128 -0
  13. package/dist/{src/news → content-video}/admin/router.d.ts +363 -320
  14. package/dist/content-video/admin/service.d.ts +210 -0
  15. package/dist/{src/app-version → content-video}/db.schemas.d.ts +152 -114
  16. package/dist/content-video/errors/index.d.ts +17 -0
  17. package/dist/content-video/errors/locales/zh.d.ts +16 -0
  18. package/dist/{market-data → content-video}/index.d.ts +5 -5
  19. package/dist/content-video/internal/service.d.ts +106 -0
  20. package/dist/content-video/permissions.d.ts +4 -0
  21. package/dist/{src/app-version → content-video}/schema.d.ts +83 -62
  22. package/dist/content-video/user/dto.schemas.d.ts +52 -0
  23. package/dist/{src/asset-type → content-video}/user/router.d.ts +175 -164
  24. package/dist/content-video/user/service.d.ts +36 -0
  25. package/dist/db/schemas.d.ts +2 -0
  26. package/dist/file-storage/admin/dto.schemas.d.ts +4 -0
  27. package/dist/file-storage/admin/router.d.ts +2 -2
  28. package/dist/file-storage/admin/service.d.ts +2 -2
  29. package/dist/file-storage/db.schemas.d.ts +4 -4
  30. package/dist/file-storage/internal/service.d.ts +1 -1
  31. package/dist/file-storage/s3.client.d.ts +22 -0
  32. package/dist/file-storage/schema.d.ts +3 -3
  33. package/dist/file-storage/share/dto.schemas.d.ts +1 -0
  34. package/dist/file-storage/share/router.d.ts +1 -1
  35. package/dist/file-storage/user/dto.schemas.d.ts +6 -4
  36. package/dist/file-storage/user/router.d.ts +3 -3
  37. package/dist/file-storage/user/service.d.ts +2 -2
  38. package/dist/index.d.ts +1693 -648
  39. package/dist/ledger/admin/dto.schemas.d.ts +8 -0
  40. package/dist/ledger/admin/router.d.ts +4 -4
  41. package/dist/ledger/db.schemas.d.ts +8 -8
  42. package/dist/ledger/schema.d.ts +6 -6
  43. package/dist/ledger/user/dto.schemas.d.ts +8 -8
  44. package/dist/ledger/user/router.d.ts +2 -2
  45. package/dist/ledger/user/service.d.ts +2 -2
  46. package/dist/lock-activity/admin/participation.dto.schemas.d.ts +200 -0
  47. package/dist/lock-activity/admin/participation.service.d.ts +144 -0
  48. package/dist/lock-activity/admin/reward.service.d.ts +48 -0
  49. package/dist/lock-activity/admin/router.d.ts +443 -0
  50. package/dist/lock-activity/constants.d.ts +2 -0
  51. package/dist/lock-activity/cron.d.ts +6 -0
  52. package/dist/lock-activity/errors/index.d.ts +11 -0
  53. package/dist/lock-activity/errors/locales/zh.d.ts +11 -0
  54. package/dist/lock-activity/internal/participation.service.d.ts +42 -0
  55. package/dist/lock-activity/internal/reward.service.d.ts +15 -0
  56. package/dist/{src/referral/db.schemas.d.ts → lock-activity/participation.db.schemas.d.ts} +157 -129
  57. package/dist/{src/referral/schema.d.ts → lock-activity/participation.schema.d.ts} +89 -85
  58. package/dist/lock-activity/permissions.d.ts +1 -0
  59. package/dist/lock-activity/user/participation.dto.schemas.d.ts +25 -0
  60. package/dist/lock-activity/user/participation.service.d.ts +24 -0
  61. package/dist/lock-activity/user/router.d.ts +93 -1
  62. package/dist/news/admin/dto.schemas.d.ts +26 -26
  63. package/dist/news/admin/router.d.ts +25 -25
  64. package/dist/news/admin/service.d.ts +4 -1
  65. package/dist/news/user/service.d.ts +2 -2
  66. package/dist/referral/index.d.ts +1 -0
  67. package/dist/referral/user/router.d.ts +29 -1
  68. package/dist/user/internal/avatar.service.d.ts +42 -0
  69. package/dist/user-security/admin/router.d.ts +1 -13
  70. package/package.json +1 -1
  71. package/dist/market-data/user/dto.schemas.d.ts +0 -370
  72. package/dist/market-data/user/router.d.ts +0 -693
  73. package/dist/market-data/user/service.d.ts +0 -41
  74. package/dist/src/admin/index.d.ts +0 -10428
  75. package/dist/src/admin-user/admin/dto.schemas.d.ts +0 -878
  76. package/dist/src/admin-user/admin/errors/index.d.ts +0 -20
  77. package/dist/src/admin-user/admin/errors/locales/zh.d.ts +0 -16
  78. package/dist/src/admin-user/admin/router.d.ts +0 -655
  79. package/dist/src/admin-user/admin/service.d.ts +0 -60
  80. package/dist/src/app-version/admin/dto.schemas.d.ts +0 -99
  81. package/dist/src/app-version/admin/router.d.ts +0 -756
  82. package/dist/src/app-version/admin/service.d.ts +0 -105
  83. package/dist/src/asset/admin/dto.schemas.d.ts +0 -164
  84. package/dist/src/asset/admin/router.d.ts +0 -762
  85. package/dist/src/asset/admin/service.d.ts +0 -144
  86. package/dist/src/asset/db.schemas.d.ts +0 -380
  87. package/dist/src/asset/errors/index.d.ts +0 -33
  88. package/dist/src/asset/errors/locales/zh.d.ts +0 -20
  89. package/dist/src/asset/index.d.ts +0 -11
  90. package/dist/src/asset/internal/service.d.ts +0 -16
  91. package/dist/src/asset/permissions.d.ts +0 -4
  92. package/dist/src/asset/schema.d.ts +0 -209
  93. package/dist/src/asset/seed.d.ts +0 -1
  94. package/dist/src/asset/user/dto.schemas.d.ts +0 -78
  95. package/dist/src/asset/user/router.d.ts +0 -567
  96. package/dist/src/asset/user/service.d.ts +0 -75
  97. package/dist/src/asset-convert-product/admin/dto.schemas.d.ts +0 -823
  98. package/dist/src/asset-convert-product/admin/router.d.ts +0 -1586
  99. package/dist/src/asset-convert-product/admin/service.d.ts +0 -814
  100. package/dist/src/asset-convert-product/db.schemas.d.ts +0 -1270
  101. package/dist/src/asset-convert-product/errors/index.d.ts +0 -32
  102. package/dist/src/asset-convert-product/errors/locales/zh.d.ts +0 -31
  103. package/dist/src/asset-convert-product/index.d.ts +0 -8
  104. package/dist/src/asset-convert-product/internal/service.d.ts +0 -2
  105. package/dist/src/asset-convert-product/permissions.d.ts +0 -5
  106. package/dist/src/asset-convert-product/schema.d.ts +0 -688
  107. package/dist/src/asset-convert-product/user/dto.schemas.d.ts +0 -1089
  108. package/dist/src/asset-convert-product/user/router.d.ts +0 -797
  109. package/dist/src/asset-convert-product/user/service.d.ts +0 -413
  110. package/dist/src/asset-price/admin/dto.schemas.d.ts +0 -102
  111. package/dist/src/asset-price/admin/router.d.ts +0 -658
  112. package/dist/src/asset-price/admin/service.d.ts +0 -82
  113. package/dist/src/asset-price/constants.d.ts +0 -2
  114. package/dist/src/asset-price/db.schemas.d.ts +0 -358
  115. package/dist/src/asset-price/errors/index.d.ts +0 -20
  116. package/dist/src/asset-price/errors/locales/zh.d.ts +0 -19
  117. package/dist/src/asset-price/index.d.ts +0 -12
  118. package/dist/src/asset-price/internal/service.d.ts +0 -14
  119. package/dist/src/asset-price/permissions.d.ts +0 -6
  120. package/dist/src/asset-price/schema.d.ts +0 -191
  121. package/dist/src/asset-price/seed.d.ts +0 -1
  122. package/dist/src/asset-price/user/dto.schemas.d.ts +0 -45
  123. package/dist/src/asset-price/user/router.d.ts +0 -512
  124. package/dist/src/asset-price/user/service.d.ts +0 -26
  125. package/dist/src/asset-type/admin/dto.schemas.d.ts +0 -404
  126. package/dist/src/asset-type/admin/router.d.ts +0 -617
  127. package/dist/src/asset-type/admin/service.d.ts +0 -45
  128. package/dist/src/asset-type/db.schemas.d.ts +0 -244
  129. package/dist/src/asset-type/errors/index.d.ts +0 -27
  130. package/dist/src/asset-type/errors/locales/zh.d.ts +0 -17
  131. package/dist/src/asset-type/index.d.ts +0 -11
  132. package/dist/src/asset-type/internal/service.d.ts +0 -9
  133. package/dist/src/asset-type/permissions.d.ts +0 -4
  134. package/dist/src/asset-type/schema.d.ts +0 -133
  135. package/dist/src/asset-type/seed.d.ts +0 -19
  136. package/dist/src/asset-type/user/dto.schemas.d.ts +0 -35
  137. package/dist/src/asset-type/user/service.d.ts +0 -18
  138. package/dist/src/auth/better-auth.d.ts +0 -3312
  139. package/dist/src/auth/better-hooks.d.ts +0 -23
  140. package/dist/src/auth/db.schemas.d.ts +0 -1696
  141. package/dist/src/auth/permissions.d.ts +0 -235
  142. package/dist/src/auth/roles.d.ts +0 -725
  143. package/dist/src/auth/router.d.ts +0 -385
  144. package/dist/src/auth/schema.d.ts +0 -882
  145. package/dist/src/bank-account/admin/dto.schemas.d.ts +0 -524
  146. package/dist/src/bank-account/admin/router.d.ts +0 -909
  147. package/dist/src/bank-account/admin/service.d.ts +0 -221
  148. package/dist/src/bank-account/db.schemas.d.ts +0 -1032
  149. package/dist/src/bank-account/errors/index.d.ts +0 -13
  150. package/dist/src/bank-account/errors/locales/zh.d.ts +0 -12
  151. package/dist/src/bank-account/index.d.ts +0 -8
  152. package/dist/src/bank-account/internal/service.d.ts +0 -51
  153. package/dist/src/bank-account/permissions.d.ts +0 -10
  154. package/dist/src/bank-account/schema.d.ts +0 -535
  155. package/dist/src/bank-account/seed.d.ts +0 -4
  156. package/dist/src/bank-account/user/dto.schemas.d.ts +0 -458
  157. package/dist/src/bank-account/user/router.d.ts +0 -680
  158. package/dist/src/bank-account/user/service.d.ts +0 -133
  159. package/dist/src/check-in/admin/dto.schemas.d.ts +0 -312
  160. package/dist/src/check-in/admin/router.d.ts +0 -526
  161. package/dist/src/check-in/admin/service.d.ts +0 -38
  162. package/dist/src/check-in/db.schemas.d.ts +0 -312
  163. package/dist/src/check-in/errors/index.d.ts +0 -13
  164. package/dist/src/check-in/errors/locales/zh.d.ts +0 -10
  165. package/dist/src/check-in/index.d.ts +0 -7
  166. package/dist/src/check-in/internal/service.d.ts +0 -51
  167. package/dist/src/check-in/permissions.d.ts +0 -6
  168. package/dist/src/check-in/schema.d.ts +0 -168
  169. package/dist/src/check-in/user/dto.schemas.d.ts +0 -503
  170. package/dist/src/check-in/user/router.d.ts +0 -615
  171. package/dist/src/check-in/user/service.d.ts +0 -49
  172. package/dist/src/cors/index.d.ts +0 -30
  173. package/dist/src/cron/index.d.ts +0 -10
  174. package/dist/src/db/columns.helpers.d.ts +0 -13
  175. package/dist/src/db/enums.d.ts +0 -1
  176. package/dist/src/db/index.d.ts +0 -4
  177. package/dist/src/db/schemas.d.ts +0 -34
  178. package/dist/src/db/transaction.d.ts +0 -3
  179. package/dist/src/db/typebox.d.ts +0 -19
  180. package/dist/src/deposit/admin/dto.schemas.d.ts +0 -649
  181. package/dist/src/deposit/admin/router.d.ts +0 -638
  182. package/dist/src/deposit/admin/service.d.ts +0 -127
  183. package/dist/src/deposit/db.schemas.d.ts +0 -652
  184. package/dist/src/deposit/errors/index.d.ts +0 -45
  185. package/dist/src/deposit/errors/locales/zh.d.ts +0 -24
  186. package/dist/src/deposit/index.d.ts +0 -7
  187. package/dist/src/deposit/internal/service.d.ts +0 -8
  188. package/dist/src/deposit/permissions.d.ts +0 -9
  189. package/dist/src/deposit/schema.d.ts +0 -340
  190. package/dist/src/deposit/user/dto.schemas.d.ts +0 -655
  191. package/dist/src/deposit/user/router.d.ts +0 -681
  192. package/dist/src/deposit/user/service.d.ts +0 -148
  193. package/dist/src/dynamic-env/admin.router.d.ts +0 -620
  194. package/dist/src/dynamic-env/cache.d.ts +0 -35
  195. package/dist/src/dynamic-env/db.schemas.d.ts +0 -182
  196. package/dist/src/dynamic-env/dto.schema.d.ts +0 -17
  197. package/dist/src/dynamic-env/errors/index.d.ts +0 -11
  198. package/dist/src/dynamic-env/errors/locales/zh.d.ts +0 -10
  199. package/dist/src/dynamic-env/index.d.ts +0 -3
  200. package/dist/src/dynamic-env/schema.d.ts +0 -96
  201. package/dist/src/dynamic-env/service.d.ts +0 -93
  202. package/dist/src/email/index.d.ts +0 -2
  203. package/dist/src/env/client.d.ts +0 -2
  204. package/dist/src/env/index.d.ts +0 -2
  205. package/dist/src/env/server.d.ts +0 -50
  206. package/dist/src/env/typebox-env.d.ts +0 -7
  207. package/dist/src/error/errorcode.d.ts +0 -9
  208. package/dist/src/error/index.d.ts +0 -120
  209. package/dist/src/error/locales/zh.d.ts +0 -2
  210. package/dist/src/error/messages.d.ts +0 -10
  211. package/dist/src/external/dto.schemas.d.ts +0 -173
  212. package/dist/src/external/errors/index.d.ts +0 -13
  213. package/dist/src/external/errors/locales/zh.d.ts +0 -10
  214. package/dist/src/external/index.d.ts +0 -4
  215. package/dist/src/external/router.d.ts +0 -105
  216. package/dist/src/external/service.d.ts +0 -31
  217. package/dist/src/file-storage/admin/dto.schemas.d.ts +0 -209
  218. package/dist/src/file-storage/admin/router.d.ts +0 -598
  219. package/dist/src/file-storage/admin/service.d.ts +0 -89
  220. package/dist/src/file-storage/db.schemas.d.ts +0 -1026
  221. package/dist/src/file-storage/errors/index.d.ts +0 -19
  222. package/dist/src/file-storage/errors/locales/zh.d.ts +0 -18
  223. package/dist/src/file-storage/index.d.ts +0 -7
  224. package/dist/src/file-storage/internal/service.d.ts +0 -66
  225. package/dist/src/file-storage/permissions.d.ts +0 -5
  226. package/dist/src/file-storage/s3.client.d.ts +0 -284
  227. package/dist/src/file-storage/schema.d.ts +0 -538
  228. package/dist/src/file-storage/share/dto.schemas.d.ts +0 -68
  229. package/dist/src/file-storage/share/router.d.ts +0 -561
  230. package/dist/src/file-storage/user/dto.schemas.d.ts +0 -1100
  231. package/dist/src/file-storage/user/router.d.ts +0 -585
  232. package/dist/src/file-storage/user/service.d.ts +0 -80
  233. package/dist/src/http-access-log.d.ts +0 -30
  234. package/dist/src/index.d.ts +0 -16262
  235. package/dist/src/ledger/admin/dto.schemas.d.ts +0 -461
  236. package/dist/src/ledger/admin/router.d.ts +0 -608
  237. package/dist/src/ledger/admin/service.d.ts +0 -22
  238. package/dist/src/ledger/db.schemas.d.ts +0 -694
  239. package/dist/src/ledger/errors/index.d.ts +0 -38
  240. package/dist/src/ledger/errors/locales/zh.d.ts +0 -22
  241. package/dist/src/ledger/index.d.ts +0 -6
  242. package/dist/src/ledger/internal/service.d.ts +0 -36
  243. package/dist/src/ledger/permissions.d.ts +0 -8
  244. package/dist/src/ledger/schema.d.ts +0 -365
  245. package/dist/src/ledger/user/dto.schemas.d.ts +0 -712
  246. package/dist/src/ledger/user/router.d.ts +0 -487
  247. package/dist/src/ledger/user/service.d.ts +0 -146
  248. package/dist/src/ledger-account/admin/dto.schemas.d.ts +0 -258
  249. package/dist/src/ledger-account/admin/router.d.ts +0 -757
  250. package/dist/src/ledger-account/admin/service.d.ts +0 -238
  251. package/dist/src/ledger-account/db.schemas.d.ts +0 -346
  252. package/dist/src/ledger-account/errors/index.d.ts +0 -18
  253. package/dist/src/ledger-account/errors/locales/zh.d.ts +0 -17
  254. package/dist/src/ledger-account/index.d.ts +0 -8
  255. package/dist/src/ledger-account/internal/service.d.ts +0 -44
  256. package/dist/src/ledger-account/permissions.d.ts +0 -4
  257. package/dist/src/ledger-account/schema.d.ts +0 -190
  258. package/dist/src/ledger-account/user/dto.schemas.d.ts +0 -590
  259. package/dist/src/ledger-account/user/router.d.ts +0 -602
  260. package/dist/src/ledger-account/user/service.d.ts +0 -154
  261. package/dist/src/ledger-account-import/admin/dto.schemas.d.ts +0 -1255
  262. package/dist/src/ledger-account-import/admin/router.d.ts +0 -691
  263. package/dist/src/ledger-account-import/admin/service.d.ts +0 -92
  264. package/dist/src/ledger-account-import/db.schemas.d.ts +0 -1206
  265. package/dist/src/ledger-account-import/errors/index.d.ts +0 -18
  266. package/dist/src/ledger-account-import/errors/locales/zh.d.ts +0 -17
  267. package/dist/src/ledger-account-import/index.d.ts +0 -8
  268. package/dist/src/ledger-account-import/internal/service.d.ts +0 -13
  269. package/dist/src/ledger-account-import/permissions.d.ts +0 -7
  270. package/dist/src/ledger-account-import/schema.d.ts +0 -636
  271. package/dist/src/ledger-account-import/user/service.d.ts +0 -3
  272. package/dist/src/ledger-account-import/worker.d.ts +0 -1
  273. package/dist/src/ledger-account-transfer/admin/service.d.ts +0 -3
  274. package/dist/src/ledger-account-transfer/errors/index.d.ts +0 -23
  275. package/dist/src/ledger-account-transfer/errors/locales/zh.d.ts +0 -15
  276. package/dist/src/ledger-account-transfer/index.d.ts +0 -6
  277. package/dist/src/ledger-account-transfer/internal/service.d.ts +0 -8
  278. package/dist/src/ledger-account-transfer/user/dto.schemas.d.ts +0 -20
  279. package/dist/src/ledger-account-transfer/user/router.d.ts +0 -466
  280. package/dist/src/ledger-account-transfer/user/service.d.ts +0 -16
  281. package/dist/src/ledger-account-type/admin/dto.schemas.d.ts +0 -509
  282. package/dist/src/ledger-account-type/admin/router.d.ts +0 -708
  283. package/dist/src/ledger-account-type/admin/service.d.ts +0 -109
  284. package/dist/src/ledger-account-type/db.schemas.d.ts +0 -788
  285. package/dist/src/ledger-account-type/errors/index.d.ts +0 -18
  286. package/dist/src/ledger-account-type/errors/locales/zh.d.ts +0 -17
  287. package/dist/src/ledger-account-type/index.d.ts +0 -9
  288. package/dist/src/ledger-account-type/internal/service.d.ts +0 -8
  289. package/dist/src/ledger-account-type/permissions.d.ts +0 -4
  290. package/dist/src/ledger-account-type/schema.d.ts +0 -405
  291. package/dist/src/ledger-account-type/seed.d.ts +0 -1
  292. package/dist/src/ledger-account-type/user/dto.schemas.d.ts +0 -509
  293. package/dist/src/ledger-account-type/user/router.d.ts +0 -534
  294. package/dist/src/ledger-account-type/user/service.d.ts +0 -59
  295. package/dist/src/market-data/admin/dto.schemas.d.ts +0 -824
  296. package/dist/src/market-data/admin/router.d.ts +0 -632
  297. package/dist/src/market-data/admin/service.d.ts +0 -78
  298. package/dist/src/market-data/cron.d.ts +0 -6
  299. package/dist/src/market-data/db.schemas.d.ts +0 -516
  300. package/dist/src/market-data/errors/index.d.ts +0 -13
  301. package/dist/src/market-data/errors/locales/zh.d.ts +0 -12
  302. package/dist/src/market-data/index.d.ts +0 -8
  303. package/dist/src/market-data/internal/service.d.ts +0 -77
  304. package/dist/src/market-data/permissions.d.ts +0 -6
  305. package/dist/src/market-data/schema.d.ts +0 -270
  306. package/dist/src/market-data/user/dto.schemas.d.ts +0 -370
  307. package/dist/src/market-data/user/router.d.ts +0 -693
  308. package/dist/src/market-data/user/service.d.ts +0 -41
  309. package/dist/src/market-pricing/admin/dto.schemas.d.ts +0 -860
  310. package/dist/src/market-pricing/admin/router.d.ts +0 -988
  311. package/dist/src/market-pricing/admin/service.d.ts +0 -286
  312. package/dist/src/market-pricing/cron.d.ts +0 -6
  313. package/dist/src/market-pricing/db.schemas.d.ts +0 -828
  314. package/dist/src/market-pricing/errors/index.d.ts +0 -14
  315. package/dist/src/market-pricing/errors/locales/zh.d.ts +0 -13
  316. package/dist/src/market-pricing/internal/service.d.ts +0 -35
  317. package/dist/src/market-pricing/permissions.d.ts +0 -4
  318. package/dist/src/market-pricing/schema.d.ts +0 -434
  319. package/dist/src/nanoid/index.d.ts +0 -2
  320. package/dist/src/news/admin/dto.schemas.d.ts +0 -159
  321. package/dist/src/news/admin/service.d.ts +0 -221
  322. package/dist/src/news/db.schemas.d.ts +0 -1150
  323. package/dist/src/news/errors/index.d.ts +0 -20
  324. package/dist/src/news/errors/locales/zh.d.ts +0 -13
  325. package/dist/src/news/index.d.ts +0 -7
  326. package/dist/src/news/internal/service.d.ts +0 -7
  327. package/dist/src/news/permissions.d.ts +0 -4
  328. package/dist/src/news/schema.d.ts +0 -616
  329. package/dist/src/news/user/dto.schemas.d.ts +0 -178
  330. package/dist/src/news/user/router.d.ts +0 -617
  331. package/dist/src/news/user/service.d.ts +0 -228
  332. package/dist/src/news-category/admin/dto.schemas.d.ts +0 -52
  333. package/dist/src/news-category/admin/router.d.ts +0 -204
  334. package/dist/src/news-category/admin/service.d.ts +0 -55
  335. package/dist/src/news-category/constants.d.ts +0 -1
  336. package/dist/src/news-category/db.schemas.d.ts +0 -324
  337. package/dist/src/news-category/errors/index.d.ts +0 -21
  338. package/dist/src/news-category/errors/locales/zh.d.ts +0 -14
  339. package/dist/src/news-category/index.d.ts +0 -8
  340. package/dist/src/news-category/internal/service.d.ts +0 -5
  341. package/dist/src/news-category/permissions.d.ts +0 -4
  342. package/dist/src/news-category/schema.d.ts +0 -173
  343. package/dist/src/news-category/seed.d.ts +0 -12
  344. package/dist/src/news-category/user/dto.schemas.d.ts +0 -55
  345. package/dist/src/news-category/user/router.d.ts +0 -457
  346. package/dist/src/news-category/user/service.d.ts +0 -25
  347. package/dist/src/notification/admin/dto.schemas.d.ts +0 -432
  348. package/dist/src/notification/admin/router.d.ts +0 -576
  349. package/dist/src/notification/admin/service.d.ts +0 -43
  350. package/dist/src/notification/db.schemas.d.ts +0 -624
  351. package/dist/src/notification/errors/index.d.ts +0 -19
  352. package/dist/src/notification/errors/locales/zh.d.ts +0 -13
  353. package/dist/src/notification/index.d.ts +0 -7
  354. package/dist/src/notification/internal/service.d.ts +0 -28
  355. package/dist/src/notification/permissions.d.ts +0 -6
  356. package/dist/src/notification/schema.d.ts +0 -347
  357. package/dist/src/notification/user/dto.schemas.d.ts +0 -411
  358. package/dist/src/notification/user/router.d.ts +0 -632
  359. package/dist/src/notification/user/service.d.ts +0 -82
  360. package/dist/src/operations-overview/admin/dto.schemas.d.ts +0 -41
  361. package/dist/src/operations-overview/admin/router.d.ts +0 -517
  362. package/dist/src/operations-overview/admin/service.d.ts +0 -4
  363. package/dist/src/portfolio/index.d.ts +0 -2
  364. package/dist/src/portfolio/internal/index.d.ts +0 -1
  365. package/dist/src/portfolio/internal/service.d.ts +0 -5
  366. package/dist/src/portfolio/user/dto.schemas.d.ts +0 -352
  367. package/dist/src/portfolio/user/index.d.ts +0 -3
  368. package/dist/src/portfolio/user/router.d.ts +0 -659
  369. package/dist/src/portfolio/user/service.d.ts +0 -143
  370. package/dist/src/receipt-method/admin/dto.schemas.d.ts +0 -62
  371. package/dist/src/receipt-method/admin/router.d.ts +0 -592
  372. package/dist/src/receipt-method/admin/service.d.ts +0 -82
  373. package/dist/src/receipt-method/db.schemas.d.ts +0 -380
  374. package/dist/src/receipt-method/errors/index.d.ts +0 -17
  375. package/dist/src/receipt-method/errors/locales/zh.d.ts +0 -16
  376. package/dist/src/receipt-method/index.d.ts +0 -7
  377. package/dist/src/receipt-method/internal/service.d.ts +0 -33
  378. package/dist/src/receipt-method/permissions.d.ts +0 -4
  379. package/dist/src/receipt-method/schema.d.ts +0 -205
  380. package/dist/src/receipt-method/user/dto.schemas.d.ts +0 -417
  381. package/dist/src/receipt-method/user/router.d.ts +0 -602
  382. package/dist/src/receipt-method/user/service.d.ts +0 -73
  383. package/dist/src/referral/admin/dto.schemas.d.ts +0 -597
  384. package/dist/src/referral/admin/router.d.ts +0 -553
  385. package/dist/src/referral/admin/service.d.ts +0 -6
  386. package/dist/src/referral/errors/index.d.ts +0 -15
  387. package/dist/src/referral/errors/locales/zh.d.ts +0 -14
  388. package/dist/src/referral/index.d.ts +0 -9
  389. package/dist/src/referral/internal/service.d.ts +0 -23
  390. package/dist/src/referral/permissions.d.ts +0 -8
  391. package/dist/src/referral/user/dto.schemas.d.ts +0 -602
  392. package/dist/src/referral/user/router.d.ts +0 -578
  393. package/dist/src/referral/user/service.d.ts +0 -21
  394. package/dist/src/referral-depth-config/admin/dto.schemas.d.ts +0 -203
  395. package/dist/src/referral-depth-config/admin/router.d.ts +0 -643
  396. package/dist/src/referral-depth-config/admin/service.d.ts +0 -38
  397. package/dist/src/referral-depth-config/db.schemas.d.ts +0 -176
  398. package/dist/src/referral-depth-config/errors/index.d.ts +0 -11
  399. package/dist/src/referral-depth-config/errors/locales/zh.d.ts +0 -10
  400. package/dist/src/referral-depth-config/internal/service.d.ts +0 -4
  401. package/dist/src/referral-depth-config/permissions.d.ts +0 -8
  402. package/dist/src/referral-depth-config/schema.d.ts +0 -99
  403. package/dist/src/server-test/errors/index.d.ts +0 -10
  404. package/dist/src/server-test/errors/locales/zh.d.ts +0 -9
  405. package/dist/src/server-test/index.d.ts +0 -486
  406. package/dist/src/shipping-address/admin/dto.schemas.d.ts +0 -289
  407. package/dist/src/shipping-address/admin/router.d.ts +0 -504
  408. package/dist/src/shipping-address/admin/service.d.ts +0 -17
  409. package/dist/src/shipping-address/db.schemas.d.ts +0 -278
  410. package/dist/src/shipping-address/errors/index.d.ts +0 -12
  411. package/dist/src/shipping-address/errors/locales/zh.d.ts +0 -11
  412. package/dist/src/shipping-address/index.d.ts +0 -7
  413. package/dist/src/shipping-address/internal/service.d.ts +0 -15
  414. package/dist/src/shipping-address/permissions.d.ts +0 -4
  415. package/dist/src/shipping-address/schema.d.ts +0 -150
  416. package/dist/src/shipping-address/user/dto.schemas.d.ts +0 -303
  417. package/dist/src/shipping-address/user/router.d.ts +0 -621
  418. package/dist/src/shipping-address/user/service.d.ts +0 -68
  419. package/dist/src/sms/index.d.ts +0 -5
  420. package/dist/src/team/admin/dto.schemas.d.ts +0 -2198
  421. package/dist/src/team/admin/router.d.ts +0 -646
  422. package/dist/src/team/admin/service.d.ts +0 -6
  423. package/dist/src/team/errors/index.d.ts +0 -13
  424. package/dist/src/team/errors/locales/zh.d.ts +0 -12
  425. package/dist/src/team/index.d.ts +0 -8
  426. package/dist/src/team/internal/service.d.ts +0 -6
  427. package/dist/src/team/permissions.d.ts +0 -7
  428. package/dist/src/team/user/dto.schemas.d.ts +0 -1987
  429. package/dist/src/team/user/router.d.ts +0 -734
  430. package/dist/src/team/user/service.d.ts +0 -10
  431. package/dist/src/trade-market/admin/dto.schemas.d.ts +0 -4764
  432. package/dist/src/trade-market/admin/router.d.ts +0 -1334
  433. package/dist/src/trade-market/admin/service.d.ts +0 -646
  434. package/dist/src/trade-market/db.schemas.d.ts +0 -1338
  435. package/dist/src/trade-market/errors/index.d.ts +0 -23
  436. package/dist/src/trade-market/errors/locales/zh.d.ts +0 -22
  437. package/dist/src/trade-market/index.d.ts +0 -8
  438. package/dist/src/trade-market/internal/service.d.ts +0 -564
  439. package/dist/src/trade-market/permissions.d.ts +0 -5
  440. package/dist/src/trade-market/schema.d.ts +0 -708
  441. package/dist/src/trade-market/user/dto.schemas.d.ts +0 -1394
  442. package/dist/src/trade-market/user/router.d.ts +0 -754
  443. package/dist/src/trade-market/user/service.d.ts +0 -471
  444. package/dist/src/transfer/admin/dto.schemas.d.ts +0 -396
  445. package/dist/src/transfer/admin/router.d.ts +0 -506
  446. package/dist/src/transfer/admin/service.d.ts +0 -56
  447. package/dist/src/transfer/db.schemas.d.ts +0 -386
  448. package/dist/src/transfer/errors/index.d.ts +0 -32
  449. package/dist/src/transfer/errors/locales/zh.d.ts +0 -19
  450. package/dist/src/transfer/index.d.ts +0 -11
  451. package/dist/src/transfer/internal/service.d.ts +0 -8
  452. package/dist/src/transfer/permissions.d.ts +0 -8
  453. package/dist/src/transfer/schema.d.ts +0 -204
  454. package/dist/src/transfer/user/dto.schemas.d.ts +0 -416
  455. package/dist/src/transfer/user/router.d.ts +0 -514
  456. package/dist/src/transfer/user/service.d.ts +0 -67
  457. package/dist/src/user/admin/dto.schemas.d.ts +0 -1439
  458. package/dist/src/user/admin/router.d.ts +0 -853
  459. package/dist/src/user/admin/service.d.ts +0 -164
  460. package/dist/src/user/db.schemas.d.ts +0 -1038
  461. package/dist/src/user/errors/index.d.ts +0 -40
  462. package/dist/src/user/errors/locales/zh.d.ts +0 -23
  463. package/dist/src/user/index.d.ts +0 -9
  464. package/dist/src/user/internal/service.d.ts +0 -22
  465. package/dist/src/user/permissions.d.ts +0 -7
  466. package/dist/src/user/schema.d.ts +0 -541
  467. package/dist/src/user/user/dto.schemas.d.ts +0 -14
  468. package/dist/src/user/user/router.d.ts +0 -558
  469. package/dist/src/user/user/service.d.ts +0 -89
  470. package/dist/src/user-kyc/admin/dto.schemas.d.ts +0 -625
  471. package/dist/src/user-kyc/admin/router.d.ts +0 -666
  472. package/dist/src/user-kyc/admin/service.d.ts +0 -89
  473. package/dist/src/user-kyc/db.schemas.d.ts +0 -896
  474. package/dist/src/user-kyc/errors/index.d.ts +0 -21
  475. package/dist/src/user-kyc/errors/locales/zh.d.ts +0 -14
  476. package/dist/src/user-kyc/index.d.ts +0 -10
  477. package/dist/src/user-kyc/internal/service.d.ts +0 -9
  478. package/dist/src/user-kyc/permissions.d.ts +0 -6
  479. package/dist/src/user-kyc/schema.d.ts +0 -474
  480. package/dist/src/user-kyc/user/dto.schemas.d.ts +0 -314
  481. package/dist/src/user-kyc/user/router.d.ts +0 -602
  482. package/dist/src/user-kyc/user/service.d.ts +0 -64
  483. package/dist/src/user-security/admin/dto.schemas.d.ts +0 -8
  484. package/dist/src/user-security/admin/router.d.ts +0 -490
  485. package/dist/src/user-security/admin/service.d.ts +0 -6
  486. package/dist/src/user-security/db.schemas.d.ts +0 -414
  487. package/dist/src/user-security/index.d.ts +0 -8
  488. package/dist/src/user-security/internal/service.d.ts +0 -15
  489. package/dist/src/user-security/schema.d.ts +0 -215
  490. package/dist/src/user-security/user/dto.schemas.d.ts +0 -21
  491. package/dist/src/user-security/user/router.d.ts +0 -547
  492. package/dist/src/user-security/user/service.d.ts +0 -15
  493. package/dist/src/utils/date.d.ts +0 -21
  494. package/dist/src/utils/index.d.ts +0 -4
  495. package/dist/src/utils/order.d.ts +0 -6
  496. package/dist/src/utils/pagination.d.ts +0 -113
  497. package/dist/src/utils/password.d.ts +0 -8
  498. package/dist/src/wallet/admin/dto.schemas.d.ts +0 -349
  499. package/dist/src/wallet/admin/router.d.ts +0 -581
  500. package/dist/src/wallet/admin/service.d.ts +0 -65
  501. package/dist/src/wallet/db.schemas.d.ts +0 -278
  502. package/dist/src/wallet/errors/index.d.ts +0 -10
  503. package/dist/src/wallet/errors/locales/zh.d.ts +0 -9
  504. package/dist/src/wallet/index.d.ts +0 -11
  505. package/dist/src/wallet/internal/service.d.ts +0 -177
  506. package/dist/src/wallet/permissions.d.ts +0 -8
  507. package/dist/src/wallet/schema.d.ts +0 -152
  508. package/dist/src/wallet/seed.d.ts +0 -1
  509. package/dist/src/wallet/user/dto.schemas.d.ts +0 -372
  510. package/dist/src/wallet/user/router.d.ts +0 -544
  511. package/dist/src/wallet/user/service.d.ts +0 -75
  512. package/dist/src/wallet-type/admin/dto.schemas.d.ts +0 -83
  513. package/dist/src/wallet-type/admin/router.d.ts +0 -741
  514. package/dist/src/wallet-type/admin/service.d.ts +0 -109
  515. package/dist/src/wallet-type/db.schemas.d.ts +0 -278
  516. package/dist/src/wallet-type/errors/index.d.ts +0 -15
  517. package/dist/src/wallet-type/errors/locales/zh.d.ts +0 -14
  518. package/dist/src/wallet-type/index.d.ts +0 -10
  519. package/dist/src/wallet-type/internal/service.d.ts +0 -256
  520. package/dist/src/wallet-type/permissions.d.ts +0 -4
  521. package/dist/src/wallet-type/schema.d.ts +0 -199
  522. package/dist/src/wallet-type/seed.d.ts +0 -1
  523. package/dist/src/wallet-type/user/dto.schemas.d.ts +0 -62
  524. package/dist/src/wallet-type/user/router.d.ts +0 -481
  525. package/dist/src/wallet-type/user/service.d.ts +0 -24
  526. package/dist/src/welfare-cycle/admin/dto.schemas.d.ts +0 -1242
  527. package/dist/src/welfare-cycle/admin/router.d.ts +0 -1805
  528. package/dist/src/welfare-cycle/admin/service.d.ts +0 -1031
  529. package/dist/src/welfare-cycle/cron.d.ts +0 -7
  530. package/dist/src/welfare-cycle/db.schemas.d.ts +0 -2404
  531. package/dist/src/welfare-cycle/errors/index.d.ts +0 -27
  532. package/dist/src/welfare-cycle/errors/locales/zh.d.ts +0 -26
  533. package/dist/src/welfare-cycle/index.d.ts +0 -7
  534. package/dist/src/welfare-cycle/internal/service.d.ts +0 -135
  535. package/dist/src/welfare-cycle/permissions.d.ts +0 -6
  536. package/dist/src/welfare-cycle/schema.d.ts +0 -1272
  537. package/dist/src/welfare-cycle/user/dto.schemas.d.ts +0 -2073
  538. package/dist/src/welfare-cycle/user/router.d.ts +0 -808
  539. package/dist/src/welfare-cycle/user/service.d.ts +0 -192
  540. package/dist/src/withdraw/admin/dto.schemas.d.ts +0 -902
  541. package/dist/src/withdraw/admin/router.d.ts +0 -659
  542. package/dist/src/withdraw/admin/service.d.ts +0 -83
  543. package/dist/src/withdraw/db.schemas.d.ts +0 -584
  544. package/dist/src/withdraw/errors/index.d.ts +0 -45
  545. package/dist/src/withdraw/errors/locales/zh.d.ts +0 -24
  546. package/dist/src/withdraw/index.d.ts +0 -8
  547. package/dist/src/withdraw/internal/index.d.ts +0 -1
  548. package/dist/src/withdraw/internal/service.d.ts +0 -10
  549. package/dist/src/withdraw/permissions.d.ts +0 -9
  550. package/dist/src/withdraw/schema.d.ts +0 -307
  551. package/dist/src/withdraw/user/dto.schemas.d.ts +0 -1508
  552. package/dist/src/withdraw/user/index.d.ts +0 -3
  553. package/dist/src/withdraw/user/router.d.ts +0 -649
  554. package/dist/src/withdraw/user/service.d.ts +0 -66
@@ -1,5 +1,5 @@
1
- import Elysia from "elysia";
2
- export declare const newsAdminRouter: Elysia<"/news", {
1
+ import Elysia from 'elysia';
2
+ export declare const contentVideoAdminRouter: Elysia<"/content_videos", {
3
3
  decorator: {};
4
4
  store: {};
5
5
  derive: {};
@@ -41,7 +41,7 @@ export declare const newsAdminRouter: Elysia<"/news", {
41
41
  route: string;
42
42
  request: Request;
43
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 ? {
44
+ 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
45
  readonly 100: "Continue";
46
46
  readonly 101: "Switching Protocols";
47
47
  readonly 102: "Processing";
@@ -105,66 +105,66 @@ export declare const newsAdminRouter: Elysia<"/news", {
105
105
  readonly 511: "Network Authentication Required";
106
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
107
  readonly Continue: 100;
108
- readonly "Switching Protocols": 101;
108
+ readonly 'Switching Protocols': 101;
109
109
  readonly Processing: 102;
110
- readonly "Early Hints": 103;
110
+ readonly 'Early Hints': 103;
111
111
  readonly OK: 200;
112
112
  readonly Created: 201;
113
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;
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
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;
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
128
  readonly Unauthorized: 401;
129
- readonly "Payment Required": 402;
129
+ readonly 'Payment Required': 402;
130
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;
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
136
  readonly Conflict: 409;
137
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;
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
145
  readonly "I'm a teapot": 418;
146
- readonly "Enhance Your Calm": 420;
147
- readonly "Misdirected Request": 421;
148
- readonly "Unprocessable Content": 422;
146
+ readonly 'Enhance Your Calm': 420;
147
+ readonly 'Misdirected Request': 421;
148
+ readonly 'Unprocessable Content': 422;
149
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;
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
168
  }[Code] : Code>;
169
169
  }) => Promise<import("elysia").ElysiaCustomStatusResponse<401, any, 401> | {
170
170
  user: {
@@ -174,16 +174,16 @@ export declare const newsAdminRouter: Elysia<"/news", {
174
174
  email: string;
175
175
  emailVerified: boolean;
176
176
  name: string;
177
- image?: string | null | undefined | undefined;
178
- twoFactorEnabled: boolean | null | undefined;
179
- username?: string | null | undefined;
177
+ image?: string | null | undefined;
178
+ banExpires?: Date | null | undefined;
179
+ banReason?: string | null | undefined;
180
+ banned: boolean | null | undefined;
180
181
  displayUsername?: string | null | undefined;
181
182
  phoneNumber?: string | null | undefined;
182
183
  phoneNumberVerified?: boolean | null | undefined;
183
- banned: boolean | null | undefined;
184
184
  role?: string | null | undefined;
185
- banReason?: string | null | undefined;
186
- banExpires?: Date | null | undefined;
185
+ twoFactorEnabled: boolean | null | undefined;
186
+ username?: string | null | undefined;
187
187
  };
188
188
  session: {
189
189
  id: string;
@@ -192,8 +192,8 @@ export declare const newsAdminRouter: Elysia<"/news", {
192
192
  userId: string;
193
193
  expiresAt: Date;
194
194
  token: string;
195
- ipAddress?: string | null | undefined | undefined;
196
- userAgent?: string | null | undefined | undefined;
195
+ ipAddress?: string | null | undefined;
196
+ userAgent?: string | null | undefined;
197
197
  impersonatedBy?: string | null | undefined;
198
198
  };
199
199
  }>;
@@ -217,7 +217,7 @@ export declare const newsAdminRouter: Elysia<"/news", {
217
217
  route: string;
218
218
  request: Request;
219
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 ? {
220
+ 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
221
  readonly 100: "Continue";
222
222
  readonly 101: "Switching Protocols";
223
223
  readonly 102: "Processing";
@@ -281,66 +281,66 @@ export declare const newsAdminRouter: Elysia<"/news", {
281
281
  readonly 511: "Network Authentication Required";
282
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
283
  readonly Continue: 100;
284
- readonly "Switching Protocols": 101;
284
+ readonly 'Switching Protocols': 101;
285
285
  readonly Processing: 102;
286
- readonly "Early Hints": 103;
286
+ readonly 'Early Hints': 103;
287
287
  readonly OK: 200;
288
288
  readonly Created: 201;
289
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;
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
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;
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
304
  readonly Unauthorized: 401;
305
- readonly "Payment Required": 402;
305
+ readonly 'Payment Required': 402;
306
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;
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
312
  readonly Conflict: 409;
313
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;
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
321
  readonly "I'm a teapot": 418;
322
- readonly "Enhance Your Calm": 420;
323
- readonly "Misdirected Request": 421;
324
- readonly "Unprocessable Content": 422;
322
+ readonly 'Enhance Your Calm': 420;
323
+ readonly 'Misdirected Request': 421;
324
+ readonly 'Unprocessable Content': 422;
325
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;
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
344
  }[Code] : Code>;
345
345
  }) => Promise<import("elysia").ElysiaCustomStatusResponse<401, any, 401> | import("elysia").ElysiaCustomStatusResponse<403, "Forbidden: Admins only", 403> | {
346
346
  user: {
@@ -350,16 +350,16 @@ export declare const newsAdminRouter: Elysia<"/news", {
350
350
  email: string;
351
351
  emailVerified: boolean;
352
352
  name: string;
353
- image?: string | null | undefined | undefined;
354
- twoFactorEnabled: boolean | null | undefined;
355
- username?: string | null | undefined;
353
+ image?: string | null | undefined;
354
+ banExpires?: Date | null | undefined;
355
+ banReason?: string | null | undefined;
356
+ banned: boolean | null | undefined;
356
357
  displayUsername?: string | null | undefined;
357
358
  phoneNumber?: string | null | undefined;
358
359
  phoneNumberVerified?: boolean | null | undefined;
359
- banned: boolean | null | undefined;
360
360
  role?: string | null | undefined;
361
- banReason?: string | null | undefined;
362
- banExpires?: Date | null | undefined;
361
+ twoFactorEnabled: boolean | null | undefined;
362
+ username?: string | null | undefined;
363
363
  };
364
364
  session: {
365
365
  id: string;
@@ -368,8 +368,8 @@ export declare const newsAdminRouter: Elysia<"/news", {
368
368
  userId: string;
369
369
  expiresAt: Date;
370
370
  token: string;
371
- ipAddress?: string | null | undefined | undefined;
372
- userAgent?: string | null | undefined | undefined;
371
+ ipAddress?: string | null | undefined;
372
+ userAgent?: string | null | undefined;
373
373
  impersonatedBy?: string | null | undefined;
374
374
  };
375
375
  }>;
@@ -378,34 +378,60 @@ export declare const newsAdminRouter: Elysia<"/news", {
378
378
  parser: {};
379
379
  response: {};
380
380
  }, {
381
- news: {};
381
+ content_videos: {};
382
382
  } & {
383
- news: {
383
+ content_videos: {
384
384
  post: {
385
385
  body: {
386
- expiresAt?: Date | null | undefined;
387
- scope?: string[] | undefined;
386
+ title: string;
387
+ description?: string | null | undefined;
388
+ videoFileId: string;
389
+ coverFileId?: string | undefined;
388
390
  status?: "archived" | "draft" | "published" | undefined;
391
+ isEnabled?: boolean | undefined;
389
392
  sortOrder?: number | undefined;
390
- isHot?: boolean | undefined;
391
- summary?: string | null | undefined;
392
- categoryId?: string | undefined;
393
- isPinned?: boolean | undefined;
394
- hasVideo?: boolean | undefined;
395
- requireReadConfirmation?: boolean | undefined;
396
- externalUrl?: string | null | undefined;
393
+ durationSeconds?: number | null | undefined;
397
394
  publishedAt?: Date | null | undefined;
398
- thumbnailId?: string | null | undefined;
399
- attachmentIds?: string[] | null | undefined;
400
- title: string;
401
- content: string;
402
395
  };
403
396
  params: {};
404
397
  query: {};
405
398
  headers: {};
406
399
  response: {
400
+ 200: {
401
+ coverFile?: {
402
+ id: string;
403
+ fileName: string | null;
404
+ mimeType: string | null;
405
+ fileSize: number | null;
406
+ publicUrl: string | null;
407
+ } | undefined;
408
+ coverFileId: string | null;
409
+ coverUrl?: string | undefined;
410
+ createdAt: Date;
411
+ createdBy: string;
412
+ description: string | null;
413
+ durationSeconds: number | null;
414
+ id: string;
415
+ isEnabled: boolean;
416
+ publishedAt: Date | null;
417
+ sortOrder: number;
418
+ status: "archived" | "draft" | "published";
419
+ title: string;
420
+ updatedAt: Date;
421
+ videoFile?: {
422
+ id: string;
423
+ fileName: string | null;
424
+ mimeType: string | null;
425
+ fileSize: number | null;
426
+ publicUrl: string | null;
427
+ } | undefined;
428
+ videoFileId: string;
429
+ videoUrl?: string | undefined;
430
+ };
431
+ 401: "Unauthorized";
432
+ 403: "Forbidden: Admins only";
407
433
  422: {
408
- type: "validation";
434
+ type: 'validation';
409
435
  on: string;
410
436
  summary?: string;
411
437
  message?: string;
@@ -413,63 +439,56 @@ export declare const newsAdminRouter: Elysia<"/news", {
413
439
  property?: string;
414
440
  expected?: string;
415
441
  };
416
- 401: "Unauthorized";
417
- 403: "Forbidden: Admins only";
418
442
  };
419
443
  };
420
444
  };
421
445
  } & {
422
- news: {
446
+ content_videos: {
423
447
  get: {
424
448
  body: {};
425
449
  params: {};
426
450
  query: {
427
- status?: "archived" | "draft" | "published" | undefined;
428
- categoryId?: string | undefined;
429
- isPinned?: boolean | undefined;
430
- requireReadConfirmation?: boolean | undefined;
451
+ isEnabled?: boolean | undefined;
452
+ keyword?: string | undefined;
431
453
  limit?: number | undefined;
432
454
  offset?: number | undefined;
433
- pageSize?: number | undefined;
434
455
  pageIndex?: number | undefined;
456
+ pageSize?: number | undefined;
457
+ status?: "archived" | "draft" | "published" | undefined;
435
458
  };
436
459
  headers: {};
437
460
  response: {
438
461
  200: {
439
462
  data: {
440
- id: string;
463
+ coverFile?: {
464
+ id: string;
465
+ fileName: string | null;
466
+ mimeType: string | null;
467
+ fileSize: number | null;
468
+ publicUrl: string | null;
469
+ } | undefined;
470
+ coverFileId: string | null;
471
+ coverUrl?: string | undefined;
441
472
  createdAt: Date;
442
- updatedAt: Date;
443
- expiresAt: Date | null;
444
- scope: string[];
445
- deletedAt: Date | null;
446
- status: "archived" | "draft" | "published";
447
- sortOrder: number;
448
- isHot: boolean;
449
473
  createdBy: string;
450
- title: string;
451
- content: string;
452
- summary: string | null;
453
- categoryId: string;
454
- isPinned: boolean;
455
- hasVideo: boolean;
456
- requireReadConfirmation: boolean;
457
- externalUrl: string | null;
458
- viewCount: number;
474
+ description: string | null;
475
+ durationSeconds: number | null;
476
+ id: string;
477
+ isEnabled: boolean;
459
478
  publishedAt: Date | null;
460
- thumbnailId: string | null;
461
- attachmentIds: string[] | null;
462
- category: {
479
+ sortOrder: number;
480
+ status: "archived" | "draft" | "published";
481
+ title: string;
482
+ updatedAt: Date;
483
+ videoFile?: {
463
484
  id: string;
464
- name: string;
465
- createdAt: Date;
466
- updatedAt: Date;
467
- description: string | null;
468
- isActive: boolean;
469
- sortOrder: number;
470
- slug: string | null;
471
- icon: string | null;
472
- };
485
+ fileName: string | null;
486
+ mimeType: string | null;
487
+ fileSize: number | null;
488
+ publicUrl: string | null;
489
+ } | undefined;
490
+ videoFileId: string;
491
+ videoUrl?: string | undefined;
473
492
  }[];
474
493
  pagination: {
475
494
  pageSize: number;
@@ -479,8 +498,10 @@ export declare const newsAdminRouter: Elysia<"/news", {
479
498
  hasNextPage: boolean;
480
499
  };
481
500
  };
501
+ 401: "Unauthorized";
502
+ 403: "Forbidden: Admins only";
482
503
  422: {
483
- type: "validation";
504
+ type: 'validation';
484
505
  on: string;
485
506
  summary?: string;
486
507
  message?: string;
@@ -488,13 +509,11 @@ export declare const newsAdminRouter: Elysia<"/news", {
488
509
  property?: string;
489
510
  expected?: string;
490
511
  };
491
- 401: "Unauthorized";
492
- 403: "Forbidden: Admins only";
493
512
  };
494
513
  };
495
514
  };
496
515
  } & {
497
- news: {
516
+ content_videos: {
498
517
  ":id": {
499
518
  get: {
500
519
  body: {};
@@ -505,74 +524,40 @@ export declare const newsAdminRouter: Elysia<"/news", {
505
524
  headers: {};
506
525
  response: {
507
526
  200: {
508
- id: string;
527
+ coverFile?: {
528
+ id: string;
529
+ fileName: string | null;
530
+ mimeType: string | null;
531
+ fileSize: number | null;
532
+ publicUrl: string | null;
533
+ } | undefined;
534
+ coverFileId: string | null;
535
+ coverUrl?: string | undefined;
509
536
  createdAt: Date;
510
- updatedAt: Date;
511
- expiresAt: Date | null;
512
- scope: string[];
513
- deletedAt: Date | null;
514
- status: "archived" | "draft" | "published";
515
- sortOrder: number;
516
- isHot: boolean;
517
537
  createdBy: string;
518
- title: string;
519
- content: string;
520
- summary: string | null;
521
- categoryId: string;
522
- isPinned: boolean;
523
- hasVideo: boolean;
524
- requireReadConfirmation: boolean;
525
- externalUrl: string | null;
526
- viewCount: number;
538
+ description: string | null;
539
+ durationSeconds: number | null;
540
+ id: string;
541
+ isEnabled: boolean;
527
542
  publishedAt: Date | null;
528
- thumbnailId: string | null;
529
- attachmentIds: string[] | null;
530
- category: {
531
- id: string;
532
- name: string;
533
- createdAt: Date;
534
- updatedAt: Date;
535
- description: string | null;
536
- isActive: boolean;
537
- sortOrder: number;
538
- slug: string | null;
539
- icon: string | null;
540
- };
541
- thumbnail: {
543
+ sortOrder: number;
544
+ status: "archived" | "draft" | "published";
545
+ title: string;
546
+ updatedAt: Date;
547
+ videoFile?: {
542
548
  id: string;
543
- createdAt: Date;
544
- updatedAt: Date;
545
- deletedAt: Date | null;
546
549
  fileName: string | null;
547
- fileSize: number | null;
548
550
  mimeType: string | null;
549
- fileExtension: string | null;
550
- fileHash: string | null;
551
- s3Bucket: string;
552
- s3Key: string;
553
- s3Region: string;
554
- s3ETag: string | null;
555
- businessType: "other" | "kyc_document" | "contract" | "financial_report" | "ledger_account_import" | "avatar" | "cover_image" | "notification_attachment" | "transaction_receipt" | "export_report" | "bank_verification" | "news_attachment";
556
- businessId: string | null;
557
- businessMetadata: string | null;
558
- ownerId: string;
559
- accessControl: "private" | "restricted" | "public" | null;
560
- status: "uploading" | "active" | "archived" | "pending_deletion" | null;
551
+ fileSize: number | null;
561
552
  publicUrl: string | null;
562
- thumbnailUrl: string | null;
563
- archivedAt: Date | null;
564
- uploadCompletedAt: Date | null;
565
- uploadIpAddress: string | null;
566
- downloadCount: number | null;
567
- lastDownloadedAt: Date | null;
568
- isVerified: boolean | null;
569
- verifiedBy: string | null;
570
- verifiedAt: Date | null;
571
- verificationNote: string | null;
572
- } | null;
553
+ } | undefined;
554
+ videoFileId: string;
555
+ videoUrl?: string | undefined;
573
556
  };
557
+ 401: "Unauthorized";
558
+ 403: "Forbidden: Admins only";
574
559
  422: {
575
- type: "validation";
560
+ type: 'validation';
576
561
  on: string;
577
562
  summary?: string;
578
563
  message?: string;
@@ -580,33 +565,24 @@ export declare const newsAdminRouter: Elysia<"/news", {
580
565
  property?: string;
581
566
  expected?: string;
582
567
  };
583
- 401: "Unauthorized";
584
- 403: "Forbidden: Admins only";
585
568
  };
586
569
  };
587
570
  };
588
571
  };
589
572
  } & {
590
- news: {
573
+ content_videos: {
591
574
  ":id": {
592
575
  patch: {
593
576
  body: {
594
- expiresAt?: Date | null | undefined;
595
- scope?: string[] | undefined;
577
+ title?: string | undefined;
578
+ description?: string | null | undefined;
579
+ videoFileId?: string | undefined;
580
+ coverFileId?: string | undefined;
596
581
  status?: "archived" | "draft" | "published" | undefined;
582
+ isEnabled?: boolean | undefined;
597
583
  sortOrder?: number | undefined;
598
- isHot?: boolean | undefined;
599
- title?: string | undefined;
600
- content?: string | undefined;
601
- summary?: string | null | undefined;
602
- categoryId?: string | undefined;
603
- isPinned?: boolean | undefined;
604
- hasVideo?: boolean | undefined;
605
- requireReadConfirmation?: boolean | undefined;
606
- externalUrl?: string | null | undefined;
584
+ durationSeconds?: number | null | undefined;
607
585
  publishedAt?: Date | null | undefined;
608
- thumbnailId?: string | null | undefined;
609
- attachmentIds?: string[] | null | undefined;
610
586
  };
611
587
  params: {
612
588
  id: string;
@@ -614,37 +590,41 @@ export declare const newsAdminRouter: Elysia<"/news", {
614
590
  query: {};
615
591
  headers: {};
616
592
  response: {
617
- 422: {
618
- type: "validation";
619
- on: string;
620
- summary?: string;
621
- message?: string;
622
- found?: unknown;
623
- property?: string;
624
- expected?: string;
593
+ 200: {
594
+ coverFile?: {
595
+ id: string;
596
+ fileName: string | null;
597
+ mimeType: string | null;
598
+ fileSize: number | null;
599
+ publicUrl: string | null;
600
+ } | undefined;
601
+ coverFileId: string | null;
602
+ coverUrl?: string | undefined;
603
+ createdAt: Date;
604
+ createdBy: string;
605
+ description: string | null;
606
+ durationSeconds: number | null;
607
+ id: string;
608
+ isEnabled: boolean;
609
+ publishedAt: Date | null;
610
+ sortOrder: number;
611
+ status: "archived" | "draft" | "published";
612
+ title: string;
613
+ updatedAt: Date;
614
+ videoFile?: {
615
+ id: string;
616
+ fileName: string | null;
617
+ mimeType: string | null;
618
+ fileSize: number | null;
619
+ publicUrl: string | null;
620
+ } | undefined;
621
+ videoFileId: string;
622
+ videoUrl?: string | undefined;
625
623
  };
626
624
  401: "Unauthorized";
627
625
  403: "Forbidden: Admins only";
628
- };
629
- };
630
- };
631
- };
632
- } & {
633
- news: {
634
- ":id": {
635
- delete: {
636
- body: {};
637
- params: {
638
- id: string;
639
- };
640
- query: {};
641
- headers: {};
642
- response: {
643
- 200: {
644
- success: boolean;
645
- };
646
626
  422: {
647
- type: "validation";
627
+ type: 'validation';
648
628
  on: string;
649
629
  summary?: string;
650
630
  message?: string;
@@ -652,29 +632,57 @@ export declare const newsAdminRouter: Elysia<"/news", {
652
632
  property?: string;
653
633
  expected?: string;
654
634
  };
655
- 401: "Unauthorized";
656
- 403: "Forbidden: Admins only";
657
635
  };
658
636
  };
659
637
  };
660
638
  };
661
639
  } & {
662
- news: {
640
+ content_videos: {
663
641
  ":id": {
664
- pin: {
642
+ publish: {
665
643
  post: {
666
- body: {
667
- sortOrder?: number | undefined;
668
- isPinned: boolean;
669
- };
644
+ body: {};
670
645
  params: {
671
646
  id: string;
672
647
  };
673
648
  query: {};
674
649
  headers: {};
675
650
  response: {
651
+ 200: {
652
+ coverFile?: {
653
+ id: string;
654
+ fileName: string | null;
655
+ mimeType: string | null;
656
+ fileSize: number | null;
657
+ publicUrl: string | null;
658
+ } | undefined;
659
+ coverFileId: string | null;
660
+ coverUrl?: string | undefined;
661
+ createdAt: Date;
662
+ createdBy: string;
663
+ description: string | null;
664
+ durationSeconds: number | null;
665
+ id: string;
666
+ isEnabled: boolean;
667
+ publishedAt: Date | null;
668
+ sortOrder: number;
669
+ status: "archived" | "draft" | "published";
670
+ title: string;
671
+ updatedAt: Date;
672
+ videoFile?: {
673
+ id: string;
674
+ fileName: string | null;
675
+ mimeType: string | null;
676
+ fileSize: number | null;
677
+ publicUrl: string | null;
678
+ } | undefined;
679
+ videoFileId: string;
680
+ videoUrl?: string | undefined;
681
+ };
682
+ 401: "Unauthorized";
683
+ 403: "Forbidden: Admins only";
676
684
  422: {
677
- type: "validation";
685
+ type: 'validation';
678
686
  on: string;
679
687
  summary?: string;
680
688
  message?: string;
@@ -682,29 +690,58 @@ export declare const newsAdminRouter: Elysia<"/news", {
682
690
  property?: string;
683
691
  expected?: string;
684
692
  };
685
- 401: "Unauthorized";
686
- 403: "Forbidden: Admins only";
687
693
  };
688
694
  };
689
695
  };
690
696
  };
691
697
  };
692
698
  } & {
693
- news: {
699
+ content_videos: {
694
700
  ":id": {
695
- hot: {
701
+ archive: {
696
702
  post: {
697
- body: {
698
- isHot: boolean;
699
- };
703
+ body: {};
700
704
  params: {
701
705
  id: string;
702
706
  };
703
707
  query: {};
704
708
  headers: {};
705
709
  response: {
710
+ 200: {
711
+ coverFile?: {
712
+ id: string;
713
+ fileName: string | null;
714
+ mimeType: string | null;
715
+ fileSize: number | null;
716
+ publicUrl: string | null;
717
+ } | undefined;
718
+ coverFileId: string | null;
719
+ coverUrl?: string | undefined;
720
+ createdAt: Date;
721
+ createdBy: string;
722
+ description: string | null;
723
+ durationSeconds: number | null;
724
+ id: string;
725
+ isEnabled: boolean;
726
+ publishedAt: Date | null;
727
+ sortOrder: number;
728
+ status: "archived" | "draft" | "published";
729
+ title: string;
730
+ updatedAt: Date;
731
+ videoFile?: {
732
+ id: string;
733
+ fileName: string | null;
734
+ mimeType: string | null;
735
+ fileSize: number | null;
736
+ publicUrl: string | null;
737
+ } | undefined;
738
+ videoFileId: string;
739
+ videoUrl?: string | undefined;
740
+ };
741
+ 401: "Unauthorized";
742
+ 403: "Forbidden: Admins only";
706
743
  422: {
707
- type: "validation";
744
+ type: 'validation';
708
745
  on: string;
709
746
  summary?: string;
710
747
  message?: string;
@@ -712,30 +749,36 @@ export declare const newsAdminRouter: Elysia<"/news", {
712
749
  property?: string;
713
750
  expected?: string;
714
751
  };
715
- 401: "Unauthorized";
716
- 403: "Forbidden: Admins only";
717
752
  };
718
753
  };
719
754
  };
720
755
  };
721
756
  };
722
757
  } & {
723
- news: {
724
- stats: {
725
- get: {
758
+ content_videos: {
759
+ ":id": {
760
+ delete: {
726
761
  body: {};
727
- params: {};
762
+ params: {
763
+ id: string;
764
+ };
728
765
  query: {};
729
766
  headers: {};
730
767
  response: {
731
768
  200: {
732
- total: number;
733
- published: number;
734
- pinned: number;
735
- requireConfirmation: number;
769
+ success: boolean;
736
770
  };
737
771
  401: "Unauthorized";
738
772
  403: "Forbidden: Admins only";
773
+ 422: {
774
+ type: 'validation';
775
+ on: string;
776
+ summary?: string;
777
+ message?: string;
778
+ found?: unknown;
779
+ property?: string;
780
+ expected?: string;
781
+ };
739
782
  };
740
783
  };
741
784
  };
@@ -756,16 +799,16 @@ export declare const newsAdminRouter: Elysia<"/news", {
756
799
  email: string;
757
800
  emailVerified: boolean;
758
801
  name: string;
759
- image?: string | null | undefined | undefined;
760
- twoFactorEnabled: boolean | null | undefined;
761
- username?: string | null | undefined;
802
+ image?: string | null | undefined;
803
+ banExpires?: Date | null | undefined;
804
+ banReason?: string | null | undefined;
805
+ banned: boolean | null | undefined;
762
806
  displayUsername?: string | null | undefined;
763
807
  phoneNumber?: string | null | undefined;
764
808
  phoneNumberVerified?: boolean | null | undefined;
765
- banned: boolean | null | undefined;
766
809
  role?: string | null | undefined;
767
- banReason?: string | null | undefined;
768
- banExpires?: Date | null | undefined;
810
+ twoFactorEnabled: boolean | null | undefined;
811
+ username?: string | null | undefined;
769
812
  };
770
813
  session: {
771
814
  id: string;
@@ -774,8 +817,8 @@ export declare const newsAdminRouter: Elysia<"/news", {
774
817
  userId: string;
775
818
  expiresAt: Date;
776
819
  token: string;
777
- ipAddress?: string | null | undefined | undefined;
778
- userAgent?: string | null | undefined | undefined;
820
+ ipAddress?: string | null | undefined;
821
+ userAgent?: string | null | undefined;
779
822
  impersonatedBy?: string | null | undefined;
780
823
  };
781
824
  } & {
@@ -786,16 +829,16 @@ export declare const newsAdminRouter: Elysia<"/news", {
786
829
  email: string;
787
830
  emailVerified: boolean;
788
831
  name: string;
789
- image?: string | null | undefined | undefined;
790
- twoFactorEnabled: boolean | null | undefined;
791
- username?: string | null | undefined;
832
+ image?: string | null | undefined;
833
+ banExpires?: Date | null | undefined;
834
+ banReason?: string | null | undefined;
835
+ banned: boolean | null | undefined;
792
836
  displayUsername?: string | null | undefined;
793
837
  phoneNumber?: string | null | undefined;
794
838
  phoneNumberVerified?: boolean | null | undefined;
795
- banned: boolean | null | undefined;
796
839
  role?: string | null | undefined;
797
- banReason?: string | null | undefined;
798
- banExpires?: Date | null | undefined;
840
+ twoFactorEnabled: boolean | null | undefined;
841
+ username?: string | null | undefined;
799
842
  };
800
843
  session: {
801
844
  id: string;
@@ -804,8 +847,8 @@ export declare const newsAdminRouter: Elysia<"/news", {
804
847
  userId: string;
805
848
  expiresAt: Date;
806
849
  token: string;
807
- ipAddress?: string | null | undefined | undefined;
808
- userAgent?: string | null | undefined | undefined;
850
+ ipAddress?: string | null | undefined;
851
+ userAgent?: string | null | undefined;
809
852
  impersonatedBy?: string | null | undefined;
810
853
  };
811
854
  };