@r2wa-org/eden 0.0.78 → 0.0.80

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 (126) hide show
  1. package/dist/admin/index.d.ts +830 -1162
  2. package/dist/admin-user/admin/router.d.ts +12 -12
  3. package/dist/app-version/admin/router.d.ts +16 -16
  4. package/dist/asset/admin/dto.schemas.d.ts +21 -21
  5. package/dist/asset/admin/router.d.ts +37 -37
  6. package/dist/asset/admin/service.d.ts +18 -18
  7. package/dist/asset/db.schemas.d.ts +4 -4
  8. package/dist/asset/internal/service.d.ts +3 -3
  9. package/dist/asset/schema.d.ts +3 -3
  10. package/dist/asset/user/dto.schemas.d.ts +9 -9
  11. package/dist/asset/user/router.d.ts +15 -15
  12. package/dist/asset/user/service.d.ts +9 -9
  13. package/dist/asset-convert-product/admin/dto.schemas.d.ts +15 -15
  14. package/dist/asset-convert-product/admin/router.d.ts +53 -53
  15. package/dist/asset-convert-product/admin/service.d.ts +31 -31
  16. package/dist/asset-convert-product/user/dto.schemas.d.ts +6 -6
  17. package/dist/asset-convert-product/user/router.d.ts +11 -11
  18. package/dist/asset-convert-product/user/service.d.ts +8 -8
  19. package/dist/asset-price/admin/dto.schemas.d.ts +3 -3
  20. package/dist/asset-price/admin/router.d.ts +14 -14
  21. package/dist/asset-price/admin/service.d.ts +4 -4
  22. package/dist/asset-price/user/router.d.ts +4 -4
  23. package/dist/asset-type/admin/router.d.ts +10 -10
  24. package/dist/asset-type/user/router.d.ts +3 -3
  25. package/dist/auth/better-auth.d.ts +36 -37
  26. package/dist/auth/router.d.ts +2 -2
  27. package/dist/bank-account/admin/router.d.ts +20 -20
  28. package/dist/bank-account/user/router.d.ts +7 -7
  29. package/dist/check-in/admin/router.d.ts +4 -4
  30. package/dist/check-in/user/router.d.ts +7 -7
  31. package/dist/deposit/admin/router.d.ts +8 -8
  32. package/dist/deposit/user/router.d.ts +7 -7
  33. package/dist/dynamic-env/admin.router.d.ts +10 -10
  34. package/dist/env/server.d.ts +0 -6
  35. package/dist/file-storage/admin/router.d.ts +8 -8
  36. package/dist/file-storage/share/router.d.ts +6 -6
  37. package/dist/file-storage/user/router.d.ts +5 -5
  38. package/dist/index.d.ts +1128 -1562
  39. package/dist/ledger/admin/dto.schemas.d.ts +7 -7
  40. package/dist/ledger/admin/router.d.ts +7 -7
  41. package/dist/ledger/user/router.d.ts +3 -3
  42. package/dist/ledger/user/service.d.ts +6 -6
  43. package/dist/ledger-account/admin/dto.schemas.d.ts +37 -3
  44. package/dist/ledger-account/admin/router.d.ts +64 -15
  45. package/dist/ledger-account/admin/service.d.ts +21 -7
  46. package/dist/ledger-account/user/dto.schemas.d.ts +1 -1
  47. package/dist/ledger-account/user/router.d.ts +8 -8
  48. package/dist/ledger-account/user/service.d.ts +6 -6
  49. package/dist/ledger-account-import/admin/router.d.ts +12 -12
  50. package/dist/ledger-account-transfer/user/router.d.ts +3 -3
  51. package/dist/ledger-account-type/admin/router.d.ts +10 -10
  52. package/dist/ledger-account-type/user/router.d.ts +4 -4
  53. package/dist/market-data/admin/dto.schemas.d.ts +423 -647
  54. package/dist/market-data/admin/router.d.ts +104 -145
  55. package/dist/market-data/admin/service.d.ts +10 -44
  56. package/dist/market-data/cron.d.ts +1 -0
  57. package/dist/market-data/db.schemas.d.ts +40 -176
  58. package/dist/market-data/internal/service.d.ts +76 -45
  59. package/dist/market-data/resolutions.d.ts +9 -0
  60. package/dist/market-data/schema.d.ts +23 -94
  61. package/dist/market-data/user/router.d.ts +8 -8
  62. package/dist/market-pricing/admin/dto.schemas.d.ts +315 -428
  63. package/dist/market-pricing/admin/router.d.ts +242 -146
  64. package/dist/market-pricing/admin/service.d.ts +183 -102
  65. package/dist/market-pricing/cron.d.ts +1 -1
  66. package/dist/market-pricing/db.schemas.d.ts +661 -117
  67. package/dist/market-pricing/errors/index.d.ts +1 -0
  68. package/dist/market-pricing/errors/locales/zh.d.ts +1 -0
  69. package/dist/market-pricing/internal/service.d.ts +27 -4
  70. package/dist/market-pricing/schema.d.ts +304 -28
  71. package/dist/news/admin/router.d.ts +16 -16
  72. package/dist/news/user/router.d.ts +4 -4
  73. package/dist/news-category/user/router.d.ts +2 -2
  74. package/dist/notification/admin/router.d.ts +6 -6
  75. package/dist/notification/user/router.d.ts +7 -7
  76. package/dist/operations-overview/admin/router.d.ts +7 -7
  77. package/dist/portfolio/user/dto.schemas.d.ts +1 -1
  78. package/dist/portfolio/user/router.d.ts +7 -7
  79. package/dist/portfolio/user/service.d.ts +1 -1
  80. package/dist/receipt-method/admin/router.d.ts +8 -8
  81. package/dist/receipt-method/user/router.d.ts +7 -7
  82. package/dist/referral/admin/router.d.ts +6 -6
  83. package/dist/referral/user/router.d.ts +6 -6
  84. package/dist/referral-depth-config/admin/router.d.ts +12 -12
  85. package/dist/server-test/index.d.ts +2 -2
  86. package/dist/shipping-address/admin/router.d.ts +4 -4
  87. package/dist/shipping-address/user/router.d.ts +8 -8
  88. package/dist/team/admin/router.d.ts +6 -6
  89. package/dist/team/user/router.d.ts +8 -8
  90. package/dist/trade-market/admin/dto.schemas.d.ts +89 -3625
  91. package/dist/trade-market/admin/router.d.ts +28 -464
  92. package/dist/trade-market/admin/service.d.ts +13 -446
  93. package/dist/trade-market/db.schemas.d.ts +0 -170
  94. package/dist/trade-market/errors/index.d.ts +1 -0
  95. package/dist/trade-market/errors/locales/zh.d.ts +1 -0
  96. package/dist/trade-market/index.d.ts +1 -0
  97. package/dist/trade-market/internal/service.d.ts +14 -326
  98. package/dist/trade-market/schema.d.ts +2 -91
  99. package/dist/trade-market/seed.d.ts +1 -0
  100. package/dist/trade-market/user/dto.schemas.d.ts +0 -172
  101. package/dist/trade-market/user/router.d.ts +8 -26
  102. package/dist/trade-market/user/service.d.ts +8 -294
  103. package/dist/transfer/admin/router.d.ts +4 -4
  104. package/dist/transfer/user/router.d.ts +4 -4
  105. package/dist/udf/dto.schemas.d.ts +134 -0
  106. package/dist/udf/index.d.ts +1 -0
  107. package/dist/udf/router.d.ts +577 -0
  108. package/dist/udf/service.d.ts +75 -0
  109. package/dist/user/admin/router.d.ts +14 -14
  110. package/dist/user/user/router.d.ts +5 -5
  111. package/dist/user-kyc/admin/router.d.ts +10 -10
  112. package/dist/user-kyc/user/router.d.ts +6 -6
  113. package/dist/user-security/admin/router.d.ts +4 -4
  114. package/dist/user-security/user/router.d.ts +6 -6
  115. package/dist/wallet/admin/router.d.ts +6 -6
  116. package/dist/wallet/user/router.d.ts +4 -4
  117. package/dist/wallet-type/admin/router.d.ts +14 -14
  118. package/dist/wallet-type/user/router.d.ts +3 -3
  119. package/dist/welfare-cycle/admin/dto.schemas.d.ts +24 -24
  120. package/dist/welfare-cycle/admin/router.d.ts +52 -52
  121. package/dist/welfare-cycle/admin/service.d.ts +32 -32
  122. package/dist/welfare-cycle/user/router.d.ts +9 -9
  123. package/dist/withdraw/admin/router.d.ts +10 -10
  124. package/dist/withdraw/user/dto.schemas.d.ts +2 -2
  125. package/dist/withdraw/user/router.d.ts +8 -8
  126. package/package.json +4 -1
