UNPKG

@cranberry-money/shared-services

Version:

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

10 lines 1 kB
import { AxiosInstance } from 'axios'; import type { UserProfile, UpdateUserProfile, CompleteUserProfile, PaginatedResponse, AccountExportData } from '@cranberry-money/shared-types'; export declare const updateUserProfile: (apiClient: AxiosInstance, uuid: string, data: UpdateUserProfile) => Promise<import("axios").AxiosResponse<UserProfile, any, {}>>; export declare const updateUserProfileCompletion: (apiClient: AxiosInstance, uuid: string, data: CompleteUserProfile) => Promise<import("axios").AxiosResponse<UserProfile, any, {}>>; export declare const getUserProfiles: (apiClient: AxiosInstance) => Promise<import("axios").AxiosResponse<PaginatedResponse<UserProfile>, any, {}>>; export declare const deleteAccount: (apiClient: AxiosInstance) => Promise<import("axios").AxiosResponse<{ message: string; }, any, {}>>; export declare const exportAccountData: (apiClient: AxiosInstance) => Promise<import("axios").AxiosResponse<AccountExportData, any, {}>>; //# sourceMappingURL=users.d.ts.map