UNPKG

@eleva-io/erp-sdk

Version:

SDK oficial para el ERP de Eleva

13 lines 766 B
import { HTTPClient } from '../../../../utils/http'; import { CommunityEmployee, CommunityEmployeeExtended, CreateCommunityEmployeeDTO, UpdateCommunityEmployeeDTO } from '../types'; export declare class CommunitiesEmployeesAPI { private _httpClient; private _baseUrl; private _crud; constructor(_httpClient: HTTPClient, _baseUrl: string); create(data: CreateCommunityEmployeeDTO): Promise<CommunityEmployee>; update(personId: string, economicActivityId: number, data: UpdateCommunityEmployeeDTO): Promise<CommunityEmployee>; delete(personId: string, economicActivityId: number): Promise<void>; find(query?: Record<string, unknown>): Promise<(CommunityEmployee | CommunityEmployeeExtended)[]>; } //# sourceMappingURL=employees.d.ts.map