@eaera-com/client-sdk 0.0.1383
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/LICENSE +19 -0
- package/README.md +1 -0
- package/dist/account/index.d.ts +56 -0
- package/dist/activity_log/index.d.ts +6 -0
- package/dist/auth/index.d.ts +20 -0
- package/dist/auth/types.d.ts +11 -0
- package/dist/base.d.ts +29 -0
- package/dist/captcha/index.d.ts +5 -0
- package/dist/category/index.d.ts +9 -0
- package/dist/channels/accounts.d.ts +11 -0
- package/dist/channels/metrics.d.ts +8 -0
- package/dist/channels/position.d.ts +13 -0
- package/dist/channels/users.d.ts +34 -0
- package/dist/client/index.d.ts +16 -0
- package/dist/client_sdk.d.ts +60 -0
- package/dist/commission_profile/index.d.ts +10 -0
- package/dist/common/constants/category.constant.d.ts +31 -0
- package/dist/common/constants/communication.constant.d.ts +7 -0
- package/dist/common/constants/index.d.ts +8 -0
- package/dist/common/constants/listStatus.constants.d.ts +2 -0
- package/dist/common/constants/methods.constant.d.ts +39 -0
- package/dist/common/constants/site-settings.constants.d.ts +5 -0
- package/dist/common/constants/store.constants.d.ts +1 -0
- package/dist/common/constants/supportTicket.constant.d.ts +4 -0
- package/dist/common/constants/type.constants.d.ts +2 -0
- package/dist/common/index.d.ts +2 -0
- package/dist/common/types/addon.types.d.ts +34 -0
- package/dist/common/types/category.types.d.ts +6 -0
- package/dist/common/types/communication.types.d.ts +1 -0
- package/dist/common/types/email.types.d.ts +1 -0
- package/dist/common/types/index.d.ts +6 -0
- package/dist/common/types/liveNotification.types.d.ts +10 -0
- package/dist/common/types/site-setting.d.ts +73 -0
- package/dist/common/use-utils/data/countriesWithCurrencies.d.ts +7 -0
- package/dist/common/use-utils/data/dragonpayBank.d.ts +6 -0
- package/dist/common/use-utils/data/help2pay_banks.d.ts +7 -0
- package/dist/common/use-utils/data/listCryptoCurrencies.d.ts +5 -0
- package/dist/common/use-utils/data/regions.d.ts +16 -0
- package/dist/common/use-utils/data/widgets.d.ts +4 -0
- package/dist/common/use-utils/index.d.ts +69 -0
- package/dist/common/use-utils/schema/fundingMethod.schema.d.ts +1016 -0
- package/dist/common/use-utils/validators/index.d.ts +1 -0
- package/dist/contact/index.d.ts +9 -0
- package/dist/content/index.d.ts +17 -0
- package/dist/content_type/index.d.ts +8 -0
- package/dist/conversion_rate/index.d.ts +7 -0
- package/dist/coupon/index.d.ts +14 -0
- package/dist/coupon/type.d.ts +35 -0
- package/dist/department/index.d.ts +10 -0
- package/dist/devices/index.d.ts +6 -0
- package/dist/ecommerce/category.d.ts +9 -0
- package/dist/ecommerce/coupon.d.ts +16 -0
- package/dist/ecommerce/index.d.ts +16 -0
- package/dist/ecommerce/product.d.ts +12 -0
- package/dist/ecommerce/product_attribute.d.ts +9 -0
- package/dist/ecommerce/purchases.d.ts +13 -0
- package/dist/email-layout/index.d.ts +10 -0
- package/dist/email-template/index.d.ts +15 -0
- package/dist/employee/index.d.ts +15 -0
- package/dist/folder/index.d.ts +12 -0
- package/dist/funding-source/index.d.ts +10 -0
- package/dist/gamification_campaign/index.d.ts +9 -0
- package/dist/ib/index.d.ts +24 -0
- package/dist/index.d.ts +1510 -0
- package/dist/index.js +35135 -0
- package/dist/kycs/index.d.ts +18 -0
- package/dist/lead/index.d.ts +13 -0
- package/dist/metric/index.d.ts +7 -0
- package/dist/news/index.d.ts +14 -0
- package/dist/news/news.type.d.ts +17 -0
- package/dist/note/index.d.ts +8 -0
- package/dist/notification-center/NotificationCenter.types.d.ts +24 -0
- package/dist/notification-center/index.d.ts +20 -0
- package/dist/payment/index.d.ts +22 -0
- package/dist/pool_trading/index.d.ts +13 -0
- package/dist/pool_trading/invest_wallet.d.ts +16 -0
- package/dist/pool_trading/pool_profile.d.ts +45 -0
- package/dist/product/index.d.ts +12 -0
- package/dist/product_attribute/index.d.ts +9 -0
- package/dist/prop_account/index.d.ts +55 -0
- package/dist/purchase/index.d.ts +13 -0
- package/dist/purchase/type.d.ts +66 -0
- package/dist/report/index.d.ts +28 -0
- package/dist/report-filters/index.d.ts +9 -0
- package/dist/request/index.d.ts +38 -0
- package/dist/role_set/index.d.ts +8 -0
- package/dist/silt/index.d.ts +5 -0
- package/dist/site-setting/index.d.ts +16 -0
- package/dist/stores/account.d.ts +180 -0
- package/dist/stores/activity_log.d.ts +7 -0
- package/dist/stores/addon.d.ts +11 -0
- package/dist/stores/auth.d.ts +37 -0
- package/dist/stores/battle_notification.d.ts +6 -0
- package/dist/stores/captcha.d.ts +3 -0
- package/dist/stores/category.d.ts +15 -0
- package/dist/stores/client.d.ts +17 -0
- package/dist/stores/commission_profile.d.ts +12 -0
- package/dist/stores/contact.d.ts +9 -0
- package/dist/stores/content-type.d.ts +10 -0
- package/dist/stores/content-v2.d.ts +160 -0
- package/dist/stores/content.d.ts +216 -0
- package/dist/stores/conversion_rate.d.ts +9 -0
- package/dist/stores/coupon.d.ts +26 -0
- package/dist/stores/department.d.ts +7 -0
- package/dist/stores/devices.d.ts +8 -0
- package/dist/stores/employee.d.ts +12 -0
- package/dist/stores/folder.d.ts +15 -0
- package/dist/stores/funding-source.d.ts +29 -0
- package/dist/stores/gamification_campaign.d.ts +10 -0
- package/dist/stores/ib.d.ts +19 -0
- package/dist/stores/index.d.ts +1506 -0
- package/dist/stores/invest_wallet.d.ts +92 -0
- package/dist/stores/kycs.d.ts +16 -0
- package/dist/stores/lead.d.ts +13 -0
- package/dist/stores/live-notification.d.ts +6 -0
- package/dist/stores/metric.d.ts +21 -0
- package/dist/stores/news.d.ts +15 -0
- package/dist/stores/notes.d.ts +16 -0
- package/dist/stores/notification-center.d.ts +20 -0
- package/dist/stores/notification.d.ts +6 -0
- package/dist/stores/payment.d.ts +12 -0
- package/dist/stores/pool-trading.d.ts +7 -0
- package/dist/stores/pool_profile.d.ts +116 -0
- package/dist/stores/product.d.ts +27 -0
- package/dist/stores/product_attribute.d.ts +10 -0
- package/dist/stores/prop_account.d.ts +45 -0
- package/dist/stores/purchases.d.ts +23 -0
- package/dist/stores/report_filter.d.ts +9 -0
- package/dist/stores/request.d.ts +39 -0
- package/dist/stores/role_set.d.ts +7 -0
- package/dist/stores/site-setting.d.ts +98 -0
- package/dist/stores/support.d.ts +33 -0
- package/dist/stores/trade-server.d.ts +12 -0
- package/dist/stores/trade_battle.d.ts +51 -0
- package/dist/stores/transaction.d.ts +8 -0
- package/dist/stores/user.d.ts +26 -0
- package/dist/stores/wallet.d.ts +57 -0
- package/dist/sumsub/index.d.ts +6 -0
- package/dist/support/index.d.ts +16 -0
- package/dist/trade-server/index.d.ts +12 -0
- package/dist/trade_battle/index.d.ts +30 -0
- package/dist/trade_battle/tradeBattle.type.d.ts +119 -0
- package/dist/transaction/index.d.ts +9 -0
- package/dist/user/index.d.ts +40 -0
- package/dist/utils/index.d.ts +4 -0
- package/dist/utils/route-compression.d.ts +17 -0
- package/dist/utils/store.d.ts +12 -0
- package/dist/voip/index.d.ts +5 -0
- package/dist/wallet/index.d.ts +18 -0
- package/package.json +58 -0
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
export declare const useAccountStore: import('pinia').StoreDefinition<"account", {
|
|
2
|
+
accounts: any[];
|
|
3
|
+
accountHistory: {};
|
|
4
|
+
selected_account: {};
|
|
5
|
+
fundingHistory: {};
|
|
6
|
+
openTrades: {};
|
|
7
|
+
mtDeals: any[];
|
|
8
|
+
totalDeals: number;
|
|
9
|
+
positions: any[];
|
|
10
|
+
totalPositions: number;
|
|
11
|
+
options: string;
|
|
12
|
+
accountsIndexMap: {};
|
|
13
|
+
columnsTrade: any;
|
|
14
|
+
}, {
|
|
15
|
+
liveAccounts(state: {
|
|
16
|
+
accounts: any[];
|
|
17
|
+
accountHistory: {};
|
|
18
|
+
selected_account: {};
|
|
19
|
+
fundingHistory: {};
|
|
20
|
+
openTrades: {};
|
|
21
|
+
mtDeals: any[];
|
|
22
|
+
totalDeals: number;
|
|
23
|
+
positions: any[];
|
|
24
|
+
totalPositions: number;
|
|
25
|
+
options: string;
|
|
26
|
+
accountsIndexMap: {};
|
|
27
|
+
columnsTrade: any;
|
|
28
|
+
} & import('pinia').PiniaCustomStateProperties<{
|
|
29
|
+
accounts: any[];
|
|
30
|
+
accountHistory: {};
|
|
31
|
+
selected_account: {};
|
|
32
|
+
fundingHistory: {};
|
|
33
|
+
openTrades: {};
|
|
34
|
+
mtDeals: any[];
|
|
35
|
+
totalDeals: number;
|
|
36
|
+
positions: any[];
|
|
37
|
+
totalPositions: number;
|
|
38
|
+
options: string;
|
|
39
|
+
accountsIndexMap: {};
|
|
40
|
+
columnsTrade: any;
|
|
41
|
+
}>): any[];
|
|
42
|
+
demoAccounts(state: {
|
|
43
|
+
accounts: any[];
|
|
44
|
+
accountHistory: {};
|
|
45
|
+
selected_account: {};
|
|
46
|
+
fundingHistory: {};
|
|
47
|
+
openTrades: {};
|
|
48
|
+
mtDeals: any[];
|
|
49
|
+
totalDeals: number;
|
|
50
|
+
positions: any[];
|
|
51
|
+
totalPositions: number;
|
|
52
|
+
options: string;
|
|
53
|
+
accountsIndexMap: {};
|
|
54
|
+
columnsTrade: any;
|
|
55
|
+
} & import('pinia').PiniaCustomStateProperties<{
|
|
56
|
+
accounts: any[];
|
|
57
|
+
accountHistory: {};
|
|
58
|
+
selected_account: {};
|
|
59
|
+
fundingHistory: {};
|
|
60
|
+
openTrades: {};
|
|
61
|
+
mtDeals: any[];
|
|
62
|
+
totalDeals: number;
|
|
63
|
+
positions: any[];
|
|
64
|
+
totalPositions: number;
|
|
65
|
+
options: string;
|
|
66
|
+
accountsIndexMap: {};
|
|
67
|
+
columnsTrade: any;
|
|
68
|
+
}>): any[];
|
|
69
|
+
poolLiveAccounts(state: {
|
|
70
|
+
accounts: any[];
|
|
71
|
+
accountHistory: {};
|
|
72
|
+
selected_account: {};
|
|
73
|
+
fundingHistory: {};
|
|
74
|
+
openTrades: {};
|
|
75
|
+
mtDeals: any[];
|
|
76
|
+
totalDeals: number;
|
|
77
|
+
positions: any[];
|
|
78
|
+
totalPositions: number;
|
|
79
|
+
options: string;
|
|
80
|
+
accountsIndexMap: {};
|
|
81
|
+
columnsTrade: any;
|
|
82
|
+
} & import('pinia').PiniaCustomStateProperties<{
|
|
83
|
+
accounts: any[];
|
|
84
|
+
accountHistory: {};
|
|
85
|
+
selected_account: {};
|
|
86
|
+
fundingHistory: {};
|
|
87
|
+
openTrades: {};
|
|
88
|
+
mtDeals: any[];
|
|
89
|
+
totalDeals: number;
|
|
90
|
+
positions: any[];
|
|
91
|
+
totalPositions: number;
|
|
92
|
+
options: string;
|
|
93
|
+
accountsIndexMap: {};
|
|
94
|
+
columnsTrade: any;
|
|
95
|
+
}>): any[];
|
|
96
|
+
accountFundingHistory(state: {
|
|
97
|
+
accounts: any[];
|
|
98
|
+
accountHistory: {};
|
|
99
|
+
selected_account: {};
|
|
100
|
+
fundingHistory: {};
|
|
101
|
+
openTrades: {};
|
|
102
|
+
mtDeals: any[];
|
|
103
|
+
totalDeals: number;
|
|
104
|
+
positions: any[];
|
|
105
|
+
totalPositions: number;
|
|
106
|
+
options: string;
|
|
107
|
+
accountsIndexMap: {};
|
|
108
|
+
columnsTrade: any;
|
|
109
|
+
} & import('pinia').PiniaCustomStateProperties<{
|
|
110
|
+
accounts: any[];
|
|
111
|
+
accountHistory: {};
|
|
112
|
+
selected_account: {};
|
|
113
|
+
fundingHistory: {};
|
|
114
|
+
openTrades: {};
|
|
115
|
+
mtDeals: any[];
|
|
116
|
+
totalDeals: number;
|
|
117
|
+
positions: any[];
|
|
118
|
+
totalPositions: number;
|
|
119
|
+
options: string;
|
|
120
|
+
accountsIndexMap: {};
|
|
121
|
+
columnsTrade: any;
|
|
122
|
+
}>): {};
|
|
123
|
+
closedDeals(): (formatMoney: any, digits: any) => any;
|
|
124
|
+
openPositions(): (formatMoney: any, digits: any) => any;
|
|
125
|
+
getColumnsTrade(state: {
|
|
126
|
+
accounts: any[];
|
|
127
|
+
accountHistory: {};
|
|
128
|
+
selected_account: {};
|
|
129
|
+
fundingHistory: {};
|
|
130
|
+
openTrades: {};
|
|
131
|
+
mtDeals: any[];
|
|
132
|
+
totalDeals: number;
|
|
133
|
+
positions: any[];
|
|
134
|
+
totalPositions: number;
|
|
135
|
+
options: string;
|
|
136
|
+
accountsIndexMap: {};
|
|
137
|
+
columnsTrade: any;
|
|
138
|
+
} & import('pinia').PiniaCustomStateProperties<{
|
|
139
|
+
accounts: any[];
|
|
140
|
+
accountHistory: {};
|
|
141
|
+
selected_account: {};
|
|
142
|
+
fundingHistory: {};
|
|
143
|
+
openTrades: {};
|
|
144
|
+
mtDeals: any[];
|
|
145
|
+
totalDeals: number;
|
|
146
|
+
positions: any[];
|
|
147
|
+
totalPositions: number;
|
|
148
|
+
options: string;
|
|
149
|
+
accountsIndexMap: {};
|
|
150
|
+
columnsTrade: any;
|
|
151
|
+
}>): any;
|
|
152
|
+
}, {
|
|
153
|
+
fetchAccounts(page: any, size: any, filter: any, order_by: any, skipPullTrading?: boolean): Promise<any>;
|
|
154
|
+
fetchOneAccount(account_id: number): Promise<any>;
|
|
155
|
+
fetchOpenTrades(account_id: number): Promise<any>;
|
|
156
|
+
listPositions(account_id: number, position_type: string, symbol?: string): Promise<any>;
|
|
157
|
+
fetchAccountHistory(server: string, account_ids: number[], from_date: string, to_date: string): Promise<any>;
|
|
158
|
+
fetchAccountFundingHistory(account_id: any, dateFrom: any, dateTo: any): Promise<any>;
|
|
159
|
+
changeLeverage(account_id: number): Promise<any>;
|
|
160
|
+
resetPassword(account_id: number): Promise<any>;
|
|
161
|
+
depositDemo(account_id: number): Promise<any>;
|
|
162
|
+
resetBalance(account_id: number): Promise<any>;
|
|
163
|
+
getAccountSummary(payload: any): Promise<any>;
|
|
164
|
+
getDeals(payload: any): Promise<any>;
|
|
165
|
+
countDeals(payload: any): Promise<any>;
|
|
166
|
+
exportDeals(payload: any): Promise<any>;
|
|
167
|
+
getPostions(payload: any): Promise<any>;
|
|
168
|
+
countPositions(payload: any): Promise<any>;
|
|
169
|
+
getMostProfitablePairs(account_id: any): Promise<any>;
|
|
170
|
+
getProfitLossHistory(account_id: number, payload: any): Promise<any>;
|
|
171
|
+
getOverallROI(account_id: number): Promise<any>;
|
|
172
|
+
getAccountBalanceToCompareDate(payload: any): Promise<any>;
|
|
173
|
+
loadColumnsFromStorage(): void;
|
|
174
|
+
updateColumnsTrade(payload: string[]): void;
|
|
175
|
+
getWithdrawableAccounts(payload: {
|
|
176
|
+
server: string;
|
|
177
|
+
logins: number[];
|
|
178
|
+
}): Promise<any>;
|
|
179
|
+
getAccountMetricByLastDeals(ids: number[]): Promise<any>;
|
|
180
|
+
}>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const useActivityLogStore: import('pinia').StoreDefinition<"activity_log", {
|
|
2
|
+
activity_log_ids: any[];
|
|
3
|
+
activity_logs: any[];
|
|
4
|
+
}, {}, {
|
|
5
|
+
getActivityLogIds(content_type: string, content_id: number, message: string): Promise<any>;
|
|
6
|
+
getActivityLogs(content_type: string, content_id: number, message: string, page: number, size: number): Promise<any>;
|
|
7
|
+
}>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IAddon, IAddonCategory } from '../common/types/addon.types';
|
|
2
|
+
|
|
3
|
+
export declare const useAddonStore: import('pinia').StoreDefinition<"addon", {
|
|
4
|
+
categories: IAddonCategory[];
|
|
5
|
+
}, {
|
|
6
|
+
getCategories(): IAddonCategory[];
|
|
7
|
+
getAllAddons(): IAddon[];
|
|
8
|
+
getAddonStatus: () => (addon: IAddon, currency?: string) => string;
|
|
9
|
+
}, {
|
|
10
|
+
fetchAddonsByCategoryIds(categoryIds: number[]): Promise<any>;
|
|
11
|
+
}>;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export declare const useAuthStore: import('pinia').StoreDefinition<"auth", {
|
|
2
|
+
user: any;
|
|
3
|
+
employee: any;
|
|
4
|
+
kyc: any;
|
|
5
|
+
client: any;
|
|
6
|
+
token: string;
|
|
7
|
+
access_token: string;
|
|
8
|
+
allow_routes: string;
|
|
9
|
+
detectedCountryCode: string;
|
|
10
|
+
}, {
|
|
11
|
+
isLoggedIn(): boolean;
|
|
12
|
+
getAllowRoutes(): string[];
|
|
13
|
+
}, {
|
|
14
|
+
formatAllowRoutesToString(allowRoutes: Array<string> | undefined): string;
|
|
15
|
+
register(payload: any): Promise<any>;
|
|
16
|
+
login(payload: any): Promise<any>;
|
|
17
|
+
loginAs(payload: any): Promise<any>;
|
|
18
|
+
loginWithToken({ token, device_id, saveToLocalStorage }: {
|
|
19
|
+
token: string;
|
|
20
|
+
device_id?: string;
|
|
21
|
+
saveToLocalStorage?: boolean;
|
|
22
|
+
}): Promise<unknown>;
|
|
23
|
+
loginUsingDevice(email: string): Promise<unknown>;
|
|
24
|
+
registerNewDevice(email: string): Promise<unknown>;
|
|
25
|
+
send_otp(payload: any): Promise<unknown>;
|
|
26
|
+
verify_otp(issue_method: string, otp: string): Promise<unknown>;
|
|
27
|
+
webauthnVerifyOtp(email: string, otp: string, challenge: any, credential: any): Promise<unknown>;
|
|
28
|
+
logout(): Promise<any>;
|
|
29
|
+
fetchMe(): Promise<any>;
|
|
30
|
+
forgotPassword(payload: any): Promise<unknown>;
|
|
31
|
+
updatePassword(payload: any): Promise<unknown>;
|
|
32
|
+
getIPGeolocation(): Promise<unknown>;
|
|
33
|
+
verifyOtpAndSignIn(payload: {
|
|
34
|
+
email: string;
|
|
35
|
+
otp_code: string;
|
|
36
|
+
}): Promise<unknown>;
|
|
37
|
+
}>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { CategoryName } from 'src/common/types/category.types';
|
|
2
|
+
|
|
3
|
+
export declare const useCategoryStore: import('pinia').StoreDefinition<"category", {
|
|
4
|
+
categories: any[];
|
|
5
|
+
selectedCategory: {};
|
|
6
|
+
}, {
|
|
7
|
+
categoriesTotalCount(): number;
|
|
8
|
+
categoryByName(): (name: CategoryName) => any;
|
|
9
|
+
}, {
|
|
10
|
+
fetchCategories(payload?: any): Promise<any>;
|
|
11
|
+
fetchCategoryByUUID(uuid: string, isEcommereService?: boolean): Promise<any>;
|
|
12
|
+
createCategory(payload: any, isEcommereService?: boolean): Promise<any>;
|
|
13
|
+
updateCategory(uuid: string, payload: any, isEcommereService?: boolean): Promise<any>;
|
|
14
|
+
deleteCategory(uuid: string, isEcommereService?: boolean): Promise<any>;
|
|
15
|
+
}>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const useClientStore: import('pinia').StoreDefinition<"client", {
|
|
2
|
+
client: any;
|
|
3
|
+
clients: any[];
|
|
4
|
+
clientCount: number;
|
|
5
|
+
fundedClientCount: number;
|
|
6
|
+
activeClientCount: number;
|
|
7
|
+
dailyHistoryClientCount: any[];
|
|
8
|
+
activePropAccount: number;
|
|
9
|
+
}, {}, {
|
|
10
|
+
fetchClientsCount(): Promise<any>;
|
|
11
|
+
fetchFundedClientsCount(): Promise<any>;
|
|
12
|
+
fetchActiveClientsCount(payload?: any): Promise<any>;
|
|
13
|
+
fetchClients(page: any, size: any, filter: any, order_by: any): Promise<any>;
|
|
14
|
+
countDailyHistoryClients(payload: any): Promise<any>;
|
|
15
|
+
fetchCountHasActivePropAcc(): Promise<any>;
|
|
16
|
+
sumEquityByClient(payload: any): Promise<any>;
|
|
17
|
+
}>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const useCommissionProfileStore: import('pinia').StoreDefinition<"commission_profile", {
|
|
2
|
+
commission_profiles: any[];
|
|
3
|
+
editing_commission_profile: {};
|
|
4
|
+
}, {}, {
|
|
5
|
+
fetchCommissionProfile(page: any, size: any, filter: any, order_by: any): Promise<any>;
|
|
6
|
+
getCommissionProfileDetailInfo(id: number): Promise<any>;
|
|
7
|
+
createCommissionProfile(payload: any): Promise<any>;
|
|
8
|
+
cloneCommissionProfile(id: number, payload: any): Promise<any>;
|
|
9
|
+
updateCommissionProfile(id: number, payload: any): Promise<any>;
|
|
10
|
+
deleteCommissionProfile(id: number): Promise<any>;
|
|
11
|
+
getAllCommissionProfiles(): Promise<any>;
|
|
12
|
+
}>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const useContactStore: import('pinia').StoreDefinition<"contact", {
|
|
2
|
+
contact: any;
|
|
3
|
+
}, {}, {
|
|
4
|
+
getContatList(): Promise<unknown>;
|
|
5
|
+
getContactListById(id: any): Promise<unknown>;
|
|
6
|
+
createContactList(payload: any): Promise<unknown>;
|
|
7
|
+
updateContactList(id: any, data: any): Promise<unknown>;
|
|
8
|
+
deleteContactList(id: any): Promise<unknown>;
|
|
9
|
+
}>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const useContentTypeStore: import('pinia').StoreDefinition<"content-type", {
|
|
2
|
+
content_types: any[];
|
|
3
|
+
}, {
|
|
4
|
+
clientKycSchema(): unknown[];
|
|
5
|
+
clientKycDocuments(): unknown[];
|
|
6
|
+
}, {
|
|
7
|
+
fetchContentTypes(): Promise<any>;
|
|
8
|
+
fetchContentTypeByName(name: string): Promise<any>;
|
|
9
|
+
updateContentType(id: string, payload: any): Promise<any>;
|
|
10
|
+
}>;
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
export declare const useContentV2Store: import('pinia').StoreDefinition<"content-v2", {
|
|
2
|
+
total: {
|
|
3
|
+
user: number;
|
|
4
|
+
client: number;
|
|
5
|
+
lead: number;
|
|
6
|
+
ib: number;
|
|
7
|
+
account: number;
|
|
8
|
+
prop_account: number;
|
|
9
|
+
wallet: number;
|
|
10
|
+
'request.account': number;
|
|
11
|
+
'request.wallet': number;
|
|
12
|
+
'request.deposit': number;
|
|
13
|
+
'request.withdrawal': number;
|
|
14
|
+
'request.transfer': number;
|
|
15
|
+
'request.credit': number;
|
|
16
|
+
'request.cross_wallet_transfer': number;
|
|
17
|
+
'request.verification': number;
|
|
18
|
+
'request.profile_change': number;
|
|
19
|
+
'request.leverage': number;
|
|
20
|
+
payment: number;
|
|
21
|
+
referral: number;
|
|
22
|
+
kyc: number;
|
|
23
|
+
user_device: number;
|
|
24
|
+
support_ticket: number;
|
|
25
|
+
user_transaction: number;
|
|
26
|
+
role_set: number;
|
|
27
|
+
department: number;
|
|
28
|
+
employee: number;
|
|
29
|
+
folder: number;
|
|
30
|
+
certificate: number;
|
|
31
|
+
voip_call: number;
|
|
32
|
+
coupon: number;
|
|
33
|
+
product: number;
|
|
34
|
+
coupon_redemption: number;
|
|
35
|
+
purchase: number;
|
|
36
|
+
combine: {};
|
|
37
|
+
};
|
|
38
|
+
dataCache: {
|
|
39
|
+
user: any[];
|
|
40
|
+
client: any[];
|
|
41
|
+
lead: any[];
|
|
42
|
+
ib: any[];
|
|
43
|
+
account: any[];
|
|
44
|
+
prop_account: any[];
|
|
45
|
+
wallet: any[];
|
|
46
|
+
'request.account': any[];
|
|
47
|
+
'request.wallet': any[];
|
|
48
|
+
'request.deposit': any[];
|
|
49
|
+
'request.withdrawal': any[];
|
|
50
|
+
'request.transfer': any[];
|
|
51
|
+
'request.cross_wallet_transfer': any[];
|
|
52
|
+
'request.credit': any[];
|
|
53
|
+
'request.verification': any[];
|
|
54
|
+
'request.profile_change': any[];
|
|
55
|
+
'request.leverage': any[];
|
|
56
|
+
payment: any[];
|
|
57
|
+
referral: any[];
|
|
58
|
+
kyc: any[];
|
|
59
|
+
user_device: any[];
|
|
60
|
+
support_ticket: any[];
|
|
61
|
+
user_transaction: any[];
|
|
62
|
+
role_set: any[];
|
|
63
|
+
department: any[];
|
|
64
|
+
employee: any[];
|
|
65
|
+
folder: any[];
|
|
66
|
+
certificate: any[];
|
|
67
|
+
voip_call: any[];
|
|
68
|
+
coupon: any[];
|
|
69
|
+
product: any[];
|
|
70
|
+
coupon_redemption: any[];
|
|
71
|
+
purchase: any[];
|
|
72
|
+
combine: {};
|
|
73
|
+
};
|
|
74
|
+
contents: {
|
|
75
|
+
user: any[];
|
|
76
|
+
client: any[];
|
|
77
|
+
lead: any[];
|
|
78
|
+
ib: any[];
|
|
79
|
+
account: any[];
|
|
80
|
+
prop_account: any[];
|
|
81
|
+
wallet: any[];
|
|
82
|
+
'request.account': any[];
|
|
83
|
+
'request.wallet': any[];
|
|
84
|
+
'request.deposit': any[];
|
|
85
|
+
'request.withdrawal': any[];
|
|
86
|
+
'request.transfer': any[];
|
|
87
|
+
'request.cross_wallet_transfer': any[];
|
|
88
|
+
'request.credit': any[];
|
|
89
|
+
'request.verification': any[];
|
|
90
|
+
'request.profile_change': any[];
|
|
91
|
+
'request.leverage': any[];
|
|
92
|
+
payment: any[];
|
|
93
|
+
referral: any[];
|
|
94
|
+
kyc: any[];
|
|
95
|
+
user_device: any[];
|
|
96
|
+
support_ticket: any[];
|
|
97
|
+
user_transaction: any[];
|
|
98
|
+
role_set: any[];
|
|
99
|
+
department: any[];
|
|
100
|
+
employee: any[];
|
|
101
|
+
folder: any[];
|
|
102
|
+
certificate: any[];
|
|
103
|
+
voip_call: any[];
|
|
104
|
+
notification_user: any[];
|
|
105
|
+
coupon: any[];
|
|
106
|
+
product: any[];
|
|
107
|
+
coupon_redemption: any[];
|
|
108
|
+
purchase: any[];
|
|
109
|
+
combine: {};
|
|
110
|
+
};
|
|
111
|
+
filterAndOrder: {
|
|
112
|
+
user: string;
|
|
113
|
+
client: string;
|
|
114
|
+
lead: string;
|
|
115
|
+
ib: string;
|
|
116
|
+
account: string;
|
|
117
|
+
prop_account: string;
|
|
118
|
+
wallet: string;
|
|
119
|
+
'request.account': string;
|
|
120
|
+
'request.wallet': string;
|
|
121
|
+
'request.deposit': string;
|
|
122
|
+
'request.withdrawal': string;
|
|
123
|
+
'request.transfer': string;
|
|
124
|
+
'request.cross_wallet_transfer': string;
|
|
125
|
+
'request.credit': string;
|
|
126
|
+
'request.verification': string;
|
|
127
|
+
'request.profile_change': string;
|
|
128
|
+
'request.leverage': string;
|
|
129
|
+
payment: string;
|
|
130
|
+
referral: string;
|
|
131
|
+
kyc: string;
|
|
132
|
+
user_device: string;
|
|
133
|
+
support_ticket: string;
|
|
134
|
+
user_transaction: string;
|
|
135
|
+
role_set: string;
|
|
136
|
+
department: string;
|
|
137
|
+
employee: string;
|
|
138
|
+
folder: string;
|
|
139
|
+
certificate: string;
|
|
140
|
+
voip_call: string;
|
|
141
|
+
coupon: string;
|
|
142
|
+
product: string;
|
|
143
|
+
coupon_redemption: string;
|
|
144
|
+
purchase: string;
|
|
145
|
+
combine: {};
|
|
146
|
+
};
|
|
147
|
+
}, {}, {
|
|
148
|
+
fetchContents(content_type: any, page: any, size: any, filter?: {}, order_by?: {}, joined_columns?: any[], forceRefresh?: boolean): Promise<{
|
|
149
|
+
data: any;
|
|
150
|
+
page: any;
|
|
151
|
+
page_size: any;
|
|
152
|
+
total: any;
|
|
153
|
+
}>;
|
|
154
|
+
_getCacheStore(key: any, isCombined: any): {
|
|
155
|
+
dataCache: any;
|
|
156
|
+
contents: any;
|
|
157
|
+
total: any;
|
|
158
|
+
filterAndOrder: any;
|
|
159
|
+
};
|
|
160
|
+
}>;
|
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
export declare const useContentStore: import('pinia').StoreDefinition<"content", {
|
|
2
|
+
contentIDs: {
|
|
3
|
+
user: any[];
|
|
4
|
+
client: any[];
|
|
5
|
+
lead: any[];
|
|
6
|
+
ib: any[];
|
|
7
|
+
account: any[];
|
|
8
|
+
prop_account: any[];
|
|
9
|
+
wallet: any[];
|
|
10
|
+
'request.account': any[];
|
|
11
|
+
'request.wallet': any[];
|
|
12
|
+
'request.deposit': any[];
|
|
13
|
+
'request.withdrawal': any[];
|
|
14
|
+
'request.transfer': any[];
|
|
15
|
+
'request.credit': any[];
|
|
16
|
+
'request.cross_wallet_transfer': any[];
|
|
17
|
+
'request.verification': any[];
|
|
18
|
+
'request.profile_change': any[];
|
|
19
|
+
'request.leverage': any[];
|
|
20
|
+
'request.create_ib': any[];
|
|
21
|
+
payment: any[];
|
|
22
|
+
referral: any[];
|
|
23
|
+
kyc: any[];
|
|
24
|
+
user_device: any[];
|
|
25
|
+
support_ticket: any[];
|
|
26
|
+
user_transaction: any[];
|
|
27
|
+
role_set: any[];
|
|
28
|
+
department: any[];
|
|
29
|
+
employee: any[];
|
|
30
|
+
folder: any[];
|
|
31
|
+
certificate: any[];
|
|
32
|
+
certificate_type: any[];
|
|
33
|
+
voip_call: any[];
|
|
34
|
+
coupon: any[];
|
|
35
|
+
product: any[];
|
|
36
|
+
coupon_redemption: any[];
|
|
37
|
+
purchase: any[];
|
|
38
|
+
commission_profile: any[];
|
|
39
|
+
product_addon_category: any[];
|
|
40
|
+
combine: {};
|
|
41
|
+
};
|
|
42
|
+
contents: {
|
|
43
|
+
user: any[];
|
|
44
|
+
client: any[];
|
|
45
|
+
lead: any[];
|
|
46
|
+
ib: any[];
|
|
47
|
+
account: any[];
|
|
48
|
+
prop_account: any[];
|
|
49
|
+
wallet: any[];
|
|
50
|
+
'request.account': any[];
|
|
51
|
+
'request.wallet': any[];
|
|
52
|
+
'request.deposit': any[];
|
|
53
|
+
'request.withdrawal': any[];
|
|
54
|
+
'request.transfer': any[];
|
|
55
|
+
'request.cross_wallet_transfer': any[];
|
|
56
|
+
'request.credit': any[];
|
|
57
|
+
'request.verification': any[];
|
|
58
|
+
'request.profile_change': any[];
|
|
59
|
+
'request.leverage': any[];
|
|
60
|
+
'request.create_ib': any[];
|
|
61
|
+
payment: any[];
|
|
62
|
+
referral: any[];
|
|
63
|
+
kyc: any[];
|
|
64
|
+
user_device: any[];
|
|
65
|
+
support_ticket: any[];
|
|
66
|
+
user_transaction: any[];
|
|
67
|
+
role_set: any[];
|
|
68
|
+
department: any[];
|
|
69
|
+
employee: any[];
|
|
70
|
+
folder: any[];
|
|
71
|
+
certificate: any[];
|
|
72
|
+
certificate_type: any[];
|
|
73
|
+
voip_call: any[];
|
|
74
|
+
notification_user: any[];
|
|
75
|
+
coupon: any[];
|
|
76
|
+
product: any[];
|
|
77
|
+
coupon_redemption: any[];
|
|
78
|
+
purchase: any[];
|
|
79
|
+
commission_profile: any[];
|
|
80
|
+
product_addon_category: any[];
|
|
81
|
+
combine: {};
|
|
82
|
+
note: any[];
|
|
83
|
+
lending: any[];
|
|
84
|
+
};
|
|
85
|
+
filterAndOrder: {
|
|
86
|
+
user: string;
|
|
87
|
+
client: string;
|
|
88
|
+
lead: string;
|
|
89
|
+
ib: string;
|
|
90
|
+
account: string;
|
|
91
|
+
prop_account: string;
|
|
92
|
+
wallet: string;
|
|
93
|
+
'request.account': string;
|
|
94
|
+
'request.wallet': string;
|
|
95
|
+
'request.deposit': string;
|
|
96
|
+
'request.withdrawal': string;
|
|
97
|
+
'request.transfer': string;
|
|
98
|
+
'request.cross_wallet_transfer': string;
|
|
99
|
+
'request.credit': string;
|
|
100
|
+
'request.verification': string;
|
|
101
|
+
'request.profile_change': string;
|
|
102
|
+
'request.leverage': string;
|
|
103
|
+
'request.create_ib': string;
|
|
104
|
+
payment: string;
|
|
105
|
+
referral: string;
|
|
106
|
+
kyc: string;
|
|
107
|
+
user_device: string;
|
|
108
|
+
support_ticket: string;
|
|
109
|
+
user_transaction: string;
|
|
110
|
+
role_set: string;
|
|
111
|
+
department: string;
|
|
112
|
+
employee: string;
|
|
113
|
+
folder: string;
|
|
114
|
+
certificate: string;
|
|
115
|
+
certificate_type: string;
|
|
116
|
+
voip_call: string;
|
|
117
|
+
coupon: any[];
|
|
118
|
+
product: any[];
|
|
119
|
+
coupon_redemption: any[];
|
|
120
|
+
purchase: any[];
|
|
121
|
+
commission_profile: any[];
|
|
122
|
+
notification_user: string;
|
|
123
|
+
combine: {};
|
|
124
|
+
};
|
|
125
|
+
lastUpdateAt: {
|
|
126
|
+
user: {};
|
|
127
|
+
client: {};
|
|
128
|
+
lead: {};
|
|
129
|
+
ib: {};
|
|
130
|
+
account: {};
|
|
131
|
+
prop_account: {};
|
|
132
|
+
wallet: {};
|
|
133
|
+
'request.account': {};
|
|
134
|
+
'request.wallet': {};
|
|
135
|
+
'request.deposit': {};
|
|
136
|
+
'request.withdrawal': {};
|
|
137
|
+
'request.transfer': {};
|
|
138
|
+
'request.credit': {};
|
|
139
|
+
'request.cross_wallet_transfer': {};
|
|
140
|
+
'request.verification': any[];
|
|
141
|
+
'request.profile_change': any[];
|
|
142
|
+
'request.leverage': any[];
|
|
143
|
+
'request.create_ib': any[];
|
|
144
|
+
payment: {};
|
|
145
|
+
referral: {};
|
|
146
|
+
kyc: {};
|
|
147
|
+
user_device: {};
|
|
148
|
+
support_ticket: {};
|
|
149
|
+
user_transaction: {};
|
|
150
|
+
role_set: {};
|
|
151
|
+
department: {};
|
|
152
|
+
employee: {};
|
|
153
|
+
folder: {};
|
|
154
|
+
certificate: {};
|
|
155
|
+
certificate_type: {};
|
|
156
|
+
voip_call: {};
|
|
157
|
+
commission_profile: any[];
|
|
158
|
+
combine: {};
|
|
159
|
+
};
|
|
160
|
+
pageSize: {
|
|
161
|
+
user: number;
|
|
162
|
+
client: number;
|
|
163
|
+
lead: number;
|
|
164
|
+
ib: number;
|
|
165
|
+
account: number;
|
|
166
|
+
prop_account: number;
|
|
167
|
+
wallet: number;
|
|
168
|
+
'request.account': number;
|
|
169
|
+
'request.wallet': number;
|
|
170
|
+
'request.deposit': number;
|
|
171
|
+
'request.withdrawal': number;
|
|
172
|
+
'request.transfer': number;
|
|
173
|
+
'request.cross_wallet_transfer': number;
|
|
174
|
+
'request.credit': number;
|
|
175
|
+
'request.verification': number;
|
|
176
|
+
'request.profile_change': number;
|
|
177
|
+
'request.leverage': number;
|
|
178
|
+
'request.create_ib': number;
|
|
179
|
+
payment: number;
|
|
180
|
+
referral: number;
|
|
181
|
+
kyc: number;
|
|
182
|
+
user_device: number;
|
|
183
|
+
support_ticket: number;
|
|
184
|
+
user_transaction: number;
|
|
185
|
+
role_set: number;
|
|
186
|
+
department: number;
|
|
187
|
+
employee: number;
|
|
188
|
+
folder: number;
|
|
189
|
+
certificate: number;
|
|
190
|
+
certificate_type: number;
|
|
191
|
+
voip_call: number;
|
|
192
|
+
coupon: any[];
|
|
193
|
+
product: any[];
|
|
194
|
+
coupon_redemption: any[];
|
|
195
|
+
purchase: any[];
|
|
196
|
+
commission_profile: any[];
|
|
197
|
+
combine: {};
|
|
198
|
+
};
|
|
199
|
+
contentLastUpdateAt: string;
|
|
200
|
+
}, {}, {
|
|
201
|
+
fetchContentIDsInTimeRange(content_type: any, from_time?: any, to_time?: any, filter?: {}, order_by?: {
|
|
202
|
+
key: string;
|
|
203
|
+
direction: string;
|
|
204
|
+
}, concat?: boolean): Promise<void>;
|
|
205
|
+
fetchContents(content_type: any, page: any, size: any, filter: any, order_by: any, from_time?: any, to_time?: any, concat?: boolean, with_attachments?: boolean): Promise<any>;
|
|
206
|
+
fetchContentByUUID(content_type: string, uuid: string): Promise<any>;
|
|
207
|
+
exportContents(payload: any): Promise<any>;
|
|
208
|
+
updateContent(content_type: string, id: number, payload: any): void;
|
|
209
|
+
deleteContent(content_type: string, id: number): void;
|
|
210
|
+
addContent(content_type: string, payload: any): void;
|
|
211
|
+
transit2(payload: any): Promise<any>;
|
|
212
|
+
act(payload: any, options?: any): Promise<any>;
|
|
213
|
+
createContent(payload: any, params?: any, with_attachments?: boolean): Promise<any>;
|
|
214
|
+
updateContentByApi(payload: any, ct_id: string | number, with_attachments?: boolean): Promise<any>;
|
|
215
|
+
deleteContentByApi(content_type: string, ct_id: string | number): Promise<any>;
|
|
216
|
+
}>;
|