UNPKG

skola24-node

Version:

Library that provides convenient access to the Skola24 API.

61 lines 2.2 kB
import Host from "../utils/hosts"; import { ScheduleDay, SelectionType } from "../utils/helperEnums"; import { ExcludeClientManaged, OptionallyClientManaged } from "./utilTypes"; declare namespace RequestData { type _getActiveSchoolYears = { hostName: Host; checkSchoolYearsFeatures?: boolean; }; type getActiveSchoolYears = ExcludeClientManaged<_getActiveSchoolYears, "hostName">; type _getTimetableViewerUnits = { getTimetableViewerUnitsRequest: { hostName: Host; }; }; type getTimetableViewerUnits = ExcludeClientManaged<_getTimetableViewerUnits, "getTimetableViewerUnitsRequest">; type _getTimetableRenderKey = {}; type getTimetableRenderKey = ExcludeClientManaged<_getTimetableRenderKey, never>; type _getTimetableSelection = { hostName: Host; unitGuid: string; filters: { class?: boolean; course?: boolean; group?: boolean; period?: boolean; room?: boolean; student?: boolean; subject?: boolean; teacher?: boolean; }; }; type getTimetableSelection = OptionallyClientManaged<ExcludeClientManaged<_getTimetableSelection, "hostName">, "unitGuid">; type _renderTimetable = { renderKey?: string; host: Host; unitGuid: string; schoolYear: string; startDate?: any; endDate?: any; scheduleDay?: ScheduleDay; blackAndWhite?: boolean; width?: number; height?: number; selectionType: SelectionType; selection: string; showHeader?: boolean; periodText?: string; week: number; year: number; privateFreeTextMode?: any; privateSelectionMode?: boolean; customerKey?: string; }; type renderTimetable = OptionallyClientManaged<ExcludeClientManaged<_renderTimetable, "host">, "unitGuid" | "schoolYear" | "width" | "height">; type _encryptSignature = { signature: string; }; type encryptSignature = ExcludeClientManaged<_encryptSignature, never>; } export default RequestData; //# sourceMappingURL=Request.d.ts.map