@eaera-com/client-sdk-v1 0.2.108

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