UNPKG

revit-cli

Version:

A scalable CLI tool for Revit communication and data manipulation

37 lines 1.47 kB
/** * Room service layer for API communication * Centralizes room-related API operations */ import { RevitConnector } from '../core/revit-connector.js'; import { RoomData, UpdateRoomResponse, BulkUpdateResult, BulkUpdateOptions } from '../types/room-types.js'; import { ILogger } from '../types/index.js'; export declare class RoomService { private revitConnector; private logger; constructor(revitConnector: RevitConnector, logger: ILogger); /** * Retrieves all rooms from the Revit API * @returns Promise resolving to array of room data */ getAllRooms(): Promise<RoomData[]>; /** * Updates a single room with new parameters * @param roomId - ID of the room to update * @param parameters - Parameters to update * @returns Promise resolving to update response */ updateRoom(roomId: string, parameters: Record<string, any>): Promise<UpdateRoomResponse>; /** * Performs bulk update on multiple rooms * @param options - Bulk update options including filter and parameters * @returns Promise resolving to bulk update result */ bulkUpdateRooms(options: BulkUpdateOptions): Promise<BulkUpdateResult>; /** * Gets a specific room by ID * @param roomId - ID of the room to retrieve * @returns Promise resolving to room data or null if not found */ getRoomById(roomId: string): Promise<RoomData | null>; } //# sourceMappingURL=room-service.d.ts.map