@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 marketPricingAdminRouter: Elysia<"/market_pricing", {
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 marketPricingAdminRouter: Elysia<"/market_pricing", {
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";
@@ -384,18 +384,33 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
384
384
  strategies: {
385
385
  post: {
386
386
  body: {
387
- source?: string | undefined;
388
- isEnabled?: boolean | undefined;
389
- strategyType?: "random_walk" | undefined;
390
- driftBps?: string | undefined;
391
- minPrice?: string | null | undefined;
392
- maxPrice?: string | null | undefined;
393
- intervalSeconds?: number | undefined;
394
- maxStepBps?: string | undefined;
395
- fallbackPrice?: string | undefined;
396
- name: string;
397
- baseAssetId: string;
398
- quoteAssetId: string;
387
+ advanced?: {
388
+ trendDriftUpBps?: string | undefined;
389
+ trendDriftFlatBps?: string | undefined;
390
+ trendDriftDownBps?: string | undefined;
391
+ trendSwitchMinTicks?: number | undefined;
392
+ trendSwitchMaxTicks?: number | undefined;
393
+ trendUpWeight?: number | undefined;
394
+ trendFlatWeight?: number | undefined;
395
+ trendDownWeight?: number | undefined;
396
+ jumpMinBps?: string | undefined;
397
+ jumpMaxBps?: string | undefined;
398
+ meanReversionBps?: string | undefined;
399
+ roundNumberMagnetBps?: string | undefined;
400
+ } | undefined;
401
+ basic: {
402
+ quoteAssetId?: string | undefined;
403
+ isEnabled?: boolean | undefined;
404
+ trendMode?: "flat" | "up" | "down" | "auto" | undefined;
405
+ noiseSigmaBps?: string | undefined;
406
+ jumpChanceBps?: string | undefined;
407
+ liquiditySession?: "normal" | "low" | "high" | undefined;
408
+ minPrice?: string | null | undefined;
409
+ maxPrice?: string | null | undefined;
410
+ intervalSeconds?: number | undefined;
411
+ name: string;
412
+ baseAssetId: string;
413
+ };
399
414
  };
400
415
  params: {};
401
416
  query: {};
@@ -403,22 +418,10 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
403
418
  response: {
404
419
  200: {
405
420
  id: string;
406
- name: string;
407
421
  createdAt: Date;
408
422
  updatedAt: Date;
409
- baseAssetId: string;
410
- quoteAssetId: string;
411
- source: string;
412
- isEnabled: boolean;
413
- strategyType: "random_walk";
414
- driftBps: string;
415
- minPrice: string | null;
416
- maxPrice: string | null;
417
- intervalSeconds: number;
418
- maxStepBps: string;
419
- fallbackPrice: string;
420
423
  baseAsset: {
421
- symbol: string;
424
+ symbol: string | null;
422
425
  id: string;
423
426
  name: string;
424
427
  createdAt: Date;
@@ -427,11 +430,11 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
427
430
  iconUrl: string;
428
431
  category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
429
432
  isActive: boolean;
430
- typeId: string;
433
+ typeId: string | null;
431
434
  precision: number;
432
435
  };
433
436
  quoteAsset: {
434
- symbol: string;
437
+ symbol: string | null;
435
438
  id: string;
436
439
  name: string;
437
440
  createdAt: Date;
@@ -440,10 +443,39 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
440
443
  iconUrl: string;
441
444
  category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
442
445
  isActive: boolean;
443
- typeId: string;
446
+ typeId: string | null;
444
447
  precision: number;
445
448
  };
449
+ advanced: {
450
+ trendDriftUpBps: string;
451
+ trendDriftFlatBps: string;
452
+ trendDriftDownBps: string;
453
+ trendSwitchMinTicks: number;
454
+ trendSwitchMaxTicks: number;
455
+ trendUpWeight: number;
456
+ trendFlatWeight: number;
457
+ trendDownWeight: number;
458
+ jumpMinBps: string;
459
+ jumpMaxBps: string;
460
+ meanReversionBps: string;
461
+ roundNumberMagnetBps: string;
462
+ };
463
+ basic: {
464
+ name: string;
465
+ baseAssetId: string;
466
+ quoteAssetId: string;
467
+ isEnabled: boolean;
468
+ trendMode: "flat" | "up" | "down" | "auto";
469
+ noiseSigmaBps: string;
470
+ jumpChanceBps: string;
471
+ liquiditySession: "normal" | "low" | "high";
472
+ minPrice: string | null;
473
+ maxPrice: string | null;
474
+ intervalSeconds: number;
475
+ };
446
476
  };
477
+ 401: "Unauthorized";
478
+ 403: "Forbidden: Admins only";
447
479
  422: {
448
480
  type: "validation";
449
481
  on: string;
@@ -453,8 +485,6 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
453
485
  property?: string;
454
486
  expected?: string;
455
487
  };
456
- 401: "Unauthorized";
457
- 403: "Forbidden: Admins only";
458
488
  };
459
489
  };
460
490
  };
@@ -465,18 +495,33 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
465
495
  ":id": {
466
496
  patch: {
467
497
  body: {
468
- name?: string | undefined;
469
- baseAssetId?: string | undefined;
470
- quoteAssetId?: string | undefined;
471
- source?: string | undefined;
472
- isEnabled?: boolean | undefined;
473
- strategyType?: "random_walk" | undefined;
474
- driftBps?: string | undefined;
475
- minPrice?: string | null | undefined;
476
- maxPrice?: string | null | undefined;
477
- intervalSeconds?: number | undefined;
478
- maxStepBps?: string | undefined;
479
- fallbackPrice?: string | undefined;
498
+ advanced?: {
499
+ trendDriftUpBps?: string | undefined;
500
+ trendDriftFlatBps?: string | undefined;
501
+ trendDriftDownBps?: string | undefined;
502
+ trendSwitchMinTicks?: number | undefined;
503
+ trendSwitchMaxTicks?: number | undefined;
504
+ trendUpWeight?: number | undefined;
505
+ trendFlatWeight?: number | undefined;
506
+ trendDownWeight?: number | undefined;
507
+ jumpMinBps?: string | undefined;
508
+ jumpMaxBps?: string | undefined;
509
+ meanReversionBps?: string | undefined;
510
+ roundNumberMagnetBps?: string | undefined;
511
+ } | undefined;
512
+ basic?: {
513
+ name?: string | undefined;
514
+ baseAssetId?: string | undefined;
515
+ quoteAssetId?: string | undefined;
516
+ isEnabled?: boolean | undefined;
517
+ trendMode?: "flat" | "up" | "down" | "auto" | undefined;
518
+ noiseSigmaBps?: string | undefined;
519
+ jumpChanceBps?: string | undefined;
520
+ liquiditySession?: "normal" | "low" | "high" | undefined;
521
+ minPrice?: string | null | undefined;
522
+ maxPrice?: string | null | undefined;
523
+ intervalSeconds?: number | undefined;
524
+ } | undefined;
480
525
  };
481
526
  params: {
482
527
  id: string;
@@ -486,22 +531,10 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
486
531
  response: {
487
532
  200: {
488
533
  id: string;
489
- name: string;
490
534
  createdAt: Date;
491
535
  updatedAt: Date;
492
- baseAssetId: string;
493
- quoteAssetId: string;
494
- source: string;
495
- isEnabled: boolean;
496
- strategyType: "random_walk";
497
- driftBps: string;
498
- minPrice: string | null;
499
- maxPrice: string | null;
500
- intervalSeconds: number;
501
- maxStepBps: string;
502
- fallbackPrice: string;
503
536
  baseAsset: {
504
- symbol: string;
537
+ symbol: string | null;
505
538
  id: string;
506
539
  name: string;
507
540
  createdAt: Date;
@@ -510,11 +543,11 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
510
543
  iconUrl: string;
511
544
  category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
512
545
  isActive: boolean;
513
- typeId: string;
546
+ typeId: string | null;
514
547
  precision: number;
515
548
  };
516
549
  quoteAsset: {
517
- symbol: string;
550
+ symbol: string | null;
518
551
  id: string;
519
552
  name: string;
520
553
  createdAt: Date;
@@ -523,10 +556,39 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
523
556
  iconUrl: string;
524
557
  category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
525
558
  isActive: boolean;
526
- typeId: string;
559
+ typeId: string | null;
527
560
  precision: number;
528
561
  };
562
+ advanced: {
563
+ trendDriftUpBps: string;
564
+ trendDriftFlatBps: string;
565
+ trendDriftDownBps: string;
566
+ trendSwitchMinTicks: number;
567
+ trendSwitchMaxTicks: number;
568
+ trendUpWeight: number;
569
+ trendFlatWeight: number;
570
+ trendDownWeight: number;
571
+ jumpMinBps: string;
572
+ jumpMaxBps: string;
573
+ meanReversionBps: string;
574
+ roundNumberMagnetBps: string;
575
+ };
576
+ basic: {
577
+ name: string;
578
+ baseAssetId: string;
579
+ quoteAssetId: string;
580
+ isEnabled: boolean;
581
+ trendMode: "flat" | "up" | "down" | "auto";
582
+ noiseSigmaBps: string;
583
+ jumpChanceBps: string;
584
+ liquiditySession: "normal" | "low" | "high";
585
+ minPrice: string | null;
586
+ maxPrice: string | null;
587
+ intervalSeconds: number;
588
+ };
529
589
  };
590
+ 401: "Unauthorized";
591
+ 403: "Forbidden: Admins only";
530
592
  422: {
531
593
  type: "validation";
532
594
  on: string;
@@ -536,8 +598,6 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
536
598
  property?: string;
537
599
  expected?: string;
538
600
  };
539
- 401: "Unauthorized";
540
- 403: "Forbidden: Admins only";
541
601
  };
542
602
  };
543
603
  };
@@ -558,22 +618,37 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
558
618
  response: {
559
619
  200: {
560
620
  id: string;
561
- name: string;
562
621
  createdAt: Date;
563
622
  updatedAt: Date;
564
- baseAssetId: string;
565
- quoteAssetId: string;
566
- source: string;
567
- isEnabled: boolean;
568
- strategyType: "random_walk";
569
- driftBps: string;
570
- minPrice: string | null;
571
- maxPrice: string | null;
572
- intervalSeconds: number;
573
- maxStepBps: string;
574
- fallbackPrice: string;
623
+ basic: {
624
+ name: string;
625
+ baseAssetId: string;
626
+ quoteAssetId: string;
627
+ trendMode: "flat" | "up" | "down" | "auto";
628
+ liquiditySession: "normal" | "low" | "high";
629
+ noiseSigmaBps: string;
630
+ jumpChanceBps: string;
631
+ minPrice: string | null;
632
+ maxPrice: string | null;
633
+ intervalSeconds: number;
634
+ isEnabled: boolean;
635
+ };
636
+ advanced: {
637
+ trendDriftUpBps: string;
638
+ trendDriftFlatBps: string;
639
+ trendDriftDownBps: string;
640
+ trendSwitchMinTicks: number;
641
+ trendSwitchMaxTicks: number;
642
+ trendUpWeight: number;
643
+ trendFlatWeight: number;
644
+ trendDownWeight: number;
645
+ jumpMinBps: string;
646
+ jumpMaxBps: string;
647
+ meanReversionBps: string;
648
+ roundNumberMagnetBps: string;
649
+ };
575
650
  baseAsset: {
576
- symbol: string;
651
+ symbol: string | null;
577
652
  id: string;
578
653
  name: string;
579
654
  createdAt: Date;
@@ -582,11 +657,11 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
582
657
  iconUrl: string;
583
658
  category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
584
659
  isActive: boolean;
585
- typeId: string;
660
+ typeId: string | null;
586
661
  precision: number;
587
662
  };
588
663
  quoteAsset: {
589
- symbol: string;
664
+ symbol: string | null;
590
665
  id: string;
591
666
  name: string;
592
667
  createdAt: Date;
@@ -595,10 +670,12 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
595
670
  iconUrl: string;
596
671
  category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
597
672
  isActive: boolean;
598
- typeId: string;
673
+ typeId: string | null;
599
674
  precision: number;
600
675
  };
601
676
  };
677
+ 401: "Unauthorized";
678
+ 403: "Forbidden: Admins only";
602
679
  422: {
603
680
  type: "validation";
604
681
  on: string;
@@ -608,8 +685,6 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
608
685
  property?: string;
609
686
  expected?: string;
610
687
  };
611
- 401: "Unauthorized";
612
- 403: "Forbidden: Admins only";
613
688
  };
614
689
  };
615
690
  };
@@ -631,22 +706,37 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
631
706
  response: {
632
707
  200: {
633
708
  id: string;
634
- name: string;
635
709
  createdAt: Date;
636
710
  updatedAt: Date;
637
- baseAssetId: string;
638
- quoteAssetId: string;
639
- source: string;
640
- isEnabled: boolean;
641
- strategyType: "random_walk";
642
- driftBps: string;
643
- minPrice: string | null;
644
- maxPrice: string | null;
645
- intervalSeconds: number;
646
- maxStepBps: string;
647
- fallbackPrice: string;
711
+ basic: {
712
+ name: string;
713
+ baseAssetId: string;
714
+ quoteAssetId: string;
715
+ trendMode: "flat" | "up" | "down" | "auto";
716
+ liquiditySession: "normal" | "low" | "high";
717
+ noiseSigmaBps: string;
718
+ jumpChanceBps: string;
719
+ minPrice: string | null;
720
+ maxPrice: string | null;
721
+ intervalSeconds: number;
722
+ isEnabled: boolean;
723
+ };
724
+ advanced: {
725
+ trendDriftUpBps: string;
726
+ trendDriftFlatBps: string;
727
+ trendDriftDownBps: string;
728
+ trendSwitchMinTicks: number;
729
+ trendSwitchMaxTicks: number;
730
+ trendUpWeight: number;
731
+ trendFlatWeight: number;
732
+ trendDownWeight: number;
733
+ jumpMinBps: string;
734
+ jumpMaxBps: string;
735
+ meanReversionBps: string;
736
+ roundNumberMagnetBps: string;
737
+ };
648
738
  baseAsset: {
649
- symbol: string;
739
+ symbol: string | null;
650
740
  id: string;
651
741
  name: string;
652
742
  createdAt: Date;
@@ -655,11 +745,11 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
655
745
  iconUrl: string;
656
746
  category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
657
747
  isActive: boolean;
658
- typeId: string;
748
+ typeId: string | null;
659
749
  precision: number;
660
750
  };
661
751
  quoteAsset: {
662
- symbol: string;
752
+ symbol: string | null;
663
753
  id: string;
664
754
  name: string;
665
755
  createdAt: Date;
@@ -668,10 +758,12 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
668
758
  iconUrl: string;
669
759
  category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
670
760
  isActive: boolean;
671
- typeId: string;
761
+ typeId: string | null;
672
762
  precision: number;
673
763
  };
674
764
  };
765
+ 401: "Unauthorized";
766
+ 403: "Forbidden: Admins only";
675
767
  422: {
676
768
  type: "validation";
677
769
  on: string;
@@ -681,8 +773,6 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
681
773
  property?: string;
682
774
  expected?: string;
683
775
  };
684
- 401: "Unauthorized";
685
- 403: "Forbidden: Admins only";
686
776
  };
687
777
  };
