@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,171 @@
|
|
|
1
|
+
export declare enum MetricName {
|
|
2
|
+
AccountMetricByDeal = "account_metric_by_deal",
|
|
3
|
+
MtAccountEquity = "mt_account_equity",
|
|
4
|
+
MinEquityByLogin = "min_equity_by_login",
|
|
5
|
+
MtAccountHistory = "mt_account_history",
|
|
6
|
+
MtAccountHistoryByWeek = "mt_account_history_by_week",
|
|
7
|
+
MtAccountHistoryByMonth = "mt_account_history_by_month",
|
|
8
|
+
AccountMetricByDayOfWeek = "account_metric_by_day_of_week",
|
|
9
|
+
AccountMetricByDate = "account_metric_by_date",
|
|
10
|
+
AccountSymbolMetricByDeal = "account_symbol_metric_by_deal",
|
|
11
|
+
PositionMetricByDeal = "position_metric_by_deal",
|
|
12
|
+
MostTradedAsset = "most_traded_asset"
|
|
13
|
+
}
|
|
14
|
+
export declare const METRIC_SOURCE_MAP: {
|
|
15
|
+
readonly account_metric_by_deal: "v_account_metric_by_deal_latest";
|
|
16
|
+
readonly mt_account_equity: "v_latest_equity_by_login";
|
|
17
|
+
readonly min_equity_by_login: "v_min_equity_by_login";
|
|
18
|
+
readonly mt_account_history: "mt_account_history_table";
|
|
19
|
+
readonly mt_account_history_by_week: "v_mt_account_history_by_week";
|
|
20
|
+
readonly mt_account_history_by_month: "v_mt_account_history_by_month";
|
|
21
|
+
readonly account_metric_by_day_of_week: "v_account_metric_by_day_of_week";
|
|
22
|
+
readonly account_metric_by_date: "v_account_metric_by_date";
|
|
23
|
+
readonly account_symbol_metric_by_deal: "v_account_symbol_metric_by_deal_latest";
|
|
24
|
+
readonly position_metric_by_deal: "v_position_metric_by_deal_latest";
|
|
25
|
+
readonly most_traded_asset: "most_traded_asset";
|
|
26
|
+
};
|
|
27
|
+
export interface ServerLogin {
|
|
28
|
+
server: string;
|
|
29
|
+
login: number;
|
|
30
|
+
}
|
|
31
|
+
export type OrderBy = 'server' | 'login' | 'timestamp';
|
|
32
|
+
interface OptionalPayload {
|
|
33
|
+
server_logins?: ServerLogin[];
|
|
34
|
+
order_by?: OrderBy[];
|
|
35
|
+
order?: 'asc' | 'desc';
|
|
36
|
+
limit?: number;
|
|
37
|
+
offset?: number;
|
|
38
|
+
}
|
|
39
|
+
export type AccountMetricByDealFields = 'profit_loss' | 'initial_deposit' | 'max_daily_profit_loss' | 'prev_max_daily_profit_loss' | 'min_daily_profit_loss' | 'prev_min_daily_profit_loss' | 'trading_days' | 'daily_profit_loss' | 'balance' | 'total_volume' | 'count_trades' | 'best_trade' | 'worst_trade' | 'highest_account_balance' | 'average_win' | 'average_loss' | 'wins_ratio' | 'gross_profit' | 'gross_loss' | 'average_trade_duration' | 'yesterday_net_profit_loss';
|
|
40
|
+
interface AccountMetricByDealPayload extends OptionalPayload {
|
|
41
|
+
metric_name: MetricName.AccountMetricByDeal;
|
|
42
|
+
fields: AccountMetricByDealFields[];
|
|
43
|
+
}
|
|
44
|
+
export type MtAccountEquityFields = 'equity' | 'timestamp';
|
|
45
|
+
interface MtAccountEquityPayload extends OptionalPayload {
|
|
46
|
+
metric_name: MetricName.MtAccountEquity;
|
|
47
|
+
fields: MtAccountEquityFields[];
|
|
48
|
+
}
|
|
49
|
+
export type MinEquityByLoginFields = 'equity' | 'timestamp' | 'previous_min_equity';
|
|
50
|
+
interface MinEquityByLoginPayload extends OptionalPayload {
|
|
51
|
+
metric_name: MetricName.MinEquityByLogin;
|
|
52
|
+
fields: MinEquityByLoginFields[];
|
|
53
|
+
}
|
|
54
|
+
export type MtAccountHistoryFields = 'balance' | 'equity' | 'timestamp' | 'date';
|
|
55
|
+
interface MtAccountHistoryPayload extends OptionalPayload {
|
|
56
|
+
metric_name: MetricName.MtAccountHistory;
|
|
57
|
+
fields: MtAccountHistoryFields[];
|
|
58
|
+
}
|
|
59
|
+
interface MtAccountHistoryByWeekPayload extends OptionalPayload {
|
|
60
|
+
metric_name: MetricName.MtAccountHistoryByWeek;
|
|
61
|
+
fields: MtAccountHistoryFields[];
|
|
62
|
+
}
|
|
63
|
+
interface MtAccountHistoryByMonthPayload extends OptionalPayload {
|
|
64
|
+
metric_name: MetricName.MtAccountHistoryByMonth;
|
|
65
|
+
fields: MtAccountHistoryFields[];
|
|
66
|
+
}
|
|
67
|
+
export type AccountMetricByDayOfWeekFields = 'day' | 'active_days' | 'total_trades' | 'total_gross_profit' | 'total_gross_loss';
|
|
68
|
+
interface AccountMetricByDayOfWeekPayload extends OptionalPayload {
|
|
69
|
+
metric_name: MetricName.AccountMetricByDayOfWeek;
|
|
70
|
+
fields: AccountMetricByDayOfWeekFields[];
|
|
71
|
+
}
|
|
72
|
+
export type AccountMetricByDateFields = 'date' | 'daily_profit_loss' | 'total_trades';
|
|
73
|
+
interface AccountMetricByDatePayload extends OptionalPayload {
|
|
74
|
+
metric_name: MetricName.AccountMetricByDate;
|
|
75
|
+
fields: AccountMetricByDateFields[];
|
|
76
|
+
}
|
|
77
|
+
export type AccountSymbolMetricByDealFields = 'symbol' | 'total_volume' | 'total_trades' | 'total_win_trades' | 'total_loss_trades';
|
|
78
|
+
interface AccountSymbolMetricByDealPayload extends OptionalPayload {
|
|
79
|
+
metric_name: MetricName.AccountSymbolMetricByDeal;
|
|
80
|
+
fields: AccountSymbolMetricByDealFields[];
|
|
81
|
+
}
|
|
82
|
+
export type PositionMetricByDealFields = 'symbol' | 'action' | 'timestamp_open' | 'price_position' | 'timestamp' | 'price' | 'volume' | 'volume_remaining';
|
|
83
|
+
interface PositionMetricByDealPayload extends OptionalPayload {
|
|
84
|
+
metric_name: MetricName.PositionMetricByDeal;
|
|
85
|
+
fields: PositionMetricByDealFields[];
|
|
86
|
+
}
|
|
87
|
+
export type MostTradedAssetFields = 'symbol';
|
|
88
|
+
interface MostTradedAssetPayload extends OptionalPayload {
|
|
89
|
+
metric_name: MetricName.MostTradedAsset;
|
|
90
|
+
fields: MostTradedAssetFields[];
|
|
91
|
+
}
|
|
92
|
+
export type QueryMetricV2Payload = AccountMetricByDealPayload | MtAccountEquityPayload | MinEquityByLoginPayload | MtAccountHistoryPayload | MtAccountHistoryByWeekPayload | MtAccountHistoryByMonthPayload | AccountMetricByDayOfWeekPayload | AccountMetricByDatePayload | AccountSymbolMetricByDealPayload | PositionMetricByDealPayload | MostTradedAssetPayload;
|
|
93
|
+
export interface QueryMetricV2Response {
|
|
94
|
+
data: {
|
|
95
|
+
login: number;
|
|
96
|
+
server: string;
|
|
97
|
+
[key: string]: any;
|
|
98
|
+
}[];
|
|
99
|
+
}
|
|
100
|
+
export interface AccountMetricByDeal extends ServerLogin {
|
|
101
|
+
profit_loss: number;
|
|
102
|
+
initial_deposit: number;
|
|
103
|
+
max_daily_profit_loss: number;
|
|
104
|
+
min_daily_profit_loss: number;
|
|
105
|
+
trading_days: number;
|
|
106
|
+
daily_profit_loss: number;
|
|
107
|
+
balance: number;
|
|
108
|
+
total_volume: number;
|
|
109
|
+
count_trades: number;
|
|
110
|
+
best_trade: number;
|
|
111
|
+
worst_trade: number;
|
|
112
|
+
average_win: number;
|
|
113
|
+
average_loss: number;
|
|
114
|
+
wins_ratio: number;
|
|
115
|
+
gross_profit: number;
|
|
116
|
+
gross_loss: number;
|
|
117
|
+
average_trade_duration: number;
|
|
118
|
+
yesterday_net_profit_loss: number;
|
|
119
|
+
prev_max_daily_profit_loss: number;
|
|
120
|
+
prev_min_daily_profit_loss: number;
|
|
121
|
+
highest_account_balance: number;
|
|
122
|
+
}
|
|
123
|
+
export interface MtAccountEquity extends ServerLogin {
|
|
124
|
+
equity: number;
|
|
125
|
+
timestamp: string;
|
|
126
|
+
}
|
|
127
|
+
export interface MinEquityByLogin extends ServerLogin {
|
|
128
|
+
equity: number;
|
|
129
|
+
timestamp: string;
|
|
130
|
+
previous_min_equity: number;
|
|
131
|
+
}
|
|
132
|
+
export interface MtAccountHistory extends ServerLogin {
|
|
133
|
+
login: number;
|
|
134
|
+
balance: number;
|
|
135
|
+
equity: number;
|
|
136
|
+
timestamp: string;
|
|
137
|
+
date: string;
|
|
138
|
+
}
|
|
139
|
+
export interface AccountMetricByDayOfWeek extends ServerLogin {
|
|
140
|
+
day: 1 | 2 | 3 | 4 | 5 | 6 | 7;
|
|
141
|
+
active_days: number;
|
|
142
|
+
total_trades: number;
|
|
143
|
+
total_gross_profit: number;
|
|
144
|
+
total_gross_loss: number;
|
|
145
|
+
}
|
|
146
|
+
export interface AccountMetricByDate extends ServerLogin {
|
|
147
|
+
date: string;
|
|
148
|
+
daily_profit_loss: number;
|
|
149
|
+
total_trades: number;
|
|
150
|
+
}
|
|
151
|
+
export interface AccountSymbolMetricByDeal extends ServerLogin {
|
|
152
|
+
symbol: string;
|
|
153
|
+
total_volume: number;
|
|
154
|
+
total_trades: number;
|
|
155
|
+
total_win_trades: number;
|
|
156
|
+
total_loss_trades: number;
|
|
157
|
+
}
|
|
158
|
+
export interface PositionMetricByDeal extends ServerLogin {
|
|
159
|
+
symbol: string;
|
|
160
|
+
action: 0 | 1;
|
|
161
|
+
timestamp_open: string;
|
|
162
|
+
price_position: number;
|
|
163
|
+
timestamp: string;
|
|
164
|
+
price: number;
|
|
165
|
+
volume: number;
|
|
166
|
+
volume_remaining: number;
|
|
167
|
+
}
|
|
168
|
+
export interface MostTradedAsset extends ServerLogin {
|
|
169
|
+
symbol?: string;
|
|
170
|
+
}
|
|
171
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CreateNewsDraft, CreateNewsRequest, GetNewsPayload } from 'src/common/types';
|
|
2
|
+
import { Base } from '../../base';
|
|
3
|
+
|
|
4
|
+
export declare class News extends Base {
|
|
5
|
+
createNews(payload: {
|
|
6
|
+
news: CreateNewsRequest;
|
|
7
|
+
} | CreateNewsDraft): Promise<any>;
|
|
8
|
+
updateNews(id: string | number, payload: {
|
|
9
|
+
news: CreateNewsRequest;
|
|
10
|
+
}): Promise<any>;
|
|
11
|
+
destroyNews(id: string | number): Promise<any>;
|
|
12
|
+
uploadBannerImage(id: any, payload: any): Promise<any>;
|
|
13
|
+
getNews(payload: GetNewsPayload): Promise<any>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Base } from '../../base';
|
|
2
|
+
|
|
3
|
+
export declare class Note extends Base {
|
|
4
|
+
createNotes(payload: any, options?: any): Promise<any>;
|
|
5
|
+
updateNotes(id: any, payload: any): Promise<any>;
|
|
6
|
+
putNotes(payload: any, options?: any): Promise<any>;
|
|
7
|
+
deleteNotes(ids: any): Promise<any>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export interface NotificationTemplate {
|
|
2
|
+
title: string;
|
|
3
|
+
language?: string;
|
|
4
|
+
bindings?: string;
|
|
5
|
+
icon?: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
attachment_urls?: string[];
|
|
8
|
+
content?: string;
|
|
9
|
+
}
|
|
10
|
+
export interface NotificationTemplateRequest {
|
|
11
|
+
notification_template: NotificationTemplate;
|
|
12
|
+
}
|
|
13
|
+
export interface NotificationTemplateStateRequest {
|
|
14
|
+
state: 'enable' | 'disable';
|
|
15
|
+
}
|
|
16
|
+
export interface SendNotificationRequest {
|
|
17
|
+
notification: {
|
|
18
|
+
notification_template_id: number;
|
|
19
|
+
time_sent?: string;
|
|
20
|
+
send_for: number[];
|
|
21
|
+
state: 'sent' | 'scheduled';
|
|
22
|
+
recipient_type: 'user' | 'account';
|
|
23
|
+
};
|
|
24
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Base, Config } from '../../base';
|
|
2
|
+
import { SendNotificationRequest } from './NotificationCenter.types';
|
|
3
|
+
|
|
4
|
+
declare class NotificationCenter extends Base {
|
|
5
|
+
constructor(config: Config);
|
|
6
|
+
createNotificationTemplate(payload: FormData): Promise<any>;
|
|
7
|
+
updateNotificationTemplate(payload: FormData, id: string | number): Promise<any>;
|
|
8
|
+
updateNotificationTemplateState({ id, state, }: {
|
|
9
|
+
id: string | number;
|
|
10
|
+
state: 'enable' | 'disable';
|
|
11
|
+
}): Promise<any>;
|
|
12
|
+
deleteNotificationTemplate(id: string | number): Promise<any>;
|
|
13
|
+
sendNotification(payload: SendNotificationRequest): Promise<any>;
|
|
14
|
+
updateNotifications(payload: SendNotificationRequest, id: string | number): Promise<any>;
|
|
15
|
+
deleteNotification(id: string | number): Promise<any>;
|
|
16
|
+
deleteNotificationUser(id: string | number): Promise<any>;
|
|
17
|
+
markAsRead(ids: number[]): Promise<any>;
|
|
18
|
+
fetchCountNotificationUnread(): Promise<any>;
|
|
19
|
+
}
|
|
20
|
+
export default NotificationCenter;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Base } from '../../base';
|
|
2
|
+
|
|
3
|
+
export declare class Payment extends Base {
|
|
4
|
+
payments(payload: any): Promise<any>;
|
|
5
|
+
createPayment(payload: any): Promise<any>;
|
|
6
|
+
uploadProofOfPaymentPaymentTable(payload: any): Promise<any>;
|
|
7
|
+
getAvailableCurrency(payload: {
|
|
8
|
+
payment_method: string;
|
|
9
|
+
}): Promise<unknown>;
|
|
10
|
+
estimateAmount(payload: {
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
}): Promise<any>;
|
|
13
|
+
getPaymentStatus(payload: any): Promise<any>;
|
|
14
|
+
approvePayment(payload: any): Promise<any>;
|
|
15
|
+
rejectPayment(payload: any): Promise<any>;
|
|
16
|
+
getXamaxData(payload: any): Promise<any>;
|
|
17
|
+
getCountPayments(payload: any): Promise<any>;
|
|
18
|
+
getSumPayments(payload: any): Promise<any>;
|
|
19
|
+
autoCompleted(payload: any): Promise<any>;
|
|
20
|
+
sumTotalDepositWithdrawal(payload: any): Promise<any>;
|
|
21
|
+
getFundingSummaries(payload: any): Promise<any>;
|
|
22
|
+
payInvoice(id: string, payload: {
|
|
23
|
+
source: string;
|
|
24
|
+
source_id: number;
|
|
25
|
+
}): Promise<any>;
|
|
26
|
+
sendInvoiceEmail(id: string): Promise<any>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Base } from '../../base';
|
|
2
|
+
|
|
3
|
+
type CheckInquiryResponse = {
|
|
4
|
+
action: string;
|
|
5
|
+
inquiry_id: string;
|
|
6
|
+
session_token: string;
|
|
7
|
+
environment_id: string;
|
|
8
|
+
};
|
|
9
|
+
export declare class Persona extends Base {
|
|
10
|
+
checkInquiry(fields: Record<string, any>): Promise<import('axios').AxiosResponse<CheckInquiryResponse, any, {}, any>>;
|
|
11
|
+
}
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Base } from '../../base';
|
|
2
|
+
|
|
3
|
+
export declare class Product extends Base {
|
|
4
|
+
getProducts(payload: any): Promise<any>;
|
|
5
|
+
getProductByUUID(uuid: any): Promise<any>;
|
|
6
|
+
getLevelByProduct(product_uuid: string, product_level: any): Promise<any>;
|
|
7
|
+
createProduct(payload: any): Promise<any>;
|
|
8
|
+
updateProduct(uuid: any, payload: any): Promise<any>;
|
|
9
|
+
deleteProduct(uuid: any): Promise<any>;
|
|
10
|
+
createProductAndVariation(payload: any): Promise<any>;
|
|
11
|
+
updateProductState(uuid: any, state: any, payload: any): Promise<any>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Base } from '../../base';
|
|
2
|
+
|
|
3
|
+
export declare class ProductAttribute extends Base {
|
|
4
|
+
getProductAttributes(): Promise<any>;
|
|
5
|
+
getProductAttributeByUUID(uuid: any): Promise<any>;
|
|
6
|
+
createProductAttribute(payload: any): Promise<any>;
|
|
7
|
+
updateProductAttribute(uuid: any, payload: any): Promise<any>;
|
|
8
|
+
deleteProductAttribute(uuid: any): Promise<any>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { AxiosResponse } from 'axios';
|
|
2
|
+
import { Base } from '../../base';
|
|
3
|
+
|
|
4
|
+
export declare class PropAccount extends Base {
|
|
5
|
+
fetchPropAccounts(filter: object): Promise<any>;
|
|
6
|
+
pullPropAccountTradingData(payload?: any): Promise<any>;
|
|
7
|
+
fetchOnePropAccount(account_id: number): Promise<any>;
|
|
8
|
+
fetchOpenTrades(account_id: number): Promise<any>;
|
|
9
|
+
fetchMtPropAccountHistory(server: string, account_ids: number[], from_date: string, to_date: string): Promise<any>;
|
|
10
|
+
fetchMtDeals(server: string, account_ids: number[], from_time: string, to_time: string): Promise<any>;
|
|
11
|
+
listPositions(account_id: number, position_type: string, symbol: string): Promise<any>;
|
|
12
|
+
fetchPropAccountsUsingIDs(ids: number[]): Promise<any>;
|
|
13
|
+
bulkUpdatePropAccountsState(payload: any): Promise<any>;
|
|
14
|
+
bulkRestorePropAccountsState(payload: any): Promise<any>;
|
|
15
|
+
updatePropAccountTradingState(account_id: number, payload: any): Promise<any>;
|
|
16
|
+
updatePropAccount(account_id: number, payload: any): Promise<any>;
|
|
17
|
+
updatePropAccountComment(id: number, payload: any): Promise<any>;
|
|
18
|
+
changePropAccountLeverage(id: number, { new_leverage }: {
|
|
19
|
+
new_leverage: any;
|
|
20
|
+
}): Promise<any>;
|
|
21
|
+
updatePropAccountType(id: number, { account_type }: {
|
|
22
|
+
account_type: any;
|
|
23
|
+
}): Promise<any>;
|
|
24
|
+
updatePropAccountGroup(id: number, { group_name, account_type }: {
|
|
25
|
+
group_name: any;
|
|
26
|
+
account_type: any;
|
|
27
|
+
}): Promise<any>;
|
|
28
|
+
manualChangePropAccountPassword(id: number, { new_password }: {
|
|
29
|
+
new_password: any;
|
|
30
|
+
}): Promise<any>;
|
|
31
|
+
changeInvestorPassword({ id, new_password, }: {
|
|
32
|
+
id: number;
|
|
33
|
+
new_password: string;
|
|
34
|
+
}): Promise<any>;
|
|
35
|
+
changePropAccountPassword({ id, new_password, role, }: {
|
|
36
|
+
id: number;
|
|
37
|
+
new_password: string;
|
|
38
|
+
role: 'master' | 'investor' | null;
|
|
39
|
+
}): Promise<AxiosResponse<{
|
|
40
|
+
login: string;
|
|
41
|
+
}>>;
|
|
42
|
+
getPropAccountSummary(payload: any): Promise<any>;
|
|
43
|
+
getPropPostions(payload: any): Promise<any>;
|
|
44
|
+
countPropPositions(payload: any): Promise<any>;
|
|
45
|
+
recheckConditions(payload: any): Promise<any>;
|
|
46
|
+
recalculateAccountMetrics(payload: any): Promise<any>;
|
|
47
|
+
getPublicAccountsInfo(payload: any): Promise<any>;
|
|
48
|
+
propAccountMostTradedAsset(payload: any): Promise<any>;
|
|
49
|
+
propAccountWithLatestActivity(payload: any): Promise<any>;
|
|
50
|
+
propAccountsMetrics(payload: any): Promise<any>;
|
|
51
|
+
propAccountMetricsCount(payload: any): Promise<any>;
|
|
52
|
+
getAccountMetricByLastDeal(ids: number[]): Promise<any>;
|
|
53
|
+
resetAlert(id: number): Promise<any>;
|
|
54
|
+
fetchPropAccountGrowth(id: number, on_closed_trade: boolean): Promise<any>;
|
|
55
|
+
fetchPropAccountMonthlyGains(id: number): Promise<any>;
|
|
56
|
+
toggleHidePropAccount(id: number): Promise<any>;
|
|
57
|
+
resumeMembership(id: string): Promise<any>;
|
|
58
|
+
cancelMembership(id: string): Promise<any>;
|
|
59
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { AxiosResponse } from 'axios';
|
|
2
|
+
import { Base } from '../../base';
|
|
3
|
+
import { PurchaseNowPayload, PurchaseData, CreatePurchasePayload, CalculatePurchasePayload } from './type';
|
|
4
|
+
|
|
5
|
+
export declare class Purchase extends Base {
|
|
6
|
+
calculatePrice(payload: CalculatePurchasePayload): Promise<AxiosResponse<any>>;
|
|
7
|
+
purchaseNow(purchaseId: number, payload: PurchaseNowPayload): Promise<AxiosResponse<any>>;
|
|
8
|
+
purchaseNowAnonymous(payload: PurchaseNowPayload): Promise<AxiosResponse<any>>;
|
|
9
|
+
createPurchase(payload: CreatePurchasePayload): Promise<AxiosResponse<PurchaseData>>;
|
|
10
|
+
updatePurchase(id: string | number, payload: any): Promise<AxiosResponse<any>>;
|
|
11
|
+
getPurchaseByUUID(uuid: string): Promise<AxiosResponse<PurchaseData>>;
|
|
12
|
+
createPurchaseForRequest(request_id: string): Promise<AxiosResponse<PurchaseData>>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
export interface CalculatePurchasePayload extends CreatePurchasePayload {
|
|
2
|
+
coupon_codes: string[];
|
|
3
|
+
}
|
|
4
|
+
export interface CreatePurchasePayload {
|
|
5
|
+
currency: string;
|
|
6
|
+
items: {
|
|
7
|
+
product_uuid: string;
|
|
8
|
+
specs: {
|
|
9
|
+
platform: string;
|
|
10
|
+
[key: string]: any;
|
|
11
|
+
};
|
|
12
|
+
variation_index: number;
|
|
13
|
+
}[];
|
|
14
|
+
}
|
|
15
|
+
export interface PurchaseData {
|
|
16
|
+
id: number;
|
|
17
|
+
state: string;
|
|
18
|
+
user_id: number;
|
|
19
|
+
reason: unknown;
|
|
20
|
+
personal_info: Record<string, any> | null;
|
|
21
|
+
additional_info: Record<string, any> | null;
|
|
22
|
+
currency: string | null;
|
|
23
|
+
email: string;
|
|
24
|
+
final_price: unknown;
|
|
25
|
+
items: {
|
|
26
|
+
product_uuid: string;
|
|
27
|
+
specs: {
|
|
28
|
+
platform: string;
|
|
29
|
+
[key: string]: any;
|
|
30
|
+
};
|
|
31
|
+
variation_index: number;
|
|
32
|
+
}[];
|
|
33
|
+
created_at: string | null;
|
|
34
|
+
completed_at: string | null;
|
|
35
|
+
updated_at: string | null;
|
|
36
|
+
proceeded_at: string | null;
|
|
37
|
+
}
|
|
38
|
+
export interface PurchaseNowPayload {
|
|
39
|
+
id: number;
|
|
40
|
+
personal_info: {
|
|
41
|
+
first_name: string;
|
|
42
|
+
last_name: string;
|
|
43
|
+
email: string;
|
|
44
|
+
phone: string;
|
|
45
|
+
country: string;
|
|
46
|
+
city: string;
|
|
47
|
+
address: string;
|
|
48
|
+
zip_code: string;
|
|
49
|
+
};
|
|
50
|
+
coupon_codes: string[];
|
|
51
|
+
company_bank: {
|
|
52
|
+
name: string;
|
|
53
|
+
currency: string;
|
|
54
|
+
};
|
|
55
|
+
additional_info: {
|
|
56
|
+
program_name: string;
|
|
57
|
+
account_size: number;
|
|
58
|
+
landing_page_url?: string;
|
|
59
|
+
utm_params?: {
|
|
60
|
+
[key: string]: any;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
purchaseType: string;
|
|
64
|
+
payment_method_id: number;
|
|
65
|
+
payment_method: string;
|
|
66
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Base } from '../../base';
|
|
2
|
+
|
|
3
|
+
export declare class ReportFilters extends Base {
|
|
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,38 @@
|
|
|
1
|
+
import { Base } from '../../base';
|
|
2
|
+
|
|
3
|
+
export declare class Request extends Base {
|
|
4
|
+
createRequest(payload: any, options: any): Promise<any>;
|
|
5
|
+
createWalletRequest(payload: any): Promise<any>;
|
|
6
|
+
createAccountRequest(payload: any, request_type: string): Promise<any>;
|
|
7
|
+
createDepositRequest(payload: any): Promise<any>;
|
|
8
|
+
createDemoDeposit(payload: any): Promise<any>;
|
|
9
|
+
createWithdrawalRequest(payload: any): Promise<any>;
|
|
10
|
+
profileChange(payload: any): Promise<any>;
|
|
11
|
+
createTransferRequest(payload: any): Promise<any>;
|
|
12
|
+
createLeadImportRequest(payload: any): Promise<any>;
|
|
13
|
+
changeLeverage(account_id: number, payload: any, request_type: string): Promise<any>;
|
|
14
|
+
resetPassword(account_id: number): Promise<any>;
|
|
15
|
+
fetchOneRequest(request_id: number): Promise<any>;
|
|
16
|
+
uploadProofOfPayment(request_id: number, payload: any): Promise<any>;
|
|
17
|
+
importLeadFile(request_id: number, payload: any): Promise<any>;
|
|
18
|
+
importIBFile(request_id: number, payload: any): Promise<any>;
|
|
19
|
+
uploadTradingReports(request_id: number, payload: any): Promise<any>;
|
|
20
|
+
approveRequest(request_id: number): Promise<any>;
|
|
21
|
+
rejectRequest(request_id: number, payload: any): Promise<any>;
|
|
22
|
+
reprocessRequest(request_id: number): Promise<any>;
|
|
23
|
+
cancelRequest(request_id: number): Promise<any>;
|
|
24
|
+
bulkApproveRequest(ids: number[]): Promise<any>;
|
|
25
|
+
bulkRejectRequest(payload: any): Promise<any>;
|
|
26
|
+
updateThenApproveRequest(request_id: number, { params_fields }: {
|
|
27
|
+
params_fields: any;
|
|
28
|
+
}): Promise<any>;
|
|
29
|
+
depositPSP(payload: any): Promise<any>;
|
|
30
|
+
withdrawPSP(payload: any): Promise<any>;
|
|
31
|
+
callPaymentMethodFunc(payload: any): Promise<any>;
|
|
32
|
+
getPendingNumber(request_types: any): Promise<any>;
|
|
33
|
+
countRequests(payload: any): Promise<any>;
|
|
34
|
+
createReactivateAccountRequest(payload: any, user_id: number): Promise<any>;
|
|
35
|
+
createDisableAccountRequest(payload: any, user_id: number): Promise<any>;
|
|
36
|
+
createReactivatePropAccountRequest(payload: any): Promise<any>;
|
|
37
|
+
createDisablePropAccountRequest(payload: any): Promise<any>;
|
|
38
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Base } from '../../base';
|
|
2
|
+
|
|
3
|
+
export declare class SiteSetting extends Base {
|
|
4
|
+
fetchSiteSettings(path: string[], recursive?: boolean): Promise<any>;
|
|
5
|
+
fetchPublicSiteSettings(path: string[], recursive?: boolean): Promise<any>;
|
|
6
|
+
updateSettings(path: string[], data: any, overwrite?: boolean): Promise<any>;
|
|
7
|
+
createSetting(path: string[], data: any, short_name: string): Promise<any>;
|
|
8
|
+
deleteSetting(path: string[]): Promise<any>;
|
|
9
|
+
uploadAttachment(path: string[], payload: any, contentType?: 'application/json' | 'multipart/form-data'): Promise<any>;
|
|
10
|
+
testEmail(payload: string): Promise<any>;
|
|
11
|
+
syncAccountGroupConfigs(server: string): Promise<any>;
|
|
12
|
+
syncSymbolConfigs(server: string): Promise<any>;
|
|
13
|
+
getServerTimeOffset(server: string): Promise<any>;
|
|
14
|
+
getMachineTranslation(payload: any): Promise<any>;
|
|
15
|
+
getWidgetIframeSettings(): Promise<any>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Base } from '../../base';
|
|
2
|
+
|
|
3
|
+
export declare class Support extends Base {
|
|
4
|
+
fetchSupportTickets(type: string, { owner_id, state }: {
|
|
5
|
+
owner_id: any;
|
|
6
|
+
state: any;
|
|
7
|
+
}): Promise<any>;
|
|
8
|
+
fetchSingleSupportTicket(id: string | number): Promise<any>;
|
|
9
|
+
createTicket(data: any): Promise<any>;
|
|
10
|
+
updateTicket(data: any, id: string | number): Promise<any>;
|
|
11
|
+
messageSupportTicket(data: any, id: string | number): Promise<any>;
|
|
12
|
+
closeSupportTicket(id: string | number): Promise<any>;
|
|
13
|
+
bulkAssignSupportTickets(payload: any): Promise<any>;
|
|
14
|
+
bulkCloseSupportTickets(payload: any): Promise<any>;
|
|
15
|
+
countSupportTickets(): Promise<any>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Base } from '../../base';
|
|
2
|
+
import { TradeHistoryParams } from './tradeBattle.type';
|
|
3
|
+
|
|
4
|
+
export declare class TradeBattle extends Base {
|
|
5
|
+
getTradeHistoryByBattleOrAccount(payload: TradeHistoryParams): Promise<any>;
|
|
6
|
+
getRanking(payload: {
|
|
7
|
+
product_id: any;
|
|
8
|
+
}): Promise<any>;
|
|
9
|
+
getTradedLot(id: string, payload?: {
|
|
10
|
+
from_date: string;
|
|
11
|
+
to_date: string;
|
|
12
|
+
}): Promise<any>;
|
|
13
|
+
getYesterdayAccountBalance(payload: {
|
|
14
|
+
product_id: any;
|
|
15
|
+
logins?: any;
|
|
16
|
+
}): Promise<any>;
|
|
17
|
+
getBattleNicknameAndProfile(payload: {
|
|
18
|
+
product_id: any;
|
|
19
|
+
logins?: any;
|
|
20
|
+
}): Promise<any>;
|
|
21
|
+
getCurrentAttendees(state?: string): Promise<any>;
|
|
22
|
+
getRankingForAccounts(): Promise<any>;
|
|
23
|
+
checkNickNameAccount(payload: {
|
|
24
|
+
nick_name: any;
|
|
25
|
+
}): Promise<any>;
|
|
26
|
+
getListAccountBattle(payload: any): Promise<any>;
|
|
27
|
+
fetchListBattleForRanking(payload: any): Promise<any>;
|
|
28
|
+
exportDealCSV(payload: any): Promise<any>;
|
|
29
|
+
exportCustom(payload: any, headers: any, responseType?: any): Promise<any>;
|
|
30
|
+
}
|