package cz.moneta.test.dsl.ufo.operations.ufoOperations.contactForwarding.panels;

import cz.moneta.test.dsl.ufo.operations.client.clientDetail.STS701_S002_ClientDetailPage;
import cz.moneta.test.dsl.ufo.operations.ufoOperations.contactForwarding.XCM701_S001_ContactForwardingPage;
import cz.moneta.test.harness.support.web.*;

import static cz.moneta.test.dsl.ufo.operations.ufoOperations.contactForwarding.panels.XCM701_S001_AcquisitionPanel.SEND_BUTTON;

@Wait(value = SEND_BUTTON, until = Until.VISIBLE)
public interface XCM701_S001_AcquisitionPanel extends XCM701_S001_ContactForwardingPage {

    String NAME_INPUT = "XCM701_S001_E053";
    String SURNAME_INPUT = "XCM701_S001_E048";
    String CALENDAR_INPUT = "XCM701_S001_E052";
    String AVAILABILITY_TIME_HOUR_INPUT = "XCM701_S001_E046";
    String AVAILABILITY_TIME_MINUTE_INPUT = "XCM701_S001_E045";
    String TELEPHONE_INPUT = "XCM701_S001_E051";
    String NOTE_INPUT = "XCM701_S001_M009";
    String SEND_BUTTON = "XCM701_S001_B006";

    @TypeInto(NAME_INPUT)
    XCM701_S001_AcquisitionPanel fillName(String name);

    @TypeInto(SURNAME_INPUT)
    XCM701_S001_AcquisitionPanel fillSurname(String surname);

    @TypeInto(CALENDAR_INPUT)
    XCM701_S001_AcquisitionPanel fillDate(String date);

    @TypeInto(AVAILABILITY_TIME_HOUR_INPUT)
    XCM701_S001_AcquisitionPanel fillAvailabilityTimeHour(String hour);

    @TypeInto(AVAILABILITY_TIME_MINUTE_INPUT)
    XCM701_S001_AcquisitionPanel fillAvailabilityTimeMinute(String minute);

    @TypeInto(TELEPHONE_INPUT)
    XCM701_S001_AcquisitionPanel fillTelephone(String telephone);

    @TypeInto(NOTE_INPUT)
    XCM701_S001_AcquisitionPanel fillNote(String note);

    @Click(SEND_BUTTON)
    STS701_S002_ClientDetailPage clickSend();
}