688
778
  };
@@ -709,46 +799,37 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
709
799
  200: {
710
800
  data: {
711
801
  id: string;
712
- name: string;
713
- createdAt: Date;
714
- updatedAt: Date;
715
- baseAssetId: string;
716
802
  baseAsset: {
717
- symbol: string;
803
+ symbol: string | null;
718
804
  id: string;
719
805
  name: string;
720
- createdAt: Date;
721
- updatedAt: Date;
722
806
  code: string;
723
- iconUrl: string;
724
807
  category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
725
808
  isActive: boolean;
726
- typeId: string;
727
809
  precision: number;
728
810
  };
729
- quoteAssetId: string;
730
811
  quoteAsset: {
731
- symbol: string;
812
+ symbol: string | null;
732
813
  id: string;
733
814
  name: string;
734
- createdAt: Date;
735
- updatedAt: Date;
736
815
  code: string;
737
- iconUrl: string;
738
816
  category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
739
817
  isActive: boolean;
740
- typeId: string;
741
818
  precision: number;
742
819
  };
743
- source: string;
744
- isEnabled: boolean;
745
- strategyType: "random_walk";
746
- driftBps: string;
747
- minPrice: string | null;
748
- maxPrice: string | null;
749
- intervalSeconds: number;
750
- maxStepBps: string;
751
- fallbackPrice: string;
820
+ basic: {
821
+ name: string;
822
+ baseAssetId: string;
823
+ quoteAssetId: string;
824
+ isEnabled: boolean;
825
+ trendMode: "flat" | "up" | "down" | "auto";
826
+ noiseSigmaBps: string;
827
+ jumpChanceBps: string;
828
+ liquiditySession: "normal" | "low" | "high";
829
+ minPrice: string | null;
830
+ maxPrice: string | null;
831
+ intervalSeconds: number;
832
+ };
752
833
  }[];
753
834
  pagination: {
754
835
  total: number;
@@ -758,6 +839,8 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
758
839
  hasNextPage: boolean;
759
840
  };
760
841
  };
