@eleva-io/erp-sdk
Version:
SDK oficial para el ERP de Eleva
16 lines • 819 B
TypeScript
import { HTTPClient } from '../../../../utils/http';
import { CommonAreaExtended, CreateCommonAreaRequest, UpdateCommonAreaRequest } from '../types/common_area';
import { CommonAreaReservesAPI } from './reserve';
export declare class CommonAreasAPI {
private readonly _httpClient;
private readonly _baseUrl;
private readonly _commonAreaId?;
private _crud;
constructor(_httpClient: HTTPClient, _baseUrl: string, _commonAreaId?: string | undefined);
find(query?: Record<string, unknown>): Promise<CommonAreaExtended[]>;
create(data: CreateCommonAreaRequest): Promise<CommonAreaExtended>;
update(id: string, data: UpdateCommonAreaRequest): Promise<CommonAreaExtended>;
delete(id: string): Promise<void>;
reserves(): CommonAreaReservesAPI;
}
//# sourceMappingURL=common_area.d.ts.map