import { fetchQueueReducer } from "@payping/utils/fetchQueue"; import { ThunkAction } from "redux-thunk"; import { Action } from "redux"; import { CategoryDetailViewModel, CouponDetailViewModel, CouponListItemViewModel, CustomerListItemViewModel, InvoiceCustomerDetailViewModel, BanksApis, KhavarmiyanehApis, SamanApis, InvoiceProductDetailViewModel, InvoiceComplexDetailViewModel, InvoiceListItemViewModel, PermanentDetailViewModel, PermanentListItemViewModel, ProductFullDeatilViewModel, ProductListWordpress, TransactionReportViewModel, UserTerminalInfo, BaseIntegration, ServiceDetailViewModel, DashboardProfileChecksResponseModel, DashboardProfileResponseModel, GetUserMessagesResponseModel, GetUserProfileAdminResponseModel, PhoneNumberInformationResponseModel, TransactionWithdrawDetailsViewModel, UserBusinessInformationAdminModel, UserLocalInfoResponseModel, UserMessageModel, UserPersonalInfoResponseModel, UserProfilePlanInfoResponseModel, UserShabaInfoResponseModel, UserSocialInfoResponseModel, UserVerificationTypeAdminEnum, UserVerificationTypeEnum, UserWizardStatusInfo, WageInfoViewModel, CreateRequestResultVM, GetFavouriteIbansResponse, OverviewResult, PagedQueryResultRequestDetailsVM, PagedQueryResultSettlementFullDetails, PagedQueryResultTransactionDetails, CategoryCreateViewModel, CategoryEditViewModel, SDKRequestInit, CouponCreateV2ViewModel, CouponEditV2ViewModel, CouponUsed, CustomerCreateViewModel, CustomerEditViewModel, GetOperationDetailsRequestModel, OperationDetailsResponseModel, InvoiceCreateRequestViewModel, InvoiceCreateResponseViewModel, InvoiceCreateScheduleViewModel, InvoiceCustomerCreateViewModel, InvoiceEditRequestViewModel, InvoiceSubScheduleDetailViewModel, PermanentCreateViewModel, PermanentEditViewModel, ProductCreateViewModel, ProductEditViewModel, ProductListItemViewModel, AdvancedReportBaseInfo, DashboardSummeryBaseInfo, DashboardSummeryDetailsViewModel, PaymentDetailsVM, PosIpgType, TransactionReportV2, BonusMerchantVM, GetNativeAppProfileResponseModel, UpdateBankInfoRequestModel, UpdateBusinessInfoRequestModel, UpdatePersonalInfoRequestModel, UpdateSocialInfoRequestModel } from "@payping/api"; import { DepositStatementActionEnum, PaymentRequestDetailsModel } from "@payping/api/app/api/digitalAccountSamanTypes"; declare const LOGGED_OUT = "LOGGED_OUT"; interface LoggedOutAction { type: typeof LOGGED_OUT; } type SdkExtraArg = undefined; type SdkThunkActionResult = ThunkAction; declare const LOGGED_IN = "LOGGED_IN"; declare const UPDATE_USER_CLAIMS = "UPDATE_USER_CLAIMS"; interface AuthState { token: string; TOTPCode: string; showTOTPModal: boolean; ssoUserInfo?: Record; userClaims?: string[]; } interface LoggedInAction { type: typeof LOGGED_IN; payload: { token: string; ssoUserInfo: AuthState["ssoUserInfo"]; }; } interface UpdateUserClaimsActions { type: typeof UPDATE_USER_CLAIMS; payload: AuthState["userClaims"]; } interface CategoryState { list: CategoryDetailViewModel[]; totalCount: number; } interface ClientState { app: { list: AppDetailViewModel[]; details?: AppDetailViewModel; totalCount: number; }; client: { list: ClientDetailViewModel[]; details?: ClientDetailViewModel; totalCount: number; }; hasWithdrawRefund?: boolean; allScopes: { scopes: ScopeDetailViewModel[]; identityScopes: ScopeDetailViewModel[]; }; token: { list: TokenDetailViewModel[]; details?: TokenDetailViewModel; totalCount: number; }; } declare const SET_COUPON_DETAILS = "SET_COUPON_DETAILS"; interface CouponState { list: CouponListItemViewModel[]; totalCount: number; paginationEnd: boolean; details?: CouponDetailViewModel; } interface SetCouponDetailsAction { type: typeof SET_COUPON_DETAILS; payload: { details: CouponDetailViewModel; }; } declare const SET_CUSTOMER_DETAILS = "SET_CUSTOMER_DETAILS"; interface CustomerState { list: CustomerListItemViewModel[]; totalCount: number; paginationEnd: boolean; details?: InvoiceCustomerDetailViewModel; } interface SetCustomerDetailsAction { type: typeof SET_CUSTOMER_DETAILS; payload: { details: InvoiceCustomerDetailViewModel; }; } type Unpromisify = T extends Promise ? U : T; interface DigitalAccountState { availableBanks: Unpromisify>; depositStatements: Unpromisify>; statementsList: Unpromisify>; depositBalance: Unpromisify>; samanRequestList: Unpromisify>; samanOverviewDetail: Unpromisify>; khavarmianeh: { status?: Unpromisify>; }; } declare const ADD_ENTRY = "ADD_ENTRY"; declare const REMOVE_ENTRY = "REMOVE_ENTRY"; declare const UPDATE_ENTRY = "UPDATE_ENTRY"; declare const INC_FAST_INVOICE_COUNTER = "INC_FAST_INVOICE_COUNTER"; declare const RESET_FAST_INVOICE_COUNTER = "RESET_FAST_INVOICE_COUNTER"; declare const SET_ORDER_TYPE = "SET_ORDER_TYPE"; declare const TOGGLE_USE_WEIGHT = "TOGGLE_USE_WEIGHT"; declare const SET_INVOICE_COUPON = "SET_INVOICE_COUPON"; declare const SET_PRODUCT_COUPON = "SET_PRODUCT_COUPON"; declare const CLEAR_FASTINVOICE = "CLEAR_FASTINVOICE"; type OrderType = "salon" | "pack" | "delivery"; type ActiveDiscountType = "customerClub" | "coupon" | "manual" | undefined; interface FastInvoiceState { invoice: { products: InvoiceProductDetailViewModel[]; latestSelectedProduct?: InvoiceProductDetailViewModel; orderType: OrderType; activeDiscountType: ActiveDiscountType; invoiceCoupon?: CouponDetailViewModel; }; fastInvoiceCounter: number; useWeight: boolean; } interface AddEntryAction { type: typeof ADD_ENTRY; payload: { product: InvoiceProductDetailViewModel; }; } interface RemoveEntryAction { type: typeof REMOVE_ENTRY; payload: { code: string; }; } interface UpdateEntryAction { type: typeof UPDATE_ENTRY; payload: { code: string; newProduct: InvoiceProductDetailViewModel; }; } interface IncFastInvoiceCounterAction { type: typeof INC_FAST_INVOICE_COUNTER; } interface ResetFastInvoiceCounterAction { type: typeof RESET_FAST_INVOICE_COUNTER; } interface SetOrderTypeAction { type: typeof SET_ORDER_TYPE; payload: { orderType: OrderType; }; } interface ToggleUseWeightAction { type: typeof TOGGLE_USE_WEIGHT; } interface SetInvoiceCouponAction { type: typeof SET_INVOICE_COUPON; payload: { coupon: CouponDetailViewModel; type: ActiveDiscountType; }; } interface SetProductCouponActionPayload { itemCode: string; coupon: { userCouponCode: string; discountType: number; discountAmount: number; }; type: ActiveDiscountType; } interface SetProductCouponAction { type: typeof SET_PRODUCT_COUPON; payload: SetProductCouponActionPayload; } interface ClearFastInvoiceAction { type: typeof CLEAR_FASTINVOICE; } declare const SET_INVOICE_DETAILS = "SET_INVOICE_DETAILS"; interface InvoiceState { list: InvoiceListItemViewModel[]; totalCount: number; paginationEnd: boolean; details?: InvoiceComplexDetailViewModel; coupon?: CouponState; } interface SetInvoiceDetailsAction { type: typeof SET_INVOICE_DETAILS; payload: { details: InvoiceComplexDetailViewModel; }; } declare const LOGGED_IN_ORGANIZATION = "LOGGED_IN_ORGANIZATION"; declare const SET_ORGANIZATION_INFO = "SET_ORGANIZATION_INFO"; interface OrganizationState { organizationClientId: string; token: string; name: string; logoUri: string; } interface LoggedInOrganizationAction { type: typeof LOGGED_IN_ORGANIZATION; payload: { token: string; }; } interface SetOrganizationInfoAction { type: typeof SET_ORGANIZATION_INFO; payload: { organization: { name: string; organizationClientId: string; logoUri?: string; }; }; } declare const SET_PERMALINK_DETAILS = "SET_PERMALINK_DETAILS"; interface PermaLinkState { list: PermanentListItemViewModel[]; totalCount: number; details?: PermanentDetailViewModel; } interface SetPermaLinkDetailsAction { type: typeof SET_PERMALINK_DETAILS; payload: { details: PermanentDetailViewModel; }; } declare const SET_DEFAULT_POS = "SET_DEFAULT_POS"; declare const DELETE_DEFAULT_POS = "DELETE_DEFAULT_POS"; declare const ADD_TO_POS_DEVICES = "ADD_TO_POS_DEVICES"; declare const REMOVE_FROM_POS_DEVICES = "REMOVE_FROM_POS_DEVICES"; interface PcPosConfig { uniqueId: string; pspId: string; ip: string; port: string; pspName: string; posName: string; logo: string; } interface PosState { pcpos: { active?: PcPosConfig; list: PcPosConfig[]; }; mpos: { terminalId?: string; }; } interface SetDefaultPosAction { type: typeof SET_DEFAULT_POS; payload: { uniqueId: string; }; } interface DeleteDefaultPosAction { type: typeof DELETE_DEFAULT_POS; } interface AddToPosDevicesAction { type: typeof ADD_TO_POS_DEVICES; payload: { config: PcPosConfig; }; } interface RemoveFromPosDevicesAction { type: typeof REMOVE_FROM_POS_DEVICES; payload: { uniqueId: string; }; } declare const SET_PRODUCT_DETAILS = "SET_PRODUCT_DETAILS"; interface ProductState { list: ProductListWordpress[]; totalCount: number; paginationEnd: boolean; details?: ProductFullDeatilViewModel; } interface SetProductDetailsAction { type: typeof SET_PRODUCT_DETAILS; payload: { details: ProductFullDeatilViewModel; }; } declare const SET_REPORT_DETAILS = "SET_REPORT_DETAILS"; declare const SET_TRANSACTION_ISPAID = "SET_TRANSACTION_ISPAID"; interface ReportState { list: TransactionReportViewModel[]; totalCount: number; paginationEnd: boolean; details?: TransactionDetailsVM; totalTransactionCount?: number; terminalList: UserTerminalInfo[]; } interface SetReportDetailsAction { type: typeof SET_REPORT_DETAILS; payload: { details?: TransactionDetailsVM; }; } interface SetTransactionIsPaidAction { type: typeof SET_TRANSACTION_ISPAID; payload: { code: string; }; } declare const SET_REQUEST_MONEY_DETAILS = "SET_REQUEST_MONEY_DETAILS"; interface RequestMoneyState { list: TransactionReportViewModel[]; totalCount: number; paginationEnd: boolean; details?: TransactionDetailsVM; } interface SetRequestMoneyDetailsAction { type: typeof SET_REQUEST_MONEY_DETAILS; payload: { details?: TransactionDetailsVM; }; } interface ServiceState { oneService: BaseIntegration; list: ServiceDetailViewModel[]; totalCount: number; } interface PCPOSData { merchant: string; terminal: string; transactionNo: string; cardNo: string; rrn: string; } interface Versions { current?: string; supported?: string; latest?: string; } declare const ENABLE_DEFAULT_TERMS = "ENABLE_DEFAULT_TERMS"; declare const DISABLE_DEFAULT_TERMS = "DISABLE_DEFAULT_TERMS"; declare const TOGGLE_AUTO_PRINTING = "TOGGLE_AUTO_PRINTING"; declare const TOGGLE_PRINTING_RECEPTION_INVOICE = "TOGGLE_PRINTING_RECEPTION_INVOICE"; declare const SET_PRINTER_FOR_RECEPTION_INVOICE = "SET_PRINTER_FOR_RECEPTION_INVOICE"; declare const TOGGLE_SECOND_SCREEN_WINDOW_VISIBLITY = "TOGGLE_SECOND_SCREEN_WINDOW_VISIBLITY"; declare const TOGGLE_SHOP_MODE = "TOGGLE_SHOP_MODE"; declare const TOGGLE_CUSTOMER_ORDER_MODE = "TOGGLE_CUSTOMER_ORDER_MODE"; declare const TOGGLE_SELECT_ORDER_TYPE = "TOGGLE_SELECT_ORDER_TYPE"; declare const TOGGLE_CURRENT_SALE_COMPACT_MODE = "TOGGLE_CURRENT_SALE_COMPACT_MODE"; declare const TOGGLE_PRE_INVOICE_MODE = "TOGGLE_PRE_INVOICE_MODE"; declare const TOGGLE_READ_WEIGHT_FROM_PORT = "TOGGLE_READ_WEIGHT_FROM_PORT"; declare const SET_NETWORK_STATUS = "SET_NETWORK_STATUS"; declare const SET_PAPER_SIZE = "SET_PAPER_SIZE"; declare const SET_LOCALE = "SET_LOCALE"; declare const SET_DIRECTION = "SET_DIRECTION"; declare const SET_THEME = "SET_THEME"; declare const SET_COMPACT = "SET_COMPACT"; declare const SET_AUTO_RELEASE_NOTES = "SET_AUTO_RELEASE_NOTES"; declare const SET_VERSIONS = "SET_VERSIONS"; type PrintPaperSizeTypes = "A4" | "A5" | "80mm"; type LocaleType = "fa" | "en"; type DirectionType = "rtl" | "ltr"; type ThemeType = "light" | "dark"; interface PrinterConfig { name: string; isDefault: boolean; } interface SettingState { autoDisplay: boolean; defaultTerms: { isEnabled: boolean; text: string; }; isAutoPrintingActive: boolean; printReceptionInvoice: boolean; defaultPrinterForReceptionInvoice?: PrinterConfig; isSecondScreenWindowVisible: boolean; isShopModeActive: boolean; customerOrderMode: boolean; showSelectOrderType: boolean; fastInvoiceCompactMode: boolean; preInvoiceMode: boolean; isOnline: boolean; readWeightFromPort: boolean; paperSize: PrintPaperSizeTypes; locale: LocaleType; direction: DirectionType; versions: Versions; theme: ThemeType; compactTheme: boolean; } interface EnableDefaultTermsAction { type: typeof ENABLE_DEFAULT_TERMS; payload: { text: string; }; } interface DisableDefaultTermsAction { type: typeof DISABLE_DEFAULT_TERMS; } interface ToggleAutoPrintingAction { type: typeof TOGGLE_AUTO_PRINTING; } interface TogglePrintingReceptionInvoiceAction { type: typeof TOGGLE_PRINTING_RECEPTION_INVOICE; } interface SetPrinterForReceptionInvoiceAction { type: typeof SET_PRINTER_FOR_RECEPTION_INVOICE; payload: { config?: PrinterConfig; }; } interface ToggleSecondScreenVisiblityAction { type: typeof TOGGLE_SECOND_SCREEN_WINDOW_VISIBLITY; } interface ToggleShopModeAction { type: typeof TOGGLE_SHOP_MODE; } interface ToggleCustomerOrderModeAction { type: typeof TOGGLE_CUSTOMER_ORDER_MODE; } interface ToggleSelectOrderTypeAction { type: typeof TOGGLE_SELECT_ORDER_TYPE; } interface ToggleFastInvoiceCompactModeAction { type: typeof TOGGLE_CURRENT_SALE_COMPACT_MODE; } interface TogglePreInvoiceModeAction { type: typeof TOGGLE_PRE_INVOICE_MODE; } interface ToggleReadWeightFromPortAction { type: typeof TOGGLE_READ_WEIGHT_FROM_PORT; } interface SetNetworkStatusAction { type: typeof SET_NETWORK_STATUS; payload: { isOnline: boolean; }; } interface SetPaperSizeAction { type: typeof SET_PAPER_SIZE; payload: { paperSize: PrintPaperSizeTypes; }; } interface SetLocaleAction { type: typeof SET_LOCALE; payload: { locale: LocaleType; }; } interface SetDirectionAction { type: typeof SET_DIRECTION; payload: { direction: DirectionType; }; } interface SetThemeAction { type: typeof SET_THEME; payload: { theme: ThemeType; }; } interface SetCompactAction { type: typeof SET_COMPACT; payload: { compact: boolean; }; } interface SetAutoReleaseNotesAction { type: typeof SET_AUTO_RELEASE_NOTES; payload: { autoDisplay: boolean; }; } interface SetVersionsAction { type: typeof SET_VERSIONS; payload: Versions; } declare const SET_USER_WITHDRAW_STATUS = "SET_USER_WITHDRAW_STATUS"; declare const SET_USER_OVERVIEW_TASKS_STATUS = "SET_USER_OVERVIEW_TASKS_STATUS"; declare const SET_USER_PERMISSIONS = "SET_USER_PERMISSIONS"; declare const SET_IS_LOADING_PERMISSIONS = "SET_IS_LOADING_PERMISSIONS"; interface ConnectUserInfo { businessname: string; firstname: string; /* eslint-disable camelcase */ /** Backend boolean notation. No way to change it due to third party authentication packages in backend */ have_terminal: "True" | "False"; is_oauth: boolean; ischecked_verification: boolean; /* eslint-enable camelcase */ isverify: boolean; lastname: string; ppclientid: string; profilepicture: string; role?: string[]; sub: string; username: string; paidFeature?: string[]; } interface UserState extends DashboardProfileResponseModel { personalInfo?: Omit & Omit & { haveTerminal?: boolean; birthdayNationalCodeVerified?: boolean; name?: string; verifyType?: UserVerificationTypeEnum | UserVerificationTypeAdminEnum; }; businessInfo?: UserBusinessInformationAdminModel; panelInfo?: UserProfilePlanInfoResponseModel & Pick; bankInfo?: { sheba?: string; shebaVerified?: boolean; }; localInfo?: UserLocalInfoResponseModel; message: { count: number; list: UserMessageModel[]; }; checks?: DashboardProfileChecksResponseModel; socials?: UserSocialInfoResponseModel; discountDays?: number; hasWithdraw?: boolean; autoWithdraw?: boolean; phoneNumber?: string; qrCode?: string; role?: string[]; twoFactorEnabled?: boolean; wizard?: UserWizardStatusInfo; referralCode?: string; registerDateTime?: string; isReferralActive?: boolean; isSettlement?: boolean; wage?: WageInfoViewModel; permissions: string[]; isLoadingPermission: boolean; overview: { hasWithdraw?: boolean; lastWithdraw?: TransactionWithdrawDetailsViewModel; tasksStatus?: { hasCoupon: boolean; hasCustomer: boolean; hasInvoices: boolean; hasProduct: boolean; hasToken: boolean; hasTransaction: boolean; }; }; } interface SetUserPermissions { type: typeof SET_USER_PERMISSIONS; payload: UserState["permissions"]; } interface SetIsLoadingPermissions { type: typeof SET_IS_LOADING_PERMISSIONS; payload: UserState["isLoadingPermission"]; } interface SetUserWithdrawStatusAction { type: typeof SET_USER_WITHDRAW_STATUS; payload: { hasWithdraw?: UserState["overview"]["hasWithdraw"]; lastWithdraw?: UserState["overview"]["lastWithdraw"]; }; } interface SetUserOverviewTasksStatus { type: typeof SET_USER_OVERVIEW_TASKS_STATUS; payload: UserState["overview"]["tasksStatus"]; } interface WithdrawState { balance: number; list: TransactionWithdrawDetailsViewModel[]; totalCount: number; paginationEnd: boolean; } interface CashOutState { depositList?: PagedQueryResultRequestDetailsVM; depositTransactionsList?: PagedQueryResultTransactionDetails; requestList?: PagedQueryResultRequestDetailsVM; settlementList?: PagedQueryResultSettlementFullDetails; overview?: OverviewResult; createdRequest?: CreateRequestResultVM; createRequestSettlements?: PagedQueryResultSettlementFullDetails; filteredSettlementList?: PagedQueryResultSettlementFullDetails; favouriteIbans?: GetFavouriteIbansResponse; } interface SdkStoreStates { auth: AuthState; categories: CategoryState; client: ClientState; coupons: CouponState; customers: CustomerState; digitalAccount: DigitalAccountState; fastInvoice: FastInvoiceState; fetchQueue: ReturnType; invoices: InvoiceState; organization: OrganizationState; permalinks: PermaLinkState; pos: PosState; products: ProductState; reports: ReportState; service: ServiceState; settings: SettingState; user: UserState; withdraws: WithdrawState; requestMoney: RequestMoneyState; cashOuts: CashOutState; } declare function loggedIn(token: string, ssoUserInfo?: AuthState["ssoUserInfo"]): LoggedInAction; declare function loggedOut(): LoggedOutAction; declare function setTOTPCode(code: string): SdkThunkActionResult>; declare function setShowTOTPModal(show: boolean): SdkThunkActionResult>; declare function updateUserClaims(userClaims: AuthState["userClaims"]): UpdateUserClaimsActions; declare function getTotalCategoriesCount(searchText?: string, options?: SDKRequestInit): SdkThunkActionResult>; declare function getCategories(searchText?: string, options?: SDKRequestInit): SdkThunkActionResult>; declare function getCategoryItems(code: string, options?: SDKRequestInit): SdkThunkActionResult>; declare function getCategoriesCount(code: string, options?: SDKRequestInit): SdkThunkActionResult>; declare function removeCategory(code: string, options?: SDKRequestInit): SdkThunkActionResult>; declare function createCategory(data: CategoryCreateViewModel, searchText?: string, options?: SDKRequestInit): SdkThunkActionResult>; declare function updateCategory(data: CategoryEditViewModel, searchText?: string, options?: SDKRequestInit): SdkThunkActionResult>; interface sampleJson { result: any; } interface ClientDetailViewModel { clientId?: string; clientName?: string; description?: string; logoUri?: string; } interface AppDetailViewModel extends ClientDetailViewModel { allowedScopes?: string[]; clientType?: number; clientUri?: string; clientSecret?: string; enabled?: boolean; expireMonths?: number; isChecked?: boolean; isTest?: boolean; isTrusted?: boolean; redirectUris: string[]; } interface TokenDetailViewModel extends AppDetailViewModel { allowedIPs?: string; expireDate?: string; token?: string; } interface AppCreateViewModel extends Omit { scopes?: string[]; logo?: any; } interface TokenEditViewModel extends Omit { scopes?: string[]; password?: string; } type TokenCreateViewModel = TokenEditViewModel; interface AccessTokenDetailViewModel { token: string; clientid?: string; tokenname?: string; } interface AccessTokenEditViewModel { clientId?: string; password?: string; } interface AccessTokenCreateViewModel { clientUri?: string; allowedIPs?: string; password: string; pluginType: number; } declare function getClientHasWithdrawRefund(options?: SDKRequestInit): SdkThunkActionResult>; declare function getClientTokenList(options?: SDKRequestInit): SdkThunkActionResult>; declare function getClientAppList(options?: SDKRequestInit): SdkThunkActionResult>; declare function getClientClientList(options?: SDKRequestInit): SdkThunkActionResult>; interface ScopeDetailViewModel { name?: string; displayName?: string; description?: string; emphasize?: boolean; required?: boolean; checked?: boolean; } declare function getClientScopes(options?: SDKRequestInit): SdkThunkActionResult>; declare function createClientAccessToken(data: AccessTokenCreateViewModel, options?: SDKRequestInit): SdkThunkActionResult>; declare function editClientAccessToken(token: AccessTokenEditViewModel, options?: SDKRequestInit): SdkThunkActionResult>; declare function createClientApp(app: AppCreateViewModel, options?: SDKRequestInit): SdkThunkActionResult>; declare function editClientApp(app: AppCreateViewModel, options?: SDKRequestInit): SdkThunkActionResult>; declare function createClientToken(token: TokenCreateViewModel, options?: SDKRequestInit): SdkThunkActionResult>; declare function editClientToken(token: TokenEditViewModel, options?: SDKRequestInit): SdkThunkActionResult>; declare function deleteClientAppOrToken(clientId: string, options?: SDKRequestInit): SdkThunkActionResult>; declare function deleteClientClient(clientId: string, options?: SDKRequestInit): SdkThunkActionResult>; interface SecretViewModel { secret?: string; } declare function editClientRenewSecret(clientId: string, options?: SDKRequestInit): SdkThunkActionResult>; declare function editClientRevoke(clientId: string, options?: SDKRequestInit): SdkThunkActionResult>; interface LoginViewModel { username: string; password: string; } declare function loginSheba(data: LoginViewModel, options?: SDKRequestInit): SdkThunkActionResult>; interface GetCouponViewModel { offset?: number; loadMore?: boolean; withArchived?: boolean; searchText?: string; limit?: number; couponUsed?: CouponUsed; } declare function getCoupons({ offset, loadMore, withArchived, searchText, limit, couponUsed }?: GetCouponViewModel, options?: SDKRequestInit): SdkThunkActionResult>; declare function setCouponDetails(details: CouponDetailViewModel): SetCouponDetailsAction; declare function getCouponDetails(code: string, options?: SDKRequestInit): SdkThunkActionResult>; declare function removeCoupon(code: string, { offset, loadMore, withArchived, searchText, limit, couponUsed }?: GetCouponViewModel, options?: SDKRequestInit): SdkThunkActionResult>; declare function createCoupon(data: CouponCreateV2ViewModel, options?: SDKRequestInit): SdkThunkActionResult>; declare function updateCoupon(code: string, data: CouponEditV2ViewModel, options?: SDKRequestInit): SdkThunkActionResult>; declare function changeCouponActivation(code: string, options?: SDKRequestInit): SdkThunkActionResult>; declare function changeCouponArchive(code: string, options?: SDKRequestInit): SdkThunkActionResult>; interface GetCustomersCount { searchText?: string; customerType?: 0 | 1 | 2; } declare function getTotalCustomersCount({ searchText, customerType }?: GetCustomersCount, options?: SDKRequestInit): SdkThunkActionResult>; interface GetCustomers { loadMore?: boolean; searchText?: string; customerType?: 0 | 1 | 2; limit?: number; offset?: number; withPhoto?: boolean; code?: string; customerOrderBy?: 0 | 1; } declare function getCustomers({ loadMore, searchText, customerType, withPhoto, code, customerOrderBy, limit, offset }?: GetCustomers, options?: SDKRequestInit): SdkThunkActionResult>; declare function setCustomerDetails(details: InvoiceCustomerDetailViewModel): SetCustomerDetailsAction; declare function getCustomerInfo(code: string, options?: SDKRequestInit): SdkThunkActionResult>; declare function removeCustomer(code: string, options?: SDKRequestInit): SdkThunkActionResult>; declare function createCustomer(data: CustomerCreateViewModel, options?: SDKRequestInit): SdkThunkActionResult>; declare function createOrFindCustomer(data: CustomerCreateViewModel, options?: SDKRequestInit): SdkThunkActionResult>; declare function updateCustomer(code: string, data: CustomerEditViewModel, options?: SDKRequestInit): SdkThunkActionResult>; declare function getUserAvailableBanks(options?: SDKRequestInit): SdkThunkActionResult>; declare function getDepositBalance(options?: SDKRequestInit): SdkThunkActionResult>; declare function getDepositStatements({ action, description, pageSize, pageNumber, startDate, endDate }: { action?: DepositStatementActionEnum; description?: string; pageSize?: number; pageNumber?: number; startDate?: string; endDate?: string; }, options?: SDKRequestInit): SdkThunkActionResult>; declare function getStatementsList({ action, description, pageSize, pageNumber, startDate, endDate }: { action?: DepositStatementActionEnum; description?: string; pageSize?: number; pageNumber?: number; startDate?: string; endDate?: string; }, options?: SDKRequestInit): SdkThunkActionResult>; declare function getUserKhavarmianehStatus(options?: SDKRequestInit): SdkThunkActionResult>; declare function setSamanRequestList(list?: GetOperationDetailsRequestModel, options?: SDKRequestInit): SdkThunkActionResult>; declare function setSamanUpdateRequestList(list: OperationDetailsResponseModel): SdkThunkActionResult>; declare function setSamanUploadList(file?: Blob, options?: SDKRequestInit): SdkThunkActionResult>; declare function setSamanOverviewDetail({ description, name, sendPaymentRequestDetails }: { description?: string; name?: string; sendPaymentRequestDetails?: PaymentRequestDetailsModel[]; }, options?: SDKRequestInit): SdkThunkActionResult>; declare function setProductCoupon({ itemCode, coupon, type }: SetProductCouponActionPayload): SetProductCouponAction; declare function setInvoiceCoupon(coupon: CouponDetailViewModel, type: ActiveDiscountType): SetInvoiceCouponAction; declare function toggleUseWeight(): ToggleUseWeightAction; declare function setOrderType(orderType: OrderType): SetOrderTypeAction; declare function resetFastInvoiceCounter(): ResetFastInvoiceCounterAction; declare function incFastInvoiceCounter(): IncFastInvoiceCounterAction; declare function fastInvoiceAddProduct(product: InvoiceProductDetailViewModel): AddEntryAction; declare function fastInvoiceRemoveProduct(code: string): RemoveEntryAction; declare function fastInvoiceUpdateProduct(code: string, product: InvoiceProductDetailViewModel): UpdateEntryAction; declare function fastInvoiceClear(): ClearFastInvoiceAction; declare function getBonusPayerStatus(phone: string, amount: string, use?: boolean, options?: SDKRequestInit): SdkThunkActionResult>; // ts-jest thinks InvoiceStatusEnum from api package is undefined // eslint-disable-next-line no-shadow declare enum InvoiceStatusEnum { DRAFT = 0, AWAITING_PAYMENT = 1, PAID = 2, DELAYED = 3, CANCELED = 4, ALL = 5, RETURNED = 6, NOT_SYNCED = 7 } interface GetInvoices { loadMore?: boolean; isArchived?: boolean; searchByDueDate?: boolean; searchByCreateDate?: boolean; code?: string; customerCode?: string; searchDateFrom?: string; searchDateTo?: string; searchText?: string; category?: InvoiceStatusEnum; limit?: number; offset?: number; } declare function getInvoices({ offset, loadMore, isArchived, searchText, category, limit, searchDateFrom, searchDateTo, code, customerCode, searchByCreateDate, searchByDueDate }?: GetInvoices, options?: SDKRequestInit): SdkThunkActionResult>; declare function setInvoiceDetails(details: InvoiceComplexDetailViewModel): SetInvoiceDetailsAction; interface GetInvoiceInfo { code: string; returnedForEditCorrection?: boolean; } declare function getInvoiceInfo({ code, returnedForEditCorrection }: GetInvoiceInfo, options?: SDKRequestInit): SdkThunkActionResult>; declare function getInvoiceScheduleQueue(code: string, options?: SDKRequestInit): SdkThunkActionResult>; declare function copyInvoice(code: string, customerCodes: string[], options?: SDKRequestInit): SdkThunkActionResult>; interface PosParams extends PCPOSData { PluginName: string; PluginVersion: string; isDevicePayment: string; } interface CreateInvoice { body: InvoiceCreateRequestViewModel; posParams?: PosParams; SyncInvoiceDesktopAppUniqueCode?: string; isSilent?: boolean; } declare function createInvoice({ body, posParams, SyncInvoiceDesktopAppUniqueCode, isSilent, category, code, customerCode, isArchived, limit, loadMore, offset, searchByCreateDate, searchByDueDate, searchDateFrom, searchDateTo, searchText }: CreateInvoice & GetInvoices, options?: SDKRequestInit): SdkThunkActionResult>; declare function createScheduleInvoice(body: InvoiceCreateScheduleViewModel, { category, code, customerCode, isArchived, limit, loadMore, offset, searchByCreateDate, searchByDueDate, searchDateFrom, searchDateTo, searchText }?: GetInvoices, options?: SDKRequestInit): SdkThunkActionResult>; declare function getInvoicePayCode(code: string, couponCode?: string, options?: SDKRequestInit): SdkThunkActionResult>; declare function confirmPaymentToCashPaid(code: string, paidManualDescription: string, options?: SDKRequestInit): SdkThunkActionResult>; declare function confirmPaymentByDevices(code: string, pcPosData: PCPOSData, options?: SDKRequestInit): SdkThunkActionResult>; declare function updateInvoice(code: string, data: InvoiceEditRequestViewModel, { category, customerCode, isArchived, limit, loadMore, offset, searchByCreateDate, searchByDueDate, searchDateFrom, searchDateTo, searchText }?: GetInvoices, options?: SDKRequestInit): SdkThunkActionResult>; declare function getUnofficialInvoice(code: string, options?: SDKRequestInit): SdkThunkActionResult>; declare function cancelInvoice(code: string, isSchedule?: boolean, options?: SDKRequestInit): SdkThunkActionResult>; declare function reminderInvoice(code: string, options?: SDKRequestInit): SdkThunkActionResult>; declare function setCustomerInvoice(code: string, customer: InvoiceCustomerCreateViewModel, options?: SDKRequestInit): SdkThunkActionResult>; declare function sendInvoice(code: string, { category, customerCode, isArchived, limit, loadMore, offset, searchByCreateDate, searchByDueDate, searchDateFrom, searchDateTo, searchText }?: GetInvoices, options?: SDKRequestInit): SdkThunkActionResult>; declare function archiveInvoice(code: string, { category, customerCode, isArchived, limit, loadMore, offset, searchByCreateDate, searchByDueDate, searchDateFrom, searchDateTo, searchText }?: GetInvoices, options?: SDKRequestInit): SdkThunkActionResult>; declare function deArchiveInvoice(code: string, { category, customerCode, isArchived, limit, loadMore, offset, searchByCreateDate, searchByDueDate, searchDateFrom, searchDateTo, searchText }?: GetInvoices, options?: SDKRequestInit): SdkThunkActionResult>; interface Organization { organizationClientId: string; token: string; name: string; logoUri: string; } declare function loggedInOrganization(token: string): LoggedInOrganizationAction; declare function setOrganizationInfo(organization: Organization): SetOrganizationInfoAction; declare function logoutFromOrganization(clientId: string, options?: SDKRequestInit): SdkThunkActionResult>; declare function getOrganizations(options?: SDKRequestInit): SdkThunkActionResult>; declare function loginToOrganization(password: string, organization: Organization, options?: SDKRequestInit): SdkThunkActionResult>; declare function getOrganizationInfo(options?: SDKRequestInit): SdkThunkActionResult>; declare function anypaytocash(code: string, payDate: string, isSilent?: boolean, options?: SDKRequestInit): SdkThunkActionResult>; declare function paymenttopos(code: string, payDate: string, { merchant, terminal, transactionNo, cardNo, rrn }: PCPOSData, isSilent?: boolean, options?: SDKRequestInit): SdkThunkActionResult>; declare function getPermalinks({ offset, searchText, limit }?: { offset?: number | undefined; searchText?: string | undefined; limit?: number | undefined; }, options?: SDKRequestInit): SdkThunkActionResult>; declare function setPermalinkDetails(details: PermanentDetailViewModel): SetPermaLinkDetailsAction; declare function getPermalinkDetails(code: string, options?: SDKRequestInit): SdkThunkActionResult>; declare function removePermalink(code: string, options?: SDKRequestInit): SdkThunkActionResult>; declare function createPermalink(data: PermanentCreateViewModel, options?: SDKRequestInit): SdkThunkActionResult>; declare function updatePermalink(code: string, data: PermanentEditViewModel, options?: SDKRequestInit): SdkThunkActionResult>; declare function setDefaultPos(uniqueId: string): SetDefaultPosAction; declare function deleteDefaultPos(): DeleteDefaultPosAction; declare function addToPosDevices(config: PcPosConfig): AddToPosDevicesAction; declare function removeFromPosDevices(uniqueId: string): RemoveFromPosDevicesAction; declare function getTotalProductsCount({ searchText, withArchived, searchDateFrom, searchDateTo }?: { searchText?: string | undefined; withArchived?: boolean | undefined; searchDateFrom?: string | undefined; searchDateTo?: string | undefined; }, options?: SDKRequestInit): SdkThunkActionResult>; declare function getAllProducts({ withArchived, searchText, loadMore, searchDateFrom, searchDateTo }?: { withArchived?: boolean | undefined; searchText?: string | undefined; loadMore?: boolean | undefined; searchDateFrom?: string | undefined; searchDateTo?: string | undefined; }, options?: SDKRequestInit): SdkThunkActionResult>; declare function getProducts({ searchText, limit, offset, withArchived, searchDateFrom, searchDateTo }?: { searchText?: string | undefined; limit?: number | undefined; offset?: number | undefined; withArchived?: boolean | undefined; searchDateFrom?: string | undefined; searchDateTo?: string | undefined; }, options?: SDKRequestInit): SdkThunkActionResult>; declare function getProductsWithImage({ searchText, limit, offset, withArchived, searchDateFrom, searchDateTo }?: { searchText?: string | undefined; limit?: number | undefined; offset?: number | undefined; withArchived?: boolean | undefined; searchDateFrom?: string | undefined; searchDateTo?: string | undefined; }, options?: SDKRequestInit): SdkThunkActionResult>; declare function setProductDetails(details: ProductFullDeatilViewModel): SetProductDetailsAction; declare function getProductDetails(code: string, options?: SDKRequestInit): SdkThunkActionResult>; declare function removeProduct(code: string, options?: SDKRequestInit): SdkThunkActionResult>; declare function createProduct(data: ProductCreateViewModel, { withArchived, searchText, loadMore, searchDateFrom, searchDateTo }?: { withArchived?: boolean | undefined; searchText?: string | undefined; loadMore?: boolean | undefined; searchDateFrom?: string | undefined; searchDateTo?: string | undefined; }, options?: SDKRequestInit): SdkThunkActionResult>; declare function updateProduct(code: string, data: ProductEditViewModel, { withArchived, searchText, loadMore, searchDateFrom, searchDateTo }?: { withArchived?: boolean | undefined; searchText?: string | undefined; loadMore?: boolean | undefined; searchDateFrom?: string | undefined; searchDateTo?: string | undefined; }, options?: SDKRequestInit): SdkThunkActionResult>; declare function changeProductActivation(code: string, options?: SDKRequestInit): SdkThunkActionResult>; declare function changeProductArchive(code: string, options?: SDKRequestInit): SdkThunkActionResult>; declare function setProductBarcode(code: string, barcode: string, options?: SDKRequestInit): SdkThunkActionResult>; interface GetTransactions extends TransactionReportV2 { loadMore?: boolean; } declare function getTransactions({ offset, loadMore, limit, ...entry }?: GetTransactions, options?: SDKRequestInit): SdkThunkActionResult>; declare function getTotalAdvancedTransactionsCount(filters: AdvancedReportBaseInfo, options?: SDKRequestInit): () => Promise; interface GetAdvancedTransactions extends AdvancedReportBaseInfo { loadMore?: boolean; } declare function getAdvancedTransactions({ offset, loadMore, limit, ...entry }?: GetAdvancedTransactions, options?: SDKRequestInit): SdkThunkActionResult>; interface GetTransactionsExport extends AdvancedReportBaseInfo { type: "Excel" | "PDF"; } declare function getTransactionsExport({ amount, bankId, cardNumber, clientId, clientRefId, code, fromDate, ipgRefId, isRequest, payerName, payerPhoneNumber, paymentStatus, paymentType, refId, toDate, type }: GetTransactionsExport, options?: SDKRequestInit): SdkThunkActionResult>; interface TransactionDetailsVM extends PaymentDetailsVM { code: string; } declare function setTransactionIsPaid(code: string): SetTransactionIsPaidAction; declare function setTransactionDetails(details?: TransactionDetailsVM): SetReportDetailsAction; declare function getTransaction(code: string, options?: SDKRequestInit): SdkThunkActionResult>; declare function getTransactionExport(code: string, options?: SDKRequestInit): SdkThunkActionResult>; declare function getSummary({ fromDate, toDate, clientId, terminalId }?: DashboardSummeryBaseInfo, options?: SDKRequestInit): SdkThunkActionResult>; interface GetWithdraws { loadMore?: boolean; searchText?: string; fromDate?: string; toDate?: string; clientId?: string; limit?: number; offset?: number; } declare function getWithdraws({ offset, loadMore, searchText, fromDate, toDate, clientId, limit }?: GetWithdraws, options?: SDKRequestInit): SdkThunkActionResult>; interface ReportClient { displayName: string; clientId: string; } declare function getClients(options?: SDKRequestInit): SdkThunkActionResult>; declare function getIpgList(options?: SDKRequestInit): SdkThunkActionResult>; declare function getWithdrawsClients(options?: SDKRequestInit): SdkThunkActionResult>; declare function getTotalTransactionCount(options?: SDKRequestInit): SdkThunkActionResult>; declare function getUserTerminalList(options?: SDKRequestInit): SdkThunkActionResult>; interface GetRequestMoneyTransactions extends Omit { loadMore?: boolean; } declare function getRequestMoneyTransactions({ offset, loadMore, limit, ...entry }?: GetRequestMoneyTransactions, options?: SDKRequestInit): SdkThunkActionResult>; interface RequestMoneyDetailsVM extends PaymentDetailsVM { code: string; } declare function setRequestMoneyDetails(details?: RequestMoneyDetailsVM): SetRequestMoneyDetailsAction; type ServiceTypeEnum = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16; declare function getOneService(serviceType?: ServiceTypeEnum, options?: SDKRequestInit): SdkThunkActionResult>; declare function addBonus(body?: BonusMerchantVM, options?: SDKRequestInit): SdkThunkActionResult>; declare function getServiceList(options?: SDKRequestInit): SdkThunkActionResult>; declare function createService(data: ServiceDetailViewModel, options?: SDKRequestInit): SdkThunkActionResult>; declare function updateService(data: ServiceDetailViewModel, options?: SDKRequestInit): SdkThunkActionResult>; declare function deleteService(data: ServiceDetailViewModel, options?: SDKRequestInit): SdkThunkActionResult>; declare function disableDefaultTerms(): DisableDefaultTermsAction; declare function enableDefaultTerms(text: string): EnableDefaultTermsAction; declare function toggleShopMode(): ToggleShopModeAction; declare function toggleSelectOrderType(): ToggleSelectOrderTypeAction; declare function toggleAutoPrinting(): ToggleAutoPrintingAction; declare function setNetworkStatus(isOnline: boolean): SetNetworkStatusAction; declare function setPaperSize(paperSize: PrintPaperSizeTypes): SetPaperSizeAction; declare function setPrinterForReceptionInvoice(config?: PrinterConfig): SetPrinterForReceptionInvoiceAction; declare function togglePrintingReceptionInvoice(): TogglePrintingReceptionInvoiceAction; declare function toggleFastInvoiceCompactMode(): ToggleFastInvoiceCompactModeAction; declare function toggleCustomerOrderMode(): ToggleCustomerOrderModeAction; declare function togglePreInvoiceMode(): TogglePreInvoiceModeAction; declare function toggleReadWeightFromPort(): ToggleReadWeightFromPortAction; declare function toggleSecondScreenWindowVisiblity(): ToggleSecondScreenVisiblityAction; declare function setLocale(locale: LocaleType): SetLocaleAction; declare function setDirection(direction: DirectionType): SetDirectionAction; declare function setTheme(theme: ThemeType): SetThemeAction; declare function setCompact(compact: boolean): SetCompactAction; declare function setAutoReleaseNotes(autoDisplay: boolean): SetAutoReleaseNotesAction; declare function setVersions(versions: Versions): SetVersionsAction; declare function uploadAttachmentInvoice(file: File, options?: SDKRequestInit): SdkThunkActionResult>; declare function uploadPicItem(file: File, options?: SDKRequestInit): SdkThunkActionResult>; declare function uploadPicCustomer(file: File, options?: SDKRequestInit): SdkThunkActionResult>; declare function getActiveReferral(options?: SDKRequestInit): SdkThunkActionResult>; declare function setUserPermissions(permissionList: SetUserPermissions["payload"]): SdkThunkActionResult>; declare function setIsLoadingPermissions(isLoading: SetIsLoadingPermissions["payload"]): SdkThunkActionResult>; declare function getUserProfile(options?: SDKRequestInit): SdkThunkActionResult>; declare function getUserWage(options?: SDKRequestInit): SdkThunkActionResult>; declare function getUserBusinessinfo(options?: SDKRequestInit): SdkThunkActionResult>; declare function getUserInfo(options?: SDKRequestInit): SdkThunkActionResult>; declare function getCurrentUserDetail(options?: SDKRequestInit): SdkThunkActionResult>; declare function getUserWizardInfo(options?: SDKRequestInit): SdkThunkActionResult>; declare function getUserChecks(options?: SDKRequestInit): SdkThunkActionResult>; declare function getUserLocalInformation(options?: SDKRequestInit): SdkThunkActionResult>; declare function getUserBank(options?: unknown): SdkThunkActionResult>; declare function getUserPhoneNumber(options?: SDKRequestInit): SdkThunkActionResult>; interface UserMessagesParams { offset?: number; limit?: number; } declare function getUserMessagesCount(options?: SDKRequestInit): SdkThunkActionResult>; declare function getUserMessages({ limit, offset }: UserMessagesParams, options?: SDKRequestInit): SdkThunkActionResult>; declare function readAllMessages(): SdkThunkActionResult>; declare function getUserSocials(options?: SDKRequestInit): SdkThunkActionResult>; declare function updateBusinessinfo(body?: UpdateBusinessInfoRequestModel, options?: SDKRequestInit): SdkThunkActionResult>; declare function updateBank(body: UpdateBankInfoRequestModel, options?: SDKRequestInit): SdkThunkActionResult>; declare function updateSocials(body: UpdateSocialInfoRequestModel, options?: SDKRequestInit): SdkThunkActionResult>; declare function updatePersonalInfo(body?: UpdatePersonalInfoRequestModel, options?: SDKRequestInit): SdkThunkActionResult>; declare function getPersonalInfo(options?: SDKRequestInit): SdkThunkActionResult>; declare function getUserPanelData(): SdkThunkActionResult>; declare function getUserWithdrawStatus(options?: SDKRequestInit): SdkThunkActionResult>; declare function getUserOverviewTasksStatus(options?: SDKRequestInit): SdkThunkActionResult>; interface Last5Withdraws { amount: number; reqDate: string; } declare function getLast5Withdraws(options?: SDKRequestInit): SdkThunkActionResult>; declare function requestWithdraw(amount: number, options?: SDKRequestInit): SdkThunkActionResult>; declare function getBalance(options?: SDKRequestInit): SdkThunkActionResult>; interface GetWithdrawsExport { type: "Excel" | "PDF"; searchText?: string; fromDate?: string; toDate?: string; clientId?: string; limit?: number; offset?: number; } declare function getWithdrawsExport({ offset, type, searchText, fromDate, toDate, clientId, limit }: GetWithdrawsExport, options?: SDKRequestInit): SdkThunkActionResult>; /* eslint-disable default-param-last */ declare function getCashOutOverview(options?: SDKRequestInit): SdkThunkActionResult>; declare function getCashOutTransactions(page?: number, pageSize?: number, orderBy?: string, filter?: string, options?: SDKRequestInit): SdkThunkActionResult>; declare function getFavoriteIban(options?: SDKRequestInit): SdkThunkActionResult>; declare function getCashOutRequests(page?: number, pageSize?: number, orderBy?: string, filter?: string, options?: SDKRequestInit): SdkThunkActionResult>; declare function getCashOutSettlement(requestCode: string, page?: number, pageSize?: number, orderBy?: string, filter?: string, getAll?: boolean, options?: SDKRequestInit): SdkThunkActionResult>; declare function getSearchCashOutSettlements(page?: number, pageSize?: number, orderBy?: string, filter?: string, options?: SDKRequestInit): SdkThunkActionResult>; declare function setCashOutRequestList(list: CreateRequestResultVM): SdkThunkActionResult>; declare function setCashOutRequestSettlementList(list: PagedQueryResultSettlementFullDetails): SdkThunkActionResult>; declare function getCashOutDeposit(page?: number, pageSize?: number, orderBy?: string, filter?: string, options?: SDKRequestInit): SdkThunkActionResult>; export { setTOTPCode, setShowTOTPModal, updateUserClaims, loggedIn, loggedOut, getCategories, getTotalCategoriesCount, getCategoryItems, getCategoriesCount, removeCategory, createCategory, updateCategory, sampleJson, ClientDetailViewModel, AppDetailViewModel, TokenDetailViewModel, AppCreateViewModel, TokenEditViewModel, TokenCreateViewModel, AccessTokenDetailViewModel, AccessTokenEditViewModel, AccessTokenCreateViewModel, getClientHasWithdrawRefund, getClientTokenList, getClientAppList, getClientClientList, ScopeDetailViewModel, getClientScopes, createClientAccessToken, editClientAccessToken, createClientApp, editClientApp, createClientToken, editClientToken, deleteClientAppOrToken, deleteClientClient, SecretViewModel, editClientRenewSecret, editClientRevoke, LoginViewModel, loginSheba, getCoupons, getCouponDetails, removeCoupon, createCoupon, updateCoupon, changeCouponActivation, changeCouponArchive, setCouponDetails, GetCustomersCount, GetCustomers, getTotalCustomersCount, getCustomers, getCustomerInfo, removeCustomer, updateCustomer, createCustomer, createOrFindCustomer, setCustomerDetails, getUserAvailableBanks, getDepositBalance, getDepositStatements, getStatementsList, getUserKhavarmianehStatus, setSamanRequestList, setSamanUpdateRequestList, setSamanUploadList, setSamanOverviewDetail, fastInvoiceAddProduct, fastInvoiceRemoveProduct, fastInvoiceUpdateProduct, fastInvoiceClear, setProductCoupon, setInvoiceCoupon, toggleUseWeight, setOrderType, resetFastInvoiceCounter, incFastInvoiceCounter, getBonusPayerStatus, InvoiceStatusEnum, GetInvoices, GetInvoiceInfo, PosParams, CreateInvoice, getInvoices, getInvoiceInfo, getInvoiceScheduleQueue, createInvoice, createScheduleInvoice, getInvoicePayCode, confirmPaymentToCashPaid, confirmPaymentByDevices, updateInvoice, getUnofficialInvoice, cancelInvoice, reminderInvoice, setCustomerInvoice, sendInvoice, archiveInvoice, deArchiveInvoice, copyInvoice, setInvoiceDetails, Organization, loggedInOrganization, setOrganizationInfo, logoutFromOrganization, getOrganizations, loginToOrganization, getOrganizationInfo, anypaytocash, paymenttopos, getPermalinks, getPermalinkDetails, removePermalink, createPermalink, updatePermalink, setPermalinkDetails, setDefaultPos, deleteDefaultPos, addToPosDevices, removeFromPosDevices, getTotalProductsCount, getAllProducts, getProducts, getProductsWithImage, setProductDetails, getProductDetails, removeProduct, createProduct, updateProduct, changeProductActivation, changeProductArchive, setProductBarcode, GetTransactions, getTotalAdvancedTransactionsCount, GetAdvancedTransactions, GetTransactionsExport, TransactionDetailsVM, GetWithdraws, ReportClient, getTotalTransactionCount, getUserTerminalList, getTransactions, getAdvancedTransactions, getSummary, getTransaction, setTransactionIsPaid, getWithdraws, getClients, getIpgList, getWithdrawsClients, getTransactionsExport, getTransactionExport, setTransactionDetails, GetRequestMoneyTransactions, RequestMoneyDetailsVM, getRequestMoneyTransactions, setRequestMoneyDetails, ServiceTypeEnum, getOneService, addBonus, getServiceList, createService, updateService, deleteService, enableDefaultTerms, disableDefaultTerms, toggleShopMode, toggleSelectOrderType, toggleAutoPrinting, setNetworkStatus, setPaperSize, setPrinterForReceptionInvoice, togglePrintingReceptionInvoice, toggleFastInvoiceCompactMode, toggleCustomerOrderMode, togglePreInvoiceMode, toggleReadWeightFromPort, toggleSecondScreenWindowVisiblity, setLocale, setDirection, setVersions, setTheme, setCompact, setAutoReleaseNotes, PCPOSData, Versions, uploadAttachmentInvoice, uploadPicItem, uploadPicCustomer, getActiveReferral, setUserPermissions, setIsLoadingPermissions, getUserProfile, getUserWage, getUserBusinessinfo, getUserInfo, getCurrentUserDetail, getUserWizardInfo, getUserChecks, getUserLocalInformation, getUserBank, getUserPhoneNumber, getUserMessagesCount, getUserMessages, readAllMessages, getUserSocials, updateBusinessinfo, updateBank, updateSocials, updatePersonalInfo, getPersonalInfo, getUserPanelData, getUserWithdrawStatus, getUserOverviewTasksStatus, Last5Withdraws, GetWithdrawsExport, getLast5Withdraws, requestWithdraw, getBalance, getWithdrawsExport, getCashOutDeposit, getCashOutOverview, getCashOutRequests, getCashOutSettlement, setCashOutRequestList, getCashOutTransactions, setCashOutRequestSettlementList, getSearchCashOutSettlements, getFavoriteIban };