@lautmaler/crm-connectors
Version:
Provides connectors to various CRM systems and calendar services.
16 lines • 851 B
TypeScript
import { Appointment } from "./crm.interfaces.js";
import { SupportedBackends } from "./crm.types.js";
export declare class CRMConnector {
private backend;
constructor(backendName: SupportedBackends);
fetchAppointmentTypes(): Promise<string[]>;
fetchAvailableSlots(timestamp: string, attendees: string[]): Promise<string[]>;
bookAppointment(appointment: Appointment): Promise<string>;
modifyAppointment(id: string, updatedInfo: Partial<Appointment>): Promise<Appointment>;
findAppointmentByContactName(name: string): Promise<Appointment>;
findAppointmentByTimestamp(timestamp: string): Promise<Appointment | null>;
findAppointmentById(id: string): Promise<Appointment | null>;
createEventToSms(appointment: Appointment): Promise<string>;
}
export default CRMConnector;
//# sourceMappingURL=CRMConnector.d.ts.map