@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.
Files changed (216) hide show
  1. package/LICENSE +19 -0
  2. package/README.md +86 -0
  3. package/dist/channels/accounts.d.ts +11 -0
  4. package/dist/channels/metrics.d.ts +8 -0
  5. package/dist/channels/position.d.ts +13 -0
  6. package/dist/channels/users.d.ts +38 -0
  7. package/dist/common/constants/category.constant.d.ts +30 -0
  8. package/dist/common/constants/category.constant.js +31 -0
  9. package/dist/common/constants/communication.constant.d.ts +52 -0
  10. package/dist/common/constants/communication.constant.js +85 -0
  11. package/dist/common/constants/email.constant.d.ts +4 -0
  12. package/dist/common/constants/email.constant.js +7 -0
  13. package/dist/common/constants/filter.constants.d.ts +1 -0
  14. package/dist/common/constants/filter.constants.js +6 -0
  15. package/dist/common/constants/index.d.ts +15 -0
  16. package/dist/common/constants/index.js +79 -0
  17. package/dist/common/constants/kyc.constant.d.ts +42 -0
  18. package/dist/common/constants/kyc.constant.js +43 -0
  19. package/dist/common/constants/listStatus.constants.d.ts +2 -0
  20. package/dist/common/constants/listStatus.constants.js +19 -0
  21. package/dist/common/constants/methods.constant.d.ts +43 -0
  22. package/dist/common/constants/methods.constant.js +84 -0
  23. package/dist/common/constants/passwordRule.constants.d.ts +4 -0
  24. package/dist/common/constants/passwordRule.constants.js +7 -0
  25. package/dist/common/constants/program.constants.d.ts +2 -0
  26. package/dist/common/constants/program.constants.js +31 -0
  27. package/dist/common/constants/propAccount.constant.d.ts +8 -0
  28. package/dist/common/constants/propAccount.constant.js +11 -0
  29. package/dist/common/constants/site-settings.constants.d.ts +40 -0
  30. package/dist/common/constants/site-settings.constants.js +10 -0
  31. package/dist/common/constants/store.constants.d.ts +1 -0
  32. package/dist/common/constants/store.constants.js +7 -0
  33. package/dist/common/constants/supportTicket.constant.d.ts +11 -0
  34. package/dist/common/constants/supportTicket.constant.js +14 -0
  35. package/dist/common/constants/tradingPlatform.constants.d.ts +4 -0
  36. package/dist/common/constants/tradingPlatform.constants.js +7 -0
  37. package/dist/common/constants/transaction.constant.d.ts +16 -0
  38. package/dist/common/constants/transaction.constant.js +19 -0
  39. package/dist/common/constants/type.constants.d.ts +5 -0
  40. package/dist/common/constants/type.constants.js +28 -0
  41. package/dist/common/constants/withdraw.constant.d.ts +1 -0
  42. package/dist/common/constants/withdraw.constant.js +7 -0
  43. package/dist/common/types/addon.type.d.ts +30 -0
  44. package/dist/common/types/category.type.d.ts +8 -0
  45. package/dist/common/types/common.type.d.ts +3 -0
  46. package/dist/common/types/communication.type.d.ts +51 -0
  47. package/dist/common/types/coupon.type.d.ts +27 -0
  48. package/dist/common/types/email.type.d.ts +8 -0
  49. package/dist/common/types/fundingSource.type.d.ts +80 -0
  50. package/dist/common/types/ibs.type.d.ts +15 -0
  51. package/dist/common/types/index.d.ts +16 -0
  52. package/dist/common/types/kyc.type.d.ts +52 -0
  53. package/dist/common/types/liveNotification.type.d.ts +10 -0
  54. package/dist/common/types/news.type.d.ts +17 -0
  55. package/dist/common/types/notification.types.d.ts +30 -0
  56. package/dist/common/types/passwordRule.type.d.ts +16 -0
  57. package/dist/common/types/paymentMethod/blockbee.type.d.ts +27 -0
  58. package/dist/common/types/paymentMethod/index.d.ts +2 -0
  59. package/dist/common/types/paymentMethod/match2pay.type.d.ts +27 -0
  60. package/dist/common/types/product.type.d.ts +63 -0
  61. package/dist/common/types/siteSetting.type.d.ts +77 -0
  62. package/dist/common/types/wallet.type.d.ts +36 -0
  63. package/dist/common/use-utils/data/countriesWithCurrencies.d.ts +7 -0
  64. package/dist/common/use-utils/data/dragonpayBank.d.ts +6 -0
  65. package/dist/common/use-utils/data/help2pay_banks.d.ts +7 -0
  66. package/dist/common/use-utils/data/listCryptoCurrencies.d.ts +5 -0
  67. package/dist/common/use-utils/data/regions.d.ts +16 -0
  68. package/dist/common/use-utils/data/widgets.d.ts +4 -0
  69. package/dist/common/use-utils/error-handlers/index.d.ts +1 -0
  70. package/dist/common/use-utils/helpers/color.helpers.d.ts +2 -0
  71. package/dist/common/use-utils/helpers/color.helpers.js +19 -0
  72. package/dist/common/use-utils/helpers/currency.helpers.d.ts +25 -0
  73. package/dist/common/use-utils/helpers/currency.helpers.js +762 -0
  74. package/dist/common/use-utils/helpers/date.helpers.d.ts +8 -0
  75. package/dist/common/use-utils/helpers/date.helpers.js +64 -0
  76. package/dist/common/use-utils/helpers/kyc.helpers.d.ts +22 -0
  77. package/dist/common/use-utils/helpers/kyc.helpers.js +165 -0
  78. package/dist/common/use-utils/helpers/misc.helpers.d.ts +45 -0
  79. package/dist/common/use-utils/helpers/misc.helpers.js +141 -0
  80. package/dist/common/use-utils/helpers/number.helpers.d.ts +11 -0
  81. package/dist/common/use-utils/helpers/number.helpers.js +76 -0
  82. package/dist/common/use-utils/helpers/passwordRule.helpers.d.ts +5 -0
  83. package/dist/common/use-utils/helpers/passwordRule.helpers.js +31 -0
  84. package/dist/common/use-utils/helpers/schema.helpers.d.ts +2 -0
  85. package/dist/common/use-utils/helpers/schema.helpers.js +2036 -0
  86. package/dist/common/use-utils/helpers/string.helpers.d.ts +7 -0
  87. package/dist/common/use-utils/helpers/string.helpers.js +38 -0
  88. package/dist/common/use-utils/helpers/transaction.helpers.d.ts +8 -0
  89. package/dist/common/use-utils/helpers/transaction.helpers.js +44 -0
  90. package/dist/common/use-utils/schemas/fundingMethod.schema.d.ts +1313 -0
  91. package/dist/common/use-utils/validators/index.d.ts +4 -0
  92. package/dist/common/use-utils/validators/index.js +8 -0
  93. package/dist/index-6dV6pxDN.js +334 -0
  94. package/dist/index-BTVWGSPO.js +2897 -0
  95. package/dist/index.d.ts +1763 -0
  96. package/dist/index.js +10326 -0
  97. package/dist/regions-Dsypl2zG.js +18768 -0
  98. package/dist/services/ClientSDK/account/index.d.ts +57 -0
  99. package/dist/services/ClientSDK/activityLog/index.d.ts +6 -0
  100. package/dist/services/ClientSDK/auth/index.d.ts +21 -0
  101. package/dist/services/ClientSDK/auth/types.d.ts +11 -0
  102. package/dist/services/ClientSDK/captcha/index.d.ts +5 -0
  103. package/dist/services/ClientSDK/category/index.d.ts +9 -0
  104. package/dist/services/ClientSDK/client/index.d.ts +15 -0
  105. package/dist/services/ClientSDK/commissionProfile/index.d.ts +10 -0
  106. package/dist/services/ClientSDK/contact/index.d.ts +9 -0
  107. package/dist/services/ClientSDK/content/index.d.ts +18 -0
  108. package/dist/services/ClientSDK/contentType/index.d.ts +6 -0
  109. package/dist/services/ClientSDK/conversionRate/index.d.ts +7 -0
  110. package/dist/services/ClientSDK/coupon/index.d.ts +15 -0
  111. package/dist/services/ClientSDK/coupon/type.d.ts +35 -0
  112. package/dist/services/ClientSDK/department/index.d.ts +10 -0
  113. package/dist/services/ClientSDK/devices/index.d.ts +6 -0
  114. package/dist/services/ClientSDK/emailLayout/index.d.ts +10 -0
  115. package/dist/services/ClientSDK/emailTemplate/index.d.ts +15 -0
  116. package/dist/services/ClientSDK/employee/index.d.ts +15 -0
  117. package/dist/services/ClientSDK/folder/index.d.ts +12 -0
  118. package/dist/services/ClientSDK/fundingSource/index.d.ts +17 -0
  119. package/dist/services/ClientSDK/gamificationCampaign/index.d.ts +9 -0
  120. package/dist/services/ClientSDK/ib/index.d.ts +26 -0
  121. package/dist/services/ClientSDK/index.d.ts +60 -0
  122. package/dist/services/ClientSDK/kycs/index.d.ts +18 -0
  123. package/dist/services/ClientSDK/lead/index.d.ts +13 -0
  124. package/dist/services/ClientSDK/metric/index.d.ts +11 -0
  125. package/dist/services/ClientSDK/metric/type.d.ts +171 -0
  126. package/dist/services/ClientSDK/news/index.d.ts +14 -0
  127. package/dist/services/ClientSDK/note/index.d.ts +8 -0
  128. package/dist/services/ClientSDK/notificationCenter/NotificationCenter.types.d.ts +24 -0
  129. package/dist/services/ClientSDK/notificationCenter/index.d.ts +20 -0
  130. package/dist/services/ClientSDK/payment/index.d.ts +27 -0
  131. package/dist/services/ClientSDK/persona/index.d.ts +12 -0
  132. package/dist/services/ClientSDK/product/index.d.ts +12 -0
  133. package/dist/services/ClientSDK/productAttribute/index.d.ts +9 -0
  134. package/dist/services/ClientSDK/propAccount/index.d.ts +59 -0
  135. package/dist/services/ClientSDK/purchase/index.d.ts +13 -0
  136. package/dist/services/ClientSDK/purchase/type.d.ts +66 -0
  137. package/dist/services/ClientSDK/reportFilters/index.d.ts +9 -0
  138. package/dist/services/ClientSDK/request/index.d.ts +38 -0
  139. package/dist/services/ClientSDK/roleSet/index.d.ts +8 -0
  140. package/dist/services/ClientSDK/silt/index.d.ts +5 -0
  141. package/dist/services/ClientSDK/siteSetting/index.d.ts +16 -0
  142. package/dist/services/ClientSDK/sumsub/index.d.ts +6 -0
  143. package/dist/services/ClientSDK/support/index.d.ts +16 -0
  144. package/dist/services/ClientSDK/tradeBattle/index.d.ts +30 -0
  145. package/dist/services/ClientSDK/tradeBattle/tradeBattle.type.d.ts +119 -0
  146. package/dist/services/ClientSDK/tradeServer/index.d.ts +12 -0
  147. package/dist/services/ClientSDK/transaction/index.d.ts +9 -0
  148. package/dist/services/ClientSDK/user/index.d.ts +40 -0
  149. package/dist/services/ClientSDK/veriff/index.d.ts +7 -0
  150. package/dist/services/ClientSDK/voip/index.d.ts +5 -0
  151. package/dist/services/ClientSDK/wallet/index.d.ts +18 -0
  152. package/dist/services/EmailServiceTestSDK/index.d.ts +7 -0
  153. package/dist/services/EmailServiceTestSDK/message/index.d.ts +6 -0
  154. package/dist/services/PoolTradingSDK/index.d.ts +11 -0
  155. package/dist/services/PoolTradingSDK/investWallet/index.d.ts +16 -0
  156. package/dist/services/PoolTradingSDK/poolProfile/index.d.ts +46 -0
  157. package/dist/services/ReportSDK/index.d.ts +28 -0
  158. package/dist/services/base.d.ts +29 -0
  159. package/dist/stores/account.d.ts +191 -0
  160. package/dist/stores/activityLog.d.ts +7 -0
  161. package/dist/stores/addon.d.ts +11 -0
  162. package/dist/stores/advertising.d.ts +155 -0
  163. package/dist/stores/auth.d.ts +39 -0
  164. package/dist/stores/battleNotification.d.ts +6 -0
  165. package/dist/stores/captcha.d.ts +3 -0
  166. package/dist/stores/category.d.ts +15 -0
  167. package/dist/stores/client.d.ts +16 -0
  168. package/dist/stores/commissionProfile.d.ts +12 -0
  169. package/dist/stores/contact.d.ts +9 -0
  170. package/dist/stores/content.d.ts +222 -0
  171. package/dist/stores/contentType.d.ts +10 -0
  172. package/dist/stores/contentV2.d.ts +160 -0
  173. package/dist/stores/conversionRate.d.ts +9 -0
  174. package/dist/stores/coupon.d.ts +30 -0
  175. package/dist/stores/department.d.ts +7 -0
  176. package/dist/stores/devices.d.ts +8 -0
  177. package/dist/stores/employee.d.ts +12 -0
  178. package/dist/stores/folder.d.ts +15 -0
  179. package/dist/stores/fundingSource.d.ts +46 -0
  180. package/dist/stores/gamificationCampaign.d.ts +10 -0
  181. package/dist/stores/ib.d.ts +22 -0
  182. package/dist/stores/index.d.ts +1761 -0
  183. package/dist/stores/investWallet.d.ts +92 -0
  184. package/dist/stores/kycs.d.ts +16 -0
  185. package/dist/stores/lead.d.ts +13 -0
  186. package/dist/stores/liveNotification.d.ts +6 -0
  187. package/dist/stores/metric.d.ts +24 -0
  188. package/dist/stores/metricsV2.d.ts +28 -0
  189. package/dist/stores/news.d.ts +15 -0
  190. package/dist/stores/notes.d.ts +16 -0
  191. package/dist/stores/notification.d.ts +6 -0
  192. package/dist/stores/notificationCenter.d.ts +20 -0
  193. package/dist/stores/payment.d.ts +25 -0
  194. package/dist/stores/poolProfile.d.ts +117 -0
  195. package/dist/stores/poolTrading.d.ts +7 -0
  196. package/dist/stores/product.d.ts +31 -0
  197. package/dist/stores/productAttribute.d.ts +10 -0
  198. package/dist/stores/propAccount.d.ts +48 -0
  199. package/dist/stores/purchases.d.ts +23 -0
  200. package/dist/stores/report.d.ts +19 -0
  201. package/dist/stores/reportFilter.d.ts +9 -0
  202. package/dist/stores/request.d.ts +39 -0
  203. package/dist/stores/roleSet.d.ts +7 -0
  204. package/dist/stores/siteSetting.d.ts +103 -0
  205. package/dist/stores/support.d.ts +33 -0
  206. package/dist/stores/tradeBattle.d.ts +51 -0
  207. package/dist/stores/tradeServer.d.ts +12 -0
  208. package/dist/stores/transaction.d.ts +8 -0
  209. package/dist/stores/user.d.ts +30 -0
  210. package/dist/stores/wallet.d.ts +53 -0
  211. package/dist/utils/axiosTiming.d.ts +12 -0
  212. package/dist/utils/cookies.d.ts +1 -0
  213. package/dist/utils/index.d.ts +4 -0
  214. package/dist/utils/routeCompression.d.ts +19 -0
  215. package/dist/utils/store.d.ts +12 -0
  216. package/package.json +74 -0
