import { Action } from '@ngrx/store'; import { SeamsHttpResponse } from '@prutech/components'; import { LookupModels } from '../../appointment-details/models/lookups.model'; import { SaveAppointment } from '../models/add-appointment.model'; import { Appointment } from '../models/appointment.model'; export declare enum appointmentDetailsActionTypes { LoadappointmentDetails = "[appointment ] Load", LoadappointmentDetailsSuccess = "[appointment ] Load Success", LoadappointmentDetailsFail = "[appointment ] Load Fail", Saveappointment = "[appointment Details] Save", SaveappointmentSuccess = "[appointment Details] Save Success", SaveappointmentFail = "[appointment Details] Save Fail" } export declare class LoadappointmentDetailsAction implements Action { payload: number; readonly type: string; constructor(payload: number); } export declare class LoadappointmentDetailsSuccessAction implements Action { payload: Appointment; readonly type: string; constructor(payload: Appointment); } export declare class LoadappointmentDetailsFailAction implements Action { payload?: string[]; readonly type: string; constructor(payload?: string[]); } export declare class SaveappointmentAction implements Action { payload: SaveAppointment; readonly type: string; constructor(payload: SaveAppointment); } export declare class SaveappointmentSuccessAction implements Action { payload: any; readonly type: string; constructor(payload: any); } export declare class SaveappointmentFailAction implements Action { payload?: SeamsHttpResponse; readonly type: string; constructor(payload?: SeamsHttpResponse); } export declare type appointmentDetailsActions = SaveappointmentAction | SaveappointmentSuccessAction | SaveappointmentFailAction; export declare enum GetLookupsActionTypes { LookGetLookups = "[Get Appointments Details Lookups] Load", LookGetLookupsSuccess = "[Get Appointments Details Lookups] Load Success", LookGetLookupsFail = "[Get Appointments Details Lookups] Load Fail" } export declare class GetAppointmentLookupsAction implements Action { payload?: string[]; readonly type: string; constructor(payload?: string[]); } export declare class GetAppointmentLookupsSuccessAction implements Action { payload: LookupModels; readonly type: string; constructor(payload: LookupModels); } export declare class GetAppointmentLookupsFailAction implements Action { payload?: string[]; readonly type: string; constructor(payload?: string[]); } export declare type GetLookupsActions = GetAppointmentLookupsAction | GetAppointmentLookupsSuccessAction | GetAppointmentLookupsFailAction;