@r2wa-org/eden 0.0.57 → 0.0.60
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 +8 -0
- package/dist/src/admin/admin/errors/index.d.ts +1 -0
- package/dist/src/admin/admin/errors/locales/zh.d.ts +1 -0
- package/dist/src/admin/admin/router.d.ts +31 -0
- package/dist/src/admin/admin/service.d.ts +3 -0
- package/dist/src/admin/index.d.ts +158 -34
- package/dist/src/asset/user/dto.schemas.d.ts +9 -83
- package/dist/src/asset/user/router.d.ts +60 -66
- package/dist/src/asset/user/service.d.ts +41 -41
- package/dist/src/asset-convert-product/admin/dto.schemas.d.ts +44 -12
- package/dist/src/asset-convert-product/admin/router.d.ts +83 -23
- package/dist/src/asset-convert-product/admin/service.d.ts +73 -17
- package/dist/src/asset-convert-product/db.schemas.d.ts +76 -8
- package/dist/src/asset-convert-product/errors/index.d.ts +4 -0
- package/dist/src/asset-convert-product/errors/locales/zh.d.ts +4 -0
- package/dist/src/asset-convert-product/internal/service.d.ts +4 -3
- package/dist/src/asset-convert-product/schema.d.ts +41 -6
- package/dist/src/asset-convert-product/user/dto.schemas.d.ts +264 -14
- package/dist/src/asset-convert-product/user/router.d.ts +10 -8
- package/dist/src/asset-convert-product/user/service.d.ts +9 -5
- package/dist/src/asset-price/errors/index.d.ts +1 -0
- package/dist/src/asset-price/errors/locales/zh.d.ts +1 -0
- package/dist/src/asset-price/user/dto.schemas.d.ts +7 -3
- package/dist/src/asset-price/user/router.d.ts +43 -2
- package/dist/src/asset-price/user/service.d.ts +13 -1
- package/dist/src/index.d.ts +701 -291
- package/dist/src/ledger-account/admin/router.d.ts +1 -1
- package/dist/src/ledger-account/user/dto.schemas.d.ts +44 -193
- package/dist/src/ledger-account/user/router.d.ts +104 -42
- package/dist/src/ledger-account/user/service.d.ts +90 -40
- package/dist/src/ledger-account-import/admin/dto.schemas.d.ts +6 -6
- package/dist/src/ledger-account-import/admin/router.d.ts +9 -9
- package/dist/src/ledger-account-import/admin/service.d.ts +7 -7
- package/dist/src/ledger-account-import/db.schemas.d.ts +4 -4
- package/dist/src/ledger-account-import/schema.d.ts +2 -2
- package/dist/src/ledger-account-type/user/router.d.ts +48 -0
- package/dist/src/ledger-account-type/user/service.d.ts +25 -0
- package/dist/src/portfolio/index.d.ts +2 -0
- package/dist/src/portfolio/internal/index.d.ts +1 -0
- package/dist/src/portfolio/internal/service.d.ts +5 -0
- package/dist/src/portfolio/user/dto.schemas.d.ts +352 -0
- package/dist/src/portfolio/user/index.d.ts +3 -0
- package/dist/src/portfolio/user/router.d.ts +659 -0
- package/dist/src/portfolio/user/service.d.ts +143 -0
- package/dist/src/wallet/user/dto.schemas.d.ts +4 -66
- package/dist/src/wallet/user/router.d.ts +1 -62
- package/dist/src/wallet/user/service.d.ts +3 -39
- package/dist/src/welfare-cycle/admin/dto.schemas.d.ts +95 -2
- package/dist/src/welfare-cycle/admin/router.d.ts +34 -1
- package/dist/src/welfare-cycle/admin/service.d.ts +26 -1
- package/dist/src/welfare-cycle/db.schemas.d.ts +174 -4
- package/dist/src/welfare-cycle/errors/index.d.ts +6 -0
- package/dist/src/welfare-cycle/errors/locales/zh.d.ts +6 -0
- package/dist/src/welfare-cycle/internal/service.d.ts +41 -3
- package/dist/src/welfare-cycle/schema.d.ts +92 -3
- package/dist/src/welfare-cycle/user/dto.schemas.d.ts +106 -6
- package/dist/src/welfare-cycle/user/router.d.ts +14 -5
- package/dist/src/welfare-cycle/user/service.d.ts +14 -3
- package/dist/src/withdraw/user/dto.schemas.d.ts +599 -0
- package/dist/src/withdraw/user/router.d.ts +73 -0
- package/dist/src/withdraw/user/service.d.ts +2 -1
- package/package.json +1 -1
|
@@ -6,6 +6,7 @@ export declare const assetUserListQuerySchema: import("@sinclair/typebox").TObje
|
|
|
6
6
|
RWA: "RWA";
|
|
7
7
|
}>>;
|
|
8
8
|
isActive: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
9
|
+
typeId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
9
10
|
limit: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
10
11
|
offset: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
11
12
|
pageSize: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
@@ -36,6 +37,14 @@ export declare const assetUserItemResponseSchema: import("@sinclair/typebox").TO
|
|
|
36
37
|
}>;
|
|
37
38
|
}>;
|
|
38
39
|
export type AssetUserItemResponseType = typeof assetUserItemResponseSchema.static;
|
|
40
|
+
export declare const assetUserIdParamsSchema: import("@sinclair/typebox").TObject<{
|
|
41
|
+
id: import("@sinclair/typebox").TString;
|
|
42
|
+
}>;
|
|
43
|
+
export type AssetUserIdParamsType = typeof assetUserIdParamsSchema.static;
|
|
44
|
+
export declare const assetUserCodeParamsSchema: import("@sinclair/typebox").TObject<{
|
|
45
|
+
code: import("@sinclair/typebox").TString;
|
|
46
|
+
}>;
|
|
47
|
+
export type AssetUserCodeParamsType = typeof assetUserCodeParamsSchema.static;
|
|
39
48
|
export declare const assetUserListResponseSchema: import("@sinclair/typebox").TObject<{
|
|
40
49
|
data: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
41
50
|
symbol: import("@sinclair/typebox").TString;
|
|
@@ -69,86 +78,3 @@ export declare const assetUserListResponseSchema: import("@sinclair/typebox").TO
|
|
|
69
78
|
}>;
|
|
70
79
|
}>;
|
|
71
80
|
export type AssetUserListResponseType = typeof assetUserListResponseSchema.static;
|
|
72
|
-
export declare const assetHoldingListQuerySchema: import("@sinclair/typebox").TObject<{
|
|
73
|
-
quoteAsset: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
74
|
-
walletId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
75
|
-
ledgerAccountId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
76
|
-
}>;
|
|
77
|
-
export type AssetHoldingListQueryType = typeof assetHoldingListQuerySchema.static;
|
|
78
|
-
export declare const assetHoldingItemSchema: import("@sinclair/typebox").TObject<{
|
|
79
|
-
assetId: import("@sinclair/typebox").TString;
|
|
80
|
-
assetCode: import("@sinclair/typebox").TString;
|
|
81
|
-
assetName: import("@sinclair/typebox").TString;
|
|
82
|
-
quantity: import("@sinclair/typebox").TString;
|
|
83
|
-
totalValuation: import("@sinclair/typebox").TString;
|
|
84
|
-
}>;
|
|
85
|
-
export type AssetHoldingItemType = typeof assetHoldingItemSchema.static;
|
|
86
|
-
export declare const assetHoldingListResponseSchema: import("@sinclair/typebox").TObject<{
|
|
87
|
-
quoteAsset: import("@sinclair/typebox").TString;
|
|
88
|
-
items: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
89
|
-
assetId: import("@sinclair/typebox").TString;
|
|
90
|
-
assetCode: import("@sinclair/typebox").TString;
|
|
91
|
-
assetName: import("@sinclair/typebox").TString;
|
|
92
|
-
quantity: import("@sinclair/typebox").TString;
|
|
93
|
-
totalValuation: import("@sinclair/typebox").TString;
|
|
94
|
-
}>>;
|
|
95
|
-
}>;
|
|
96
|
-
export type AssetHoldingListResponseType = typeof assetHoldingListResponseSchema.static;
|
|
97
|
-
export declare const assetOverviewParamsSchema: import("@sinclair/typebox").TObject<{
|
|
98
|
-
assetId: import("@sinclair/typebox").TString;
|
|
99
|
-
}>;
|
|
100
|
-
export type AssetOverviewParamsType = typeof assetOverviewParamsSchema.static;
|
|
101
|
-
export declare const assetOverviewQuerySchema: import("@sinclair/typebox").TObject<{
|
|
102
|
-
quoteAsset: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
103
|
-
days: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
|
|
104
|
-
}>;
|
|
105
|
-
export type AssetOverviewQueryType = typeof assetOverviewQuerySchema.static;
|
|
106
|
-
export declare const assetOverviewCurveItemSchema: import("@sinclair/typebox").TObject<{
|
|
107
|
-
at: import("@sinclair/typebox").TDate;
|
|
108
|
-
value: import("@sinclair/typebox").TString;
|
|
109
|
-
}>;
|
|
110
|
-
export type AssetOverviewCurveItemType = typeof assetOverviewCurveItemSchema.static;
|
|
111
|
-
export declare const assetOverviewAccountDistributionItemSchema: import("@sinclair/typebox").TObject<{
|
|
112
|
-
ledgerAccountId: import("@sinclair/typebox").TString;
|
|
113
|
-
ledgerAccountTypeId: import("@sinclair/typebox").TString;
|
|
114
|
-
ledgerAccountTypeKey: import("@sinclair/typebox").TString;
|
|
115
|
-
ledgerAccountTypeName: import("@sinclair/typebox").TString;
|
|
116
|
-
quantity: import("@sinclair/typebox").TString;
|
|
117
|
-
valuation: import("@sinclair/typebox").TString;
|
|
118
|
-
proportion: import("@sinclair/typebox").TString;
|
|
119
|
-
}>;
|
|
120
|
-
export type AssetOverviewAccountDistributionItemType = typeof assetOverviewAccountDistributionItemSchema.static;
|
|
121
|
-
export declare const assetOverviewResponseSchema: import("@sinclair/typebox").TObject<{
|
|
122
|
-
quoteAsset: import("@sinclair/typebox").TString;
|
|
123
|
-
asset: import("@sinclair/typebox").TObject<{
|
|
124
|
-
symbol: import("@sinclair/typebox").TString;
|
|
125
|
-
id: import("@sinclair/typebox").TString;
|
|
126
|
-
name: import("@sinclair/typebox").TString;
|
|
127
|
-
code: import("@sinclair/typebox").TString;
|
|
128
|
-
iconUrl: import("@sinclair/typebox").TString;
|
|
129
|
-
category: import("@sinclair/typebox").TEnum<{
|
|
130
|
-
FIAT: "FIAT";
|
|
131
|
-
CRYPTO: "CRYPTO";
|
|
132
|
-
POINT: "POINT";
|
|
133
|
-
RWA: "RWA";
|
|
134
|
-
}>;
|
|
135
|
-
isActive: import("@sinclair/typebox").TBoolean;
|
|
136
|
-
precision: import("@sinclair/typebox").TInteger;
|
|
137
|
-
}>;
|
|
138
|
-
quantity: import("@sinclair/typebox").TString;
|
|
139
|
-
totalValuation: import("@sinclair/typebox").TString;
|
|
140
|
-
curve: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
141
|
-
at: import("@sinclair/typebox").TDate;
|
|
142
|
-
value: import("@sinclair/typebox").TString;
|
|
143
|
-
}>>;
|
|
144
|
-
accountDistribution: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
145
|
-
ledgerAccountId: import("@sinclair/typebox").TString;
|
|
146
|
-
ledgerAccountTypeId: import("@sinclair/typebox").TString;
|
|
147
|
-
ledgerAccountTypeKey: import("@sinclair/typebox").TString;
|
|
148
|
-
ledgerAccountTypeName: import("@sinclair/typebox").TString;
|
|
149
|
-
quantity: import("@sinclair/typebox").TString;
|
|
150
|
-
valuation: import("@sinclair/typebox").TString;
|
|
151
|
-
proportion: import("@sinclair/typebox").TString;
|
|
152
|
-
}>>;
|
|
153
|
-
}>;
|
|
154
|
-
export type AssetOverviewResponseType = typeof assetOverviewResponseSchema.static;
|
|
@@ -387,6 +387,7 @@ export declare const assetRouter: Elysia<"/assets", {
|
|
|
387
387
|
query: {
|
|
388
388
|
category?: "FIAT" | "CRYPTO" | "POINT" | "RWA" | undefined;
|
|
389
389
|
isActive?: boolean | undefined;
|
|
390
|
+
typeId?: string | undefined;
|
|
390
391
|
limit?: number | undefined;
|
|
391
392
|
offset?: number | undefined;
|
|
392
393
|
pageSize?: number | undefined;
|
|
@@ -436,83 +437,33 @@ export declare const assetRouter: Elysia<"/assets", {
|
|
|
436
437
|
};
|
|
437
438
|
} & {
|
|
438
439
|
assets: {
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
body: {};
|
|
442
|
-
params: {};
|
|
443
|
-
query: {
|
|
444
|
-
quoteAsset?: string | undefined;
|
|
445
|
-
ledgerAccountId?: string | undefined;
|
|
446
|
-
walletId?: string | undefined;
|
|
447
|
-
};
|
|
448
|
-
headers: {};
|
|
449
|
-
response: {
|
|
450
|
-
200: {
|
|
451
|
-
items: {
|
|
452
|
-
assetId: string;
|
|
453
|
-
assetCode: string;
|
|
454
|
-
totalValuation: string;
|
|
455
|
-
assetName: string;
|
|
456
|
-
quantity: string;
|
|
457
|
-
}[];
|
|
458
|
-
quoteAsset: string;
|
|
459
|
-
};
|
|
460
|
-
422: {
|
|
461
|
-
type: "validation";
|
|
462
|
-
on: string;
|
|
463
|
-
summary?: string;
|
|
464
|
-
message?: string;
|
|
465
|
-
found?: unknown;
|
|
466
|
-
property?: string;
|
|
467
|
-
expected?: string;
|
|
468
|
-
};
|
|
469
|
-
401: "Unauthorized";
|
|
470
|
-
};
|
|
471
|
-
};
|
|
472
|
-
};
|
|
473
|
-
};
|
|
474
|
-
} & {
|
|
475
|
-
assets: {
|
|
476
|
-
":assetId": {
|
|
477
|
-
overview: {
|
|
440
|
+
code: {
|
|
441
|
+
":code": {
|
|
478
442
|
get: {
|
|
479
443
|
body: {};
|
|
480
444
|
params: {
|
|
481
|
-
|
|
482
|
-
};
|
|
483
|
-
query: {
|
|
484
|
-
quoteAsset?: string | undefined;
|
|
485
|
-
days?: number | undefined;
|
|
445
|
+
code: string;
|
|
486
446
|
};
|
|
447
|
+
query: {};
|
|
487
448
|
headers: {};
|
|
488
449
|
response: {
|
|
489
450
|
200: {
|
|
490
|
-
|
|
491
|
-
|
|
451
|
+
symbol: string;
|
|
452
|
+
type: {
|
|
492
453
|
id: string;
|
|
493
454
|
name: string;
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
455
|
+
key: string;
|
|
456
|
+
isGasAsset: boolean;
|
|
497
457
|
isActive: boolean;
|
|
498
|
-
precision: number;
|
|
499
458
|
};
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
ledgerAccountTypeId: string;
|
|
509
|
-
ledgerAccountId: string;
|
|
510
|
-
quantity: string;
|
|
511
|
-
ledgerAccountTypeKey: string;
|
|
512
|
-
ledgerAccountTypeName: string;
|
|
513
|
-
valuation: string;
|
|
514
|
-
proportion: string;
|
|
515
|
-
}[];
|
|
459
|
+
id: string;
|
|
460
|
+
name: string;
|
|
461
|
+
code: string;
|
|
462
|
+
iconUrl: string;
|
|
463
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
464
|
+
isActive: boolean;
|
|
465
|
+
typeId: string;
|
|
466
|
+
precision: number;
|
|
516
467
|
};
|
|
517
468
|
422: {
|
|
518
469
|
type: "validation";
|
|
@@ -529,6 +480,49 @@ export declare const assetRouter: Elysia<"/assets", {
|
|
|
529
480
|
};
|
|
530
481
|
};
|
|
531
482
|
};
|
|
483
|
+
} & {
|
|
484
|
+
assets: {
|
|
485
|
+
":id": {
|
|
486
|
+
get: {
|
|
487
|
+
body: {};
|
|
488
|
+
params: {
|
|
489
|
+
id: string;
|
|
490
|
+
};
|
|
491
|
+
query: {};
|
|
492
|
+
headers: {};
|
|
493
|
+
response: {
|
|
494
|
+
200: {
|
|
495
|
+
symbol: string;
|
|
496
|
+
type: {
|
|
497
|
+
id: string;
|
|
498
|
+
name: string;
|
|
499
|
+
key: string;
|
|
500
|
+
isGasAsset: boolean;
|
|
501
|
+
isActive: boolean;
|
|
502
|
+
};
|
|
503
|
+
id: string;
|
|
504
|
+
name: string;
|
|
505
|
+
code: string;
|
|
506
|
+
iconUrl: string;
|
|
507
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
508
|
+
isActive: boolean;
|
|
509
|
+
typeId: string;
|
|
510
|
+
precision: number;
|
|
511
|
+
};
|
|
512
|
+
422: {
|
|
513
|
+
type: "validation";
|
|
514
|
+
on: string;
|
|
515
|
+
summary?: string;
|
|
516
|
+
message?: string;
|
|
517
|
+
found?: unknown;
|
|
518
|
+
property?: string;
|
|
519
|
+
expected?: string;
|
|
520
|
+
};
|
|
521
|
+
401: "Unauthorized";
|
|
522
|
+
};
|
|
523
|
+
};
|
|
524
|
+
};
|
|
525
|
+
};
|
|
532
526
|
}, {
|
|
533
527
|
derive: {};
|
|
534
528
|
resolve: {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseAssetService } from "../internal/service";
|
|
2
|
-
import type {
|
|
2
|
+
import type { AssetUserCodeParamsType, AssetUserIdParamsType, AssetUserListQueryType } from "./dto.schemas";
|
|
3
3
|
export interface AssetUserListQueryOptions extends AssetUserListQueryType {
|
|
4
4
|
}
|
|
5
5
|
export declare abstract class UserAssetService extends BaseAssetService {
|
|
@@ -29,50 +29,50 @@ export declare abstract class UserAssetService extends BaseAssetService {
|
|
|
29
29
|
}[];
|
|
30
30
|
total: number;
|
|
31
31
|
}>;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
32
|
+
static getAssetById(params: AssetUserIdParamsType): Promise<{
|
|
33
|
+
symbol: string;
|
|
34
|
+
id: string;
|
|
35
|
+
name: string;
|
|
36
|
+
createdAt: Date;
|
|
37
|
+
updatedAt: Date;
|
|
38
|
+
code: string;
|
|
39
|
+
iconUrl: string;
|
|
40
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
41
|
+
isActive: boolean;
|
|
42
|
+
typeId: string;
|
|
43
|
+
precision: number;
|
|
44
|
+
type: {
|
|
45
|
+
id: string;
|
|
46
|
+
name: string;
|
|
47
|
+
createdAt: Date;
|
|
48
|
+
updatedAt: Date;
|
|
49
|
+
description: string | null;
|
|
50
|
+
key: string;
|
|
51
|
+
isGasAsset: boolean;
|
|
52
|
+
isActive: boolean;
|
|
53
|
+
};
|
|
49
54
|
}>;
|
|
50
|
-
static
|
|
51
|
-
|
|
52
|
-
|
|
55
|
+
static getAssetByCode(params: AssetUserCodeParamsType): Promise<{
|
|
56
|
+
symbol: string;
|
|
57
|
+
id: string;
|
|
58
|
+
name: string;
|
|
59
|
+
createdAt: Date;
|
|
60
|
+
updatedAt: Date;
|
|
61
|
+
code: string;
|
|
62
|
+
iconUrl: string;
|
|
63
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
64
|
+
isActive: boolean;
|
|
65
|
+
typeId: string;
|
|
66
|
+
precision: number;
|
|
67
|
+
type: {
|
|
53
68
|
id: string;
|
|
54
|
-
code: string;
|
|
55
69
|
name: string;
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
70
|
+
createdAt: Date;
|
|
71
|
+
updatedAt: Date;
|
|
72
|
+
description: string | null;
|
|
73
|
+
key: string;
|
|
74
|
+
isGasAsset: boolean;
|
|
60
75
|
isActive: boolean;
|
|
61
76
|
};
|
|
62
|
-
quantity: string;
|
|
63
|
-
totalValuation: string;
|
|
64
|
-
curve: {
|
|
65
|
-
at: Date;
|
|
66
|
-
value: string;
|
|
67
|
-
}[];
|
|
68
|
-
accountDistribution: {
|
|
69
|
-
ledgerAccountId: string;
|
|
70
|
-
ledgerAccountTypeId: string;
|
|
71
|
-
ledgerAccountTypeKey: string;
|
|
72
|
-
ledgerAccountTypeName: string;
|
|
73
|
-
quantity: string;
|
|
74
|
-
valuation: string;
|
|
75
|
-
proportion: string;
|
|
76
|
-
}[];
|
|
77
77
|
}>;
|
|
78
78
|
}
|
|
@@ -46,8 +46,13 @@ export declare const assetConvertProductAdminResponseSchema: import("@sinclair/t
|
|
|
46
46
|
}>;
|
|
47
47
|
targetAssetId: import("@sinclair/typebox").TString;
|
|
48
48
|
payAssetId: import("@sinclair/typebox").TString;
|
|
49
|
-
|
|
49
|
+
payAccountTypeId: import("@sinclair/typebox").TString;
|
|
50
|
+
receiveAccountTypeId: import("@sinclair/typebox").TString;
|
|
50
51
|
minPayAmount: import("@sinclair/typebox").TString;
|
|
52
|
+
settlementMode: import("@sinclair/typebox").TEnum<{
|
|
53
|
+
available: "available";
|
|
54
|
+
locked: "locked";
|
|
55
|
+
}>;
|
|
51
56
|
targetAssetInfo: import("@sinclair/typebox").TObject<{
|
|
52
57
|
symbol: import("@sinclair/typebox").TString;
|
|
53
58
|
id: import("@sinclair/typebox").TString;
|
|
@@ -64,7 +69,13 @@ export declare const assetConvertProductAdminResponseSchema: import("@sinclair/t
|
|
|
64
69
|
isActive: import("@sinclair/typebox").TBoolean;
|
|
65
70
|
precision: import("@sinclair/typebox").TInteger;
|
|
66
71
|
}>;
|
|
67
|
-
|
|
72
|
+
payAccountTypeInfo: import("@sinclair/typebox").TObject<{
|
|
73
|
+
id: import("@sinclair/typebox").TString;
|
|
74
|
+
name: import("@sinclair/typebox").TString;
|
|
75
|
+
key: import("@sinclair/typebox").TString;
|
|
76
|
+
isActive: import("@sinclair/typebox").TBoolean;
|
|
77
|
+
}>;
|
|
78
|
+
receiveAccountTypeInfo: import("@sinclair/typebox").TObject<{
|
|
68
79
|
id: import("@sinclair/typebox").TString;
|
|
69
80
|
name: import("@sinclair/typebox").TString;
|
|
70
81
|
key: import("@sinclair/typebox").TString;
|
|
@@ -80,7 +91,6 @@ export declare const assetConvertOrderAdminResponseSchema: import("@sinclair/typ
|
|
|
80
91
|
status: import("@sinclair/typebox").TEnum<{
|
|
81
92
|
created: "created";
|
|
82
93
|
completed: "completed";
|
|
83
|
-
failed: "failed";
|
|
84
94
|
}>;
|
|
85
95
|
idempotencyKey: import("@sinclair/typebox").TString;
|
|
86
96
|
orderNo: import("@sinclair/typebox").TString;
|
|
@@ -237,8 +247,13 @@ export declare const assetConvertProductCreateSchema: import("@sinclair/typebox"
|
|
|
237
247
|
}>;
|
|
238
248
|
targetAssetId: import("@sinclair/typebox").TString;
|
|
239
249
|
payAssetId: import("@sinclair/typebox").TString;
|
|
240
|
-
|
|
250
|
+
payAccountTypeId: import("@sinclair/typebox").TString;
|
|
251
|
+
receiveAccountTypeId: import("@sinclair/typebox").TString;
|
|
241
252
|
minPayAmount: import("@sinclair/typebox").TString;
|
|
253
|
+
settlementMode: import("@sinclair/typebox").TEnum<{
|
|
254
|
+
available: "available";
|
|
255
|
+
locked: "locked";
|
|
256
|
+
}>;
|
|
242
257
|
status: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<{
|
|
243
258
|
active: "active";
|
|
244
259
|
draft: "draft";
|
|
@@ -258,8 +273,13 @@ export declare const assetConvertProductUpdateSchema: import("@sinclair/typebox"
|
|
|
258
273
|
}>>;
|
|
259
274
|
targetAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
260
275
|
payAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
261
|
-
|
|
276
|
+
payAccountTypeId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
277
|
+
receiveAccountTypeId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
262
278
|
minPayAmount: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
279
|
+
settlementMode: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<{
|
|
280
|
+
available: "available";
|
|
281
|
+
locked: "locked";
|
|
282
|
+
}>>;
|
|
263
283
|
status: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<{
|
|
264
284
|
active: "active";
|
|
265
285
|
draft: "draft";
|
|
@@ -285,7 +305,12 @@ export declare const assetConvertProductListQuerySchema: import("@sinclair/typeb
|
|
|
285
305
|
}>>;
|
|
286
306
|
targetAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
287
307
|
payAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
288
|
-
|
|
308
|
+
payAccountTypeId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
309
|
+
receiveAccountTypeId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
310
|
+
settlementMode: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<{
|
|
311
|
+
available: "available";
|
|
312
|
+
locked: "locked";
|
|
313
|
+
}>>;
|
|
289
314
|
createdAtStart: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TDate>;
|
|
290
315
|
createdAtEnd: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TDate>;
|
|
291
316
|
updatedAtStart: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TDate>;
|
|
@@ -317,8 +342,13 @@ export declare const assetConvertProductListResponseSchema: import("@sinclair/ty
|
|
|
317
342
|
}>;
|
|
318
343
|
targetAssetId: import("@sinclair/typebox").TString;
|
|
319
344
|
payAssetId: import("@sinclair/typebox").TString;
|
|
320
|
-
|
|
345
|
+
payAccountTypeId: import("@sinclair/typebox").TString;
|
|
346
|
+
receiveAccountTypeId: import("@sinclair/typebox").TString;
|
|
321
347
|
minPayAmount: import("@sinclair/typebox").TString;
|
|
348
|
+
settlementMode: import("@sinclair/typebox").TEnum<{
|
|
349
|
+
available: "available";
|
|
350
|
+
locked: "locked";
|
|
351
|
+
}>;
|
|
322
352
|
targetAssetInfo: import("@sinclair/typebox").TObject<{
|
|
323
353
|
symbol: import("@sinclair/typebox").TString;
|
|
324
354
|
id: import("@sinclair/typebox").TString;
|
|
@@ -335,7 +365,13 @@ export declare const assetConvertProductListResponseSchema: import("@sinclair/ty
|
|
|
335
365
|
isActive: import("@sinclair/typebox").TBoolean;
|
|
336
366
|
precision: import("@sinclair/typebox").TInteger;
|
|
337
367
|
}>;
|
|
338
|
-
|
|
368
|
+
payAccountTypeInfo: import("@sinclair/typebox").TObject<{
|
|
369
|
+
id: import("@sinclair/typebox").TString;
|
|
370
|
+
name: import("@sinclair/typebox").TString;
|
|
371
|
+
key: import("@sinclair/typebox").TString;
|
|
372
|
+
isActive: import("@sinclair/typebox").TBoolean;
|
|
373
|
+
}>;
|
|
374
|
+
receiveAccountTypeInfo: import("@sinclair/typebox").TObject<{
|
|
339
375
|
id: import("@sinclair/typebox").TString;
|
|
340
376
|
name: import("@sinclair/typebox").TString;
|
|
341
377
|
key: import("@sinclair/typebox").TString;
|
|
@@ -356,14 +392,12 @@ export declare const assetConvertOrderListQuerySchema: import("@sinclair/typebox
|
|
|
356
392
|
status: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<{
|
|
357
393
|
created: "created";
|
|
358
394
|
completed: "completed";
|
|
359
|
-
failed: "failed";
|
|
360
395
|
}>>;
|
|
361
396
|
idempotencyKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
362
397
|
orderNo: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
363
398
|
productId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
364
399
|
sourcePayAccountId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
365
400
|
receiveAccountId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
366
|
-
failureCode: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>>;
|
|
367
401
|
createdAtStart: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TDate>;
|
|
368
402
|
createdAtEnd: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TDate>;
|
|
369
403
|
limit: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
@@ -381,7 +415,6 @@ export declare const assetConvertOrderListResponseSchema: import("@sinclair/type
|
|
|
381
415
|
status: import("@sinclair/typebox").TEnum<{
|
|
382
416
|
created: "created";
|
|
383
417
|
completed: "completed";
|
|
384
|
-
failed: "failed";
|
|
385
418
|
}>;
|
|
386
419
|
idempotencyKey: import("@sinclair/typebox").TString;
|
|
387
420
|
orderNo: import("@sinclair/typebox").TString;
|
|
@@ -544,7 +577,6 @@ export declare const assetConvertOrderStatsResponseSchema: import("@sinclair/typ
|
|
|
544
577
|
totalCount: import("@sinclair/typebox").TNumber;
|
|
545
578
|
createdCount: import("@sinclair/typebox").TNumber;
|
|
546
579
|
completedCount: import("@sinclair/typebox").TNumber;
|
|
547
|
-
failedCount: import("@sinclair/typebox").TNumber;
|
|
548
580
|
totalPayAmount: import("@sinclair/typebox").TString;
|
|
549
581
|
totalTargetAmount: import("@sinclair/typebox").TString;
|
|
550
582
|
}>;
|