@@ -41,7 +41,7 @@ export declare const checkInRouter: Elysia<"/checkIns", {
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 | 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 ? {
45
45
  readonly 100: "Continue";
46
46
  readonly 101: "Switching Protocols";
47
47
  readonly 102: "Processing";
@@ -217,7 +217,7 @@ export declare const checkInRouter: Elysia<"/checkIns", {
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 | 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 ? {
221
221
  readonly 100: "Continue";
222
222
  readonly 101: "Switching Protocols";
223
223
  readonly 102: "Processing";
@@ -401,6 +401,7 @@ export declare const checkInRouter: Elysia<"/checkIns", {
401
401
  checkInOffsetMinutes: number | null;
402
402
  checkInLocalDate: string | null;
403
403
  };
404
+ 401: "Unauthorized";
404
405
  422: {
405
406
  type: "validation";
406
407
  on: string;
@@ -410,7 +411,6 @@ export declare const checkInRouter: Elysia<"/checkIns", {
410
411
  property?: string;
411
412
  expected?: string;
412
413
  };
413
- 401: "Unauthorized";
414
414
  };
415
415
  };
416
416
  };
@@ -468,6 +468,7 @@ export declare const checkInRouter: Elysia<"/checkIns", {
468
468
  hasNextPage: boolean;
469
469
  };
470
470
  };
471
+ 401: "Unauthorized";
471
472
  422: {
472
473
  type: "validation";
473
474
  on: string;
@@ -477,7 +478,6 @@ export declare const checkInRouter: Elysia<"/checkIns", {
477
478
  property?: string;
478
479
  expected?: string;
479
480
  };
480
- 401: "Unauthorized";
481
481
  };
482
482
  };
