@eleva-io/erp-sdk
Version:
SDK oficial para el ERP de Eleva
18 lines • 1.18 kB
TypeScript
import { HTTPClient } from '../../../../utils/http';
import { CRUD } from '../../../../utils/crud';
import { CommunityProperty, CommunityPropertyExtended, CommunityPropertyPerson, CreateCommunityPropertyDTO, CreateCommunityPropertyPersonDTO, UpdateCommunityPropertyDTO, UpdateCommunityPropertyPersonDTO } from '../types';
import { PropertiesReservesAPI } from './reserve';
export declare class CommunitiesBlocksPropertiesAPI extends CRUD<CommunityProperty, CreateCommunityPropertyDTO, UpdateCommunityPropertyDTO> {
private readonly _propertyId?;
constructor(httpClient: HTTPClient, baseUrl: string, _propertyId?: string | undefined);
persons(id?: string): CRUD<CommunityPropertyPerson, CreateCommunityPropertyPersonDTO, UpdateCommunityPropertyPersonDTO>;
}
export declare class CommunitiesPropertiesAPI {
private readonly _httpClient;
private readonly _baseUrl;
private readonly _propertyId?;
constructor(_httpClient: HTTPClient, _baseUrl: string, _propertyId?: string | undefined);
find(query?: Record<string, unknown>): Promise<CommunityPropertyExtended[]>;
reserves(id?: string): PropertiesReservesAPI;
}
//# sourceMappingURL=properties.d.ts.map