@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.
- package/dist/admin/index.d.ts +830 -1162
- package/dist/admin-user/admin/router.d.ts +12 -12
- package/dist/app-version/admin/router.d.ts +16 -16
- package/dist/asset/admin/dto.schemas.d.ts +21 -21
- package/dist/asset/admin/router.d.ts +37 -37
- package/dist/asset/admin/service.d.ts +18 -18
- package/dist/asset/db.schemas.d.ts +4 -4
- package/dist/asset/internal/service.d.ts +3 -3
- package/dist/asset/schema.d.ts +3 -3
- package/dist/asset/user/dto.schemas.d.ts +9 -9
- package/dist/asset/user/router.d.ts +15 -15
- package/dist/asset/user/service.d.ts +9 -9
- package/dist/asset-convert-product/admin/dto.schemas.d.ts +15 -15
- package/dist/asset-convert-product/admin/router.d.ts +53 -53
- package/dist/asset-convert-product/admin/service.d.ts +31 -31
- package/dist/asset-convert-product/user/dto.schemas.d.ts +6 -6
- package/dist/asset-convert-product/user/router.d.ts +11 -11
- package/dist/asset-convert-product/user/service.d.ts +8 -8
- package/dist/asset-price/admin/dto.schemas.d.ts +3 -3
- package/dist/asset-price/admin/router.d.ts +14 -14
- package/dist/asset-price/admin/service.d.ts +4 -4
- package/dist/asset-price/user/router.d.ts +4 -4
- package/dist/asset-type/admin/router.d.ts +10 -10
- package/dist/asset-type/user/router.d.ts +3 -3
- package/dist/auth/better-auth.d.ts +36 -37
- package/dist/auth/router.d.ts +2 -2
- package/dist/bank-account/admin/router.d.ts +20 -20
- package/dist/bank-account/user/router.d.ts +7 -7
- package/dist/check-in/admin/router.d.ts +4 -4
- package/dist/check-in/user/router.d.ts +7 -7
- package/dist/deposit/admin/router.d.ts +8 -8
- package/dist/deposit/user/router.d.ts +7 -7
- package/dist/dynamic-env/admin.router.d.ts +10 -10
- package/dist/env/server.d.ts +0 -6
- package/dist/file-storage/admin/router.d.ts +8 -8
- package/dist/file-storage/share/router.d.ts +6 -6
- package/dist/file-storage/user/router.d.ts +5 -5
- package/dist/index.d.ts +1128 -1562
- package/dist/ledger/admin/dto.schemas.d.ts +7 -7
- package/dist/ledger/admin/router.d.ts +7 -7
- package/dist/ledger/user/router.d.ts +3 -3
- package/dist/ledger/user/service.d.ts +6 -6
- package/dist/ledger-account/admin/dto.schemas.d.ts +37 -3
- package/dist/ledger-account/admin/router.d.ts +64 -15
- package/dist/ledger-account/admin/service.d.ts +21 -7
- package/dist/ledger-account/user/dto.schemas.d.ts +1 -1
- package/dist/ledger-account/user/router.d.ts +8 -8
- package/dist/ledger-account/user/service.d.ts +6 -6
- package/dist/ledger-account-import/admin/router.d.ts +12 -12
- package/dist/ledger-account-transfer/user/router.d.ts +3 -3
- package/dist/ledger-account-type/admin/router.d.ts +10 -10
- package/dist/ledger-account-type/user/router.d.ts +4 -4
- package/dist/market-data/admin/dto.schemas.d.ts +423 -647
- package/dist/market-data/admin/router.d.ts +104 -145
- package/dist/market-data/admin/service.d.ts +10 -44
- package/dist/market-data/cron.d.ts +1 -0
- package/dist/market-data/db.schemas.d.ts +40 -176
- package/dist/market-data/internal/service.d.ts +76 -45
- package/dist/market-data/resolutions.d.ts +9 -0
- package/dist/market-data/schema.d.ts +23 -94
- package/dist/market-data/user/router.d.ts +8 -8
- package/dist/market-pricing/admin/dto.schemas.d.ts +315 -428
- package/dist/market-pricing/admin/router.d.ts +242 -146
- package/dist/market-pricing/admin/service.d.ts +183 -102
- package/dist/market-pricing/cron.d.ts +1 -1
- package/dist/market-pricing/db.schemas.d.ts +661 -117
- package/dist/market-pricing/errors/index.d.ts +1 -0
- package/dist/market-pricing/errors/locales/zh.d.ts +1 -0
- package/dist/market-pricing/internal/service.d.ts +27 -4
- package/dist/market-pricing/schema.d.ts +304 -28
- package/dist/news/admin/router.d.ts +16 -16
- package/dist/news/user/router.d.ts +4 -4
- package/dist/news-category/user/router.d.ts +2 -2
- package/dist/notification/admin/router.d.ts +6 -6
- package/dist/notification/user/router.d.ts +7 -7
- package/dist/operations-overview/admin/router.d.ts +7 -7
- package/dist/portfolio/user/dto.schemas.d.ts +1 -1
- package/dist/portfolio/user/router.d.ts +7 -7
- package/dist/portfolio/user/service.d.ts +1 -1
- package/dist/receipt-method/admin/router.d.ts +8 -8
- package/dist/receipt-method/user/router.d.ts +7 -7
- package/dist/referral/admin/router.d.ts +6 -6
- package/dist/referral/user/router.d.ts +6 -6
- package/dist/referral-depth-config/admin/router.d.ts +12 -12
- package/dist/server-test/index.d.ts +2 -2
- package/dist/shipping-address/admin/router.d.ts +4 -4
- package/dist/shipping-address/user/router.d.ts +8 -8
- package/dist/team/admin/router.d.ts +6 -6
- package/dist/team/user/router.d.ts +8 -8
- package/dist/trade-market/admin/dto.schemas.d.ts +89 -3625
- package/dist/trade-market/admin/router.d.ts +28 -464
- package/dist/trade-market/admin/service.d.ts +13 -446
- package/dist/trade-market/db.schemas.d.ts +0 -170
- package/dist/trade-market/errors/index.d.ts +1 -0
- package/dist/trade-market/errors/locales/zh.d.ts +1 -0
- package/dist/trade-market/index.d.ts +1 -0
- package/dist/trade-market/internal/service.d.ts +14 -326
- package/dist/trade-market/schema.d.ts +2 -91
- package/dist/trade-market/seed.d.ts +1 -0
- package/dist/trade-market/user/dto.schemas.d.ts +0 -172
- package/dist/trade-market/user/router.d.ts +8 -26
- package/dist/trade-market/user/service.d.ts +8 -294
- package/dist/transfer/admin/router.d.ts +4 -4
- package/dist/transfer/user/router.d.ts +4 -4
- package/dist/udf/dto.schemas.d.ts +134 -0
- package/dist/udf/index.d.ts +1 -0
- package/dist/udf/router.d.ts +577 -0
- package/dist/udf/service.d.ts +75 -0
- package/dist/user/admin/router.d.ts +14 -14
- package/dist/user/user/router.d.ts +5 -5
- package/dist/user-kyc/admin/router.d.ts +10 -10
- package/dist/user-kyc/user/router.d.ts +6 -6
- package/dist/user-security/admin/router.d.ts +4 -4
- package/dist/user-security/user/router.d.ts +6 -6
- package/dist/wallet/admin/router.d.ts +6 -6
- package/dist/wallet/user/router.d.ts +4 -4
- package/dist/wallet-type/admin/router.d.ts +14 -14
- package/dist/wallet-type/user/router.d.ts +3 -3
- package/dist/welfare-cycle/admin/dto.schemas.d.ts +24 -24
- package/dist/welfare-cycle/admin/router.d.ts +52 -52
- package/dist/welfare-cycle/admin/service.d.ts +32 -32
- package/dist/welfare-cycle/user/router.d.ts +9 -9
- package/dist/withdraw/admin/router.d.ts +10 -10
- package/dist/withdraw/user/dto.schemas.d.ts +2 -2
- package/dist/withdraw/user/router.d.ts +8 -8
- 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 |
|
|
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 |
|
|
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
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
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
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
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
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
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
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
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
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
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
|
};
|