import { MMReceiveLaborTicket } from "../mm-api-service/types/receive-types.js"; import { SqlServerService } from "./sql-server-service.js"; import { SQLInput } from "./types/sql-input-param.js"; export declare class SqlServerHelper { /** * Creates a new labor ticket in the SQL Server database * Opens but does not close the connection * * @param sqlServerService The SQL Server service to use for connections * @param laborTicket The labor ticket to create * @param sqlInputs The SQL query parameters * @param insertQuery The SQL query to execute for insertion * * @returns The processed labor ticket, with the ERP's laborTicketId set * Throws exceptions on failures, including if the query does not return a laborTicketId */ static createLaborTicket(sqlServerService: SqlServerService, laborTicket: MMReceiveLaborTicket, sqlInputs: SQLInput[], insertQuery: string): Promise; /** * Updates an existing labor ticket in the SQL Server database * Opens but does not close the connection * @param sqlServerService The SQL Server service to use for connections * @param laborTicket The labor ticket to update * @param sqlInputs The SQL query parameters * @param updateQuery The SQL query to execute for update * * @returns The processed labor ticket * Throws exceptions on failures */ static updateLaborTicket(sqlServerService: SqlServerService, laborTicket: MMReceiveLaborTicket, sqlInputs: SQLInput[], updateQuery: string): Promise; /** * Logs the SQL input parameters for debugging */ static logQueryInputs(inputs: SQLInput[]): void; } //# sourceMappingURL=sql-server-helpers.d.ts.map