@aitlabs/namkwong 0.0.113 → 0.0.115
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/admin/index.d.ts +37 -12
- package/dist/asset/admin/dto.schemas.d.ts +13 -0
- package/dist/asset/admin/router.d.ts +4 -0
- package/dist/asset/admin/service.d.ts +1 -0
- package/dist/asset-type/admin/router.d.ts +13 -1
- package/dist/binary-option/internal/service.d.ts +6 -0
- package/dist/binary-option/user/dto.schemas.d.ts +10 -0
- package/dist/binary-option/user/router.d.ts +10 -0
- package/dist/content-video/admin/router.d.ts +1 -13
- package/dist/deposit/admin/dto.schemas.d.ts +13 -0
- package/dist/deposit/admin/router.d.ts +4 -0
- package/dist/deposit/admin/service.d.ts +1 -0
- package/dist/index.d.ts +47 -12
- package/dist/ledger/user/router.d.ts +1 -13
- package/dist/ledger-account/admin/service.d.ts +7 -0
- package/dist/market-pricing/admin/dto.schemas.d.ts +13 -0
- package/dist/market-pricing/admin/router.d.ts +17 -1
- package/dist/market-pricing/admin/service.d.ts +1 -0
- package/dist/market-symbol/admin/router.d.ts +1 -13
- package/dist/user-security/user/router.d.ts +13 -1
- package/dist/utils/sort.d.ts +32 -0
- package/dist/withdraw/admin/dto.schemas.d.ts +273 -137
- package/dist/withdraw/admin/router.d.ts +25 -12
- package/dist/withdraw/admin/service.d.ts +13 -0
- package/package.json +1 -1
package/dist/admin/index.d.ts
CHANGED
|
@@ -969,6 +969,10 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
969
969
|
offset?: number | undefined;
|
|
970
970
|
pageIndex?: number | undefined;
|
|
971
971
|
pageSize?: number | undefined;
|
|
972
|
+
sorts?: {
|
|
973
|
+
field: "category" | "code" | "createdAt" | "isActive" | "name" | "precision" | "updatedAt";
|
|
974
|
+
order?: "asc" | "desc" | undefined;
|
|
975
|
+
}[] | undefined;
|
|
972
976
|
typeId?: string | null | undefined;
|
|
973
977
|
};
|
|
974
978
|
headers: {};
|
|
@@ -6607,6 +6611,10 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6607
6611
|
pageIndex?: number | undefined;
|
|
6608
6612
|
pageSize?: number | undefined;
|
|
6609
6613
|
quoteAssetId?: string | undefined;
|
|
6614
|
+
sorts?: {
|
|
6615
|
+
field: "baseAssetId" | "createdAt" | "intervalSeconds" | "isEnabled" | "liquiditySession" | "name" | "quoteAssetId" | "trendMode" | "updatedAt";
|
|
6616
|
+
order?: "asc" | "desc" | undefined;
|
|
6617
|
+
}[] | undefined;
|
|
6610
6618
|
};
|
|
6611
6619
|
headers: {};
|
|
6612
6620
|
response: {
|
|
@@ -7050,6 +7058,10 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
7050
7058
|
userId?: string | undefined;
|
|
7051
7059
|
status?: "approved" | "cancelled" | "completed" | "pending" | "rejected" | undefined;
|
|
7052
7060
|
orderNo?: string | undefined;
|
|
7061
|
+
sorts?: {
|
|
7062
|
+
field: "actualAmount" | "amount" | "createdAt" | "orderNo" | "status" | "updatedAt";
|
|
7063
|
+
order?: "asc" | "desc" | undefined;
|
|
7064
|
+
}[] | undefined;
|
|
7053
7065
|
};
|
|
7054
7066
|
headers: {};
|
|
7055
7067
|
response: {
|
|
@@ -7239,23 +7251,36 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
7239
7251
|
response: {
|
|
7240
7252
|
200: {
|
|
7241
7253
|
data: {
|
|
7254
|
+
amount: string;
|
|
7255
|
+
assetId: string | null;
|
|
7242
7256
|
createdAt: Date;
|
|
7243
|
-
updatedAt: Date;
|
|
7244
7257
|
id: string;
|
|
7245
|
-
orderNo: string;
|
|
7246
7258
|
idempotencyKey: string;
|
|
7247
|
-
|
|
7248
|
-
|
|
7249
|
-
|
|
7259
|
+
orderNo: string;
|
|
7260
|
+
paidAt: Date | null;
|
|
7261
|
+
paidBy: string | null;
|
|
7262
|
+
receiptMethod: {
|
|
7263
|
+
createdAt: Date;
|
|
7264
|
+
updatedAt: Date;
|
|
7265
|
+
id: string;
|
|
7266
|
+
userId: string;
|
|
7267
|
+
type: "alipay" | "bank_card";
|
|
7268
|
+
fullName: string;
|
|
7269
|
+
bankName: string | null;
|
|
7270
|
+
bankBranchName: string | null;
|
|
7271
|
+
bankCardNumber: string | null;
|
|
7272
|
+
alipayName: string | null;
|
|
7273
|
+
alipayAccount: string | null;
|
|
7274
|
+
};
|
|
7250
7275
|
receiptMethodId: string;
|
|
7251
|
-
amount: string;
|
|
7252
|
-
status: "completed" | "pending_payout" | "pending_review" | "rejected";
|
|
7253
|
-
reviewedBy: string | null;
|
|
7254
|
-
reviewedAt: Date | null;
|
|
7255
|
-
reviewNote: string | null;
|
|
7256
7276
|
rejectReason: string | null;
|
|
7257
|
-
|
|
7258
|
-
|
|
7277
|
+
reviewNote: string | null;
|
|
7278
|
+
reviewedAt: Date | null;
|
|
7279
|
+
reviewedBy: string | null;
|
|
7280
|
+
sourceAccountId: string | null;
|
|
7281
|
+
status: "completed" | "pending_payout" | "pending_review" | "rejected";
|
|
7282
|
+
updatedAt: Date;
|
|
7283
|
+
userId: string;
|
|
7259
7284
|
}[];
|
|
7260
7285
|
pagination: {
|
|
7261
7286
|
pageSize: number;
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
export declare const assetAdminSortFieldSchema: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"category">, import("@sinclair/typebox").TLiteral<"code">, import("@sinclair/typebox").TLiteral<"createdAt">, import("@sinclair/typebox").TLiteral<"isActive">, import("@sinclair/typebox").TLiteral<"name">, import("@sinclair/typebox").TLiteral<"precision">, import("@sinclair/typebox").TLiteral<"updatedAt">]>;
|
|
2
|
+
export type AssetAdminSortFieldType = typeof assetAdminSortFieldSchema.static;
|
|
3
|
+
export declare const assetAdminSortOrderSchema: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"asc">, import("@sinclair/typebox").TLiteral<"desc">]>;
|
|
4
|
+
export type AssetAdminSortOrderType = typeof assetAdminSortOrderSchema.static;
|
|
5
|
+
export declare const assetAdminSortSchema: import("@sinclair/typebox").TObject<{
|
|
6
|
+
field: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"category">, import("@sinclair/typebox").TLiteral<"code">, import("@sinclair/typebox").TLiteral<"createdAt">, import("@sinclair/typebox").TLiteral<"isActive">, import("@sinclair/typebox").TLiteral<"name">, import("@sinclair/typebox").TLiteral<"precision">, import("@sinclair/typebox").TLiteral<"updatedAt">]>;
|
|
7
|
+
order: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"asc">, import("@sinclair/typebox").TLiteral<"desc">]>>;
|
|
8
|
+
}>;
|
|
9
|
+
export type AssetAdminSortType = typeof assetAdminSortSchema.static;
|
|
1
10
|
export declare const assetAdminListQuerySchema: import("@sinclair/typebox").TObject<{
|
|
2
11
|
category: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TEnum<{
|
|
3
12
|
CRYPTO: "CRYPTO";
|
|
@@ -15,6 +24,10 @@ export declare const assetAdminListQuerySchema: import("@sinclair/typebox").TObj
|
|
|
15
24
|
offset: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
16
25
|
pageIndex: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
17
26
|
pageSize: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
27
|
+
sorts: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
28
|
+
field: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"category">, import("@sinclair/typebox").TLiteral<"code">, import("@sinclair/typebox").TLiteral<"createdAt">, import("@sinclair/typebox").TLiteral<"isActive">, import("@sinclair/typebox").TLiteral<"name">, import("@sinclair/typebox").TLiteral<"precision">, import("@sinclair/typebox").TLiteral<"updatedAt">]>;
|
|
29
|
+
order: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"asc">, import("@sinclair/typebox").TLiteral<"desc">]>>;
|
|
30
|
+
}>>>;
|
|
18
31
|
typeId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>>;
|
|
19
32
|
}>;
|
|
20
33
|
export type AssetAdminListQueryType = typeof assetAdminListQuerySchema.static;
|
|
@@ -395,6 +395,10 @@ export declare const assetAdminRouter: Elysia<"/assets", {
|
|
|
395
395
|
offset?: number | undefined;
|
|
396
396
|
pageIndex?: number | undefined;
|
|
397
397
|
pageSize?: number | undefined;
|
|
398
|
+
sorts?: {
|
|
399
|
+
field: "category" | "code" | "createdAt" | "isActive" | "name" | "precision" | "updatedAt";
|
|
400
|
+
order?: "asc" | "desc" | undefined;
|
|
401
|
+
}[] | undefined;
|
|
398
402
|
typeId?: string | null | undefined;
|
|
399
403
|
};
|
|
400
404
|
headers: {};
|
|
@@ -3,6 +3,7 @@ import { BaseAssetService } from '../internal/service';
|
|
|
3
3
|
export interface AssetAdminListQueryOptions extends AssetAdminListQueryType {
|
|
4
4
|
}
|
|
5
5
|
export declare abstract class AdminAssetService extends BaseAssetService {
|
|
6
|
+
private static buildAdminListOrderBy;
|
|
6
7
|
private static getLatestPriceMapForAssets;
|
|
7
8
|
private static resolveIconUrlByFileId;
|
|
8
9
|
private static buildAdminListWhere;
|
|
@@ -35,7 +35,19 @@ export declare const assetTypeAdminRouter: Elysia<"/asset_types", {
|
|
|
35
35
|
headers: import("elysia").HTTPHeaders;
|
|
36
36
|
status?: number | keyof import("elysia").StatusMap;
|
|
37
37
|
redirect?: string;
|
|
38
|
-
cookie?: Record<string,
|
|
38
|
+
cookie?: Record<string, {
|
|
39
|
+
domain?: string | undefined;
|
|
40
|
+
expires?: Date | undefined;
|
|
41
|
+
httpOnly?: boolean | undefined;
|
|
42
|
+
maxAge?: number | undefined;
|
|
43
|
+
path?: string | undefined;
|
|
44
|
+
priority?: 'low' | 'medium' | 'high' | undefined;
|
|
45
|
+
partitioned?: boolean | undefined;
|
|
46
|
+
sameSite?: true | false | 'lax' | 'strict' | 'none' | undefined;
|
|
47
|
+
secure?: boolean | undefined;
|
|
48
|
+
secrets?: string | null | (string | null)[];
|
|
49
|
+
value?: unknown;
|
|
50
|
+
}>;
|
|
39
51
|
};
|
|
40
52
|
path: string;
|
|
41
53
|
route: string;
|
|
@@ -18,9 +18,15 @@ interface BinaryOptionSettlementRunInput {
|
|
|
18
18
|
operatorId?: string;
|
|
19
19
|
}
|
|
20
20
|
export declare abstract class InternalBinaryOptionService {
|
|
21
|
+
private static buildOrderActiveNotificationContent;
|
|
22
|
+
private static buildOrderSettledNotificationContent;
|
|
21
23
|
private static buildLast10UtcCalendarDays;
|
|
24
|
+
private static formatUtcMinuteKey;
|
|
25
|
+
private static buildLast10UtcMinutes;
|
|
22
26
|
private static completeTrend10dSparse;
|
|
27
|
+
private static completeTrend10mSparse;
|
|
23
28
|
private static loadPriceTrend10dMap;
|
|
29
|
+
private static loadPriceTrend10mMap;
|
|
24
30
|
private static enrichMarketsWithBaseAssetPrice;
|
|
25
31
|
private static validateUserId;
|
|
26
32
|
private static parseStakeAmount;
|
|
@@ -200,6 +200,11 @@ export declare const binaryOptionUserMarketItemSchema: import("@sinclair/typebox
|
|
|
200
200
|
price: import("@sinclair/typebox").TString;
|
|
201
201
|
effectiveAt: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TDate, import("@sinclair/typebox").TString]>;
|
|
202
202
|
}>>;
|
|
203
|
+
trend10m: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
204
|
+
minute: import("@sinclair/typebox").TString;
|
|
205
|
+
price: import("@sinclair/typebox").TString;
|
|
206
|
+
effectiveAt: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TDate, import("@sinclair/typebox").TString]>;
|
|
207
|
+
}>>;
|
|
203
208
|
}>;
|
|
204
209
|
symbol: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
205
210
|
}>;
|
|
@@ -433,6 +438,11 @@ export declare const binaryOptionUserMarketListResponseSchema: import("@sinclair
|
|
|
433
438
|
price: import("@sinclair/typebox").TString;
|
|
434
439
|
effectiveAt: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TDate, import("@sinclair/typebox").TString]>;
|
|
435
440
|
}>>;
|
|
441
|
+
trend10m: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
442
|
+
minute: import("@sinclair/typebox").TString;
|
|
443
|
+
price: import("@sinclair/typebox").TString;
|
|
444
|
+
effectiveAt: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TDate, import("@sinclair/typebox").TString]>;
|
|
445
|
+
}>>;
|
|
436
446
|
}>;
|
|
437
447
|
symbol: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
438
448
|
}>;
|
|
@@ -439,6 +439,11 @@ export declare const binaryOptionRouter: Elysia<"/binary_option", {
|
|
|
439
439
|
price: string;
|
|
440
440
|
effectiveAt: string | Date;
|
|
441
441
|
}[];
|
|
442
|
+
trend10m: {
|
|
443
|
+
minute: string;
|
|
444
|
+
price: string;
|
|
445
|
+
effectiveAt: string | Date;
|
|
446
|
+
}[];
|
|
442
447
|
};
|
|
443
448
|
symbol: string | null;
|
|
444
449
|
};
|
|
@@ -540,6 +545,11 @@ export declare const binaryOptionRouter: Elysia<"/binary_option", {
|
|
|
540
545
|
price: string;
|
|
541
546
|
effectiveAt: string | Date;
|
|
542
547
|
}[];
|
|
548
|
+
trend10m: {
|
|
549
|
+
minute: string;
|
|
550
|
+
price: string;
|
|
551
|
+
effectiveAt: string | Date;
|
|
552
|
+
}[];
|
|
543
553
|
};
|
|
544
554
|
symbol: string | null;
|
|
545
555
|
};
|
|
@@ -35,19 +35,7 @@ export declare const contentVideoAdminRouter: Elysia<"/content_videos", {
|
|
|
35
35
|
headers: import("elysia").HTTPHeaders;
|
|
36
36
|
status?: number | keyof import("elysia").StatusMap;
|
|
37
37
|
redirect?: string;
|
|
38
|
-
cookie?: Record<string,
|
|
39
|
-
domain?: string | undefined;
|
|
40
|
-
expires?: Date | undefined;
|
|
41
|
-
httpOnly?: boolean | undefined;
|
|
42
|
-
maxAge?: number | undefined;
|
|
43
|
-
path?: string | undefined;
|
|
44
|
-
priority?: 'low' | 'medium' | 'high' | undefined;
|
|
45
|
-
partitioned?: boolean | undefined;
|
|
46
|
-
sameSite?: true | false | 'lax' | 'strict' | 'none' | undefined;
|
|
47
|
-
secure?: boolean | undefined;
|
|
48
|
-
secrets?: string | null | (string | null)[];
|
|
49
|
-
value?: unknown;
|
|
50
|
-
}>;
|
|
38
|
+
cookie?: Record<string, import("elysia/cookies").ElysiaCookie>;
|
|
51
39
|
};
|
|
52
40
|
path: string;
|
|
53
41
|
route: string;
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
export declare const depositAdminSortFieldModel: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"actualAmount">, import("@sinclair/typebox").TLiteral<"amount">, import("@sinclair/typebox").TLiteral<"createdAt">, import("@sinclair/typebox").TLiteral<"orderNo">, import("@sinclair/typebox").TLiteral<"status">, import("@sinclair/typebox").TLiteral<"updatedAt">]>;
|
|
2
|
+
export type DepositAdminSortFieldType = typeof depositAdminSortFieldModel.static;
|
|
3
|
+
export declare const depositAdminSortOrderModel: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"asc">, import("@sinclair/typebox").TLiteral<"desc">]>;
|
|
4
|
+
export type DepositAdminSortOrderType = typeof depositAdminSortOrderModel.static;
|
|
5
|
+
export declare const depositAdminSortModel: import("@sinclair/typebox").TObject<{
|
|
6
|
+
field: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"actualAmount">, import("@sinclair/typebox").TLiteral<"amount">, import("@sinclair/typebox").TLiteral<"createdAt">, import("@sinclair/typebox").TLiteral<"orderNo">, import("@sinclair/typebox").TLiteral<"status">, import("@sinclair/typebox").TLiteral<"updatedAt">]>;
|
|
7
|
+
order: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"asc">, import("@sinclair/typebox").TLiteral<"desc">]>>;
|
|
8
|
+
}>;
|
|
9
|
+
export type DepositAdminSortType = typeof depositAdminSortModel.static;
|
|
1
10
|
export declare const depositOrderSelectModel: import("@sinclair/typebox").TObject<{
|
|
2
11
|
actualAmount: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
3
12
|
amount: import("@sinclair/typebox").TString;
|
|
@@ -334,6 +343,10 @@ export declare const depositAdminListQueryModel: import("@sinclair/typebox").TOb
|
|
|
334
343
|
rejected: "rejected";
|
|
335
344
|
}>>;
|
|
336
345
|
orderNo: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
346
|
+
sorts: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
347
|
+
field: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"actualAmount">, import("@sinclair/typebox").TLiteral<"amount">, import("@sinclair/typebox").TLiteral<"createdAt">, import("@sinclair/typebox").TLiteral<"orderNo">, import("@sinclair/typebox").TLiteral<"status">, import("@sinclair/typebox").TLiteral<"updatedAt">]>;
|
|
348
|
+
order: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"asc">, import("@sinclair/typebox").TLiteral<"desc">]>>;
|
|
349
|
+
}>>>;
|
|
337
350
|
}>;
|
|
338
351
|
export type DepositAdminListQueryType = typeof depositAdminListQueryModel.static;
|
|
339
352
|
export declare const depositOrderListResponseModel: import("@sinclair/typebox").TObject<{
|
|
@@ -392,6 +392,10 @@ export declare const depositAdminRouter: Elysia<"/deposit", {
|
|
|
392
392
|
userId?: string | undefined;
|
|
393
393
|
status?: "approved" | "cancelled" | "completed" | "pending" | "rejected" | undefined;
|
|
394
394
|
orderNo?: string | undefined;
|
|
395
|
+
sorts?: {
|
|
396
|
+
field: "actualAmount" | "amount" | "createdAt" | "orderNo" | "status" | "updatedAt";
|
|
397
|
+
order?: "asc" | "desc" | undefined;
|
|
398
|
+
}[] | undefined;
|
|
395
399
|
};
|
|
396
400
|
headers: {};
|
|
397
401
|
response: {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { DepositAdminListQueryType, DepositApproveInputType, DepositRejectInputType } from './dto.schemas';
|
|
2
2
|
import { BaseDepositService } from '../internal/service';
|
|
3
3
|
export declare abstract class AdminDepositService extends BaseDepositService {
|
|
4
|
+
private static buildAdminListOrderBy;
|
|
4
5
|
static approveDeposit(orderId: string, reviewerId: string, input: DepositApproveInputType): Promise<{
|
|
5
6
|
createdAt: Date;
|
|
6
7
|
updatedAt: Date;
|
package/dist/index.d.ts
CHANGED
|
@@ -1553,6 +1553,10 @@ declare const app: Elysia<"/api", {
|
|
|
1553
1553
|
offset?: number | undefined;
|
|
1554
1554
|
pageIndex?: number | undefined;
|
|
1555
1555
|
pageSize?: number | undefined;
|
|
1556
|
+
sorts?: {
|
|
1557
|
+
field: "category" | "code" | "createdAt" | "isActive" | "name" | "precision" | "updatedAt";
|
|
1558
|
+
order?: "asc" | "desc" | undefined;
|
|
1559
|
+
}[] | undefined;
|
|
1556
1560
|
typeId?: string | null | undefined;
|
|
1557
1561
|
};
|
|
1558
1562
|
headers: {};
|
|
@@ -7191,6 +7195,10 @@ declare const app: Elysia<"/api", {
|
|
|
7191
7195
|
pageIndex?: number | undefined;
|
|
7192
7196
|
pageSize?: number | undefined;
|
|
7193
7197
|
quoteAssetId?: string | undefined;
|
|
7198
|
+
sorts?: {
|
|
7199
|
+
field: "baseAssetId" | "createdAt" | "intervalSeconds" | "isEnabled" | "liquiditySession" | "name" | "quoteAssetId" | "trendMode" | "updatedAt";
|
|
7200
|
+
order?: "asc" | "desc" | undefined;
|
|
7201
|
+
}[] | undefined;
|
|
7194
7202
|
};
|
|
7195
7203
|
headers: {};
|
|
7196
7204
|
response: {
|
|
@@ -7634,6 +7642,10 @@ declare const app: Elysia<"/api", {
|
|
|
7634
7642
|
userId?: string | undefined;
|
|
7635
7643
|
status?: "approved" | "cancelled" | "completed" | "pending" | "rejected" | undefined;
|
|
7636
7644
|
orderNo?: string | undefined;
|
|
7645
|
+
sorts?: {
|
|
7646
|
+
field: "actualAmount" | "amount" | "createdAt" | "orderNo" | "status" | "updatedAt";
|
|
7647
|
+
order?: "asc" | "desc" | undefined;
|
|
7648
|
+
}[] | undefined;
|
|
7637
7649
|
};
|
|
7638
7650
|
headers: {};
|
|
7639
7651
|
response: {
|
|
@@ -7823,23 +7835,36 @@ declare const app: Elysia<"/api", {
|
|
|
7823
7835
|
response: {
|
|
7824
7836
|
200: {
|
|
7825
7837
|
data: {
|
|
7838
|
+
amount: string;
|
|
7839
|
+
assetId: string | null;
|
|
7826
7840
|
createdAt: Date;
|
|
7827
|
-
updatedAt: Date;
|
|
7828
7841
|
id: string;
|
|
7829
|
-
orderNo: string;
|
|
7830
7842
|
idempotencyKey: string;
|
|
7831
|
-
|
|
7832
|
-
|
|
7833
|
-
|
|
7843
|
+
orderNo: string;
|
|
7844
|
+
paidAt: Date | null;
|
|
7845
|
+
paidBy: string | null;
|
|
7846
|
+
receiptMethod: {
|
|
7847
|
+
createdAt: Date;
|
|
7848
|
+
updatedAt: Date;
|
|
7849
|
+
id: string;
|
|
7850
|
+
userId: string;
|
|
7851
|
+
type: "alipay" | "bank_card";
|
|
7852
|
+
fullName: string;
|
|
7853
|
+
bankName: string | null;
|
|
7854
|
+
bankBranchName: string | null;
|
|
7855
|
+
bankCardNumber: string | null;
|
|
7856
|
+
alipayName: string | null;
|
|
7857
|
+
alipayAccount: string | null;
|
|
7858
|
+
};
|
|
7834
7859
|
receiptMethodId: string;
|
|
7835
|
-
amount: string;
|
|
7836
|
-
status: "completed" | "pending_payout" | "pending_review" | "rejected";
|
|
7837
|
-
reviewedBy: string | null;
|
|
7838
|
-
reviewedAt: Date | null;
|
|
7839
|
-
reviewNote: string | null;
|
|
7840
7860
|
rejectReason: string | null;
|
|
7841
|
-
|
|
7842
|
-
|
|
7861
|
+
reviewNote: string | null;
|
|
7862
|
+
reviewedAt: Date | null;
|
|
7863
|
+
reviewedBy: string | null;
|
|
7864
|
+
sourceAccountId: string | null;
|
|
7865
|
+
status: "completed" | "pending_payout" | "pending_review" | "rejected";
|
|
7866
|
+
updatedAt: Date;
|
|
7867
|
+
userId: string;
|
|
7843
7868
|
}[];
|
|
7844
7869
|
pagination: {
|
|
7845
7870
|
pageSize: number;
|
|
@@ -16092,6 +16117,11 @@ declare const app: Elysia<"/api", {
|
|
|
16092
16117
|
price: string;
|
|
16093
16118
|
effectiveAt: string | Date;
|
|
16094
16119
|
}[];
|
|
16120
|
+
trend10m: {
|
|
16121
|
+
minute: string;
|
|
16122
|
+
price: string;
|
|
16123
|
+
effectiveAt: string | Date;
|
|
16124
|
+
}[];
|
|
16095
16125
|
};
|
|
16096
16126
|
symbol: string | null;
|
|
16097
16127
|
};
|
|
@@ -16193,6 +16223,11 @@ declare const app: Elysia<"/api", {
|
|
|
16193
16223
|
price: string;
|
|
16194
16224
|
effectiveAt: string | Date;
|
|
16195
16225
|
}[];
|
|
16226
|
+
trend10m: {
|
|
16227
|
+
minute: string;
|
|
16228
|
+
price: string;
|
|
16229
|
+
effectiveAt: string | Date;
|
|
16230
|
+
}[];
|
|
16196
16231
|
};
|
|
16197
16232
|
symbol: string | null;
|
|
16198
16233
|
};
|
|
@@ -35,19 +35,7 @@ export declare const ledgerRouter: Elysia<"/ledger", {
|
|
|
35
35
|
headers: import("elysia").HTTPHeaders;
|
|
36
36
|
status?: number | keyof import("elysia").StatusMap;
|
|
37
37
|
redirect?: string;
|
|
38
|
-
cookie?: Record<string,
|
|
39
|
-
domain?: string | undefined;
|
|
40
|
-
expires?: Date | undefined;
|
|
41
|
-
httpOnly?: boolean | undefined;
|
|
42
|
-
maxAge?: number | undefined;
|
|
43
|
-
path?: string | undefined;
|
|
44
|
-
priority?: 'low' | 'medium' | 'high' | undefined;
|
|
45
|
-
partitioned?: boolean | undefined;
|
|
46
|
-
sameSite?: true | false | 'lax' | 'strict' | 'none' | undefined;
|
|
47
|
-
secure?: boolean | undefined;
|
|
48
|
-
secrets?: string | null | (string | null)[];
|
|
49
|
-
value?: unknown;
|
|
50
|
-
}>;
|
|
38
|
+
cookie?: Record<string, import("elysia/cookies").ElysiaCookie>;
|
|
51
39
|
};
|
|
52
40
|
path: string;
|
|
53
41
|
route: string;
|
|
@@ -4,6 +4,7 @@ export declare abstract class AdminLedgerAccountService extends BaseLedgerAccoun
|
|
|
4
4
|
private static buildCnyBalanceAdjustNotificationTitle;
|
|
5
5
|
private static buildCnyBalanceAdjustNotificationContent;
|
|
6
6
|
private static normalizePositiveAmount;
|
|
7
|
+
private static createCompletedDepositOrderForCnyAdjust;
|
|
7
8
|
private static resolveAdjustTargetAccount;
|
|
8
9
|
private static buildCnyBalanceAdjustReferenceId;
|
|
9
10
|
private static isSameManualAdjust;
|
|
@@ -223,6 +224,12 @@ export declare abstract class AdminLedgerAccountService extends BaseLedgerAccoun
|
|
|
223
224
|
content: string;
|
|
224
225
|
priority?: 'low' | 'normal' | 'high' | 'urgent';
|
|
225
226
|
};
|
|
227
|
+
createDepositOrder?: {
|
|
228
|
+
userId: string;
|
|
229
|
+
operatorId: string;
|
|
230
|
+
referenceId: string;
|
|
231
|
+
memo?: string | null | undefined;
|
|
232
|
+
};
|
|
226
233
|
}): Promise<{
|
|
227
234
|
accountId: string;
|
|
228
235
|
userId: string;
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
export declare const marketPricingStrategySortFieldSchema: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"baseAssetId">, import("@sinclair/typebox").TLiteral<"createdAt">, import("@sinclair/typebox").TLiteral<"intervalSeconds">, import("@sinclair/typebox").TLiteral<"isEnabled">, import("@sinclair/typebox").TLiteral<"liquiditySession">, import("@sinclair/typebox").TLiteral<"name">, import("@sinclair/typebox").TLiteral<"quoteAssetId">, import("@sinclair/typebox").TLiteral<"trendMode">, import("@sinclair/typebox").TLiteral<"updatedAt">]>;
|
|
2
|
+
export type MarketPricingStrategySortFieldType = typeof marketPricingStrategySortFieldSchema.static;
|
|
3
|
+
export declare const marketPricingStrategySortOrderSchema: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"asc">, import("@sinclair/typebox").TLiteral<"desc">]>;
|
|
4
|
+
export type MarketPricingStrategySortOrderType = typeof marketPricingStrategySortOrderSchema.static;
|
|
5
|
+
export declare const marketPricingStrategySortSchema: import("@sinclair/typebox").TObject<{
|
|
6
|
+
field: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"baseAssetId">, import("@sinclair/typebox").TLiteral<"createdAt">, import("@sinclair/typebox").TLiteral<"intervalSeconds">, import("@sinclair/typebox").TLiteral<"isEnabled">, import("@sinclair/typebox").TLiteral<"liquiditySession">, import("@sinclair/typebox").TLiteral<"name">, import("@sinclair/typebox").TLiteral<"quoteAssetId">, import("@sinclair/typebox").TLiteral<"trendMode">, import("@sinclair/typebox").TLiteral<"updatedAt">]>;
|
|
7
|
+
order: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"asc">, import("@sinclair/typebox").TLiteral<"desc">]>>;
|
|
8
|
+
}>;
|
|
9
|
+
export type MarketPricingStrategySortType = typeof marketPricingStrategySortSchema.static;
|
|
1
10
|
export declare const marketPricingStrategyCreateBasicSchema: import("@sinclair/typebox").TObject<{
|
|
2
11
|
name: import("@sinclair/typebox").TString;
|
|
3
12
|
baseAssetId: import("@sinclair/typebox").TString;
|
|
@@ -120,6 +129,10 @@ export declare const marketPricingStrategyListQuerySchema: import("@sinclair/typ
|
|
|
120
129
|
pageIndex: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
121
130
|
pageSize: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
122
131
|
quoteAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
132
|
+
sorts: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
133
|
+
field: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"baseAssetId">, import("@sinclair/typebox").TLiteral<"createdAt">, import("@sinclair/typebox").TLiteral<"intervalSeconds">, import("@sinclair/typebox").TLiteral<"isEnabled">, import("@sinclair/typebox").TLiteral<"liquiditySession">, import("@sinclair/typebox").TLiteral<"name">, import("@sinclair/typebox").TLiteral<"quoteAssetId">, import("@sinclair/typebox").TLiteral<"trendMode">, import("@sinclair/typebox").TLiteral<"updatedAt">]>;
|
|
134
|
+
order: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"asc">, import("@sinclair/typebox").TLiteral<"desc">]>>;
|
|
135
|
+
}>>>;
|
|
123
136
|
}>;
|
|
124
137
|
export type MarketPricingStrategyListQueryType = typeof marketPricingStrategyListQuerySchema.static;
|
|
125
138
|
export declare const marketPricingStrategyBasicResponseSchema: import("@sinclair/typebox").TObject<{
|
|
@@ -35,7 +35,19 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
|
|
|
35
35
|
headers: import("elysia").HTTPHeaders;
|
|
36
36
|
status?: number | keyof import("elysia").StatusMap;
|
|
37
37
|
redirect?: string;
|
|
38
|
-
cookie?: Record<string,
|
|
38
|
+
cookie?: Record<string, {
|
|
39
|
+
domain?: string | undefined;
|
|
40
|
+
expires?: Date | undefined;
|
|
41
|
+
httpOnly?: boolean | undefined;
|
|
42
|
+
maxAge?: number | undefined;
|
|
43
|
+
path?: string | undefined;
|
|
44
|
+
priority?: 'low' | 'medium' | 'high' | undefined;
|
|
45
|
+
partitioned?: boolean | undefined;
|
|
46
|
+
sameSite?: true | false | 'lax' | 'strict' | 'none' | undefined;
|
|
47
|
+
secure?: boolean | undefined;
|
|
48
|
+
secrets?: string | null | (string | null)[];
|
|
49
|
+
value?: unknown;
|
|
50
|
+
}>;
|
|
39
51
|
};
|
|
40
52
|
path: string;
|
|
41
53
|
route: string;
|
|
@@ -793,6 +805,10 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
|
|
|
793
805
|
pageIndex?: number | undefined;
|
|
794
806
|
pageSize?: number | undefined;
|
|
795
807
|
quoteAssetId?: string | undefined;
|
|
808
|
+
sorts?: {
|
|
809
|
+
field: "baseAssetId" | "createdAt" | "intervalSeconds" | "isEnabled" | "liquiditySession" | "name" | "quoteAssetId" | "trendMode" | "updatedAt";
|
|
810
|
+
order?: "asc" | "desc" | undefined;
|
|
811
|
+
}[] | undefined;
|
|
796
812
|
};
|
|
797
813
|
headers: {};
|
|
798
814
|
response: {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { MarketPricingStrategyCreateInputType, MarketPricingStrategyListQueryType, MarketPricingStrategyUpdateInputType } from './dto.schemas';
|
|
2
2
|
export declare abstract class AdminMarketPricingService {
|
|
3
|
+
private static buildStrategyListOrderBy;
|
|
3
4
|
private static toBasicStrategy;
|
|
4
5
|
private static toAdvancedStrategy;
|
|
5
6
|
private static toListItem;
|
|
@@ -35,19 +35,7 @@ export declare const marketSymbolAdminRouter: Elysia<"/market_symbol", {
|
|
|
35
35
|
headers: import("elysia").HTTPHeaders;
|
|
36
36
|
status?: number | keyof import("elysia").StatusMap;
|
|
37
37
|
redirect?: string;
|
|
38
|
-
cookie?: Record<string,
|
|
39
|
-
domain?: string | undefined;
|
|
40
|
-
expires?: Date | undefined;
|
|
41
|
-
httpOnly?: boolean | undefined;
|
|
42
|
-
maxAge?: number | undefined;
|
|
43
|
-
path?: string | undefined;
|
|
44
|
-
priority?: 'low' | 'medium' | 'high' | undefined;
|
|
45
|
-
partitioned?: boolean | undefined;
|
|
46
|
-
sameSite?: true | false | 'lax' | 'strict' | 'none' | undefined;
|
|
47
|
-
secure?: boolean | undefined;
|
|
48
|
-
secrets?: string | null | (string | null)[];
|
|
49
|
-
value?: unknown;
|
|
50
|
-
}>;
|
|
38
|
+
cookie?: Record<string, import("elysia/cookies").ElysiaCookie>;
|
|
51
39
|
};
|
|
52
40
|
path: string;
|
|
53
41
|
route: string;
|
|
@@ -35,7 +35,19 @@ export declare const userSecurityRouter: Elysia<"/user", {
|
|
|
35
35
|
headers: import("elysia").HTTPHeaders;
|
|
36
36
|
status?: number | keyof import("elysia").StatusMap;
|
|
37
37
|
redirect?: string;
|
|
38
|
-
cookie?: Record<string,
|
|
38
|
+
cookie?: Record<string, {
|
|
39
|
+
domain?: string | undefined;
|
|
40
|
+
expires?: Date | undefined;
|
|
41
|
+
httpOnly?: boolean | undefined;
|
|
42
|
+
maxAge?: number | undefined;
|
|
43
|
+
path?: string | undefined;
|
|
44
|
+
priority?: 'low' | 'medium' | 'high' | undefined;
|
|
45
|
+
partitioned?: boolean | undefined;
|
|
46
|
+
sameSite?: true | false | 'lax' | 'strict' | 'none' | undefined;
|
|
47
|
+
secure?: boolean | undefined;
|
|
48
|
+
secrets?: string | null | (string | null)[];
|
|
49
|
+
value?: unknown;
|
|
50
|
+
}>;
|
|
39
51
|
};
|
|
40
52
|
path: string;
|
|
41
53
|
route: string;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { TObject, TProperties } from '@sinclair/typebox';
|
|
2
|
+
import { asc } from 'drizzle-orm';
|
|
3
|
+
export declare const sortOrderSchema: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"asc">, import("@sinclair/typebox").TLiteral<"desc">]>;
|
|
4
|
+
export type SortOrderType = typeof sortOrderSchema.static;
|
|
5
|
+
export type SortFieldKey<T extends TProperties> = Extract<keyof T, string>;
|
|
6
|
+
export type SortFieldKeyFromSchema<TSchema extends TObject> = SortFieldKey<TSchema['properties']>;
|
|
7
|
+
export type SortRule<TField extends string> = {
|
|
8
|
+
field: TField;
|
|
9
|
+
order?: SortOrderType;
|
|
10
|
+
};
|
|
11
|
+
export type DrizzleOrderByItem = ReturnType<typeof asc>;
|
|
12
|
+
export type SortableTable<TField extends string> = {
|
|
13
|
+
[K in TField]: Parameters<typeof asc>[0];
|
|
14
|
+
};
|
|
15
|
+
export declare function createSortSchemas<const TSchema extends TObject, const TField extends SortFieldKeyFromSchema<TSchema> = SortFieldKeyFromSchema<TSchema>>(dtoSchema: TSchema, pickFields?: readonly TField[]): {
|
|
16
|
+
sortableFieldsSchema: TObject<Pick<TSchema["properties"], TField>>;
|
|
17
|
+
sortFieldSchema: import("@sinclair/typebox").Ensure<import("@sinclair/typebox").TUnionEvaluated<import("@sinclair/typebox").TKeyOfPropertyKeysToRest<import("@sinclair/typebox").UnionToTuple<TField, [], import("@sinclair/typebox").UnionLast<TField>>, []>>>;
|
|
18
|
+
sortSchema: TObject<{
|
|
19
|
+
field: import("@sinclair/typebox").Ensure<import("@sinclair/typebox").TUnionEvaluated<import("@sinclair/typebox").TKeyOfPropertyKeysToRest<import("@sinclair/typebox").UnionToTuple<TField, [], import("@sinclair/typebox").UnionLast<TField>>, []>>>;
|
|
20
|
+
order: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"asc">, import("@sinclair/typebox").TLiteral<"desc">]>>;
|
|
21
|
+
}>;
|
|
22
|
+
sortsSchema: import("@sinclair/typebox").TArray<TObject<{
|
|
23
|
+
field: import("@sinclair/typebox").Ensure<import("@sinclair/typebox").TUnionEvaluated<import("@sinclair/typebox").TKeyOfPropertyKeysToRest<import("@sinclair/typebox").UnionToTuple<TField, [], import("@sinclair/typebox").UnionLast<TField>>, []>>>;
|
|
24
|
+
order: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"asc">, import("@sinclair/typebox").TLiteral<"desc">]>>;
|
|
25
|
+
}>>;
|
|
26
|
+
};
|
|
27
|
+
export declare function buildDrizzleOrderBy<TField extends string>(params: {
|
|
28
|
+
sorts?: SortRule<TField>[];
|
|
29
|
+
table: SortableTable<TField>;
|
|
30
|
+
fallbackOrderBy: DrizzleOrderByItem[];
|
|
31
|
+
stableOrderBy?: DrizzleOrderByItem[];
|
|
32
|
+
}): import("drizzle-orm").SQL<unknown>[];
|
|
@@ -291,11 +291,19 @@ export declare const withdrawOrderSelectModel: import("drizzle-typebox").BuildSc
|
|
|
291
291
|
}, {}, {}>;
|
|
292
292
|
}, undefined>;
|
|
293
293
|
export type WithdrawOrderSelectModel = typeof withdrawOrderSelectModel.static;
|
|
294
|
-
export declare const
|
|
295
|
-
|
|
294
|
+
export declare const withdrawAdminOrderListItemSchema: import("@sinclair/typebox").TObject<{
|
|
295
|
+
amount: import("@sinclair/typebox").TString;
|
|
296
|
+
assetId: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
297
|
+
createdAt: import("@sinclair/typebox").TDate;
|
|
298
|
+
id: import("@sinclair/typebox").TString;
|
|
299
|
+
idempotencyKey: import("@sinclair/typebox").TString;
|
|
300
|
+
orderNo: import("@sinclair/typebox").TString;
|
|
301
|
+
paidAt: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TDate, import("@sinclair/typebox").TNull]>;
|
|
302
|
+
paidBy: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
303
|
+
receiptMethod: import("drizzle-typebox").BuildSchema<"select", {
|
|
296
304
|
createdAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
297
305
|
name: "created_at";
|
|
298
|
-
tableName: "
|
|
306
|
+
tableName: "user_receipt_method";
|
|
299
307
|
dataType: "date";
|
|
300
308
|
columnType: "PgTimestamp";
|
|
301
309
|
data: Date;
|
|
@@ -312,7 +320,7 @@ export declare const withdrawOrderListResponse: import("@sinclair/typebox").TObj
|
|
|
312
320
|
}, {}, {}>;
|
|
313
321
|
updatedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
314
322
|
name: "updated_at";
|
|
315
|
-
tableName: "
|
|
323
|
+
tableName: "user_receipt_method";
|
|
316
324
|
dataType: "date";
|
|
317
325
|
columnType: "PgTimestamp";
|
|
318
326
|
data: Date;
|
|
@@ -329,7 +337,7 @@ export declare const withdrawOrderListResponse: import("@sinclair/typebox").TObj
|
|
|
329
337
|
}, {}, {}>;
|
|
330
338
|
id: import("drizzle-orm/pg-core").PgColumn<{
|
|
331
339
|
name: "id";
|
|
332
|
-
tableName: "
|
|
340
|
+
tableName: "user_receipt_method";
|
|
333
341
|
dataType: "string";
|
|
334
342
|
columnType: "PgUUID";
|
|
335
343
|
data: string;
|
|
@@ -344,9 +352,9 @@ export declare const withdrawOrderListResponse: import("@sinclair/typebox").TObj
|
|
|
344
352
|
identity: undefined;
|
|
345
353
|
generated: undefined;
|
|
346
354
|
}, {}, {}>;
|
|
347
|
-
|
|
348
|
-
name: "
|
|
349
|
-
tableName: "
|
|
355
|
+
userId: import("drizzle-orm/pg-core").PgColumn<{
|
|
356
|
+
name: "user_id";
|
|
357
|
+
tableName: "user_receipt_method";
|
|
350
358
|
dataType: "string";
|
|
351
359
|
columnType: "PgText";
|
|
352
360
|
data: string;
|
|
@@ -361,26 +369,26 @@ export declare const withdrawOrderListResponse: import("@sinclair/typebox").TObj
|
|
|
361
369
|
identity: undefined;
|
|
362
370
|
generated: undefined;
|
|
363
371
|
}, {}, {}>;
|
|
364
|
-
|
|
365
|
-
name: "
|
|
366
|
-
tableName: "
|
|
372
|
+
type: import("drizzle-orm/pg-core").PgColumn<{
|
|
373
|
+
name: "type";
|
|
374
|
+
tableName: "user_receipt_method";
|
|
367
375
|
dataType: "string";
|
|
368
|
-
columnType: "
|
|
369
|
-
data:
|
|
376
|
+
columnType: "PgEnumColumn";
|
|
377
|
+
data: "alipay" | "bank_card";
|
|
370
378
|
driverParam: string;
|
|
371
379
|
notNull: true;
|
|
372
380
|
hasDefault: false;
|
|
373
381
|
isPrimaryKey: false;
|
|
374
382
|
isAutoincrement: false;
|
|
375
383
|
hasRuntimeDefault: false;
|
|
376
|
-
enumValues: [
|
|
384
|
+
enumValues: ["bank_card", "alipay"];
|
|
377
385
|
baseColumn: never;
|
|
378
386
|
identity: undefined;
|
|
379
387
|
generated: undefined;
|
|
380
388
|
}, {}, {}>;
|
|
381
|
-
|
|
382
|
-
name: "
|
|
383
|
-
tableName: "
|
|
389
|
+
fullName: import("drizzle-orm/pg-core").PgColumn<{
|
|
390
|
+
name: "full_name";
|
|
391
|
+
tableName: "user_receipt_method";
|
|
384
392
|
dataType: "string";
|
|
385
393
|
columnType: "PgText";
|
|
386
394
|
data: string;
|
|
@@ -395,28 +403,11 @@ export declare const withdrawOrderListResponse: import("@sinclair/typebox").TObj
|
|
|
395
403
|
identity: undefined;
|
|
396
404
|
generated: undefined;
|
|
397
405
|
}, {}, {}>;
|
|
398
|
-
|
|
399
|
-
name: "
|
|
400
|
-
tableName: "
|
|
406
|
+
bankName: import("drizzle-orm/pg-core").PgColumn<{
|
|
407
|
+
name: "bank_name";
|
|
408
|
+
tableName: "user_receipt_method";
|
|
401
409
|
dataType: "string";
|
|
402
|
-
columnType: "
|
|
403
|
-
data: string;
|
|
404
|
-
driverParam: string;
|
|
405
|
-
notNull: false;
|
|
406
|
-
hasDefault: false;
|
|
407
|
-
isPrimaryKey: false;
|
|
408
|
-
isAutoincrement: false;
|
|
409
|
-
hasRuntimeDefault: false;
|
|
410
|
-
enumValues: undefined;
|
|
411
|
-
baseColumn: never;
|
|
412
|
-
identity: undefined;
|
|
413
|
-
generated: undefined;
|
|
414
|
-
}, {}, {}>;
|
|
415
|
-
assetId: import("drizzle-orm/pg-core").PgColumn<{
|
|
416
|
-
name: "asset_id";
|
|
417
|
-
tableName: "withdraw_order";
|
|
418
|
-
dataType: "string";
|
|
419
|
-
columnType: "PgUUID";
|
|
410
|
+
columnType: "PgText";
|
|
420
411
|
data: string;
|
|
421
412
|
driverParam: string;
|
|
422
413
|
notNull: false;
|
|
@@ -424,65 +415,14 @@ export declare const withdrawOrderListResponse: import("@sinclair/typebox").TObj
|
|
|
424
415
|
isPrimaryKey: false;
|
|
425
416
|
isAutoincrement: false;
|
|
426
417
|
hasRuntimeDefault: false;
|
|
427
|
-
enumValues:
|
|
428
|
-
baseColumn: never;
|
|
429
|
-
identity: undefined;
|
|
430
|
-
generated: undefined;
|
|
431
|
-
}, {}, {}>;
|
|
432
|
-
receiptMethodId: import("drizzle-orm/pg-core").PgColumn<{
|
|
433
|
-
name: "receipt_method_id";
|
|
434
|
-
tableName: "withdraw_order";
|
|
435
|
-
dataType: "string";
|
|
436
|
-
columnType: "PgUUID";
|
|
437
|
-
data: string;
|
|
438
|
-
driverParam: string;
|
|
439
|
-
notNull: true;
|
|
440
|
-
hasDefault: false;
|
|
441
|
-
isPrimaryKey: false;
|
|
442
|
-
isAutoincrement: false;
|
|
443
|
-
hasRuntimeDefault: false;
|
|
444
|
-
enumValues: undefined;
|
|
445
|
-
baseColumn: never;
|
|
446
|
-
identity: undefined;
|
|
447
|
-
generated: undefined;
|
|
448
|
-
}, {}, {}>;
|
|
449
|
-
amount: import("drizzle-orm/pg-core").PgColumn<{
|
|
450
|
-
name: "amount";
|
|
451
|
-
tableName: "withdraw_order";
|
|
452
|
-
dataType: "string";
|
|
453
|
-
columnType: "PgNumeric";
|
|
454
|
-
data: string;
|
|
455
|
-
driverParam: string;
|
|
456
|
-
notNull: true;
|
|
457
|
-
hasDefault: false;
|
|
458
|
-
isPrimaryKey: false;
|
|
459
|
-
isAutoincrement: false;
|
|
460
|
-
hasRuntimeDefault: false;
|
|
461
|
-
enumValues: undefined;
|
|
462
|
-
baseColumn: never;
|
|
463
|
-
identity: undefined;
|
|
464
|
-
generated: undefined;
|
|
465
|
-
}, {}, {}>;
|
|
466
|
-
status: import("drizzle-orm/pg-core").PgColumn<{
|
|
467
|
-
name: "status";
|
|
468
|
-
tableName: "withdraw_order";
|
|
469
|
-
dataType: "string";
|
|
470
|
-
columnType: "PgEnumColumn";
|
|
471
|
-
data: "completed" | "pending_payout" | "pending_review" | "rejected";
|
|
472
|
-
driverParam: string;
|
|
473
|
-
notNull: true;
|
|
474
|
-
hasDefault: true;
|
|
475
|
-
isPrimaryKey: false;
|
|
476
|
-
isAutoincrement: false;
|
|
477
|
-
hasRuntimeDefault: false;
|
|
478
|
-
enumValues: ["pending_review", "pending_payout", "completed", "rejected"];
|
|
418
|
+
enumValues: [string, ...string[]];
|
|
479
419
|
baseColumn: never;
|
|
480
420
|
identity: undefined;
|
|
481
421
|
generated: undefined;
|
|
482
422
|
}, {}, {}>;
|
|
483
|
-
|
|
484
|
-
name: "
|
|
485
|
-
tableName: "
|
|
423
|
+
bankBranchName: import("drizzle-orm/pg-core").PgColumn<{
|
|
424
|
+
name: "bank_branch_name";
|
|
425
|
+
tableName: "user_receipt_method";
|
|
486
426
|
dataType: "string";
|
|
487
427
|
columnType: "PgText";
|
|
488
428
|
data: string;
|
|
@@ -497,26 +437,9 @@ export declare const withdrawOrderListResponse: import("@sinclair/typebox").TObj
|
|
|
497
437
|
identity: undefined;
|
|
498
438
|
generated: undefined;
|
|
499
439
|
}, {}, {}>;
|
|
500
|
-
|
|
501
|
-
name: "
|
|
502
|
-
tableName: "
|
|
503
|
-
dataType: "date";
|
|
504
|
-
columnType: "PgTimestamp";
|
|
505
|
-
data: Date;
|
|
506
|
-
driverParam: string;
|
|
507
|
-
notNull: false;
|
|
508
|
-
hasDefault: false;
|
|
509
|
-
isPrimaryKey: false;
|
|
510
|
-
isAutoincrement: false;
|
|
511
|
-
hasRuntimeDefault: false;
|
|
512
|
-
enumValues: undefined;
|
|
513
|
-
baseColumn: never;
|
|
514
|
-
identity: undefined;
|
|
515
|
-
generated: undefined;
|
|
516
|
-
}, {}, {}>;
|
|
517
|
-
reviewNote: import("drizzle-orm/pg-core").PgColumn<{
|
|
518
|
-
name: "review_note";
|
|
519
|
-
tableName: "withdraw_order";
|
|
440
|
+
bankCardNumber: import("drizzle-orm/pg-core").PgColumn<{
|
|
441
|
+
name: "bank_card_number";
|
|
442
|
+
tableName: "user_receipt_method";
|
|
520
443
|
dataType: "string";
|
|
521
444
|
columnType: "PgText";
|
|
522
445
|
data: string;
|
|
@@ -531,9 +454,9 @@ export declare const withdrawOrderListResponse: import("@sinclair/typebox").TObj
|
|
|
531
454
|
identity: undefined;
|
|
532
455
|
generated: undefined;
|
|
533
456
|
}, {}, {}>;
|
|
534
|
-
|
|
535
|
-
name: "
|
|
536
|
-
tableName: "
|
|
457
|
+
alipayName: import("drizzle-orm/pg-core").PgColumn<{
|
|
458
|
+
name: "alipay_name";
|
|
459
|
+
tableName: "user_receipt_method";
|
|
537
460
|
dataType: "string";
|
|
538
461
|
columnType: "PgText";
|
|
539
462
|
data: string;
|
|
@@ -548,9 +471,9 @@ export declare const withdrawOrderListResponse: import("@sinclair/typebox").TObj
|
|
|
548
471
|
identity: undefined;
|
|
549
472
|
generated: undefined;
|
|
550
473
|
}, {}, {}>;
|
|
551
|
-
|
|
552
|
-
name: "
|
|
553
|
-
tableName: "
|
|
474
|
+
alipayAccount: import("drizzle-orm/pg-core").PgColumn<{
|
|
475
|
+
name: "alipay_account";
|
|
476
|
+
tableName: "user_receipt_method";
|
|
554
477
|
dataType: "string";
|
|
555
478
|
columnType: "PgText";
|
|
556
479
|
data: string;
|
|
@@ -565,24 +488,237 @@ export declare const withdrawOrderListResponse: import("@sinclair/typebox").TObj
|
|
|
565
488
|
identity: undefined;
|
|
566
489
|
generated: undefined;
|
|
567
490
|
}, {}, {}>;
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
491
|
+
}, undefined>;
|
|
492
|
+
receiptMethodId: import("@sinclair/typebox").TString;
|
|
493
|
+
rejectReason: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
494
|
+
reviewNote: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
495
|
+
reviewedAt: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TDate, import("@sinclair/typebox").TNull]>;
|
|
496
|
+
reviewedBy: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
497
|
+
sourceAccountId: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
498
|
+
status: import("@sinclair/typebox").TEnum<{
|
|
499
|
+
completed: "completed";
|
|
500
|
+
pending_payout: "pending_payout";
|
|
501
|
+
pending_review: "pending_review";
|
|
502
|
+
rejected: "rejected";
|
|
503
|
+
}>;
|
|
504
|
+
updatedAt: import("@sinclair/typebox").TDate;
|
|
505
|
+
userId: import("@sinclair/typebox").TString;
|
|
506
|
+
}>;
|
|
507
|
+
export type WithdrawAdminOrderListItemSchemaType = typeof withdrawAdminOrderListItemSchema.static;
|
|
508
|
+
export declare const withdrawOrderListResponse: import("@sinclair/typebox").TObject<{
|
|
509
|
+
data: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
510
|
+
amount: import("@sinclair/typebox").TString;
|
|
511
|
+
assetId: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
512
|
+
createdAt: import("@sinclair/typebox").TDate;
|
|
513
|
+
id: import("@sinclair/typebox").TString;
|
|
514
|
+
idempotencyKey: import("@sinclair/typebox").TString;
|
|
515
|
+
orderNo: import("@sinclair/typebox").TString;
|
|
516
|
+
paidAt: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TDate, import("@sinclair/typebox").TNull]>;
|
|
517
|
+
paidBy: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
518
|
+
receiptMethod: import("drizzle-typebox").BuildSchema<"select", {
|
|
519
|
+
createdAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
520
|
+
name: "created_at";
|
|
521
|
+
tableName: "user_receipt_method";
|
|
522
|
+
dataType: "date";
|
|
523
|
+
columnType: "PgTimestamp";
|
|
524
|
+
data: Date;
|
|
525
|
+
driverParam: string;
|
|
526
|
+
notNull: true;
|
|
527
|
+
hasDefault: true;
|
|
528
|
+
isPrimaryKey: false;
|
|
529
|
+
isAutoincrement: false;
|
|
530
|
+
hasRuntimeDefault: false;
|
|
531
|
+
enumValues: undefined;
|
|
532
|
+
baseColumn: never;
|
|
533
|
+
identity: undefined;
|
|
534
|
+
generated: undefined;
|
|
535
|
+
}, {}, {}>;
|
|
536
|
+
updatedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
537
|
+
name: "updated_at";
|
|
538
|
+
tableName: "user_receipt_method";
|
|
539
|
+
dataType: "date";
|
|
540
|
+
columnType: "PgTimestamp";
|
|
541
|
+
data: Date;
|
|
542
|
+
driverParam: string;
|
|
543
|
+
notNull: true;
|
|
544
|
+
hasDefault: true;
|
|
545
|
+
isPrimaryKey: false;
|
|
546
|
+
isAutoincrement: false;
|
|
547
|
+
hasRuntimeDefault: false;
|
|
548
|
+
enumValues: undefined;
|
|
549
|
+
baseColumn: never;
|
|
550
|
+
identity: undefined;
|
|
551
|
+
generated: undefined;
|
|
552
|
+
}, {}, {}>;
|
|
553
|
+
id: import("drizzle-orm/pg-core").PgColumn<{
|
|
554
|
+
name: "id";
|
|
555
|
+
tableName: "user_receipt_method";
|
|
556
|
+
dataType: "string";
|
|
557
|
+
columnType: "PgUUID";
|
|
558
|
+
data: string;
|
|
559
|
+
driverParam: string;
|
|
560
|
+
notNull: true;
|
|
561
|
+
hasDefault: true;
|
|
562
|
+
isPrimaryKey: true;
|
|
563
|
+
isAutoincrement: false;
|
|
564
|
+
hasRuntimeDefault: false;
|
|
565
|
+
enumValues: undefined;
|
|
566
|
+
baseColumn: never;
|
|
567
|
+
identity: undefined;
|
|
568
|
+
generated: undefined;
|
|
569
|
+
}, {}, {}>;
|
|
570
|
+
userId: import("drizzle-orm/pg-core").PgColumn<{
|
|
571
|
+
name: "user_id";
|
|
572
|
+
tableName: "user_receipt_method";
|
|
573
|
+
dataType: "string";
|
|
574
|
+
columnType: "PgText";
|
|
575
|
+
data: string;
|
|
576
|
+
driverParam: string;
|
|
577
|
+
notNull: true;
|
|
578
|
+
hasDefault: false;
|
|
579
|
+
isPrimaryKey: false;
|
|
580
|
+
isAutoincrement: false;
|
|
581
|
+
hasRuntimeDefault: false;
|
|
582
|
+
enumValues: [string, ...string[]];
|
|
583
|
+
baseColumn: never;
|
|
584
|
+
identity: undefined;
|
|
585
|
+
generated: undefined;
|
|
586
|
+
}, {}, {}>;
|
|
587
|
+
type: import("drizzle-orm/pg-core").PgColumn<{
|
|
588
|
+
name: "type";
|
|
589
|
+
tableName: "user_receipt_method";
|
|
590
|
+
dataType: "string";
|
|
591
|
+
columnType: "PgEnumColumn";
|
|
592
|
+
data: "alipay" | "bank_card";
|
|
593
|
+
driverParam: string;
|
|
594
|
+
notNull: true;
|
|
595
|
+
hasDefault: false;
|
|
596
|
+
isPrimaryKey: false;
|
|
597
|
+
isAutoincrement: false;
|
|
598
|
+
hasRuntimeDefault: false;
|
|
599
|
+
enumValues: ["bank_card", "alipay"];
|
|
600
|
+
baseColumn: never;
|
|
601
|
+
identity: undefined;
|
|
602
|
+
generated: undefined;
|
|
603
|
+
}, {}, {}>;
|
|
604
|
+
fullName: import("drizzle-orm/pg-core").PgColumn<{
|
|
605
|
+
name: "full_name";
|
|
606
|
+
tableName: "user_receipt_method";
|
|
607
|
+
dataType: "string";
|
|
608
|
+
columnType: "PgText";
|
|
609
|
+
data: string;
|
|
610
|
+
driverParam: string;
|
|
611
|
+
notNull: true;
|
|
612
|
+
hasDefault: false;
|
|
613
|
+
isPrimaryKey: false;
|
|
614
|
+
isAutoincrement: false;
|
|
615
|
+
hasRuntimeDefault: false;
|
|
616
|
+
enumValues: [string, ...string[]];
|
|
617
|
+
baseColumn: never;
|
|
618
|
+
identity: undefined;
|
|
619
|
+
generated: undefined;
|
|
620
|
+
}, {}, {}>;
|
|
621
|
+
bankName: import("drizzle-orm/pg-core").PgColumn<{
|
|
622
|
+
name: "bank_name";
|
|
623
|
+
tableName: "user_receipt_method";
|
|
624
|
+
dataType: "string";
|
|
625
|
+
columnType: "PgText";
|
|
626
|
+
data: string;
|
|
627
|
+
driverParam: string;
|
|
628
|
+
notNull: false;
|
|
629
|
+
hasDefault: false;
|
|
630
|
+
isPrimaryKey: false;
|
|
631
|
+
isAutoincrement: false;
|
|
632
|
+
hasRuntimeDefault: false;
|
|
633
|
+
enumValues: [string, ...string[]];
|
|
634
|
+
baseColumn: never;
|
|
635
|
+
identity: undefined;
|
|
636
|
+
generated: undefined;
|
|
637
|
+
}, {}, {}>;
|
|
638
|
+
bankBranchName: import("drizzle-orm/pg-core").PgColumn<{
|
|
639
|
+
name: "bank_branch_name";
|
|
640
|
+
tableName: "user_receipt_method";
|
|
641
|
+
dataType: "string";
|
|
642
|
+
columnType: "PgText";
|
|
643
|
+
data: string;
|
|
644
|
+
driverParam: string;
|
|
645
|
+
notNull: false;
|
|
646
|
+
hasDefault: false;
|
|
647
|
+
isPrimaryKey: false;
|
|
648
|
+
isAutoincrement: false;
|
|
649
|
+
hasRuntimeDefault: false;
|
|
650
|
+
enumValues: [string, ...string[]];
|
|
651
|
+
baseColumn: never;
|
|
652
|
+
identity: undefined;
|
|
653
|
+
generated: undefined;
|
|
654
|
+
}, {}, {}>;
|
|
655
|
+
bankCardNumber: import("drizzle-orm/pg-core").PgColumn<{
|
|
656
|
+
name: "bank_card_number";
|
|
657
|
+
tableName: "user_receipt_method";
|
|
658
|
+
dataType: "string";
|
|
659
|
+
columnType: "PgText";
|
|
660
|
+
data: string;
|
|
661
|
+
driverParam: string;
|
|
662
|
+
notNull: false;
|
|
663
|
+
hasDefault: false;
|
|
664
|
+
isPrimaryKey: false;
|
|
665
|
+
isAutoincrement: false;
|
|
666
|
+
hasRuntimeDefault: false;
|
|
667
|
+
enumValues: [string, ...string[]];
|
|
668
|
+
baseColumn: never;
|
|
669
|
+
identity: undefined;
|
|
670
|
+
generated: undefined;
|
|
671
|
+
}, {}, {}>;
|
|
672
|
+
alipayName: import("drizzle-orm/pg-core").PgColumn<{
|
|
673
|
+
name: "alipay_name";
|
|
674
|
+
tableName: "user_receipt_method";
|
|
675
|
+
dataType: "string";
|
|
676
|
+
columnType: "PgText";
|
|
677
|
+
data: string;
|
|
678
|
+
driverParam: string;
|
|
679
|
+
notNull: false;
|
|
680
|
+
hasDefault: false;
|
|
681
|
+
isPrimaryKey: false;
|
|
682
|
+
isAutoincrement: false;
|
|
683
|
+
hasRuntimeDefault: false;
|
|
684
|
+
enumValues: [string, ...string[]];
|
|
685
|
+
baseColumn: never;
|
|
686
|
+
identity: undefined;
|
|
687
|
+
generated: undefined;
|
|
688
|
+
}, {}, {}>;
|
|
689
|
+
alipayAccount: import("drizzle-orm/pg-core").PgColumn<{
|
|
690
|
+
name: "alipay_account";
|
|
691
|
+
tableName: "user_receipt_method";
|
|
692
|
+
dataType: "string";
|
|
693
|
+
columnType: "PgText";
|
|
694
|
+
data: string;
|
|
695
|
+
driverParam: string;
|
|
696
|
+
notNull: false;
|
|
697
|
+
hasDefault: false;
|
|
698
|
+
isPrimaryKey: false;
|
|
699
|
+
isAutoincrement: false;
|
|
700
|
+
hasRuntimeDefault: false;
|
|
701
|
+
enumValues: [string, ...string[]];
|
|
702
|
+
baseColumn: never;
|
|
703
|
+
identity: undefined;
|
|
704
|
+
generated: undefined;
|
|
705
|
+
}, {}, {}>;
|
|
706
|
+
}, undefined>;
|
|
707
|
+
receiptMethodId: import("@sinclair/typebox").TString;
|
|
708
|
+
rejectReason: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
709
|
+
reviewNote: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
710
|
+
reviewedAt: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TDate, import("@sinclair/typebox").TNull]>;
|
|
711
|
+
reviewedBy: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
712
|
+
sourceAccountId: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
713
|
+
status: import("@sinclair/typebox").TEnum<{
|
|
714
|
+
completed: "completed";
|
|
715
|
+
pending_payout: "pending_payout";
|
|
716
|
+
pending_review: "pending_review";
|
|
717
|
+
rejected: "rejected";
|
|
718
|
+
}>;
|
|
719
|
+
updatedAt: import("@sinclair/typebox").TDate;
|
|
720
|
+
userId: import("@sinclair/typebox").TString;
|
|
721
|
+
}>>;
|
|
586
722
|
pagination: import("@sinclair/typebox").TObject<{
|
|
587
723
|
pageSize: import("@sinclair/typebox").TNumber;
|
|
588
724
|
pageIndex: import("@sinclair/typebox").TNumber;
|
|
@@ -396,23 +396,36 @@ export declare const withdrawAdminRouter: Elysia<"/withdraw", {
|
|
|
396
396
|
response: {
|
|
397
397
|
200: {
|
|
398
398
|
data: {
|
|
399
|
+
amount: string;
|
|
400
|
+
assetId: string | null;
|
|
399
401
|
createdAt: Date;
|
|
400
|
-
updatedAt: Date;
|
|
401
402
|
id: string;
|
|
402
|
-
orderNo: string;
|
|
403
403
|
idempotencyKey: string;
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
404
|
+
orderNo: string;
|
|
405
|
+
paidAt: Date | null;
|
|
406
|
+
paidBy: string | null;
|
|
407
|
+
receiptMethod: {
|
|
408
|
+
createdAt: Date;
|
|
409
|
+
updatedAt: Date;
|
|
410
|
+
id: string;
|
|
411
|
+
userId: string;
|
|
412
|
+
type: "alipay" | "bank_card";
|
|
413
|
+
fullName: string;
|
|
414
|
+
bankName: string | null;
|
|
415
|
+
bankBranchName: string | null;
|
|
416
|
+
bankCardNumber: string | null;
|
|
417
|
+
alipayName: string | null;
|
|
418
|
+
alipayAccount: string | null;
|
|
419
|
+
};
|
|
407
420
|
receiptMethodId: string;
|
|
408
|
-
amount: string;
|
|
409
|
-
status: "completed" | "pending_payout" | "pending_review" | "rejected";
|
|
410
|
-
reviewedBy: string | null;
|
|
411
|
-
reviewedAt: Date | null;
|
|
412
|
-
reviewNote: string | null;
|
|
413
421
|
rejectReason: string | null;
|
|
414
|
-
|
|
415
|
-
|
|
422
|
+
reviewNote: string | null;
|
|
423
|
+
reviewedAt: Date | null;
|
|
424
|
+
reviewedBy: string | null;
|
|
425
|
+
sourceAccountId: string | null;
|
|
426
|
+
status: "completed" | "pending_payout" | "pending_review" | "rejected";
|
|
427
|
+
updatedAt: Date;
|
|
428
|
+
userId: string;
|
|
416
429
|
}[];
|
|
417
430
|
pagination: {
|
|
418
431
|
pageSize: number;
|
|
@@ -11,6 +11,19 @@ export declare abstract class AdminWithdrawService extends InternalWithdrawServi
|
|
|
11
11
|
orderNo: string;
|
|
12
12
|
paidAt: Date | null;
|
|
13
13
|
paidBy: string | null;
|
|
14
|
+
receiptMethod: {
|
|
15
|
+
alipayAccount: string | null;
|
|
16
|
+
alipayName: string | null;
|
|
17
|
+
bankBranchName: string | null;
|
|
18
|
+
bankCardNumber: string | null;
|
|
19
|
+
bankName: string | null;
|
|
20
|
+
createdAt: Date;
|
|
21
|
+
fullName: string;
|
|
22
|
+
id: string;
|
|
23
|
+
type: "alipay" | "bank_card";
|
|
24
|
+
updatedAt: Date;
|
|
25
|
+
userId: string;
|
|
26
|
+
};
|
|
14
27
|
receiptMethodId: string;
|
|
15
28
|
rejectReason: string | null;
|
|
16
29
|
reviewNote: string | null;
|