@cranberry-money/shared-services
Version:
Platform-agnostic API services with pure functions and dependency injection. Includes auth, portfolios, instruments, countries, sectors, and more.
8 lines • 886 B
TypeScript
import { AxiosInstance } from 'axios';
import type { Industry, IndustryQueryParams, PaginatedResponse } from '@cranberry-money/shared-types';
export declare const configureIndustries: (apiClient: AxiosInstance) => void;
export declare const getIndustries: (params?: IndustryQueryParams) => Promise<import("axios").AxiosResponse<PaginatedResponse<Industry>, any>>;
export declare const getIndustryByUuid: (uuid: string) => Promise<import("axios").AxiosResponse<Industry, any>>;
export declare const searchIndustries: (searchTerm: string, params?: Omit<IndustryQueryParams, "name">) => Promise<import("axios").AxiosResponse<PaginatedResponse<Industry>, any>>;
export declare const getIndustriesBySector: (sectorUuid: string, params?: Omit<IndustryQueryParams, "sector">) => Promise<import("axios").AxiosResponse<PaginatedResponse<Industry>, any>>;
//# sourceMappingURL=industries.d.ts.map