483
483
  };
@@ -496,6 +496,7 @@ export declare const checkInRouter: Elysia<"/checkIns", {
496
496
  200: {
497
497
  totalDays: number;
498
498
  };
499
+ 401: "Unauthorized";
499
500
  422: {
500
501
  type: "validation";
501
502
  on: string;
@@ -505,7 +506,6 @@ export declare const checkInRouter: Elysia<"/checkIns", {
505
506
  property?: string;
506
507
  expected?: string;
507
508
  };
508
- 401: "Unauthorized";
509
509
  };
510
510
  };
511
511
  };
@@ -525,6 +525,7 @@ export declare const checkInRouter: Elysia<"/checkIns", {
525
525
  200: {
526
526
  currentStreakDays: number;
527
527
  };
528
+ 401: "Unauthorized";
528
529
  422: {
529
530
  type: "validation";
530
531
  on: string;
@@ -534,7 +535,6 @@ export declare const checkInRouter: Elysia<"/checkIns", {
534
535
  property?: string;
535
536
  expected?: string;
536
537
  };
537
- 401: "Unauthorized";
538
538
  };
539
539
  };
540
540
  };
@@ -554,6 +554,7 @@ export declare const checkInRouter: Elysia<"/checkIns", {
554
554
  200: {
555
555
  checkedInToday: boolean;
556
556
  };
557
+ 401: "Unauthorized";
557
558
  422: {
558
559
  type: "validation";
559
560
  on: string;
@@ -563,7 +564,6 @@ export declare const checkInRouter: Elysia<"/checkIns", {
563
564
  property?: string;
564
565
  expected?: string;
565
566
  };
566
- 401: "Unauthorized";
567
567
  };
568
568
  };
569
569
  };
