@r2wa-org/eden 0.0.59 → 0.0.62
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 +166 -35
- 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/index.d.ts +263 -48
- package/dist/src/ledger/admin/dto.schemas.d.ts +80 -1
- package/dist/src/ledger/admin/router.d.ts +8 -1
- package/dist/src/ledger/admin/service.d.ts +17 -4
- package/dist/src/ledger/internal/service.d.ts +0 -146
- package/dist/src/ledger/user/service.d.ts +8 -4
- package/dist/src/ledger-account/admin/router.d.ts +1 -1
- package/dist/src/ledger-account/user/dto.schemas.d.ts +5 -0
- package/dist/src/ledger-account/user/router.d.ts +61 -0
- package/dist/src/ledger-account/user/service.d.ts +51 -1
- 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/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
package/dist/src/index.d.ts
CHANGED
|
@@ -874,6 +874,37 @@ declare const app: Elysia<"/api", {
|
|
|
874
874
|
};
|
|
875
875
|
};
|
|
876
876
|
};
|
|
877
|
+
} & {
|
|
878
|
+
admin_users: {
|
|
879
|
+
":userId": {
|
|
880
|
+
unban: {
|
|
881
|
+
post: {
|
|
882
|
+
body: {};
|
|
883
|
+
params: {
|
|
884
|
+
userId: string;
|
|
885
|
+
};
|
|
886
|
+
query: {};
|
|
887
|
+
headers: {};
|
|
888
|
+
response: {
|
|
889
|
+
200: {
|
|
890
|
+
success: boolean;
|
|
891
|
+
};
|
|
892
|
+
422: {
|
|
893
|
+
type: "validation";
|
|
894
|
+
on: string;
|
|
895
|
+
summary?: string;
|
|
896
|
+
message?: string;
|
|
897
|
+
found?: unknown;
|
|
898
|
+
property?: string;
|
|
899
|
+
expected?: string;
|
|
900
|
+
};
|
|
901
|
+
401: "Unauthorized";
|
|
902
|
+
403: "Forbidden: Admins only";
|
|
903
|
+
};
|
|
904
|
+
};
|
|
905
|
+
};
|
|
906
|
+
};
|
|
907
|
+
};
|
|
877
908
|
};
|
|
878
909
|
} & {
|
|
879
910
|
admin: {
|
|
@@ -1628,8 +1659,10 @@ declare const app: Elysia<"/api", {
|
|
|
1628
1659
|
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
1629
1660
|
targetAssetId: string;
|
|
1630
1661
|
payAssetId: string;
|
|
1631
|
-
|
|
1662
|
+
payAccountTypeId: string;
|
|
1663
|
+
receiveAccountTypeId: string;
|
|
1632
1664
|
minPayAmount: string;
|
|
1665
|
+
settlementMode: "available" | "locked";
|
|
1633
1666
|
};
|
|
1634
1667
|
params: {};
|
|
1635
1668
|
query: {};
|
|
@@ -1645,8 +1678,10 @@ declare const app: Elysia<"/api", {
|
|
|
1645
1678
|
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
1646
1679
|
targetAssetId: string;
|
|
1647
1680
|
payAssetId: string;
|
|
1648
|
-
|
|
1681
|
+
payAccountTypeId: string;
|
|
1682
|
+
receiveAccountTypeId: string;
|
|
1649
1683
|
minPayAmount: string;
|
|
1684
|
+
settlementMode: "available" | "locked";
|
|
1650
1685
|
targetAssetInfo: {
|
|
1651
1686
|
symbol: string;
|
|
1652
1687
|
id: string;
|
|
@@ -1663,7 +1698,13 @@ declare const app: Elysia<"/api", {
|
|
|
1663
1698
|
isActive: boolean;
|
|
1664
1699
|
precision: number;
|
|
1665
1700
|
};
|
|
1666
|
-
|
|
1701
|
+
payAccountTypeInfo: {
|
|
1702
|
+
id: string;
|
|
1703
|
+
name: string;
|
|
1704
|
+
key: string;
|
|
1705
|
+
isActive: boolean;
|
|
1706
|
+
};
|
|
1707
|
+
receiveAccountTypeInfo: {
|
|
1667
1708
|
id: string;
|
|
1668
1709
|
name: string;
|
|
1669
1710
|
key: string;
|
|
@@ -1697,8 +1738,10 @@ declare const app: Elysia<"/api", {
|
|
|
1697
1738
|
productCategoryKey?: "gold" | "gov_bond" | "real_estate" | "corporate_credit" | undefined;
|
|
1698
1739
|
targetAssetId?: string | undefined;
|
|
1699
1740
|
payAssetId?: string | undefined;
|
|
1700
|
-
|
|
1741
|
+
payAccountTypeId?: string | undefined;
|
|
1742
|
+
receiveAccountTypeId?: string | undefined;
|
|
1701
1743
|
minPayAmount?: string | undefined;
|
|
1744
|
+
settlementMode?: "available" | "locked" | undefined;
|
|
1702
1745
|
};
|
|
1703
1746
|
params: {
|
|
1704
1747
|
id: string;
|
|
@@ -1716,8 +1759,10 @@ declare const app: Elysia<"/api", {
|
|
|
1716
1759
|
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
1717
1760
|
targetAssetId: string;
|
|
1718
1761
|
payAssetId: string;
|
|
1719
|
-
|
|
1762
|
+
payAccountTypeId: string;
|
|
1763
|
+
receiveAccountTypeId: string;
|
|
1720
1764
|
minPayAmount: string;
|
|
1765
|
+
settlementMode: "available" | "locked";
|
|
1721
1766
|
targetAssetInfo: {
|
|
1722
1767
|
symbol: string;
|
|
1723
1768
|
id: string;
|
|
@@ -1734,7 +1779,13 @@ declare const app: Elysia<"/api", {
|
|
|
1734
1779
|
isActive: boolean;
|
|
1735
1780
|
precision: number;
|
|
1736
1781
|
};
|
|
1737
|
-
|
|
1782
|
+
payAccountTypeInfo: {
|
|
1783
|
+
id: string;
|
|
1784
|
+
name: string;
|
|
1785
|
+
key: string;
|
|
1786
|
+
isActive: boolean;
|
|
1787
|
+
};
|
|
1788
|
+
receiveAccountTypeInfo: {
|
|
1738
1789
|
id: string;
|
|
1739
1790
|
name: string;
|
|
1740
1791
|
key: string;
|
|
@@ -1780,8 +1831,10 @@ declare const app: Elysia<"/api", {
|
|
|
1780
1831
|
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
1781
1832
|
targetAssetId: string;
|
|
1782
1833
|
payAssetId: string;
|
|
1783
|
-
|
|
1834
|
+
payAccountTypeId: string;
|
|
1835
|
+
receiveAccountTypeId: string;
|
|
1784
1836
|
minPayAmount: string;
|
|
1837
|
+
settlementMode: "available" | "locked";
|
|
1785
1838
|
targetAssetInfo: {
|
|
1786
1839
|
symbol: string;
|
|
1787
1840
|
id: string;
|
|
@@ -1798,7 +1851,13 @@ declare const app: Elysia<"/api", {
|
|
|
1798
1851
|
isActive: boolean;
|
|
1799
1852
|
precision: number;
|
|
1800
1853
|
};
|
|
1801
|
-
|
|
1854
|
+
payAccountTypeInfo: {
|
|
1855
|
+
id: string;
|
|
1856
|
+
name: string;
|
|
1857
|
+
key: string;
|
|
1858
|
+
isActive: boolean;
|
|
1859
|
+
};
|
|
1860
|
+
receiveAccountTypeInfo: {
|
|
1802
1861
|
id: string;
|
|
1803
1862
|
name: string;
|
|
1804
1863
|
key: string;
|
|
@@ -1845,8 +1904,10 @@ declare const app: Elysia<"/api", {
|
|
|
1845
1904
|
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
1846
1905
|
targetAssetId: string;
|
|
1847
1906
|
payAssetId: string;
|
|
1848
|
-
|
|
1907
|
+
payAccountTypeId: string;
|
|
1908
|
+
receiveAccountTypeId: string;
|
|
1849
1909
|
minPayAmount: string;
|
|
1910
|
+
settlementMode: "available" | "locked";
|
|
1850
1911
|
targetAssetInfo: {
|
|
1851
1912
|
symbol: string;
|
|
1852
1913
|
id: string;
|
|
@@ -1863,7 +1924,13 @@ declare const app: Elysia<"/api", {
|
|
|
1863
1924
|
isActive: boolean;
|
|
1864
1925
|
precision: number;
|
|
1865
1926
|
};
|
|
1866
|
-
|
|
1927
|
+
payAccountTypeInfo: {
|
|
1928
|
+
id: string;
|
|
1929
|
+
name: string;
|
|
1930
|
+
key: string;
|
|
1931
|
+
isActive: boolean;
|
|
1932
|
+
};
|
|
1933
|
+
receiveAccountTypeInfo: {
|
|
1867
1934
|
id: string;
|
|
1868
1935
|
name: string;
|
|
1869
1936
|
key: string;
|
|
@@ -1910,8 +1977,10 @@ declare const app: Elysia<"/api", {
|
|
|
1910
1977
|
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
1911
1978
|
targetAssetId: string;
|
|
1912
1979
|
payAssetId: string;
|
|
1913
|
-
|
|
1980
|
+
payAccountTypeId: string;
|
|
1981
|
+
receiveAccountTypeId: string;
|
|
1914
1982
|
minPayAmount: string;
|
|
1983
|
+
settlementMode: "available" | "locked";
|
|
1915
1984
|
targetAssetInfo: {
|
|
1916
1985
|
symbol: string;
|
|
1917
1986
|
id: string;
|
|
@@ -1928,7 +1997,13 @@ declare const app: Elysia<"/api", {
|
|
|
1928
1997
|
isActive: boolean;
|
|
1929
1998
|
precision: number;
|
|
1930
1999
|
};
|
|
1931
|
-
|
|
2000
|
+
payAccountTypeInfo: {
|
|
2001
|
+
id: string;
|
|
2002
|
+
name: string;
|
|
2003
|
+
key: string;
|
|
2004
|
+
isActive: boolean;
|
|
2005
|
+
};
|
|
2006
|
+
receiveAccountTypeInfo: {
|
|
1932
2007
|
id: string;
|
|
1933
2008
|
name: string;
|
|
1934
2009
|
key: string;
|
|
@@ -1974,8 +2049,10 @@ declare const app: Elysia<"/api", {
|
|
|
1974
2049
|
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
1975
2050
|
targetAssetId: string;
|
|
1976
2051
|
payAssetId: string;
|
|
1977
|
-
|
|
2052
|
+
payAccountTypeId: string;
|
|
2053
|
+
receiveAccountTypeId: string;
|
|
1978
2054
|
minPayAmount: string;
|
|
2055
|
+
settlementMode: "available" | "locked";
|
|
1979
2056
|
targetAssetInfo: {
|
|
1980
2057
|
symbol: string;
|
|
1981
2058
|
id: string;
|
|
@@ -1992,7 +2069,13 @@ declare const app: Elysia<"/api", {
|
|
|
1992
2069
|
isActive: boolean;
|
|
1993
2070
|
precision: number;
|
|
1994
2071
|
};
|
|
1995
|
-
|
|
2072
|
+
payAccountTypeInfo: {
|
|
2073
|
+
id: string;
|
|
2074
|
+
name: string;
|
|
2075
|
+
key: string;
|
|
2076
|
+
isActive: boolean;
|
|
2077
|
+
};
|
|
2078
|
+
receiveAccountTypeInfo: {
|
|
1996
2079
|
id: string;
|
|
1997
2080
|
name: string;
|
|
1998
2081
|
key: string;
|
|
@@ -2028,7 +2111,9 @@ declare const app: Elysia<"/api", {
|
|
|
2028
2111
|
productCategoryKey?: "gold" | "gov_bond" | "real_estate" | "corporate_credit" | undefined;
|
|
2029
2112
|
targetAssetId?: string | undefined;
|
|
2030
2113
|
payAssetId?: string | undefined;
|
|
2031
|
-
|
|
2114
|
+
payAccountTypeId?: string | undefined;
|
|
2115
|
+
receiveAccountTypeId?: string | undefined;
|
|
2116
|
+
settlementMode?: "available" | "locked" | undefined;
|
|
2032
2117
|
limit?: number | undefined;
|
|
2033
2118
|
offset?: number | undefined;
|
|
2034
2119
|
pageSize?: number | undefined;
|
|
@@ -2051,8 +2136,10 @@ declare const app: Elysia<"/api", {
|
|
|
2051
2136
|
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
2052
2137
|
targetAssetId: string;
|
|
2053
2138
|
payAssetId: string;
|
|
2054
|
-
|
|
2139
|
+
payAccountTypeId: string;
|
|
2140
|
+
receiveAccountTypeId: string;
|
|
2055
2141
|
minPayAmount: string;
|
|
2142
|
+
settlementMode: "available" | "locked";
|
|
2056
2143
|
targetAssetInfo: {
|
|
2057
2144
|
symbol: string;
|
|
2058
2145
|
id: string;
|
|
@@ -2069,7 +2156,13 @@ declare const app: Elysia<"/api", {
|
|
|
2069
2156
|
isActive: boolean;
|
|
2070
2157
|
precision: number;
|
|
2071
2158
|
};
|
|
2072
|
-
|
|
2159
|
+
payAccountTypeInfo: {
|
|
2160
|
+
id: string;
|
|
2161
|
+
name: string;
|
|
2162
|
+
key: string;
|
|
2163
|
+
isActive: boolean;
|
|
2164
|
+
};
|
|
2165
|
+
receiveAccountTypeInfo: {
|
|
2073
2166
|
id: string;
|
|
2074
2167
|
name: string;
|
|
2075
2168
|
key: string;
|
|
@@ -2108,13 +2201,12 @@ declare const app: Elysia<"/api", {
|
|
|
2108
2201
|
query: {
|
|
2109
2202
|
id?: string | undefined;
|
|
2110
2203
|
userId?: string | undefined;
|
|
2111
|
-
status?: "created" | "completed" |
|
|
2204
|
+
status?: "created" | "completed" | undefined;
|
|
2112
2205
|
idempotencyKey?: string | undefined;
|
|
2113
2206
|
orderNo?: string | undefined;
|
|
2114
2207
|
productId?: string | undefined;
|
|
2115
2208
|
sourcePayAccountId?: string | undefined;
|
|
2116
2209
|
receiveAccountId?: string | undefined;
|
|
2117
|
-
failureCode?: string | null | undefined;
|
|
2118
2210
|
limit?: number | undefined;
|
|
2119
2211
|
offset?: number | undefined;
|
|
2120
2212
|
pageSize?: number | undefined;
|
|
@@ -2142,7 +2234,7 @@ declare const app: Elysia<"/api", {
|
|
|
2142
2234
|
createdAt: Date;
|
|
2143
2235
|
updatedAt: Date;
|
|
2144
2236
|
userId: string;
|
|
2145
|
-
status: "created" | "completed"
|
|
2237
|
+
status: "created" | "completed";
|
|
2146
2238
|
idempotencyKey: string;
|
|
2147
2239
|
orderNo: string;
|
|
2148
2240
|
productId: string;
|
|
@@ -2263,7 +2355,7 @@ declare const app: Elysia<"/api", {
|
|
|
2263
2355
|
createdAt: Date;
|
|
2264
2356
|
updatedAt: Date;
|
|
2265
2357
|
userId: string;
|
|
2266
|
-
status: "created" | "completed"
|
|
2358
|
+
status: "created" | "completed";
|
|
2267
2359
|
idempotencyKey: string;
|
|
2268
2360
|
orderNo: string;
|
|
2269
2361
|
productId: string;
|
|
@@ -2378,7 +2470,7 @@ declare const app: Elysia<"/api", {
|
|
|
2378
2470
|
createdAt: Date;
|
|
2379
2471
|
updatedAt: Date;
|
|
2380
2472
|
userId: string;
|
|
2381
|
-
status: "created" | "completed"
|
|
2473
|
+
status: "created" | "completed";
|
|
2382
2474
|
idempotencyKey: string;
|
|
2383
2475
|
orderNo: string;
|
|
2384
2476
|
productId: string;
|
|
@@ -2482,7 +2574,6 @@ declare const app: Elysia<"/api", {
|
|
|
2482
2574
|
totalCount: number;
|
|
2483
2575
|
createdCount: number;
|
|
2484
2576
|
completedCount: number;
|
|
2485
|
-
failedCount: number;
|
|
2486
2577
|
totalPayAmount: string;
|
|
2487
2578
|
totalTargetAmount: string;
|
|
2488
2579
|
};
|
|
@@ -3551,8 +3642,8 @@ declare const app: Elysia<"/api", {
|
|
|
3551
3642
|
response: {
|
|
3552
3643
|
200: {
|
|
3553
3644
|
totalCount: number;
|
|
3554
|
-
failedCount: number;
|
|
3555
3645
|
successCount: number;
|
|
3646
|
+
failedCount: number;
|
|
3556
3647
|
results: {
|
|
3557
3648
|
accountId?: string | undefined;
|
|
3558
3649
|
ledgerEntryId?: string | undefined;
|
|
@@ -4095,9 +4186,9 @@ declare const app: Elysia<"/api", {
|
|
|
4095
4186
|
id: string;
|
|
4096
4187
|
createdAt: Date;
|
|
4097
4188
|
updatedAt: Date;
|
|
4098
|
-
status: "pending" | "
|
|
4099
|
-
failed: number;
|
|
4189
|
+
status: "pending" | "running" | "success" | "failed";
|
|
4100
4190
|
success: number;
|
|
4191
|
+
failed: number;
|
|
4101
4192
|
ignored: number;
|
|
4102
4193
|
fileId: string;
|
|
4103
4194
|
total: number;
|
|
@@ -4128,7 +4219,7 @@ declare const app: Elysia<"/api", {
|
|
|
4128
4219
|
body: {};
|
|
4129
4220
|
params: {};
|
|
4130
4221
|
query: {
|
|
4131
|
-
status?: "pending" | "
|
|
4222
|
+
status?: "pending" | "running" | "success" | "failed" | undefined;
|
|
4132
4223
|
limit?: number | undefined;
|
|
4133
4224
|
offset?: number | undefined;
|
|
4134
4225
|
pageSize?: number | undefined;
|
|
@@ -4142,9 +4233,9 @@ declare const app: Elysia<"/api", {
|
|
|
4142
4233
|
id: string;
|
|
4143
4234
|
createdAt: Date;
|
|
4144
4235
|
updatedAt: Date;
|
|
4145
|
-
status: "pending" | "
|
|
4146
|
-
failed: number;
|
|
4236
|
+
status: "pending" | "running" | "success" | "failed";
|
|
4147
4237
|
success: number;
|
|
4238
|
+
failed: number;
|
|
4148
4239
|
ignored: number;
|
|
4149
4240
|
fileId: string;
|
|
4150
4241
|
total: number;
|
|
@@ -4193,9 +4284,9 @@ declare const app: Elysia<"/api", {
|
|
|
4193
4284
|
id: string;
|
|
4194
4285
|
createdAt: Date;
|
|
4195
4286
|
updatedAt: Date;
|
|
4196
|
-
status: "pending" | "
|
|
4197
|
-
failed: number;
|
|
4287
|
+
status: "pending" | "running" | "success" | "failed";
|
|
4198
4288
|
success: number;
|
|
4289
|
+
failed: number;
|
|
4199
4290
|
ignored: number;
|
|
4200
4291
|
fileId: string;
|
|
4201
4292
|
total: number;
|
|
@@ -4231,7 +4322,7 @@ declare const app: Elysia<"/api", {
|
|
|
4231
4322
|
id: string;
|
|
4232
4323
|
};
|
|
4233
4324
|
query: {
|
|
4234
|
-
status?: "
|
|
4325
|
+
status?: "success" | "failed" | "ignored" | undefined;
|
|
4235
4326
|
limit?: number | undefined;
|
|
4236
4327
|
offset?: number | undefined;
|
|
4237
4328
|
pageSize?: number | undefined;
|
|
@@ -4247,7 +4338,7 @@ declare const app: Elysia<"/api", {
|
|
|
4247
4338
|
updatedAt: Date;
|
|
4248
4339
|
phoneNumber: string | null;
|
|
4249
4340
|
userId: string | null;
|
|
4250
|
-
status: "
|
|
4341
|
+
status: "success" | "failed" | "ignored";
|
|
4251
4342
|
assetId: string | null;
|
|
4252
4343
|
ledgerAccountTypeId: string | null;
|
|
4253
4344
|
amount: string | null;
|
|
@@ -4324,13 +4415,20 @@ declare const app: Elysia<"/api", {
|
|
|
4324
4415
|
body: {};
|
|
4325
4416
|
params: {};
|
|
4326
4417
|
query: {
|
|
4418
|
+
userId?: string | undefined;
|
|
4327
4419
|
accountId?: string | undefined;
|
|
4328
4420
|
assetId?: string | undefined;
|
|
4421
|
+
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" | undefined;
|
|
4422
|
+
referenceId?: string | undefined;
|
|
4423
|
+
referenceType?: "deposit_order" | "withdraw_order" | "transfer_order" | "internal_transfer_order" | "manual_adjustment" | "welfare_cycle_subscription" | "welfare_cycle_daily_payout" | "welfare_cycle_maturity_settlement" | "asset_convert_order" | "trade_market_order" | undefined;
|
|
4424
|
+
operatorId?: string | null | undefined;
|
|
4425
|
+
startDate?: Date | undefined;
|
|
4329
4426
|
limit?: number | undefined;
|
|
4330
4427
|
offset?: number | undefined;
|
|
4331
4428
|
pageSize?: number | undefined;
|
|
4332
4429
|
pageIndex?: number | undefined;
|
|
4333
|
-
|
|
4430
|
+
endDate?: Date | undefined;
|
|
4431
|
+
changeDirection?: "increase" | "decrease" | undefined;
|
|
4334
4432
|
};
|
|
4335
4433
|
headers: {};
|
|
4336
4434
|
response: {
|
|
@@ -7153,6 +7251,7 @@ declare const app: Elysia<"/api", {
|
|
|
7153
7251
|
body: {
|
|
7154
7252
|
description?: string | null | undefined;
|
|
7155
7253
|
status?: "active" | "draft" | "paused" | "ended" | undefined;
|
|
7254
|
+
coverImageUrl?: string | null | undefined;
|
|
7156
7255
|
minShares?: number | undefined;
|
|
7157
7256
|
maxSharesPerOrder?: number | null | undefined;
|
|
7158
7257
|
saleStartAt?: Date | null | undefined;
|
|
@@ -7160,6 +7259,9 @@ declare const app: Elysia<"/api", {
|
|
|
7160
7259
|
name: string;
|
|
7161
7260
|
rightsAssetId: string;
|
|
7162
7261
|
pricingAssetId: string;
|
|
7262
|
+
sourcePricingAccountTypeId: string;
|
|
7263
|
+
dailyPayoutAccountTypeId: string;
|
|
7264
|
+
maturitySettlementAccountTypeId: string;
|
|
7163
7265
|
pricePerShare: string;
|
|
7164
7266
|
rightsPerShare: string;
|
|
7165
7267
|
cycleDays: number;
|
|
@@ -7177,8 +7279,12 @@ declare const app: Elysia<"/api", {
|
|
|
7177
7279
|
updatedAt: Date;
|
|
7178
7280
|
description: string | null;
|
|
7179
7281
|
status: "active" | "draft" | "paused" | "ended";
|
|
7282
|
+
coverImageUrl: string | null;
|
|
7180
7283
|
rightsAssetId: string;
|
|
7181
7284
|
pricingAssetId: string;
|
|
7285
|
+
sourcePricingAccountTypeId: string;
|
|
7286
|
+
dailyPayoutAccountTypeId: string;
|
|
7287
|
+
maturitySettlementAccountTypeId: string;
|
|
7182
7288
|
pricePerShare: string;
|
|
7183
7289
|
rightsPerShare: string;
|
|
7184
7290
|
cycleDays: number;
|
|
@@ -7213,8 +7319,12 @@ declare const app: Elysia<"/api", {
|
|
|
7213
7319
|
name?: string | undefined;
|
|
7214
7320
|
description?: string | null | undefined;
|
|
7215
7321
|
status?: "active" | "draft" | "paused" | "ended" | undefined;
|
|
7322
|
+
coverImageUrl?: string | null | undefined;
|
|
7216
7323
|
rightsAssetId?: string | undefined;
|
|
7217
7324
|
pricingAssetId?: string | undefined;
|
|
7325
|
+
sourcePricingAccountTypeId?: string | undefined;
|
|
7326
|
+
dailyPayoutAccountTypeId?: string | undefined;
|
|
7327
|
+
maturitySettlementAccountTypeId?: string | undefined;
|
|
7218
7328
|
pricePerShare?: string | undefined;
|
|
7219
7329
|
rightsPerShare?: string | undefined;
|
|
7220
7330
|
cycleDays?: number | undefined;
|
|
@@ -7237,8 +7347,12 @@ declare const app: Elysia<"/api", {
|
|
|
7237
7347
|
id: string;
|
|
7238
7348
|
name: string;
|
|
7239
7349
|
description: string | null;
|
|
7350
|
+
coverImageUrl: string | null;
|
|
7240
7351
|
rightsAssetId: string;
|
|
7241
7352
|
pricingAssetId: string;
|
|
7353
|
+
sourcePricingAccountTypeId: string;
|
|
7354
|
+
dailyPayoutAccountTypeId: string;
|
|
7355
|
+
maturitySettlementAccountTypeId: string;
|
|
7242
7356
|
pricePerShare: string;
|
|
7243
7357
|
rightsPerShare: string;
|
|
7244
7358
|
cycleDays: number;
|
|
@@ -7285,8 +7399,12 @@ declare const app: Elysia<"/api", {
|
|
|
7285
7399
|
id: string;
|
|
7286
7400
|
name: string;
|
|
7287
7401
|
description: string | null;
|
|
7402
|
+
coverImageUrl: string | null;
|
|
7288
7403
|
rightsAssetId: string;
|
|
7289
7404
|
pricingAssetId: string;
|
|
7405
|
+
sourcePricingAccountTypeId: string;
|
|
7406
|
+
dailyPayoutAccountTypeId: string;
|
|
7407
|
+
maturitySettlementAccountTypeId: string;
|
|
7290
7408
|
pricePerShare: string;
|
|
7291
7409
|
rightsPerShare: string;
|
|
7292
7410
|
cycleDays: number;
|
|
@@ -7334,8 +7452,12 @@ declare const app: Elysia<"/api", {
|
|
|
7334
7452
|
id: string;
|
|
7335
7453
|
name: string;
|
|
7336
7454
|
description: string | null;
|
|
7455
|
+
coverImageUrl: string | null;
|
|
7337
7456
|
rightsAssetId: string;
|
|
7338
7457
|
pricingAssetId: string;
|
|
7458
|
+
sourcePricingAccountTypeId: string;
|
|
7459
|
+
dailyPayoutAccountTypeId: string;
|
|
7460
|
+
maturitySettlementAccountTypeId: string;
|
|
7339
7461
|
pricePerShare: string;
|
|
7340
7462
|
rightsPerShare: string;
|
|
7341
7463
|
cycleDays: number;
|
|
@@ -7383,8 +7505,12 @@ declare const app: Elysia<"/api", {
|
|
|
7383
7505
|
id: string;
|
|
7384
7506
|
name: string;
|
|
7385
7507
|
description: string | null;
|
|
7508
|
+
coverImageUrl: string | null;
|
|
7386
7509
|
rightsAssetId: string;
|
|
7387
7510
|
pricingAssetId: string;
|
|
7511
|
+
sourcePricingAccountTypeId: string;
|
|
7512
|
+
dailyPayoutAccountTypeId: string;
|
|
7513
|
+
maturitySettlementAccountTypeId: string;
|
|
7388
7514
|
pricePerShare: string;
|
|
7389
7515
|
rightsPerShare: string;
|
|
7390
7516
|
cycleDays: number;
|
|
@@ -7436,8 +7562,12 @@ declare const app: Elysia<"/api", {
|
|
|
7436
7562
|
updatedAt: Date;
|
|
7437
7563
|
description: string | null;
|
|
7438
7564
|
status: "active" | "draft" | "paused" | "ended";
|
|
7565
|
+
coverImageUrl: string | null;
|
|
7439
7566
|
rightsAssetId: string;
|
|
7440
7567
|
pricingAssetId: string;
|
|
7568
|
+
sourcePricingAccountTypeId: string;
|
|
7569
|
+
dailyPayoutAccountTypeId: string;
|
|
7570
|
+
maturitySettlementAccountTypeId: string;
|
|
7441
7571
|
pricePerShare: string;
|
|
7442
7572
|
rightsPerShare: string;
|
|
7443
7573
|
cycleDays: number;
|
|
@@ -7499,7 +7629,8 @@ declare const app: Elysia<"/api", {
|
|
|
7499
7629
|
orderNo: string;
|
|
7500
7630
|
planId: string;
|
|
7501
7631
|
sourcePricingAccountId: string;
|
|
7502
|
-
|
|
7632
|
+
dailyPayoutReceiveAccountId: string;
|
|
7633
|
+
maturitySettlementReceiveAccountId: string;
|
|
7503
7634
|
shares: number;
|
|
7504
7635
|
totalPricingAmount: string;
|
|
7505
7636
|
totalRightsPrincipal: string;
|
|
@@ -9229,7 +9360,6 @@ declare const app: Elysia<"/api", {
|
|
|
9229
9360
|
body: {};
|
|
9230
9361
|
params: {};
|
|
9231
9362
|
query: {
|
|
9232
|
-
status?: "active" | "draft" | "paused" | "ended" | undefined;
|
|
9233
9363
|
productCategoryKey?: "gold" | "gov_bond" | "real_estate" | "corporate_credit" | undefined;
|
|
9234
9364
|
limit?: number | undefined;
|
|
9235
9365
|
offset?: number | undefined;
|
|
@@ -9249,8 +9379,10 @@ declare const app: Elysia<"/api", {
|
|
|
9249
9379
|
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
9250
9380
|
targetAssetId: string;
|
|
9251
9381
|
payAssetId: string;
|
|
9252
|
-
|
|
9382
|
+
payAccountTypeId: string;
|
|
9383
|
+
receiveAccountTypeId: string;
|
|
9253
9384
|
minPayAmount: string;
|
|
9385
|
+
settlementMode: "available" | "locked";
|
|
9254
9386
|
}[];
|
|
9255
9387
|
pagination: {
|
|
9256
9388
|
total: number;
|
|
@@ -9296,8 +9428,10 @@ declare const app: Elysia<"/api", {
|
|
|
9296
9428
|
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
9297
9429
|
targetAssetId: string;
|
|
9298
9430
|
payAssetId: string;
|
|
9299
|
-
|
|
9431
|
+
payAccountTypeId: string;
|
|
9432
|
+
receiveAccountTypeId: string;
|
|
9300
9433
|
minPayAmount: string;
|
|
9434
|
+
settlementMode: "available" | "locked";
|
|
9301
9435
|
};
|
|
9302
9436
|
422: {
|
|
9303
9437
|
type: "validation";
|
|
@@ -9322,7 +9456,6 @@ declare const app: Elysia<"/api", {
|
|
|
9322
9456
|
idempotencyKey: string;
|
|
9323
9457
|
productId: string;
|
|
9324
9458
|
payAmount: string;
|
|
9325
|
-
sourcePayAccountId: string;
|
|
9326
9459
|
};
|
|
9327
9460
|
params: {};
|
|
9328
9461
|
query: {};
|
|
@@ -9333,7 +9466,7 @@ declare const app: Elysia<"/api", {
|
|
|
9333
9466
|
createdAt: Date;
|
|
9334
9467
|
updatedAt: Date;
|
|
9335
9468
|
userId: string;
|
|
9336
|
-
status: "created" | "completed"
|
|
9469
|
+
status: "created" | "completed";
|
|
9337
9470
|
idempotencyKey: string;
|
|
9338
9471
|
orderNo: string;
|
|
9339
9472
|
productId: string;
|
|
@@ -9373,7 +9506,7 @@ declare const app: Elysia<"/api", {
|
|
|
9373
9506
|
body: {};
|
|
9374
9507
|
params: {};
|
|
9375
9508
|
query: {
|
|
9376
|
-
status?: "created" | "completed" |
|
|
9509
|
+
status?: "created" | "completed" | undefined;
|
|
9377
9510
|
limit?: number | undefined;
|
|
9378
9511
|
offset?: number | undefined;
|
|
9379
9512
|
pageSize?: number | undefined;
|
|
@@ -9387,7 +9520,7 @@ declare const app: Elysia<"/api", {
|
|
|
9387
9520
|
createdAt: Date;
|
|
9388
9521
|
updatedAt: Date;
|
|
9389
9522
|
userId: string;
|
|
9390
|
-
status: "created" | "completed"
|
|
9523
|
+
status: "created" | "completed";
|
|
9391
9524
|
idempotencyKey: string;
|
|
9392
9525
|
orderNo: string;
|
|
9393
9526
|
productId: string;
|
|
@@ -9445,7 +9578,7 @@ declare const app: Elysia<"/api", {
|
|
|
9445
9578
|
createdAt: Date;
|
|
9446
9579
|
updatedAt: Date;
|
|
9447
9580
|
userId: string;
|
|
9448
|
-
status: "created" | "completed"
|
|
9581
|
+
status: "created" | "completed";
|
|
9449
9582
|
idempotencyKey: string;
|
|
9450
9583
|
orderNo: string;
|
|
9451
9584
|
productId: string;
|
|
@@ -11333,6 +11466,79 @@ declare const app: Elysia<"/api", {
|
|
|
11333
11466
|
} & {
|
|
11334
11467
|
api: {
|
|
11335
11468
|
withdraw: {};
|
|
11469
|
+
} & {
|
|
11470
|
+
withdraw: {
|
|
11471
|
+
direct_cny_account: {
|
|
11472
|
+
get: {
|
|
11473
|
+
body: {};
|
|
11474
|
+
params: {};
|
|
11475
|
+
query: {};
|
|
11476
|
+
headers: {};
|
|
11477
|
+
response: {
|
|
11478
|
+
200: {
|
|
11479
|
+
id: string;
|
|
11480
|
+
createdAt: Date;
|
|
11481
|
+
updatedAt: Date;
|
|
11482
|
+
userId: string;
|
|
11483
|
+
status: "active" | "frozen" | "disabled";
|
|
11484
|
+
asset: {
|
|
11485
|
+
symbol: string;
|
|
11486
|
+
id: string;
|
|
11487
|
+
name: string;
|
|
11488
|
+
createdAt: Date;
|
|
11489
|
+
updatedAt: Date;
|
|
11490
|
+
code: string;
|
|
11491
|
+
iconUrl: string;
|
|
11492
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
11493
|
+
isActive: boolean;
|
|
11494
|
+
typeId: string;
|
|
11495
|
+
precision: number;
|
|
11496
|
+
};
|
|
11497
|
+
assetId: string;
|
|
11498
|
+
ledgerAccountTypeId: string;
|
|
11499
|
+
available: string;
|
|
11500
|
+
locked: string;
|
|
11501
|
+
version: number;
|
|
11502
|
+
ledgerAccountType: {
|
|
11503
|
+
id: string;
|
|
11504
|
+
name: string;
|
|
11505
|
+
createdAt: Date;
|
|
11506
|
+
updatedAt: Date;
|
|
11507
|
+
description: string | null;
|
|
11508
|
+
key: string;
|
|
11509
|
+
isActive: boolean;
|
|
11510
|
+
allowDeposit: boolean;
|
|
11511
|
+
allowWithdraw: boolean;
|
|
11512
|
+
minWithdrawAmount: string;
|
|
11513
|
+
maxWithdrawAmount: string;
|
|
11514
|
+
allowTransfer: boolean;
|
|
11515
|
+
minTransferAmount: string;
|
|
11516
|
+
maxTransferAmount: string;
|
|
11517
|
+
allowInternalTransfer: boolean;
|
|
11518
|
+
allowInternalReceiveTransfer: boolean;
|
|
11519
|
+
minInternalTransferAmount: string;
|
|
11520
|
+
maxInternalTransferAmount: string;
|
|
11521
|
+
internalTransferRatio: string;
|
|
11522
|
+
allowTransaction: boolean;
|
|
11523
|
+
hasExpiry: boolean;
|
|
11524
|
+
expiryDays: number | null;
|
|
11525
|
+
sortOrder: number;
|
|
11526
|
+
};
|
|
11527
|
+
};
|
|
11528
|
+
422: {
|
|
11529
|
+
type: "validation";
|
|
11530
|
+
on: string;
|
|
11531
|
+
summary?: string;
|
|
11532
|
+
message?: string;
|
|
11533
|
+
found?: unknown;
|
|
11534
|
+
property?: string;
|
|
11535
|
+
expected?: string;
|
|
11536
|
+
};
|
|
11537
|
+
401: "Unauthorized";
|
|
11538
|
+
};
|
|
11539
|
+
};
|
|
11540
|
+
};
|
|
11541
|
+
};
|
|
11336
11542
|
} & {
|
|
11337
11543
|
withdraw: {
|
|
11338
11544
|
ledger_account: {
|
|
@@ -13038,8 +13244,12 @@ declare const app: Elysia<"/api", {
|
|
|
13038
13244
|
updatedAt: Date;
|
|
13039
13245
|
description: string | null;
|
|
13040
13246
|
status: "active" | "draft" | "paused" | "ended";
|
|
13247
|
+
coverImageUrl: string | null;
|
|
13041
13248
|
rightsAssetId: string;
|
|
13042
13249
|
pricingAssetId: string;
|
|
13250
|
+
sourcePricingAccountTypeId: string;
|
|
13251
|
+
dailyPayoutAccountTypeId: string;
|
|
13252
|
+
maturitySettlementAccountTypeId: string;
|
|
13043
13253
|
pricePerShare: string;
|
|
13044
13254
|
rightsPerShare: string;
|
|
13045
13255
|
cycleDays: number;
|
|
@@ -13091,8 +13301,12 @@ declare const app: Elysia<"/api", {
|
|
|
13091
13301
|
updatedAt: Date;
|
|
13092
13302
|
description: string | null;
|
|
13093
13303
|
status: "active" | "draft" | "paused" | "ended";
|
|
13304
|
+
coverImageUrl: string | null;
|
|
13094
13305
|
rightsAssetId: string;
|
|
13095
13306
|
pricingAssetId: string;
|
|
13307
|
+
sourcePricingAccountTypeId: string;
|
|
13308
|
+
dailyPayoutAccountTypeId: string;
|
|
13309
|
+
maturitySettlementAccountTypeId: string;
|
|
13096
13310
|
pricePerShare: string;
|
|
13097
13311
|
rightsPerShare: string;
|
|
13098
13312
|
cycleDays: number;
|
|
@@ -13125,8 +13339,6 @@ declare const app: Elysia<"/api", {
|
|
|
13125
13339
|
body: {
|
|
13126
13340
|
idempotencyKey: string;
|
|
13127
13341
|
planId: string;
|
|
13128
|
-
sourcePricingAccountId: string;
|
|
13129
|
-
rightsReceiveAccountId: string;
|
|
13130
13342
|
shares: number;
|
|
13131
13343
|
};
|
|
13132
13344
|
params: {};
|
|
@@ -13143,7 +13355,8 @@ declare const app: Elysia<"/api", {
|
|
|
13143
13355
|
orderNo: string;
|
|
13144
13356
|
planId: string;
|
|
13145
13357
|
sourcePricingAccountId: string;
|
|
13146
|
-
|
|
13358
|
+
dailyPayoutReceiveAccountId: string;
|
|
13359
|
+
maturitySettlementReceiveAccountId: string;
|
|
13147
13360
|
shares: number;
|
|
13148
13361
|
totalPricingAmount: string;
|
|
13149
13362
|
totalRightsPrincipal: string;
|
|
@@ -13200,7 +13413,8 @@ declare const app: Elysia<"/api", {
|
|
|
13200
13413
|
orderNo: string;
|
|
13201
13414
|
planId: string;
|
|
13202
13415
|
sourcePricingAccountId: string;
|
|
13203
|
-
|
|
13416
|
+
dailyPayoutReceiveAccountId: string;
|
|
13417
|
+
maturitySettlementReceiveAccountId: string;
|
|
13204
13418
|
shares: number;
|
|
13205
13419
|
totalPricingAmount: string;
|
|
13206
13420
|
totalRightsPrincipal: string;
|
|
@@ -13260,7 +13474,8 @@ declare const app: Elysia<"/api", {
|
|
|
13260
13474
|
orderNo: string;
|
|
13261
13475
|
planId: string;
|
|
13262
13476
|
sourcePricingAccountId: string;
|
|
13263
|
-
|
|
13477
|
+
dailyPayoutReceiveAccountId: string;
|
|
13478
|
+
maturitySettlementReceiveAccountId: string;
|
|
13264
13479
|
shares: number;
|
|
13265
13480
|
totalPricingAmount: string;
|
|
13266
13481
|
totalRightsPrincipal: string;
|