@r2wa-org/eden 0.0.51 → 0.0.54
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 +1863 -589
- 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 +59 -3
- package/dist/src/auth/permissions.d.ts +41 -1
- package/dist/src/auth/roles.d.ts +120 -0
- package/dist/src/cron/index.d.ts +13 -1
- package/dist/src/db/schemas.d.ts +4 -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 +2811 -845
- 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/market-data/admin/dto.schemas.d.ts +291 -0
- package/dist/src/market-data/admin/router.d.ts +609 -0
- package/dist/src/market-data/admin/service.d.ts +52 -0
- package/dist/src/market-data/cron.d.ts +57 -0
- package/dist/src/market-data/db.schemas.d.ts +516 -0
- package/dist/src/market-data/errors/index.d.ts +12 -0
- package/dist/src/market-data/errors/locales/zh.d.ts +11 -0
- package/dist/src/market-data/index.d.ts +8 -0
- package/dist/src/market-data/internal/service.d.ts +77 -0
- package/dist/src/market-data/permissions.d.ts +6 -0
- package/dist/src/market-data/schema.d.ts +270 -0
- package/dist/src/market-data/user/dto.schemas.d.ts +289 -0
- package/dist/src/market-data/user/router.d.ts +521 -0
- package/dist/src/market-data/user/service.d.ts +30 -0
- package/dist/src/market-pricing/admin/dto.schemas.d.ts +322 -0
- package/dist/src/market-pricing/admin/router.d.ts +835 -0
- package/dist/src/market-pricing/admin/service.d.ts +129 -0
- package/dist/src/market-pricing/cron.d.ts +57 -0
- package/dist/src/market-pricing/db.schemas.d.ts +828 -0
- package/dist/src/market-pricing/errors/index.d.ts +14 -0
- package/dist/src/market-pricing/errors/locales/zh.d.ts +13 -0
- package/dist/src/market-pricing/internal/service.d.ts +35 -0
- package/dist/src/market-pricing/permissions.d.ts +4 -0
- package/dist/src/market-pricing/schema.d.ts +434 -0
- 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/trade-market/admin/dto.schemas.d.ts +762 -0
- package/dist/src/trade-market/admin/router.d.ts +851 -0
- package/dist/src/trade-market/admin/service.d.ts +158 -0
- package/dist/src/trade-market/db.schemas.d.ts +1338 -0
- package/dist/src/trade-market/errors/index.d.ts +22 -0
- package/dist/src/trade-market/errors/locales/zh.d.ts +21 -0
- package/dist/src/trade-market/index.d.ts +8 -0
- package/dist/src/trade-market/internal/service.d.ts +239 -0
- package/dist/src/trade-market/permissions.d.ts +5 -0
- package/dist/src/trade-market/schema.d.ts +708 -0
- package/dist/src/trade-market/user/dto.schemas.d.ts +1394 -0
- package/dist/src/trade-market/user/router.d.ts +754 -0
- package/dist/src/trade-market/user/service.d.ts +147 -0
- 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
|
+
}
|
|
@@ -2359,6 +2359,8 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
2359
2359
|
readonly "wallet:type"?: ("read" | "list" | "create" | "update" | "delete")[] | undefined;
|
|
2360
2360
|
readonly "news:news"?: ("read" | "list" | "create" | "update" | "delete")[] | undefined;
|
|
2361
2361
|
readonly "news:category"?: ("read" | "list" | "create" | "update" | "delete")[] | undefined;
|
|
2362
|
+
readonly "trade_market:market"?: ("read" | "list" | "create" | "update" | "delete")[] | undefined;
|
|
2363
|
+
readonly "trade_market:order"?: ("read" | "list" | "create")[] | undefined;
|
|
2362
2364
|
readonly "transfer:order"?: ("read" | "list" | "create")[] | undefined;
|
|
2363
2365
|
readonly "team:member"?: ("read" | "list" | "stats")[] | undefined;
|
|
2364
2366
|
readonly "referral:depth-config"?: ("read" | "list" | "create" | "update" | "delete")[] | undefined;
|
|
@@ -2369,6 +2371,10 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
2369
2371
|
readonly "notification:admin"?: ("read" | "list" | "create" | "stats")[] | undefined;
|
|
2370
2372
|
readonly "withdraw:manage"?: ("read" | "create")[] | undefined;
|
|
2371
2373
|
readonly "withdraw:review"?: ("read" | "approve" | "reject" | "paid")[] | undefined;
|
|
2374
|
+
readonly "market_data:ticker"?: ("read" | "latest")[] | undefined;
|
|
2375
|
+
readonly "market_data:kline"?: ("read" | "list")[] | undefined;
|
|
2376
|
+
readonly "market_data:admin"?: ("read" | "list" | "run")[] | undefined;
|
|
2377
|
+
readonly "market_pricing:strategy"?: ("read" | "list" | "create" | "update" | "delete" | "run")[] | undefined;
|
|
2372
2378
|
readonly "ledger:entry"?: ("read" | "list" | "view_all" | "adjust")[] | undefined;
|
|
2373
2379
|
readonly "ledger-account:type"?: ("read" | "list" | "create" | "update")[] | undefined;
|
|
2374
2380
|
readonly "ledger-account:account"?: ("read" | "list" | "update")[] | undefined;
|
|
@@ -2382,8 +2388,10 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
2382
2388
|
readonly "user:referral"?: "bind"[] | undefined;
|
|
2383
2389
|
readonly "admin:user-profile"?: ("read" | "list" | "update")[] | undefined;
|
|
2384
2390
|
readonly "asset_price:price"?: ("read" | "list" | "latest")[] | undefined;
|
|
2385
|
-
readonly "asset_price:admin"?: ("read" | "list" | "
|
|
2391
|
+
readonly "asset_price:admin"?: ("read" | "list" | "create" | "latest")[] | undefined;
|
|
2386
2392
|
readonly "asset-type:type"?: ("read" | "list" | "update")[] | undefined;
|
|
2393
|
+
readonly "asset_convert_product:product"?: ("read" | "list" | "create" | "update" | "delete")[] | undefined;
|
|
2394
|
+
readonly "asset_convert_product:order"?: ("read" | "list" | "create")[] | undefined;
|
|
2387
2395
|
readonly "asset:item"?: ("read" | "list" | "create" | "update")[] | undefined;
|
|
2388
2396
|
readonly user?: ("list" | "create" | "update" | "delete" | "set-role" | "ban" | "impersonate" | "set-password" | "get")[] | undefined;
|
|
2389
2397
|
readonly session?: ("list" | "delete" | "revoke")[] | undefined;
|
|
@@ -2399,6 +2407,8 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
2399
2407
|
readonly "wallet:type"?: ("read" | "list" | "create" | "update" | "delete")[] | undefined;
|
|
2400
2408
|
readonly "news:news"?: ("read" | "list" | "create" | "update" | "delete")[] | undefined;
|
|
2401
2409
|
readonly "news:category"?: ("read" | "list" | "create" | "update" | "delete")[] | undefined;
|
|
2410
|
+
readonly "trade_market:market"?: ("read" | "list" | "create" | "update" | "delete")[] | undefined;
|
|
2411
|
+
readonly "trade_market:order"?: ("read" | "list" | "create")[] | undefined;
|
|
2402
2412
|
readonly "transfer:order"?: ("read" | "list" | "create")[] | undefined;
|
|
2403
2413
|
readonly "team:member"?: ("read" | "list" | "stats")[] | undefined;
|
|
2404
2414
|
readonly "referral:depth-config"?: ("read" | "list" | "create" | "update" | "delete")[] | undefined;
|
|
@@ -2409,6 +2419,10 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
2409
2419
|
readonly "notification:admin"?: ("read" | "list" | "create" | "stats")[] | undefined;
|
|
2410
2420
|
readonly "withdraw:manage"?: ("read" | "create")[] | undefined;
|
|
2411
2421
|
readonly "withdraw:review"?: ("read" | "approve" | "reject" | "paid")[] | undefined;
|
|
2422
|
+
readonly "market_data:ticker"?: ("read" | "latest")[] | undefined;
|
|
2423
|
+
readonly "market_data:kline"?: ("read" | "list")[] | undefined;
|
|
2424
|
+
readonly "market_data:admin"?: ("read" | "list" | "run")[] | undefined;
|
|
2425
|
+
readonly "market_pricing:strategy"?: ("read" | "list" | "create" | "update" | "delete" | "run")[] | undefined;
|
|
2412
2426
|
readonly "ledger:entry"?: ("read" | "list" | "view_all" | "adjust")[] | undefined;
|
|
2413
2427
|
readonly "ledger-account:type"?: ("read" | "list" | "create" | "update")[] | undefined;
|
|
2414
2428
|
readonly "ledger-account:account"?: ("read" | "list" | "update")[] | undefined;
|
|
@@ -2422,8 +2436,10 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
2422
2436
|
readonly "user:referral"?: "bind"[] | undefined;
|
|
2423
2437
|
readonly "admin:user-profile"?: ("read" | "list" | "update")[] | undefined;
|
|
2424
2438
|
readonly "asset_price:price"?: ("read" | "list" | "latest")[] | undefined;
|
|
2425
|
-
readonly "asset_price:admin"?: ("read" | "list" | "
|
|
2439
|
+
readonly "asset_price:admin"?: ("read" | "list" | "create" | "latest")[] | undefined;
|
|
2426
2440
|
readonly "asset-type:type"?: ("read" | "list" | "update")[] | undefined;
|
|
2441
|
+
readonly "asset_convert_product:product"?: ("read" | "list" | "create" | "update" | "delete")[] | undefined;
|
|
2442
|
+
readonly "asset_convert_product:order"?: ("read" | "list" | "create")[] | undefined;
|
|
2427
2443
|
readonly "asset:item"?: ("read" | "list" | "create" | "update")[] | undefined;
|
|
2428
2444
|
readonly user?: ("list" | "create" | "update" | "delete" | "set-role" | "ban" | "impersonate" | "set-password" | "get")[] | undefined;
|
|
2429
2445
|
readonly session?: ("list" | "delete" | "revoke")[] | undefined;
|
|
@@ -2500,7 +2516,7 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
2500
2516
|
};
|
|
2501
2517
|
options: NoInfer<{
|
|
2502
2518
|
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, {
|
|
2519
|
+
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" | "trade_market:market" | "trade_market:order" | "transfer:order" | "team:member" | "referral:depth-config" | "referral:relation" | "shipping_address:item" | "receipt_method:item" | "notification:notification" | "notification:admin" | "withdraw:manage" | "withdraw:review" | "market_data:ticker" | "market_data:kline" | "market_data:admin" | "market_pricing:strategy" | "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
2520
|
readonly "welfare_cycle:plan": readonly ["create", "read", "update", "delete", "list"];
|
|
2505
2521
|
readonly "welfare_cycle:subscription": readonly ["create", "read", "list"];
|
|
2506
2522
|
readonly "welfare_cycle:payout": readonly ["create", "read", "list"];
|
|
@@ -2509,6 +2525,8 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
2509
2525
|
readonly "wallet:type": readonly ["create", "read", "update", "delete", "list"];
|
|
2510
2526
|
readonly "news:news": readonly ["create", "read", "update", "delete", "list"];
|
|
2511
2527
|
readonly "news:category": readonly ["create", "read", "update", "delete", "list"];
|
|
2528
|
+
readonly "trade_market:market": readonly ["create", "read", "update", "delete", "list"];
|
|
2529
|
+
readonly "trade_market:order": readonly ["create", "read", "list"];
|
|
2512
2530
|
readonly "transfer:order": readonly ["create", "read", "list"];
|
|
2513
2531
|
readonly "team:member": readonly ["read", "list", "stats"];
|
|
2514
2532
|
readonly "referral:depth-config": readonly ["create", "read", "update", "delete", "list"];
|
|
@@ -2519,6 +2537,10 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
2519
2537
|
readonly "notification:admin": readonly ["create", "read", "list", "stats"];
|
|
2520
2538
|
readonly "withdraw:manage": readonly ["create", "read"];
|
|
2521
2539
|
readonly "withdraw:review": readonly ["read", "approve", "reject", "paid"];
|
|
2540
|
+
readonly "market_data:ticker": readonly ["read", "latest"];
|
|
2541
|
+
readonly "market_data:kline": readonly ["read", "list"];
|
|
2542
|
+
readonly "market_data:admin": readonly ["read", "list", "run"];
|
|
2543
|
+
readonly "market_pricing:strategy": readonly ["create", "read", "update", "delete", "list", "run"];
|
|
2522
2544
|
readonly "ledger:entry": readonly ["read", "list", "view_all", "adjust"];
|
|
2523
2545
|
readonly "ledger-account:type": readonly ["create", "read", "update", "list"];
|
|
2524
2546
|
readonly "ledger-account:account": readonly ["read", "update", "list"];
|
|
@@ -2534,6 +2556,8 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
2534
2556
|
readonly "asset_price:price": readonly ["read", "list", "latest"];
|
|
2535
2557
|
readonly "asset_price:admin": readonly ["create", "read", "list", "latest"];
|
|
2536
2558
|
readonly "asset-type:type": readonly ["read", "update", "list"];
|
|
2559
|
+
readonly "asset_convert_product:product": readonly ["create", "read", "update", "delete", "list"];
|
|
2560
|
+
readonly "asset_convert_product:order": readonly ["create", "read", "list"];
|
|
2537
2561
|
readonly "asset:item": readonly ["create", "read", "update", "list"];
|
|
2538
2562
|
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "get", "update"];
|
|
2539
2563
|
readonly session: readonly ["list", "revoke", "delete"];
|
|
@@ -2547,6 +2571,8 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
2547
2571
|
readonly "wallet:type": readonly ["create", "read", "update", "delete", "list"];
|
|
2548
2572
|
readonly "news:news": readonly ["create", "read", "update", "delete", "list"];
|
|
2549
2573
|
readonly "news:category": readonly ["create", "read", "update", "delete", "list"];
|
|
2574
|
+
readonly "trade_market:market": readonly ["create", "read", "update", "delete", "list"];
|
|
2575
|
+
readonly "trade_market:order": readonly ["create", "read", "list"];
|
|
2550
2576
|
readonly "transfer:order": readonly ["create", "read", "list"];
|
|
2551
2577
|
readonly "team:member": readonly ["read", "list", "stats"];
|
|
2552
2578
|
readonly "referral:depth-config": readonly ["create", "read", "update", "delete", "list"];
|
|
@@ -2557,6 +2583,10 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
2557
2583
|
readonly "notification:admin": readonly ["create", "read", "list", "stats"];
|
|
2558
2584
|
readonly "withdraw:manage": readonly ["create", "read"];
|
|
2559
2585
|
readonly "withdraw:review": readonly ["read", "approve", "reject", "paid"];
|
|
2586
|
+
readonly "market_data:ticker": readonly ["read", "latest"];
|
|
2587
|
+
readonly "market_data:kline": readonly ["read", "list"];
|
|
2588
|
+
readonly "market_data:admin": readonly ["read", "list", "run"];
|
|
2589
|
+
readonly "market_pricing:strategy": readonly ["create", "read", "update", "delete", "list", "run"];
|
|
2560
2590
|
readonly "ledger:entry": readonly ["read", "list", "view_all", "adjust"];
|
|
2561
2591
|
readonly "ledger-account:type": readonly ["create", "read", "update", "list"];
|
|
2562
2592
|
readonly "ledger-account:account": readonly ["read", "update", "list"];
|
|
@@ -2572,6 +2602,8 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
2572
2602
|
readonly "asset_price:price": readonly ["read", "list", "latest"];
|
|
2573
2603
|
readonly "asset_price:admin": readonly ["create", "read", "list", "latest"];
|
|
2574
2604
|
readonly "asset-type:type": readonly ["read", "update", "list"];
|
|
2605
|
+
readonly "asset_convert_product:product": readonly ["create", "read", "update", "delete", "list"];
|
|
2606
|
+
readonly "asset_convert_product:order": readonly ["create", "read", "list"];
|
|
2575
2607
|
readonly "asset:item": readonly ["create", "read", "update", "list"];
|
|
2576
2608
|
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "get", "update"];
|
|
2577
2609
|
readonly session: readonly ["list", "revoke", "delete"];
|
|
@@ -2585,6 +2617,8 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
2585
2617
|
readonly "wallet:type": readonly ["create", "read", "update", "delete", "list"];
|
|
2586
2618
|
readonly "news:news": readonly ["create", "read", "update", "delete", "list"];
|
|
2587
2619
|
readonly "news:category": readonly ["create", "read", "update", "delete", "list"];
|
|
2620
|
+
readonly "trade_market:market": readonly ["create", "read", "update", "delete", "list"];
|
|
2621
|
+
readonly "trade_market:order": readonly ["create", "read", "list"];
|
|
2588
2622
|
readonly "transfer:order": readonly ["create", "read", "list"];
|
|
2589
2623
|
readonly "team:member": readonly ["read", "list", "stats"];
|
|
2590
2624
|
readonly "referral:depth-config": readonly ["create", "read", "update", "delete", "list"];
|
|
@@ -2595,6 +2629,10 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
2595
2629
|
readonly "notification:admin": readonly ["create", "read", "list", "stats"];
|
|
2596
2630
|
readonly "withdraw:manage": readonly ["create", "read"];
|
|
2597
2631
|
readonly "withdraw:review": readonly ["read", "approve", "reject", "paid"];
|
|
2632
|
+
readonly "market_data:ticker": readonly ["read", "latest"];
|
|
2633
|
+
readonly "market_data:kline": readonly ["read", "list"];
|
|
2634
|
+
readonly "market_data:admin": readonly ["read", "list", "run"];
|
|
2635
|
+
readonly "market_pricing:strategy": readonly ["create", "read", "update", "delete", "list", "run"];
|
|
2598
2636
|
readonly "ledger:entry": readonly ["read", "list", "view_all", "adjust"];
|
|
2599
2637
|
readonly "ledger-account:type": readonly ["create", "read", "update", "list"];
|
|
2600
2638
|
readonly "ledger-account:account": readonly ["read", "update", "list"];
|
|
@@ -2610,6 +2648,8 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
2610
2648
|
readonly "asset_price:price": readonly ["read", "list", "latest"];
|
|
2611
2649
|
readonly "asset_price:admin": readonly ["create", "read", "list", "latest"];
|
|
2612
2650
|
readonly "asset-type:type": readonly ["read", "update", "list"];
|
|
2651
|
+
readonly "asset_convert_product:product": readonly ["create", "read", "update", "delete", "list"];
|
|
2652
|
+
readonly "asset_convert_product:order": readonly ["create", "read", "list"];
|
|
2613
2653
|
readonly "asset:item": readonly ["create", "read", "update", "list"];
|
|
2614
2654
|
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "get", "update"];
|
|
2615
2655
|
readonly session: readonly ["list", "revoke", "delete"];
|
|
@@ -2625,6 +2665,8 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
2625
2665
|
readonly "wallet:type": readonly ["create", "read", "update", "delete", "list"];
|
|
2626
2666
|
readonly "news:news": readonly ["create", "read", "update", "delete", "list"];
|
|
2627
2667
|
readonly "news:category": readonly ["create", "read", "update", "delete", "list"];
|
|
2668
|
+
readonly "trade_market:market": readonly ["create", "read", "update", "delete", "list"];
|
|
2669
|
+
readonly "trade_market:order": readonly ["create", "read", "list"];
|
|
2628
2670
|
readonly "transfer:order": readonly ["create", "read", "list"];
|
|
2629
2671
|
readonly "team:member": readonly ["read", "list", "stats"];
|
|
2630
2672
|
readonly "referral:depth-config": readonly ["create", "read", "update", "delete", "list"];
|
|
@@ -2635,6 +2677,10 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
2635
2677
|
readonly "notification:admin": readonly ["create", "read", "list", "stats"];
|
|
2636
2678
|
readonly "withdraw:manage": readonly ["create", "read"];
|
|
2637
2679
|
readonly "withdraw:review": readonly ["read", "approve", "reject", "paid"];
|
|
2680
|
+
readonly "market_data:ticker": readonly ["read", "latest"];
|
|
2681
|
+
readonly "market_data:kline": readonly ["read", "list"];
|
|
2682
|
+
readonly "market_data:admin": readonly ["read", "list", "run"];
|
|
2683
|
+
readonly "market_pricing:strategy": readonly ["create", "read", "update", "delete", "list", "run"];
|
|
2638
2684
|
readonly "ledger:entry": readonly ["read", "list", "view_all", "adjust"];
|
|
2639
2685
|
readonly "ledger-account:type": readonly ["create", "read", "update", "list"];
|
|
2640
2686
|
readonly "ledger-account:account": readonly ["read", "update", "list"];
|
|
@@ -2650,6 +2696,8 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
2650
2696
|
readonly "asset_price:price": readonly ["read", "list", "latest"];
|
|
2651
2697
|
readonly "asset_price:admin": readonly ["create", "read", "list", "latest"];
|
|
2652
2698
|
readonly "asset-type:type": readonly ["read", "update", "list"];
|
|
2699
|
+
readonly "asset_convert_product:product": readonly ["create", "read", "update", "delete", "list"];
|
|
2700
|
+
readonly "asset_convert_product:order": readonly ["create", "read", "list"];
|
|
2653
2701
|
readonly "asset:item": readonly ["create", "read", "update", "list"];
|
|
2654
2702
|
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "get", "update"];
|
|
2655
2703
|
readonly session: readonly ["list", "revoke", "delete"];
|
|
@@ -2664,6 +2712,8 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
2664
2712
|
readonly "wallet:type": readonly ["create", "read", "update", "delete", "list"];
|
|
2665
2713
|
readonly "news:news": readonly ["create", "read", "update", "delete", "list"];
|
|
2666
2714
|
readonly "news:category": readonly ["create", "read", "update", "delete", "list"];
|
|
2715
|
+
readonly "trade_market:market": readonly ["create", "read", "update", "delete", "list"];
|
|
2716
|
+
readonly "trade_market:order": readonly ["create", "read", "list"];
|
|
2667
2717
|
readonly "transfer:order": readonly ["create", "read", "list"];
|
|
2668
2718
|
readonly "team:member": readonly ["read", "list", "stats"];
|
|
2669
2719
|
readonly "referral:depth-config": readonly ["create", "read", "update", "delete", "list"];
|
|
@@ -2674,6 +2724,10 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
2674
2724
|
readonly "notification:admin": readonly ["create", "read", "list", "stats"];
|
|
2675
2725
|
readonly "withdraw:manage": readonly ["create", "read"];
|
|
2676
2726
|
readonly "withdraw:review": readonly ["read", "approve", "reject", "paid"];
|
|
2727
|
+
readonly "market_data:ticker": readonly ["read", "latest"];
|
|
2728
|
+
readonly "market_data:kline": readonly ["read", "list"];
|
|
2729
|
+
readonly "market_data:admin": readonly ["read", "list", "run"];
|
|
2730
|
+
readonly "market_pricing:strategy": readonly ["create", "read", "update", "delete", "list", "run"];
|
|
2677
2731
|
readonly "ledger:entry": readonly ["read", "list", "view_all", "adjust"];
|
|
2678
2732
|
readonly "ledger-account:type": readonly ["create", "read", "update", "list"];
|
|
2679
2733
|
readonly "ledger-account:account": readonly ["read", "update", "list"];
|
|
@@ -2689,6 +2743,8 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
2689
2743
|
readonly "asset_price:price": readonly ["read", "list", "latest"];
|
|
2690
2744
|
readonly "asset_price:admin": readonly ["create", "read", "list", "latest"];
|
|
2691
2745
|
readonly "asset-type:type": readonly ["read", "update", "list"];
|
|
2746
|
+
readonly "asset_convert_product:product": readonly ["create", "read", "update", "delete", "list"];
|
|
2747
|
+
readonly "asset_convert_product:order": readonly ["create", "read", "list"];
|
|
2692
2748
|
readonly "asset:item": readonly ["create", "read", "update", "list"];
|
|
2693
2749
|
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "get", "update"];
|
|
2694
2750
|
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" | "trade_market:market" | "trade_market:order" | "transfer:order" | "team:member" | "referral:depth-config" | "referral:relation" | "shipping_address:item" | "receipt_method:item" | "notification:notification" | "notification:admin" | "withdraw:manage" | "withdraw:review" | "market_data:ticker" | "market_data:kline" | "market_data:admin" | "market_pricing:strategy" | "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"];
|
|
@@ -8,6 +8,8 @@ export declare const ac: {
|
|
|
8
8
|
readonly "wallet:type": readonly ["create", "read", "update", "delete", "list"];
|
|
9
9
|
readonly "news:news": readonly ["create", "read", "update", "delete", "list"];
|
|
10
10
|
readonly "news:category": readonly ["create", "read", "update", "delete", "list"];
|
|
11
|
+
readonly "trade_market:market": readonly ["create", "read", "update", "delete", "list"];
|
|
12
|
+
readonly "trade_market:order": readonly ["create", "read", "list"];
|
|
11
13
|
readonly "transfer:order": readonly ["create", "read", "list"];
|
|
12
14
|
readonly "team:member": readonly ["read", "list", "stats"];
|
|
13
15
|
readonly "referral:depth-config": readonly ["create", "read", "update", "delete", "list"];
|
|
@@ -18,6 +20,10 @@ export declare const ac: {
|
|
|
18
20
|
readonly "notification:admin": readonly ["create", "read", "list", "stats"];
|
|
19
21
|
readonly "withdraw:manage": readonly ["create", "read"];
|
|
20
22
|
readonly "withdraw:review": readonly ["read", "approve", "reject", "paid"];
|
|
23
|
+
readonly "market_data:ticker": readonly ["read", "latest"];
|
|
24
|
+
readonly "market_data:kline": readonly ["read", "list"];
|
|
25
|
+
readonly "market_data:admin": readonly ["read", "list", "run"];
|
|
26
|
+
readonly "market_pricing:strategy": readonly ["create", "read", "update", "delete", "list", "run"];
|
|
21
27
|
readonly "ledger:entry": readonly ["read", "list", "view_all", "adjust"];
|
|
22
28
|
readonly "ledger-account:type": readonly ["create", "read", "update", "list"];
|
|
23
29
|
readonly "ledger-account:account": readonly ["read", "update", "list"];
|
|
@@ -33,6 +39,8 @@ export declare const ac: {
|
|
|
33
39
|
readonly "asset_price:price": readonly ["read", "list", "latest"];
|
|
34
40
|
readonly "asset_price:admin": readonly ["create", "read", "list", "latest"];
|
|
35
41
|
readonly "asset-type:type": readonly ["read", "update", "list"];
|
|
42
|
+
readonly "asset_convert_product:product": readonly ["create", "read", "update", "delete", "list"];
|
|
43
|
+
readonly "asset_convert_product:order": readonly ["create", "read", "list"];
|
|
36
44
|
readonly "asset:item": readonly ["create", "read", "update", "list"];
|
|
37
45
|
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "get", "update"];
|
|
38
46
|
readonly session: readonly ["list", "revoke", "delete"];
|
|
@@ -46,6 +54,8 @@ export declare const ac: {
|
|
|
46
54
|
readonly "wallet:type": readonly ["create", "read", "update", "delete", "list"];
|
|
47
55
|
readonly "news:news": readonly ["create", "read", "update", "delete", "list"];
|
|
48
56
|
readonly "news:category": readonly ["create", "read", "update", "delete", "list"];
|
|
57
|
+
readonly "trade_market:market": readonly ["create", "read", "update", "delete", "list"];
|
|
58
|
+
readonly "trade_market:order": readonly ["create", "read", "list"];
|
|
49
59
|
readonly "transfer:order": readonly ["create", "read", "list"];
|
|
50
60
|
readonly "team:member": readonly ["read", "list", "stats"];
|
|
51
61
|
readonly "referral:depth-config": readonly ["create", "read", "update", "delete", "list"];
|
|
@@ -56,6 +66,10 @@ export declare const ac: {
|
|
|
56
66
|
readonly "notification:admin": readonly ["create", "read", "list", "stats"];
|
|
57
67
|
readonly "withdraw:manage": readonly ["create", "read"];
|
|
58
68
|
readonly "withdraw:review": readonly ["read", "approve", "reject", "paid"];
|
|
69
|
+
readonly "market_data:ticker": readonly ["read", "latest"];
|
|
70
|
+
readonly "market_data:kline": readonly ["read", "list"];
|
|
71
|
+
readonly "market_data:admin": readonly ["read", "list", "run"];
|
|
72
|
+
readonly "market_pricing:strategy": readonly ["create", "read", "update", "delete", "list", "run"];
|
|
59
73
|
readonly "ledger:entry": readonly ["read", "list", "view_all", "adjust"];
|
|
60
74
|
readonly "ledger-account:type": readonly ["create", "read", "update", "list"];
|
|
61
75
|
readonly "ledger-account:account": readonly ["read", "update", "list"];
|
|
@@ -71,6 +85,8 @@ export declare const ac: {
|
|
|
71
85
|
readonly "asset_price:price": readonly ["read", "list", "latest"];
|
|
72
86
|
readonly "asset_price:admin": readonly ["create", "read", "list", "latest"];
|
|
73
87
|
readonly "asset-type:type": readonly ["read", "update", "list"];
|
|
88
|
+
readonly "asset_convert_product:product": readonly ["create", "read", "update", "delete", "list"];
|
|
89
|
+
readonly "asset_convert_product:order": readonly ["create", "read", "list"];
|
|
74
90
|
readonly "asset:item": readonly ["create", "read", "update", "list"];
|
|
75
91
|
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "get", "update"];
|
|
76
92
|
readonly session: readonly ["list", "revoke", "delete"];
|
|
@@ -84,6 +100,8 @@ export declare const ac: {
|
|
|
84
100
|
readonly "wallet:type": readonly ["create", "read", "update", "delete", "list"];
|
|
85
101
|
readonly "news:news": readonly ["create", "read", "update", "delete", "list"];
|
|
86
102
|
readonly "news:category": readonly ["create", "read", "update", "delete", "list"];
|
|
103
|
+
readonly "trade_market:market": readonly ["create", "read", "update", "delete", "list"];
|
|
104
|
+
readonly "trade_market:order": readonly ["create", "read", "list"];
|
|
87
105
|
readonly "transfer:order": readonly ["create", "read", "list"];
|
|
88
106
|
readonly "team:member": readonly ["read", "list", "stats"];
|
|
89
107
|
readonly "referral:depth-config": readonly ["create", "read", "update", "delete", "list"];
|
|
@@ -94,6 +112,10 @@ export declare const ac: {
|
|
|
94
112
|
readonly "notification:admin": readonly ["create", "read", "list", "stats"];
|
|
95
113
|
readonly "withdraw:manage": readonly ["create", "read"];
|
|
96
114
|
readonly "withdraw:review": readonly ["read", "approve", "reject", "paid"];
|
|
115
|
+
readonly "market_data:ticker": readonly ["read", "latest"];
|
|
116
|
+
readonly "market_data:kline": readonly ["read", "list"];
|
|
117
|
+
readonly "market_data:admin": readonly ["read", "list", "run"];
|
|
118
|
+
readonly "market_pricing:strategy": readonly ["create", "read", "update", "delete", "list", "run"];
|
|
97
119
|
readonly "ledger:entry": readonly ["read", "list", "view_all", "adjust"];
|
|
98
120
|
readonly "ledger-account:type": readonly ["create", "read", "update", "list"];
|
|
99
121
|
readonly "ledger-account:account": readonly ["read", "update", "list"];
|
|
@@ -109,6 +131,8 @@ export declare const ac: {
|
|
|
109
131
|
readonly "asset_price:price": readonly ["read", "list", "latest"];
|
|
110
132
|
readonly "asset_price:admin": readonly ["create", "read", "list", "latest"];
|
|
111
133
|
readonly "asset-type:type": readonly ["read", "update", "list"];
|
|
134
|
+
readonly "asset_convert_product:product": readonly ["create", "read", "update", "delete", "list"];
|
|
135
|
+
readonly "asset_convert_product:order": readonly ["create", "read", "list"];
|
|
112
136
|
readonly "asset:item": readonly ["create", "read", "update", "list"];
|
|
113
137
|
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "get", "update"];
|
|
114
138
|
readonly session: readonly ["list", "revoke", "delete"];
|
|
@@ -124,6 +148,8 @@ export declare const ac: {
|
|
|
124
148
|
readonly "wallet:type": readonly ["create", "read", "update", "delete", "list"];
|
|
125
149
|
readonly "news:news": readonly ["create", "read", "update", "delete", "list"];
|
|
126
150
|
readonly "news:category": readonly ["create", "read", "update", "delete", "list"];
|
|
151
|
+
readonly "trade_market:market": readonly ["create", "read", "update", "delete", "list"];
|
|
152
|
+
readonly "trade_market:order": readonly ["create", "read", "list"];
|
|
127
153
|
readonly "transfer:order": readonly ["create", "read", "list"];
|
|
128
154
|
readonly "team:member": readonly ["read", "list", "stats"];
|
|
129
155
|
readonly "referral:depth-config": readonly ["create", "read", "update", "delete", "list"];
|
|
@@ -134,6 +160,10 @@ export declare const ac: {
|
|
|
134
160
|
readonly "notification:admin": readonly ["create", "read", "list", "stats"];
|
|
135
161
|
readonly "withdraw:manage": readonly ["create", "read"];
|
|
136
162
|
readonly "withdraw:review": readonly ["read", "approve", "reject", "paid"];
|
|
163
|
+
readonly "market_data:ticker": readonly ["read", "latest"];
|
|
164
|
+
readonly "market_data:kline": readonly ["read", "list"];
|
|
165
|
+
readonly "market_data:admin": readonly ["read", "list", "run"];
|
|
166
|
+
readonly "market_pricing:strategy": readonly ["create", "read", "update", "delete", "list", "run"];
|
|
137
167
|
readonly "ledger:entry": readonly ["read", "list", "view_all", "adjust"];
|
|
138
168
|
readonly "ledger-account:type": readonly ["create", "read", "update", "list"];
|
|
139
169
|
readonly "ledger-account:account": readonly ["read", "update", "list"];
|
|
@@ -149,6 +179,8 @@ export declare const ac: {
|
|
|
149
179
|
readonly "asset_price:price": readonly ["read", "list", "latest"];
|
|
150
180
|
readonly "asset_price:admin": readonly ["create", "read", "list", "latest"];
|
|
151
181
|
readonly "asset-type:type": readonly ["read", "update", "list"];
|
|
182
|
+
readonly "asset_convert_product:product": readonly ["create", "read", "update", "delete", "list"];
|
|
183
|
+
readonly "asset_convert_product:order": readonly ["create", "read", "list"];
|
|
152
184
|
readonly "asset:item": readonly ["create", "read", "update", "list"];
|
|
153
185
|
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "get", "update"];
|
|
154
186
|
readonly session: readonly ["list", "revoke", "delete"];
|
|
@@ -163,6 +195,8 @@ export declare const ac: {
|
|
|
163
195
|
readonly "wallet:type": readonly ["create", "read", "update", "delete", "list"];
|
|
164
196
|
readonly "news:news": readonly ["create", "read", "update", "delete", "list"];
|
|
165
197
|
readonly "news:category": readonly ["create", "read", "update", "delete", "list"];
|
|
198
|
+
readonly "trade_market:market": readonly ["create", "read", "update", "delete", "list"];
|
|
199
|
+
readonly "trade_market:order": readonly ["create", "read", "list"];
|
|
166
200
|
readonly "transfer:order": readonly ["create", "read", "list"];
|
|
167
201
|
readonly "team:member": readonly ["read", "list", "stats"];
|
|
168
202
|
readonly "referral:depth-config": readonly ["create", "read", "update", "delete", "list"];
|
|
@@ -173,6 +207,10 @@ export declare const ac: {
|
|
|
173
207
|
readonly "notification:admin": readonly ["create", "read", "list", "stats"];
|
|
174
208
|
readonly "withdraw:manage": readonly ["create", "read"];
|
|
175
209
|
readonly "withdraw:review": readonly ["read", "approve", "reject", "paid"];
|
|
210
|
+
readonly "market_data:ticker": readonly ["read", "latest"];
|
|
211
|
+
readonly "market_data:kline": readonly ["read", "list"];
|
|
212
|
+
readonly "market_data:admin": readonly ["read", "list", "run"];
|
|
213
|
+
readonly "market_pricing:strategy": readonly ["create", "read", "update", "delete", "list", "run"];
|
|
176
214
|
readonly "ledger:entry": readonly ["read", "list", "view_all", "adjust"];
|
|
177
215
|
readonly "ledger-account:type": readonly ["create", "read", "update", "list"];
|
|
178
216
|
readonly "ledger-account:account": readonly ["read", "update", "list"];
|
|
@@ -188,6 +226,8 @@ export declare const ac: {
|
|
|
188
226
|
readonly "asset_price:price": readonly ["read", "list", "latest"];
|
|
189
227
|
readonly "asset_price:admin": readonly ["create", "read", "list", "latest"];
|
|
190
228
|
readonly "asset-type:type": readonly ["read", "update", "list"];
|
|
229
|
+
readonly "asset_convert_product:product": readonly ["create", "read", "update", "delete", "list"];
|
|
230
|
+
readonly "asset_convert_product:order": readonly ["create", "read", "list"];
|
|
191
231
|
readonly "asset:item": readonly ["create", "read", "update", "list"];
|
|
192
232
|
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "get", "update"];
|
|
193
233
|
readonly session: readonly ["list", "revoke", "delete"];
|