@r2wa-org/eden 0.0.50 → 0.0.52
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/index.d.ts +362 -15
- package/dist/src/asset-convert-product/admin/dto.schemas.d.ts +658 -0
- package/dist/src/asset-convert-product/admin/router.d.ts +803 -0
- package/dist/src/asset-convert-product/admin/service.d.ts +125 -0
- package/dist/src/asset-convert-product/db.schemas.d.ts +1134 -0
- package/dist/src/asset-convert-product/errors/index.d.ts +19 -0
- package/dist/src/asset-convert-product/errors/locales/zh.d.ts +18 -0
- package/dist/src/asset-convert-product/index.d.ts +8 -0
- package/dist/src/asset-convert-product/internal/service.d.ts +66 -0
- package/dist/src/asset-convert-product/permissions.d.ts +5 -0
- package/dist/src/asset-convert-product/schema.d.ts +619 -0
- package/dist/src/asset-convert-product/user/dto.schemas.d.ts +1000 -0
- package/dist/src/asset-convert-product/user/router.d.ts +683 -0
- package/dist/src/asset-convert-product/user/service.d.ts +120 -0
- package/dist/src/auth/better-auth.d.ts +17 -3
- package/dist/src/auth/permissions.d.ts +11 -1
- package/dist/src/auth/roles.d.ts +30 -0
- package/dist/src/cron/index.d.ts +13 -1
- package/dist/src/db/schemas.d.ts +1 -0
- package/dist/src/deposit/admin/dto.schemas.d.ts +6 -6
- package/dist/src/deposit/user/dto.schemas.d.ts +6 -6
- package/dist/src/file-storage/admin/dto.schemas.d.ts +6 -6
- package/dist/src/index.d.ts +630 -22
- package/dist/src/ledger/admin/dto.schemas.d.ts +8 -8
- package/dist/src/ledger/admin/router.d.ts +2 -2
- package/dist/src/ledger/admin/service.d.ts +2 -2
- package/dist/src/ledger/db.schemas.d.ts +8 -8
- package/dist/src/ledger/internal/service.d.ts +2 -2
- package/dist/src/ledger/schema.d.ts +6 -6
- package/dist/src/ledger/user/dto.schemas.d.ts +8 -8
- package/dist/src/ledger/user/router.d.ts +2 -2
- package/dist/src/ledger/user/service.d.ts +2 -2
- 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-transfer/user/router.d.ts +1 -1
- package/dist/src/news/admin/dto.schemas.d.ts +6 -6
- package/dist/src/news/user/dto.schemas.d.ts +12 -12
- package/dist/src/notification/admin/dto.schemas.d.ts +8 -8
- package/dist/src/notification/user/dto.schemas.d.ts +8 -8
- package/dist/src/transfer/user/router.d.ts +1 -1
- package/dist/src/user-kyc/admin/dto.schemas.d.ts +1 -1
- package/dist/src/wallet/admin/dto.schemas.d.ts +3 -3
- package/dist/src/wallet/user/dto.schemas.d.ts +2 -2
- package/dist/src/welfare-cycle/admin/dto.schemas.d.ts +7 -7
- package/dist/src/welfare-cycle/admin/router.d.ts +4 -4
- package/dist/src/welfare-cycle/admin/service.d.ts +2 -2
- package/dist/src/welfare-cycle/cron.d.ts +58 -0
- package/dist/src/welfare-cycle/db.schemas.d.ts +4 -4
- package/dist/src/welfare-cycle/internal/service.d.ts +2 -2
- package/dist/src/welfare-cycle/schema.d.ts +2 -2
- package/dist/src/welfare-cycle/user/dto.schemas.d.ts +3 -3
- package/dist/src/welfare-cycle/user/router.d.ts +3 -3
- package/dist/src/welfare-cycle/user/service.d.ts +2 -2
- package/package.json +1 -1
|
@@ -1075,6 +1075,353 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1075
1075
|
};
|
|
1076
1076
|
};
|
|
1077
1077
|
};
|
|
1078
|
+
} & {
|
|
1079
|
+
admin: {
|
|
1080
|
+
asset_convert_product: {};
|
|
1081
|
+
} & {
|
|
1082
|
+
asset_convert_product: {
|
|
1083
|
+
products: {
|
|
1084
|
+
post: {
|
|
1085
|
+
body: {
|
|
1086
|
+
description?: string | null | undefined;
|
|
1087
|
+
status?: "active" | "draft" | "paused" | "ended" | undefined;
|
|
1088
|
+
name: string;
|
|
1089
|
+
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
1090
|
+
targetAssetId: string;
|
|
1091
|
+
payAssetId: string;
|
|
1092
|
+
defaultReceiveAccountTypeId: string;
|
|
1093
|
+
minPayAmount: string;
|
|
1094
|
+
};
|
|
1095
|
+
params: {};
|
|
1096
|
+
query: unknown;
|
|
1097
|
+
headers: unknown;
|
|
1098
|
+
response: {
|
|
1099
|
+
200: {
|
|
1100
|
+
id: string;
|
|
1101
|
+
name: string;
|
|
1102
|
+
createdAt: Date;
|
|
1103
|
+
updatedAt: Date;
|
|
1104
|
+
description: string | null;
|
|
1105
|
+
status: "active" | "draft" | "paused" | "ended";
|
|
1106
|
+
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
1107
|
+
targetAssetId: string;
|
|
1108
|
+
payAssetId: string;
|
|
1109
|
+
defaultReceiveAccountTypeId: string;
|
|
1110
|
+
minPayAmount: string;
|
|
1111
|
+
};
|
|
1112
|
+
422: {
|
|
1113
|
+
type: "validation";
|
|
1114
|
+
on: string;
|
|
1115
|
+
summary?: string;
|
|
1116
|
+
message?: string;
|
|
1117
|
+
found?: unknown;
|
|
1118
|
+
property?: string;
|
|
1119
|
+
expected?: string;
|
|
1120
|
+
};
|
|
1121
|
+
401: "Unauthorized";
|
|
1122
|
+
403: "Forbidden: Admins only";
|
|
1123
|
+
};
|
|
1124
|
+
};
|
|
1125
|
+
};
|
|
1126
|
+
};
|
|
1127
|
+
} & {
|
|
1128
|
+
asset_convert_product: {
|
|
1129
|
+
products: {
|
|
1130
|
+
":id": {
|
|
1131
|
+
patch: {
|
|
1132
|
+
body: {
|
|
1133
|
+
name?: string | undefined;
|
|
1134
|
+
description?: string | null | undefined;
|
|
1135
|
+
status?: "active" | "draft" | "paused" | "ended" | undefined;
|
|
1136
|
+
productCategoryKey?: "gold" | "gov_bond" | "real_estate" | "corporate_credit" | undefined;
|
|
1137
|
+
targetAssetId?: string | undefined;
|
|
1138
|
+
payAssetId?: string | undefined;
|
|
1139
|
+
defaultReceiveAccountTypeId?: string | undefined;
|
|
1140
|
+
minPayAmount?: string | undefined;
|
|
1141
|
+
};
|
|
1142
|
+
params: {
|
|
1143
|
+
id: string;
|
|
1144
|
+
};
|
|
1145
|
+
query: unknown;
|
|
1146
|
+
headers: unknown;
|
|
1147
|
+
response: {
|
|
1148
|
+
200: {
|
|
1149
|
+
createdAt: Date;
|
|
1150
|
+
updatedAt: Date;
|
|
1151
|
+
id: string;
|
|
1152
|
+
name: string;
|
|
1153
|
+
description: string | null;
|
|
1154
|
+
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
1155
|
+
targetAssetId: string;
|
|
1156
|
+
payAssetId: string;
|
|
1157
|
+
defaultReceiveAccountTypeId: string;
|
|
1158
|
+
minPayAmount: string;
|
|
1159
|
+
status: "active" | "draft" | "paused" | "ended";
|
|
1160
|
+
};
|
|
1161
|
+
422: {
|
|
1162
|
+
type: "validation";
|
|
1163
|
+
on: string;
|
|
1164
|
+
summary?: string;
|
|
1165
|
+
message?: string;
|
|
1166
|
+
found?: unknown;
|
|
1167
|
+
property?: string;
|
|
1168
|
+
expected?: string;
|
|
1169
|
+
};
|
|
1170
|
+
401: "Unauthorized";
|
|
1171
|
+
403: "Forbidden: Admins only";
|
|
1172
|
+
};
|
|
1173
|
+
};
|
|
1174
|
+
};
|
|
1175
|
+
};
|
|
1176
|
+
};
|
|
1177
|
+
} & {
|
|
1178
|
+
asset_convert_product: {
|
|
1179
|
+
products: {
|
|
1180
|
+
":id": {
|
|
1181
|
+
activate: {
|
|
1182
|
+
post: {
|
|
1183
|
+
body: unknown;
|
|
1184
|
+
params: {
|
|
1185
|
+
id: string;
|
|
1186
|
+
};
|
|
1187
|
+
query: unknown;
|
|
1188
|
+
headers: unknown;
|
|
1189
|
+
response: {
|
|
1190
|
+
200: {
|
|
1191
|
+
createdAt: Date;
|
|
1192
|
+
updatedAt: Date;
|
|
1193
|
+
id: string;
|
|
1194
|
+
name: string;
|
|
1195
|
+
description: string | null;
|
|
1196
|
+
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
1197
|
+
targetAssetId: string;
|
|
1198
|
+
payAssetId: string;
|
|
1199
|
+
defaultReceiveAccountTypeId: string;
|
|
1200
|
+
minPayAmount: string;
|
|
1201
|
+
status: "active" | "draft" | "paused" | "ended";
|
|
1202
|
+
};
|
|
1203
|
+
422: {
|
|
1204
|
+
type: "validation";
|
|
1205
|
+
on: string;
|
|
1206
|
+
summary?: string;
|
|
1207
|
+
message?: string;
|
|
1208
|
+
found?: unknown;
|
|
1209
|
+
property?: string;
|
|
1210
|
+
expected?: string;
|
|
1211
|
+
};
|
|
1212
|
+
401: "Unauthorized";
|
|
1213
|
+
403: "Forbidden: Admins only";
|
|
1214
|
+
};
|
|
1215
|
+
};
|
|
1216
|
+
};
|
|
1217
|
+
};
|
|
1218
|
+
};
|
|
1219
|
+
};
|
|
1220
|
+
} & {
|
|
1221
|
+
asset_convert_product: {
|
|
1222
|
+
products: {
|
|
1223
|
+
":id": {
|
|
1224
|
+
pause: {
|
|
1225
|
+
post: {
|
|
1226
|
+
body: unknown;
|
|
1227
|
+
params: {
|
|
1228
|
+
id: string;
|
|
1229
|
+
};
|
|
1230
|
+
query: unknown;
|
|
1231
|
+
headers: unknown;
|
|
1232
|
+
response: {
|
|
1233
|
+
200: {
|
|
1234
|
+
createdAt: Date;
|
|
1235
|
+
updatedAt: Date;
|
|
1236
|
+
id: string;
|
|
1237
|
+
name: string;
|
|
1238
|
+
description: string | null;
|
|
1239
|
+
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
1240
|
+
targetAssetId: string;
|
|
1241
|
+
payAssetId: string;
|
|
1242
|
+
defaultReceiveAccountTypeId: string;
|
|
1243
|
+
minPayAmount: string;
|
|
1244
|
+
status: "active" | "draft" | "paused" | "ended";
|
|
1245
|
+
};
|
|
1246
|
+
422: {
|
|
1247
|
+
type: "validation";
|
|
1248
|
+
on: string;
|
|
1249
|
+
summary?: string;
|
|
1250
|
+
message?: string;
|
|
1251
|
+
found?: unknown;
|
|
1252
|
+
property?: string;
|
|
1253
|
+
expected?: string;
|
|
1254
|
+
};
|
|
1255
|
+
401: "Unauthorized";
|
|
1256
|
+
403: "Forbidden: Admins only";
|
|
1257
|
+
};
|
|
1258
|
+
};
|
|
1259
|
+
};
|
|
1260
|
+
};
|
|
1261
|
+
};
|
|
1262
|
+
};
|
|
1263
|
+
} & {
|
|
1264
|
+
asset_convert_product: {
|
|
1265
|
+
products: {
|
|
1266
|
+
":id": {
|
|
1267
|
+
end: {
|
|
1268
|
+
post: {
|
|
1269
|
+
body: unknown;
|
|
1270
|
+
params: {
|
|
1271
|
+
id: string;
|
|
1272
|
+
};
|
|
1273
|
+
query: unknown;
|
|
1274
|
+
headers: unknown;
|
|
1275
|
+
response: {
|
|
1276
|
+
200: {
|
|
1277
|
+
createdAt: Date;
|
|
1278
|
+
updatedAt: Date;
|
|
1279
|
+
id: string;
|
|
1280
|
+
name: string;
|
|
1281
|
+
description: string | null;
|
|
1282
|
+
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
1283
|
+
targetAssetId: string;
|
|
1284
|
+
payAssetId: string;
|
|
1285
|
+
defaultReceiveAccountTypeId: string;
|
|
1286
|
+
minPayAmount: string;
|
|
1287
|
+
status: "active" | "draft" | "paused" | "ended";
|
|
1288
|
+
};
|
|
1289
|
+
422: {
|
|
1290
|
+
type: "validation";
|
|
1291
|
+
on: string;
|
|
1292
|
+
summary?: string;
|
|
1293
|
+
message?: string;
|
|
1294
|
+
found?: unknown;
|
|
1295
|
+
property?: string;
|
|
1296
|
+
expected?: string;
|
|
1297
|
+
};
|
|
1298
|
+
401: "Unauthorized";
|
|
1299
|
+
403: "Forbidden: Admins only";
|
|
1300
|
+
};
|
|
1301
|
+
};
|
|
1302
|
+
};
|
|
1303
|
+
};
|
|
1304
|
+
};
|
|
1305
|
+
};
|
|
1306
|
+
} & {
|
|
1307
|
+
asset_convert_product: {
|
|
1308
|
+
products: {
|
|
1309
|
+
get: {
|
|
1310
|
+
body: unknown;
|
|
1311
|
+
params: {};
|
|
1312
|
+
query: {
|
|
1313
|
+
status?: "active" | "draft" | "paused" | "ended" | undefined;
|
|
1314
|
+
productCategoryKey?: "gold" | "gov_bond" | "real_estate" | "corporate_credit" | undefined;
|
|
1315
|
+
limit?: number | undefined;
|
|
1316
|
+
offset?: number | undefined;
|
|
1317
|
+
pageSize?: number | undefined;
|
|
1318
|
+
pageIndex?: number | undefined;
|
|
1319
|
+
};
|
|
1320
|
+
headers: unknown;
|
|
1321
|
+
response: {
|
|
1322
|
+
200: {
|
|
1323
|
+
data: {
|
|
1324
|
+
id: string;
|
|
1325
|
+
name: string;
|
|
1326
|
+
createdAt: Date;
|
|
1327
|
+
updatedAt: Date;
|
|
1328
|
+
description: string | null;
|
|
1329
|
+
status: "active" | "draft" | "paused" | "ended";
|
|
1330
|
+
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
1331
|
+
targetAssetId: string;
|
|
1332
|
+
payAssetId: string;
|
|
1333
|
+
defaultReceiveAccountTypeId: string;
|
|
1334
|
+
minPayAmount: string;
|
|
1335
|
+
}[];
|
|
1336
|
+
pagination: {
|
|
1337
|
+
total: number;
|
|
1338
|
+
pageSize: number;
|
|
1339
|
+
pageIndex: number;
|
|
1340
|
+
totalPages: number;
|
|
1341
|
+
hasNextPage: boolean;
|
|
1342
|
+
};
|
|
1343
|
+
};
|
|
1344
|
+
422: {
|
|
1345
|
+
type: "validation";
|
|
1346
|
+
on: string;
|
|
1347
|
+
summary?: string;
|
|
1348
|
+
message?: string;
|
|
1349
|
+
found?: unknown;
|
|
1350
|
+
property?: string;
|
|
1351
|
+
expected?: string;
|
|
1352
|
+
};
|
|
1353
|
+
401: "Unauthorized";
|
|
1354
|
+
403: "Forbidden: Admins only";
|
|
1355
|
+
};
|
|
1356
|
+
};
|
|
1357
|
+
};
|
|
1358
|
+
};
|
|
1359
|
+
} & {
|
|
1360
|
+
asset_convert_product: {
|
|
1361
|
+
orders: {
|
|
1362
|
+
get: {
|
|
1363
|
+
body: unknown;
|
|
1364
|
+
params: {};
|
|
1365
|
+
query: {
|
|
1366
|
+
userId?: string | undefined;
|
|
1367
|
+
status?: "created" | "completed" | "failed" | undefined;
|
|
1368
|
+
productId?: string | undefined;
|
|
1369
|
+
limit?: number | undefined;
|
|
1370
|
+
offset?: number | undefined;
|
|
1371
|
+
pageSize?: number | undefined;
|
|
1372
|
+
pageIndex?: number | undefined;
|
|
1373
|
+
};
|
|
1374
|
+
headers: unknown;
|
|
1375
|
+
response: {
|
|
1376
|
+
200: {
|
|
1377
|
+
data: {
|
|
1378
|
+
id: string;
|
|
1379
|
+
createdAt: Date;
|
|
1380
|
+
updatedAt: Date;
|
|
1381
|
+
userId: string;
|
|
1382
|
+
status: "created" | "completed" | "failed";
|
|
1383
|
+
idempotencyKey: string;
|
|
1384
|
+
orderNo: string;
|
|
1385
|
+
productId: string;
|
|
1386
|
+
payAssetIdSnapshot: string;
|
|
1387
|
+
targetAssetIdSnapshot: string;
|
|
1388
|
+
quoteAssetIdSnapshot: string;
|
|
1389
|
+
priceSnapshot: string;
|
|
1390
|
+
priceEffectiveAtSnapshot: Date;
|
|
1391
|
+
payAmount: string;
|
|
1392
|
+
sourcePayAccountId: string;
|
|
1393
|
+
targetAmount: string;
|
|
1394
|
+
settlementModeSnapshot: "available" | "locked";
|
|
1395
|
+
receiveAccountId: string;
|
|
1396
|
+
debitLedgerEntryId: string | null;
|
|
1397
|
+
creditLedgerEntryId: string | null;
|
|
1398
|
+
failureCode: string | null;
|
|
1399
|
+
failureReason: string | null;
|
|
1400
|
+
}[];
|
|
1401
|
+
pagination: {
|
|
1402
|
+
total: number;
|
|
1403
|
+
pageSize: number;
|
|
1404
|
+
pageIndex: number;
|
|
1405
|
+
totalPages: number;
|
|
1406
|
+
hasNextPage: boolean;
|
|
1407
|
+
};
|
|
1408
|
+
};
|
|
1409
|
+
422: {
|
|
1410
|
+
type: "validation";
|
|
1411
|
+
on: string;
|
|
1412
|
+
summary?: string;
|
|
1413
|
+
message?: string;
|
|
1414
|
+
found?: unknown;
|
|
1415
|
+
property?: string;
|
|
1416
|
+
expected?: string;
|
|
1417
|
+
};
|
|
1418
|
+
401: "Unauthorized";
|
|
1419
|
+
403: "Forbidden: Admins only";
|
|
1420
|
+
};
|
|
1421
|
+
};
|
|
1422
|
+
};
|
|
1423
|
+
};
|
|
1424
|
+
};
|
|
1078
1425
|
} & {
|
|
1079
1426
|
admin: {
|
|
1080
1427
|
asset_types: {};
|
|
@@ -2428,9 +2775,9 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2428
2775
|
id: string;
|
|
2429
2776
|
createdAt: Date;
|
|
2430
2777
|
updatedAt: Date;
|
|
2431
|
-
status: "pending" | "
|
|
2432
|
-
success: number;
|
|
2778
|
+
status: "pending" | "failed" | "running" | "success";
|
|
2433
2779
|
failed: number;
|
|
2780
|
+
success: number;
|
|
2434
2781
|
ignored: number;
|
|
2435
2782
|
fileId: string;
|
|
2436
2783
|
total: number;
|
|
@@ -2461,7 +2808,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2461
2808
|
body: unknown;
|
|
2462
2809
|
params: {};
|
|
2463
2810
|
query: {
|
|
2464
|
-
status?: "pending" | "
|
|
2811
|
+
status?: "pending" | "failed" | "running" | "success" | undefined;
|
|
2465
2812
|
limit?: number | undefined;
|
|
2466
2813
|
offset?: number | undefined;
|
|
2467
2814
|
pageSize?: number | undefined;
|
|
@@ -2475,9 +2822,9 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2475
2822
|
id: string;
|
|
2476
2823
|
createdAt: Date;
|
|
2477
2824
|
updatedAt: Date;
|
|
2478
|
-
status: "pending" | "
|
|
2479
|
-
success: number;
|
|
2825
|
+
status: "pending" | "failed" | "running" | "success";
|
|
2480
2826
|
failed: number;
|
|
2827
|
+
success: number;
|
|
2481
2828
|
ignored: number;
|
|
2482
2829
|
fileId: string;
|
|
2483
2830
|
total: number;
|
|
@@ -2526,9 +2873,9 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2526
2873
|
id: string;
|
|
2527
2874
|
createdAt: Date;
|
|
2528
2875
|
updatedAt: Date;
|
|
2529
|
-
status: "pending" | "
|
|
2530
|
-
success: number;
|
|
2876
|
+
status: "pending" | "failed" | "running" | "success";
|
|
2531
2877
|
failed: number;
|
|
2878
|
+
success: number;
|
|
2532
2879
|
ignored: number;
|
|
2533
2880
|
fileId: string;
|
|
2534
2881
|
total: number;
|
|
@@ -2564,7 +2911,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2564
2911
|
id: string;
|
|
2565
2912
|
};
|
|
2566
2913
|
query: {
|
|
2567
|
-
status?: "
|
|
2914
|
+
status?: "failed" | "success" | "ignored" | undefined;
|
|
2568
2915
|
limit?: number | undefined;
|
|
2569
2916
|
offset?: number | undefined;
|
|
2570
2917
|
pageSize?: number | undefined;
|
|
@@ -2580,7 +2927,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2580
2927
|
updatedAt: Date;
|
|
2581
2928
|
phoneNumber: string | null;
|
|
2582
2929
|
userId: string | null;
|
|
2583
|
-
status: "
|
|
2930
|
+
status: "failed" | "success" | "ignored";
|
|
2584
2931
|
assetId: string | null;
|
|
2585
2932
|
ledgerAccountTypeId: string | null;
|
|
2586
2933
|
amount: string | null;
|
|
@@ -2674,7 +3021,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2674
3021
|
assetId: string;
|
|
2675
3022
|
fromAccountId: string | null;
|
|
2676
3023
|
toAccountId: string | null;
|
|
2677
|
-
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";
|
|
3024
|
+
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";
|
|
2678
3025
|
amount: string;
|
|
2679
3026
|
fromAvailableBefore: string | null;
|
|
2680
3027
|
fromAvailableAfter: string | null;
|
|
@@ -2685,7 +3032,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2685
3032
|
toLockedBefore: string | null;
|
|
2686
3033
|
toLockedAfter: string | null;
|
|
2687
3034
|
referenceId: string;
|
|
2688
|
-
referenceType: "deposit_order" | "withdraw_order" | "transfer_order" | "internal_transfer_order" | "manual_adjustment" | "welfare_cycle_subscription" | "welfare_cycle_daily_payout" | "welfare_cycle_maturity_settlement";
|
|
3035
|
+
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";
|
|
2689
3036
|
idempotencyKey: string;
|
|
2690
3037
|
operatorId: string | null;
|
|
2691
3038
|
memo: string | null;
|
|
@@ -4955,7 +5302,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4955
5302
|
params: {};
|
|
4956
5303
|
query: {
|
|
4957
5304
|
userId?: string | undefined;
|
|
4958
|
-
status?: "pending" | "
|
|
5305
|
+
status?: "pending" | "completed" | "failed" | undefined;
|
|
4959
5306
|
planId?: string | undefined;
|
|
4960
5307
|
limit?: number | undefined;
|
|
4961
5308
|
offset?: number | undefined;
|
|
@@ -4970,7 +5317,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4970
5317
|
createdAt: Date;
|
|
4971
5318
|
updatedAt: Date;
|
|
4972
5319
|
userId: string;
|
|
4973
|
-
status: "pending" | "
|
|
5320
|
+
status: "pending" | "completed" | "failed";
|
|
4974
5321
|
amount: string;
|
|
4975
5322
|
idempotencyKey: string;
|
|
4976
5323
|
ledgerEntryId: string | null;
|
|
@@ -5009,7 +5356,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
5009
5356
|
params: {};
|
|
5010
5357
|
query: {
|
|
5011
5358
|
userId?: string | undefined;
|
|
5012
|
-
status?: "pending" | "
|
|
5359
|
+
status?: "pending" | "completed" | "failed" | undefined;
|
|
5013
5360
|
planId?: string | undefined;
|
|
5014
5361
|
limit?: number | undefined;
|
|
5015
5362
|
offset?: number | undefined;
|
|
@@ -5024,7 +5371,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
5024
5371
|
createdAt: Date;
|
|
5025
5372
|
updatedAt: Date;
|
|
5026
5373
|
userId: string;
|
|
5027
|
-
status: "pending" | "
|
|
5374
|
+
status: "pending" | "completed" | "failed";
|
|
5028
5375
|
idempotencyKey: string;
|
|
5029
5376
|
planId: string;
|
|
5030
5377
|
subscriptionId: string;
|