package cz.moneta.test.dsl.kasanova;

import java.time.LocalDate;

public interface KSNCommonElements {
    String LOADER_DIV = "dialog-waiting-title";
    String MAIN_IFRAME_NAME = "framemain";
    String MAIN_IFRAME_XPATH = "//iframe[@name='" + MAIN_IFRAME_NAME + "']";
    String ODKAZY_Z_POKLADEN = "//button[text()='OK']";
    String PAGE_TITLE = "//div[@class='cTitle']";
    
    String IDENTIFICATION_AUTH_PERSON_1 = "//input[@id='personCheck1']";    
    String IDENTIFICATION_AUTH_PERSON_2 = "//input[@id='personCheck2']";
    String IDENTIFICATION_AUTH_PERSON_3 = "//input[@id='personCheck3']";
    String IDENTIFICATION_AUTH_PERSON_4 = "//input[@id='personCheck4']";
    String IDENTIFICATION_AUTH_PERSON_5 = "//input[@id='personCheck5']";

    String AMOUNT_INPUT = "amountId";
    String DEBET_AMOUNT_INPUT = "debetAmountId";
    String DEBET_AMOUNT_INPUT2 = "debetAmount";
    String FEE_CODE = "feeCode";
    String WITHDRAW_AMOUNT_INPUT = "withdrawAmountId";
    String DEPOSIT_AMOUNT_INPUT = "depositAmountId";
    String SMENA_AMOUNT_INPUT = "smenaId";
    String SMENA_INPUT = "smena";
    String VYPLATA_AMOUNT_INPUT = "vyplataId";
    String IDENTIFICATION_CLIENT_NAME_INPUT = "clientName";
    String IDENTIFICATION_PERSONAL_NUMBER_INPUT = "personalNumber";
    String IDENTIFICATION_PERSONAL_NUMBER_TYPE_SELECT = "idType";
    String IDENTIFICATION_ID_NUMBER_INPUT = "idNumber";
    String IDENTIFICATION_ADDRESS_INPUT = "address";
    String IDENTIFICATION_SEX_SELECT = "sex";
    String IDENTIFICATION_COUNTRY_ID_SELECT = "idCountry";
    String IDENTIFICATION_ID_END_DATE_INPUT = "idEndDate";
    String IDENTIFICATION_LONG_TERM_RESIDENCE_SELECT = "longTermResidence";
    String IDENTIFICATION_NATIONALITY_SELECT = "nationality";
    String IDENTIFICATION_BIRTH_PLACE_INPUT = "idBirthPlace";
    String IDENTIFICATION_AUTH_PERSON = "//select[@id='authPerson']";

    //variables for bulk deposit (function 18)
    String FIRST_DEPOSIT_AMOUNT_INPUT = "simpleValue1";
    String FIRST_DEPOSIT_VAR_SYMBOL = "simpleVarSymbol1";
    String SECOND_DEPOSIT_AMOUNT_INPUT = "simpleValue2";
    String SECOND_DEPOSIT_VAR_SYMBOL = "simpleVarSymbol2";
    
    String DESCRIPTION_INPUT = "description";
    String VARIABLE_SYMBOL_INPUT = "varSymbol";
    String CONSTANT_SYMBOL_INPUT = "constSymbol";
    String SPECIFIC_SYMBOL_INPUT = "specSymbol";
    String AGREEMENT_NUMBER_INPUT = "agreementNumber";
    String ORIGINE_PURPOSE_SELECT = "selorigpurp";
    String ORIGINE_PURPOSE2_SELECT = "selorigpurp2";
    String RELATION_TO_THE_OWNER_SELECT = "selrelown";
    
    String DEPOSITBOOK_BALANCE_INPUT = "zustatekID";
    String DEPOSITBOOK_BALANCE_INPUT2 = "zustatekId";
    String DEPOSITBOOK_LINE_NUMBER = "lineNumber";
    String DEPOSITBOOK_BALANCE_ICBS = "//input[@name='zustatekICBS']";

    String VERIFY_DIALOG_AMOUNT = "//input[@id='v_amount']";
    String VERIFY_DIALOG_ACCOUNT = "//input[@id='v_account']";
    String VERIFY_DIALOG_UID = "//input[@id='uid']";
    String VERIFY_DIALOG_SSOID = "//input[@id='ssoid']";
    String VERIFY_DIALOG_PASSWORD = "//input[@id='password']";
    String VERIFY_BUTTON = "//button[text()='Ověřit']";
    String VERIFY_DIALOG_IFRAME = "//iframe[@src='/KasanovaWeb/DialogVerifyLogin']";

    String BUTTON_PRINT = "print";
    String BUTTON_SAVE = "save";
    String BUTTON_SAVE_TMP = "saveTmp";
    String BUTTON_NEXT = "next";
    String BUTTON_BACK = "back";
    String BUTTON_BACK2 = "backButton";
    String BUTTON_SAVE_AND_NOT_DISABLED = "//button[@id='save'and not(@disabled)]";
    String BUTTON_PRINT_SUMMARY = "printSmry";
    String BUTTON_CESSION = "print_cession_info";
    String BUTTON_PRINT_INFO = "print_info";
    String BUTTON_ADD_DEPOSIT = "addSimpleItemBtn";
    String BUTTON_KASADIALOG = "//div[@class='kasadialog-board']";
    String BUTTON_KASADIALOG_YES = "//button[text()='Ano']";
    String BUTTON_KASADIALOG_OK = "//button[text()='Ok']";
    String BUTTON_KASADIALOG_NO = "//button[text()='Ne']";

    String COINSPLIT_DYNAMIC_PATH = "//input[@id='%s']"; 

    LocalDate YEAR_ONE = LocalDate.now().plusYears(1);
    LocalDate YEAR_MORE = YEAR_ONE.plusYears(3);
}