@@ -41,7 +41,7 @@ export declare const depositAdminRouter: Elysia<"/deposit", {
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 | 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 ? {
45
45
  readonly 100: "Continue";
46
46
  readonly 101: "Switching Protocols";
47
47
  readonly 102: "Processing";
@@ -217,7 +217,7 @@ export declare const depositAdminRouter: Elysia<"/deposit", {
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 | 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 ? {
221
221
  readonly 100: "Continue";
222
222
  readonly 101: "Switching Protocols";
223
223
  readonly 102: "Processing";
@@ -443,6 +443,8 @@ export declare const depositAdminRouter: Elysia<"/deposit", {
443
443
  hasNextPage: boolean;
444
444
  };
445
445
  };
446
+ 401: "Unauthorized";
447
+ 403: "Forbidden: Admins only";
446
448
  422: {
447
449
  type: "validation";
448
450
  on: string;
@@ -452,8 +454,6 @@ export declare const depositAdminRouter: Elysia<"/deposit", {
452
454
  property?: string;
453
455
  expected?: string;
454
456
  };
455
- 401: "Unauthorized";
456
- 403: "Forbidden: Admins only";
457
457
  };
458
458
  };
459
459
  };
@@ -493,6 +493,8 @@ export declare const depositAdminRouter: Elysia<"/deposit", {
493
493
  reviewNote: string | null;
494
494
  completedAt: Date | null;
495
495
  };
496
+ 401: "Unauthorized";
497
+ 403: "Forbidden: Admins only";
496
498
  422: {
497
499
  type: "validation";
498
500
  on: string;
@@ -502,8 +504,6 @@ export declare const depositAdminRouter: Elysia<"/deposit", {
502
504
  property?: string;
503
505
  expected?: string;
504
506
  };
505
- 401: "Unauthorized";
506
- 403: "Forbidden: Admins only";
507
507
  };
508
508
  };
509
509
  };
@@ -544,6 +544,8 @@ export declare const depositAdminRouter: Elysia<"/deposit", {
544
544
  reviewNote: string | null;
545
545
  completedAt: Date | null;
546
546
  };
547
+ 401: "Unauthorized";
548
+ 403: "Forbidden: Admins only";
547
549
  422: {
548
550
  type: "validation";
549
551
  on: string;
@@ -553,8 +555,6 @@ export declare const depositAdminRouter: Elysia<"/deposit", {
553
555
  property?: string;
554
556
  expected?: string;
555
557
  };
556
- 401: "Unauthorized";
557
- 403: "Forbidden: Admins only";
558
558
  };
559
559
  };
560
560
  };
@@ -41,7 +41,7 @@ export declare const depositRouter: Elysia<"/deposit", {
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 | 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 ? {
45
45
  readonly 100: "Continue";
46
46
  readonly 101: "Switching Protocols";
47
47
  readonly 102: "Processing";
@@ -217,7 +217,7 @@ export declare const depositRouter: Elysia<"/deposit", {
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 | 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 ? {
221
221
  readonly 100: "Continue";
222
222
  readonly 101: "Switching Protocols";
223
223
  readonly 102: "Processing";
@@ -416,6 +416,7 @@ export declare const depositRouter: Elysia<"/deposit", {
416
416
  reviewNote: string | null;
417
417
  completedAt: Date | null;
418
418
  };
419
+ 401: "Unauthorized";
419
420
  422: {
420
421
  type: "validation";
421
422
  on: string;
@@ -425,7 +426,6 @@ export declare const depositRouter: Elysia<"/deposit", {
425
426
  property?: string;
426
427
  expected?: string;
427
428
  };
428
- 401: "Unauthorized";
429
429
  };
430
430
  };
431
431
  };
@@ -466,6 +466,7 @@ export declare const depositRouter: Elysia<"/deposit", {
466
466
  reviewNote: string | null;
467
467
  completedAt: Date | null;
468
468
  };
469
+ 401: "Unauthorized";
469
470
  422: {
470
471
  type: "validation";
471
472
  on: string;
@@ -475,7 +476,6 @@ export declare const depositRouter: Elysia<"/deposit", {
475
476
  property?: string;
476
477
  expected?: string;
477
478
  };
478
- 401: "Unauthorized";
479
479
  };
480
480
  };
481
481
  };
@@ -543,6 +543,7 @@ export declare const depositRouter: Elysia<"/deposit", {
543
543
  hasNextPage: boolean;
544
544
  };
545
545
  };
546
+ 401: "Unauthorized";
546
547
  422: {
547
548
  type: "validation";
548
549
  on: string;
@@ -552,7 +553,6 @@ export declare const depositRouter: Elysia<"/deposit", {
552
553
  property?: string;
553
554
  expected?: string;
554
555
  };
555
- 401: "Unauthorized";
556
556
  };
557
557
  };
558
558
  };
