@eaera-com/client-sdk 0.0.1383
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +19 -0
- package/README.md +1 -0
- package/dist/account/index.d.ts +56 -0
- package/dist/activity_log/index.d.ts +6 -0
- package/dist/auth/index.d.ts +20 -0
- package/dist/auth/types.d.ts +11 -0
- package/dist/base.d.ts +29 -0
- package/dist/captcha/index.d.ts +5 -0
- package/dist/category/index.d.ts +9 -0
- package/dist/channels/accounts.d.ts +11 -0
- package/dist/channels/metrics.d.ts +8 -0
- package/dist/channels/position.d.ts +13 -0
- package/dist/channels/users.d.ts +34 -0
- package/dist/client/index.d.ts +16 -0
- package/dist/client_sdk.d.ts +60 -0
- package/dist/commission_profile/index.d.ts +10 -0
- package/dist/common/constants/category.constant.d.ts +31 -0
- package/dist/common/constants/communication.constant.d.ts +7 -0
- package/dist/common/constants/index.d.ts +8 -0
- package/dist/common/constants/listStatus.constants.d.ts +2 -0
- package/dist/common/constants/methods.constant.d.ts +39 -0
- package/dist/common/constants/site-settings.constants.d.ts +5 -0
- package/dist/common/constants/store.constants.d.ts +1 -0
- package/dist/common/constants/supportTicket.constant.d.ts +4 -0
- package/dist/common/constants/type.constants.d.ts +2 -0
- package/dist/common/index.d.ts +2 -0
- package/dist/common/types/addon.types.d.ts +34 -0
- package/dist/common/types/category.types.d.ts +6 -0
- package/dist/common/types/communication.types.d.ts +1 -0
- package/dist/common/types/email.types.d.ts +1 -0
- package/dist/common/types/index.d.ts +6 -0
- package/dist/common/types/liveNotification.types.d.ts +10 -0
- package/dist/common/types/site-setting.d.ts +73 -0
- package/dist/common/use-utils/data/countriesWithCurrencies.d.ts +7 -0
- package/dist/common/use-utils/data/dragonpayBank.d.ts +6 -0
- package/dist/common/use-utils/data/help2pay_banks.d.ts +7 -0
- package/dist/common/use-utils/data/listCryptoCurrencies.d.ts +5 -0
- package/dist/common/use-utils/data/regions.d.ts +16 -0
- package/dist/common/use-utils/data/widgets.d.ts +4 -0
- package/dist/common/use-utils/index.d.ts +69 -0
- package/dist/common/use-utils/schema/fundingMethod.schema.d.ts +1016 -0
- package/dist/common/use-utils/validators/index.d.ts +1 -0
- package/dist/contact/index.d.ts +9 -0
- package/dist/content/index.d.ts +17 -0
- package/dist/content_type/index.d.ts +8 -0
- package/dist/conversion_rate/index.d.ts +7 -0
- package/dist/coupon/index.d.ts +14 -0
- package/dist/coupon/type.d.ts +35 -0
- package/dist/department/index.d.ts +10 -0
- package/dist/devices/index.d.ts +6 -0
- package/dist/ecommerce/category.d.ts +9 -0
- package/dist/ecommerce/coupon.d.ts +16 -0
- package/dist/ecommerce/index.d.ts +16 -0
- package/dist/ecommerce/product.d.ts +12 -0
- package/dist/ecommerce/product_attribute.d.ts +9 -0
- package/dist/ecommerce/purchases.d.ts +13 -0
- package/dist/email-layout/index.d.ts +10 -0
- package/dist/email-template/index.d.ts +15 -0
- package/dist/employee/index.d.ts +15 -0
- package/dist/folder/index.d.ts +12 -0
- package/dist/funding-source/index.d.ts +10 -0
- package/dist/gamification_campaign/index.d.ts +9 -0
- package/dist/ib/index.d.ts +24 -0
- package/dist/index.d.ts +1510 -0
- package/dist/index.js +35135 -0
- package/dist/kycs/index.d.ts +18 -0
- package/dist/lead/index.d.ts +13 -0
- package/dist/metric/index.d.ts +7 -0
- package/dist/news/index.d.ts +14 -0
- package/dist/news/news.type.d.ts +17 -0
- package/dist/note/index.d.ts +8 -0
- package/dist/notification-center/NotificationCenter.types.d.ts +24 -0
- package/dist/notification-center/index.d.ts +20 -0
- package/dist/payment/index.d.ts +22 -0
- package/dist/pool_trading/index.d.ts +13 -0
- package/dist/pool_trading/invest_wallet.d.ts +16 -0
- package/dist/pool_trading/pool_profile.d.ts +45 -0
- package/dist/product/index.d.ts +12 -0
- package/dist/product_attribute/index.d.ts +9 -0
- package/dist/prop_account/index.d.ts +55 -0
- package/dist/purchase/index.d.ts +13 -0
- package/dist/purchase/type.d.ts +66 -0
- package/dist/report/index.d.ts +28 -0
- package/dist/report-filters/index.d.ts +9 -0
- package/dist/request/index.d.ts +38 -0
- package/dist/role_set/index.d.ts +8 -0
- package/dist/silt/index.d.ts +5 -0
- package/dist/site-setting/index.d.ts +16 -0
- package/dist/stores/account.d.ts +180 -0
- package/dist/stores/activity_log.d.ts +7 -0
- package/dist/stores/addon.d.ts +11 -0
- package/dist/stores/auth.d.ts +37 -0
- package/dist/stores/battle_notification.d.ts +6 -0
- package/dist/stores/captcha.d.ts +3 -0
- package/dist/stores/category.d.ts +15 -0
- package/dist/stores/client.d.ts +17 -0
- package/dist/stores/commission_profile.d.ts +12 -0
- package/dist/stores/contact.d.ts +9 -0
- package/dist/stores/content-type.d.ts +10 -0
- package/dist/stores/content-v2.d.ts +160 -0
- package/dist/stores/content.d.ts +216 -0
- package/dist/stores/conversion_rate.d.ts +9 -0
- package/dist/stores/coupon.d.ts +26 -0
- package/dist/stores/department.d.ts +7 -0
- package/dist/stores/devices.d.ts +8 -0
- package/dist/stores/employee.d.ts +12 -0
- package/dist/stores/folder.d.ts +15 -0
- package/dist/stores/funding-source.d.ts +29 -0
- package/dist/stores/gamification_campaign.d.ts +10 -0
- package/dist/stores/ib.d.ts +19 -0
- package/dist/stores/index.d.ts +1506 -0
- package/dist/stores/invest_wallet.d.ts +92 -0
- package/dist/stores/kycs.d.ts +16 -0
- package/dist/stores/lead.d.ts +13 -0
- package/dist/stores/live-notification.d.ts +6 -0
- package/dist/stores/metric.d.ts +21 -0
- package/dist/stores/news.d.ts +15 -0
- package/dist/stores/notes.d.ts +16 -0
- package/dist/stores/notification-center.d.ts +20 -0
- package/dist/stores/notification.d.ts +6 -0
- package/dist/stores/payment.d.ts +12 -0
- package/dist/stores/pool-trading.d.ts +7 -0
- package/dist/stores/pool_profile.d.ts +116 -0
- package/dist/stores/product.d.ts +27 -0
- package/dist/stores/product_attribute.d.ts +10 -0
- package/dist/stores/prop_account.d.ts +45 -0
- package/dist/stores/purchases.d.ts +23 -0
- package/dist/stores/report_filter.d.ts +9 -0
- package/dist/stores/request.d.ts +39 -0
- package/dist/stores/role_set.d.ts +7 -0
- package/dist/stores/site-setting.d.ts +98 -0
- package/dist/stores/support.d.ts +33 -0
- package/dist/stores/trade-server.d.ts +12 -0
- package/dist/stores/trade_battle.d.ts +51 -0
- package/dist/stores/transaction.d.ts +8 -0
- package/dist/stores/user.d.ts +26 -0
- package/dist/stores/wallet.d.ts +57 -0
- package/dist/sumsub/index.d.ts +6 -0
- package/dist/support/index.d.ts +16 -0
- package/dist/trade-server/index.d.ts +12 -0
- package/dist/trade_battle/index.d.ts +30 -0
- package/dist/trade_battle/tradeBattle.type.d.ts +119 -0
- package/dist/transaction/index.d.ts +9 -0
- package/dist/user/index.d.ts +40 -0
- package/dist/utils/index.d.ts +4 -0
- package/dist/utils/route-compression.d.ts +17 -0
- package/dist/utils/store.d.ts +12 -0
- package/dist/voip/index.d.ts +5 -0
- package/dist/wallet/index.d.ts +18 -0
- package/package.json +58 -0
|
@@ -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
|
+
}>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { CouponPayload, RedemptionPayload, RedemptionPayloadAno, RedemptionResponse } from '../coupon/type';
|
|
2
|
+
|
|
3
|
+
export declare const useCouponStore: import('pinia').StoreDefinition<"coupon", {
|
|
4
|
+
coupons: any[];
|
|
5
|
+
couponRedemptions: any[];
|
|
6
|
+
selectedCoupon: {};
|
|
7
|
+
}, {
|
|
8
|
+
couponsTotalCount(): number;
|
|
9
|
+
}, {
|
|
10
|
+
fetchCoupons(payload?: {
|
|
11
|
+
page?: number;
|
|
12
|
+
size?: number;
|
|
13
|
+
filter?: any;
|
|
14
|
+
order_by?: any;
|
|
15
|
+
from_time?: any;
|
|
16
|
+
to_time?: any;
|
|
17
|
+
}): Promise<any[]>;
|
|
18
|
+
createCoupon(payload: CouponPayload): Promise<any>;
|
|
19
|
+
updateCoupon(id: string, payload: CouponPayload): Promise<any>;
|
|
20
|
+
enableCoupon(id: string): Promise<unknown>;
|
|
21
|
+
disableCoupon(id: string): Promise<unknown>;
|
|
22
|
+
createCouponRedemption(payload: RedemptionPayload): Promise<RedemptionResponse | null>;
|
|
23
|
+
createCouponRedemptionAnonymous(payload: RedemptionPayloadAno): Promise<RedemptionResponse | null>;
|
|
24
|
+
fetchAvailableCouponRedemptions(email: string): Promise<RedemptionResponse[]>;
|
|
25
|
+
fetchAvailableCouponRedemptionsAnonymous(email: string): Promise<any[] | RedemptionResponse[]>;
|
|
26
|
+
}>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const useDepartmentStore: import('pinia').StoreDefinition<"departments", {}, {}, {
|
|
2
|
+
fetchDepartments(page: any, size: any, filter: any, order_by: any): Promise<any>;
|
|
3
|
+
createDepartment(payload: any): Promise<any>;
|
|
4
|
+
updateDepartment(id: number, payload: any): Promise<any>;
|
|
5
|
+
deleteDepartment(id: number): Promise<any>;
|
|
6
|
+
changeStateDepartment(id: number, state: string): Promise<any>;
|
|
7
|
+
}>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const useDevicesStore: import('pinia').StoreDefinition<"devices", {
|
|
2
|
+
devices: any[];
|
|
3
|
+
trustedDevices: any[];
|
|
4
|
+
}, {}, {
|
|
5
|
+
fetchDevices(page: any, size: any, filter: any, order_by: any): Promise<any>;
|
|
6
|
+
signOutAll(except_current: any): Promise<any>;
|
|
7
|
+
untrustDevices(id: any): Promise<any>;
|
|
8
|
+
}>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const useEmployeeStore: import('pinia').StoreDefinition<"employee", {}, {}, {
|
|
2
|
+
createEmployee(payload: any): Promise<any>;
|
|
3
|
+
updateEmployee(id: any, payload: any): Promise<any>;
|
|
4
|
+
deleteEmployee(id: any, payload?: any): Promise<any>;
|
|
5
|
+
resendInvitation(id: any): Promise<any>;
|
|
6
|
+
updateEmployeeComment(id: any, payload: any): Promise<any>;
|
|
7
|
+
changeEmployeeState(id: any, payload: any): Promise<any>;
|
|
8
|
+
updateGrantRoleAdmin(employeeId: string | number): Promise<unknown>;
|
|
9
|
+
transferSuperAdminRole(fromId: string | number, toId: string | number): Promise<unknown>;
|
|
10
|
+
fetchListAdminRole(): Promise<unknown>;
|
|
11
|
+
checkEmployeeLinked(id: string | number): Promise<any>;
|
|
12
|
+
}>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const useFolderStore: import('pinia').StoreDefinition<"folder", {
|
|
2
|
+
folders: any[];
|
|
3
|
+
public_folders: any[];
|
|
4
|
+
attachments: any[];
|
|
5
|
+
}, {}, {
|
|
6
|
+
fetchFolders(page: any, size: any, filter: any, order_by: any): Promise<any>;
|
|
7
|
+
createFolder(payload: any): Promise<any>;
|
|
8
|
+
updateFolder(folder_id: number, payload: any): Promise<any>;
|
|
9
|
+
getAttachments(folder_id: number): Promise<any>;
|
|
10
|
+
getPublicFolders(): Promise<any>;
|
|
11
|
+
addAttachments(folder_id: number, payload: any): Promise<any>;
|
|
12
|
+
updateAttachment(folder_id: number, attachment_id: number, payload: any): Promise<any>;
|
|
13
|
+
deleteAttachment(folder_id: number, attachment_id: number): Promise<any>;
|
|
14
|
+
deleteFolder(folder_id: number): Promise<any>;
|
|
15
|
+
}>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { PspKey } from '../common/constants/methods.constant';
|
|
2
|
+
|
|
3
|
+
export declare const useFundingSourceStore: import('pinia').StoreDefinition<"funding-source", {
|
|
4
|
+
funding_sources: any[];
|
|
5
|
+
fundingMethods: any[];
|
|
6
|
+
fundingSchema: {};
|
|
7
|
+
}, {
|
|
8
|
+
methodTransactionRule(): (country?: string) => Record<string, any>;
|
|
9
|
+
availableFundingMethods(): any;
|
|
10
|
+
getMethodTransactionRule(): (methodName: string, country?: string) => any;
|
|
11
|
+
availableFundingMethodsByTransactionType(): (transactionType: "deposit" | "withdrawal", country?: string) => any;
|
|
12
|
+
getDepositTransactionRuleByMethod(): (method: string) => any;
|
|
13
|
+
getDepositAllowedFromCurrenciesByType(): (method: string, type: "fiat" | "crypto") => any;
|
|
14
|
+
getAllDepositAllowedFromCurrencies(): (method: string) => any[];
|
|
15
|
+
getSchemaFundingMethod(): (method: string) => any;
|
|
16
|
+
getKeyByFundingMethod(): (method: string) => PspKey | null;
|
|
17
|
+
getAllFundingMethods(): (country?: string, transactionType?: "deposit" | "withdrawal") => {
|
|
18
|
+
label: any;
|
|
19
|
+
value: any;
|
|
20
|
+
}[];
|
|
21
|
+
}, {
|
|
22
|
+
fetchFundingSources(): Promise<any>;
|
|
23
|
+
createFundingSource(payload: any, otpCode?: string): Promise<any>;
|
|
24
|
+
editFundingSource(payload: any, otpCode?: string): Promise<any>;
|
|
25
|
+
sendOtpFundingSource(): Promise<any>;
|
|
26
|
+
deleteFundingSource(payload: any, otpCode?: string): Promise<any>;
|
|
27
|
+
getFundingMethods(): Promise<any>;
|
|
28
|
+
generateFundingId(funding_data: Record<string, string>, current_method: PspKey): string;
|
|
29
|
+
}>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const useGamificationCampaignStore: import('pinia').StoreDefinition<"gamification_campaign", {
|
|
2
|
+
campaigns: any[];
|
|
3
|
+
editing_campaign: {};
|
|
4
|
+
}, {}, {
|
|
5
|
+
getAllCampaigns(payload: any): Promise<any>;
|
|
6
|
+
updateCampaign(payload: any): Promise<any>;
|
|
7
|
+
createCampaign(payload: any): Promise<any>;
|
|
8
|
+
deleteCampaign(id: string): Promise<any>;
|
|
9
|
+
getCampaignById(id: string): Promise<any>;
|
|
10
|
+
}>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const useIBStore: import('pinia').StoreDefinition<"ib", {
|
|
2
|
+
ibs: any[];
|
|
3
|
+
selected_ib: {};
|
|
4
|
+
}, {}, {
|
|
5
|
+
getIB(payload?: any): Promise<any>;
|
|
6
|
+
getIBByID(id: string): Promise<any>;
|
|
7
|
+
createIB(payload: any): Promise<any>;
|
|
8
|
+
updateIB(id: string, payload: any): Promise<any>;
|
|
9
|
+
deleteIB(id: string): Promise<any>;
|
|
10
|
+
assginAccountToIB(id: string, payload: any): Promise<any>;
|
|
11
|
+
unassginAccountFromIB(payload: any): Promise<any>;
|
|
12
|
+
assginLeadToIB(id: string, payload: any): Promise<any>;
|
|
13
|
+
unassginLeadFromIB(payload: any): Promise<any>;
|
|
14
|
+
assginClientToIB(id: string, payload: any): Promise<any>;
|
|
15
|
+
unassginClientFromIB(payload: any): Promise<any>;
|
|
16
|
+
bulkUpdateIBState(payload: any): Promise<any>;
|
|
17
|
+
getTotalCommissions(id: number, params: any): Promise<any>;
|
|
18
|
+
getDailyStatistic(id: number, params: any): Promise<any>;
|
|
19
|
+
}>;
|