@r2wa-org/eden 0.0.54 → 0.0.57
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/src/admin/admin/dto.schemas.d.ts +3 -54
- package/dist/src/admin/admin/router.d.ts +19 -24
- package/dist/src/admin/admin/service.d.ts +0 -2
- package/dist/src/admin/index.d.ts +1329 -343
- package/dist/src/asset/admin/dto.schemas.d.ts +49 -26
- package/dist/src/asset/admin/router.d.ts +132 -32
- package/dist/src/asset/admin/service.d.ts +52 -4
- package/dist/src/asset/user/dto.schemas.d.ts +7 -15
- package/dist/src/asset/user/router.d.ts +15 -15
- package/dist/src/asset/user/service.d.ts +1 -1
- package/dist/src/asset-convert-product/admin/dto.schemas.d.ts +459 -566
- package/dist/src/asset-convert-product/admin/router.d.ts +581 -42
- package/dist/src/asset-convert-product/admin/service.d.ts +419 -12
- package/dist/src/asset-convert-product/errors/index.d.ts +7 -0
- package/dist/src/asset-convert-product/errors/locales/zh.d.ts +7 -0
- package/dist/src/asset-convert-product/permissions.d.ts +2 -2
- package/dist/src/asset-convert-product/user/router.d.ts +20 -20
- package/dist/src/asset-price/admin/dto.schemas.d.ts +99 -352
- package/dist/src/asset-price/admin/router.d.ts +132 -20
- package/dist/src/asset-price/admin/service.d.ts +157 -0
- package/dist/src/asset-price/errors/index.d.ts +2 -0
- package/dist/src/asset-price/errors/locales/zh.d.ts +2 -0
- package/dist/src/asset-price/internal/service.d.ts +1 -0
- package/dist/src/asset-price/user/router.d.ts +13 -13
- package/dist/src/asset-type/admin/dto.schemas.d.ts +291 -33
- package/dist/src/asset-type/admin/router.d.ts +67 -28
- package/dist/src/asset-type/admin/service.d.ts +16 -6
- package/dist/src/asset-type/db.schemas.d.ts +6 -6
- package/dist/src/asset-type/errors/index.d.ts +6 -0
- package/dist/src/asset-type/errors/locales/zh.d.ts +3 -0
- package/dist/src/asset-type/internal/service.d.ts +4 -4
- package/dist/src/asset-type/permissions.d.ts +1 -1
- package/dist/src/asset-type/schema.d.ts +3 -5
- package/dist/src/asset-type/user/dto.schemas.d.ts +3 -15
- package/dist/src/asset-type/user/router.d.ts +12 -12
- package/dist/src/asset-type/user/service.d.ts +1 -1
- package/dist/src/auth/better-auth.d.ts +706 -451
- package/dist/src/auth/db.schemas.d.ts +27 -407
- package/dist/src/auth/permissions.d.ts +20 -20
- package/dist/src/auth/roles.d.ts +60 -60
- package/dist/src/auth/router.d.ts +6 -6
- package/dist/src/auth/schema.d.ts +8 -206
- package/dist/src/bank-account/admin/router.d.ts +10 -13
- package/dist/src/bank-account/user/router.d.ts +8 -8
- package/dist/src/check-in/admin/dto.schemas.d.ts +1 -18
- package/dist/src/check-in/admin/router.d.ts +12 -16
- package/dist/src/check-in/admin/service.d.ts +0 -1
- package/dist/src/check-in/internal/service.d.ts +0 -1
- package/dist/src/check-in/user/dto.schemas.d.ts +1 -18
- package/dist/src/check-in/user/router.d.ts +18 -19
- package/dist/src/check-in/user/service.d.ts +0 -1
- package/dist/src/cron/index.d.ts +8 -74
- package/dist/src/deposit/admin/dto.schemas.d.ts +8 -42
- package/dist/src/deposit/admin/router.d.ts +16 -20
- package/dist/src/deposit/admin/service.d.ts +0 -2
- package/dist/src/deposit/errors/index.d.ts +4 -0
- package/dist/src/deposit/errors/locales/zh.d.ts +2 -0
- package/dist/src/deposit/user/dto.schemas.d.ts +16 -42
- package/dist/src/deposit/user/router.d.ts +68 -19
- package/dist/src/deposit/user/service.d.ts +22 -3
- package/dist/src/dynamic-env/admin.router.d.ts +27 -30
- package/dist/src/env/server.d.ts +1 -1
- package/dist/src/file-storage/admin/router.d.ts +17 -20
- package/dist/src/file-storage/share/router.d.ts +16 -16
- package/dist/src/file-storage/user/router.d.ts +16 -16
- package/dist/src/index.d.ts +1688 -660
- package/dist/src/ledger/admin/router.d.ts +12 -15
- package/dist/src/ledger/user/router.d.ts +10 -10
- package/dist/src/ledger-account/admin/dto.schemas.d.ts +2 -2
- package/dist/src/ledger-account/admin/router.d.ts +22 -25
- package/dist/src/ledger-account/user/router.d.ts +10 -10
- package/dist/src/ledger-account-import/admin/router.d.ts +22 -25
- package/dist/src/ledger-account-transfer/user/router.d.ts +10 -10
- package/dist/src/ledger-account-type/admin/router.d.ts +19 -22
- package/dist/src/ledger-account-type/user/router.d.ts +10 -10
- package/dist/src/market-data/admin/router.d.ts +17 -20
- package/dist/src/market-data/cron.d.ts +3 -54
- package/dist/src/market-data/user/router.d.ts +12 -12
- package/dist/src/market-pricing/admin/router.d.ts +31 -34
- package/dist/src/market-pricing/cron.d.ts +2 -53
- package/dist/src/news/admin/dto.schemas.d.ts +6 -6
- package/dist/src/news/admin/router.d.ts +29 -32
- package/dist/src/news/user/dto.schemas.d.ts +12 -12
- package/dist/src/news/user/router.d.ts +19 -19
- package/dist/src/news-category/user/router.d.ts +12 -12
- package/dist/src/notification/admin/dto.schemas.d.ts +3 -3
- package/dist/src/notification/admin/router.d.ts +17 -20
- package/dist/src/notification/user/dto.schemas.d.ts +2 -2
- package/dist/src/notification/user/router.d.ts +21 -21
- package/dist/src/receipt-method/admin/router.d.ts +10 -13
- package/dist/src/receipt-method/user/router.d.ts +6 -6
- package/dist/src/referral/admin/dto.schemas.d.ts +2 -36
- package/dist/src/referral/admin/router.d.ts +14 -18
- package/dist/src/referral/user/dto.schemas.d.ts +2 -36
- package/dist/src/referral/user/router.d.ts +17 -18
- package/dist/src/referral-depth-config/admin/router.d.ts +22 -25
- package/dist/src/server-test/index.d.ts +15 -15
- package/dist/src/shipping-address/admin/router.d.ts +10 -13
- package/dist/src/shipping-address/user/router.d.ts +6 -6
- package/dist/src/team/admin/dto.schemas.d.ts +2 -36
- package/dist/src/team/admin/router.d.ts +14 -18
- package/dist/src/team/user/dto.schemas.d.ts +5 -90
- package/dist/src/team/user/router.d.ts +21 -24
- package/dist/src/trade-market/admin/dto.schemas.d.ts +1 -1
- package/dist/src/trade-market/admin/router.d.ts +27 -30
- package/dist/src/trade-market/user/router.d.ts +22 -22
- package/dist/src/transfer/admin/router.d.ts +12 -15
- package/dist/src/transfer/admin/service.d.ts +0 -2
- package/dist/src/transfer/user/router.d.ts +12 -12
- package/dist/src/transfer/user/service.d.ts +0 -2
- package/dist/src/user/admin/dto.schemas.d.ts +1 -21
- package/dist/src/user/admin/router.d.ts +24 -32
- package/dist/src/user/admin/service.d.ts +0 -4
- package/dist/src/user/user/router.d.ts +6 -8
- package/dist/src/user/user/service.d.ts +0 -2
- package/dist/src/user-kyc/admin/dto.schemas.d.ts +1 -1
- package/dist/src/user-kyc/admin/router.d.ts +19 -22
- package/dist/src/user-kyc/user/router.d.ts +18 -18
- package/dist/src/user-security/admin/router.d.ts +13 -16
- package/dist/src/user-security/user/router.d.ts +17 -17
- package/dist/src/wallet/admin/dto.schemas.d.ts +35 -3
- package/dist/src/wallet/admin/router.d.ts +77 -15
- package/dist/src/wallet/admin/service.d.ts +46 -8
- package/dist/src/wallet/internal/service.d.ts +118 -14
- package/dist/src/wallet/user/dto.schemas.d.ts +4 -2
- package/dist/src/wallet/user/router.d.ts +16 -15
- package/dist/src/wallet/user/service.d.ts +18 -8
- package/dist/src/wallet-type/admin/dto.schemas.d.ts +4 -0
- package/dist/src/wallet-type/admin/router.d.ts +149 -19
- package/dist/src/wallet-type/admin/service.d.ts +51 -0
- package/dist/src/wallet-type/errors/index.d.ts +4 -0
- package/dist/src/wallet-type/errors/locales/zh.d.ts +4 -0
- package/dist/src/wallet-type/internal/service.d.ts +37 -0
- package/dist/src/wallet-type/user/router.d.ts +10 -10
- package/dist/src/welfare-cycle/admin/dto.schemas.d.ts +3 -3
- package/dist/src/welfare-cycle/admin/router.d.ts +35 -38
- package/dist/src/welfare-cycle/cron.d.ts +2 -53
- package/dist/src/welfare-cycle/user/dto.schemas.d.ts +1 -0
- package/dist/src/welfare-cycle/user/router.d.ts +66 -71
- package/dist/src/welfare-cycle/user/service.d.ts +1 -1
- package/dist/src/withdraw/admin/router.d.ts +19 -22
- package/dist/src/withdraw/user/dto.schemas.d.ts +7 -0
- package/dist/src/withdraw/user/router.d.ts +59 -12
- package/dist/src/withdraw/user/service.d.ts +20 -1
- package/package.json +1 -1
|
@@ -41,7 +41,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
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 |
|
|
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 ? {
|
|
45
45
|
readonly 100: "Continue";
|
|
46
46
|
readonly 101: "Switching Protocols";
|
|
47
47
|
readonly 102: "Processing";
|
|
@@ -175,11 +175,11 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
175
175
|
emailVerified: boolean;
|
|
176
176
|
name: string;
|
|
177
177
|
image?: string | null | undefined | undefined;
|
|
178
|
-
phoneNumber?: string | null | undefined;
|
|
179
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
180
178
|
twoFactorEnabled: boolean | null | undefined;
|
|
181
179
|
username?: string | null | undefined;
|
|
182
180
|
displayUsername?: string | null | undefined;
|
|
181
|
+
phoneNumber?: string | null | undefined;
|
|
182
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
183
183
|
banned: boolean | null | undefined;
|
|
184
184
|
role?: string | null | undefined;
|
|
185
185
|
banReason?: string | null | undefined;
|
|
@@ -217,7 +217,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
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 |
|
|
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 ? {
|
|
221
221
|
readonly 100: "Continue";
|
|
222
222
|
readonly 101: "Switching Protocols";
|
|
223
223
|
readonly 102: "Processing";
|
|
@@ -351,11 +351,11 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
351
351
|
emailVerified: boolean;
|
|
352
352
|
name: string;
|
|
353
353
|
image?: string | null | undefined | undefined;
|
|
354
|
-
phoneNumber?: string | null | undefined;
|
|
355
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
356
354
|
twoFactorEnabled: boolean | null | undefined;
|
|
357
355
|
username?: string | null | undefined;
|
|
358
356
|
displayUsername?: string | null | undefined;
|
|
357
|
+
phoneNumber?: string | null | undefined;
|
|
358
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
359
359
|
banned: boolean | null | undefined;
|
|
360
360
|
role?: string | null | undefined;
|
|
361
361
|
banReason?: string | null | undefined;
|
|
@@ -394,8 +394,8 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
394
394
|
minPayAmount: string;
|
|
395
395
|
};
|
|
396
396
|
params: {};
|
|
397
|
-
query:
|
|
398
|
-
headers:
|
|
397
|
+
query: {};
|
|
398
|
+
headers: {};
|
|
399
399
|
response: {
|
|
400
400
|
200: {
|
|
401
401
|
id: string;
|
|
@@ -409,6 +409,28 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
409
409
|
payAssetId: string;
|
|
410
410
|
defaultReceiveAccountTypeId: string;
|
|
411
411
|
minPayAmount: string;
|
|
412
|
+
targetAssetInfo: {
|
|
413
|
+
symbol: string;
|
|
414
|
+
id: string;
|
|
415
|
+
name: string;
|
|
416
|
+
code: string;
|
|
417
|
+
isActive: boolean;
|
|
418
|
+
precision: number;
|
|
419
|
+
};
|
|
420
|
+
payAssetInfo: {
|
|
421
|
+
symbol: string;
|
|
422
|
+
id: string;
|
|
423
|
+
name: string;
|
|
424
|
+
code: string;
|
|
425
|
+
isActive: boolean;
|
|
426
|
+
precision: number;
|
|
427
|
+
};
|
|
428
|
+
defaultReceiveAccountTypeInfo: {
|
|
429
|
+
id: string;
|
|
430
|
+
name: string;
|
|
431
|
+
key: string;
|
|
432
|
+
isActive: boolean;
|
|
433
|
+
};
|
|
412
434
|
};
|
|
413
435
|
422: {
|
|
414
436
|
type: "validation";
|
|
@@ -443,21 +465,43 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
443
465
|
params: {
|
|
444
466
|
id: string;
|
|
445
467
|
};
|
|
446
|
-
query:
|
|
447
|
-
headers:
|
|
468
|
+
query: {};
|
|
469
|
+
headers: {};
|
|
448
470
|
response: {
|
|
449
471
|
200: {
|
|
450
|
-
createdAt: Date;
|
|
451
|
-
updatedAt: Date;
|
|
452
472
|
id: string;
|
|
453
473
|
name: string;
|
|
474
|
+
createdAt: Date;
|
|
475
|
+
updatedAt: Date;
|
|
454
476
|
description: string | null;
|
|
477
|
+
status: "active" | "draft" | "paused" | "ended";
|
|
455
478
|
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
456
479
|
targetAssetId: string;
|
|
457
480
|
payAssetId: string;
|
|
458
481
|
defaultReceiveAccountTypeId: string;
|
|
459
482
|
minPayAmount: string;
|
|
460
|
-
|
|
483
|
+
targetAssetInfo: {
|
|
484
|
+
symbol: string;
|
|
485
|
+
id: string;
|
|
486
|
+
name: string;
|
|
487
|
+
code: string;
|
|
488
|
+
isActive: boolean;
|
|
489
|
+
precision: number;
|
|
490
|
+
};
|
|
491
|
+
payAssetInfo: {
|
|
492
|
+
symbol: string;
|
|
493
|
+
id: string;
|
|
494
|
+
name: string;
|
|
495
|
+
code: string;
|
|
496
|
+
isActive: boolean;
|
|
497
|
+
precision: number;
|
|
498
|
+
};
|
|
499
|
+
defaultReceiveAccountTypeInfo: {
|
|
500
|
+
id: string;
|
|
501
|
+
name: string;
|
|
502
|
+
key: string;
|
|
503
|
+
isActive: boolean;
|
|
504
|
+
};
|
|
461
505
|
};
|
|
462
506
|
422: {
|
|
463
507
|
type: "validation";
|
|
@@ -481,25 +525,47 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
481
525
|
":id": {
|
|
482
526
|
activate: {
|
|
483
527
|
post: {
|
|
484
|
-
body:
|
|
528
|
+
body: {};
|
|
485
529
|
params: {
|
|
486
530
|
id: string;
|
|
487
531
|
};
|
|
488
|
-
query:
|
|
489
|
-
headers:
|
|
532
|
+
query: {};
|
|
533
|
+
headers: {};
|
|
490
534
|
response: {
|
|
491
535
|
200: {
|
|
492
|
-
createdAt: Date;
|
|
493
|
-
updatedAt: Date;
|
|
494
536
|
id: string;
|
|
495
537
|
name: string;
|
|
538
|
+
createdAt: Date;
|
|
539
|
+
updatedAt: Date;
|
|
496
540
|
description: string | null;
|
|
541
|
+
status: "active" | "draft" | "paused" | "ended";
|
|
497
542
|
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
498
543
|
targetAssetId: string;
|
|
499
544
|
payAssetId: string;
|
|
500
545
|
defaultReceiveAccountTypeId: string;
|
|
501
546
|
minPayAmount: string;
|
|
502
|
-
|
|
547
|
+
targetAssetInfo: {
|
|
548
|
+
symbol: string;
|
|
549
|
+
id: string;
|
|
550
|
+
name: string;
|
|
551
|
+
code: string;
|
|
552
|
+
isActive: boolean;
|
|
553
|
+
precision: number;
|
|
554
|
+
};
|
|
555
|
+
payAssetInfo: {
|
|
556
|
+
symbol: string;
|
|
557
|
+
id: string;
|
|
558
|
+
name: string;
|
|
559
|
+
code: string;
|
|
560
|
+
isActive: boolean;
|
|
561
|
+
precision: number;
|
|
562
|
+
};
|
|
563
|
+
defaultReceiveAccountTypeInfo: {
|
|
564
|
+
id: string;
|
|
565
|
+
name: string;
|
|
566
|
+
key: string;
|
|
567
|
+
isActive: boolean;
|
|
568
|
+
};
|
|
503
569
|
};
|
|
504
570
|
422: {
|
|
505
571
|
type: "validation";
|
|
@@ -524,25 +590,47 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
524
590
|
":id": {
|
|
525
591
|
pause: {
|
|
526
592
|
post: {
|
|
527
|
-
body:
|
|
593
|
+
body: {};
|
|
528
594
|
params: {
|
|
529
595
|
id: string;
|
|
530
596
|
};
|
|
531
|
-
query:
|
|
532
|
-
headers:
|
|
597
|
+
query: {};
|
|
598
|
+
headers: {};
|
|
533
599
|
response: {
|
|
534
600
|
200: {
|
|
535
|
-
createdAt: Date;
|
|
536
|
-
updatedAt: Date;
|
|
537
601
|
id: string;
|
|
538
602
|
name: string;
|
|
603
|
+
createdAt: Date;
|
|
604
|
+
updatedAt: Date;
|
|
539
605
|
description: string | null;
|
|
606
|
+
status: "active" | "draft" | "paused" | "ended";
|
|
540
607
|
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
541
608
|
targetAssetId: string;
|
|
542
609
|
payAssetId: string;
|
|
543
610
|
defaultReceiveAccountTypeId: string;
|
|
544
611
|
minPayAmount: string;
|
|
545
|
-
|
|
612
|
+
targetAssetInfo: {
|
|
613
|
+
symbol: string;
|
|
614
|
+
id: string;
|
|
615
|
+
name: string;
|
|
616
|
+
code: string;
|
|
617
|
+
isActive: boolean;
|
|
618
|
+
precision: number;
|
|
619
|
+
};
|
|
620
|
+
payAssetInfo: {
|
|
621
|
+
symbol: string;
|
|
622
|
+
id: string;
|
|
623
|
+
name: string;
|
|
624
|
+
code: string;
|
|
625
|
+
isActive: boolean;
|
|
626
|
+
precision: number;
|
|
627
|
+
};
|
|
628
|
+
defaultReceiveAccountTypeInfo: {
|
|
629
|
+
id: string;
|
|
630
|
+
name: string;
|
|
631
|
+
key: string;
|
|
632
|
+
isActive: boolean;
|
|
633
|
+
};
|
|
546
634
|
};
|
|
547
635
|
422: {
|
|
548
636
|
type: "validation";
|
|
@@ -567,25 +655,47 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
567
655
|
":id": {
|
|
568
656
|
end: {
|
|
569
657
|
post: {
|
|
570
|
-
body:
|
|
658
|
+
body: {};
|
|
571
659
|
params: {
|
|
572
660
|
id: string;
|
|
573
661
|
};
|
|
574
|
-
query:
|
|
575
|
-
headers:
|
|
662
|
+
query: {};
|
|
663
|
+
headers: {};
|
|
576
664
|
response: {
|
|
577
665
|
200: {
|
|
578
|
-
createdAt: Date;
|
|
579
|
-
updatedAt: Date;
|
|
580
666
|
id: string;
|
|
581
667
|
name: string;
|
|
668
|
+
createdAt: Date;
|
|
669
|
+
updatedAt: Date;
|
|
582
670
|
description: string | null;
|
|
671
|
+
status: "active" | "draft" | "paused" | "ended";
|
|
583
672
|
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
584
673
|
targetAssetId: string;
|
|
585
674
|
payAssetId: string;
|
|
586
675
|
defaultReceiveAccountTypeId: string;
|
|
587
676
|
minPayAmount: string;
|
|
588
|
-
|
|
677
|
+
targetAssetInfo: {
|
|
678
|
+
symbol: string;
|
|
679
|
+
id: string;
|
|
680
|
+
name: string;
|
|
681
|
+
code: string;
|
|
682
|
+
isActive: boolean;
|
|
683
|
+
precision: number;
|
|
684
|
+
};
|
|
685
|
+
payAssetInfo: {
|
|
686
|
+
symbol: string;
|
|
687
|
+
id: string;
|
|
688
|
+
name: string;
|
|
689
|
+
code: string;
|
|
690
|
+
isActive: boolean;
|
|
691
|
+
precision: number;
|
|
692
|
+
};
|
|
693
|
+
defaultReceiveAccountTypeInfo: {
|
|
694
|
+
id: string;
|
|
695
|
+
name: string;
|
|
696
|
+
key: string;
|
|
697
|
+
isActive: boolean;
|
|
698
|
+
};
|
|
589
699
|
};
|
|
590
700
|
422: {
|
|
591
701
|
type: "validation";
|
|
@@ -604,21 +714,93 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
604
714
|
};
|
|
605
715
|
};
|
|
606
716
|
};
|
|
717
|
+
} & {
|
|
718
|
+
asset_convert_product: {
|
|
719
|
+
products: {
|
|
720
|
+
":id": {
|
|
721
|
+
get: {
|
|
722
|
+
body: {};
|
|
723
|
+
params: {
|
|
724
|
+
id: string;
|
|
725
|
+
};
|
|
726
|
+
query: {};
|
|
727
|
+
headers: {};
|
|
728
|
+
response: {
|
|
729
|
+
200: {
|
|
730
|
+
id: string;
|
|
731
|
+
name: string;
|
|
732
|
+
createdAt: Date;
|
|
733
|
+
updatedAt: Date;
|
|
734
|
+
description: string | null;
|
|
735
|
+
status: "active" | "draft" | "paused" | "ended";
|
|
736
|
+
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
737
|
+
targetAssetId: string;
|
|
738
|
+
payAssetId: string;
|
|
739
|
+
defaultReceiveAccountTypeId: string;
|
|
740
|
+
minPayAmount: string;
|
|
741
|
+
targetAssetInfo: {
|
|
742
|
+
symbol: string;
|
|
743
|
+
id: string;
|
|
744
|
+
name: string;
|
|
745
|
+
code: string;
|
|
746
|
+
isActive: boolean;
|
|
747
|
+
precision: number;
|
|
748
|
+
};
|
|
749
|
+
payAssetInfo: {
|
|
750
|
+
symbol: string;
|
|
751
|
+
id: string;
|
|
752
|
+
name: string;
|
|
753
|
+
code: string;
|
|
754
|
+
isActive: boolean;
|
|
755
|
+
precision: number;
|
|
756
|
+
};
|
|
757
|
+
defaultReceiveAccountTypeInfo: {
|
|
758
|
+
id: string;
|
|
759
|
+
name: string;
|
|
760
|
+
key: string;
|
|
761
|
+
isActive: boolean;
|
|
762
|
+
};
|
|
763
|
+
};
|
|
764
|
+
422: {
|
|
765
|
+
type: "validation";
|
|
766
|
+
on: string;
|
|
767
|
+
summary?: string;
|
|
768
|
+
message?: string;
|
|
769
|
+
found?: unknown;
|
|
770
|
+
property?: string;
|
|
771
|
+
expected?: string;
|
|
772
|
+
};
|
|
773
|
+
401: "Unauthorized";
|
|
774
|
+
403: "Forbidden: Admins only";
|
|
775
|
+
};
|
|
776
|
+
};
|
|
777
|
+
};
|
|
778
|
+
};
|
|
779
|
+
};
|
|
607
780
|
} & {
|
|
608
781
|
asset_convert_product: {
|
|
609
782
|
products: {
|
|
610
783
|
get: {
|
|
611
|
-
body:
|
|
784
|
+
body: {};
|
|
612
785
|
params: {};
|
|
613
786
|
query: {
|
|
787
|
+
id?: string | undefined;
|
|
788
|
+
name?: string | undefined;
|
|
614
789
|
status?: "active" | "draft" | "paused" | "ended" | undefined;
|
|
615
790
|
productCategoryKey?: "gold" | "gov_bond" | "real_estate" | "corporate_credit" | undefined;
|
|
791
|
+
targetAssetId?: string | undefined;
|
|
792
|
+
payAssetId?: string | undefined;
|
|
793
|
+
defaultReceiveAccountTypeId?: string | undefined;
|
|
616
794
|
limit?: number | undefined;
|
|
617
795
|
offset?: number | undefined;
|
|
618
796
|
pageSize?: number | undefined;
|
|
619
797
|
pageIndex?: number | undefined;
|
|
798
|
+
createdAtStart?: Date | undefined;
|
|
799
|
+
createdAtEnd?: Date | undefined;
|
|
800
|
+
updatedAtStart?: Date | undefined;
|
|
801
|
+
updatedAtEnd?: Date | undefined;
|
|
620
802
|
};
|
|
621
|
-
headers:
|
|
803
|
+
headers: {};
|
|
622
804
|
response: {
|
|
623
805
|
200: {
|
|
624
806
|
data: {
|
|
@@ -633,6 +815,28 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
633
815
|
payAssetId: string;
|
|
634
816
|
defaultReceiveAccountTypeId: string;
|
|
635
817
|
minPayAmount: string;
|
|
818
|
+
targetAssetInfo: {
|
|
819
|
+
symbol: string;
|
|
820
|
+
id: string;
|
|
821
|
+
name: string;
|
|
822
|
+
code: string;
|
|
823
|
+
isActive: boolean;
|
|
824
|
+
precision: number;
|
|
825
|
+
};
|
|
826
|
+
payAssetInfo: {
|
|
827
|
+
symbol: string;
|
|
828
|
+
id: string;
|
|
829
|
+
name: string;
|
|
830
|
+
code: string;
|
|
831
|
+
isActive: boolean;
|
|
832
|
+
precision: number;
|
|
833
|
+
};
|
|
834
|
+
defaultReceiveAccountTypeInfo: {
|
|
835
|
+
id: string;
|
|
836
|
+
name: string;
|
|
837
|
+
key: string;
|
|
838
|
+
isActive: boolean;
|
|
839
|
+
};
|
|
636
840
|
}[];
|
|
637
841
|
pagination: {
|
|
638
842
|
total: number;
|
|
@@ -661,21 +865,41 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
661
865
|
asset_convert_product: {
|
|
662
866
|
orders: {
|
|
663
867
|
get: {
|
|
664
|
-
body:
|
|
868
|
+
body: {};
|
|
665
869
|
params: {};
|
|
666
870
|
query: {
|
|
871
|
+
id?: string | undefined;
|
|
667
872
|
userId?: string | undefined;
|
|
668
873
|
status?: "created" | "completed" | "failed" | undefined;
|
|
874
|
+
idempotencyKey?: string | undefined;
|
|
875
|
+
orderNo?: string | undefined;
|
|
669
876
|
productId?: string | undefined;
|
|
877
|
+
sourcePayAccountId?: string | undefined;
|
|
878
|
+
receiveAccountId?: string | undefined;
|
|
879
|
+
failureCode?: string | null | undefined;
|
|
670
880
|
limit?: number | undefined;
|
|
671
881
|
offset?: number | undefined;
|
|
672
882
|
pageSize?: number | undefined;
|
|
673
883
|
pageIndex?: number | undefined;
|
|
884
|
+
createdAtStart?: Date | undefined;
|
|
885
|
+
createdAtEnd?: Date | undefined;
|
|
674
886
|
};
|
|
675
|
-
headers:
|
|
887
|
+
headers: {};
|
|
676
888
|
response: {
|
|
677
889
|
200: {
|
|
678
890
|
data: {
|
|
891
|
+
debitLedgerEntryInfo?: {
|
|
892
|
+
id: string;
|
|
893
|
+
createdAt: Date;
|
|
894
|
+
bizType: "deposit_credit" | "withdraw_freeze" | "withdraw_release" | "withdraw_debit" | "transfer_out" | "transfer_in" | "internal_transfer_out" | "internal_transfer_in" | "manual_increase" | "manual_decrease" | "welfare_cycle_subscribe_transfer" | "welfare_cycle_daily_yield_payout" | "welfare_cycle_maturity_yield_payout" | "welfare_cycle_maturity_principal_return" | "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "trade_market_buy_quote_transfer" | "trade_market_buy_base_transfer" | "trade_market_sell_base_transfer" | "trade_market_sell_quote_transfer";
|
|
895
|
+
amount: string;
|
|
896
|
+
} | undefined;
|
|
897
|
+
creditLedgerEntryInfo?: {
|
|
898
|
+
id: string;
|
|
899
|
+
createdAt: Date;
|
|
900
|
+
bizType: "deposit_credit" | "withdraw_freeze" | "withdraw_release" | "withdraw_debit" | "transfer_out" | "transfer_in" | "internal_transfer_out" | "internal_transfer_in" | "manual_increase" | "manual_decrease" | "welfare_cycle_subscribe_transfer" | "welfare_cycle_daily_yield_payout" | "welfare_cycle_maturity_yield_payout" | "welfare_cycle_maturity_principal_return" | "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "trade_market_buy_quote_transfer" | "trade_market_buy_base_transfer" | "trade_market_sell_base_transfer" | "trade_market_sell_quote_transfer";
|
|
901
|
+
amount: string;
|
|
902
|
+
} | undefined;
|
|
679
903
|
id: string;
|
|
680
904
|
createdAt: Date;
|
|
681
905
|
updatedAt: Date;
|
|
@@ -698,6 +922,56 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
698
922
|
creditLedgerEntryId: string | null;
|
|
699
923
|
failureCode: string | null;
|
|
700
924
|
failureReason: string | null;
|
|
925
|
+
targetAssetInfo: {
|
|
926
|
+
symbol: string;
|
|
927
|
+
id: string;
|
|
928
|
+
name: string;
|
|
929
|
+
code: string;
|
|
930
|
+
isActive: boolean;
|
|
931
|
+
precision: number;
|
|
932
|
+
};
|
|
933
|
+
payAssetInfo: {
|
|
934
|
+
symbol: string;
|
|
935
|
+
id: string;
|
|
936
|
+
name: string;
|
|
937
|
+
code: string;
|
|
938
|
+
isActive: boolean;
|
|
939
|
+
precision: number;
|
|
940
|
+
};
|
|
941
|
+
userInfo: {
|
|
942
|
+
email: string;
|
|
943
|
+
id: string;
|
|
944
|
+
username: string | null;
|
|
945
|
+
displayUsername: string | null;
|
|
946
|
+
phoneNumber: string | null;
|
|
947
|
+
banned: boolean | null;
|
|
948
|
+
};
|
|
949
|
+
productInfo: {
|
|
950
|
+
id: string;
|
|
951
|
+
name: string;
|
|
952
|
+
status: "active" | "draft" | "paused" | "ended";
|
|
953
|
+
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
954
|
+
};
|
|
955
|
+
quoteAssetInfo: {
|
|
956
|
+
symbol: string;
|
|
957
|
+
id: string;
|
|
958
|
+
name: string;
|
|
959
|
+
code: string;
|
|
960
|
+
isActive: boolean;
|
|
961
|
+
precision: number;
|
|
962
|
+
};
|
|
963
|
+
sourcePayAccountInfo: {
|
|
964
|
+
id: string;
|
|
965
|
+
status: "active" | "frozen" | "disabled";
|
|
966
|
+
assetId: string;
|
|
967
|
+
ledgerAccountTypeId: string;
|
|
968
|
+
};
|
|
969
|
+
receiveAccountInfo: {
|
|
970
|
+
id: string;
|
|
971
|
+
status: "active" | "frozen" | "disabled";
|
|
972
|
+
assetId: string;
|
|
973
|
+
ledgerAccountTypeId: string;
|
|
974
|
+
};
|
|
701
975
|
}[];
|
|
702
976
|
pagination: {
|
|
703
977
|
total: number;
|
|
@@ -722,6 +996,274 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
722
996
|
};
|
|
723
997
|
};
|
|
724
998
|
};
|
|
999
|
+
} & {
|
|
1000
|
+
asset_convert_product: {
|
|
1001
|
+
orders: {
|
|
1002
|
+
":id": {
|
|
1003
|
+
get: {
|
|
1004
|
+
body: {};
|
|
1005
|
+
params: {
|
|
1006
|
+
id: string;
|
|
1007
|
+
};
|
|
1008
|
+
query: {};
|
|
1009
|
+
headers: {};
|
|
1010
|
+
response: {
|
|
1011
|
+
200: {
|
|
1012
|
+
debitLedgerEntryInfo?: {
|
|
1013
|
+
id: string;
|
|
1014
|
+
createdAt: Date;
|
|
1015
|
+
bizType: "deposit_credit" | "withdraw_freeze" | "withdraw_release" | "withdraw_debit" | "transfer_out" | "transfer_in" | "internal_transfer_out" | "internal_transfer_in" | "manual_increase" | "manual_decrease" | "welfare_cycle_subscribe_transfer" | "welfare_cycle_daily_yield_payout" | "welfare_cycle_maturity_yield_payout" | "welfare_cycle_maturity_principal_return" | "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "trade_market_buy_quote_transfer" | "trade_market_buy_base_transfer" | "trade_market_sell_base_transfer" | "trade_market_sell_quote_transfer";
|
|
1016
|
+
amount: string;
|
|
1017
|
+
} | undefined;
|
|
1018
|
+
creditLedgerEntryInfo?: {
|
|
1019
|
+
id: string;
|
|
1020
|
+
createdAt: Date;
|
|
1021
|
+
bizType: "deposit_credit" | "withdraw_freeze" | "withdraw_release" | "withdraw_debit" | "transfer_out" | "transfer_in" | "internal_transfer_out" | "internal_transfer_in" | "manual_increase" | "manual_decrease" | "welfare_cycle_subscribe_transfer" | "welfare_cycle_daily_yield_payout" | "welfare_cycle_maturity_yield_payout" | "welfare_cycle_maturity_principal_return" | "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "trade_market_buy_quote_transfer" | "trade_market_buy_base_transfer" | "trade_market_sell_base_transfer" | "trade_market_sell_quote_transfer";
|
|
1022
|
+
amount: string;
|
|
1023
|
+
} | undefined;
|
|
1024
|
+
id: string;
|
|
1025
|
+
createdAt: Date;
|
|
1026
|
+
updatedAt: Date;
|
|
1027
|
+
userId: string;
|
|
1028
|
+
status: "created" | "completed" | "failed";
|
|
1029
|
+
idempotencyKey: string;
|
|
1030
|
+
orderNo: string;
|
|
1031
|
+
productId: string;
|
|
1032
|
+
payAssetIdSnapshot: string;
|
|
1033
|
+
targetAssetIdSnapshot: string;
|
|
1034
|
+
quoteAssetIdSnapshot: string;
|
|
1035
|
+
priceSnapshot: string;
|
|
1036
|
+
priceEffectiveAtSnapshot: Date;
|
|
1037
|
+
payAmount: string;
|
|
1038
|
+
sourcePayAccountId: string;
|
|
1039
|
+
targetAmount: string;
|
|
1040
|
+
settlementModeSnapshot: "available" | "locked";
|
|
1041
|
+
receiveAccountId: string;
|
|
1042
|
+
debitLedgerEntryId: string | null;
|
|
1043
|
+
creditLedgerEntryId: string | null;
|
|
1044
|
+
failureCode: string | null;
|
|
1045
|
+
failureReason: string | null;
|
|
1046
|
+
targetAssetInfo: {
|
|
1047
|
+
symbol: string;
|
|
1048
|
+
id: string;
|
|
1049
|
+
name: string;
|
|
1050
|
+
code: string;
|
|
1051
|
+
isActive: boolean;
|
|
1052
|
+
precision: number;
|
|
1053
|
+
};
|
|
1054
|
+
payAssetInfo: {
|
|
1055
|
+
symbol: string;
|
|
1056
|
+
id: string;
|
|
1057
|
+
name: string;
|
|
1058
|
+
code: string;
|
|
1059
|
+
isActive: boolean;
|
|
1060
|
+
precision: number;
|
|
1061
|
+
};
|
|
1062
|
+
userInfo: {
|
|
1063
|
+
email: string;
|
|
1064
|
+
id: string;
|
|
1065
|
+
username: string | null;
|
|
1066
|
+
displayUsername: string | null;
|
|
1067
|
+
phoneNumber: string | null;
|
|
1068
|
+
banned: boolean | null;
|
|
1069
|
+
};
|
|
1070
|
+
productInfo: {
|
|
1071
|
+
id: string;
|
|
1072
|
+
name: string;
|
|
1073
|
+
status: "active" | "draft" | "paused" | "ended";
|
|
1074
|
+
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
1075
|
+
};
|
|
1076
|
+
quoteAssetInfo: {
|
|
1077
|
+
symbol: string;
|
|
1078
|
+
id: string;
|
|
1079
|
+
name: string;
|
|
1080
|
+
code: string;
|
|
1081
|
+
isActive: boolean;
|
|
1082
|
+
precision: number;
|
|
1083
|
+
};
|
|
1084
|
+
sourcePayAccountInfo: {
|
|
1085
|
+
id: string;
|
|
1086
|
+
status: "active" | "frozen" | "disabled";
|
|
1087
|
+
assetId: string;
|
|
1088
|
+
ledgerAccountTypeId: string;
|
|
1089
|
+
};
|
|
1090
|
+
receiveAccountInfo: {
|
|
1091
|
+
id: string;
|
|
1092
|
+
status: "active" | "frozen" | "disabled";
|
|
1093
|
+
assetId: string;
|
|
1094
|
+
ledgerAccountTypeId: string;
|
|
1095
|
+
};
|
|
1096
|
+
};
|
|
1097
|
+
422: {
|
|
1098
|
+
type: "validation";
|
|
1099
|
+
on: string;
|
|
1100
|
+
summary?: string;
|
|
1101
|
+
message?: string;
|
|
1102
|
+
found?: unknown;
|
|
1103
|
+
property?: string;
|
|
1104
|
+
expected?: string;
|
|
1105
|
+
};
|
|
1106
|
+
401: "Unauthorized";
|
|
1107
|
+
403: "Forbidden: Admins only";
|
|
1108
|
+
};
|
|
1109
|
+
};
|
|
1110
|
+
};
|
|
1111
|
+
};
|
|
1112
|
+
};
|
|
1113
|
+
} & {
|
|
1114
|
+
asset_convert_product: {
|
|
1115
|
+
orders: {
|
|
1116
|
+
"by-order-no": {
|
|
1117
|
+
":orderNo": {
|
|
1118
|
+
get: {
|
|
1119
|
+
body: {};
|
|
1120
|
+
params: {
|
|
1121
|
+
orderNo: string;
|
|
1122
|
+
};
|
|
1123
|
+
query: {};
|
|
1124
|
+
headers: {};
|
|
1125
|
+
response: {
|
|
1126
|
+
200: {
|
|
1127
|
+
debitLedgerEntryInfo?: {
|
|
1128
|
+
id: string;
|
|
1129
|
+
createdAt: Date;
|
|
1130
|
+
bizType: "deposit_credit" | "withdraw_freeze" | "withdraw_release" | "withdraw_debit" | "transfer_out" | "transfer_in" | "internal_transfer_out" | "internal_transfer_in" | "manual_increase" | "manual_decrease" | "welfare_cycle_subscribe_transfer" | "welfare_cycle_daily_yield_payout" | "welfare_cycle_maturity_yield_payout" | "welfare_cycle_maturity_principal_return" | "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "trade_market_buy_quote_transfer" | "trade_market_buy_base_transfer" | "trade_market_sell_base_transfer" | "trade_market_sell_quote_transfer";
|
|
1131
|
+
amount: string;
|
|
1132
|
+
} | undefined;
|
|
1133
|
+
creditLedgerEntryInfo?: {
|
|
1134
|
+
id: string;
|
|
1135
|
+
createdAt: Date;
|
|
1136
|
+
bizType: "deposit_credit" | "withdraw_freeze" | "withdraw_release" | "withdraw_debit" | "transfer_out" | "transfer_in" | "internal_transfer_out" | "internal_transfer_in" | "manual_increase" | "manual_decrease" | "welfare_cycle_subscribe_transfer" | "welfare_cycle_daily_yield_payout" | "welfare_cycle_maturity_yield_payout" | "welfare_cycle_maturity_principal_return" | "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "trade_market_buy_quote_transfer" | "trade_market_buy_base_transfer" | "trade_market_sell_base_transfer" | "trade_market_sell_quote_transfer";
|
|
1137
|
+
amount: string;
|
|
1138
|
+
} | undefined;
|
|
1139
|
+
id: string;
|
|
1140
|
+
createdAt: Date;
|
|
1141
|
+
updatedAt: Date;
|
|
1142
|
+
userId: string;
|
|
1143
|
+
status: "created" | "completed" | "failed";
|
|
1144
|
+
idempotencyKey: string;
|
|
1145
|
+
orderNo: string;
|
|
1146
|
+
productId: string;
|
|
1147
|
+
payAssetIdSnapshot: string;
|
|
1148
|
+
targetAssetIdSnapshot: string;
|
|
1149
|
+
quoteAssetIdSnapshot: string;
|
|
1150
|
+
priceSnapshot: string;
|
|
1151
|
+
priceEffectiveAtSnapshot: Date;
|
|
1152
|
+
payAmount: string;
|
|
1153
|
+
sourcePayAccountId: string;
|
|
1154
|
+
targetAmount: string;
|
|
1155
|
+
settlementModeSnapshot: "available" | "locked";
|
|
1156
|
+
receiveAccountId: string;
|
|
1157
|
+
debitLedgerEntryId: string | null;
|
|
1158
|
+
creditLedgerEntryId: string | null;
|
|
1159
|
+
failureCode: string | null;
|
|
1160
|
+
failureReason: string | null;
|
|
1161
|
+
targetAssetInfo: {
|
|
1162
|
+
symbol: string;
|
|
1163
|
+
id: string;
|
|
1164
|
+
name: string;
|
|
1165
|
+
code: string;
|
|
1166
|
+
isActive: boolean;
|
|
1167
|
+
precision: number;
|
|
1168
|
+
};
|
|
1169
|
+
payAssetInfo: {
|
|
1170
|
+
symbol: string;
|
|
1171
|
+
id: string;
|
|
1172
|
+
name: string;
|
|
1173
|
+
code: string;
|
|
1174
|
+
isActive: boolean;
|
|
1175
|
+
precision: number;
|
|
1176
|
+
};
|
|
1177
|
+
userInfo: {
|
|
1178
|
+
email: string;
|
|
1179
|
+
id: string;
|
|
1180
|
+
username: string | null;
|
|
1181
|
+
displayUsername: string | null;
|
|
1182
|
+
phoneNumber: string | null;
|
|
1183
|
+
banned: boolean | null;
|
|
1184
|
+
};
|
|
1185
|
+
productInfo: {
|
|
1186
|
+
id: string;
|
|
1187
|
+
name: string;
|
|
1188
|
+
status: "active" | "draft" | "paused" | "ended";
|
|
1189
|
+
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
1190
|
+
};
|
|
1191
|
+
quoteAssetInfo: {
|
|
1192
|
+
symbol: string;
|
|
1193
|
+
id: string;
|
|
1194
|
+
name: string;
|
|
1195
|
+
code: string;
|
|
1196
|
+
isActive: boolean;
|
|
1197
|
+
precision: number;
|
|
1198
|
+
};
|
|
1199
|
+
sourcePayAccountInfo: {
|
|
1200
|
+
id: string;
|
|
1201
|
+
status: "active" | "frozen" | "disabled";
|
|
1202
|
+
assetId: string;
|
|
1203
|
+
ledgerAccountTypeId: string;
|
|
1204
|
+
};
|
|
1205
|
+
receiveAccountInfo: {
|
|
1206
|
+
id: string;
|
|
1207
|
+
status: "active" | "frozen" | "disabled";
|
|
1208
|
+
assetId: string;
|
|
1209
|
+
ledgerAccountTypeId: string;
|
|
1210
|
+
};
|
|
1211
|
+
};
|
|
1212
|
+
422: {
|
|
1213
|
+
type: "validation";
|
|
1214
|
+
on: string;
|
|
1215
|
+
summary?: string;
|
|
1216
|
+
message?: string;
|
|
1217
|
+
found?: unknown;
|
|
1218
|
+
property?: string;
|
|
1219
|
+
expected?: string;
|
|
1220
|
+
};
|
|
1221
|
+
401: "Unauthorized";
|
|
1222
|
+
403: "Forbidden: Admins only";
|
|
1223
|
+
};
|
|
1224
|
+
};
|
|
1225
|
+
};
|
|
1226
|
+
};
|
|
1227
|
+
};
|
|
1228
|
+
};
|
|
1229
|
+
} & {
|
|
1230
|
+
asset_convert_product: {
|
|
1231
|
+
orders: {
|
|
1232
|
+
stats: {
|
|
1233
|
+
get: {
|
|
1234
|
+
body: {};
|
|
1235
|
+
params: {};
|
|
1236
|
+
query: {
|
|
1237
|
+
productId?: string | undefined;
|
|
1238
|
+
createdAtStart?: Date | undefined;
|
|
1239
|
+
createdAtEnd?: Date | undefined;
|
|
1240
|
+
};
|
|
1241
|
+
headers: {};
|
|
1242
|
+
response: {
|
|
1243
|
+
200: {
|
|
1244
|
+
totalCount: number;
|
|
1245
|
+
createdCount: number;
|
|
1246
|
+
completedCount: number;
|
|
1247
|
+
failedCount: number;
|
|
1248
|
+
totalPayAmount: string;
|
|
1249
|
+
totalTargetAmount: string;
|
|
1250
|
+
};
|
|
1251
|
+
422: {
|
|
1252
|
+
type: "validation";
|
|
1253
|
+
on: string;
|
|
1254
|
+
summary?: string;
|
|
1255
|
+
message?: string;
|
|
1256
|
+
found?: unknown;
|
|
1257
|
+
property?: string;
|
|
1258
|
+
expected?: string;
|
|
1259
|
+
};
|
|
1260
|
+
401: "Unauthorized";
|
|
1261
|
+
403: "Forbidden: Admins only";
|
|
1262
|
+
};
|
|
1263
|
+
};
|
|
1264
|
+
};
|
|
1265
|
+
};
|
|
1266
|
+
};
|
|
725
1267
|
}, {
|
|
726
1268
|
derive: {};
|
|
727
1269
|
resolve: {};
|
|
@@ -739,11 +1281,11 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
739
1281
|
emailVerified: boolean;
|
|
740
1282
|
name: string;
|
|
741
1283
|
image?: string | null | undefined | undefined;
|
|
742
|
-
phoneNumber?: string | null | undefined;
|
|
743
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
744
1284
|
twoFactorEnabled: boolean | null | undefined;
|
|
745
1285
|
username?: string | null | undefined;
|
|
746
1286
|
displayUsername?: string | null | undefined;
|
|
1287
|
+
phoneNumber?: string | null | undefined;
|
|
1288
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
747
1289
|
banned: boolean | null | undefined;
|
|
748
1290
|
role?: string | null | undefined;
|
|
749
1291
|
banReason?: string | null | undefined;
|
|
@@ -769,11 +1311,11 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
769
1311
|
emailVerified: boolean;
|
|
770
1312
|
name: string;
|
|
771
1313
|
image?: string | null | undefined | undefined;
|
|
772
|
-
phoneNumber?: string | null | undefined;
|
|
773
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
774
1314
|
twoFactorEnabled: boolean | null | undefined;
|
|
775
1315
|
username?: string | null | undefined;
|
|
776
1316
|
displayUsername?: string | null | undefined;
|
|
1317
|
+
phoneNumber?: string | null | undefined;
|
|
1318
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
777
1319
|
banned: boolean | null | undefined;
|
|
778
1320
|
role?: string | null | undefined;
|
|
779
1321
|
banReason?: string | null | undefined;
|
|
@@ -795,9 +1337,6 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
795
1337
|
standaloneSchema: {};
|
|
796
1338
|
response: {
|
|
797
1339
|
401: "Unauthorized";
|
|
798
|
-
} & {
|
|
799
|
-
401: "Unauthorized";
|
|
800
|
-
} & {
|
|
801
1340
|
403: "Forbidden: Admins only";
|
|
802
1341
|
};
|
|
803
1342
|
}>;
|