@eaera-com/client-sdk 0.0.1383

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