UNPKG

@cranberry-money/shared-services

Version:

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

5 lines 497 B
import { AxiosInstance } from 'axios'; import type { UserPreferences, UpdateUserPreferences } from '@cranberry-money/shared-types'; export declare const getCurrentUserPreferences: (apiClient: AxiosInstance) => Promise<import("axios").AxiosResponse<UserPreferences, any, {}>>; export declare const upsertCurrentUserPreferences: (apiClient: AxiosInstance, data: UpdateUserPreferences) => Promise<import("axios").AxiosResponse<UserPreferences, any, {}>>; //# sourceMappingURL=userPreferences.d.ts.map