842
+ 401: "Unauthorized";
843
+ 403: "Forbidden: Admins only";
761
844
  422: {
762
845
  type: "validation";
763
846
  on: string;
@@ -767,8 +850,6 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
767
850
  property?: string;
768
851
  expected?: string;
769
852
  };
770
- 401: "Unauthorized";
771
- 403: "Forbidden: Admins only";
772
853
  };
773
854
  };
774
855
  };
@@ -787,22 +868,10 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
787
868
  response: {
788
869
  200: {
789
870
  id: string;
790
- name: string;
791
871
  createdAt: Date;
792
872
  updatedAt: Date;
793
- baseAssetId: string;
794
- quoteAssetId: string;
795
- source: string;
796
- isEnabled: boolean;
797
- strategyType: "random_walk";
798
- driftBps: string;
799
- minPrice: string | null;
800
- maxPrice: string | null;
801
- intervalSeconds: number;
802
- maxStepBps: string;
803
- fallbackPrice: string;
804
873
  baseAsset: {
805
- symbol: string;
874
+ symbol: string | null;
806
875
  id: string;
807
876
  name: string;
808
877
  createdAt: Date;
@@ -811,11 +880,11 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
811
880
  iconUrl: string;
812
881
  category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
813
882
  isActive: boolean;
814
- typeId: string;
883
+ typeId: string | null;
815
884
  precision: number;
816
885
  };
817
886
  quoteAsset: {
818
- symbol: string;
887
+ symbol: string | null;
819
888
  id: string;
820
889
  name: string;
821
890
  createdAt: Date;
@@ -824,10 +893,39 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
824
893
  iconUrl: string;
825
894
  category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
826
895
  isActive: boolean;
827
- typeId: string;
896
+ typeId: string | null;
828
897
  precision: number;
829
898
  };
899
+ advanced: {
900
+ trendDriftUpBps: string;
901
+ trendDriftFlatBps: string;
902
+ trendDriftDownBps: string;
903
+ trendSwitchMinTicks: number;
904
+ trendSwitchMaxTicks: number;
905
+ trendUpWeight: number;
906
+ trendFlatWeight: number;
907
+ trendDownWeight: number;
908
+ jumpMinBps: string;
909
+ jumpMaxBps: string;
910
+ meanReversionBps: string;
911
+ roundNumberMagnetBps: string;
912
+ };
913
+ basic: {
914
+ name: string;
915
+ baseAssetId: string;
916
+ quoteAssetId: string;
917
+ isEnabled: boolean;
918
+ trendMode: "flat" | "up" | "down" | "auto";
919
+ noiseSigmaBps: string;
920
+ jumpChanceBps: string;
921
+ liquiditySession: "normal" | "low" | "high";
922
+ minPrice: string | null;
923
+ maxPrice: string | null;
924
+ intervalSeconds: number;
925
+ };
830
926
  };
927
+ 401: "Unauthorized";
928
+ 403: "Forbidden: Admins only";
831
929
  422: {
832
930
  type: "validation";
833
931
  on: string;
@@ -837,8 +935,6 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
837
935
  property?: string;
838
936
  expected?: string;
839
937
  };
840
- 401: "Unauthorized";
841
- 403: "Forbidden: Admins only";
842
938
  };
843
939
  };
844
940
  };
@@ -863,6 +959,8 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
863
959
  created: boolean;
864
960
  strategyId: string;
865
961
  };
962
+ 401: "Unauthorized";
963
+ 403: "Forbidden: Admins only";
866
964
  422: {
867
965
  type: "validation";
868
966
  on: string;
@@ -872,8 +970,6 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
872
970
  property?: string;
873
971
  expected?: string;
874
972
  };
875
- 401: "Unauthorized";
876
- 403: "Forbidden: Admins only";
877
973
  };
878
974
  };
879
975
  };
@@ -894,6 +990,8 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
894
990
  successCount: number;
895
991
  failedStrategyIds: string[];
896
992
  };
993
+ 401: "Unauthorized";
994
+ 403: "Forbidden: Admins only";
897
995
  422: {
898
996
  type: "validation";
899
997
  on: string;
@@ -903,8 +1001,6 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
903
1001
  property?: string;
904
1002
  expected?: string;
905
1003
  };
906
- 401: "Unauthorized";
907
- 403: "Forbidden: Admins only";
908
1004
  };
909
1005
  };
910
1006
  };