@@ -569,6 +569,7 @@ export declare const depositRouter: Elysia<"/deposit", {
569
569
  query: {};
570
570
  headers: {};
571
571
  response: {
572
+ 401: "Unauthorized";
572
573
  422: {
573
574
  type: "validation";
574
575
  on: string;
@@ -578,7 +579,6 @@ export declare const depositRouter: Elysia<"/deposit", {
578
579
  property?: string;
579
580
  expected?: string;
580
581
  };
581
- 401: "Unauthorized";
582
582
  };
583
583
  };
584
584
  };
@@ -618,6 +618,7 @@ export declare const depositRouter: Elysia<"/deposit", {
618
618
  reviewNote: string | null;
619
619
  completedAt: Date | null;
620
620
  };
621
+ 401: "Unauthorized";
621
622
  422: {
622
623
  type: "validation";
623
624
  on: string;
@@ -627,7 +628,6 @@ export declare const depositRouter: Elysia<"/deposit", {
627
628
  property?: string;
628
629
  expected?: string;
629
630
  };
630
- 401: "Unauthorized";
631
631
  };
632
632
  };
633
633
  };
@@ -44,7 +44,7 @@ export declare const dynamicEnvAdminRouter: Elysia<"/dynamic-env", {
44
44
  route: string;
45
45
  request: Request;
46
46
  store: {};
47
- 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 ? {
47
+ 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 ? {
48
48
  readonly 100: "Continue";
49
49
  readonly 101: "Switching Protocols";
50
50
  readonly 102: "Processing";
@@ -220,7 +220,7 @@ export declare const dynamicEnvAdminRouter: Elysia<"/dynamic-env", {
220
220
  route: string;
221
221
  request: Request;
222
222
  store: {};
223
- 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 ? {
223
+ 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 ? {
224
224
  readonly 100: "Continue";
225
225
  readonly 101: "Switching Protocols";
226
226
  readonly 102: "Processing";
@@ -397,6 +397,8 @@ export declare const dynamicEnvAdminRouter: Elysia<"/dynamic-env", {
397
397
  description: string | null;
398
398
  key: string;
399
399
  }[];
400
+ 401: "Unauthorized";
401
+ 403: "Forbidden: Admins only";
400
402
  422: {
401
403
  type: "validation";
402
404
  on: string;
@@ -406,8 +408,6 @@ export declare const dynamicEnvAdminRouter: Elysia<"/dynamic-env", {
406
408
  property?: string;
407
409
  expected?: string;
408
410
  };
409
- 401: "Unauthorized";
410
- 403: "Forbidden: Admins only";
411
411
  };
412
412
  };
413
413
  };
@@ -426,6 +426,8 @@ export declare const dynamicEnvAdminRouter: Elysia<"/dynamic-env", {
426
426
  key: "FIXED_OTP_CODE" | "MAINTENANCE_MODE";
427
427
  value: string | null | undefined;
428
428
  };
429
+ 401: "Unauthorized";
430
+ 403: "Forbidden: Admins only";
429
431
  422: {
430
432
  type: "validation";
431
433
  on: string;
@@ -435,8 +437,6 @@ export declare const dynamicEnvAdminRouter: Elysia<"/dynamic-env", {
435
437
  property?: string;
436
438
  expected?: string;
437
439
  };
438
- 401: "Unauthorized";
439
- 403: "Forbidden: Admins only";
440
440
  };
441
441
  };
442
442
  };
@@ -459,6 +459,8 @@ export declare const dynamicEnvAdminRouter: Elysia<"/dynamic-env", {
459
459
  key: "FIXED_OTP_CODE" | "MAINTENANCE_MODE";
460
460
  value: string;
461
461
  };
462
+ 401: "Unauthorized";
463
+ 403: "Forbidden: Admins only";
462
464
  422: {
463
465
  type: "validation";
464
466
  on: string;
@@ -468,8 +470,6 @@ export declare const dynamicEnvAdminRouter: Elysia<"/dynamic-env", {
468
470
  property?: string;
469
471
  expected?: string;
470
472
  };
471
- 401: "Unauthorized";
472
- 403: "Forbidden: Admins only";
473
473
  };
474
474
  };
475
475
  };
@@ -489,6 +489,8 @@ export declare const dynamicEnvAdminRouter: Elysia<"/dynamic-env", {
489
489
  success: boolean;
490
490
  key: "FIXED_OTP_CODE" | "MAINTENANCE_MODE";
491
491
  };
