@r2wa-org/eden 0.0.56 → 0.0.57
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/admin/admin/dto.schemas.d.ts +3 -54
- package/dist/src/admin/admin/router.d.ts +10 -12
- package/dist/src/admin/admin/service.d.ts +0 -2
- package/dist/src/admin/index.d.ts +1043 -54
- package/dist/src/asset/admin/dto.schemas.d.ts +49 -26
- package/dist/src/asset/admin/router.d.ts +123 -20
- package/dist/src/asset/admin/service.d.ts +52 -4
- package/dist/src/asset/user/dto.schemas.d.ts +7 -15
- package/dist/src/asset/user/router.d.ts +9 -9
- package/dist/src/asset/user/service.d.ts +1 -1
- package/dist/src/asset-convert-product/admin/dto.schemas.d.ts +459 -566
- package/dist/src/asset-convert-product/admin/router.d.ts +564 -22
- package/dist/src/asset-convert-product/admin/service.d.ts +419 -12
- package/dist/src/asset-convert-product/errors/index.d.ts +7 -0
- package/dist/src/asset-convert-product/errors/locales/zh.d.ts +7 -0
- package/dist/src/asset-convert-product/permissions.d.ts +2 -2
- package/dist/src/asset-convert-product/user/router.d.ts +8 -8
- package/dist/src/asset-price/admin/dto.schemas.d.ts +99 -352
- package/dist/src/asset-price/admin/router.d.ts +125 -10
- package/dist/src/asset-price/admin/service.d.ts +157 -0
- package/dist/src/asset-price/errors/index.d.ts +2 -0
- package/dist/src/asset-price/errors/locales/zh.d.ts +2 -0
- package/dist/src/asset-price/internal/service.d.ts +1 -0
- package/dist/src/asset-price/user/router.d.ts +8 -8
- package/dist/src/asset-type/admin/dto.schemas.d.ts +291 -33
- package/dist/src/asset-type/admin/router.d.ts +60 -18
- package/dist/src/asset-type/admin/service.d.ts +16 -6
- package/dist/src/asset-type/db.schemas.d.ts +6 -6
- package/dist/src/asset-type/errors/index.d.ts +6 -0
- package/dist/src/asset-type/errors/locales/zh.d.ts +3 -0
- package/dist/src/asset-type/internal/service.d.ts +4 -4
- package/dist/src/asset-type/permissions.d.ts +1 -1
- package/dist/src/asset-type/schema.d.ts +3 -5
- package/dist/src/asset-type/user/dto.schemas.d.ts +3 -15
- package/dist/src/asset-type/user/router.d.ts +10 -10
- package/dist/src/asset-type/user/service.d.ts +1 -1
- package/dist/src/auth/better-auth.d.ts +706 -451
- package/dist/src/auth/db.schemas.d.ts +27 -407
- package/dist/src/auth/permissions.d.ts +20 -20
- package/dist/src/auth/roles.d.ts +60 -60
- package/dist/src/auth/router.d.ts +6 -6
- package/dist/src/auth/schema.d.ts +8 -206
- package/dist/src/bank-account/admin/router.d.ts +10 -10
- package/dist/src/bank-account/user/router.d.ts +6 -6
- package/dist/src/check-in/admin/dto.schemas.d.ts +1 -18
- package/dist/src/check-in/admin/router.d.ts +10 -11
- package/dist/src/check-in/admin/service.d.ts +0 -1
- package/dist/src/check-in/internal/service.d.ts +0 -1
- package/dist/src/check-in/user/dto.schemas.d.ts +1 -18
- package/dist/src/check-in/user/router.d.ts +8 -9
- package/dist/src/check-in/user/service.d.ts +0 -1
- package/dist/src/deposit/admin/dto.schemas.d.ts +8 -42
- package/dist/src/deposit/admin/router.d.ts +10 -11
- package/dist/src/deposit/admin/service.d.ts +0 -2
- package/dist/src/deposit/user/dto.schemas.d.ts +8 -42
- package/dist/src/deposit/user/router.d.ts +8 -9
- package/dist/src/deposit/user/service.d.ts +0 -2
- package/dist/src/dynamic-env/admin.router.d.ts +10 -10
- package/dist/src/env/server.d.ts +1 -1
- package/dist/src/file-storage/admin/router.d.ts +10 -10
- package/dist/src/file-storage/share/router.d.ts +8 -8
- package/dist/src/file-storage/user/router.d.ts +8 -8
- package/dist/src/index.d.ts +1161 -137
- package/dist/src/ledger/admin/router.d.ts +10 -10
- package/dist/src/ledger/user/router.d.ts +8 -8
- package/dist/src/ledger-account/admin/dto.schemas.d.ts +2 -2
- package/dist/src/ledger-account/admin/router.d.ts +11 -11
- package/dist/src/ledger-account/user/router.d.ts +8 -8
- package/dist/src/ledger-account-import/admin/router.d.ts +10 -10
- package/dist/src/ledger-account-transfer/user/router.d.ts +8 -8
- package/dist/src/ledger-account-type/admin/router.d.ts +10 -10
- package/dist/src/ledger-account-type/user/router.d.ts +8 -8
- package/dist/src/market-data/admin/router.d.ts +10 -10
- package/dist/src/market-data/user/router.d.ts +8 -8
- package/dist/src/market-pricing/admin/router.d.ts +10 -10
- package/dist/src/news/admin/dto.schemas.d.ts +6 -6
- package/dist/src/news/admin/router.d.ts +10 -10
- package/dist/src/news/user/dto.schemas.d.ts +12 -12
- package/dist/src/news/user/router.d.ts +8 -8
- package/dist/src/news-category/user/router.d.ts +6 -6
- package/dist/src/notification/admin/dto.schemas.d.ts +3 -3
- package/dist/src/notification/admin/router.d.ts +10 -10
- package/dist/src/notification/user/dto.schemas.d.ts +2 -2
- package/dist/src/notification/user/router.d.ts +8 -8
- package/dist/src/receipt-method/admin/router.d.ts +10 -10
- package/dist/src/receipt-method/user/router.d.ts +6 -6
- package/dist/src/referral/admin/dto.schemas.d.ts +2 -36
- package/dist/src/referral/admin/router.d.ts +10 -11
- package/dist/src/referral/user/dto.schemas.d.ts +2 -36
- package/dist/src/referral/user/router.d.ts +8 -9
- package/dist/src/referral-depth-config/admin/router.d.ts +10 -10
- package/dist/src/server-test/index.d.ts +6 -6
- package/dist/src/shipping-address/admin/router.d.ts +10 -10
- package/dist/src/shipping-address/user/router.d.ts +6 -6
- package/dist/src/team/admin/dto.schemas.d.ts +2 -36
- package/dist/src/team/admin/router.d.ts +10 -11
- package/dist/src/team/user/dto.schemas.d.ts +5 -90
- package/dist/src/team/user/router.d.ts +8 -11
- package/dist/src/trade-market/admin/dto.schemas.d.ts +1 -1
- package/dist/src/trade-market/admin/router.d.ts +10 -10
- package/dist/src/trade-market/user/router.d.ts +8 -8
- package/dist/src/transfer/admin/router.d.ts +10 -10
- package/dist/src/transfer/admin/service.d.ts +0 -2
- package/dist/src/transfer/user/router.d.ts +8 -8
- package/dist/src/transfer/user/service.d.ts +0 -2
- package/dist/src/user/admin/dto.schemas.d.ts +1 -21
- package/dist/src/user/admin/router.d.ts +10 -15
- package/dist/src/user/admin/service.d.ts +0 -4
- package/dist/src/user/user/router.d.ts +6 -8
- package/dist/src/user/user/service.d.ts +0 -2
- package/dist/src/user-kyc/admin/dto.schemas.d.ts +1 -1
- package/dist/src/user-kyc/admin/router.d.ts +10 -10
- package/dist/src/user-kyc/user/router.d.ts +8 -8
- package/dist/src/user-security/admin/router.d.ts +10 -10
- package/dist/src/user-security/user/router.d.ts +8 -8
- package/dist/src/wallet/admin/dto.schemas.d.ts +35 -3
- package/dist/src/wallet/admin/router.d.ts +75 -10
- package/dist/src/wallet/admin/service.d.ts +46 -8
- package/dist/src/wallet/internal/service.d.ts +118 -14
- package/dist/src/wallet/user/dto.schemas.d.ts +4 -2
- package/dist/src/wallet/user/router.d.ts +10 -9
- package/dist/src/wallet/user/service.d.ts +18 -8
- package/dist/src/wallet-type/admin/dto.schemas.d.ts +4 -0
- package/dist/src/wallet-type/admin/router.d.ts +143 -10
- package/dist/src/wallet-type/admin/service.d.ts +51 -0
- package/dist/src/wallet-type/errors/index.d.ts +4 -0
- package/dist/src/wallet-type/errors/locales/zh.d.ts +4 -0
- package/dist/src/wallet-type/internal/service.d.ts +37 -0
- package/dist/src/wallet-type/user/router.d.ts +8 -8
- package/dist/src/welfare-cycle/admin/dto.schemas.d.ts +3 -3
- package/dist/src/welfare-cycle/admin/router.d.ts +10 -10
- package/dist/src/welfare-cycle/user/dto.schemas.d.ts +1 -0
- package/dist/src/welfare-cycle/user/router.d.ts +51 -56
- package/dist/src/welfare-cycle/user/service.d.ts +1 -1
- package/dist/src/withdraw/admin/router.d.ts +10 -10
- package/dist/src/withdraw/user/dto.schemas.d.ts +7 -0
- package/dist/src/withdraw/user/router.d.ts +55 -8
- package/dist/src/withdraw/user/service.d.ts +20 -1
- package/package.json +1 -1
|
@@ -3,8 +3,8 @@ export declare const walletResponseSchema: import("@sinclair/typebox").TObject<{
|
|
|
3
3
|
updatedAt: import("@sinclair/typebox").TDate;
|
|
4
4
|
id: import("@sinclair/typebox").TString;
|
|
5
5
|
name: import("@sinclair/typebox").TString;
|
|
6
|
-
userId: import("@sinclair/typebox").TString;
|
|
7
6
|
isActive: import("@sinclair/typebox").TBoolean;
|
|
7
|
+
userId: import("@sinclair/typebox").TString;
|
|
8
8
|
walletTypeId: import("@sinclair/typebox").TString;
|
|
9
9
|
isPrimary: import("@sinclair/typebox").TBoolean;
|
|
10
10
|
walletType: import("drizzle-typebox").BuildSchema<"select", {
|
|
@@ -162,8 +162,8 @@ export declare const walletListResponseSchema: import("@sinclair/typebox").TObje
|
|
|
162
162
|
updatedAt: import("@sinclair/typebox").TDate;
|
|
163
163
|
id: import("@sinclair/typebox").TString;
|
|
164
164
|
name: import("@sinclair/typebox").TString;
|
|
165
|
-
userId: import("@sinclair/typebox").TString;
|
|
166
165
|
isActive: import("@sinclair/typebox").TBoolean;
|
|
166
|
+
userId: import("@sinclair/typebox").TString;
|
|
167
167
|
walletTypeId: import("@sinclair/typebox").TString;
|
|
168
168
|
isPrimary: import("@sinclair/typebox").TBoolean;
|
|
169
169
|
walletType: import("drizzle-typebox").BuildSchema<"select", {
|
|
@@ -351,6 +351,7 @@ export declare const financeOverviewAssetItemSchema: import("@sinclair/typebox")
|
|
|
351
351
|
assetId: import("@sinclair/typebox").TString;
|
|
352
352
|
assetCode: import("@sinclair/typebox").TString;
|
|
353
353
|
assetName: import("@sinclair/typebox").TString;
|
|
354
|
+
iconUrl: import("@sinclair/typebox").TString;
|
|
354
355
|
quantity: import("@sinclair/typebox").TString;
|
|
355
356
|
totalValuation: import("@sinclair/typebox").TString;
|
|
356
357
|
}>;
|
|
@@ -386,6 +387,7 @@ export declare const financeOverviewResponseSchema: import("@sinclair/typebox").
|
|
|
386
387
|
assetId: import("@sinclair/typebox").TString;
|
|
387
388
|
assetCode: import("@sinclair/typebox").TString;
|
|
388
389
|
assetName: import("@sinclair/typebox").TString;
|
|
390
|
+
iconUrl: import("@sinclair/typebox").TString;
|
|
389
391
|
quantity: import("@sinclair/typebox").TString;
|
|
390
392
|
totalValuation: import("@sinclair/typebox").TString;
|
|
391
393
|
}>>;
|
|
@@ -41,7 +41,7 @@ export declare const walletRouter: Elysia<"", {
|
|
|
41
41
|
route: string;
|
|
42
42
|
request: Request;
|
|
43
43
|
store: {};
|
|
44
|
-
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 |
|
|
44
|
+
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 | 422 | 400 | 101 | 102 | 103 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 421 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | 420 ? {
|
|
45
45
|
readonly 100: "Continue";
|
|
46
46
|
readonly 101: "Switching Protocols";
|
|
47
47
|
readonly 102: "Processing";
|
|
@@ -175,11 +175,11 @@ export declare const walletRouter: Elysia<"", {
|
|
|
175
175
|
emailVerified: boolean;
|
|
176
176
|
name: string;
|
|
177
177
|
image?: string | null | undefined | undefined;
|
|
178
|
-
phoneNumber?: string | null | undefined;
|
|
179
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
180
178
|
twoFactorEnabled: boolean | null | undefined;
|
|
181
179
|
username?: string | null | undefined;
|
|
182
180
|
displayUsername?: string | null | undefined;
|
|
181
|
+
phoneNumber?: string | null | undefined;
|
|
182
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
183
183
|
banned: boolean | null | undefined;
|
|
184
184
|
role?: string | null | undefined;
|
|
185
185
|
banReason?: string | null | undefined;
|
|
@@ -217,7 +217,7 @@ export declare const walletRouter: Elysia<"", {
|
|
|
217
217
|
route: string;
|
|
218
218
|
request: Request;
|
|
219
219
|
store: {};
|
|
220
|
-
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 |
|
|
220
|
+
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 | 422 | 400 | 101 | 102 | 103 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 421 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | 420 ? {
|
|
221
221
|
readonly 100: "Continue";
|
|
222
222
|
readonly 101: "Switching Protocols";
|
|
223
223
|
readonly 102: "Processing";
|
|
@@ -351,11 +351,11 @@ export declare const walletRouter: Elysia<"", {
|
|
|
351
351
|
emailVerified: boolean;
|
|
352
352
|
name: string;
|
|
353
353
|
image?: string | null | undefined | undefined;
|
|
354
|
-
phoneNumber?: string | null | undefined;
|
|
355
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
356
354
|
twoFactorEnabled: boolean | null | undefined;
|
|
357
355
|
username?: string | null | undefined;
|
|
358
356
|
displayUsername?: string | null | undefined;
|
|
357
|
+
phoneNumber?: string | null | undefined;
|
|
358
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
359
359
|
banned: boolean | null | undefined;
|
|
360
360
|
role?: string | null | undefined;
|
|
361
361
|
banReason?: string | null | undefined;
|
|
@@ -455,8 +455,8 @@ export declare const walletRouter: Elysia<"", {
|
|
|
455
455
|
walletTypeId: string;
|
|
456
456
|
isPrimary: boolean;
|
|
457
457
|
totalValuation: string;
|
|
458
|
-
walletTypeKey: string;
|
|
459
458
|
walletId: string;
|
|
459
|
+
walletTypeKey: string;
|
|
460
460
|
walletName: string;
|
|
461
461
|
walletTypeName: string;
|
|
462
462
|
}[];
|
|
@@ -473,6 +473,7 @@ export declare const walletRouter: Elysia<"", {
|
|
|
473
473
|
ledgerAccountTypeName: string;
|
|
474
474
|
}[];
|
|
475
475
|
assetView: {
|
|
476
|
+
iconUrl: string;
|
|
476
477
|
assetId: string;
|
|
477
478
|
assetCode: string;
|
|
478
479
|
totalValuation: string;
|
|
@@ -574,11 +575,11 @@ export declare const walletRouter: Elysia<"", {
|
|
|
574
575
|
emailVerified: boolean;
|
|
575
576
|
name: string;
|
|
576
577
|
image?: string | null | undefined | undefined;
|
|
577
|
-
phoneNumber?: string | null | undefined;
|
|
578
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
579
578
|
twoFactorEnabled: boolean | null | undefined;
|
|
580
579
|
username?: string | null | undefined;
|
|
581
580
|
displayUsername?: string | null | undefined;
|
|
581
|
+
phoneNumber?: string | null | undefined;
|
|
582
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
582
583
|
banned: boolean | null | undefined;
|
|
583
584
|
role?: string | null | undefined;
|
|
584
585
|
banReason?: string | null | undefined;
|
|
@@ -3,23 +3,32 @@ import type { FinanceOverviewQueryType, WalletDetailParamsType, WalletListQueryT
|
|
|
3
3
|
export declare abstract class UserWalletService extends InternalWalletService {
|
|
4
4
|
static listWallets(userId: string, options?: Omit<WalletListQueryType, "userId">): Promise<{
|
|
5
5
|
items: {
|
|
6
|
+
userInfo: {
|
|
7
|
+
id: string;
|
|
8
|
+
username: string | null;
|
|
9
|
+
displayUsername: string | null;
|
|
10
|
+
email: string;
|
|
11
|
+
phoneNumber: string | null;
|
|
12
|
+
role: string | null;
|
|
13
|
+
banned: boolean | null;
|
|
14
|
+
};
|
|
6
15
|
id: string;
|
|
7
|
-
name: string;
|
|
8
|
-
createdAt: Date;
|
|
9
|
-
updatedAt: Date;
|
|
10
16
|
userId: string;
|
|
11
|
-
isActive: boolean;
|
|
12
17
|
walletTypeId: string;
|
|
18
|
+
name: string;
|
|
13
19
|
isPrimary: boolean;
|
|
20
|
+
isActive: boolean;
|
|
21
|
+
createdAt: Date;
|
|
22
|
+
updatedAt: Date;
|
|
14
23
|
walletType: {
|
|
15
24
|
id: string;
|
|
16
|
-
name: string;
|
|
17
|
-
createdAt: Date;
|
|
18
|
-
updatedAt: Date;
|
|
19
25
|
key: string;
|
|
26
|
+
name: string;
|
|
27
|
+
isSingleton: boolean;
|
|
20
28
|
isActive: boolean;
|
|
21
29
|
sortOrder: number;
|
|
22
|
-
|
|
30
|
+
createdAt: Date;
|
|
31
|
+
updatedAt: Date;
|
|
23
32
|
};
|
|
24
33
|
}[];
|
|
25
34
|
total: number;
|
|
@@ -60,6 +69,7 @@ export declare abstract class UserWalletService extends InternalWalletService {
|
|
|
60
69
|
assetId: string;
|
|
61
70
|
assetCode: string;
|
|
62
71
|
assetName: string;
|
|
72
|
+
iconUrl: string;
|
|
63
73
|
quantity: string;
|
|
64
74
|
totalValuation: string;
|
|
65
75
|
}[];
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
export declare const walletTypeKeyParamsSchema: import("@sinclair/typebox").TObject<{
|
|
2
|
+
key: import("@sinclair/typebox").TString;
|
|
3
|
+
}>;
|
|
4
|
+
export type WalletTypeKeyParamsType = typeof walletTypeKeyParamsSchema.static;
|
|
1
5
|
export declare const walletTypeAdminListQuerySchema: import("@sinclair/typebox").TObject<{
|
|
2
6
|
key: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
3
7
|
isActive: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
@@ -41,7 +41,7 @@ export declare const walletTypeAdminRouter: Elysia<"/wallet_types", {
|
|
|
41
41
|
route: string;
|
|
42
42
|
request: Request;
|
|
43
43
|
store: {};
|
|
44
|
-
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 |
|
|
44
|
+
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 | 422 | 400 | 101 | 102 | 103 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 421 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | 420 ? {
|
|
45
45
|
readonly 100: "Continue";
|
|
46
46
|
readonly 101: "Switching Protocols";
|
|
47
47
|
readonly 102: "Processing";
|
|
@@ -175,11 +175,11 @@ export declare const walletTypeAdminRouter: Elysia<"/wallet_types", {
|
|
|
175
175
|
emailVerified: boolean;
|
|
176
176
|
name: string;
|
|
177
177
|
image?: string | null | undefined | undefined;
|
|
178
|
-
phoneNumber?: string | null | undefined;
|
|
179
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
180
178
|
twoFactorEnabled: boolean | null | undefined;
|
|
181
179
|
username?: string | null | undefined;
|
|
182
180
|
displayUsername?: string | null | undefined;
|
|
181
|
+
phoneNumber?: string | null | undefined;
|
|
182
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
183
183
|
banned: boolean | null | undefined;
|
|
184
184
|
role?: string | null | undefined;
|
|
185
185
|
banReason?: string | null | undefined;
|
|
@@ -217,7 +217,7 @@ export declare const walletTypeAdminRouter: Elysia<"/wallet_types", {
|
|
|
217
217
|
route: string;
|
|
218
218
|
request: Request;
|
|
219
219
|
store: {};
|
|
220
|
-
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 |
|
|
220
|
+
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 | 422 | 400 | 101 | 102 | 103 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 421 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | 420 ? {
|
|
221
221
|
readonly 100: "Continue";
|
|
222
222
|
readonly 101: "Switching Protocols";
|
|
223
223
|
readonly 102: "Processing";
|
|
@@ -351,11 +351,11 @@ export declare const walletTypeAdminRouter: Elysia<"/wallet_types", {
|
|
|
351
351
|
emailVerified: boolean;
|
|
352
352
|
name: string;
|
|
353
353
|
image?: string | null | undefined | undefined;
|
|
354
|
-
phoneNumber?: string | null | undefined;
|
|
355
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
356
354
|
twoFactorEnabled: boolean | null | undefined;
|
|
357
355
|
username?: string | null | undefined;
|
|
358
356
|
displayUsername?: string | null | undefined;
|
|
357
|
+
phoneNumber?: string | null | undefined;
|
|
358
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
359
359
|
banned: boolean | null | undefined;
|
|
360
360
|
role?: string | null | undefined;
|
|
361
361
|
banReason?: string | null | undefined;
|
|
@@ -481,6 +481,49 @@ export declare const walletTypeAdminRouter: Elysia<"/wallet_types", {
|
|
|
481
481
|
};
|
|
482
482
|
};
|
|
483
483
|
};
|
|
484
|
+
} & {
|
|
485
|
+
wallet_types: {
|
|
486
|
+
":key": {
|
|
487
|
+
get: {
|
|
488
|
+
body: {};
|
|
489
|
+
params: {
|
|
490
|
+
key: string;
|
|
491
|
+
};
|
|
492
|
+
query: {};
|
|
493
|
+
headers: {};
|
|
494
|
+
response: {
|
|
495
|
+
200: {
|
|
496
|
+
id: string;
|
|
497
|
+
name: string;
|
|
498
|
+
createdAt: Date;
|
|
499
|
+
updatedAt: Date;
|
|
500
|
+
key: string;
|
|
501
|
+
isActive: boolean;
|
|
502
|
+
sortOrder: number;
|
|
503
|
+
isSingleton: boolean;
|
|
504
|
+
allowedLedgerAccountTypes: {
|
|
505
|
+
id: string;
|
|
506
|
+
name: string;
|
|
507
|
+
description: string | null;
|
|
508
|
+
key: string;
|
|
509
|
+
isActive: boolean;
|
|
510
|
+
}[];
|
|
511
|
+
};
|
|
512
|
+
422: {
|
|
513
|
+
type: "validation";
|
|
514
|
+
on: string;
|
|
515
|
+
summary?: string;
|
|
516
|
+
message?: string;
|
|
517
|
+
found?: unknown;
|
|
518
|
+
property?: string;
|
|
519
|
+
expected?: string;
|
|
520
|
+
};
|
|
521
|
+
401: "Unauthorized";
|
|
522
|
+
403: "Forbidden: Admins only";
|
|
523
|
+
};
|
|
524
|
+
};
|
|
525
|
+
};
|
|
526
|
+
};
|
|
484
527
|
} & {
|
|
485
528
|
wallet_types: {
|
|
486
529
|
":key": {
|
|
@@ -530,6 +573,96 @@ export declare const walletTypeAdminRouter: Elysia<"/wallet_types", {
|
|
|
530
573
|
};
|
|
531
574
|
};
|
|
532
575
|
};
|
|
576
|
+
} & {
|
|
577
|
+
wallet_types: {
|
|
578
|
+
":key": {
|
|
579
|
+
enable: {
|
|
580
|
+
post: {
|
|
581
|
+
body: {};
|
|
582
|
+
params: {
|
|
583
|
+
key: string;
|
|
584
|
+
};
|
|
585
|
+
query: {};
|
|
586
|
+
headers: {};
|
|
587
|
+
response: {
|
|
588
|
+
200: {
|
|
589
|
+
id: string;
|
|
590
|
+
name: string;
|
|
591
|
+
createdAt: Date;
|
|
592
|
+
updatedAt: Date;
|
|
593
|
+
key: string;
|
|
594
|
+
isActive: boolean;
|
|
595
|
+
sortOrder: number;
|
|
596
|
+
isSingleton: boolean;
|
|
597
|
+
allowedLedgerAccountTypes: {
|
|
598
|
+
id: string;
|
|
599
|
+
name: string;
|
|
600
|
+
description: string | null;
|
|
601
|
+
key: string;
|
|
602
|
+
isActive: boolean;
|
|
603
|
+
}[];
|
|
604
|
+
};
|
|
605
|
+
422: {
|
|
606
|
+
type: "validation";
|
|
607
|
+
on: string;
|
|
608
|
+
summary?: string;
|
|
609
|
+
message?: string;
|
|
610
|
+
found?: unknown;
|
|
611
|
+
property?: string;
|
|
612
|
+
expected?: string;
|
|
613
|
+
};
|
|
614
|
+
401: "Unauthorized";
|
|
615
|
+
403: "Forbidden: Admins only";
|
|
616
|
+
};
|
|
617
|
+
};
|
|
618
|
+
};
|
|
619
|
+
};
|
|
620
|
+
};
|
|
621
|
+
} & {
|
|
622
|
+
wallet_types: {
|
|
623
|
+
":key": {
|
|
624
|
+
disable: {
|
|
625
|
+
post: {
|
|
626
|
+
body: {};
|
|
627
|
+
params: {
|
|
628
|
+
key: string;
|
|
629
|
+
};
|
|
630
|
+
query: {};
|
|
631
|
+
headers: {};
|
|
632
|
+
response: {
|
|
633
|
+
200: {
|
|
634
|
+
id: string;
|
|
635
|
+
name: string;
|
|
636
|
+
createdAt: Date;
|
|
637
|
+
updatedAt: Date;
|
|
638
|
+
key: string;
|
|
639
|
+
isActive: boolean;
|
|
640
|
+
sortOrder: number;
|
|
641
|
+
isSingleton: boolean;
|
|
642
|
+
allowedLedgerAccountTypes: {
|
|
643
|
+
id: string;
|
|
644
|
+
name: string;
|
|
645
|
+
description: string | null;
|
|
646
|
+
key: string;
|
|
647
|
+
isActive: boolean;
|
|
648
|
+
}[];
|
|
649
|
+
};
|
|
650
|
+
422: {
|
|
651
|
+
type: "validation";
|
|
652
|
+
on: string;
|
|
653
|
+
summary?: string;
|
|
654
|
+
message?: string;
|
|
655
|
+
found?: unknown;
|
|
656
|
+
property?: string;
|
|
657
|
+
expected?: string;
|
|
658
|
+
};
|
|
659
|
+
401: "Unauthorized";
|
|
660
|
+
403: "Forbidden: Admins only";
|
|
661
|
+
};
|
|
662
|
+
};
|
|
663
|
+
};
|
|
664
|
+
};
|
|
665
|
+
};
|
|
533
666
|
}, {
|
|
534
667
|
derive: {};
|
|
535
668
|
resolve: {};
|
|
@@ -547,11 +680,11 @@ export declare const walletTypeAdminRouter: Elysia<"/wallet_types", {
|
|
|
547
680
|
emailVerified: boolean;
|
|
548
681
|
name: string;
|
|
549
682
|
image?: string | null | undefined | undefined;
|
|
550
|
-
phoneNumber?: string | null | undefined;
|
|
551
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
552
683
|
twoFactorEnabled: boolean | null | undefined;
|
|
553
684
|
username?: string | null | undefined;
|
|
554
685
|
displayUsername?: string | null | undefined;
|
|
686
|
+
phoneNumber?: string | null | undefined;
|
|
687
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
555
688
|
banned: boolean | null | undefined;
|
|
556
689
|
role?: string | null | undefined;
|
|
557
690
|
banReason?: string | null | undefined;
|
|
@@ -577,11 +710,11 @@ export declare const walletTypeAdminRouter: Elysia<"/wallet_types", {
|
|
|
577
710
|
emailVerified: boolean;
|
|
578
711
|
name: string;
|
|
579
712
|
image?: string | null | undefined | undefined;
|
|
580
|
-
phoneNumber?: string | null | undefined;
|
|
581
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
582
713
|
twoFactorEnabled: boolean | null | undefined;
|
|
583
714
|
username?: string | null | undefined;
|
|
584
715
|
displayUsername?: string | null | undefined;
|
|
716
|
+
phoneNumber?: string | null | undefined;
|
|
717
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
585
718
|
banned: boolean | null | undefined;
|
|
586
719
|
role?: string | null | undefined;
|
|
587
720
|
banReason?: string | null | undefined;
|
|
@@ -21,6 +21,23 @@ export declare abstract class AdminWalletTypeService extends InternalWalletTypeS
|
|
|
21
21
|
}[];
|
|
22
22
|
total: number;
|
|
23
23
|
}>;
|
|
24
|
+
static getWalletTypeDetailByKey(key: string): Promise<{
|
|
25
|
+
allowedLedgerAccountTypes: {
|
|
26
|
+
id: string;
|
|
27
|
+
key: string;
|
|
28
|
+
name: string;
|
|
29
|
+
description: string | null;
|
|
30
|
+
isActive: boolean;
|
|
31
|
+
}[];
|
|
32
|
+
id: string;
|
|
33
|
+
key: string;
|
|
34
|
+
name: string;
|
|
35
|
+
isSingleton: boolean;
|
|
36
|
+
isActive: boolean;
|
|
37
|
+
sortOrder: number;
|
|
38
|
+
createdAt: Date;
|
|
39
|
+
updatedAt: Date;
|
|
40
|
+
}>;
|
|
24
41
|
static createWalletType(input: WalletTypeCreateInputType): Promise<{
|
|
25
42
|
allowedLedgerAccountTypes: {
|
|
26
43
|
id: string;
|
|
@@ -55,4 +72,38 @@ export declare abstract class AdminWalletTypeService extends InternalWalletTypeS
|
|
|
55
72
|
createdAt: Date;
|
|
56
73
|
updatedAt: Date;
|
|
57
74
|
}>;
|
|
75
|
+
static enableWalletType(key: string): Promise<{
|
|
76
|
+
allowedLedgerAccountTypes: {
|
|
77
|
+
id: string;
|
|
78
|
+
key: string;
|
|
79
|
+
name: string;
|
|
80
|
+
description: string | null;
|
|
81
|
+
isActive: boolean;
|
|
82
|
+
}[];
|
|
83
|
+
id: string;
|
|
84
|
+
key: string;
|
|
85
|
+
name: string;
|
|
86
|
+
isSingleton: boolean;
|
|
87
|
+
isActive: boolean;
|
|
88
|
+
sortOrder: number;
|
|
89
|
+
createdAt: Date;
|
|
90
|
+
updatedAt: Date;
|
|
91
|
+
}>;
|
|
92
|
+
static disableWalletType(key: string): Promise<{
|
|
93
|
+
allowedLedgerAccountTypes: {
|
|
94
|
+
id: string;
|
|
95
|
+
key: string;
|
|
96
|
+
name: string;
|
|
97
|
+
description: string | null;
|
|
98
|
+
isActive: boolean;
|
|
99
|
+
}[];
|
|
100
|
+
id: string;
|
|
101
|
+
key: string;
|
|
102
|
+
name: string;
|
|
103
|
+
isSingleton: boolean;
|
|
104
|
+
isActive: boolean;
|
|
105
|
+
sortOrder: number;
|
|
106
|
+
createdAt: Date;
|
|
107
|
+
updatedAt: Date;
|
|
108
|
+
}>;
|
|
58
109
|
}
|
|
@@ -2,6 +2,10 @@ export * from "./locales/zh";
|
|
|
2
2
|
export declare const WalletTypeErrorCodes: {
|
|
3
3
|
readonly WALLET_TYPE_CREATE_FAILED: "WALLET_TYPE_CREATE_FAILED";
|
|
4
4
|
readonly WALLET_TYPE_NOT_FOUND: "WALLET_TYPE_NOT_FOUND";
|
|
5
|
+
readonly WALLET_TYPE_KEY_ALREADY_EXISTS: "WALLET_TYPE_KEY_ALREADY_EXISTS";
|
|
6
|
+
readonly WALLET_TYPE_ALLOWED_LEDGER_ACCOUNT_TYPE_INVALID: "WALLET_TYPE_ALLOWED_LEDGER_ACCOUNT_TYPE_INVALID";
|
|
7
|
+
readonly WALLET_TYPE_ALLOWED_LEDGER_ACCOUNT_TYPE_INACTIVE: "WALLET_TYPE_ALLOWED_LEDGER_ACCOUNT_TYPE_INACTIVE";
|
|
8
|
+
readonly WALLET_TYPE_SINGLETON_CONFLICT: "WALLET_TYPE_SINGLETON_CONFLICT";
|
|
5
9
|
};
|
|
6
10
|
type WalletTypeErrorCodesType = typeof WalletTypeErrorCodes;
|
|
7
11
|
export type WalletTypeErrorCode = keyof WalletTypeErrorCodesType;
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
export declare const zh: {
|
|
2
2
|
WALLET_TYPE_CREATE_FAILED: string;
|
|
3
3
|
WALLET_TYPE_NOT_FOUND: string;
|
|
4
|
+
WALLET_TYPE_KEY_ALREADY_EXISTS: string;
|
|
5
|
+
WALLET_TYPE_ALLOWED_LEDGER_ACCOUNT_TYPE_INVALID: string;
|
|
6
|
+
WALLET_TYPE_ALLOWED_LEDGER_ACCOUNT_TYPE_INACTIVE: string;
|
|
7
|
+
WALLET_TYPE_SINGLETON_CONFLICT: string;
|
|
4
8
|
};
|
|
5
9
|
type ZHType = typeof zh;
|
|
6
10
|
declare module "../../../error/messages" {
|
|
@@ -3,6 +3,7 @@ import type { WalletTypeAdminListQueryType, WalletTypeCreateInputType, WalletTyp
|
|
|
3
3
|
export interface WalletTypeListQueryOptions extends WalletTypeAdminListQueryType {
|
|
4
4
|
}
|
|
5
5
|
declare abstract class BaseWalletTypeService {
|
|
6
|
+
protected static isUniqueViolationError(error: unknown): boolean;
|
|
6
7
|
protected static buildWhere(options?: WalletTypeListQueryOptions, defaultIsActive?: boolean): import("drizzle-orm").SQL<unknown> | undefined;
|
|
7
8
|
protected static serializeWalletType(item: {
|
|
8
9
|
id: string;
|
|
@@ -39,8 +40,27 @@ declare abstract class BaseWalletTypeService {
|
|
|
39
40
|
createdAt: Date;
|
|
40
41
|
updatedAt: Date;
|
|
41
42
|
};
|
|
43
|
+
protected static validateAllowedLedgerAccountTypeIds(tx: TransactionTx, ids: string[]): Promise<string[]>;
|
|
44
|
+
protected static ensureSingletonWalletConflictFree(tx: TransactionTx, walletTypeId: string): Promise<void>;
|
|
42
45
|
}
|
|
43
46
|
export declare abstract class InternalWalletTypeService extends BaseWalletTypeService {
|
|
47
|
+
static getWalletTypeByKeyInternal(key: string): Promise<{
|
|
48
|
+
allowedLedgerAccountTypes: {
|
|
49
|
+
id: string;
|
|
50
|
+
key: string;
|
|
51
|
+
name: string;
|
|
52
|
+
description: string | null;
|
|
53
|
+
isActive: boolean;
|
|
54
|
+
}[];
|
|
55
|
+
id: string;
|
|
56
|
+
key: string;
|
|
57
|
+
name: string;
|
|
58
|
+
isSingleton: boolean;
|
|
59
|
+
isActive: boolean;
|
|
60
|
+
sortOrder: number;
|
|
61
|
+
createdAt: Date;
|
|
62
|
+
updatedAt: Date;
|
|
63
|
+
}>;
|
|
44
64
|
static getWalletTypeByKey(tx: TransactionTx, key: string): Promise<{
|
|
45
65
|
id: string;
|
|
46
66
|
name: string;
|
|
@@ -215,5 +235,22 @@ export declare abstract class InternalWalletTypeService extends BaseWalletTypeSe
|
|
|
215
235
|
createdAt: Date;
|
|
216
236
|
updatedAt: Date;
|
|
217
237
|
}>;
|
|
238
|
+
static updateWalletTypeStatusInternal(key: string, isActive: boolean): Promise<{
|
|
239
|
+
allowedLedgerAccountTypes: {
|
|
240
|
+
id: string;
|
|
241
|
+
key: string;
|
|
242
|
+
name: string;
|
|
243
|
+
description: string | null;
|
|
244
|
+
isActive: boolean;
|
|
245
|
+
}[];
|
|
246
|
+
id: string;
|
|
247
|
+
key: string;
|
|
248
|
+
name: string;
|
|
249
|
+
isSingleton: boolean;
|
|
250
|
+
isActive: boolean;
|
|
251
|
+
sortOrder: number;
|
|
252
|
+
createdAt: Date;
|
|
253
|
+
updatedAt: Date;
|
|
254
|
+
}>;
|
|
218
255
|
}
|
|
219
256
|
export {};
|
|
@@ -41,7 +41,7 @@ export declare const walletTypeRouter: Elysia<"/wallet_types", {
|
|
|
41
41
|
route: string;
|
|
42
42
|
request: Request;
|
|
43
43
|
store: {};
|
|
44
|
-
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 |
|
|
44
|
+
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 | 422 | 400 | 101 | 102 | 103 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 421 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | 420 ? {
|
|
45
45
|
readonly 100: "Continue";
|
|
46
46
|
readonly 101: "Switching Protocols";
|
|
47
47
|
readonly 102: "Processing";
|
|
@@ -175,11 +175,11 @@ export declare const walletTypeRouter: Elysia<"/wallet_types", {
|
|
|
175
175
|
emailVerified: boolean;
|
|
176
176
|
name: string;
|
|
177
177
|
image?: string | null | undefined | undefined;
|
|
178
|
-
phoneNumber?: string | null | undefined;
|
|
179
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
180
178
|
twoFactorEnabled: boolean | null | undefined;
|
|
181
179
|
username?: string | null | undefined;
|
|
182
180
|
displayUsername?: string | null | undefined;
|
|
181
|
+
phoneNumber?: string | null | undefined;
|
|
182
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
183
183
|
banned: boolean | null | undefined;
|
|
184
184
|
role?: string | null | undefined;
|
|
185
185
|
banReason?: string | null | undefined;
|
|
@@ -217,7 +217,7 @@ export declare const walletTypeRouter: Elysia<"/wallet_types", {
|
|
|
217
217
|
route: string;
|
|
218
218
|
request: Request;
|
|
219
219
|
store: {};
|
|
220
|
-
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 |
|
|
220
|
+
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 | 422 | 400 | 101 | 102 | 103 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 421 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | 420 ? {
|
|
221
221
|
readonly 100: "Continue";
|
|
222
222
|
readonly 101: "Switching Protocols";
|
|
223
223
|
readonly 102: "Processing";
|
|
@@ -351,11 +351,11 @@ export declare const walletTypeRouter: Elysia<"/wallet_types", {
|
|
|
351
351
|
emailVerified: boolean;
|
|
352
352
|
name: string;
|
|
353
353
|
image?: string | null | undefined | undefined;
|
|
354
|
-
phoneNumber?: string | null | undefined;
|
|
355
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
356
354
|
twoFactorEnabled: boolean | null | undefined;
|
|
357
355
|
username?: string | null | undefined;
|
|
358
356
|
displayUsername?: string | null | undefined;
|
|
357
|
+
phoneNumber?: string | null | undefined;
|
|
358
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
359
359
|
banned: boolean | null | undefined;
|
|
360
360
|
role?: string | null | undefined;
|
|
361
361
|
banReason?: string | null | undefined;
|
|
@@ -451,11 +451,11 @@ export declare const walletTypeRouter: Elysia<"/wallet_types", {
|
|
|
451
451
|
emailVerified: boolean;
|
|
452
452
|
name: string;
|
|
453
453
|
image?: string | null | undefined | undefined;
|
|
454
|
-
phoneNumber?: string | null | undefined;
|
|
455
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
456
454
|
twoFactorEnabled: boolean | null | undefined;
|
|
457
455
|
username?: string | null | undefined;
|
|
458
456
|
displayUsername?: string | null | undefined;
|
|
457
|
+
phoneNumber?: string | null | undefined;
|
|
458
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
459
459
|
banned: boolean | null | undefined;
|
|
460
460
|
role?: string | null | undefined;
|
|
461
461
|
banReason?: string | null | undefined;
|
|
@@ -356,6 +356,7 @@ export declare const welfareCyclePlanListResponseSchema: import("@sinclair/typeb
|
|
|
356
356
|
}>;
|
|
357
357
|
}>;
|
|
358
358
|
export declare const welfareCycleSubscriptionListQuerySchema: import("@sinclair/typebox").TObject<{
|
|
359
|
+
userId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
359
360
|
status: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<{
|
|
360
361
|
active: "active";
|
|
361
362
|
pending: "pending";
|
|
@@ -363,7 +364,6 @@ export declare const welfareCycleSubscriptionListQuerySchema: import("@sinclair/
|
|
|
363
364
|
matured: "matured";
|
|
364
365
|
settled: "settled";
|
|
365
366
|
}>>;
|
|
366
|
-
userId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
367
367
|
planId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
368
368
|
limit: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
369
369
|
offset: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
@@ -791,12 +791,12 @@ export declare const welfareCycleSubscriptionListResponseSchema: import("@sincla
|
|
|
791
791
|
}>;
|
|
792
792
|
}>;
|
|
793
793
|
export declare const welfareCycleDailyPayoutListQuerySchema: import("@sinclair/typebox").TObject<{
|
|
794
|
+
userId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
794
795
|
status: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<{
|
|
795
796
|
pending: "pending";
|
|
796
797
|
completed: "completed";
|
|
797
798
|
failed: "failed";
|
|
798
799
|
}>>;
|
|
799
|
-
userId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
800
800
|
planId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
801
801
|
limit: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
802
802
|
offset: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
@@ -1003,12 +1003,12 @@ export declare const welfareCycleDailyPayoutListResponseSchema: import("@sinclai
|
|
|
1003
1003
|
}>;
|
|
1004
1004
|
}>;
|
|
1005
1005
|
export declare const welfareCycleMaturitySettlementListQuerySchema: import("@sinclair/typebox").TObject<{
|
|
1006
|
+
userId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1006
1007
|
status: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<{
|
|
1007
1008
|
pending: "pending";
|
|
1008
1009
|
completed: "completed";
|
|
1009
1010
|
failed: "failed";
|
|
1010
1011
|
}>>;
|
|
1011
|
-
userId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1012
1012
|
planId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1013
1013
|
limit: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
1014
1014
|
offset: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|