UNPKG

@cranberry-money/shared-services

Version:

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

7 lines 830 B
import { AxiosInstance } from 'axios'; import type { Wallet, CreateWallet, WalletQueryParams, PaginatedResponse } from '@cranberry-money/shared-types'; export declare const getWallets: (apiClient: AxiosInstance, params?: WalletQueryParams) => Promise<import("axios").AxiosResponse<PaginatedResponse<Wallet>, any, {}>>; export declare const createWallet: (apiClient: AxiosInstance, data: CreateWallet) => Promise<import("axios").AxiosResponse<Wallet, any, {}>>; export declare const updateWallet: (apiClient: AxiosInstance, uuid: string, data: Partial<Pick<Wallet, "name">>) => Promise<import("axios").AxiosResponse<Wallet, any, {}>>; export declare const deleteWallet: (apiClient: AxiosInstance, uuid: string, userAccountUuid?: string) => Promise<import("axios").AxiosResponse<any, any, {}>>; //# sourceMappingURL=wallets.d.ts.map