@@ -0,0 +1,1763 @@
1
+ import { default as EaeraClientSDK } from './services/ClientSDK';
2
+ import { default as PoolTradingSDK } from './services/PoolTradingSDK';
3
+ import { default as UserChannel } from './channels/users';
4
+ import { default as AccountChannel } from './channels/accounts';
5
+ import { default as PositionChannel } from './channels/position';
6
+ import { default as AccountMetricChannel } from './channels/metrics';
7
+ import { default as ReportSDK } from './services/ReportSDK';
8
+ import { default as EmailServiceTestSDK } from './services/EmailServiceTestSDK';
9
+
10
+ export { EaeraClientSDK, ReportSDK, PoolTradingSDK, EmailServiceTestSDK, AccountMetricChannel, UserChannel, AccountChannel, PositionChannel, };
11
+ export declare const stores: {
12
+ useAuthStore: import('pinia').StoreDefinition<"auth", {
13
+ user: any;
14
+ employee: any;
15
+ kyc: any;
16
+ client: any;
17
+ token: string;
18
+ access_token: string;
19
+ allow_routes: string;
20
+ detectedCountryCode: string;
21
+ }, {
22
+ isLoggedIn(): boolean;
23
+ getAllowRoutes(): string[];
24
+ }, {
25
+ formatAllowRoutesToString(allowRoutes: Array<string> | undefined): string;
26
+ register(payload: any): Promise<any>;
27
+ login(payload: any): Promise<any>;
28
+ loginAs(payload: any): Promise<any>;
29
+ loginWithToken({ token, device_id, saveToLocalStorage, }: {
30
+ token: string;
31
+ device_id?: string;
32
+ saveToLocalStorage?: boolean;
33
+ }): Promise<unknown>;
34
+ loginUsingDevice(email: string): Promise<unknown>;
35
+ registerNewDevice(email: string): Promise<unknown>;
36
+ send_otp(payload: any): Promise<unknown>;
37
+ verify_otp(issue_method: string, otp: string): Promise<unknown>;
38
+ webauthnVerifyOtp(email: string, otp: string, challenge: any, credential: any): Promise<unknown>;
39
+ logout(): Promise<any>;
40
+ logoutV2(): Promise<void>;
41
+ setToken(accessToken: string): Promise<void>;
42
+ fetchMe(): Promise<any>;
43
+ forgotPassword(payload: any): Promise<unknown>;
44
+ updatePassword(payload: any): Promise<unknown>;
45
+ getIPGeolocation(): Promise<unknown>;
46
+ verifyOtpAndSignIn(payload: {
47
+ email: string;
48
+ otp_code: string;
49
+ }): Promise<unknown>;
50
+ }>;
51
+ useContentStore: import('pinia').StoreDefinition<"content", {
52
+ contentIDs: {
53
+ user: any[];
54
+ client: any[];
55
+ lead: any[];
56
+ ib: any[];
57
+ account: any[];
58
+ prop_account: any[];
59
+ wallet: any[];
60
+ 'request.account': any[];
61
+ 'request.wallet': any[];
62
+ 'request.deposit': any[];
63
+ 'request.withdrawal': any[];
64
+ 'request.transfer': any[];
65
+ 'request.credit': any[];
66
+ 'request.cross_wallet_transfer': any[];
67
+ 'request.verification': any[];
68
+ 'request.profile_change': any[];
69
+ 'request.leverage': any[];
70
+ 'request.create_ib': any[];
71
+ payment: any[];
72
+ referral: any[];
73
+ kyc: any[];
74
+ user_device: any[];
75
+ support_ticket: any[];
76
+ user_transaction: any[];
77
+ role_set: any[];
78
+ department: any[];
79
+ employee: any[];
80
+ folder: any[];
81
+ certificate: any[];
82
+ certificate_type: any[];
83
+ voip_call: any[];
84
+ coupon: any[];
85
+ product: any[];
86
+ coupon_redemption: any[];
87
+ purchase: any[];
88
+ commission_profile: any[];
89
+ product_addon_category: any[];
90
+ membership: any[];
91
+ combine: {};
92
+ };
93
+ contents: {
94
+ user: any[];
95
+ client: any[];
96
+ lead: any[];
97
+ ib: any[];
98
+ account: any[];
99
+ prop_account: any[];
100
+ wallet: any[];
101
+ 'request.account': any[];
102
+ 'request.wallet': any[];
103
+ 'request.deposit': any[];
104
+ 'request.withdrawal': any[];
105
+ 'request.transfer': any[];
106
+ 'request.cross_wallet_transfer': any[];
107
+ 'request.credit': any[];
108
+ 'request.verification': any[];
109
+ 'request.profile_change': any[];
110
+ 'request.leverage': any[];
111
+ 'request.create_ib': any[];
112
+ payment: any[];
113
+ referral: any[];
114
+ kyc: any[];
115
+ user_device: any[];
116
+ support_ticket: any[];
117
+ user_transaction: any[];
118
+ role_set: any[];
119
+ department: any[];
120
+ employee: any[];
121
+ folder: any[];
122
+ certificate: any[];
123
+ certificate_type: any[];
124
+ voip_call: any[];
125
+ notification_user: any[];
126
+ coupon: any[];
127
+ product: any[];
128
+ coupon_redemption: any[];
129
+ purchase: any[];
130
+ commission_profile: any[];
131
+ product_addon_category: any[];
132
+ membership: any[];
133
+ combine: {};
134
+ note: any[];
135
+ lending: any[];
136
+ };
137
+ filterAndOrder: {
138
+ user: string;
139
+ client: string;
140
+ lead: string;
141
+ ib: string;
142
+ account: string;
143
+ prop_account: string;
144
+ wallet: string;
145
+ 'request.account': string;
146
+ 'request.wallet': string;
147
+ 'request.deposit': string;
148
+ 'request.withdrawal': string;
149
+ 'request.transfer': string;
150
+ 'request.cross_wallet_transfer': string;
151
+ 'request.credit': string;
152
+ 'request.verification': string;
153
+ 'request.profile_change': string;
154
+ 'request.leverage': string;
155
+ 'request.create_ib': string;
156
+ payment: string;
157
+ referral: string;
158
+ kyc: string;
159
+ user_device: string;
160
+ support_ticket: string;
161
+ user_transaction: string;
162
+ role_set: string;
163
+ department: string;
164
+ employee: string;
165
+ folder: string;
166
+ certificate: string;
167
+ certificate_type: string;
168
+ voip_call: string;
169
+ coupon: any[];
170
+ product: any[];
171
+ coupon_redemption: any[];
172
+ purchase: any[];
173
+ commission_profile: any[];
174
+ notification_user: string;
175
+ membership: string;
176
+ combine: {};
177
+ };
178
+ lastUpdateAt: {
179
+ user: {};
180
+ client: {};
181
+ lead: {};
182
+ ib: {};
183
+ account: {};
184
+ prop_account: {};
185
+ wallet: {};
186
+ 'request.account': {};
187
+ 'request.wallet': {};
188
+ 'request.deposit': {};
189
+ 'request.withdrawal': {};
190
+ 'request.transfer': {};
191
+ 'request.credit': {};
192
+ 'request.cross_wallet_transfer': {};
193
+ 'request.verification': any[];
194
+ 'request.profile_change': any[];
195
+ 'request.leverage': any[];
196
+ 'request.create_ib': any[];
197
+ payment: {};
198
+ referral: {};
199
+ kyc: {};
200
+ user_device: {};
201
+ support_ticket: {};
202
+ user_transaction: {};
203
+ role_set: {};
204
+ department: {};
205
+ employee: {};
206
+ folder: {};
207
+ certificate: {};
208
+ certificate_type: {};
209
+ voip_call: {};
210
+ commission_profile: any[];
211
+ membership: {};
212
+ combine: {};
213
+ };
214
+ pageSize: {
215
+ user: number;
216
+ client: number;
217
+ lead: number;
218
+ ib: number;
219
+ account: number;
220
+ prop_account: number;
221
+ wallet: number;
222
+ 'request.account': number;
223
+ 'request.wallet': number;
224
+ 'request.deposit': number;
225
+ 'request.withdrawal': number;
226
+ 'request.transfer': number;
227
+ 'request.cross_wallet_transfer': number;
228
+ 'request.credit': number;
229
+ 'request.verification': number;
230
+ 'request.profile_change': number;
231
+ 'request.leverage': number;
232
+ 'request.create_ib': number;
233
+ payment: number;
234
+ referral: number;
235
+ kyc: number;
236
+ user_device: number;
237
+ support_ticket: number;
238
+ user_transaction: number;
239
+ role_set: number;
240
+ department: number;
241
+ employee: number;
242
+ folder: number;
243
+ certificate: number;
244
+ certificate_type: number;
245
+ voip_call: number;
246
+ coupon: any[];
247
+ product: any[];
248
+ coupon_redemption: any[];
249
+ purchase: any[];
250
+ commission_profile: any[];
251
+ membership: number;
252
+ combine: {};
253
+ };
254
+ contentLastUpdateAt: string;
255
+ }, {}, {
256
+ fetchContentIDsInTimeRange(content_type: any, from_time?: any, to_time?: any, filter?: {}, order_by?: {
257
+ key: string;
258
+ direction: string;
259
+ }, concat?: boolean): Promise<void>;
260
+ 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>;
261
+ fetchContentByUUID(content_type: string, uuid: string): Promise<any>;
262
+ exportContents(payload: any): Promise<any>;
263
+ updateContent(content_type: string, id: number, payload: any): void;
264
+ deleteContent(content_type: string, id: number): void;
265
+ addContent(content_type: string, payload: any): void;
266
+ transit2(payload: any): Promise<any>;
267
+ act(payload: any, options?: any): Promise<any>;
268
+ createContent(payload: any, params?: any, with_attachments?: boolean): Promise<any>;
269
+ updateContentByApi(payload: any, ct_id: string | number, with_attachments?: boolean): Promise<any>;
270
+ deleteContentByApi(content_type: string, ct_id: string | number): Promise<any>;
271
+ performAction(payload: any, withAttachments?: boolean): Promise<any>;
272
+ }>;
273
+ useContentV2Store: import('pinia').StoreDefinition<"content-v2", {
274
+ total: {
275
+ user: number;
276
+ client: number;
277
+ lead: number;
278
+ ib: number;
279
+ account: number;
280
+ prop_account: number;
281
+ wallet: number;
282
+ 'request.account': number;
283
+ 'request.wallet': number;
284
+ 'request.deposit': number;
285
+ 'request.withdrawal': number;
286
+ 'request.transfer': number;
287
+ 'request.credit': number;
288
+ 'request.cross_wallet_transfer': number;
289
+ 'request.verification': number;
290
+ 'request.profile_change': number;
291
+ 'request.leverage': number;
292
+ payment: number;
293
+ referral: number;
294
+ kyc: number;
295
+ user_device: number;
296
+ support_ticket: number;
297
+ user_transaction: number;
298
+ role_set: number;
299
+ department: number;
300
+ employee: number;
301
+ folder: number;
302
+ certificate: number;
303
+ voip_call: number;
304
+ coupon: number;
305
+ product: number;
306
+ coupon_redemption: number;
307
+ purchase: number;
308
+ combine: {};
309
+ };
310
+ dataCache: {
311
+ user: any[];
312
+ client: any[];
313
+ lead: any[];
314
+ ib: any[];
315
+ account: any[];
316
+ prop_account: any[];
317
+ wallet: any[];
318
+ 'request.account': any[];
319
+ 'request.wallet': any[];
320
+ 'request.deposit': any[];
321
+ 'request.withdrawal': any[];
322
+ 'request.transfer': any[];
323
+ 'request.cross_wallet_transfer': any[];
324
+ 'request.credit': any[];
325
+ 'request.verification': any[];
326
+ 'request.profile_change': any[];
327
+ 'request.leverage': any[];
328
+ payment: any[];
329
+ referral: any[];
330
+ kyc: any[];
331
+ user_device: any[];
332
+ support_ticket: any[];
333
+ user_transaction: any[];
334
+ role_set: any[];
335
+ department: any[];
336
+ employee: any[];
337
+ folder: any[];
338
+ certificate: any[];
339
+ voip_call: any[];
340
+ coupon: any[];
341
+ product: any[];
342
+ coupon_redemption: any[];
343
+ purchase: any[];
344
+ combine: {};
345
+ };
346
+ contents: {
347
+ user: any[];
348
+ client: any[];
349
+ lead: any[];
350
+ ib: any[];
351
+ account: any[];
352
+ prop_account: any[];
353
+ wallet: any[];
354
+ 'request.account': any[];
355
+ 'request.wallet': any[];
356
+ 'request.deposit': any[];
357
+ 'request.withdrawal': any[];
358
+ 'request.transfer': any[];
359
+ 'request.cross_wallet_transfer': any[];
360
+ 'request.credit': any[];
361
+ 'request.verification': any[];
362
+ 'request.profile_change': any[];
363
+ 'request.leverage': any[];
364
+ payment: any[];
365
+ referral: any[];
366
+ kyc: any[];
367
+ user_device: any[];
368
+ support_ticket: any[];
369
+ user_transaction: any[];
370
+ role_set: any[];
371
+ department: any[];
372
+ employee: any[];
373
+ folder: any[];
374
+ certificate: any[];
375
+ voip_call: any[];
376
+ notification_user: any[];
377
+ coupon: any[];
378
+ product: any[];
379
+ coupon_redemption: any[];
380
+ purchase: any[];
381
+ combine: {};
382
+ };
383
+ filterAndOrder: {
384
+ user: string;
385
+ client: string;
386
+ lead: string;
387
+ ib: string;
388
+ account: string;
389
+ prop_account: string;
390
+ wallet: string;
391
+ 'request.account': string;
392
+ 'request.wallet': string;
393
+ 'request.deposit': string;
394
+ 'request.withdrawal': string;
395
+ 'request.transfer': string;
396
+ 'request.cross_wallet_transfer': string;
397
+ 'request.credit': string;
398
+ 'request.verification': string;
399
+ 'request.profile_change': string;
400
+ 'request.leverage': string;
401
+ payment: string;
402
+ referral: string;
403
+ kyc: string;
404
+ user_device: string;
405
+ support_ticket: string;
406
+ user_transaction: string;
407
+ role_set: string;
408
+ department: string;
409
+ employee: string;
410
+ folder: string;
411
+ certificate: string;
412
+ voip_call: string;
413
+ coupon: string;
414
+ product: string;
415
+ coupon_redemption: string;
416
+ purchase: string;
417
+ combine: {};
418
+ };
419
+ }, {}, {
420
+ fetchContents(content_type: any, page: any, size: any, filter?: {}, order_by?: {}, joined_columns?: any[], forceRefresh?: boolean): Promise<{
421
+ data: any;
422
+ page: any;
423
+ page_size: any;
424
+ total: any;
425
+ }>;
426
+ _getCacheStore(key: any, isCombined: any): {
427
+ dataCache: any;
428
+ contents: any;
429
+ total: any;
430
+ filterAndOrder: any;
431
+ };
432
+ }>;
433
+ useClientStore: import('pinia').StoreDefinition<"client", {
434
+ client: any;
435
+ clients: any[];
436
+ clientCount: number;
437
+ fundedClientCount: number;
438
+ activeClientCount: number;
439
+ dailyHistoryClientCount: any[];
440
+ activePropAccount: number;
441
+ }, {}, {
442
+ fetchClientsCount(): Promise<any>;
443
+ fetchFundedClientsCount(): Promise<any>;
444
+ fetchActiveClientsCount(payload?: any): Promise<any>;
445
+ fetchClients(page: any, size: any, filter: any, order_by: any): Promise<any>;
446
+ countDailyHistoryClients(payload: any): Promise<any>;
447
+ fetchCountHasActivePropAcc(): Promise<any>;
448
+ }>;
449
+ useCouponStore: import('pinia').StoreDefinition<"coupon", {
450
+ coupons: any[];
451
+ publicCoupons: import('./common/types/coupon.type').PublicCoupon[];
452
+ couponRedemptions: any[];
453
+ selectedCoupon: {};
454
+ }, {
455
+ couponsTotalCount(): number;
456
+ }, {
457
+ fetchCoupons(payload?: {
458
+ page?: number;
459
+ size?: number;
460
+ filter?: any;
461
+ order_by?: any;
462
+ from_time?: any;
463
+ to_time?: any;
464
+ }): Promise<any[]>;
465
+ createCoupon(payload: import('./services/ClientSDK/coupon/type').CouponPayload): Promise<unknown>;
466
+ updateCoupon(id: string, payload: import('./services/ClientSDK/coupon/type').CouponPayload): Promise<unknown>;
467
+ enableCoupon(id: string): Promise<unknown>;
468
+ disableCoupon(id: string): Promise<unknown>;
469
+ createCouponRedemption(payload: import('./services/ClientSDK/coupon/type').RedemptionPayload): Promise<import('./services/ClientSDK/coupon/type').RedemptionResponse | null>;
470
+ createCouponRedemptionAnonymous(payload: import('./services/ClientSDK/coupon/type').RedemptionPayload): Promise<import('./services/ClientSDK/coupon/type').RedemptionResponse | null>;
471
+ fetchAvailableCouponRedemptions(email: string): Promise<import('./services/ClientSDK/coupon/type').RedemptionResponse[]>;
472
+ fetchAvailableCouponRedemptionsAnonymous(email: string): Promise<unknown>;
473
+ fetchPublicCoupons(): Promise<import('./common/types/coupon.type').PublicCoupon[]>;
474
+ updateCouponCommission(id: string, payload: FormData): Promise<unknown>;
475
+ }>;
476
+ useProductAttributeStore: import('pinia').StoreDefinition<"product_attribute", {
477
+ product_attributes: any[];
478
+ selectedProductAttribute: {};
479
+ }, {}, {
480
+ fetchProductAttributes(isEcommereService?: boolean): Promise<any>;
481
+ fetchProductAttributeByUUID(uuid: number, isEcommereService?: boolean): Promise<any>;
482
+ createProductAttribute(payload: any, isEcommereService?: boolean): Promise<any>;
483
+ updateProductAttribute(uuid: number, payload: any, isEcommereService?: boolean): Promise<any>;
484
+ deleteProductAttribute(uuid: number, isEcommereService?: boolean): Promise<any>;
485
+ }>;
486
+ useProductStore: import('pinia').StoreDefinition<"product", {
487
+ products: any[];
488
+ selectedProduct: {};
489
+ categorizedProducts: {
490
+ prop_account: any[];
491
+ trading_competition: any[];
492
+ prop_trading_competition: any[];
493
+ leveraged: any[];
494
+ };
495
+ staticsCompetitions: import('./common/types').IStaticsCompetition[];
496
+ }, {
497
+ productsTotalCount(): number;
498
+ propTradingCompetitionProducts(): {
499
+ upcoming: any;
500
+ ongoing: any;
501
+ finished: any;
502
+ };
503
+ calculatePlatformPrice(): (platform: import('./common/types').IProgramPlatformSettings, variationData: import('./common/types').IVariation, currency: string) => number;
504
+ }, {
505
+ fetchProducts(payload?: any, isChangeStore?: boolean, categoryName?: import('./common/types').CategoryName, isFetchContent?: boolean): Promise<any>;
506
+ fetchProductByUUID(uuid: string, isEcommereService?: boolean): Promise<any>;
507
+ fetchLevelByProduct(product_uuid: string, product_level: any, isEcommereService?: boolean): Promise<any>;
508
+ createProduct(payload: any, isEcommereService?: boolean): Promise<any>;
509
+ createProductAndVariation(payload: any, isEcommereService?: boolean): Promise<any>;
510
+ updateProduct(id: string | number, payload: any): Promise<any>;
511
+ deleteProduct(id: string | number): Promise<any>;
512
+ fetchStatisticsCompetitions(product_uuids: string[] | number[]): Promise<any>;
513
+ }>;
514
+ useCategoryStore: import('pinia').StoreDefinition<"category", {
515
+ categories: any[];
516
+ selectedCategory: {};
517
+ }, {
518
+ categoriesTotalCount(): number;
519
+ categoryByName(): (name: import('./common/types').CategoryName) => any;
520
+ }, {
521
+ fetchCategories(payload?: any): Promise<any>;
522
+ fetchCategoryByUUID(uuid: string, isEcommereService?: boolean): Promise<any>;
523
+ createCategory(payload: any, isEcommereService?: boolean): Promise<any>;
524
+ updateCategory(uuid: string, payload: any, isEcommereService?: boolean): Promise<any>;
525
+ deleteCategory(uuid: string, isEcommereService?: boolean): Promise<any>;
526
+ }>;
527
+ useLeadStore: import('pinia').StoreDefinition<"lead", {
528
+ lead: any;
529
+ leads: any[];
530
+ leadCount: number;
531
+ fundedLeadCount: number;
532
+ activeLeadCount: number;
533
+ dailyHistoryLeadCount: any[];
534
+ }, {}, {
535
+ fetchLeadsCount(): Promise<any>;
536
+ fetchLeads(page: any, size: any, filter: any, order_by: any): Promise<any>;
537
+ countDailyHistoryLeads(payload: any): Promise<any>;
538
+ activateImportedLead(id: number): Promise<any>;
539
+ }>;
540
+ useWalletStore: import('pinia').StoreDefinition<"wallet", {
541
+ wallets: any[];
542
+ walletBalanceChanges: {};
543
+ selected_wallet: {};
544
+ walletDWPeriod: {};
545
+ walletDeposit: {};
546
+ walletWithdrawal: {};
547
+ walletTransferIn: {};
548
+ walletTransferOut: {};
549
+ fundingHistory: {};
550
+ referral_wallet_id: any;
551
+ }, {
552
+ getCategoryWallet: (state: {
553
+ wallets: any[];
554
+ walletBalanceChanges: {};
555
+ selected_wallet: {};
556
+ walletDWPeriod: {};
557
+ walletDeposit: {};
558
+ walletWithdrawal: {};
559
+ walletTransferIn: {};
560
+ walletTransferOut: {};
561
+ fundingHistory: {};
562
+ referral_wallet_id: any;
563
+ } & import('pinia').PiniaCustomStateProperties<{
564
+ wallets: any[];
565
+ walletBalanceChanges: {};
566
+ selected_wallet: {};
567
+ walletDWPeriod: {};
568
+ walletDeposit: {};
569
+ walletWithdrawal: {};
570
+ walletTransferIn: {};
571
+ walletTransferOut: {};
572
+ fundingHistory: {};
573
+ referral_wallet_id: any;
574
+ }>) => (category?: import('./common/types').WalletCategory) => any[];
575
+ }, {
576
+ fetchWallets(page: any, size: any, filter: any, order_by: any): Promise<any>;
577
+ fetchOneWallet(wallet_id: number): Promise<any>;
578
+ fetchWalletBalanceChanges(ids?: number[]): Promise<any>;
579
+ getWalletSumDeposit(id: any): Promise<any>;
580
+ getWalletSumWithdrawal(id: any): Promise<any>;
581
+ getWalletSumTransferIn(id: any): Promise<any>;
582
+ getWalletSumTransferOut(id: any): Promise<any>;
583
+ setMainWallet(wallet_id: number): Promise<any>;
584
+ fetchWalletFundingHistory(payload: any): Promise<any>;
585
+ fetchWalletPublicInfoByEmail(email: string): Promise<any>;
586
+ getWalletPublicInfo(email: string): Promise<any>;
587
+ fetchDetachedInvestWallets(): Promise<any>;
588
+ fetchAllWalletsByCategory(category: string): Promise<any>;
589
+ fetchFundingByWallet(walletId: number): Promise<any>;
590
+ }>;
591
+ useAccountStore: import('pinia').StoreDefinition<"account", {
592
+ accounts: any[];
593
+ accountHistory: {};
594
+ selected_account: {};
595
+ fundingHistory: {};
596
+ openTrades: {};
597
+ mtDeals: any[];
598
+ totalDeals: number;
599
+ positions: any[];
600
+ totalPositions: number;
601
+ options: string;
602
+ accountsIndexMap: {};
603
+ accountMetricByDeal: any[];
604
+ columnsTrade: any;
605
+ }, {
606
+ liveAccounts(state: {
607
+ accounts: any[];
608
+ accountHistory: {};
609
+ selected_account: {};
610
+ fundingHistory: {};
611
+ openTrades: {};
612
+ mtDeals: any[];
613
+ totalDeals: number;
614
+ positions: any[];
615
+ totalPositions: number;
616
+ options: string;
617
+ accountsIndexMap: {};
618
+ accountMetricByDeal: any[];
619
+ columnsTrade: any;
620
+ } & import('pinia').PiniaCustomStateProperties<{
621
+ accounts: any[];
622
+ accountHistory: {};
623
+ selected_account: {};
624
+ fundingHistory: {};
625
+ openTrades: {};
626
+ mtDeals: any[];
627
+ totalDeals: number;
628
+ positions: any[];
629
+ totalPositions: number;
630
+ options: string;
631
+ accountsIndexMap: {};
632
+ accountMetricByDeal: any[];
633
+ columnsTrade: any;
634
+ }>): any[];
635
+ demoAccounts(state: {
636
+ accounts: any[];
637
+ accountHistory: {};
638
+ selected_account: {};
639
+ fundingHistory: {};
640
+ openTrades: {};
641
+ mtDeals: any[];
642
+ totalDeals: number;
643
+ positions: any[];
644
+ totalPositions: number;
645
+ options: string;
646
+ accountsIndexMap: {};
647
+ accountMetricByDeal: any[];
648
+ columnsTrade: any;
649
+ } & import('pinia').PiniaCustomStateProperties<{
650
+ accounts: any[];
651
+ accountHistory: {};
652
+ selected_account: {};
653
+ fundingHistory: {};
654
+ openTrades: {};
655
+ mtDeals: any[];
656
+ totalDeals: number;
657
+ positions: any[];
658
+ totalPositions: number;
659
+ options: string;
660
+ accountsIndexMap: {};
661
+ accountMetricByDeal: any[];
662
+ columnsTrade: any;
663
+ }>): any[];
664
+ poolLiveAccounts(state: {
665
+ accounts: any[];
666
+ accountHistory: {};
667
+ selected_account: {};
668
+ fundingHistory: {};
669
+ openTrades: {};
670
+ mtDeals: any[];
671
+ totalDeals: number;
672
+ positions: any[];
673
+ totalPositions: number;
674
+ options: string;
675
+ accountsIndexMap: {};
676
+ accountMetricByDeal: any[];
677
+ columnsTrade: any;
678
+ } & import('pinia').PiniaCustomStateProperties<{
679
+ accounts: any[];
680
+ accountHistory: {};
681
+ selected_account: {};
682
+ fundingHistory: {};
683
+ openTrades: {};
684
+ mtDeals: any[];
685
+ totalDeals: number;
686
+ positions: any[];
687
+ totalPositions: number;
688
+ options: string;
689
+ accountsIndexMap: {};
690
+ accountMetricByDeal: any[];
691
+ columnsTrade: any;
692
+ }>): any[];
693
+ accountFundingHistory(state: {
694
+ accounts: any[];
695
+ accountHistory: {};
696
+ selected_account: {};
697
+ fundingHistory: {};
698
+ openTrades: {};
699
+ mtDeals: any[];
700
+ totalDeals: number;
701
+ positions: any[];
702
+ totalPositions: number;
703
+ options: string;
704
+ accountsIndexMap: {};
705
+ accountMetricByDeal: any[];
706
+ columnsTrade: any;
707
+ } & import('pinia').PiniaCustomStateProperties<{
708
+ accounts: any[];
709
+ accountHistory: {};
710
+ selected_account: {};
711
+ fundingHistory: {};
712
+ openTrades: {};
713
+ mtDeals: any[];
714
+ totalDeals: number;
715
+ positions: any[];
716
+ totalPositions: number;
717
+ options: string;
718
+ accountsIndexMap: {};
719
+ accountMetricByDeal: any[];
720
+ columnsTrade: any;
721
+ }>): {};
722
+ closedDeals(): (formatMoney: any, digits: any) => any;
723
+ openPositions(): (formatMoney: any, digits: any) => any;
724
+ getColumnsTrade(state: {
725
+ accounts: any[];
726
+ accountHistory: {};
727
+ selected_account: {};
728
+ fundingHistory: {};
729
+ openTrades: {};
730
+ mtDeals: any[];
731
+ totalDeals: number;
732
+ positions: any[];
733
+ totalPositions: number;
734
+ options: string;
735
+ accountsIndexMap: {};
736
+ accountMetricByDeal: any[];
737
+ columnsTrade: any;
738
+ } & import('pinia').PiniaCustomStateProperties<{
739
+ accounts: any[];
740
+ accountHistory: {};
741
+ selected_account: {};
742
+ fundingHistory: {};
743
+ openTrades: {};
744
+ mtDeals: any[];
745
+ totalDeals: number;
746
+ positions: any[];
747
+ totalPositions: number;
748
+ options: string;
749
+ accountsIndexMap: {};
750
+ accountMetricByDeal: any[];
751
+ columnsTrade: any;
752
+ }>): any;
753
+ }, {
754
+ fetchAccounts(page: any, size: any, filter: any, order_by: any, skipPullTrading?: boolean): Promise<any>;
755
+ fetchOneAccount(account_id: number): Promise<any>;
756
+ fetchOpenTrades(account_id: number): Promise<any>;
757
+ listPositions(account_id: number, position_type: string, symbol?: string): Promise<any>;
758
+ fetchAccountHistory(server: string, account_ids: number[], from_date: string, to_date: string): Promise<any>;
759
+ fetchAccountFundingHistory(account_id: any, dateFrom: any, dateTo: any): Promise<any>;
760
+ changeLeverage(account_id: number): Promise<any>;
761
+ resetPassword(account_id: number): Promise<any>;
762
+ depositDemo(account_id: number): Promise<any>;
763
+ resetBalance(account_id: number): Promise<any>;
764
+ getAccountSummary(payload: any): Promise<any>;
765
+ getDeals(payload: any): Promise<any>;
766
+ countDeals(payload: any): Promise<any>;
767
+ exportDeals(payload: any): Promise<any>;
768
+ getPostions(payload: any): Promise<any>;
769
+ countPositions(payload: any): Promise<any>;
770
+ getMostProfitablePairs(account_id: any): Promise<any>;
771
+ getProfitLossHistory(account_id: number, payload: any): Promise<any>;
772
+ getOverallROI(account_id: number): Promise<any>;
773
+ getAccountBalanceToCompareDate(payload: any): Promise<any>;
774
+ loadColumnsFromStorage(): void;
775
+ updateColumnsTrade(payload: string[]): void;
776
+ getWithdrawableAccounts(payload: {
777
+ server: string;
778
+ logins: number[];
779
+ }): Promise<any>;
780
+ getAccountMetricByLastDeals(ids: number[]): Promise<any>;
781
+ }>;
782
+ usePropAccountStore: import('pinia').StoreDefinition<"prop_account", {
783
+ prop_accounts: any[];
784
+ accountHistory: {};
785
+ selected_account: {};
786
+ fundingHistory: {};
787
+ openTrades: {};
788
+ positions: any[];
789
+ totalPositions: number;
790
+ options: string;
791
+ accountsIndexMap: {};
792
+ defaultFields: string[];
793
+ metricData: any[];
794
+ countMetricData: number;
795
+ rankingMetricData: any[];
796
+ countRankingMetricData: number;
797
+ equities: any[];
798
+ accountMetricByDeal: any[];
799
+ maxBalanceEquity: number;
800
+ dailyDrawdownThresholds: any[];
801
+ accountOnUpdate: any[];
802
+ }, {
803
+ closedPositions(): (server: any, formatMoney: any) => any;
804
+ }, {
805
+ fetchAccounts(page: any, size: any, filter: any, order_by: any, with_attachments?: boolean, skipPullTrading?: boolean): Promise<any>;
806
+ getPositions(payload: any): Promise<any>;
807
+ countPositions(payload: any): Promise<any>;
808
+ recalculateAccountMetrics(account_ids: any): Promise<any>;
809
+ getPublicAccountsInfo(payload: any): Promise<any>;
810
+ propAccountMostTradedAsset(payload: any): Promise<any>;
811
+ propAccountsMetrics(payload: any): Promise<any>;
812
+ propAccountMetricsCount(payload: any): Promise<any>;
813
+ getAccountMetricByLastDeal(ids: number[]): Promise<any>;
814
+ fetchDailyDrawdowmThresholdMetric(payload: any): Promise<any>;
815
+ fetchDailyDrawdownThresholds(payload: any): Promise<any>;
816
+ toggleHidePropAccount(id: number): Promise<any>;
817
+ fetchAccountOnUpdate(payload: any): Promise<any>;
818
+ changeInvestorAccountPassword(payload: {
819
+ id: number;
820
+ password: string;
821
+ }): Promise<any>;
822
+ changePropAccountPassword(payload: {
823
+ id: number;
824
+ new_password: string;
825
+ role: "master" | "investor" | null;
826
+ }): Promise<any>;
827
+ resumeMembership(id: string): Promise<unknown>;
828
+ cancelMembership(id: string): Promise<unknown>;
829
+ }>;
830
+ useRequestStore: import('pinia').StoreDefinition<"request", {
831
+ requests: any[];
832
+ selected_request: {};
833
+ verification: any[];
834
+ paymentMethod: {};
835
+ }, {}, {
836
+ fetchRequests(request_types: string[] | string, page: number, size: number, filter: object, order_by: object): Promise<any>;
837
+ fetchOneRequest(request_id: number): Promise<any>;
838
+ createRequest(payload: any, options?: any): Promise<any>;
839
+ createWalletRequest(payload: any): Promise<any>;
840
+ createAccountRequest(payload: any, request_type: string): Promise<any>;
841
+ createDepositRequest(payload: any): Promise<any>;
842
+ createDemoDepositRequest(payload: any): Promise<any>;
843
+ createWithdrawalRequest(payload: any): Promise<any>;
844
+ createTransferRequest(payload: any): Promise<any>;
845
+ createLeadImportRequest(payload: any): Promise<any>;
846
+ changeLeverage(account_id: number, payload: any, request_type: string): Promise<any>;
847
+ resetPassword(account_id: number): Promise<any>;
848
+ uploadPaymentProof(request_id: number, payload: any): Promise<any>;
849
+ importLeadFile(request_id: number, payload: any): Promise<any>;
850
+ importIBFile(request_id: number, payload: any): Promise<any>;
851
+ uploadTradingReports(request_id: number, payload: any): Promise<any>;
852
+ cancelRequest(request_id: number): Promise<any>;
853
+ depositPSP(payload: any): Promise<any>;
854
+ withdrawPSP(payload: any): Promise<any>;
855
+ callPaymentMethodFunc(payload: any): Promise<any>;
856
+ approveRequest(request_id: number): Promise<any>;
857
+ rejectRequest(request_id: number, payload: any): Promise<any>;
858
+ bulkApproveRequest(ids: number[]): Promise<any>;
859
+ bulkRejectRequest(payload: any): Promise<any>;
860
+ reprocessRequest(request_id: number): Promise<any>;
861
+ updateThenApproveRequest(request_id: number, params_fields: any): Promise<any>;
862
+ updateExtraData(id: any, payload: any): Promise<unknown>;
863
+ reviewKycDocument(id: any, payload: any): Promise<unknown>;
864
+ undoKycDocument(id: any, payload: any): Promise<unknown>;
865
+ reactivateTradingAccount(payload: any, user_id: number): Promise<unknown>;
866
+ disableTradingAccount(payload: any, user_id: number): Promise<unknown>;
867
+ generateTodayReport(poolId: number): Promise<unknown>;
868
+ }>;
869
+ useFundingSourceStore: import('pinia').StoreDefinition<"funding-source", {
870
+ fundingSources: import('./common/types/fundingSource.type').FundingSourceResponse[];
871
+ fundingMethods: import('./common/types/fundingSource.type').FundingMethodResponse[];
872
+ }, {
873
+ availableFundingMethods(): (params?: {
874
+ countryCode?: string;
875
+ active?: boolean;
876
+ transactionType?: "deposit" | "withdrawal";
877
+ }) => import('./common/types/fundingSource.type').FundingMethodWithRules[];
878
+ availableFundingMethodsByTransactionType(): (params: {
879
+ transactionType: "deposit" | "withdrawal";
880
+ filterConditions?: import('./common/types/common.type').LooseObject;
881
+ countryCode?: string;
882
+ }) => import('./common/types/fundingSource.type').FundingMethodWithRules[];
883
+ availableTransactionRuleDetail(): (params: {
884
+ method: string;
885
+ ruleKey: string;
886
+ countryCode?: string;
887
+ }) => import('./common/types/fundingSource.type').DepositRule | import('./common/types/fundingSource.type').WithdrawalRule | import('./common/types/fundingSource.type').TransactionRule | null;
888
+ allowedCurrencies(): (params: {
889
+ method: string;
890
+ type: "all" | "fiat" | "crypto";
891
+ transactionType: "deposit" | "withdrawal";
892
+ }) => string[];
893
+ allFundingMethodsWithSources(): (params?: {
894
+ active?: boolean;
895
+ }) => import('./common/types/fundingSource.type').FundingMethodWithSources[];
896
+ }, {
897
+ fetchFundingSources(): Promise<import('axios').AxiosResponse<import('./common/types/fundingSource.type').FundingSourceResponse[]>>;
898
+ createFundingSource(payload: import('./common/types/fundingSource.type').FundingSourcePayload, otpCode: string): Promise<import('axios').AxiosResponse<import('./common/types/fundingSource.type').CreateFundingSourceResponse>>;
899
+ editFundingSource(payload: import('./common/types/fundingSource.type').FundingSourcePayload & {
900
+ id: number | string;
901
+ }, otpCode: string): Promise<import('axios').AxiosResponse<import('./common/types/fundingSource.type').FundingSourceResponse>>;
902
+ deleteFundingSource(payload: {
903
+ id: number | string;
904
+ }, otpCode: string): Promise<import('axios').AxiosResponse<Object>>;
905
+ getFundingMethods(): Promise<import('axios').AxiosResponse<import('./common/types/fundingSource.type').FundingMethodResponse[]>>;
906
+ sendOtpFundingSource(email?: string): Promise<import('axios').AxiosResponse<number>>;
907
+ }>;
908
+ useSiteSettingStore: import('pinia').StoreDefinition<"site-setting", import('./stores/siteSetting').ISiteSetting, {
909
+ settingsByPath(): (path: string[]) => any;
910
+ fieldFromSetting(): (setting_path: any, index_path: any) => any;
911
+ countrySettings(): any;
912
+ tradingPlatformsChildrenSettings(): any[];
913
+ liveServers(): any;
914
+ demoServers(): any;
915
+ battleServers(): any;
916
+ allServers(): any;
917
+ accountTypes(): (server: any) => any;
918
+ accountRules(): (server: any) => any;
919
+ accountCurrencies(): (server: any) => any;
920
+ accountLeverageTypes(): (server: any) => any;
921
+ accountPromotions(): (server: any) => any;
922
+ storageSettings(): (server: any) => any;
923
+ companySettings(): import('./common/types').CompanySettings;
924
+ walletSetupCurrency(): any;
925
+ getCompanySites(): Record<import('./common/types').SiteName, string> | undefined;
926
+ currencyDigitSettings(): (server: any) => any;
927
+ reportSettings(): any;
928
+ getAvailabledFiatAndCryptoCurrencies(): (isByType?: boolean, filterByEnabled?: boolean) => any[] | {
929
+ fiat: any;
930
+ crypto: any;
931
+ };
932
+ getCurrencyDigit(): (currency: string) => any;
933
+ availableCountries(): {
934
+ countryName: string;
935
+ countryShortCode: string;
936
+ value: string;
937
+ regions: ({
938
+ name: string;
939
+ shortCode?: undefined;
940
+ } | {
941
+ name: string;
942
+ shortCode: string;
943
+ })[];
944
+ label: string;
945
+ languages: string;
946
+ dialling_code: string;
947
+ }[];
948
+ traderReferral(): any;
949
+ traderReferralSettings(): any;
950
+ getEnabledPasswordRules(): import('./common/types').PasswordRule[];
951
+ }, {
952
+ set_settings({ path, data }: {
953
+ path: string[];
954
+ data: any;
955
+ }): void;
956
+ fetchSiteSettings(path: string[], recursive?: boolean): Promise<any>;
957
+ fetchPublicSiteSettings(path: string[], recursive?: boolean): Promise<any>;
958
+ updateSettings(path: string[], data: any, overwrite?: boolean): Promise<unknown>;
959
+ createSetting(path: string[], data: any, short_name: string): Promise<unknown>;
960
+ deleteSetting(path: string[]): Promise<unknown>;
961
+ uploadAttachment(path: string[], payload: any): Promise<unknown>;
962
+ testEmail(payload: string): Promise<unknown>;
963
+ syncAccountGroupConfigs(server: string): Promise<unknown>;
964
+ syncSymbolConfigs(server: string): Promise<unknown>;
965
+ getServerTimeOffset(server: string): Promise<unknown>;
966
+ getMachineTranslation(payload: any): Promise<unknown>;
967
+ getWidgetIframeSettings(): Promise<unknown>;
968
+ }>;
969
+ useKycStore: import('pinia').StoreDefinition<"kyc", {
970
+ kycs: any[];
971
+ selected_kyc: {};
972
+ }, {}, {
973
+ fetchKycs(page: any, size: any, filter: any, order_by: any): Promise<any>;
974
+ updateKycs(id: any, payload: any): Promise<unknown>;
975
+ findOrInitializeKyc(payload: any): Promise<unknown>;
976
+ uploadDocument(id: any, payload: any): Promise<unknown>;
977
+ updateExtraData(id: any, payload: any): Promise<unknown>;
978
+ uploadIdImage(id: any, payload: any): Promise<unknown>;
979
+ uploadAddressImage(id: any, payload: any): Promise<unknown>;
980
+ uploadPotraitImage(id: any, payload: any): Promise<unknown>;
981
+ approveKyc(id: any, payload: any): Promise<unknown>;
982
+ rejectKyc(id: any, payload: any): Promise<unknown>;
983
+ bulkRejectKyc(payload: any): Promise<unknown>;
984
+ }>;
985
+ useMetricStore: import('pinia').StoreDefinition<"metric", {
986
+ accountMetricByDealFields: string[];
987
+ positionMetricByDealFields: string[];
988
+ dailyDrawdownThresholdFields: string[];
989
+ mtAccountEquityFields: string[];
990
+ metricData: any[];
991
+ propAccountMetricData: any[];
992
+ latestMetricData: {};
993
+ }, {
994
+ metricDataByLogin(): (login: string, server: string) => any;
995
+ getLatestMetricDataByMetricName(): (metric_name: string) => any;
996
+ }, {
997
+ setMetricData(data: any, fields: any): void;
998
+ queryMetric(payload: any, isNoFields?: boolean): Promise<any>;
999
+ queryMetricByTimetamp(payload: any): Promise<any>;
1000
+ queryLatestMetric(payload: {
1001
+ metric_name: string;
1002
+ server_logins: {
1003
+ server: string;
1004
+ login: string;
1005
+ }[];
1006
+ fields: string[];
1007
+ }): Promise<any>;
1008
+ }>;
1009
+ useMetricV2Store: import('pinia').StoreDefinition<"metric-v2", {
1010
+ account_metric_by_deal: import('./services/ClientSDK/metric/type').AccountMetricByDeal[];
1011
+ mt_account_equity: import('./services/ClientSDK/metric/type').MtAccountEquity[];
1012
+ min_equity_by_login: import('./services/ClientSDK/metric/type').MinEquityByLogin[];
1013
+ mt_account_history: import('./services/ClientSDK/metric/type').MtAccountHistory[];
1014
+ mt_account_history_by_week: import('./services/ClientSDK/metric/type').MtAccountHistory[];
1015
+ mt_account_history_by_month: import('./services/ClientSDK/metric/type').MtAccountHistory[];
1016
+ account_metric_by_day_of_week: import('./services/ClientSDK/metric/type').AccountMetricByDayOfWeek[];
1017
+ account_metric_by_date: import('./services/ClientSDK/metric/type').AccountMetricByDate[];
1018
+ account_symbol_metric_by_deal: import('./services/ClientSDK/metric/type').AccountSymbolMetricByDeal[];
1019
+ position_metric_by_deal: import('./services/ClientSDK/metric/type').PositionMetricByDeal[];
1020
+ most_traded_asset: import('./services/ClientSDK/metric/type').MostTradedAsset[];
1021
+ }, {}, {
1022
+ queryMetric(payload: import('./services/ClientSDK/metric/type').QueryMetricV2Payload): Promise<any>;
1023
+ queryAccountMetricByDeal(server_logins: import('./services/ClientSDK/metric/type').ServerLogin[], fields?: import('./services/ClientSDK/metric/type').AccountMetricByDealFields[], order_by?: import('./services/ClientSDK/metric/type').OrderBy[], order?: "asc" | "desc", offset?: number, limit?: number): Promise<any>;
1024
+ queryMtAccountEquity(server_logins: import('./services/ClientSDK/metric/type').ServerLogin[], fields?: import('./services/ClientSDK/metric/type').MtAccountEquityFields[], order_by?: import('./services/ClientSDK/metric/type').OrderBy[], order?: "asc" | "desc", offset?: number, limit?: number): Promise<any>;
1025
+ queryMinEquityByLogin(server_logins: import('./services/ClientSDK/metric/type').ServerLogin[], fields?: import('./services/ClientSDK/metric/type').MtAccountEquityFields[], order_by?: import('./services/ClientSDK/metric/type').OrderBy[], order?: "asc" | "desc", offset?: number, limit?: number): Promise<any>;
1026
+ queryMtAccountHistory(server_logins: import('./services/ClientSDK/metric/type').ServerLogin[], fields?: import('./services/ClientSDK/metric/type').MtAccountHistoryFields[], order_by?: import('./services/ClientSDK/metric/type').OrderBy[], order?: "asc" | "desc", offset?: number, limit?: number): Promise<any>;
1027
+ queryMtAccountHistoryByWeek(server_logins: import('./services/ClientSDK/metric/type').ServerLogin[], fields?: import('./services/ClientSDK/metric/type').MtAccountHistoryFields[], order_by?: import('./services/ClientSDK/metric/type').OrderBy[], order?: "asc" | "desc", offset?: number, limit?: number): Promise<any>;
1028
+ queryMtAccountHistoryByMonth(server_logins: import('./services/ClientSDK/metric/type').ServerLogin[], fields?: import('./services/ClientSDK/metric/type').MtAccountHistoryFields[], order_by?: import('./services/ClientSDK/metric/type').OrderBy[], order?: "asc" | "desc", offset?: number, limit?: number): Promise<any>;
1029
+ queryAccountMetricByDayOfWeek(server_logins: import('./services/ClientSDK/metric/type').ServerLogin[], fields?: import('./services/ClientSDK/metric/type').AccountMetricByDayOfWeekFields[], order_by?: import('./services/ClientSDK/metric/type').OrderBy[], order?: "asc" | "desc", offset?: number, limit?: number): Promise<any>;
1030
+ queryAccountMetricByDate(server_logins: import('./services/ClientSDK/metric/type').ServerLogin[], fields?: import('./services/ClientSDK/metric/type').AccountMetricByDateFields[], order_by?: import('./services/ClientSDK/metric/type').OrderBy[], order?: "asc" | "desc", offset?: number, limit?: number): Promise<any>;
1031
+ queryAccountSymbolMetricByDeal(server_logins: import('./services/ClientSDK/metric/type').ServerLogin[], fields?: import('./services/ClientSDK/metric/type').AccountSymbolMetricByDealFields[], order_by?: import('./services/ClientSDK/metric/type').OrderBy[], order?: "asc" | "desc", offset?: number, limit?: number): Promise<any>;
1032
+ queryPositionMetricByDeal(server_logins: import('./services/ClientSDK/metric/type').ServerLogin[], fields?: import('./services/ClientSDK/metric/type').PositionMetricByDealFields[], order_by?: import('./services/ClientSDK/metric/type').OrderBy[], order?: "asc" | "desc", offset?: number, limit?: number): Promise<any>;
1033
+ queryMostTradedAsset(server_logins: import('./services/ClientSDK/metric/type').ServerLogin[], fields?: import('./services/ClientSDK/metric/type').MostTradedAssetFields[], order_by?: import('./services/ClientSDK/metric/type').OrderBy[], order?: "asc" | "desc", offset?: number, limit?: number): Promise<any>;
1034
+ }>;
1035
+ useDevicesStore: import('pinia').StoreDefinition<"devices", {
1036
+ devices: any[];
1037
+ trustedDevices: any[];
1038
+ }, {}, {
1039
+ fetchDevices(page: any, size: any, filter: any, order_by: any): Promise<any>;
1040
+ signOutAll(except_current: any): Promise<any>;
1041
+ untrustDevices(id: any): Promise<any>;
1042
+ }>;
1043
+ useUserStore: import('pinia').StoreDefinition<"user", {
1044
+ users: any[];
1045
+ selectedUser: any;
1046
+ }, {}, {
1047
+ changePassword(payload: any): Promise<unknown>;
1048
+ precheckChangeEmail(payload: any): Promise<unknown>;
1049
+ changeEmail(payload: any): Promise<unknown>;
1050
+ getGoogleAuthUri(): Promise<unknown>;
1051
+ updateTwoFASetting(payload: any): Promise<unknown>;
1052
+ uploadProfilePicture(payload: any): Promise<unknown>;
1053
+ profileChange(payload: any): Promise<unknown>;
1054
+ updateUser(user_id: number, payload: any): Promise<unknown>;
1055
+ getWidgetSettings(): Promise<unknown>;
1056
+ updateWidgetSettings(payload: any): Promise<unknown>;
1057
+ tradingCentralHandshakeUrl(payload: any): Promise<unknown>;
1058
+ getWidgetData(payload: any): Promise<unknown>;
1059
+ getProfilePictures(payload: any): Promise<unknown>;
1060
+ setPassword(payload: any): Promise<unknown>;
1061
+ getReferralReward(payload: any): Promise<unknown>;
1062
+ sendContactSupportMessage(payload: {
1063
+ email: string;
1064
+ message: string;
1065
+ }): Promise<unknown>;
1066
+ processDataFromCampaignLandingPage(payload: any): Promise<unknown>;
1067
+ sendOtpToEmail(payload: {
1068
+ email: string;
1069
+ issue_method: string;
1070
+ }): Promise<unknown>;
1071
+ updateSelectedUser(user: any): void;
1072
+ }>;
1073
+ useSupportStore: import('pinia').StoreDefinition<"support", {
1074
+ supportTickets: any[];
1075
+ selectedTicket: {};
1076
+ timeFilter: string;
1077
+ }, {
1078
+ getOpenSupportTickets: (state: {
1079
+ supportTickets: any[];
1080
+ selectedTicket: {};
1081
+ timeFilter: string;
1082
+ } & import('pinia').PiniaCustomStateProperties<{
1083
+ supportTickets: any[];
1084
+ selectedTicket: {};
1085
+ timeFilter: string;
1086
+ }>) => any[];
1087
+ getClosedSupportTickets: (state: {
1088
+ supportTickets: any[];
1089
+ selectedTicket: {};
1090
+ timeFilter: string;
1091
+ } & import('pinia').PiniaCustomStateProperties<{
1092
+ supportTickets: any[];
1093
+ selectedTicket: {};
1094
+ timeFilter: string;
1095
+ }>) => any[];
1096
+ }, {
1097
+ fetchSupportTickets({ owner_id, state }: any): Promise<any>;
1098
+ fetchSingleSupportTicket(id: string | number): Promise<any>;
1099
+ createTicket(payload: any): Promise<unknown>;
1100
+ updateTicket(payload: any, id: string | number): Promise<unknown>;
1101
+ messageSupportTicket(payload: any, id: string | number): Promise<unknown>;
1102
+ closeSupportTicket(id: string | number): Promise<unknown>;
1103
+ updateTimeFilter(filter: string): void;
1104
+ updateStateTicket(state: string): void;
1105
+ }>;
1106
+ useTransactionStore: import('pinia').StoreDefinition<"transaction", {
1107
+ transactions: any[];
1108
+ transactionPeriod: {};
1109
+ }, {
1110
+ walletTransactions(): any;
1111
+ }, {
1112
+ fetchTransactions(page: any, size: any, filter: any, order_by: any): Promise<any>;
1113
+ }>;
1114
+ usePoolProfileStore: import('pinia').StoreDefinition<"pool_profile", {
1115
+ poolProfileIds: any[];
1116
+ poolProfiles: any[];
1117
+ poolProfileLastFetchedAt: any;
1118
+ poolProfileFilterAndOrder: string;
1119
+ selectedPoolProfile: {};
1120
+ poolProfileLeaderboard: any[];
1121
+ mtDeals: any[];
1122
+ totalDeals: number;
1123
+ positions: any[];
1124
+ totalPositions: number;
1125
+ positionsStateOpenLiveUpdate: import('./stores/poolProfile').IPositionInvestWallet[];
1126
+ poolProfileLiveUpdate: {};
1127
+ }, {
1128
+ getFilter(): any;
1129
+ getOrder(): any;
1130
+ poolProfilesTotalCount(): any;
1131
+ closedDeals(): (server: any, formatMoney: any) => any;
1132
+ openPositions(): (server: any, formatMoney: any) => any;
1133
+ }, {
1134
+ reorderAndFilterPoolProfiles(): void;
1135
+ insertOrUpdatePoolProfile(poolProfile: any): void;
1136
+ updatePoolProfile(id: number, data: any): Promise<any>;
1137
+ updatePoolProfileAdmin(id: number, data: any): Promise<any>;
1138
+ fetchPoolProfile(id: number): Promise<any>;
1139
+ fetchPoolProfileById(pool_id: number, setStore?: {
1140
+ isSetStore?: boolean;
1141
+ props?: {
1142
+ investWallet?: any;
1143
+ state?: "open" | "closed";
1144
+ };
1145
+ }): Promise<any>;
1146
+ fetchPoolProfileIDsInTimeRange(from_time?: Date, to_time?: Date, filter?: any, order?: any): Promise<any>;
1147
+ fetchPoolProfiles(page: any, size: any, filter?: any, order_by?: any, profile_ids?: any[]): Promise<any>;
1148
+ fetchPoolProfileLeaderboard({ server, logins, profile_ids, name_like, is_exact_match, is_mam, currency, runtime, growth_range_from, growth_range_to, }: {
1149
+ server: any;
1150
+ logins: any;
1151
+ profile_ids: any;
1152
+ name_like: any;
1153
+ is_exact_match: any;
1154
+ is_mam: any;
1155
+ currency: any;
1156
+ runtime: any;
1157
+ growth_range_from: any;
1158
+ growth_range_to: any;
1159
+ }, sort_by: any): Promise<any>;
1160
+ getWidgetData(profile_id: number, chart_name: string): Promise<unknown>;
1161
+ getAccountSummary(profile_id: number): Promise<unknown>;
1162
+ getPoolProfileDeals(payload: any): Promise<unknown>;
1163
+ countDeals(payload: any): Promise<unknown>;
1164
+ getProfilePositions(payload: any): Promise<unknown>;
1165
+ countPositions(payload: any): Promise<unknown>;
1166
+ checkDuplicatePoolName(name: string): Promise<unknown>;
1167
+ getPositionsInvestWallet({ payload, }: {
1168
+ payload: {
1169
+ investWalletId: string;
1170
+ symbol?: string[];
1171
+ trade_action?: string[];
1172
+ from_time?: string;
1173
+ to_time?: string;
1174
+ page: number;
1175
+ size: number;
1176
+ order_by?: string;
1177
+ order_direction?: string;
1178
+ };
1179
+ }): Promise<unknown>;
1180
+ getCountPositionInvestWallet(idWallet: string, state: string): Promise<unknown>;
1181
+ updatePositionListSocketInvestWallet(payload: import('./stores/poolProfile').IPositionInvestWallet[]): void;
1182
+ getPoolPositions(params: {
1183
+ server: string;
1184
+ login: number;
1185
+ page: number;
1186
+ size: number;
1187
+ order_by?: {
1188
+ [key: string]: string;
1189
+ };
1190
+ state?: "open" | "closed";
1191
+ }): Promise<unknown>;
1192
+ updatePoolProfileLiveUpdate(payload: any): void;
1193
+ exportFundManagerDetails(params: {
1194
+ pool_id: number;
1195
+ start_date?: string;
1196
+ end_date?: string;
1197
+ }): Promise<unknown>;
1198
+ }>;
1199
+ useInvestWalletStore: import('pinia').StoreDefinition<"invest_wallet", {
1200
+ investWallets: any[];
1201
+ selectedWallet: {};
1202
+ poolSummary: {};
1203
+ investWalletsProfitLoss: {
1204
+ profit: {
1205
+ [key: string | number]: any;
1206
+ };
1207
+ loss: {
1208
+ [key: string | number]: any;
1209
+ };
1210
+ pl: {
1211
+ [key: string | number]: any;
1212
+ };
1213
+ };
1214
+ }, {
1215
+ getInvestWalletById: (state: {
1216
+ investWallets: any[];
1217
+ selectedWallet: {};
1218
+ poolSummary: {};
1219
+ investWalletsProfitLoss: {
1220
+ profit: {
1221
+ [key: string | number]: any;
1222
+ };
1223
+ loss: {
1224
+ [key: string | number]: any;
1225
+ };
1226
+ pl: {
1227
+ [key: string | number]: any;
1228
+ };
1229
+ };
1230
+ } & import('pinia').PiniaCustomStateProperties<{
1231
+ investWallets: any[];
1232
+ selectedWallet: {};
1233
+ poolSummary: {};
1234
+ investWalletsProfitLoss: {
1235
+ profit: {
1236
+ [key: string | number]: any;
1237
+ };
1238
+ loss: {
1239
+ [key: string | number]: any;
1240
+ };
1241
+ pl: {
1242
+ [key: string | number]: any;
1243
+ };
1244
+ };
1245
+ }>) => (id: number) => any;
1246
+ getInvestWalletsByFilterAndOrder: (state: {
1247
+ investWallets: any[];
1248
+ selectedWallet: {};
1249
+ poolSummary: {};
1250
+ investWalletsProfitLoss: {
1251
+ profit: {
1252
+ [key: string | number]: any;
1253
+ };
1254
+ loss: {
1255
+ [key: string | number]: any;
1256
+ };
1257
+ pl: {
1258
+ [key: string | number]: any;
1259
+ };
1260
+ };
1261
+ } & import('pinia').PiniaCustomStateProperties<{
1262
+ investWallets: any[];
1263
+ selectedWallet: {};
1264
+ poolSummary: {};
1265
+ investWalletsProfitLoss: {
1266
+ profit: {
1267
+ [key: string | number]: any;
1268
+ };
1269
+ loss: {
1270
+ [key: string | number]: any;
1271
+ };
1272
+ pl: {
1273
+ [key: string | number]: any;
1274
+ };
1275
+ };
1276
+ }>) => (filter: any, order: any) => any[];
1277
+ }, {
1278
+ fetchInvestWallets(params: any): Promise<unknown>;
1279
+ fetchOneInvestWallet(id: number): Promise<any>;
1280
+ fetchPoolSummaryWallet(params: any): Promise<any>;
1281
+ fetchInvestWalletProfitLoss(ids?: number[], from_time?: Date, to_time?: Date): Promise<any>;
1282
+ fetchProfitLossHistory(params: any): Promise<any>;
1283
+ createInvestWallet(data: any): Promise<any>;
1284
+ transferOutInvestWallet(id: number, amount: number, destination_id: number): Promise<any>;
1285
+ partialClosePosition(position_id: number, invest_wallet_id: string): Promise<any>;
1286
+ fetchInvestDeals(params: object): Promise<any>;
1287
+ fetchAttachedWallets(params: object): Promise<any>;
1288
+ getTotalInvestWallet(): Promise<any>;
1289
+ getInvestWalletBalanceChanges(params: object): Promise<any>;
1290
+ }>;
1291
+ useConversionRateStore: import('pinia').StoreDefinition<"conversion_rate", {
1292
+ conversion_rates: {
1293
+ [key: string]: any;
1294
+ };
1295
+ }, {}, {
1296
+ fetchConversionRate(from_currency: string, to_currency: string, date?: string): Promise<any>;
1297
+ fetchConversionRates(pairs: string[][]): Promise<any>;
1298
+ fetchCryptoConversionRate(from_currency: string, to_currency: string): Promise<any>;
1299
+ }>;
1300
+ useCommissionProfileStore: import('pinia').StoreDefinition<"commission_profile", {
1301
+ commission_profiles: any[];
1302
+ editing_commission_profile: {};
1303
+ }, {}, {
1304
+ fetchCommissionProfile(page: any, size: any, filter: any, order_by: any): Promise<any>;
1305
+ getCommissionProfileDetailInfo(id: number): Promise<any>;
1306
+ createCommissionProfile(payload: any): Promise<any>;
1307
+ cloneCommissionProfile(id: number, payload: any): Promise<any>;
1308
+ updateCommissionProfile(id: number, payload: any): Promise<any>;
1309
+ deleteCommissionProfile(id: number): Promise<any>;
1310
+ getAllCommissionProfiles(): Promise<any>;
1311
+ }>;
1312
+ useRoleSetStore: import('pinia').StoreDefinition<"role_sets", {}, {}, {
1313
+ fetchRoles(page: any, size: any, filter: any, order_by: any): Promise<any>;
1314
+ createRole(payload: any): Promise<any>;
1315
+ updateRole(id: number, payload: any): Promise<any>;
1316
+ deleteRole(id: number): Promise<any>;
1317
+ cloneRole(id: number): Promise<any>;
1318
+ }>;
1319
+ useIBStore: import('pinia').StoreDefinition<"ib", {
1320
+ ibs: any[];
1321
+ selected_ib: {};
1322
+ }, {}, {
1323
+ getIB(payload?: any): Promise<any>;
1324
+ getIBByID(id: string): Promise<any>;
1325
+ createIB(payload: any): Promise<any>;
1326
+ updateIB(id: string, payload: any): Promise<any>;
1327
+ deleteIB(id: string): Promise<any>;
1328
+ assginAccountToIB(id: string, payload: any): Promise<any>;
1329
+ unassginAccountFromIB(payload: any): Promise<any>;
1330
+ assginLeadToIB(id: string, payload: any): Promise<any>;
1331
+ unassginLeadFromIB(payload: any): Promise<any>;
1332
+ assginClientToIB(id: string, payload: any): Promise<any>;
1333
+ unassginClientFromIB(payload: any): Promise<any>;
1334
+ bulkUpdateIBState(payload: any): Promise<any>;
1335
+ getTotalCommissions(id: number, params: any): Promise<any>;
1336
+ getTotalCommissionsSummary(id: number, params: import('./common/types').ITotalSummaryParams): Promise<import('./common/types').ITotalSummary>;
1337
+ getDailyStatistic(id: number, params: any): Promise<any>;
1338
+ }>;
1339
+ useDepartmentStore: import('pinia').StoreDefinition<"departments", {}, {}, {
1340
+ fetchDepartments(page: any, size: any, filter: any, order_by: any): Promise<any>;
1341
+ createDepartment(payload: any): Promise<any>;
1342
+ updateDepartment(id: number, payload: any): Promise<any>;
1343
+ deleteDepartment(id: number): Promise<any>;
1344
+ changeStateDepartment(id: number, state: string): Promise<any>;
1345
+ }>;
1346
+ useReportFilterStore: import('pinia').StoreDefinition<"report_filters", {
1347
+ report_filters: any[];
1348
+ }, {}, {
1349
+ getReportFilter(): Promise<any>;
1350
+ getReportFilterById(id: any): Promise<any>;
1351
+ createReportFilter(payload: any): Promise<any>;
1352
+ updateReportFilter(id: any, payload: any): Promise<any>;
1353
+ deleteReportFilter(id: any): Promise<any>;
1354
+ }>;
1355
+ useEmployeeStore: import('pinia').StoreDefinition<"employee", {}, {}, {
1356
+ createEmployee(payload: any): Promise<any>;
1357
+ updateEmployee(id: any, payload: any): Promise<any>;
1358
+ deleteEmployee(id: any, payload?: any): Promise<any>;
1359
+ resendInvitation(id: any): Promise<any>;
1360
+ updateEmployeeComment(id: any, payload: any): Promise<any>;
1361
+ changeEmployeeState(id: any, payload: any): Promise<any>;
1362
+ updateGrantRoleAdmin(employeeId: string | number): Promise<unknown>;
1363
+ transferSuperAdminRole(fromId: string | number, toId: string | number): Promise<unknown>;
1364
+ fetchListAdminRole(): Promise<unknown>;
1365
+ checkEmployeeLinked(id: string | number): Promise<any>;
1366
+ }>;
1367
+ useActivityLogStore: import('pinia').StoreDefinition<"activity_log", {
1368
+ activity_log_ids: any[];
1369
+ activity_logs: any[];
1370
+ }, {}, {
1371
+ getActivityLogIds(content_type: string, content_id: number, message: string): Promise<any>;
1372
+ getActivityLogs(content_type: string, content_id: number, message: string, page: number, size: number): Promise<any>;
1373
+ }>;
1374
+ useTradeServerStore: import('pinia').StoreDefinition<"tradeServer", {
1375
+ tradeServers: any[];
1376
+ }, {}, {
1377
+ fetchTradeServers(payload?: any): Promise<any>;
1378
+ getTradeServer(id: number): Promise<any>;
1379
+ createTradeServer(payload: any): Promise<any>;
1380
+ updateTradeServer(id: number, payload: any): Promise<any>;
1381
+ deleteTradeServer(id: number, payload: any): Promise<any>;
1382
+ getCategories(payload: any): Promise<any>;
1383
+ sendOtpPasswordTradeServer(server_id: number): Promise<unknown>;
1384
+ verifyOtpRetrievePassword(code: string, server_id: number): Promise<unknown>;
1385
+ }>;
1386
+ useFolderStore: import('pinia').StoreDefinition<"folder", {
1387
+ folders: any[];
1388
+ public_folders: any[];
1389
+ attachments: any[];
1390
+ }, {}, {
1391
+ fetchFolders(page: any, size: any, filter: any, order_by: any): Promise<any>;
1392
+ createFolder(payload: any): Promise<any>;
1393
+ updateFolder(folder_id: number, payload: any): Promise<any>;
1394
+ getAttachments(folder_id: number): Promise<any>;
1395
+ getPublicFolders(): Promise<any>;
1396
+ addAttachments(folder_id: number, payload: any): Promise<any>;
1397
+ updateAttachment(folder_id: number, attachment_id: number, payload: any): Promise<any>;
1398
+ deleteAttachment(folder_id: number, attachment_id: number): Promise<any>;
1399
+ deleteFolder(folder_id: number): Promise<any>;
1400
+ }>;
1401
+ useNotificationStore: import('pinia').StoreDefinition<"notification", {
1402
+ notifications: any[];
1403
+ }, {}, {
1404
+ clearNotifications(): void;
1405
+ addNotification(notification: any): void;
1406
+ }>;
1407
+ useContentTypeStore: import('pinia').StoreDefinition<"content-type", {
1408
+ content_types: any[];
1409
+ }, {
1410
+ clientKycSchema(): unknown[];
1411
+ clientKycDocuments(): unknown[];
1412
+ }, {
1413
+ fetchContentTypes(): Promise<any>;
1414
+ fetchContentTypeByName(name: string): Promise<any>;
1415
+ updateContentType(id: string, payload: any): Promise<any>;
1416
+ }>;
1417
+ useGamificationCampaignStore: import('pinia').StoreDefinition<"gamification_campaign", {
1418
+ campaigns: any[];
1419
+ editing_campaign: {};
1420
+ }, {}, {
1421
+ getAllCampaigns(payload: any): Promise<any>;
1422
+ updateCampaign(payload: any): Promise<any>;
1423
+ createCampaign(payload: any): Promise<any>;
1424
+ deleteCampaign(id: string): Promise<any>;
1425
+ getCampaignById(id: string): Promise<any>;
1426
+ }>;
1427
+ usePurchasesStore: import('pinia').StoreDefinition<"purchases", {
1428
+ purchases: any[];
1429
+ selectedPurchase: {};
1430
+ purchasedInfo: Record<string, any> | null;
1431
+ }, {}, {
1432
+ fetchPurchases(payload?: {
1433
+ page?: number;
1434
+ size?: number;
1435
+ filter?: any;
1436
+ order_by?: any;
1437
+ from_time?: any;
1438
+ to_time?: any;
1439
+ }): Promise<unknown>;
1440
+ calculatePurchase(payload: import('./services/ClientSDK/purchase/type').CalculatePurchasePayload): Promise<unknown>;
1441
+ createPurchase(payload: import('./services/ClientSDK/purchase/type').CreatePurchasePayload): Promise<import('./services/ClientSDK/purchase/type').CreatePurchasePayload | null>;
1442
+ updatePurchase(id: string | number, payload: any): Promise<unknown>;
1443
+ purchaseNow(purchaseId: number, payload: import('./services/ClientSDK/purchase/type').PurchaseNowPayload): Promise<unknown>;
1444
+ purchaseNowAnonymous(payload: import('./services/ClientSDK/purchase/type').PurchaseNowPayload): Promise<unknown>;
1445
+ getPurchaseByUUID(uuid: string): Promise<unknown>;
1446
+ createPurchaseForRequest(request_id: string): Promise<unknown>;
1447
+ }>;
1448
+ usePaymentStore: import('pinia').StoreDefinition<"payment", {
1449
+ listPayments: any[];
1450
+ availableCurrenciesByMethod: Record<string, string[] | undefined>;
1451
+ }, {}, {
1452
+ payments(payload: any): Promise<any>;
1453
+ createPayment(payload: any): Promise<any>;
1454
+ uploadProofOfPayment(payload: any): Promise<any>;
1455
+ approvePayment(payload: any): Promise<any>;
1456
+ rejectPayment(payload: any): Promise<any>;
1457
+ autoCompleted(payload: any): Promise<any>;
1458
+ sumTotalDepositWithdrawal(payload: any): Promise<any>;
1459
+ getFundingSummaries(payload: any): Promise<any>;
1460
+ payInvoice(id: string, payload: {
1461
+ source: string;
1462
+ source_id: number;
1463
+ }): Promise<any>;
1464
+ sendInvoiceEmail(id: string): Promise<any>;
1465
+ getAvailableCurrencies(payload: {
1466
+ payment_method: string;
1467
+ }): Promise<unknown>;
1468
+ loadAvailableCurrencies(method: string, options?: {
1469
+ force?: boolean;
1470
+ map?: (raw: any) => string;
1471
+ }): Promise<string[]>;
1472
+ }>;
1473
+ useTradeBattleStore: import('pinia').StoreDefinition<"trade_battle", import('./stores/tradeBattle').TradeBattleStates, {}, {
1474
+ createTradeBattle(payload: import('./services/ClientSDK/tradeBattle/tradeBattle.type').TradeBattleBody): Promise<import('axios').AxiosResponse<import('./services/ClientSDK/tradeBattle/tradeBattle.type').TradeBattleBody, any, {}, any>>;
1475
+ editTradeBattle(payload: import('./services/ClientSDK/tradeBattle/tradeBattle.type').TradeBattleBody, uuid: string): Promise<import('axios').AxiosResponse<import('./services/ClientSDK/tradeBattle/tradeBattle.type').TradeBattleBody, any, {}, any>>;
1476
+ joinTradeBattle(payload: import('./services/ClientSDK/purchase/type').CreatePurchasePayload): Promise<import('axios').AxiosResponse<import('./services/ClientSDK/purchase/type').PurchaseData, any, {}, any>>;
1477
+ reJoinBattle(payload: import('./services/ClientSDK/purchase/type').CreatePurchasePayload): Promise<import('axios').AxiosResponse<import('./services/ClientSDK/purchase/type').PurchaseData, any, {}, any>>;
1478
+ purchaseNow(data: import('./services/ClientSDK/purchase/type').PurchaseNowPayload, purchase_id: number): Promise<import('axios').AxiosResponse<import('./services/ClientSDK/tradeBattle/tradeBattle.type').PurchaseNowResponse, any, {}, any>>;
1479
+ getTradeBattleList({ state, category_uuid, isChangeStore, }: {
1480
+ state?: string;
1481
+ category_uuid: string;
1482
+ isChangeStore?: boolean;
1483
+ }): Promise<import('axios').AxiosResponse<import('./services/ClientSDK/tradeBattle/tradeBattle.type').TradeBattleBody[], any, {}, any>>;
1484
+ startBattle({ request_type, ...rest }: import('./services/ClientSDK/tradeBattle/tradeBattle.type').TradeBattleActionRequest): Promise<any>;
1485
+ completeBattle({ request_type, ...rest }: import('./services/ClientSDK/tradeBattle/tradeBattle.type').TradeBattleActionRequest): Promise<any>;
1486
+ cancelBattle({ request_type, ...rest }: import('./services/ClientSDK/tradeBattle/tradeBattle.type').TradeBattleActionRequest): Promise<any>;
1487
+ commentBattle({ request_type, ...rest }: import('./services/ClientSDK/tradeBattle/tradeBattle.type').TradeBattleCommentRequest): Promise<any>;
1488
+ getTradeHistoryByBattleOrAccount(payload: import('./services/ClientSDK/tradeBattle/tradeBattle.type').TradeHistoryParams): Promise<any>;
1489
+ getRanking(payload: {
1490
+ product_id: any;
1491
+ }): Promise<any>;
1492
+ getTradedLot(id: string, payload?: {
1493
+ from_date: string;
1494
+ to_date: string;
1495
+ }): Promise<any>;
1496
+ getYesterdayAccountBalance(payload: {
1497
+ product_id: any;
1498
+ logins?: any;
1499
+ }): Promise<any>;
1500
+ getBattleNicknameAndProfile(payload: {
1501
+ product_id: any;
1502
+ logins?: any;
1503
+ }): Promise<any>;
1504
+ getCurrentAttendees(state?: string): Promise<any>;
1505
+ getRankingForAccounts(): Promise<any>;
1506
+ checkNickNameAccount(payload: {
1507
+ nick_name: any;
1508
+ }): Promise<any>;
1509
+ getListAccountBattle(payload: any): Promise<any>;
1510
+ fetchListBattleForRanking(payload: any): Promise<any>;
1511
+ exportDealCSV(payload: any): Promise<any>;
1512
+ exportCustom(payload: any, headers: any, responseType?: any): Promise<any>;
1513
+ }>;
1514
+ useNotificationCenter: import('pinia').StoreDefinition<"notification_center", {
1515
+ notifications: any[];
1516
+ unreadCount: number;
1517
+ notificationsUnread: any[];
1518
+ }, {}, {
1519
+ createNotificationTemplate(payload: FormData): Promise<any>;
1520
+ updateNotificationTemplate(payload: FormData, id: string | number): Promise<any>;
1521
+ updateNotificationTemplateState(id: string | number, state: "enable" | "disable"): Promise<any>;
1522
+ deleteNotificationTemplate(id: string | number): Promise<any>;
1523
+ sendNotification(payload: import('./services/ClientSDK/notificationCenter/NotificationCenter.types').SendNotificationRequest): Promise<any>;
1524
+ updateNotification(payload: import('./services/ClientSDK/notificationCenter/NotificationCenter.types').SendNotificationRequest, id: string | number): Promise<any>;
1525
+ deleteNotification(id: string | number): Promise<any>;
1526
+ deleteNotificationuser(id: string | number): Promise<any>;
1527
+ markAsRead(ids: number[]): Promise<any>;
1528
+ fetchCountNotificationUnread(): Promise<any>;
1529
+ fetchNotificationsUnread(page: number, size: number, filter: any, order_by: any): Promise<any>;
1530
+ addNotificationUnread(notification: any): void;
1531
+ }>;
1532
+ useNewsStore: import('pinia').StoreDefinition<"news_store", {
1533
+ newsData: any[];
1534
+ }, {}, {
1535
+ createNews(payload: {
1536
+ news: import('./common/types').CreateNewsRequest;
1537
+ } | import('./common/types').CreateNewsDraft): Promise<any>;
1538
+ updateNews(id: string | number, payload: {
1539
+ news: import('./common/types').CreateNewsRequest;
1540
+ }): Promise<any>;
1541
+ destroyNews(id: string | number): Promise<any>;
1542
+ uploadBannerImage(id: any, payload: any): Promise<any>;
1543
+ getNews(payload: import('./common/types').GetNewsPayload): Promise<any>;
1544
+ }>;
1545
+ useBattleNotificationStore: import('pinia').StoreDefinition<"battle_notification", {
1546
+ notifications: any[];
1547
+ }, {}, {
1548
+ clearNotifications(): void;
1549
+ addNotification(notification: any): void;
1550
+ }>;
1551
+ $resetAllStates: () => void;
1552
+ useLiveNotificationStore: import('pinia').StoreDefinition<"live_notification", import('./common/types').NotificationState, {}, {
1553
+ clearLiveNotifications(): void;
1554
+ addLiveNotification(notification: import('./common/types').NotificationType): void;
1555
+ }>;
1556
+ useContactStore: import('pinia').StoreDefinition<"contact", {
1557
+ contact: any;
1558
+ }, {}, {
1559
+ getContatList(): Promise<unknown>;
1560
+ getContactListById(id: any): Promise<unknown>;
1561
+ createContactList(payload: any): Promise<unknown>;
1562
+ updateContactList(id: any, data: any): Promise<unknown>;
1563
+ deleteContactList(id: any): Promise<unknown>;
1564
+ }>;
1565
+ useNotesStore: import('pinia').StoreDefinition<"notes", {}, {}, {
1566
+ createNotes(payload: {
1567
+ object_id: number;
1568
+ object_type: string;
1569
+ subject: string;
1570
+ entry_strategy?: string;
1571
+ exit_strategy?: string;
1572
+ comments?: string;
1573
+ tags?: string;
1574
+ opening_the_trade?: File | any;
1575
+ closing_the_trade?: File | any;
1576
+ extra_data?: any;
1577
+ } | any, options?: any): Promise<unknown>;
1578
+ putNotes(payload: any, options?: any): Promise<unknown>;
1579
+ deleteNotes(ids: any): Promise<unknown>;
1580
+ }>;
1581
+ useCaptchaStore: import('pinia').StoreDefinition<"captcha", {}, {}, {
1582
+ verifyRecaptcha(captchaToken: string): Promise<any>;
1583
+ }>;
1584
+ useAddonStore: import('pinia').StoreDefinition<"addon", {
1585
+ categories: import('./common/types').IAddonCategory[];
1586
+ }, {
1587
+ getCategories(): import('./common/types').IAddonCategory[];
1588
+ getAllAddons(): import('./common/types').IAddon[];
1589
+ getAddonStatus: () => (addon: import('./common/types').IAddon, currency?: string) => string;
1590
+ }, {
1591
+ fetchAddonsByCategoryIds(categoryIds: number[]): Promise<any>;
1592
+ }>;
1593
+ useReportStore: import('pinia').StoreDefinition<"report", {}, {}, {
1594
+ downloadProfitLossReport(payload: any): Promise<any>;
1595
+ downloadVolumeReport(payload: any): Promise<any>;
1596
+ downloadTopTradingReport(payload: any): Promise<any>;
1597
+ downloadTopTradersReport(payload: any): Promise<any>;
1598
+ downloadTransactionsReport(payload: any): Promise<any>;
1599
+ downloadDPWPITRReport(payload: any): Promise<any>;
1600
+ downloadIBCommissionTransactionsReport(payload: any): Promise<any>;
1601
+ downloadLeadsAndClientsReport(payload: any): Promise<any>;
1602
+ downloadNewLeadsDailyReport(payload: any): Promise<any>;
1603
+ downloadReferAFriendReport(payload: any): Promise<any>;
1604
+ downloadIBDetailedTradingPerAccReport(payload: any): Promise<any>;
1605
+ downloadIBTotalDetailedTradingInfoReport(payload: any): Promise<any>;
1606
+ downloadIBTotalTradedVolumeReport(payload: any): Promise<any>;
1607
+ downloadIBSummaryReport(payload: any): Promise<any>;
1608
+ downloadIBReport(payload: any): Promise<any>;
1609
+ downloadWalletDetailsReport(payload: any): Promise<any>;
1610
+ downloadTotalIBCommissionReport(payload: any): Promise<any>;
1611
+ }>;
1612
+ useAdvertisingStore: import('pinia').StoreDefinition<"advertising", {
1613
+ banners: import('./stores/advertising').AdvertisingItem[];
1614
+ popups: import('./stores/advertising').AdvertisingItem[];
1615
+ bannerPagination: import('./stores/advertising').AdvertisingPagination;
1616
+ popupPagination: import('./stores/advertising').AdvertisingPagination;
1617
+ loading: boolean;
1618
+ }, {
1619
+ enabledBanners: (state: {
1620
+ banners: {
1621
+ id: number;
1622
+ content_type: import('./common/types').AdvertisingType;
1623
+ state?: string;
1624
+ metadata: {
1625
+ title: string;
1626
+ status?: import('./common/types').AdvertisingStatus;
1627
+ purpose: import('./common/types').AdvertisingPurpose;
1628
+ priority?: number | null;
1629
+ start_date?: string | null;
1630
+ end_date?: string | null;
1631
+ contact_list?: string[];
1632
+ templates?: Record<string, import('./common/types').AdvertisingTemplateVariant>;
1633
+ frequency?: import('./common/types').AdvertisingFrequency;
1634
+ cooldown?: {
1635
+ enabled: boolean;
1636
+ time_seconds: number;
1637
+ };
1638
+ };
1639
+ attachments?: any[];
1640
+ user_id?: number;
1641
+ created_at?: string;
1642
+ updated_at?: string;
1643
+ }[];
1644
+ popups: {
1645
+ id: number;
1646
+ content_type: import('./common/types').AdvertisingType;
1647
+ state?: string;
1648
+ metadata: {
1649
+ title: string;
1650
+ status?: import('./common/types').AdvertisingStatus;
1651
+ purpose: import('./common/types').AdvertisingPurpose;
1652
+ priority?: number | null;
1653
+ start_date?: string | null;
1654
+ end_date?: string | null;
1655
+ contact_list?: string[];
1656
+ templates?: Record<string, import('./common/types').AdvertisingTemplateVariant>;
1657
+ frequency?: import('./common/types').AdvertisingFrequency;
1658
+ cooldown?: {
1659
+ enabled: boolean;
1660
+ time_seconds: number;
1661
+ };
1662
+ };
1663
+ attachments?: any[];
1664
+ user_id?: number;
1665
+ created_at?: string;
1666
+ updated_at?: string;
1667
+ }[];
1668
+ bannerPagination: {
1669
+ page: number;
1670
+ page_size: number;
1671
+ total: number;
1672
+ };
1673
+ popupPagination: {
1674
+ page: number;
1675
+ page_size: number;
1676
+ total: number;
1677
+ };
1678
+ loading: boolean;
1679
+ } & import('pinia').PiniaCustomStateProperties<{
1680
+ banners: import('./stores/advertising').AdvertisingItem[];
1681
+ popups: import('./stores/advertising').AdvertisingItem[];
1682
+ bannerPagination: import('./stores/advertising').AdvertisingPagination;
1683
+ popupPagination: import('./stores/advertising').AdvertisingPagination;
1684
+ loading: boolean;
1685
+ }>) => import('./stores/advertising').AdvertisingItem[];
1686
+ enabledPopups: (state: {
1687
+ banners: {
1688
+ id: number;
1689
+ content_type: import('./common/types').AdvertisingType;
1690
+ state?: string;
1691
+ metadata: {
1692
+ title: string;
1693
+ status?: import('./common/types').AdvertisingStatus;
1694
+ purpose: import('./common/types').AdvertisingPurpose;
1695
+ priority?: number | null;
1696
+ start_date?: string | null;
1697
+ end_date?: string | null;
1698
+ contact_list?: string[];
1699
+ templates?: Record<string, import('./common/types').AdvertisingTemplateVariant>;
1700
+ frequency?: import('./common/types').AdvertisingFrequency;
1701
+ cooldown?: {
1702
+ enabled: boolean;
1703
+ time_seconds: number;
1704
+ };
1705
+ };
1706
+ attachments?: any[];
1707
+ user_id?: number;
1708
+ created_at?: string;
1709
+ updated_at?: string;
1710
+ }[];
1711
+ popups: {
1712
+ id: number;
1713
+ content_type: import('./common/types').AdvertisingType;
1714
+ state?: string;
1715
+ metadata: {
1716
+ title: string;
1717
+ status?: import('./common/types').AdvertisingStatus;
1718
+ purpose: import('./common/types').AdvertisingPurpose;
1719
+ priority?: number | null;
1720
+ start_date?: string | null;
1721
+ end_date?: string | null;
1722
+ contact_list?: string[];
1723
+ templates?: Record<string, import('./common/types').AdvertisingTemplateVariant>;
1724
+ frequency?: import('./common/types').AdvertisingFrequency;
1725
+ cooldown?: {
1726
+ enabled: boolean;
1727
+ time_seconds: number;
1728
+ };
1729
+ };
1730
+ attachments?: any[];
1731
+ user_id?: number;
1732
+ created_at?: string;
1733
+ updated_at?: string;
1734
+ }[];
1735
+ bannerPagination: {
1736
+ page: number;
1737
+ page_size: number;
1738
+ total: number;
1739
+ };
1740
+ popupPagination: {
1741
+ page: number;
1742
+ page_size: number;
1743
+ total: number;
1744
+ };
1745
+ loading: boolean;
1746
+ } & import('pinia').PiniaCustomStateProperties<{
1747
+ banners: import('./stores/advertising').AdvertisingItem[];
1748
+ popups: import('./stores/advertising').AdvertisingItem[];
1749
+ bannerPagination: import('./stores/advertising').AdvertisingPagination;
1750
+ popupPagination: import('./stores/advertising').AdvertisingPagination;
1751
+ loading: boolean;
1752
+ }>) => import('./stores/advertising').AdvertisingItem[];
1753
+ }, {
1754
+ fetchBanners(options?: import('./stores/advertising').AdvertisingFetchOptions): Promise<any>;
1755
+ fetchPopups(options?: import('./stores/advertising').AdvertisingFetchOptions): Promise<any>;
1756
+ create(metadata: Partial<import('./stores/advertising').AdvertisingMetadata>, contentType: import('./common/types').AdvertisingType, state?: string, withAttachments?: boolean): Promise<any>;
1757
+ update(id: number | string, metadata: Partial<import('./stores/advertising').AdvertisingMetadata>, contentType: import('./common/types').AdvertisingType, state?: string, withAttachments?: boolean): Promise<any>;
1758
+ destroy(id: number | string, contentType: import('./common/types').AdvertisingType): Promise<any>;
1759
+ toggle(id: number | string, contentType: import('./common/types').AdvertisingType, state: import('./common/types').AdvertisingStatus): Promise<any>;
1760
+ reorder(contentType: import('./common/types').AdvertisingType, orderedIds: Array<number | string>): Promise<any[]>;
1761
+ invalidate(contentType: import('./common/types').AdvertisingType): Promise<any>;
1762
+ }>;
1763
+ };