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