492
+ 401: "Unauthorized";
493
+ 403: "Forbidden: Admins only";
492
494
  422: {
493
495
  type: "validation";
494
496
  on: string;
@@ -498,8 +500,6 @@ export declare const dynamicEnvAdminRouter: Elysia<"/dynamic-env", {
498
500
  property?: string;
499
501
  expected?: string;
500
502
  };
501
- 401: "Unauthorized";
502
- 403: "Forbidden: Admins only";
503
503
  };
504
504
  };
505
505
  };
@@ -1,4 +1,3 @@
1
- import type { envServer } from '.';
2
1
  declare const _default: {
3
2
  TZ?: string | undefined;
4
3
  PGTZ?: string | undefined;
@@ -43,8 +42,3 @@ declare const _default: {
43
42
  EXTERNAL_API_KEY: string;
44
43
  };
45
44
  export default _default;
46
- type EnvServerType = typeof envServer;
47
- declare module 'bun' {
48
- interface Env extends EnvServerType {
49
- }
50
- }
@@ -41,7 +41,7 @@ export declare const fileStorageAdminRouter: Elysia<"/file_storage", {
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 | 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 ? {
45
45
  readonly 100: "Continue";
46
46
  readonly 101: "Switching Protocols";
47
47
  readonly 102: "Processing";
@@ -217,7 +217,7 @@ export declare const fileStorageAdminRouter: Elysia<"/file_storage", {
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 | 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 ? {
221
221
  readonly 100: "Continue";
222
222
  readonly 101: "Switching Protocols";
223
223
  readonly 102: "Processing";
@@ -392,6 +392,8 @@ export declare const fileStorageAdminRouter: Elysia<"/file_storage", {
392
392
  query: {};
393
393
  headers: {};
394
394
  response: {
395
+ 401: "Unauthorized";
396
+ 403: "Forbidden: Admins only";
395
397
  422: {
396
398
  type: "validation";
397
399
  on: string;
@@ -401,8 +403,6 @@ export declare const fileStorageAdminRouter: Elysia<"/file_storage", {
401
403
  property?: string;
402
404
  expected?: string;
403
405
  };
404
- 401: "Unauthorized";
405
- 403: "Forbidden: Admins only";
406
406
  };
407
407
  };
408
408
  };
@@ -475,6 +475,8 @@ export declare const fileStorageAdminRouter: Elysia<"/file_storage", {
475
475
  hasNextPage: boolean;
476
476
  };
477
477
  };
478
+ 401: "Unauthorized";
479
+ 403: "Forbidden: Admins only";
478
480
  422: {
479
481
  type: "validation";
480
482
  on: string;
@@ -484,8 +486,6 @@ export declare const fileStorageAdminRouter: Elysia<"/file_storage", {
484
486
  property?: string;
485
487
  expected?: string;
486
488
  };
487
- 401: "Unauthorized";
488
- 403: "Forbidden: Admins only";
489
489
  };
490
490
  };
491
491
  };
@@ -504,6 +504,8 @@ export declare const fileStorageAdminRouter: Elysia<"/file_storage", {
504
504
  200: {
505
505
  success: boolean;
506
506
  };
507
+ 401: "Unauthorized";
508
+ 403: "Forbidden: Admins only";
507
509
  422: {
508
510
  type: "validation";
509
511
  on: string;
@@ -513,8 +515,6 @@ export declare const fileStorageAdminRouter: Elysia<"/file_storage", {
513
515
  property?: string;
514
516
  expected?: string;
515
517
  };
516
- 401: "Unauthorized";
517
- 403: "Forbidden: Admins only";
518
518
  };
519
519
  };
520
520
  };
@@ -41,7 +41,7 @@ export declare const fileStorageShareRouter: Elysia<"/file_storage", {
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 | 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 ? {
45
45
  readonly 100: "Continue";
46
46
  readonly 101: "Switching Protocols";
47
47
  readonly 102: "Processing";
@@ -217,7 +217,7 @@ export declare const fileStorageShareRouter: Elysia<"/file_storage", {
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 | 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 ? {
221
221
  readonly 100: "Continue";
222
222
  readonly 101: "Switching Protocols";
223
223
  readonly 102: "Processing";
@@ -410,6 +410,7 @@ export declare const fileStorageShareRouter: Elysia<"/file_storage", {
410
410
  expiresIn: number;
411
411
  uploadUrl: string;
412
412
  };
413
+ 401: "Unauthorized";
413
414
  422: {
414
415
  type: "validation";
415
416
  on: string;
@@ -419,7 +420,6 @@ export declare const fileStorageShareRouter: Elysia<"/file_storage", {
419
420
  property?: string;
420
421
  expected?: string;
421
422
  };
422
- 401: "Unauthorized";
423
423
  };
424
424
  };
425
425
  };
@@ -436,6 +436,7 @@ export declare const fileStorageShareRouter: Elysia<"/file_storage", {
436
436
  query: {};
437
437
  headers: {};
438
438
  response: {
439
+ 401: "Unauthorized";
439
440
  422: {
440
441
  type: "validation";
441
442
  on: string;
@@ -445,7 +446,6 @@ export declare const fileStorageShareRouter: Elysia<"/file_storage", {
445
446
  property?: string;
446
447
  expected?: string;
447
448
  };
448
- 401: "Unauthorized";
449
449
  };
450
450
  };
451
451
  };
@@ -468,6 +468,7 @@ export declare const fileStorageShareRouter: Elysia<"/file_storage", {
468
468
  fileName: string | null;
469
469
  url: string;
470
470
  };
471
+ 401: "Unauthorized";
471
472
  422: {
472
473
  type: "validation";
473
474
  on: string;
@@ -477,7 +478,6 @@ export declare const fileStorageShareRouter: Elysia<"/file_storage", {
477
478
  property?: string;
478
479
  expected?: string;
479
480
  };
480
- 401: "Unauthorized";
481
481
  };
482
482
  };
483
483
  };
@@ -500,6 +500,7 @@ export declare const fileStorageShareRouter: Elysia<"/file_storage", {
500
500
  fileName: string | null;
501
501
  url: string;
502
502
  }[];
503
+ 401: "Unauthorized";
503
504
  422: {
504
505
  type: "validation";
505
506
  on: string;
@@ -509,7 +510,6 @@ export declare const fileStorageShareRouter: Elysia<"/file_storage", {
509
510
  property?: string;
510
511
  expected?: string;
511
512
  };
512
- 401: "Unauthorized";
513
513
  };
514
514
  };
