UNPKG

@cranberry-money/shared-services

Version:

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

15 lines 689 B
import { AxiosInstance } from 'axios'; import type { AssetSnapshot, AssetSnapshotQueryParams } from '@cranberry-money/shared-types'; export declare const getAssetSnapshots: (apiClient: AxiosInstance, assetUuid: string, params?: AssetSnapshotQueryParams) => Promise<import("axios").AxiosResponse<AssetSnapshot[], any, {}>>; export declare const getBatchAssetSnapshots: (apiClient: AxiosInstance, requests: Array<{ assetUuid: string; source_start_date?: string; source_end_date?: string; min_price?: number; max_price?: number; }>) => Promise<Array<{ assetUuid: string; data?: AssetSnapshot[]; error?: string; }>>; //# sourceMappingURL=assetSnapshots.d.ts.map