UNPKG

@timesheet/sdk

Version:
14 lines 843 B
import type { ApiClient } from '../http'; import type { AbsenceType, AbsenceTypeCreateRequest, AbsenceTypeListParams, AbsenceTypeUpdateRequest } from '../models'; import type { NavigablePage } from '../models'; import { Resource } from './Resource'; export declare class AbsenceTypeResource extends Resource { constructor(client: ApiClient); private orgPath; list(organizationId: string, params?: AbsenceTypeListParams): Promise<NavigablePage<AbsenceType>>; create(organizationId: string, data: AbsenceTypeCreateRequest): Promise<AbsenceType>; get(organizationId: string, id: string): Promise<AbsenceType>; update(organizationId: string, id: string, data: AbsenceTypeUpdateRequest): Promise<AbsenceType>; delete(organizationId: string, id: string): Promise<void>; } //# sourceMappingURL=AbsenceTypeResource.d.ts.map