UNPKG

@cranberry-money/shared-services

Version:

Platform-agnostic API services with pure functions and dependency injection. Includes auth, portfolios, assets, countries, sectors, and more.

24 lines 2.68 kB
export { signin, signout, signup, verifyEmail, resendVerificationCode, refreshToken, verifyAuth, changePassword, } from './auth'; export { getAccounts } from './user-accounts'; export { getCountries, getAvailableCountries } from './countries'; export { getAssets, getAssetsNextPage, getAssetByUuid } from './assets'; export { getAssetSnapshots, getBatchAssetSnapshots } from './assetSnapshots'; export { createFinancialProfile, updateFinancialProfile, getFinancialProfiles } from './financialProfile'; export { getPortfolios, createPortfolio, updatePortfolio, deletePortfolio, getPortfolioSnapshots as getPortfolioSnapshotsTimeSeries, addWalletToPortfolio, removeWalletFromPortfolio, } from './portfolios'; export { updateUserProfile, updateUserProfileCompletion, getUserProfiles, deleteAccount, exportAccountData, } from './users'; export { getIdentityVerificationToken, getIdentityVerificationStatus } from './identityVerification'; export { getCurrentUserPreferences, upsertCurrentUserPreferences } from './userPreferences'; export { getWallets, createWallet, updateWallet, deleteWallet } from './wallets'; export { requestVerificationChallenge, verifyWalletSignature, syncWallet } from './wallet-verification'; export { prepareTransfer, broadcastTransfer } from './wallet-transfers'; export { getWalletHoldings, fetchBatchBalances } from './wallet-balances'; export type { WalletHoldingsQueryParams } from './wallet-balances'; export { getTransactions, getTransactionsNextPage } from './transactions'; export { getOnRampWidgetUrl } from './onramp'; export { getFavouriteAssets, getFavouriteAssetsNextPage, addFavouriteAsset, removeFavouriteAsset, getFavouriteAssetByUuid, } from './favouriteAssets'; export { registerDeviceToken, unregisterDeviceToken, getNotificationPreferences, updateNotificationPreferences, getNotifications, getUnreadNotificationCount, markNotificationRead, archiveNotification, markAllNotificationsRead, } from './notifications'; export { getShareTokens, getShareToken, getOrderBook, getMarketData, getOrders, getOrder, getOpenOrders, getUserOrders, getOrderCreateMessage, getOrderCancelMessage, createOrder, cancelOrder, getWalletBalances, getWhitelistStatus, parseArcaError, getSwapOrders, getOrderSwapData, submitOrderSwapSignature, getOrderSwapApprovalStatus, getOrderSwapApprovalData, getOrderModificationMessage, modifyOrder, getOrderModificationHistory, prepareShareTokenTransfer, broadcastShareTokenTransfer, } from './trading'; export { getArcaTransactions } from './arca-transactions'; export type { ArcaTransactionQueryParams } from './arca-transactions'; export { getFeatureFlags } from './featureFlags'; //# sourceMappingURL=index.d.ts.map