@r2wa-org/eden 0.0.51 → 0.0.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/admin/index.d.ts +362 -15
- package/dist/src/asset-convert-product/admin/dto.schemas.d.ts +658 -0
- package/dist/src/asset-convert-product/admin/router.d.ts +803 -0
- package/dist/src/asset-convert-product/admin/service.d.ts +125 -0
- package/dist/src/asset-convert-product/db.schemas.d.ts +1134 -0
- package/dist/src/asset-convert-product/errors/index.d.ts +19 -0
- package/dist/src/asset-convert-product/errors/locales/zh.d.ts +18 -0
- package/dist/src/asset-convert-product/index.d.ts +8 -0
- package/dist/src/asset-convert-product/internal/service.d.ts +66 -0
- package/dist/src/asset-convert-product/permissions.d.ts +5 -0
- package/dist/src/asset-convert-product/schema.d.ts +619 -0
- package/dist/src/asset-convert-product/user/dto.schemas.d.ts +1000 -0
- package/dist/src/asset-convert-product/user/router.d.ts +683 -0
- package/dist/src/asset-convert-product/user/service.d.ts +120 -0
- package/dist/src/auth/better-auth.d.ts +17 -3
- package/dist/src/auth/permissions.d.ts +11 -1
- package/dist/src/auth/roles.d.ts +30 -0
- package/dist/src/cron/index.d.ts +13 -1
- package/dist/src/db/schemas.d.ts +1 -0
- package/dist/src/deposit/admin/dto.schemas.d.ts +6 -6
- package/dist/src/deposit/user/dto.schemas.d.ts +6 -6
- package/dist/src/file-storage/admin/dto.schemas.d.ts +6 -6
- package/dist/src/index.d.ts +630 -22
- package/dist/src/ledger/admin/dto.schemas.d.ts +8 -8
- package/dist/src/ledger/admin/router.d.ts +2 -2
- package/dist/src/ledger/admin/service.d.ts +2 -2
- package/dist/src/ledger/db.schemas.d.ts +8 -8
- package/dist/src/ledger/internal/service.d.ts +2 -2
- package/dist/src/ledger/schema.d.ts +6 -6
- package/dist/src/ledger/user/dto.schemas.d.ts +8 -8
- package/dist/src/ledger/user/router.d.ts +2 -2
- package/dist/src/ledger/user/service.d.ts +2 -2
- package/dist/src/ledger-account-import/admin/dto.schemas.d.ts +6 -6
- package/dist/src/ledger-account-import/admin/router.d.ts +9 -9
- package/dist/src/ledger-account-import/admin/service.d.ts +7 -7
- package/dist/src/ledger-account-import/db.schemas.d.ts +4 -4
- package/dist/src/ledger-account-import/schema.d.ts +2 -2
- package/dist/src/ledger-account-transfer/user/router.d.ts +1 -1
- package/dist/src/news/admin/dto.schemas.d.ts +6 -6
- package/dist/src/news/user/dto.schemas.d.ts +12 -12
- package/dist/src/notification/admin/dto.schemas.d.ts +8 -8
- package/dist/src/notification/user/dto.schemas.d.ts +8 -8
- package/dist/src/transfer/user/router.d.ts +1 -1
- package/dist/src/user-kyc/admin/dto.schemas.d.ts +1 -1
- package/dist/src/wallet/admin/dto.schemas.d.ts +3 -3
- package/dist/src/wallet/user/dto.schemas.d.ts +2 -2
- package/dist/src/welfare-cycle/admin/dto.schemas.d.ts +7 -7
- package/dist/src/welfare-cycle/admin/router.d.ts +4 -4
- package/dist/src/welfare-cycle/admin/service.d.ts +2 -2
- package/dist/src/welfare-cycle/cron.d.ts +58 -0
- package/dist/src/welfare-cycle/db.schemas.d.ts +4 -4
- package/dist/src/welfare-cycle/internal/service.d.ts +2 -2
- package/dist/src/welfare-cycle/schema.d.ts +2 -2
- package/dist/src/welfare-cycle/user/dto.schemas.d.ts +3 -3
- package/dist/src/welfare-cycle/user/router.d.ts +3 -3
- package/dist/src/welfare-cycle/user/service.d.ts +2 -2
- package/package.json +1 -1
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { BaseAssetConvertProductService } from "../internal/service";
|
|
2
|
+
import type { AssetConvertOrderCreateInputType, AssetConvertOrderListQueryType, AssetConvertProductListQueryType } from "./dto.schemas";
|
|
3
|
+
export declare abstract class UserAssetConvertProductService extends BaseAssetConvertProductService {
|
|
4
|
+
static listProducts(filters?: AssetConvertProductListQueryType): Promise<{
|
|
5
|
+
data: {
|
|
6
|
+
id: string;
|
|
7
|
+
name: string;
|
|
8
|
+
createdAt: Date;
|
|
9
|
+
updatedAt: Date;
|
|
10
|
+
description: string | null;
|
|
11
|
+
status: "active" | "draft" | "paused" | "ended";
|
|
12
|
+
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
13
|
+
targetAssetId: string;
|
|
14
|
+
payAssetId: string;
|
|
15
|
+
defaultReceiveAccountTypeId: string;
|
|
16
|
+
minPayAmount: string;
|
|
17
|
+
}[];
|
|
18
|
+
pagination: {
|
|
19
|
+
pageSize: number;
|
|
20
|
+
pageIndex: number;
|
|
21
|
+
total: number;
|
|
22
|
+
totalPages: number;
|
|
23
|
+
hasNextPage: boolean;
|
|
24
|
+
};
|
|
25
|
+
}>;
|
|
26
|
+
static getProduct(productId: string): Promise<{
|
|
27
|
+
id: string;
|
|
28
|
+
name: string;
|
|
29
|
+
createdAt: Date;
|
|
30
|
+
updatedAt: Date;
|
|
31
|
+
description: string | null;
|
|
32
|
+
status: "active" | "draft" | "paused" | "ended";
|
|
33
|
+
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
34
|
+
targetAssetId: string;
|
|
35
|
+
payAssetId: string;
|
|
36
|
+
defaultReceiveAccountTypeId: string;
|
|
37
|
+
minPayAmount: string;
|
|
38
|
+
}>;
|
|
39
|
+
static createOrder(userId: string, input: AssetConvertOrderCreateInputType): Promise<{
|
|
40
|
+
id: string;
|
|
41
|
+
createdAt: Date;
|
|
42
|
+
updatedAt: Date;
|
|
43
|
+
userId: string;
|
|
44
|
+
status: "created" | "completed" | "failed";
|
|
45
|
+
idempotencyKey: string;
|
|
46
|
+
orderNo: string;
|
|
47
|
+
productId: string;
|
|
48
|
+
payAssetIdSnapshot: string;
|
|
49
|
+
targetAssetIdSnapshot: string;
|
|
50
|
+
quoteAssetIdSnapshot: string;
|
|
51
|
+
priceSnapshot: string;
|
|
52
|
+
priceEffectiveAtSnapshot: Date;
|
|
53
|
+
payAmount: string;
|
|
54
|
+
sourcePayAccountId: string;
|
|
55
|
+
targetAmount: string;
|
|
56
|
+
settlementModeSnapshot: "available" | "locked";
|
|
57
|
+
receiveAccountId: string;
|
|
58
|
+
debitLedgerEntryId: string | null;
|
|
59
|
+
creditLedgerEntryId: string | null;
|
|
60
|
+
failureCode: string | null;
|
|
61
|
+
failureReason: string | null;
|
|
62
|
+
}>;
|
|
63
|
+
static listOrders(userId: string, filters?: AssetConvertOrderListQueryType): Promise<{
|
|
64
|
+
data: {
|
|
65
|
+
id: string;
|
|
66
|
+
createdAt: Date;
|
|
67
|
+
updatedAt: Date;
|
|
68
|
+
userId: string;
|
|
69
|
+
status: "created" | "completed" | "failed";
|
|
70
|
+
idempotencyKey: string;
|
|
71
|
+
orderNo: string;
|
|
72
|
+
productId: string;
|
|
73
|
+
payAssetIdSnapshot: string;
|
|
74
|
+
targetAssetIdSnapshot: string;
|
|
75
|
+
quoteAssetIdSnapshot: string;
|
|
76
|
+
priceSnapshot: string;
|
|
77
|
+
priceEffectiveAtSnapshot: Date;
|
|
78
|
+
payAmount: string;
|
|
79
|
+
sourcePayAccountId: string;
|
|
80
|
+
targetAmount: string;
|
|
81
|
+
settlementModeSnapshot: "available" | "locked";
|
|
82
|
+
receiveAccountId: string;
|
|
83
|
+
debitLedgerEntryId: string | null;
|
|
84
|
+
creditLedgerEntryId: string | null;
|
|
85
|
+
failureCode: string | null;
|
|
86
|
+
failureReason: string | null;
|
|
87
|
+
}[];
|
|
88
|
+
pagination: {
|
|
89
|
+
pageSize: number;
|
|
90
|
+
pageIndex: number;
|
|
91
|
+
total: number;
|
|
92
|
+
totalPages: number;
|
|
93
|
+
hasNextPage: boolean;
|
|
94
|
+
};
|
|
95
|
+
}>;
|
|
96
|
+
static getOrder(userId: string, orderId: string): Promise<{
|
|
97
|
+
id: string;
|
|
98
|
+
createdAt: Date;
|
|
99
|
+
updatedAt: Date;
|
|
100
|
+
userId: string;
|
|
101
|
+
status: "created" | "completed" | "failed";
|
|
102
|
+
idempotencyKey: string;
|
|
103
|
+
orderNo: string;
|
|
104
|
+
productId: string;
|
|
105
|
+
payAssetIdSnapshot: string;
|
|
106
|
+
targetAssetIdSnapshot: string;
|
|
107
|
+
quoteAssetIdSnapshot: string;
|
|
108
|
+
priceSnapshot: string;
|
|
109
|
+
priceEffectiveAtSnapshot: Date;
|
|
110
|
+
payAmount: string;
|
|
111
|
+
sourcePayAccountId: string;
|
|
112
|
+
targetAmount: string;
|
|
113
|
+
settlementModeSnapshot: "available" | "locked";
|
|
114
|
+
receiveAccountId: string;
|
|
115
|
+
debitLedgerEntryId: string | null;
|
|
116
|
+
creditLedgerEntryId: string | null;
|
|
117
|
+
failureCode: string | null;
|
|
118
|
+
failureReason: string | null;
|
|
119
|
+
}>;
|
|
120
|
+
}
|
|
@@ -2382,8 +2382,10 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
2382
2382
|
readonly "user:referral"?: "bind"[] | undefined;
|
|
2383
2383
|
readonly "admin:user-profile"?: ("read" | "list" | "update")[] | undefined;
|
|
2384
2384
|
readonly "asset_price:price"?: ("read" | "list" | "latest")[] | undefined;
|
|
2385
|
-
readonly "asset_price:admin"?: ("read" | "list" | "
|
|
2385
|
+
readonly "asset_price:admin"?: ("read" | "list" | "create" | "latest")[] | undefined;
|
|
2386
2386
|
readonly "asset-type:type"?: ("read" | "list" | "update")[] | undefined;
|
|
2387
|
+
readonly "asset_convert_product:product"?: ("read" | "list" | "create" | "update" | "delete")[] | undefined;
|
|
2388
|
+
readonly "asset_convert_product:order"?: ("read" | "list" | "create")[] | undefined;
|
|
2387
2389
|
readonly "asset:item"?: ("read" | "list" | "create" | "update")[] | undefined;
|
|
2388
2390
|
readonly user?: ("list" | "create" | "update" | "delete" | "set-role" | "ban" | "impersonate" | "set-password" | "get")[] | undefined;
|
|
2389
2391
|
readonly session?: ("list" | "delete" | "revoke")[] | undefined;
|
|
@@ -2422,8 +2424,10 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
2422
2424
|
readonly "user:referral"?: "bind"[] | undefined;
|
|
2423
2425
|
readonly "admin:user-profile"?: ("read" | "list" | "update")[] | undefined;
|
|
2424
2426
|
readonly "asset_price:price"?: ("read" | "list" | "latest")[] | undefined;
|
|
2425
|
-
readonly "asset_price:admin"?: ("read" | "list" | "
|
|
2427
|
+
readonly "asset_price:admin"?: ("read" | "list" | "create" | "latest")[] | undefined;
|
|
2426
2428
|
readonly "asset-type:type"?: ("read" | "list" | "update")[] | undefined;
|
|
2429
|
+
readonly "asset_convert_product:product"?: ("read" | "list" | "create" | "update" | "delete")[] | undefined;
|
|
2430
|
+
readonly "asset_convert_product:order"?: ("read" | "list" | "create")[] | undefined;
|
|
2427
2431
|
readonly "asset:item"?: ("read" | "list" | "create" | "update")[] | undefined;
|
|
2428
2432
|
readonly user?: ("list" | "create" | "update" | "delete" | "set-role" | "ban" | "impersonate" | "set-password" | "get")[] | undefined;
|
|
2429
2433
|
readonly session?: ("list" | "delete" | "revoke")[] | undefined;
|
|
@@ -2500,7 +2504,7 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
2500
2504
|
};
|
|
2501
2505
|
options: NoInfer<{
|
|
2502
2506
|
ac: {
|
|
2503
|
-
newRole<K extends "user" | "session" | "welfare_cycle:plan" | "welfare_cycle:subscription" | "welfare_cycle:payout" | "ledger_account:import" | "wallet:container" | "wallet:type" | "news:news" | "news:category" | "transfer:order" | "team:member" | "referral:depth-config" | "referral:relation" | "shipping_address:item" | "receipt_method:item" | "notification:notification" | "notification:admin" | "withdraw:manage" | "withdraw:review" | "ledger:entry" | "ledger-account:type" | "ledger-account:account" | "deposit:order" | "deposit:review" | "checkIn:checkIn" | "checkIn:admin" | "kyc:method" | "kyc:admin" | "user:profile" | "user:referral" | "admin:user-profile" | "asset_price:price" | "asset_price:admin" | "asset-type:type" | "asset:item">(statements: import("better-auth/plugins").Subset<K, {
|
|
2507
|
+
newRole<K extends "user" | "session" | "welfare_cycle:plan" | "welfare_cycle:subscription" | "welfare_cycle:payout" | "ledger_account:import" | "wallet:container" | "wallet:type" | "news:news" | "news:category" | "transfer:order" | "team:member" | "referral:depth-config" | "referral:relation" | "shipping_address:item" | "receipt_method:item" | "notification:notification" | "notification:admin" | "withdraw:manage" | "withdraw:review" | "ledger:entry" | "ledger-account:type" | "ledger-account:account" | "deposit:order" | "deposit:review" | "checkIn:checkIn" | "checkIn:admin" | "kyc:method" | "kyc:admin" | "user:profile" | "user:referral" | "admin:user-profile" | "asset_price:price" | "asset_price:admin" | "asset-type:type" | "asset_convert_product:product" | "asset_convert_product:order" | "asset:item">(statements: import("better-auth/plugins").Subset<K, {
|
|
2504
2508
|
readonly "welfare_cycle:plan": readonly ["create", "read", "update", "delete", "list"];
|
|
2505
2509
|
readonly "welfare_cycle:subscription": readonly ["create", "read", "list"];
|
|
2506
2510
|
readonly "welfare_cycle:payout": readonly ["create", "read", "list"];
|
|
@@ -2534,6 +2538,8 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
2534
2538
|
readonly "asset_price:price": readonly ["read", "list", "latest"];
|
|
2535
2539
|
readonly "asset_price:admin": readonly ["create", "read", "list", "latest"];
|
|
2536
2540
|
readonly "asset-type:type": readonly ["read", "update", "list"];
|
|
2541
|
+
readonly "asset_convert_product:product": readonly ["create", "read", "update", "delete", "list"];
|
|
2542
|
+
readonly "asset_convert_product:order": readonly ["create", "read", "list"];
|
|
2537
2543
|
readonly "asset:item": readonly ["create", "read", "update", "list"];
|
|
2538
2544
|
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "get", "update"];
|
|
2539
2545
|
readonly session: readonly ["list", "revoke", "delete"];
|
|
@@ -2572,6 +2578,8 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
2572
2578
|
readonly "asset_price:price": readonly ["read", "list", "latest"];
|
|
2573
2579
|
readonly "asset_price:admin": readonly ["create", "read", "list", "latest"];
|
|
2574
2580
|
readonly "asset-type:type": readonly ["read", "update", "list"];
|
|
2581
|
+
readonly "asset_convert_product:product": readonly ["create", "read", "update", "delete", "list"];
|
|
2582
|
+
readonly "asset_convert_product:order": readonly ["create", "read", "list"];
|
|
2575
2583
|
readonly "asset:item": readonly ["create", "read", "update", "list"];
|
|
2576
2584
|
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "get", "update"];
|
|
2577
2585
|
readonly session: readonly ["list", "revoke", "delete"];
|
|
@@ -2610,6 +2618,8 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
2610
2618
|
readonly "asset_price:price": readonly ["read", "list", "latest"];
|
|
2611
2619
|
readonly "asset_price:admin": readonly ["create", "read", "list", "latest"];
|
|
2612
2620
|
readonly "asset-type:type": readonly ["read", "update", "list"];
|
|
2621
|
+
readonly "asset_convert_product:product": readonly ["create", "read", "update", "delete", "list"];
|
|
2622
|
+
readonly "asset_convert_product:order": readonly ["create", "read", "list"];
|
|
2613
2623
|
readonly "asset:item": readonly ["create", "read", "update", "list"];
|
|
2614
2624
|
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "get", "update"];
|
|
2615
2625
|
readonly session: readonly ["list", "revoke", "delete"];
|
|
@@ -2650,6 +2660,8 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
2650
2660
|
readonly "asset_price:price": readonly ["read", "list", "latest"];
|
|
2651
2661
|
readonly "asset_price:admin": readonly ["create", "read", "list", "latest"];
|
|
2652
2662
|
readonly "asset-type:type": readonly ["read", "update", "list"];
|
|
2663
|
+
readonly "asset_convert_product:product": readonly ["create", "read", "update", "delete", "list"];
|
|
2664
|
+
readonly "asset_convert_product:order": readonly ["create", "read", "list"];
|
|
2653
2665
|
readonly "asset:item": readonly ["create", "read", "update", "list"];
|
|
2654
2666
|
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "get", "update"];
|
|
2655
2667
|
readonly session: readonly ["list", "revoke", "delete"];
|
|
@@ -2689,6 +2701,8 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
2689
2701
|
readonly "asset_price:price": readonly ["read", "list", "latest"];
|
|
2690
2702
|
readonly "asset_price:admin": readonly ["create", "read", "list", "latest"];
|
|
2691
2703
|
readonly "asset-type:type": readonly ["read", "update", "list"];
|
|
2704
|
+
readonly "asset_convert_product:product": readonly ["create", "read", "update", "delete", "list"];
|
|
2705
|
+
readonly "asset_convert_product:order": readonly ["create", "read", "list"];
|
|
2692
2706
|
readonly "asset:item": readonly ["create", "read", "update", "list"];
|
|
2693
2707
|
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "get", "update"];
|
|
2694
2708
|
readonly session: readonly ["list", "revoke", "delete"];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const ac: {
|
|
2
|
-
newRole<K extends "user" | "session" | "welfare_cycle:plan" | "welfare_cycle:subscription" | "welfare_cycle:payout" | "ledger_account:import" | "wallet:container" | "wallet:type" | "news:news" | "news:category" | "transfer:order" | "team:member" | "referral:depth-config" | "referral:relation" | "shipping_address:item" | "receipt_method:item" | "notification:notification" | "notification:admin" | "withdraw:manage" | "withdraw:review" | "ledger:entry" | "ledger-account:type" | "ledger-account:account" | "deposit:order" | "deposit:review" | "checkIn:checkIn" | "checkIn:admin" | "kyc:method" | "kyc:admin" | "user:profile" | "user:referral" | "admin:user-profile" | "asset_price:price" | "asset_price:admin" | "asset-type:type" | "asset:item">(statements: import("better-auth/plugins").Subset<K, {
|
|
2
|
+
newRole<K extends "user" | "session" | "welfare_cycle:plan" | "welfare_cycle:subscription" | "welfare_cycle:payout" | "ledger_account:import" | "wallet:container" | "wallet:type" | "news:news" | "news:category" | "transfer:order" | "team:member" | "referral:depth-config" | "referral:relation" | "shipping_address:item" | "receipt_method:item" | "notification:notification" | "notification:admin" | "withdraw:manage" | "withdraw:review" | "ledger:entry" | "ledger-account:type" | "ledger-account:account" | "deposit:order" | "deposit:review" | "checkIn:checkIn" | "checkIn:admin" | "kyc:method" | "kyc:admin" | "user:profile" | "user:referral" | "admin:user-profile" | "asset_price:price" | "asset_price:admin" | "asset-type:type" | "asset_convert_product:product" | "asset_convert_product:order" | "asset:item">(statements: import("better-auth/plugins").Subset<K, {
|
|
3
3
|
readonly "welfare_cycle:plan": readonly ["create", "read", "update", "delete", "list"];
|
|
4
4
|
readonly "welfare_cycle:subscription": readonly ["create", "read", "list"];
|
|
5
5
|
readonly "welfare_cycle:payout": readonly ["create", "read", "list"];
|
|
@@ -33,6 +33,8 @@ export declare const ac: {
|
|
|
33
33
|
readonly "asset_price:price": readonly ["read", "list", "latest"];
|
|
34
34
|
readonly "asset_price:admin": readonly ["create", "read", "list", "latest"];
|
|
35
35
|
readonly "asset-type:type": readonly ["read", "update", "list"];
|
|
36
|
+
readonly "asset_convert_product:product": readonly ["create", "read", "update", "delete", "list"];
|
|
37
|
+
readonly "asset_convert_product:order": readonly ["create", "read", "list"];
|
|
36
38
|
readonly "asset:item": readonly ["create", "read", "update", "list"];
|
|
37
39
|
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "get", "update"];
|
|
38
40
|
readonly session: readonly ["list", "revoke", "delete"];
|
|
@@ -71,6 +73,8 @@ export declare const ac: {
|
|
|
71
73
|
readonly "asset_price:price": readonly ["read", "list", "latest"];
|
|
72
74
|
readonly "asset_price:admin": readonly ["create", "read", "list", "latest"];
|
|
73
75
|
readonly "asset-type:type": readonly ["read", "update", "list"];
|
|
76
|
+
readonly "asset_convert_product:product": readonly ["create", "read", "update", "delete", "list"];
|
|
77
|
+
readonly "asset_convert_product:order": readonly ["create", "read", "list"];
|
|
74
78
|
readonly "asset:item": readonly ["create", "read", "update", "list"];
|
|
75
79
|
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "get", "update"];
|
|
76
80
|
readonly session: readonly ["list", "revoke", "delete"];
|
|
@@ -109,6 +113,8 @@ export declare const ac: {
|
|
|
109
113
|
readonly "asset_price:price": readonly ["read", "list", "latest"];
|
|
110
114
|
readonly "asset_price:admin": readonly ["create", "read", "list", "latest"];
|
|
111
115
|
readonly "asset-type:type": readonly ["read", "update", "list"];
|
|
116
|
+
readonly "asset_convert_product:product": readonly ["create", "read", "update", "delete", "list"];
|
|
117
|
+
readonly "asset_convert_product:order": readonly ["create", "read", "list"];
|
|
112
118
|
readonly "asset:item": readonly ["create", "read", "update", "list"];
|
|
113
119
|
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "get", "update"];
|
|
114
120
|
readonly session: readonly ["list", "revoke", "delete"];
|
|
@@ -149,6 +155,8 @@ export declare const ac: {
|
|
|
149
155
|
readonly "asset_price:price": readonly ["read", "list", "latest"];
|
|
150
156
|
readonly "asset_price:admin": readonly ["create", "read", "list", "latest"];
|
|
151
157
|
readonly "asset-type:type": readonly ["read", "update", "list"];
|
|
158
|
+
readonly "asset_convert_product:product": readonly ["create", "read", "update", "delete", "list"];
|
|
159
|
+
readonly "asset_convert_product:order": readonly ["create", "read", "list"];
|
|
152
160
|
readonly "asset:item": readonly ["create", "read", "update", "list"];
|
|
153
161
|
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "get", "update"];
|
|
154
162
|
readonly session: readonly ["list", "revoke", "delete"];
|
|
@@ -188,6 +196,8 @@ export declare const ac: {
|
|
|
188
196
|
readonly "asset_price:price": readonly ["read", "list", "latest"];
|
|
189
197
|
readonly "asset_price:admin": readonly ["create", "read", "list", "latest"];
|
|
190
198
|
readonly "asset-type:type": readonly ["read", "update", "list"];
|
|
199
|
+
readonly "asset_convert_product:product": readonly ["create", "read", "update", "delete", "list"];
|
|
200
|
+
readonly "asset_convert_product:order": readonly ["create", "read", "list"];
|
|
191
201
|
readonly "asset:item": readonly ["create", "read", "update", "list"];
|
|
192
202
|
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "get", "update"];
|
|
193
203
|
readonly session: readonly ["list", "revoke", "delete"];
|
package/dist/src/auth/roles.d.ts
CHANGED
|
@@ -33,6 +33,8 @@ export declare const authAdmin: {
|
|
|
33
33
|
readonly "asset_price:price": readonly ["read", "list", "latest"];
|
|
34
34
|
readonly "asset_price:admin": readonly ["create", "read", "list", "latest"];
|
|
35
35
|
readonly "asset-type:type": readonly ["read", "update", "list"];
|
|
36
|
+
readonly "asset_convert_product:product": readonly ["create", "read", "update", "delete", "list"];
|
|
37
|
+
readonly "asset_convert_product:order": readonly ["create", "read", "list"];
|
|
36
38
|
readonly "asset:item": readonly ["create", "read", "update", "list"];
|
|
37
39
|
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "get", "update"];
|
|
38
40
|
readonly session: readonly ["list", "revoke", "delete"];
|
|
@@ -71,6 +73,8 @@ export declare const authAdmin: {
|
|
|
71
73
|
readonly "asset_price:price": readonly ["read", "list", "latest"];
|
|
72
74
|
readonly "asset_price:admin": readonly ["create", "read", "list", "latest"];
|
|
73
75
|
readonly "asset-type:type": readonly ["read", "update", "list"];
|
|
76
|
+
readonly "asset_convert_product:product": readonly ["create", "read", "update", "delete", "list"];
|
|
77
|
+
readonly "asset_convert_product:order": readonly ["create", "read", "list"];
|
|
74
78
|
readonly "asset:item": readonly ["create", "read", "update", "list"];
|
|
75
79
|
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "get", "update"];
|
|
76
80
|
readonly session: readonly ["list", "revoke", "delete"];
|
|
@@ -111,6 +115,8 @@ export declare const authAdmin: {
|
|
|
111
115
|
readonly "asset_price:price": readonly ["read", "list", "latest"];
|
|
112
116
|
readonly "asset_price:admin": readonly ["create", "read", "list", "latest"];
|
|
113
117
|
readonly "asset-type:type": readonly ["read", "update", "list"];
|
|
118
|
+
readonly "asset_convert_product:product": readonly ["create", "read", "update", "delete", "list"];
|
|
119
|
+
readonly "asset_convert_product:order": readonly ["create", "read", "list"];
|
|
114
120
|
readonly "asset:item": readonly ["create", "read", "update", "list"];
|
|
115
121
|
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "get", "update"];
|
|
116
122
|
readonly session: readonly ["list", "revoke", "delete"];
|
|
@@ -151,6 +157,8 @@ export declare const authUser: {
|
|
|
151
157
|
readonly "asset_price:price": readonly ["read", "list", "latest"];
|
|
152
158
|
readonly "asset_price:admin": readonly ["create", "read", "list", "latest"];
|
|
153
159
|
readonly "asset-type:type": readonly ["read", "update", "list"];
|
|
160
|
+
readonly "asset_convert_product:product": readonly ["create", "read", "update", "delete", "list"];
|
|
161
|
+
readonly "asset_convert_product:order": readonly ["create", "read", "list"];
|
|
154
162
|
readonly "asset:item": readonly ["create", "read", "update", "list"];
|
|
155
163
|
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "get", "update"];
|
|
156
164
|
readonly session: readonly ["list", "revoke", "delete"];
|
|
@@ -189,6 +197,8 @@ export declare const authUser: {
|
|
|
189
197
|
readonly "asset_price:price": readonly ["read", "list", "latest"];
|
|
190
198
|
readonly "asset_price:admin": readonly ["create", "read", "list", "latest"];
|
|
191
199
|
readonly "asset-type:type": readonly ["read", "update", "list"];
|
|
200
|
+
readonly "asset_convert_product:product": readonly ["create", "read", "update", "delete", "list"];
|
|
201
|
+
readonly "asset_convert_product:order": readonly ["create", "read", "list"];
|
|
192
202
|
readonly "asset:item": readonly ["create", "read", "update", "list"];
|
|
193
203
|
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "get", "update"];
|
|
194
204
|
readonly session: readonly ["list", "revoke", "delete"];
|
|
@@ -229,6 +239,8 @@ export declare const authUser: {
|
|
|
229
239
|
readonly "asset_price:price": readonly ["read", "list", "latest"];
|
|
230
240
|
readonly "asset_price:admin": readonly ["create", "read", "list", "latest"];
|
|
231
241
|
readonly "asset-type:type": readonly ["read", "update", "list"];
|
|
242
|
+
readonly "asset_convert_product:product": readonly ["create", "read", "update", "delete", "list"];
|
|
243
|
+
readonly "asset_convert_product:order": readonly ["create", "read", "list"];
|
|
232
244
|
readonly "asset:item": readonly ["create", "read", "update", "list"];
|
|
233
245
|
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "get", "update"];
|
|
234
246
|
readonly session: readonly ["list", "revoke", "delete"];
|
|
@@ -274,6 +286,8 @@ export declare const superAdmin: {
|
|
|
274
286
|
readonly "asset_price:price": readonly ["read", "list", "latest"];
|
|
275
287
|
readonly "asset_price:admin": readonly ["create", "read", "list", "latest"];
|
|
276
288
|
readonly "asset-type:type": readonly ["read", "update", "list"];
|
|
289
|
+
readonly "asset_convert_product:product": readonly ["create", "read", "update", "delete", "list"];
|
|
290
|
+
readonly "asset_convert_product:order": readonly ["create", "read", "list"];
|
|
277
291
|
readonly "asset:item": readonly ["create", "read", "update", "list"];
|
|
278
292
|
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "get", "update"];
|
|
279
293
|
readonly session: readonly ["list", "revoke", "delete"];
|
|
@@ -312,6 +326,8 @@ export declare const superAdmin: {
|
|
|
312
326
|
readonly "asset_price:price": readonly ["read", "list", "latest"];
|
|
313
327
|
readonly "asset_price:admin": readonly ["create", "read", "list", "latest"];
|
|
314
328
|
readonly "asset-type:type": readonly ["read", "update", "list"];
|
|
329
|
+
readonly "asset_convert_product:product": readonly ["create", "read", "update", "delete", "list"];
|
|
330
|
+
readonly "asset_convert_product:order": readonly ["create", "read", "list"];
|
|
315
331
|
readonly "asset:item": readonly ["create", "read", "update", "list"];
|
|
316
332
|
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "get", "update"];
|
|
317
333
|
readonly session: readonly ["list", "revoke", "delete"];
|
|
@@ -352,6 +368,8 @@ export declare const superAdmin: {
|
|
|
352
368
|
readonly "asset_price:price": readonly ["read", "list", "latest"];
|
|
353
369
|
readonly "asset_price:admin": readonly ["create", "read", "list", "latest"];
|
|
354
370
|
readonly "asset-type:type": readonly ["read", "update", "list"];
|
|
371
|
+
readonly "asset_convert_product:product": readonly ["create", "read", "update", "delete", "list"];
|
|
372
|
+
readonly "asset_convert_product:order": readonly ["create", "read", "list"];
|
|
355
373
|
readonly "asset:item": readonly ["create", "read", "update", "list"];
|
|
356
374
|
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "get", "update"];
|
|
357
375
|
readonly session: readonly ["list", "revoke", "delete"];
|
|
@@ -397,6 +415,8 @@ export declare const user: {
|
|
|
397
415
|
readonly "asset_price:price": readonly ["read", "list", "latest"];
|
|
398
416
|
readonly "asset_price:admin": readonly ["create", "read", "list", "latest"];
|
|
399
417
|
readonly "asset-type:type": readonly ["read", "update", "list"];
|
|
418
|
+
readonly "asset_convert_product:product": readonly ["create", "read", "update", "delete", "list"];
|
|
419
|
+
readonly "asset_convert_product:order": readonly ["create", "read", "list"];
|
|
400
420
|
readonly "asset:item": readonly ["create", "read", "update", "list"];
|
|
401
421
|
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "get", "update"];
|
|
402
422
|
readonly session: readonly ["list", "revoke", "delete"];
|
|
@@ -435,6 +455,8 @@ export declare const user: {
|
|
|
435
455
|
readonly "asset_price:price": readonly ["read", "list", "latest"];
|
|
436
456
|
readonly "asset_price:admin": readonly ["create", "read", "list", "latest"];
|
|
437
457
|
readonly "asset-type:type": readonly ["read", "update", "list"];
|
|
458
|
+
readonly "asset_convert_product:product": readonly ["create", "read", "update", "delete", "list"];
|
|
459
|
+
readonly "asset_convert_product:order": readonly ["create", "read", "list"];
|
|
438
460
|
readonly "asset:item": readonly ["create", "read", "update", "list"];
|
|
439
461
|
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "get", "update"];
|
|
440
462
|
readonly session: readonly ["list", "revoke", "delete"];
|
|
@@ -475,6 +497,8 @@ export declare const user: {
|
|
|
475
497
|
readonly "asset_price:price": readonly ["read", "list", "latest"];
|
|
476
498
|
readonly "asset_price:admin": readonly ["create", "read", "list", "latest"];
|
|
477
499
|
readonly "asset-type:type": readonly ["read", "update", "list"];
|
|
500
|
+
readonly "asset_convert_product:product": readonly ["create", "read", "update", "delete", "list"];
|
|
501
|
+
readonly "asset_convert_product:order": readonly ["create", "read", "list"];
|
|
478
502
|
readonly "asset:item": readonly ["create", "read", "update", "list"];
|
|
479
503
|
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "get", "update"];
|
|
480
504
|
readonly session: readonly ["list", "revoke", "delete"];
|
|
@@ -520,6 +544,8 @@ export declare const admin: {
|
|
|
520
544
|
readonly "asset_price:price": readonly ["read", "list", "latest"];
|
|
521
545
|
readonly "asset_price:admin": readonly ["create", "read", "list", "latest"];
|
|
522
546
|
readonly "asset-type:type": readonly ["read", "update", "list"];
|
|
547
|
+
readonly "asset_convert_product:product": readonly ["create", "read", "update", "delete", "list"];
|
|
548
|
+
readonly "asset_convert_product:order": readonly ["create", "read", "list"];
|
|
523
549
|
readonly "asset:item": readonly ["create", "read", "update", "list"];
|
|
524
550
|
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "get", "update"];
|
|
525
551
|
readonly session: readonly ["list", "revoke", "delete"];
|
|
@@ -558,6 +584,8 @@ export declare const admin: {
|
|
|
558
584
|
readonly "asset_price:price": readonly ["read", "list", "latest"];
|
|
559
585
|
readonly "asset_price:admin": readonly ["create", "read", "list", "latest"];
|
|
560
586
|
readonly "asset-type:type": readonly ["read", "update", "list"];
|
|
587
|
+
readonly "asset_convert_product:product": readonly ["create", "read", "update", "delete", "list"];
|
|
588
|
+
readonly "asset_convert_product:order": readonly ["create", "read", "list"];
|
|
561
589
|
readonly "asset:item": readonly ["create", "read", "update", "list"];
|
|
562
590
|
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "get", "update"];
|
|
563
591
|
readonly session: readonly ["list", "revoke", "delete"];
|
|
@@ -598,6 +626,8 @@ export declare const admin: {
|
|
|
598
626
|
readonly "asset_price:price": readonly ["read", "list", "latest"];
|
|
599
627
|
readonly "asset_price:admin": readonly ["create", "read", "list", "latest"];
|
|
600
628
|
readonly "asset-type:type": readonly ["read", "update", "list"];
|
|
629
|
+
readonly "asset_convert_product:product": readonly ["create", "read", "update", "delete", "list"];
|
|
630
|
+
readonly "asset_convert_product:order": readonly ["create", "read", "list"];
|
|
601
631
|
readonly "asset:item": readonly ["create", "read", "update", "list"];
|
|
602
632
|
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "get", "update"];
|
|
603
633
|
readonly session: readonly ["list", "revoke", "delete"];
|
package/dist/src/cron/index.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ import { Elysia } from "elysia";
|
|
|
13
13
|
export declare const cronJobs: Elysia<"", {
|
|
14
14
|
decorator: {};
|
|
15
15
|
store: {
|
|
16
|
-
cron: Record<`${string}-health-check`, import("croner").Cron>;
|
|
16
|
+
cron: Record<`${string}-health-check`, import("croner").Cron> & Record<`${string}-welfare-cycle-daily-payout`, import("croner").Cron> & Record<`${string}-welfare-cycle-maturity-settlement`, import("croner").Cron>;
|
|
17
17
|
};
|
|
18
18
|
derive: {};
|
|
19
19
|
resolve: {};
|
|
@@ -61,4 +61,16 @@ export declare const cronJobs: Elysia<"", {
|
|
|
61
61
|
schema: {};
|
|
62
62
|
standaloneSchema: {};
|
|
63
63
|
response: {};
|
|
64
|
+
} & {
|
|
65
|
+
derive: {};
|
|
66
|
+
resolve: {};
|
|
67
|
+
schema: {};
|
|
68
|
+
standaloneSchema: {};
|
|
69
|
+
response: {};
|
|
70
|
+
} & {
|
|
71
|
+
derive: {};
|
|
72
|
+
resolve: {};
|
|
73
|
+
schema: {};
|
|
74
|
+
standaloneSchema: {};
|
|
75
|
+
response: {};
|
|
64
76
|
}>;
|
package/dist/src/db/schemas.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export * from "../user-security/schema";
|
|
|
5
5
|
export * from "../user-kyc/schema";
|
|
6
6
|
export * from "../asset-type/schema";
|
|
7
7
|
export * from "../asset/schema";
|
|
8
|
+
export * from "../asset-convert-product/schema";
|
|
8
9
|
export * from "../asset-price/schema";
|
|
9
10
|
export * from "../wallet-type/schema";
|
|
10
11
|
export * from "../ledger-account-type/schema";
|
|
@@ -2,7 +2,6 @@ export declare const depositOrderSelectModel: import("@sinclair/typebox").TObjec
|
|
|
2
2
|
createdAt: import("@sinclair/typebox").TDate;
|
|
3
3
|
updatedAt: import("@sinclair/typebox").TDate;
|
|
4
4
|
id: import("@sinclair/typebox").TString;
|
|
5
|
-
userId: import("@sinclair/typebox").TString;
|
|
6
5
|
status: import("@sinclair/typebox").TEnum<{
|
|
7
6
|
pending: "pending";
|
|
8
7
|
approved: "approved";
|
|
@@ -10,12 +9,13 @@ export declare const depositOrderSelectModel: import("@sinclair/typebox").TObjec
|
|
|
10
9
|
completed: "completed";
|
|
11
10
|
cancelled: "cancelled";
|
|
12
11
|
}>;
|
|
12
|
+
userId: import("@sinclair/typebox").TString;
|
|
13
|
+
idempotencyKey: import("@sinclair/typebox").TString;
|
|
14
|
+
orderNo: import("@sinclair/typebox").TString;
|
|
13
15
|
reviewedAt: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TDate, import("@sinclair/typebox").TNull]>;
|
|
14
16
|
reviewedBy: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
15
17
|
assetId: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
16
18
|
amount: import("@sinclair/typebox").TString;
|
|
17
|
-
idempotencyKey: import("@sinclair/typebox").TString;
|
|
18
|
-
orderNo: import("@sinclair/typebox").TString;
|
|
19
19
|
targetAccountId: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
20
20
|
actualAmount: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
21
21
|
fee: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
@@ -358,7 +358,6 @@ export declare const depositOrderListResponseModel: import("@sinclair/typebox").
|
|
|
358
358
|
createdAt: import("@sinclair/typebox").TDate;
|
|
359
359
|
updatedAt: import("@sinclair/typebox").TDate;
|
|
360
360
|
id: import("@sinclair/typebox").TString;
|
|
361
|
-
userId: import("@sinclair/typebox").TString;
|
|
362
361
|
status: import("@sinclair/typebox").TEnum<{
|
|
363
362
|
pending: "pending";
|
|
364
363
|
approved: "approved";
|
|
@@ -366,12 +365,13 @@ export declare const depositOrderListResponseModel: import("@sinclair/typebox").
|
|
|
366
365
|
completed: "completed";
|
|
367
366
|
cancelled: "cancelled";
|
|
368
367
|
}>;
|
|
368
|
+
userId: import("@sinclair/typebox").TString;
|
|
369
|
+
idempotencyKey: import("@sinclair/typebox").TString;
|
|
370
|
+
orderNo: import("@sinclair/typebox").TString;
|
|
369
371
|
reviewedAt: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TDate, import("@sinclair/typebox").TNull]>;
|
|
370
372
|
reviewedBy: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
371
373
|
assetId: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
372
374
|
amount: import("@sinclair/typebox").TString;
|
|
373
|
-
idempotencyKey: import("@sinclair/typebox").TString;
|
|
374
|
-
orderNo: import("@sinclair/typebox").TString;
|
|
375
375
|
targetAccountId: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
376
376
|
actualAmount: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
377
377
|
fee: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
@@ -2,7 +2,6 @@ export declare const depositOrderSelectModel: import("@sinclair/typebox").TObjec
|
|
|
2
2
|
createdAt: import("@sinclair/typebox").TDate;
|
|
3
3
|
updatedAt: import("@sinclair/typebox").TDate;
|
|
4
4
|
id: import("@sinclair/typebox").TString;
|
|
5
|
-
userId: import("@sinclair/typebox").TString;
|
|
6
5
|
status: import("@sinclair/typebox").TEnum<{
|
|
7
6
|
pending: "pending";
|
|
8
7
|
approved: "approved";
|
|
@@ -10,12 +9,13 @@ export declare const depositOrderSelectModel: import("@sinclair/typebox").TObjec
|
|
|
10
9
|
completed: "completed";
|
|
11
10
|
cancelled: "cancelled";
|
|
12
11
|
}>;
|
|
12
|
+
userId: import("@sinclair/typebox").TString;
|
|
13
|
+
idempotencyKey: import("@sinclair/typebox").TString;
|
|
14
|
+
orderNo: import("@sinclair/typebox").TString;
|
|
13
15
|
reviewedAt: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TDate, import("@sinclair/typebox").TNull]>;
|
|
14
16
|
reviewedBy: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
15
17
|
assetId: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
16
18
|
amount: import("@sinclair/typebox").TString;
|
|
17
|
-
idempotencyKey: import("@sinclair/typebox").TString;
|
|
18
|
-
orderNo: import("@sinclair/typebox").TString;
|
|
19
19
|
targetAccountId: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
20
20
|
actualAmount: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
21
21
|
fee: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
@@ -356,7 +356,6 @@ export declare const depositOrderListResponseModel: import("@sinclair/typebox").
|
|
|
356
356
|
createdAt: import("@sinclair/typebox").TDate;
|
|
357
357
|
updatedAt: import("@sinclair/typebox").TDate;
|
|
358
358
|
id: import("@sinclair/typebox").TString;
|
|
359
|
-
userId: import("@sinclair/typebox").TString;
|
|
360
359
|
status: import("@sinclair/typebox").TEnum<{
|
|
361
360
|
pending: "pending";
|
|
362
361
|
approved: "approved";
|
|
@@ -364,12 +363,13 @@ export declare const depositOrderListResponseModel: import("@sinclair/typebox").
|
|
|
364
363
|
completed: "completed";
|
|
365
364
|
cancelled: "cancelled";
|
|
366
365
|
}>;
|
|
366
|
+
userId: import("@sinclair/typebox").TString;
|
|
367
|
+
idempotencyKey: import("@sinclair/typebox").TString;
|
|
368
|
+
orderNo: import("@sinclair/typebox").TString;
|
|
367
369
|
reviewedAt: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TDate, import("@sinclair/typebox").TNull]>;
|
|
368
370
|
reviewedBy: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
369
371
|
assetId: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
370
372
|
amount: import("@sinclair/typebox").TString;
|
|
371
|
-
idempotencyKey: import("@sinclair/typebox").TString;
|
|
372
|
-
orderNo: import("@sinclair/typebox").TString;
|
|
373
373
|
targetAccountId: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
374
374
|
actualAmount: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
375
375
|
fee: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
@@ -66,15 +66,15 @@ export declare const fileStorageWithRelationsSchema: import("@sinclair/typebox")
|
|
|
66
66
|
createdAt: import("@sinclair/typebox").TDate;
|
|
67
67
|
updatedAt: import("@sinclair/typebox").TDate;
|
|
68
68
|
id: import("@sinclair/typebox").TString;
|
|
69
|
-
deletedAt: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TDate, import("@sinclair/typebox").TNull]>;
|
|
70
|
-
isVerified: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TBoolean, import("@sinclair/typebox").TNull]>;
|
|
71
|
-
verifiedAt: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TDate, import("@sinclair/typebox").TNull]>;
|
|
72
69
|
status: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TEnum<{
|
|
73
70
|
uploading: "uploading";
|
|
74
71
|
active: "active";
|
|
75
72
|
archived: "archived";
|
|
76
73
|
pending_deletion: "pending_deletion";
|
|
77
74
|
}>, import("@sinclair/typebox").TNull]>;
|
|
75
|
+
deletedAt: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TDate, import("@sinclair/typebox").TNull]>;
|
|
76
|
+
isVerified: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TBoolean, import("@sinclair/typebox").TNull]>;
|
|
77
|
+
verifiedAt: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TDate, import("@sinclair/typebox").TNull]>;
|
|
78
78
|
fileName: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
79
79
|
fileSize: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TInteger, import("@sinclair/typebox").TNull]>;
|
|
80
80
|
mimeType: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
@@ -131,15 +131,15 @@ export declare const listAdminFilesResponseSchema: import("@sinclair/typebox").T
|
|
|
131
131
|
createdAt: import("@sinclair/typebox").TDate;
|
|
132
132
|
updatedAt: import("@sinclair/typebox").TDate;
|
|
133
133
|
id: import("@sinclair/typebox").TString;
|
|
134
|
-
deletedAt: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TDate, import("@sinclair/typebox").TNull]>;
|
|
135
|
-
isVerified: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TBoolean, import("@sinclair/typebox").TNull]>;
|
|
136
|
-
verifiedAt: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TDate, import("@sinclair/typebox").TNull]>;
|
|
137
134
|
status: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TEnum<{
|
|
138
135
|
uploading: "uploading";
|
|
139
136
|
active: "active";
|
|
140
137
|
archived: "archived";
|
|
141
138
|
pending_deletion: "pending_deletion";
|
|
142
139
|
}>, import("@sinclair/typebox").TNull]>;
|
|
140
|
+
deletedAt: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TDate, import("@sinclair/typebox").TNull]>;
|
|
141
|
+
isVerified: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TBoolean, import("@sinclair/typebox").TNull]>;
|
|
142
|
+
verifiedAt: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TDate, import("@sinclair/typebox").TNull]>;
|
|
143
143
|
fileName: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
144
144
|
fileSize: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TInteger, import("@sinclair/typebox").TNull]>;
|
|
145
145
|
mimeType: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|