@eaera-com/client-sdk-v1 0.2.108
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 +86 -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 +38 -0
- package/dist/common/constants/category.constant.d.ts +30 -0
- package/dist/common/constants/category.constant.js +31 -0
- package/dist/common/constants/communication.constant.d.ts +52 -0
- package/dist/common/constants/communication.constant.js +85 -0
- package/dist/common/constants/email.constant.d.ts +4 -0
- package/dist/common/constants/email.constant.js +7 -0
- package/dist/common/constants/filter.constants.d.ts +1 -0
- package/dist/common/constants/filter.constants.js +6 -0
- package/dist/common/constants/index.d.ts +15 -0
- package/dist/common/constants/index.js +79 -0
- package/dist/common/constants/kyc.constant.d.ts +42 -0
- package/dist/common/constants/kyc.constant.js +43 -0
- package/dist/common/constants/listStatus.constants.d.ts +2 -0
- package/dist/common/constants/listStatus.constants.js +19 -0
- package/dist/common/constants/methods.constant.d.ts +43 -0
- package/dist/common/constants/methods.constant.js +84 -0
- package/dist/common/constants/passwordRule.constants.d.ts +4 -0
- package/dist/common/constants/passwordRule.constants.js +7 -0
- package/dist/common/constants/program.constants.d.ts +2 -0
- package/dist/common/constants/program.constants.js +31 -0
- package/dist/common/constants/propAccount.constant.d.ts +8 -0
- package/dist/common/constants/propAccount.constant.js +11 -0
- package/dist/common/constants/site-settings.constants.d.ts +40 -0
- package/dist/common/constants/site-settings.constants.js +10 -0
- package/dist/common/constants/store.constants.d.ts +1 -0
- package/dist/common/constants/store.constants.js +7 -0
- package/dist/common/constants/supportTicket.constant.d.ts +11 -0
- package/dist/common/constants/supportTicket.constant.js +14 -0
- package/dist/common/constants/tradingPlatform.constants.d.ts +4 -0
- package/dist/common/constants/tradingPlatform.constants.js +7 -0
- package/dist/common/constants/transaction.constant.d.ts +16 -0
- package/dist/common/constants/transaction.constant.js +19 -0
- package/dist/common/constants/type.constants.d.ts +5 -0
- package/dist/common/constants/type.constants.js +28 -0
- package/dist/common/constants/withdraw.constant.d.ts +1 -0
- package/dist/common/constants/withdraw.constant.js +7 -0
- package/dist/common/types/addon.type.d.ts +30 -0
- package/dist/common/types/category.type.d.ts +8 -0
- package/dist/common/types/common.type.d.ts +3 -0
- package/dist/common/types/communication.type.d.ts +51 -0
- package/dist/common/types/coupon.type.d.ts +27 -0
- package/dist/common/types/email.type.d.ts +8 -0
- package/dist/common/types/fundingSource.type.d.ts +80 -0
- package/dist/common/types/ibs.type.d.ts +15 -0
- package/dist/common/types/index.d.ts +16 -0
- package/dist/common/types/kyc.type.d.ts +52 -0
- package/dist/common/types/liveNotification.type.d.ts +10 -0
- package/dist/common/types/news.type.d.ts +17 -0
- package/dist/common/types/notification.types.d.ts +30 -0
- package/dist/common/types/passwordRule.type.d.ts +16 -0
- package/dist/common/types/paymentMethod/blockbee.type.d.ts +27 -0
- package/dist/common/types/paymentMethod/index.d.ts +2 -0
- package/dist/common/types/paymentMethod/match2pay.type.d.ts +27 -0
- package/dist/common/types/product.type.d.ts +63 -0
- package/dist/common/types/siteSetting.type.d.ts +77 -0
- package/dist/common/types/wallet.type.d.ts +36 -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/error-handlers/index.d.ts +1 -0
- package/dist/common/use-utils/helpers/color.helpers.d.ts +2 -0
- package/dist/common/use-utils/helpers/color.helpers.js +19 -0
- package/dist/common/use-utils/helpers/currency.helpers.d.ts +25 -0
- package/dist/common/use-utils/helpers/currency.helpers.js +762 -0
- package/dist/common/use-utils/helpers/date.helpers.d.ts +8 -0
- package/dist/common/use-utils/helpers/date.helpers.js +64 -0
- package/dist/common/use-utils/helpers/kyc.helpers.d.ts +22 -0
- package/dist/common/use-utils/helpers/kyc.helpers.js +165 -0
- package/dist/common/use-utils/helpers/misc.helpers.d.ts +45 -0
- package/dist/common/use-utils/helpers/misc.helpers.js +141 -0
- package/dist/common/use-utils/helpers/number.helpers.d.ts +11 -0
- package/dist/common/use-utils/helpers/number.helpers.js +76 -0
- package/dist/common/use-utils/helpers/passwordRule.helpers.d.ts +5 -0
- package/dist/common/use-utils/helpers/passwordRule.helpers.js +31 -0
- package/dist/common/use-utils/helpers/schema.helpers.d.ts +2 -0
- package/dist/common/use-utils/helpers/schema.helpers.js +2036 -0
- package/dist/common/use-utils/helpers/string.helpers.d.ts +7 -0
- package/dist/common/use-utils/helpers/string.helpers.js +38 -0
- package/dist/common/use-utils/helpers/transaction.helpers.d.ts +8 -0
- package/dist/common/use-utils/helpers/transaction.helpers.js +44 -0
- package/dist/common/use-utils/schemas/fundingMethod.schema.d.ts +1313 -0
- package/dist/common/use-utils/validators/index.d.ts +4 -0
- package/dist/common/use-utils/validators/index.js +8 -0
- package/dist/index-6dV6pxDN.js +334 -0
- package/dist/index-BTVWGSPO.js +2897 -0
- package/dist/index.d.ts +1763 -0
- package/dist/index.js +10326 -0
- package/dist/regions-Dsypl2zG.js +18768 -0
- package/dist/services/ClientSDK/account/index.d.ts +57 -0
- package/dist/services/ClientSDK/activityLog/index.d.ts +6 -0
- package/dist/services/ClientSDK/auth/index.d.ts +21 -0
- package/dist/services/ClientSDK/auth/types.d.ts +11 -0
- package/dist/services/ClientSDK/captcha/index.d.ts +5 -0
- package/dist/services/ClientSDK/category/index.d.ts +9 -0
- package/dist/services/ClientSDK/client/index.d.ts +15 -0
- package/dist/services/ClientSDK/commissionProfile/index.d.ts +10 -0
- package/dist/services/ClientSDK/contact/index.d.ts +9 -0
- package/dist/services/ClientSDK/content/index.d.ts +18 -0
- package/dist/services/ClientSDK/contentType/index.d.ts +6 -0
- package/dist/services/ClientSDK/conversionRate/index.d.ts +7 -0
- package/dist/services/ClientSDK/coupon/index.d.ts +15 -0
- package/dist/services/ClientSDK/coupon/type.d.ts +35 -0
- package/dist/services/ClientSDK/department/index.d.ts +10 -0
- package/dist/services/ClientSDK/devices/index.d.ts +6 -0
- package/dist/services/ClientSDK/emailLayout/index.d.ts +10 -0
- package/dist/services/ClientSDK/emailTemplate/index.d.ts +15 -0
- package/dist/services/ClientSDK/employee/index.d.ts +15 -0
- package/dist/services/ClientSDK/folder/index.d.ts +12 -0
- package/dist/services/ClientSDK/fundingSource/index.d.ts +17 -0
- package/dist/services/ClientSDK/gamificationCampaign/index.d.ts +9 -0
- package/dist/services/ClientSDK/ib/index.d.ts +26 -0
- package/dist/services/ClientSDK/index.d.ts +60 -0
- package/dist/services/ClientSDK/kycs/index.d.ts +18 -0
- package/dist/services/ClientSDK/lead/index.d.ts +13 -0
- package/dist/services/ClientSDK/metric/index.d.ts +11 -0
- package/dist/services/ClientSDK/metric/type.d.ts +171 -0
- package/dist/services/ClientSDK/news/index.d.ts +14 -0
- package/dist/services/ClientSDK/note/index.d.ts +8 -0
- package/dist/services/ClientSDK/notificationCenter/NotificationCenter.types.d.ts +24 -0
- package/dist/services/ClientSDK/notificationCenter/index.d.ts +20 -0
- package/dist/services/ClientSDK/payment/index.d.ts +27 -0
- package/dist/services/ClientSDK/persona/index.d.ts +12 -0
- package/dist/services/ClientSDK/product/index.d.ts +12 -0
- package/dist/services/ClientSDK/productAttribute/index.d.ts +9 -0
- package/dist/services/ClientSDK/propAccount/index.d.ts +59 -0
- package/dist/services/ClientSDK/purchase/index.d.ts +13 -0
- package/dist/services/ClientSDK/purchase/type.d.ts +66 -0
- package/dist/services/ClientSDK/reportFilters/index.d.ts +9 -0
- package/dist/services/ClientSDK/request/index.d.ts +38 -0
- package/dist/services/ClientSDK/roleSet/index.d.ts +8 -0
- package/dist/services/ClientSDK/silt/index.d.ts +5 -0
- package/dist/services/ClientSDK/siteSetting/index.d.ts +16 -0
- package/dist/services/ClientSDK/sumsub/index.d.ts +6 -0
- package/dist/services/ClientSDK/support/index.d.ts +16 -0
- package/dist/services/ClientSDK/tradeBattle/index.d.ts +30 -0
- package/dist/services/ClientSDK/tradeBattle/tradeBattle.type.d.ts +119 -0
- package/dist/services/ClientSDK/tradeServer/index.d.ts +12 -0
- package/dist/services/ClientSDK/transaction/index.d.ts +9 -0
- package/dist/services/ClientSDK/user/index.d.ts +40 -0
- package/dist/services/ClientSDK/veriff/index.d.ts +7 -0
- package/dist/services/ClientSDK/voip/index.d.ts +5 -0
- package/dist/services/ClientSDK/wallet/index.d.ts +18 -0
- package/dist/services/EmailServiceTestSDK/index.d.ts +7 -0
- package/dist/services/EmailServiceTestSDK/message/index.d.ts +6 -0
- package/dist/services/PoolTradingSDK/index.d.ts +11 -0
- package/dist/services/PoolTradingSDK/investWallet/index.d.ts +16 -0
- package/dist/services/PoolTradingSDK/poolProfile/index.d.ts +46 -0
- package/dist/services/ReportSDK/index.d.ts +28 -0
- package/dist/services/base.d.ts +29 -0
- package/dist/stores/account.d.ts +191 -0
- package/dist/stores/activityLog.d.ts +7 -0
- package/dist/stores/addon.d.ts +11 -0
- package/dist/stores/advertising.d.ts +155 -0
- package/dist/stores/auth.d.ts +39 -0
- package/dist/stores/battleNotification.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 +16 -0
- package/dist/stores/commissionProfile.d.ts +12 -0
- package/dist/stores/contact.d.ts +9 -0
- package/dist/stores/content.d.ts +222 -0
- package/dist/stores/contentType.d.ts +10 -0
- package/dist/stores/contentV2.d.ts +160 -0
- package/dist/stores/conversionRate.d.ts +9 -0
- package/dist/stores/coupon.d.ts +30 -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/fundingSource.d.ts +46 -0
- package/dist/stores/gamificationCampaign.d.ts +10 -0
- package/dist/stores/ib.d.ts +22 -0
- package/dist/stores/index.d.ts +1761 -0
- package/dist/stores/investWallet.d.ts +92 -0
- package/dist/stores/kycs.d.ts +16 -0
- package/dist/stores/lead.d.ts +13 -0
- package/dist/stores/liveNotification.d.ts +6 -0
- package/dist/stores/metric.d.ts +24 -0
- package/dist/stores/metricsV2.d.ts +28 -0
- package/dist/stores/news.d.ts +15 -0
- package/dist/stores/notes.d.ts +16 -0
- package/dist/stores/notification.d.ts +6 -0
- package/dist/stores/notificationCenter.d.ts +20 -0
- package/dist/stores/payment.d.ts +25 -0
- package/dist/stores/poolProfile.d.ts +117 -0
- package/dist/stores/poolTrading.d.ts +7 -0
- package/dist/stores/product.d.ts +31 -0
- package/dist/stores/productAttribute.d.ts +10 -0
- package/dist/stores/propAccount.d.ts +48 -0
- package/dist/stores/purchases.d.ts +23 -0
- package/dist/stores/report.d.ts +19 -0
- package/dist/stores/reportFilter.d.ts +9 -0
- package/dist/stores/request.d.ts +39 -0
- package/dist/stores/roleSet.d.ts +7 -0
- package/dist/stores/siteSetting.d.ts +103 -0
- package/dist/stores/support.d.ts +33 -0
- package/dist/stores/tradeBattle.d.ts +51 -0
- package/dist/stores/tradeServer.d.ts +12 -0
- package/dist/stores/transaction.d.ts +8 -0
- package/dist/stores/user.d.ts +30 -0
- package/dist/stores/wallet.d.ts +53 -0
- package/dist/utils/axiosTiming.d.ts +12 -0
- package/dist/utils/cookies.d.ts +1 -0
- package/dist/utils/index.d.ts +4 -0
- package/dist/utils/routeCompression.d.ts +19 -0
- package/dist/utils/store.d.ts +12 -0
- package/package.json +74 -0
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
export declare const useInvestWalletStore: import('pinia').StoreDefinition<"invest_wallet", {
|
|
2
|
+
investWallets: any[];
|
|
3
|
+
selectedWallet: {};
|
|
4
|
+
poolSummary: {};
|
|
5
|
+
investWalletsProfitLoss: {
|
|
6
|
+
profit: {
|
|
7
|
+
[key: string | number]: any;
|
|
8
|
+
};
|
|
9
|
+
loss: {
|
|
10
|
+
[key: string | number]: any;
|
|
11
|
+
};
|
|
12
|
+
pl: {
|
|
13
|
+
[key: string | number]: any;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
}, {
|
|
17
|
+
getInvestWalletById: (state: {
|
|
18
|
+
investWallets: any[];
|
|
19
|
+
selectedWallet: {};
|
|
20
|
+
poolSummary: {};
|
|
21
|
+
investWalletsProfitLoss: {
|
|
22
|
+
profit: {
|
|
23
|
+
[key: string | number]: any;
|
|
24
|
+
};
|
|
25
|
+
loss: {
|
|
26
|
+
[key: string | number]: any;
|
|
27
|
+
};
|
|
28
|
+
pl: {
|
|
29
|
+
[key: string | number]: any;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
} & import('pinia').PiniaCustomStateProperties<{
|
|
33
|
+
investWallets: any[];
|
|
34
|
+
selectedWallet: {};
|
|
35
|
+
poolSummary: {};
|
|
36
|
+
investWalletsProfitLoss: {
|
|
37
|
+
profit: {
|
|
38
|
+
[key: string | number]: any;
|
|
39
|
+
};
|
|
40
|
+
loss: {
|
|
41
|
+
[key: string | number]: any;
|
|
42
|
+
};
|
|
43
|
+
pl: {
|
|
44
|
+
[key: string | number]: any;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
}>) => (id: number) => any;
|
|
48
|
+
getInvestWalletsByFilterAndOrder: (state: {
|
|
49
|
+
investWallets: any[];
|
|
50
|
+
selectedWallet: {};
|
|
51
|
+
poolSummary: {};
|
|
52
|
+
investWalletsProfitLoss: {
|
|
53
|
+
profit: {
|
|
54
|
+
[key: string | number]: any;
|
|
55
|
+
};
|
|
56
|
+
loss: {
|
|
57
|
+
[key: string | number]: any;
|
|
58
|
+
};
|
|
59
|
+
pl: {
|
|
60
|
+
[key: string | number]: any;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
} & import('pinia').PiniaCustomStateProperties<{
|
|
64
|
+
investWallets: any[];
|
|
65
|
+
selectedWallet: {};
|
|
66
|
+
poolSummary: {};
|
|
67
|
+
investWalletsProfitLoss: {
|
|
68
|
+
profit: {
|
|
69
|
+
[key: string | number]: any;
|
|
70
|
+
};
|
|
71
|
+
loss: {
|
|
72
|
+
[key: string | number]: any;
|
|
73
|
+
};
|
|
74
|
+
pl: {
|
|
75
|
+
[key: string | number]: any;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
}>) => (filter: any, order: any) => any[];
|
|
79
|
+
}, {
|
|
80
|
+
fetchInvestWallets(params: any): Promise<unknown>;
|
|
81
|
+
fetchOneInvestWallet(id: number): Promise<any>;
|
|
82
|
+
fetchPoolSummaryWallet(params: any): Promise<any>;
|
|
83
|
+
fetchInvestWalletProfitLoss(ids?: number[], from_time?: Date, to_time?: Date): Promise<any>;
|
|
84
|
+
fetchProfitLossHistory(params: any): Promise<any>;
|
|
85
|
+
createInvestWallet(data: any): Promise<any>;
|
|
86
|
+
transferOutInvestWallet(id: number, amount: number, destination_id: number): Promise<any>;
|
|
87
|
+
partialClosePosition(position_id: number, invest_wallet_id: string): Promise<any>;
|
|
88
|
+
fetchInvestDeals(params: object): Promise<any>;
|
|
89
|
+
fetchAttachedWallets(params: object): Promise<any>;
|
|
90
|
+
getTotalInvestWallet(): Promise<any>;
|
|
91
|
+
getInvestWalletBalanceChanges(params: object): Promise<any>;
|
|
92
|
+
}>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const useKycStore: import('pinia').StoreDefinition<"kyc", {
|
|
2
|
+
kycs: any[];
|
|
3
|
+
selected_kyc: {};
|
|
4
|
+
}, {}, {
|
|
5
|
+
fetchKycs(page: any, size: any, filter: any, order_by: any): Promise<any>;
|
|
6
|
+
updateKycs(id: any, payload: any): Promise<unknown>;
|
|
7
|
+
findOrInitializeKyc(payload: any): Promise<unknown>;
|
|
8
|
+
uploadDocument(id: any, payload: any): Promise<unknown>;
|
|
9
|
+
updateExtraData(id: any, payload: any): Promise<unknown>;
|
|
10
|
+
uploadIdImage(id: any, payload: any): Promise<unknown>;
|
|
11
|
+
uploadAddressImage(id: any, payload: any): Promise<unknown>;
|
|
12
|
+
uploadPotraitImage(id: any, payload: any): Promise<unknown>;
|
|
13
|
+
approveKyc(id: any, payload: any): Promise<unknown>;
|
|
14
|
+
rejectKyc(id: any, payload: any): Promise<unknown>;
|
|
15
|
+
bulkRejectKyc(payload: any): Promise<unknown>;
|
|
16
|
+
}>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const useLeadStore: import('pinia').StoreDefinition<"lead", {
|
|
2
|
+
lead: any;
|
|
3
|
+
leads: any[];
|
|
4
|
+
leadCount: number;
|
|
5
|
+
fundedLeadCount: number;
|
|
6
|
+
activeLeadCount: number;
|
|
7
|
+
dailyHistoryLeadCount: any[];
|
|
8
|
+
}, {}, {
|
|
9
|
+
fetchLeadsCount(): Promise<any>;
|
|
10
|
+
fetchLeads(page: any, size: any, filter: any, order_by: any): Promise<any>;
|
|
11
|
+
countDailyHistoryLeads(payload: any): Promise<any>;
|
|
12
|
+
activateImportedLead(id: number): Promise<any>;
|
|
13
|
+
}>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { NotificationState, NotificationType } from '../common/types/liveNotification.type';
|
|
2
|
+
|
|
3
|
+
export declare const useLiveNotificationStore: import('pinia').StoreDefinition<"live_notification", NotificationState, {}, {
|
|
4
|
+
clearLiveNotifications(): void;
|
|
5
|
+
addLiveNotification(notification: NotificationType): void;
|
|
6
|
+
}>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export declare const useMetricStore: import('pinia').StoreDefinition<"metric", {
|
|
2
|
+
accountMetricByDealFields: string[];
|
|
3
|
+
positionMetricByDealFields: string[];
|
|
4
|
+
dailyDrawdownThresholdFields: string[];
|
|
5
|
+
mtAccountEquityFields: string[];
|
|
6
|
+
metricData: any[];
|
|
7
|
+
propAccountMetricData: any[];
|
|
8
|
+
latestMetricData: {};
|
|
9
|
+
}, {
|
|
10
|
+
metricDataByLogin(): (login: string, server: string) => any;
|
|
11
|
+
getLatestMetricDataByMetricName(): (metric_name: string) => any;
|
|
12
|
+
}, {
|
|
13
|
+
setMetricData(data: any, fields: any): void;
|
|
14
|
+
queryMetric(payload: any, isNoFields?: boolean): Promise<any>;
|
|
15
|
+
queryMetricByTimetamp(payload: any): Promise<any>;
|
|
16
|
+
queryLatestMetric(payload: {
|
|
17
|
+
metric_name: string;
|
|
18
|
+
server_logins: {
|
|
19
|
+
server: string;
|
|
20
|
+
login: string;
|
|
21
|
+
}[];
|
|
22
|
+
fields: string[];
|
|
23
|
+
}): Promise<any>;
|
|
24
|
+
}>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { QueryMetricV2Payload, ServerLogin, AccountMetricByDealFields, OrderBy, MtAccountEquityFields, MtAccountHistoryFields, AccountMetricByDayOfWeekFields, AccountMetricByDateFields, AccountSymbolMetricByDealFields, PositionMetricByDealFields, AccountMetricByDate, AccountMetricByDeal, MtAccountEquity, MinEquityByLogin, MtAccountHistory, AccountMetricByDayOfWeek, AccountSymbolMetricByDeal, PositionMetricByDeal, MostTradedAssetFields, MostTradedAsset } from '../services/ClientSDK/metric/type';
|
|
2
|
+
|
|
3
|
+
export declare const useMetricV2Store: import('pinia').StoreDefinition<"metric-v2", {
|
|
4
|
+
account_metric_by_deal: AccountMetricByDeal[];
|
|
5
|
+
mt_account_equity: MtAccountEquity[];
|
|
6
|
+
min_equity_by_login: MinEquityByLogin[];
|
|
7
|
+
mt_account_history: MtAccountHistory[];
|
|
8
|
+
mt_account_history_by_week: MtAccountHistory[];
|
|
9
|
+
mt_account_history_by_month: MtAccountHistory[];
|
|
10
|
+
account_metric_by_day_of_week: AccountMetricByDayOfWeek[];
|
|
11
|
+
account_metric_by_date: AccountMetricByDate[];
|
|
12
|
+
account_symbol_metric_by_deal: AccountSymbolMetricByDeal[];
|
|
13
|
+
position_metric_by_deal: PositionMetricByDeal[];
|
|
14
|
+
most_traded_asset: MostTradedAsset[];
|
|
15
|
+
}, {}, {
|
|
16
|
+
queryMetric(payload: QueryMetricV2Payload): Promise<any>;
|
|
17
|
+
queryAccountMetricByDeal(server_logins: ServerLogin[], fields?: AccountMetricByDealFields[], order_by?: OrderBy[], order?: "asc" | "desc", offset?: number, limit?: number): Promise<any>;
|
|
18
|
+
queryMtAccountEquity(server_logins: ServerLogin[], fields?: MtAccountEquityFields[], order_by?: OrderBy[], order?: "asc" | "desc", offset?: number, limit?: number): Promise<any>;
|
|
19
|
+
queryMinEquityByLogin(server_logins: ServerLogin[], fields?: MtAccountEquityFields[], order_by?: OrderBy[], order?: "asc" | "desc", offset?: number, limit?: number): Promise<any>;
|
|
20
|
+
queryMtAccountHistory(server_logins: ServerLogin[], fields?: MtAccountHistoryFields[], order_by?: OrderBy[], order?: "asc" | "desc", offset?: number, limit?: number): Promise<any>;
|
|
21
|
+
queryMtAccountHistoryByWeek(server_logins: ServerLogin[], fields?: MtAccountHistoryFields[], order_by?: OrderBy[], order?: "asc" | "desc", offset?: number, limit?: number): Promise<any>;
|
|
22
|
+
queryMtAccountHistoryByMonth(server_logins: ServerLogin[], fields?: MtAccountHistoryFields[], order_by?: OrderBy[], order?: "asc" | "desc", offset?: number, limit?: number): Promise<any>;
|
|
23
|
+
queryAccountMetricByDayOfWeek(server_logins: ServerLogin[], fields?: AccountMetricByDayOfWeekFields[], order_by?: OrderBy[], order?: "asc" | "desc", offset?: number, limit?: number): Promise<any>;
|
|
24
|
+
queryAccountMetricByDate(server_logins: ServerLogin[], fields?: AccountMetricByDateFields[], order_by?: OrderBy[], order?: "asc" | "desc", offset?: number, limit?: number): Promise<any>;
|
|
25
|
+
queryAccountSymbolMetricByDeal(server_logins: ServerLogin[], fields?: AccountSymbolMetricByDealFields[], order_by?: OrderBy[], order?: "asc" | "desc", offset?: number, limit?: number): Promise<any>;
|
|
26
|
+
queryPositionMetricByDeal(server_logins: ServerLogin[], fields?: PositionMetricByDealFields[], order_by?: OrderBy[], order?: "asc" | "desc", offset?: number, limit?: number): Promise<any>;
|
|
27
|
+
queryMostTradedAsset(server_logins: ServerLogin[], fields?: MostTradedAssetFields[], order_by?: OrderBy[], order?: "asc" | "desc", offset?: number, limit?: number): Promise<any>;
|
|
28
|
+
}>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { CreateNewsDraft, CreateNewsRequest, GetNewsPayload } from 'src/common/types';
|
|
2
|
+
|
|
3
|
+
export declare const useNewsStore: import('pinia').StoreDefinition<"news_store", {
|
|
4
|
+
newsData: any[];
|
|
5
|
+
}, {}, {
|
|
6
|
+
createNews(payload: {
|
|
7
|
+
news: CreateNewsRequest;
|
|
8
|
+
} | CreateNewsDraft): Promise<any>;
|
|
9
|
+
updateNews(id: string | number, payload: {
|
|
10
|
+
news: CreateNewsRequest;
|
|
11
|
+
}): Promise<any>;
|
|
12
|
+
destroyNews(id: string | number): Promise<any>;
|
|
13
|
+
uploadBannerImage(id: any, payload: any): Promise<any>;
|
|
14
|
+
getNews(payload: GetNewsPayload): Promise<any>;
|
|
15
|
+
}>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const useNotesStore: import('pinia').StoreDefinition<"notes", {}, {}, {
|
|
2
|
+
createNotes(payload: {
|
|
3
|
+
object_id: number;
|
|
4
|
+
object_type: string;
|
|
5
|
+
subject: string;
|
|
6
|
+
entry_strategy?: string;
|
|
7
|
+
exit_strategy?: string;
|
|
8
|
+
comments?: string;
|
|
9
|
+
tags?: string;
|
|
10
|
+
opening_the_trade?: File | any;
|
|
11
|
+
closing_the_trade?: File | any;
|
|
12
|
+
extra_data?: any;
|
|
13
|
+
} | any, options?: any): Promise<unknown>;
|
|
14
|
+
putNotes(payload: any, options?: any): Promise<unknown>;
|
|
15
|
+
deleteNotes(ids: any): Promise<unknown>;
|
|
16
|
+
}>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { SendNotificationRequest } from '../services/ClientSDK/notificationCenter/NotificationCenter.types';
|
|
2
|
+
|
|
3
|
+
export declare const useNotificationCenter: import('pinia').StoreDefinition<"notification_center", {
|
|
4
|
+
notifications: any[];
|
|
5
|
+
unreadCount: number;
|
|
6
|
+
notificationsUnread: any[];
|
|
7
|
+
}, {}, {
|
|
8
|
+
createNotificationTemplate(payload: FormData): Promise<any>;
|
|
9
|
+
updateNotificationTemplate(payload: FormData, id: string | number): Promise<any>;
|
|
10
|
+
updateNotificationTemplateState(id: string | number, state: "enable" | "disable"): Promise<any>;
|
|
11
|
+
deleteNotificationTemplate(id: string | number): Promise<any>;
|
|
12
|
+
sendNotification(payload: SendNotificationRequest): Promise<any>;
|
|
13
|
+
updateNotification(payload: SendNotificationRequest, id: string | number): Promise<any>;
|
|
14
|
+
deleteNotification(id: string | number): Promise<any>;
|
|
15
|
+
deleteNotificationuser(id: string | number): Promise<any>;
|
|
16
|
+
markAsRead(ids: number[]): Promise<any>;
|
|
17
|
+
fetchCountNotificationUnread(): Promise<any>;
|
|
18
|
+
fetchNotificationsUnread(page: number, size: number, filter: any, order_by: any): Promise<any>;
|
|
19
|
+
addNotificationUnread(notification: any): void;
|
|
20
|
+
}>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export declare const usePaymentStore: import('pinia').StoreDefinition<"payment", {
|
|
2
|
+
listPayments: any[];
|
|
3
|
+
availableCurrenciesByMethod: Record<string, string[] | undefined>;
|
|
4
|
+
}, {}, {
|
|
5
|
+
payments(payload: any): Promise<any>;
|
|
6
|
+
createPayment(payload: any): Promise<any>;
|
|
7
|
+
uploadProofOfPayment(payload: any): Promise<any>;
|
|
8
|
+
approvePayment(payload: any): Promise<any>;
|
|
9
|
+
rejectPayment(payload: any): Promise<any>;
|
|
10
|
+
autoCompleted(payload: any): Promise<any>;
|
|
11
|
+
sumTotalDepositWithdrawal(payload: any): Promise<any>;
|
|
12
|
+
getFundingSummaries(payload: any): Promise<any>;
|
|
13
|
+
payInvoice(id: string, payload: {
|
|
14
|
+
source: string;
|
|
15
|
+
source_id: number;
|
|
16
|
+
}): Promise<any>;
|
|
17
|
+
sendInvoiceEmail(id: string): Promise<any>;
|
|
18
|
+
getAvailableCurrencies(payload: {
|
|
19
|
+
payment_method: string;
|
|
20
|
+
}): Promise<unknown>;
|
|
21
|
+
loadAvailableCurrencies(method: string, options?: {
|
|
22
|
+
force?: boolean;
|
|
23
|
+
map?: (raw: any) => string;
|
|
24
|
+
}): Promise<string[]>;
|
|
25
|
+
}>;
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
export interface IPositionInvestWallet {
|
|
2
|
+
Server?: string;
|
|
3
|
+
Login?: number;
|
|
4
|
+
Symbol?: string;
|
|
5
|
+
Action?: number;
|
|
6
|
+
Digits?: number;
|
|
7
|
+
DigitsCurrency?: number;
|
|
8
|
+
ContractSize?: number;
|
|
9
|
+
PositionId?: number;
|
|
10
|
+
ExternalId?: string;
|
|
11
|
+
TimeCreate?: string;
|
|
12
|
+
TimeUpdate?: string;
|
|
13
|
+
PriceOpen?: number;
|
|
14
|
+
PriceCurrent?: number;
|
|
15
|
+
PriceSL?: number;
|
|
16
|
+
PriceTP?: number;
|
|
17
|
+
Volume?: number;
|
|
18
|
+
Profit?: number;
|
|
19
|
+
Storage?: number;
|
|
20
|
+
RateProfit?: number;
|
|
21
|
+
RateMargin?: number;
|
|
22
|
+
ExpertId?: number;
|
|
23
|
+
ExpertPositionId?: number;
|
|
24
|
+
Comment?: string;
|
|
25
|
+
Dealer?: number;
|
|
26
|
+
ActivationMode?: number;
|
|
27
|
+
ActivationTime?: string;
|
|
28
|
+
ActivationPrice?: number;
|
|
29
|
+
ActivationFlags?: number;
|
|
30
|
+
Reason?: number;
|
|
31
|
+
State?: number;
|
|
32
|
+
}
|
|
33
|
+
export declare const usePoolProfileStore: import('pinia').StoreDefinition<"pool_profile", {
|
|
34
|
+
poolProfileIds: any[];
|
|
35
|
+
poolProfiles: any[];
|
|
36
|
+
poolProfileLastFetchedAt: any;
|
|
37
|
+
poolProfileFilterAndOrder: string;
|
|
38
|
+
selectedPoolProfile: {};
|
|
39
|
+
poolProfileLeaderboard: any[];
|
|
40
|
+
mtDeals: any[];
|
|
41
|
+
totalDeals: number;
|
|
42
|
+
positions: any[];
|
|
43
|
+
totalPositions: number;
|
|
44
|
+
positionsStateOpenLiveUpdate: IPositionInvestWallet[];
|
|
45
|
+
poolProfileLiveUpdate: {};
|
|
46
|
+
}, {
|
|
47
|
+
getFilter(): any;
|
|
48
|
+
getOrder(): any;
|
|
49
|
+
poolProfilesTotalCount(): any;
|
|
50
|
+
closedDeals(): (server: any, formatMoney: any) => any;
|
|
51
|
+
openPositions(): (server: any, formatMoney: any) => any;
|
|
52
|
+
}, {
|
|
53
|
+
reorderAndFilterPoolProfiles(): void;
|
|
54
|
+
insertOrUpdatePoolProfile(poolProfile: any): void;
|
|
55
|
+
updatePoolProfile(id: number, data: any): Promise<any>;
|
|
56
|
+
updatePoolProfileAdmin(id: number, data: any): Promise<any>;
|
|
57
|
+
fetchPoolProfile(id: number): Promise<any>;
|
|
58
|
+
fetchPoolProfileById(pool_id: number, setStore?: {
|
|
59
|
+
isSetStore?: boolean;
|
|
60
|
+
props?: {
|
|
61
|
+
investWallet?: any;
|
|
62
|
+
state?: "open" | "closed";
|
|
63
|
+
};
|
|
64
|
+
}): Promise<any>;
|
|
65
|
+
fetchPoolProfileIDsInTimeRange(from_time?: Date, to_time?: Date, filter?: any, order?: any): Promise<any>;
|
|
66
|
+
fetchPoolProfiles(page: any, size: any, filter?: any, order_by?: any, profile_ids?: any[]): Promise<any>;
|
|
67
|
+
fetchPoolProfileLeaderboard({ server, logins, profile_ids, name_like, is_exact_match, is_mam, currency, runtime, growth_range_from, growth_range_to, }: {
|
|
68
|
+
server: any;
|
|
69
|
+
logins: any;
|
|
70
|
+
profile_ids: any;
|
|
71
|
+
name_like: any;
|
|
72
|
+
is_exact_match: any;
|
|
73
|
+
is_mam: any;
|
|
74
|
+
currency: any;
|
|
75
|
+
runtime: any;
|
|
76
|
+
growth_range_from: any;
|
|
77
|
+
growth_range_to: any;
|
|
78
|
+
}, sort_by: any): Promise<any>;
|
|
79
|
+
getWidgetData(profile_id: number, chart_name: string): Promise<unknown>;
|
|
80
|
+
getAccountSummary(profile_id: number): Promise<unknown>;
|
|
81
|
+
getPoolProfileDeals(payload: any): Promise<unknown>;
|
|
82
|
+
countDeals(payload: any): Promise<unknown>;
|
|
83
|
+
getProfilePositions(payload: any): Promise<unknown>;
|
|
84
|
+
countPositions(payload: any): Promise<unknown>;
|
|
85
|
+
checkDuplicatePoolName(name: string): Promise<unknown>;
|
|
86
|
+
getPositionsInvestWallet({ payload, }: {
|
|
87
|
+
payload: {
|
|
88
|
+
investWalletId: string;
|
|
89
|
+
symbol?: string[];
|
|
90
|
+
trade_action?: string[];
|
|
91
|
+
from_time?: string;
|
|
92
|
+
to_time?: string;
|
|
93
|
+
page: number;
|
|
94
|
+
size: number;
|
|
95
|
+
order_by?: string;
|
|
96
|
+
order_direction?: string;
|
|
97
|
+
};
|
|
98
|
+
}): Promise<unknown>;
|
|
99
|
+
getCountPositionInvestWallet(idWallet: string, state: string): Promise<unknown>;
|
|
100
|
+
updatePositionListSocketInvestWallet(payload: IPositionInvestWallet[]): void;
|
|
101
|
+
getPoolPositions(params: {
|
|
102
|
+
server: string;
|
|
103
|
+
login: number;
|
|
104
|
+
page: number;
|
|
105
|
+
size: number;
|
|
106
|
+
order_by?: {
|
|
107
|
+
[key: string]: string;
|
|
108
|
+
};
|
|
109
|
+
state?: "open" | "closed";
|
|
110
|
+
}): Promise<unknown>;
|
|
111
|
+
updatePoolProfileLiveUpdate(payload: any): void;
|
|
112
|
+
exportFundManagerDetails(params: {
|
|
113
|
+
pool_id: number;
|
|
114
|
+
start_date?: string;
|
|
115
|
+
end_date?: string;
|
|
116
|
+
}): Promise<unknown>;
|
|
117
|
+
}>;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { CategoryName } from 'src/common/types/category.type';
|
|
2
|
+
import { IProgramPlatformSettings, IStaticsCompetition, IVariation } from '../common/types/product.type';
|
|
3
|
+
|
|
4
|
+
export declare const useProductStore: import('pinia').StoreDefinition<"product", {
|
|
5
|
+
products: any[];
|
|
6
|
+
selectedProduct: {};
|
|
7
|
+
categorizedProducts: {
|
|
8
|
+
prop_account: any[];
|
|
9
|
+
trading_competition: any[];
|
|
10
|
+
prop_trading_competition: any[];
|
|
11
|
+
leveraged: any[];
|
|
12
|
+
};
|
|
13
|
+
staticsCompetitions: IStaticsCompetition[];
|
|
14
|
+
}, {
|
|
15
|
+
productsTotalCount(): number;
|
|
16
|
+
propTradingCompetitionProducts(): {
|
|
17
|
+
upcoming: any;
|
|
18
|
+
ongoing: any;
|
|
19
|
+
finished: any;
|
|
20
|
+
};
|
|
21
|
+
calculatePlatformPrice(): (platform: IProgramPlatformSettings, variationData: IVariation, currency: string) => number;
|
|
22
|
+
}, {
|
|
23
|
+
fetchProducts(payload?: any, isChangeStore?: boolean, categoryName?: CategoryName, isFetchContent?: boolean): Promise<any>;
|
|
24
|
+
fetchProductByUUID(uuid: string, isEcommereService?: boolean): Promise<any>;
|
|
25
|
+
fetchLevelByProduct(product_uuid: string, product_level: any, isEcommereService?: boolean): Promise<any>;
|
|
26
|
+
createProduct(payload: any, isEcommereService?: boolean): Promise<any>;
|
|
27
|
+
createProductAndVariation(payload: any, isEcommereService?: boolean): Promise<any>;
|
|
28
|
+
updateProduct(id: string | number, payload: any): Promise<any>;
|
|
29
|
+
deleteProduct(id: string | number): Promise<any>;
|
|
30
|
+
fetchStatisticsCompetitions(product_uuids: string[] | number[]): Promise<any>;
|
|
31
|
+
}>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const useProductAttributeStore: import('pinia').StoreDefinition<"product_attribute", {
|
|
2
|
+
product_attributes: any[];
|
|
3
|
+
selectedProductAttribute: {};
|
|
4
|
+
}, {}, {
|
|
5
|
+
fetchProductAttributes(isEcommereService?: boolean): Promise<any>;
|
|
6
|
+
fetchProductAttributeByUUID(uuid: number, isEcommereService?: boolean): Promise<any>;
|
|
7
|
+
createProductAttribute(payload: any, isEcommereService?: boolean): Promise<any>;
|
|
8
|
+
updateProductAttribute(uuid: number, payload: any, isEcommereService?: boolean): Promise<any>;
|
|
9
|
+
deleteProductAttribute(uuid: number, isEcommereService?: boolean): Promise<any>;
|
|
10
|
+
}>;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
export declare const usePropAccountStore: import('pinia').StoreDefinition<"prop_account", {
|
|
2
|
+
prop_accounts: any[];
|
|
3
|
+
accountHistory: {};
|
|
4
|
+
selected_account: {};
|
|
5
|
+
fundingHistory: {};
|
|
6
|
+
openTrades: {};
|
|
7
|
+
positions: any[];
|
|
8
|
+
totalPositions: number;
|
|
9
|
+
options: string;
|
|
10
|
+
accountsIndexMap: {};
|
|
11
|
+
defaultFields: string[];
|
|
12
|
+
metricData: any[];
|
|
13
|
+
countMetricData: number;
|
|
14
|
+
rankingMetricData: any[];
|
|
15
|
+
countRankingMetricData: number;
|
|
16
|
+
equities: any[];
|
|
17
|
+
accountMetricByDeal: any[];
|
|
18
|
+
maxBalanceEquity: number;
|
|
19
|
+
dailyDrawdownThresholds: any[];
|
|
20
|
+
accountOnUpdate: any[];
|
|
21
|
+
}, {
|
|
22
|
+
closedPositions(): (server: any, formatMoney: any) => any;
|
|
23
|
+
}, {
|
|
24
|
+
fetchAccounts(page: any, size: any, filter: any, order_by: any, with_attachments?: boolean, skipPullTrading?: boolean): Promise<any>;
|
|
25
|
+
getPositions(payload: any): Promise<any>;
|
|
26
|
+
countPositions(payload: any): Promise<any>;
|
|
27
|
+
recalculateAccountMetrics(account_ids: any): Promise<any>;
|
|
28
|
+
getPublicAccountsInfo(payload: any): Promise<any>;
|
|
29
|
+
propAccountMostTradedAsset(payload: any): Promise<any>;
|
|
30
|
+
propAccountsMetrics(payload: any): Promise<any>;
|
|
31
|
+
propAccountMetricsCount(payload: any): Promise<any>;
|
|
32
|
+
getAccountMetricByLastDeal(ids: number[]): Promise<any>;
|
|
33
|
+
fetchDailyDrawdowmThresholdMetric(payload: any): Promise<any>;
|
|
34
|
+
fetchDailyDrawdownThresholds(payload: any): Promise<any>;
|
|
35
|
+
toggleHidePropAccount(id: number): Promise<any>;
|
|
36
|
+
fetchAccountOnUpdate(payload: any): Promise<any>;
|
|
37
|
+
changeInvestorAccountPassword(payload: {
|
|
38
|
+
id: number;
|
|
39
|
+
password: string;
|
|
40
|
+
}): Promise<any>;
|
|
41
|
+
changePropAccountPassword(payload: {
|
|
42
|
+
id: number;
|
|
43
|
+
new_password: string;
|
|
44
|
+
role: "master" | "investor" | null;
|
|
45
|
+
}): Promise<any>;
|
|
46
|
+
resumeMembership(id: string): Promise<unknown>;
|
|
47
|
+
cancelMembership(id: string): Promise<unknown>;
|
|
48
|
+
}>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { PurchaseNowPayload, CreatePurchasePayload, CalculatePurchasePayload } from '../services/ClientSDK/purchase/type';
|
|
2
|
+
|
|
3
|
+
export declare const usePurchasesStore: import('pinia').StoreDefinition<"purchases", {
|
|
4
|
+
purchases: any[];
|
|
5
|
+
selectedPurchase: {};
|
|
6
|
+
purchasedInfo: Record<string, any> | null;
|
|
7
|
+
}, {}, {
|
|
8
|
+
fetchPurchases(payload?: {
|
|
9
|
+
page?: number;
|
|
10
|
+
size?: number;
|
|
11
|
+
filter?: any;
|
|
12
|
+
order_by?: any;
|
|
13
|
+
from_time?: any;
|
|
14
|
+
to_time?: any;
|
|
15
|
+
}): Promise<unknown>;
|
|
16
|
+
calculatePurchase(payload: CalculatePurchasePayload): Promise<unknown>;
|
|
17
|
+
createPurchase(payload: CreatePurchasePayload): Promise<CreatePurchasePayload | null>;
|
|
18
|
+
updatePurchase(id: string | number, payload: any): Promise<unknown>;
|
|
19
|
+
purchaseNow(purchaseId: number, payload: PurchaseNowPayload): Promise<unknown>;
|
|
20
|
+
purchaseNowAnonymous(payload: PurchaseNowPayload): Promise<unknown>;
|
|
21
|
+
getPurchaseByUUID(uuid: string): Promise<unknown>;
|
|
22
|
+
createPurchaseForRequest(request_id: string): Promise<unknown>;
|
|
23
|
+
}>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const useReportStore: import('pinia').StoreDefinition<"report", {}, {}, {
|
|
2
|
+
downloadProfitLossReport(payload: any): Promise<any>;
|
|
3
|
+
downloadVolumeReport(payload: any): Promise<any>;
|
|
4
|
+
downloadTopTradingReport(payload: any): Promise<any>;
|
|
5
|
+
downloadTopTradersReport(payload: any): Promise<any>;
|
|
6
|
+
downloadTransactionsReport(payload: any): Promise<any>;
|
|
7
|
+
downloadDPWPITRReport(payload: any): Promise<any>;
|
|
8
|
+
downloadIBCommissionTransactionsReport(payload: any): Promise<any>;
|
|
9
|
+
downloadLeadsAndClientsReport(payload: any): Promise<any>;
|
|
10
|
+
downloadNewLeadsDailyReport(payload: any): Promise<any>;
|
|
11
|
+
downloadReferAFriendReport(payload: any): Promise<any>;
|
|
12
|
+
downloadIBDetailedTradingPerAccReport(payload: any): Promise<any>;
|
|
13
|
+
downloadIBTotalDetailedTradingInfoReport(payload: any): Promise<any>;
|
|
14
|
+
downloadIBTotalTradedVolumeReport(payload: any): Promise<any>;
|
|
15
|
+
downloadIBSummaryReport(payload: any): Promise<any>;
|
|
16
|
+
downloadIBReport(payload: any): Promise<any>;
|
|
17
|
+
downloadWalletDetailsReport(payload: any): Promise<any>;
|
|
18
|
+
downloadTotalIBCommissionReport(payload: any): Promise<any>;
|
|
19
|
+
}>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const useReportFilterStore: import('pinia').StoreDefinition<"report_filters", {
|
|
2
|
+
report_filters: any[];
|
|
3
|
+
}, {}, {
|
|
4
|
+
getReportFilter(): Promise<any>;
|
|
5
|
+
getReportFilterById(id: any): Promise<any>;
|
|
6
|
+
createReportFilter(payload: any): Promise<any>;
|
|
7
|
+
updateReportFilter(id: any, payload: any): Promise<any>;
|
|
8
|
+
deleteReportFilter(id: any): Promise<any>;
|
|
9
|
+
}>;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export declare const useRequestStore: import('pinia').StoreDefinition<"request", {
|
|
2
|
+
requests: any[];
|
|
3
|
+
selected_request: {};
|
|
4
|
+
verification: any[];
|
|
5
|
+
paymentMethod: {};
|
|
6
|
+
}, {}, {
|
|
7
|
+
fetchRequests(request_types: string[] | string, page: number, size: number, filter: object, order_by: object): Promise<any>;
|
|
8
|
+
fetchOneRequest(request_id: number): Promise<any>;
|
|
9
|
+
createRequest(payload: any, options?: any): Promise<any>;
|
|
10
|
+
createWalletRequest(payload: any): Promise<any>;
|
|
11
|
+
createAccountRequest(payload: any, request_type: string): Promise<any>;
|
|
12
|
+
createDepositRequest(payload: any): Promise<any>;
|
|
13
|
+
createDemoDepositRequest(payload: any): Promise<any>;
|
|
14
|
+
createWithdrawalRequest(payload: any): Promise<any>;
|
|
15
|
+
createTransferRequest(payload: any): Promise<any>;
|
|
16
|
+
createLeadImportRequest(payload: any): Promise<any>;
|
|
17
|
+
changeLeverage(account_id: number, payload: any, request_type: string): Promise<any>;
|
|
18
|
+
resetPassword(account_id: number): Promise<any>;
|
|
19
|
+
uploadPaymentProof(request_id: number, payload: any): Promise<any>;
|
|
20
|
+
importLeadFile(request_id: number, payload: any): Promise<any>;
|
|
21
|
+
importIBFile(request_id: number, payload: any): Promise<any>;
|
|
22
|
+
uploadTradingReports(request_id: number, payload: any): Promise<any>;
|
|
23
|
+
cancelRequest(request_id: number): Promise<any>;
|
|
24
|
+
depositPSP(payload: any): Promise<any>;
|
|
25
|
+
withdrawPSP(payload: any): Promise<any>;
|
|
26
|
+
callPaymentMethodFunc(payload: any): Promise<any>;
|
|
27
|
+
approveRequest(request_id: number): Promise<any>;
|
|
28
|
+
rejectRequest(request_id: number, payload: any): Promise<any>;
|
|
29
|
+
bulkApproveRequest(ids: number[]): Promise<any>;
|
|
30
|
+
bulkRejectRequest(payload: any): Promise<any>;
|
|
31
|
+
reprocessRequest(request_id: number): Promise<any>;
|
|
32
|
+
updateThenApproveRequest(request_id: number, params_fields: any): Promise<any>;
|
|
33
|
+
updateExtraData(id: any, payload: any): Promise<unknown>;
|
|
34
|
+
reviewKycDocument(id: any, payload: any): Promise<unknown>;
|
|
35
|
+
undoKycDocument(id: any, payload: any): Promise<unknown>;
|
|
36
|
+
reactivateTradingAccount(payload: any, user_id: number): Promise<unknown>;
|
|
37
|
+
disableTradingAccount(payload: any, user_id: number): Promise<unknown>;
|
|
38
|
+
generateTodayReport(poolId: number): Promise<unknown>;
|
|
39
|
+
}>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const useRoleSetStore: import('pinia').StoreDefinition<"role_sets", {}, {}, {
|
|
2
|
+
fetchRoles(page: any, size: any, filter: any, order_by: any): Promise<any>;
|
|
3
|
+
createRole(payload: any): Promise<any>;
|
|
4
|
+
updateRole(id: number, payload: any): Promise<any>;
|
|
5
|
+
deleteRole(id: number): Promise<any>;
|
|
6
|
+
cloneRole(id: number): Promise<any>;
|
|
7
|
+
}>;
|