UNPKG

@fdot/arculus-staff-service

Version:

Simplifies usage of the Arculus Staff Service

16 lines 1.56 kB
import { IStaffFilterCriteria } from "./../models/IStaffFilterCriteria"; import { ICacheOptions } from "../models/options/ICacheOptions"; import { IStaffMember } from "../models/IStaffMember"; import { StatusFilter } from "../models/enums/StatusFilter"; export declare const initialize: (options?: ICacheOptions) => void; export declare const isCachingEnabled: () => boolean; export declare const getByFilterCriteria: (filterCriteria: IStaffFilterCriteria, cacheOptions: ICacheOptions | undefined) => IStaffMember[] | undefined; export declare const setByFilterCriteria: (filterCriteria: IStaffFilterCriteria, staffMembers: IStaffMember[], cacheOptions: ICacheOptions | undefined) => void; export declare const getAllStaff: (statusFilter: StatusFilter, cacheOptions: ICacheOptions | undefined) => IStaffMember[] | undefined; export declare const setAllStaff: (statusFilter: StatusFilter, staffMembers: IStaffMember[], cacheOptions: ICacheOptions | undefined) => void; export declare const getDirectReports: (srsId: number, cacheOptions: ICacheOptions | undefined) => IStaffMember[] | undefined; export declare const setDirectReports: (srsId: number, staffMembers: IStaffMember[], cacheOptions: ICacheOptions | undefined) => void; export declare const getManager: (srsId: number, cacheOptions: ICacheOptions | undefined) => IStaffMember | undefined; export declare const setManager: (srsId: number, staffMember: IStaffMember, cacheOptions: ICacheOptions | undefined) => void; export declare const clearCache: () => void; //# sourceMappingURL=cacheService.d.ts.map