515
515
  };
@@ -41,7 +41,7 @@ export declare const fileStorageRouter: Elysia<"/file_storage", {
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 | 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 ? {
45
45
  readonly 100: "Continue";
46
46
  readonly 101: "Switching Protocols";
47
47
  readonly 102: "Processing";
@@ -217,7 +217,7 @@ export declare const fileStorageRouter: Elysia<"/file_storage", {
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 | 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 ? {
221
221
  readonly 100: "Continue";
222
222
  readonly 101: "Switching Protocols";
223
223
  readonly 102: "Processing";
@@ -439,6 +439,7 @@ export declare const fileStorageRouter: Elysia<"/file_storage", {
439
439
  hasNextPage: boolean;
440
440
  };
441
441
  };
442
+ 401: "Unauthorized";
442
443
  422: {
443
444
  type: "validation";
444
445
  on: string;
@@ -448,7 +449,6 @@ export declare const fileStorageRouter: Elysia<"/file_storage", {
448
449
  property?: string;
449
450
  expected?: string;
450
451
  };
451
- 401: "Unauthorized";
452
452
  };
453
453
  };
454
454
  };
@@ -496,6 +496,7 @@ export declare const fileStorageRouter: Elysia<"/file_storage", {
496
496
  verifiedAt: Date | null;
497
497
  verificationNote: string | null;
498
498
  };
499
+ 401: "Unauthorized";
499
500
  422: {
500
501
  type: "validation";
501
502
  on: string;
@@ -505,7 +506,6 @@ export declare const fileStorageRouter: Elysia<"/file_storage", {
505
506
  property?: string;
506
507
  expected?: string;
507
508
  };
508
- 401: "Unauthorized";
509
509
  };
510
510
  };
511
511
  };
@@ -524,6 +524,7 @@ export declare const fileStorageRouter: Elysia<"/file_storage", {
524
524
  200: {
525
525
  success: boolean;
526
526
  };
527
+ 401: "Unauthorized";
527
528
  422: {
528
529
  type: "validation";
529
530
  on: string;
@@ -533,7 +534,6 @@ export declare const fileStorageRouter: Elysia<"/file_storage", {
533
534
  property?: string;
534
535
  expected?: string;
535
536
  };
536
- 401: "Unauthorized";
537
537
  };
538
538
  };
539
539
  };