@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,155 @@
1
+ import { AdvertisingItem, AdvertisingMetadata, AdvertisingPagination, AdvertisingFetchOptions, AdvertisingStatus, AdvertisingType } from '../common/types/communication.type';
2
+
3
+ export declare const useAdvertisingStore: import('pinia').StoreDefinition<"advertising", {
4
+ banners: AdvertisingItem[];
5
+ popups: AdvertisingItem[];
6
+ bannerPagination: AdvertisingPagination;
7
+ popupPagination: AdvertisingPagination;
8
+ loading: boolean;
9
+ }, {
10
+ enabledBanners: (state: {
11
+ banners: {
12
+ id: number;
13
+ content_type: AdvertisingType;
14
+ state?: string;
15
+ metadata: {
16
+ title: string;
17
+ status?: AdvertisingStatus;
18
+ purpose: import('../common/types/communication.type').AdvertisingPurpose;
19
+ priority?: number | null;
20
+ start_date?: string | null;
21
+ end_date?: string | null;
22
+ contact_list?: string[];
23
+ templates?: Record<string, import('../common/types/communication.type').AdvertisingTemplateVariant>;
24
+ frequency?: import('../common/types/communication.type').AdvertisingFrequency;
25
+ cooldown?: {
26
+ enabled: boolean;
27
+ time_seconds: number;
28
+ };
29
+ };
30
+ attachments?: any[];
31
+ user_id?: number;
32
+ created_at?: string;
33
+ updated_at?: string;
34
+ }[];
35
+ popups: {
36
+ id: number;
37
+ content_type: AdvertisingType;
38
+ state?: string;
39
+ metadata: {
40
+ title: string;
41
+ status?: AdvertisingStatus;
42
+ purpose: import('../common/types/communication.type').AdvertisingPurpose;
43
+ priority?: number | null;
44
+ start_date?: string | null;
45
+ end_date?: string | null;
46
+ contact_list?: string[];
47
+ templates?: Record<string, import('../common/types/communication.type').AdvertisingTemplateVariant>;
48
+ frequency?: import('../common/types/communication.type').AdvertisingFrequency;
49
+ cooldown?: {
50
+ enabled: boolean;
51
+ time_seconds: number;
52
+ };
53
+ };
54
+ attachments?: any[];
55
+ user_id?: number;
56
+ created_at?: string;
57
+ updated_at?: string;
58
+ }[];
59
+ bannerPagination: {
60
+ page: number;
61
+ page_size: number;
62
+ total: number;
63
+ };
64
+ popupPagination: {
65
+ page: number;
66
+ page_size: number;
67
+ total: number;
68
+ };
69
+ loading: boolean;
70
+ } & import('pinia').PiniaCustomStateProperties<{
71
+ banners: AdvertisingItem[];
72
+ popups: AdvertisingItem[];
73
+ bannerPagination: AdvertisingPagination;
74
+ popupPagination: AdvertisingPagination;
75
+ loading: boolean;
76
+ }>) => AdvertisingItem[];
77
+ enabledPopups: (state: {
78
+ banners: {
79
+ id: number;
80
+ content_type: AdvertisingType;
81
+ state?: string;
82
+ metadata: {
83
+ title: string;
84
+ status?: AdvertisingStatus;
85
+ purpose: import('../common/types/communication.type').AdvertisingPurpose;
86
+ priority?: number | null;
87
+ start_date?: string | null;
88
+ end_date?: string | null;
89
+ contact_list?: string[];
90
+ templates?: Record<string, import('../common/types/communication.type').AdvertisingTemplateVariant>;
91
+ frequency?: import('../common/types/communication.type').AdvertisingFrequency;
92
+ cooldown?: {
93
+ enabled: boolean;
94
+ time_seconds: number;
95
+ };
96
+ };
97
+ attachments?: any[];
98
+ user_id?: number;
99
+ created_at?: string;
100
+ updated_at?: string;
101
+ }[];
102
+ popups: {
103
+ id: number;
104
+ content_type: AdvertisingType;
105
+ state?: string;
106
+ metadata: {
107
+ title: string;
108
+ status?: AdvertisingStatus;
109
+ purpose: import('../common/types/communication.type').AdvertisingPurpose;
110
+ priority?: number | null;
111
+ start_date?: string | null;
112
+ end_date?: string | null;
113
+ contact_list?: string[];
114
+ templates?: Record<string, import('../common/types/communication.type').AdvertisingTemplateVariant>;
115
+ frequency?: import('../common/types/communication.type').AdvertisingFrequency;
116
+ cooldown?: {
117
+ enabled: boolean;
118
+ time_seconds: number;
119
+ };
120
+ };
121
+ attachments?: any[];
122
+ user_id?: number;
123
+ created_at?: string;
124
+ updated_at?: string;
125
+ }[];
126
+ bannerPagination: {
127
+ page: number;
128
+ page_size: number;
129
+ total: number;
130
+ };
131
+ popupPagination: {
132
+ page: number;
133
+ page_size: number;
134
+ total: number;
135
+ };
136
+ loading: boolean;
137
+ } & import('pinia').PiniaCustomStateProperties<{
138
+ banners: AdvertisingItem[];
139
+ popups: AdvertisingItem[];
140
+ bannerPagination: AdvertisingPagination;
141
+ popupPagination: AdvertisingPagination;
142
+ loading: boolean;
143
+ }>) => AdvertisingItem[];
144
+ }, {
145
+ fetchBanners(options?: AdvertisingFetchOptions): Promise<any>;
146
+ fetchPopups(options?: AdvertisingFetchOptions): Promise<any>;
147
+ create(metadata: Partial<AdvertisingMetadata>, contentType: AdvertisingType, state?: string, withAttachments?: boolean): Promise<any>;
148
+ update(id: number | string, metadata: Partial<AdvertisingMetadata>, contentType: AdvertisingType, state?: string, withAttachments?: boolean): Promise<any>;
149
+ destroy(id: number | string, contentType: AdvertisingType): Promise<any>;
150
+ toggle(id: number | string, contentType: AdvertisingType, state: AdvertisingStatus): Promise<any>;
151
+ reorder(contentType: AdvertisingType, orderedIds: Array<number | string>): Promise<any[]>;
152
+ invalidate(contentType: AdvertisingType): Promise<any>;
153
+ }>;
154
+ export { ADVERTISING_TYPE, ADVERTISING_STATUS, ADVERTISING_MAX_ENABLED_PER_TYPE, } from '../common/constants/communication.constant';
155
+ export type { AdvertisingItem, AdvertisingMetadata, AdvertisingPagination, AdvertisingFetchOptions, } from '../common/types/communication.type';
@@ -0,0 +1,39 @@
1
+ export declare const useAuthStore: import('pinia').StoreDefinition<"auth", {
2
+ user: any;
3
+ employee: any;
4
+ kyc: any;
5
+ client: any;
6
+ token: string;
7
+ access_token: string;
8
+ allow_routes: string;
9
+ detectedCountryCode: string;
10
+ }, {
11
+ isLoggedIn(): boolean;
12
+ getAllowRoutes(): string[];
13
+ }, {
14
+ formatAllowRoutesToString(allowRoutes: Array<string> | undefined): string;
15
+ register(payload: any): Promise<any>;
16
+ login(payload: any): Promise<any>;
17
+ loginAs(payload: any): Promise<any>;
18
+ loginWithToken({ token, device_id, saveToLocalStorage, }: {
19
+ token: string;
20
+ device_id?: string;
21
+ saveToLocalStorage?: boolean;
22
+ }): Promise<unknown>;
23
+ loginUsingDevice(email: string): Promise<unknown>;
24
+ registerNewDevice(email: string): Promise<unknown>;
25
+ send_otp(payload: any): Promise<unknown>;
26
+ verify_otp(issue_method: string, otp: string): Promise<unknown>;
27
+ webauthnVerifyOtp(email: string, otp: string, challenge: any, credential: any): Promise<unknown>;
28
+ logout(): Promise<any>;
29
+ logoutV2(): Promise<void>;
30
+ setToken(accessToken: string): Promise<void>;
31
+ fetchMe(): Promise<any>;
32
+ forgotPassword(payload: any): Promise<unknown>;
33
+ updatePassword(payload: any): Promise<unknown>;
34
+ getIPGeolocation(): Promise<unknown>;
35
+ verifyOtpAndSignIn(payload: {
36
+ email: string;
37
+ otp_code: string;
38
+ }): Promise<unknown>;
39
+ }>;
@@ -0,0 +1,6 @@
1
+ export declare const useBattleNotificationStore: import('pinia').StoreDefinition<"battle_notification", {
2
+ notifications: any[];
3
+ }, {}, {
4
+ clearNotifications(): void;
5
+ addNotification(notification: any): void;
6
+ }>;
@@ -0,0 +1,3 @@
1
+ export declare const useCaptchaStore: import('pinia').StoreDefinition<"captcha", {}, {}, {
2
+ verifyRecaptcha(captchaToken: string): Promise<any>;
3
+ }>;
@@ -0,0 +1,15 @@
1
+ import { CategoryName } from 'src/common/types/category.type';
2
+
3
+ export declare const useCategoryStore: import('pinia').StoreDefinition<"category", {
4
+ categories: any[];
5
+ selectedCategory: {};
6
+ }, {
7
+ categoriesTotalCount(): number;
8
+ categoryByName(): (name: CategoryName) => any;
9
+ }, {
10
+ fetchCategories(payload?: any): Promise<any>;
11
+ fetchCategoryByUUID(uuid: string, isEcommereService?: boolean): Promise<any>;
12
+ createCategory(payload: any, isEcommereService?: boolean): Promise<any>;
13
+ updateCategory(uuid: string, payload: any, isEcommereService?: boolean): Promise<any>;
14
+ deleteCategory(uuid: string, isEcommereService?: boolean): Promise<any>;
15
+ }>;
@@ -0,0 +1,16 @@
1
+ export declare const useClientStore: import('pinia').StoreDefinition<"client", {
2
+ client: any;
3
+ clients: any[];
4
+ clientCount: number;
5
+ fundedClientCount: number;
6
+ activeClientCount: number;
7
+ dailyHistoryClientCount: any[];
8
+ activePropAccount: number;
9
+ }, {}, {
10
+ fetchClientsCount(): Promise<any>;
11
+ fetchFundedClientsCount(): Promise<any>;
12
+ fetchActiveClientsCount(payload?: any): Promise<any>;
13
+ fetchClients(page: any, size: any, filter: any, order_by: any): Promise<any>;
14
+ countDailyHistoryClients(payload: any): Promise<any>;
15
+ fetchCountHasActivePropAcc(): Promise<any>;
16
+ }>;
@@ -0,0 +1,12 @@
1
+ export declare const useCommissionProfileStore: import('pinia').StoreDefinition<"commission_profile", {
2
+ commission_profiles: any[];
3
+ editing_commission_profile: {};
4
+ }, {}, {
5
+ fetchCommissionProfile(page: any, size: any, filter: any, order_by: any): Promise<any>;
6
+ getCommissionProfileDetailInfo(id: number): Promise<any>;
7
+ createCommissionProfile(payload: any): Promise<any>;
8
+ cloneCommissionProfile(id: number, payload: any): Promise<any>;
9
+ updateCommissionProfile(id: number, payload: any): Promise<any>;
10
+ deleteCommissionProfile(id: number): Promise<any>;
11
+ getAllCommissionProfiles(): Promise<any>;
12
+ }>;
@@ -0,0 +1,9 @@
1
+ export declare const useContactStore: import('pinia').StoreDefinition<"contact", {
2
+ contact: any;
3
+ }, {}, {
4
+ getContatList(): Promise<unknown>;
5
+ getContactListById(id: any): Promise<unknown>;
6
+ createContactList(payload: any): Promise<unknown>;
7
+ updateContactList(id: any, data: any): Promise<unknown>;
8
+ deleteContactList(id: any): Promise<unknown>;
9
+ }>;
@@ -0,0 +1,222 @@
1
+ export declare const useContentStore: import('pinia').StoreDefinition<"content", {
2
+ contentIDs: {
3
+ user: any[];
4
+ client: any[];
5
+ lead: any[];
6
+ ib: any[];
7
+ account: any[];
8
+ prop_account: any[];
9
+ wallet: any[];
10
+ 'request.account': any[];
11
+ 'request.wallet': any[];
12
+ 'request.deposit': any[];
13
+ 'request.withdrawal': any[];
14
+ 'request.transfer': any[];
15
+ 'request.credit': any[];
16
+ 'request.cross_wallet_transfer': any[];
17
+ 'request.verification': any[];
18
+ 'request.profile_change': any[];
19
+ 'request.leverage': any[];
20
+ 'request.create_ib': any[];
21
+ payment: any[];
22
+ referral: any[];
23
+ kyc: any[];
24
+ user_device: any[];
25
+ support_ticket: any[];
26
+ user_transaction: any[];
27
+ role_set: any[];
28
+ department: any[];
29
+ employee: any[];
30
+ folder: any[];
31
+ certificate: any[];
32
+ certificate_type: any[];
33
+ voip_call: any[];
34
+ coupon: any[];
35
+ product: any[];
36
+ coupon_redemption: any[];
37
+ purchase: any[];
38
+ commission_profile: any[];
39
+ product_addon_category: any[];
40
+ membership: any[];
41
+ combine: {};
42
+ };
43
+ contents: {
44
+ user: any[];
45
+ client: any[];
46
+ lead: any[];
47
+ ib: any[];
48
+ account: any[];
49
+ prop_account: any[];
50
+ wallet: any[];
51
+ 'request.account': any[];
52
+ 'request.wallet': any[];
53
+ 'request.deposit': any[];
54
+ 'request.withdrawal': any[];
55
+ 'request.transfer': any[];
56
+ 'request.cross_wallet_transfer': any[];
57
+ 'request.credit': any[];
58
+ 'request.verification': any[];
59
+ 'request.profile_change': any[];
60
+ 'request.leverage': any[];
61
+ 'request.create_ib': any[];
62
+ payment: any[];
63
+ referral: any[];
64
+ kyc: any[];
65
+ user_device: any[];
66
+ support_ticket: any[];
67
+ user_transaction: any[];
68
+ role_set: any[];
69
+ department: any[];
70
+ employee: any[];
71
+ folder: any[];
72
+ certificate: any[];
73
+ certificate_type: any[];
74
+ voip_call: any[];
75
+ notification_user: any[];
76
+ coupon: any[];
77
+ product: any[];
78
+ coupon_redemption: any[];
79
+ purchase: any[];
80
+ commission_profile: any[];
81
+ product_addon_category: any[];
82
+ membership: any[];
83
+ combine: {};
84
+ note: any[];
85
+ lending: any[];
86
+ };
87
+ filterAndOrder: {
88
+ user: string;
89
+ client: string;
90
+ lead: string;
91
+ ib: string;
92
+ account: string;
93
+ prop_account: string;
94
+ wallet: string;
95
+ 'request.account': string;
96
+ 'request.wallet': string;
97
+ 'request.deposit': string;
98
+ 'request.withdrawal': string;
99
+ 'request.transfer': string;
100
+ 'request.cross_wallet_transfer': string;
101
+ 'request.credit': string;
102
+ 'request.verification': string;
103
+ 'request.profile_change': string;
104
+ 'request.leverage': string;
105
+ 'request.create_ib': string;
106
+ payment: string;
107
+ referral: string;
108
+ kyc: string;
109
+ user_device: string;
110
+ support_ticket: string;
111
+ user_transaction: string;
112
+ role_set: string;
113
+ department: string;
114
+ employee: string;
115
+ folder: string;
116
+ certificate: string;
117
+ certificate_type: string;
118
+ voip_call: string;
119
+ coupon: any[];
120
+ product: any[];
121
+ coupon_redemption: any[];
122
+ purchase: any[];
123
+ commission_profile: any[];
124
+ notification_user: string;
125
+ membership: string;
126
+ combine: {};
127
+ };
128
+ lastUpdateAt: {
129
+ user: {};
130
+ client: {};
131
+ lead: {};
132
+ ib: {};
133
+ account: {};
134
+ prop_account: {};
135
+ wallet: {};
136
+ 'request.account': {};
137
+ 'request.wallet': {};
138
+ 'request.deposit': {};
139
+ 'request.withdrawal': {};
140
+ 'request.transfer': {};
141
+ 'request.credit': {};
142
+ 'request.cross_wallet_transfer': {};
143
+ 'request.verification': any[];
144
+ 'request.profile_change': any[];
145
+ 'request.leverage': any[];
146
+ 'request.create_ib': any[];
147
+ payment: {};
148
+ referral: {};
149
+ kyc: {};
150
+ user_device: {};
151
+ support_ticket: {};
152
+ user_transaction: {};
153
+ role_set: {};
154
+ department: {};
155
+ employee: {};
156
+ folder: {};
157
+ certificate: {};
158
+ certificate_type: {};
159
+ voip_call: {};
160
+ commission_profile: any[];
161
+ membership: {};
162
+ combine: {};
163
+ };
164
+ pageSize: {
165
+ user: number;
166
+ client: number;
167
+ lead: number;
168
+ ib: number;
169
+ account: number;
170
+ prop_account: number;
171
+ wallet: number;
172
+ 'request.account': number;
173
+ 'request.wallet': number;
174
+ 'request.deposit': number;
175
+ 'request.withdrawal': number;
176
+ 'request.transfer': number;
177
+ 'request.cross_wallet_transfer': number;
178
+ 'request.credit': number;
179
+ 'request.verification': number;
180
+ 'request.profile_change': number;
181
+ 'request.leverage': number;
182
+ 'request.create_ib': number;
183
+ payment: number;
184
+ referral: number;
185
+ kyc: number;
186
+ user_device: number;
187
+ support_ticket: number;
188
+ user_transaction: number;
189
+ role_set: number;
190
+ department: number;
191
+ employee: number;
192
+ folder: number;
193
+ certificate: number;
194
+ certificate_type: number;
195
+ voip_call: number;
196
+ coupon: any[];
197
+ product: any[];
198
+ coupon_redemption: any[];
199
+ purchase: any[];
200
+ commission_profile: any[];
201
+ membership: number;
202
+ combine: {};
203
+ };
204
+ contentLastUpdateAt: string;
205
+ }, {}, {
206
+ fetchContentIDsInTimeRange(content_type: any, from_time?: any, to_time?: any, filter?: {}, order_by?: {
207
+ key: string;
208
+ direction: string;
209
+ }, concat?: boolean): Promise<void>;
210
+ 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>;
211
+ fetchContentByUUID(content_type: string, uuid: string): Promise<any>;
212
+ exportContents(payload: any): Promise<any>;
213
+ updateContent(content_type: string, id: number, payload: any): void;
214
+ deleteContent(content_type: string, id: number): void;
215
+ addContent(content_type: string, payload: any): void;
216
+ transit2(payload: any): Promise<any>;
217
+ act(payload: any, options?: any): Promise<any>;
218
+ createContent(payload: any, params?: any, with_attachments?: boolean): Promise<any>;
219
+ updateContentByApi(payload: any, ct_id: string | number, with_attachments?: boolean): Promise<any>;
220
+ deleteContentByApi(content_type: string, ct_id: string | number): Promise<any>;
221
+ performAction(payload: any, withAttachments?: boolean): Promise<any>;
222
+ }>;
@@ -0,0 +1,10 @@
1
+ export declare const useContentTypeStore: import('pinia').StoreDefinition<"content-type", {
2
+ content_types: any[];
3
+ }, {
4
+ clientKycSchema(): unknown[];
5
+ clientKycDocuments(): unknown[];
6
+ }, {
7
+ fetchContentTypes(): Promise<any>;
8
+ fetchContentTypeByName(name: string): Promise<any>;
9
+ updateContentType(id: string, payload: any): Promise<any>;
10
+ }>;
@@ -0,0 +1,160 @@
1
+ export declare const useContentV2Store: import('pinia').StoreDefinition<"content-v2", {
2
+ total: {
3
+ user: number;
4
+ client: number;
5
+ lead: number;
6
+ ib: number;
7
+ account: number;
8
+ prop_account: number;
9
+ wallet: number;
10
+ 'request.account': number;
11
+ 'request.wallet': number;
12
+ 'request.deposit': number;
13
+ 'request.withdrawal': number;
14
+ 'request.transfer': number;
15
+ 'request.credit': number;
16
+ 'request.cross_wallet_transfer': number;
17
+ 'request.verification': number;
18
+ 'request.profile_change': number;
19
+ 'request.leverage': number;
20
+ payment: number;
21
+ referral: number;
22
+ kyc: number;
23
+ user_device: number;
24
+ support_ticket: number;
25
+ user_transaction: number;
26
+ role_set: number;
27
+ department: number;
28
+ employee: number;
29
+ folder: number;
30
+ certificate: number;
31
+ voip_call: number;
32
+ coupon: number;
33
+ product: number;
34
+ coupon_redemption: number;
35
+ purchase: number;
36
+ combine: {};
37
+ };
38
+ dataCache: {
39
+ user: any[];
40
+ client: any[];
41
+ lead: any[];
42
+ ib: any[];
43
+ account: any[];
44
+ prop_account: any[];
45
+ wallet: any[];
46
+ 'request.account': any[];
47
+ 'request.wallet': any[];
48
+ 'request.deposit': any[];
49
+ 'request.withdrawal': any[];
50
+ 'request.transfer': any[];
51
+ 'request.cross_wallet_transfer': any[];
52
+ 'request.credit': any[];
53
+ 'request.verification': any[];
54
+ 'request.profile_change': any[];
55
+ 'request.leverage': any[];
56
+ payment: any[];
57
+ referral: any[];
58
+ kyc: any[];
59
+ user_device: any[];
60
+ support_ticket: any[];
61
+ user_transaction: any[];
62
+ role_set: any[];
63
+ department: any[];
64
+ employee: any[];
65
+ folder: any[];
66
+ certificate: any[];
67
+ voip_call: any[];
68
+ coupon: any[];
69
+ product: any[];
70
+ coupon_redemption: any[];
71
+ purchase: any[];
72
+ combine: {};
73
+ };
74
+ contents: {
75
+ user: any[];
76
+ client: any[];
77
+ lead: any[];
78
+ ib: any[];
79
+ account: any[];
80
+ prop_account: any[];
81
+ wallet: any[];
82
+ 'request.account': any[];
83
+ 'request.wallet': any[];
84
+ 'request.deposit': any[];
85
+ 'request.withdrawal': any[];
86
+ 'request.transfer': any[];
87
+ 'request.cross_wallet_transfer': any[];
88
+ 'request.credit': any[];
89
+ 'request.verification': any[];
90
+ 'request.profile_change': any[];
91
+ 'request.leverage': any[];
92
+ payment: any[];
93
+ referral: any[];
94
+ kyc: any[];
95
+ user_device: any[];
96
+ support_ticket: any[];
97
+ user_transaction: any[];
98
+ role_set: any[];
99
+ department: any[];
100
+ employee: any[];
101
+ folder: any[];
102
+ certificate: any[];
103
+ voip_call: any[];
104
+ notification_user: any[];
105
+ coupon: any[];
106
+ product: any[];
107
+ coupon_redemption: any[];
108
+ purchase: any[];
109
+ combine: {};
110
+ };
111
+ filterAndOrder: {
112
+ user: string;
113
+ client: string;
114
+ lead: string;
115
+ ib: string;
116
+ account: string;
117
+ prop_account: string;
118
+ wallet: string;
119
+ 'request.account': string;
120
+ 'request.wallet': string;
121
+ 'request.deposit': string;
122
+ 'request.withdrawal': string;
123
+ 'request.transfer': string;
124
+ 'request.cross_wallet_transfer': string;
125
+ 'request.credit': string;
126
+ 'request.verification': string;
127
+ 'request.profile_change': string;
128
+ 'request.leverage': string;
129
+ payment: string;
130
+ referral: string;
131
+ kyc: string;
132
+ user_device: string;
133
+ support_ticket: string;
134
+ user_transaction: string;
135
+ role_set: string;
136
+ department: string;
137
+ employee: string;
138
+ folder: string;
139
+ certificate: string;
140
+ voip_call: string;
141
+ coupon: string;
142
+ product: string;
143
+ coupon_redemption: string;
144
+ purchase: string;
145
+ combine: {};
146
+ };
147
+ }, {}, {
148
+ fetchContents(content_type: any, page: any, size: any, filter?: {}, order_by?: {}, joined_columns?: any[], forceRefresh?: boolean): Promise<{
149
+ data: any;
150
+ page: any;
151
+ page_size: any;
152
+ total: any;
153
+ }>;
154
+ _getCacheStore(key: any, isCombined: any): {
155
+ dataCache: any;
156
+ contents: any;
157
+ total: any;
158
+ filterAndOrder: any;
159
+ };
160
+ }>;
@@ -0,0 +1,9 @@
1
+ export declare const useConversionRateStore: import('pinia').StoreDefinition<"conversion_rate", {
2
+ conversion_rates: {
3
+ [key: string]: any;
4
+ };
5
+ }, {}, {
6
+ fetchConversionRate(from_currency: string, to_currency: string, date?: string): Promise<any>;
7
+ fetchConversionRates(pairs: string[][]): Promise<any>;
8
+ fetchCryptoConversionRate(from_currency: string, to_currency: string): Promise<any>;
9
+ }>;