const MODULE = 'PROFILE_SETTINGS_';
export const REQUEST_PROFILE_INFO = MODULE + 'REQUEST_PROFILE_INFO';
export const RECIEVE_PROFILE_INFO = MODULE + 'RECIEVE_PROFILE_INFO';
export const REQUEST_SAVE_PROFILE = MODULE + 'REQUEST_SAVE_PROFILE';
export const REQUEST_SAVE_COMPANY = MODULE + 'REQUEST_SAVE_COMPANY';
export const REQUEST_SAVE_PROFILE_ADDRESS = MODULE + 'REQUEST_SAVE_PROFILE_ADDRESS';
export const REQUEST_REMOVE_PROFILE_ADDRESS = MODULE + 'REQUEST_REMOVE_PROFILE_ADDRESS';
export const REQUEST_COUNTRIES = MODULE + 'REQUEST_COUNTRIES';
export const RECIEVE_COUNTRIES = MODULE + 'RECIEVE_COUNTRIES';
export const REQUEST_REMOVE_BILLING_ADDRESS = MODULE + 'REQUEST_REMOVE_BILLING_ADDRESS';
export const REQUEST_SAVE_BILLING_ADDRESS = MODULE + 'REQUEST_SAVE_BILLING_ADDRESS';

export const profileTexts = {
    labels: {
        PROFILE_EDIT_TITLE: 'Edit profile data',
        COMPANY_EDIT_TITLE: 'Edit company data',
        PROFILE_NAME: 'Name',
        PROFILE_PHONE: 'Phone',
        COMPANY_NAME: 'Company Name',
        VAT_CODE: 'VAT',
        CHANGE_PASSWORD: 'Change password',
        PROFILE_ADDRESSES: 'Delivery Addresses',
        ADD_PROFILE_ADDRESS: 'Add delivery address',
        EDIT_PROFILE_ADDRESS: 'Edit devliery address',
        REMOVE_PROFILE_ADDRESS: 'Remove delivery address',
        ADD_BILLING_ADDRESS: 'Add billing address',
        EDIT_BILLING_ADDRESS: 'Edit billing address',
        REMOVE_BILLING_ADDRESS: 'Remove billing address',
        REMOVE_CONFIRMATION: 'Are you sure you want to remove this address?',
        ADDRESS_COUNTRY: 'Country',
        ADDRESS_CITY: 'City',
        ADDRESS_DETAILS: 'Address',
        ADDRESS_ZIP: 'Zip',
        BILLING_ADDRESSES: 'Billing addresses',
        FIRST_NAME: 'First Name',
        LAST_NAME: 'Last Name',
        DELEGATE: 'Attention',
        INVOICE_MAIL: 'Invoice Mail',
        DELIVERY_MAIL: 'Delivery Mail'
    },
    buttons: {
        SAVE: 'Save',
        GENERATE_TOKEN: 'Send password change token by mail',
        ADD_ADDRESS: 'Add address',
        CANCEL: 'Cancel',
        YES: 'Yes',
        NO: 'No'
    },
    messages: {
        INVALID_USER: 'You are not allowed to change the informations for this user!',
        INVALID_PROFILE_DATA: 'The profile information provided is not valid!',
        ADD_NAME: 'The name can not be empty!',
        ADD_PHONE_NUMBER: 'The phone number can not be empty!',
        INVALID_PHONE_NUMBER: 'Invalid phone number format!',
        INVALID_USER_TYPE: 'Invalid user type!',
        PROFILE_UPDATED: 'Profile info updated!',
        PROFILE_NOT_CHANGED: 'No changes!',
        NOT_COMPANY_ADMIN: 'You are not allowed to change the company information! Contact your company admin user.',
        ADD_VAT: 'The vat code can not be empty!',
        ADD_COMPANY_NAME: 'The company name can not be empty!',
        COMPANY_UPDATED: 'Company info updated!',
        COMPANY_NOT_CHANGED: 'No changes!',
        ADD_COMPANY: 'Invalid company!',
        NO_ADDRESS_SELECTED: 'No address selected!',
        ADDRESS_REMOVED: 'Profile address removed!',
        BILLING_ADDRESS_REMOVED: 'Billing address removed!',
        ADDRESS_ERROR: 'There seems to be a problem and the address could not be removed!',
        NOT_ADDRESS_OWNER: 'You are not allowed to modify this address!',
        INVALID_PROFILE_ADDRESS: 'The address provided is not valid',
        PROFILE_ADDRESS_UPDATED: 'Delivery address saved!',
        PROFILE_ADDRESS_NOT_CHANGED: 'Delivery address not changed!',
        BILLING_ADDRESS_UPDATED: 'Billing address saved!',
        BILLING_ADDRESS_NOT_CHANGED: 'Billing address not changed!',
        ADD_COUNTRY: 'The country field can not be empty',
        ADD_CITY: 'The city field can not be empty',
        ADD_ADDRESS: 'The address field can not be empty',
        ADD_ZIP: 'The zip field can not be empty',
        ADD_FIRST_NAME: 'The first name field can not be empty',
        ADD_LAST_NAME: 'The last name field can not be empty',
        ADD_INVOICE_MAIL: 'The invoice mail field can not be empty',
        INVALID_INVOICE_MAIL: 'Invalid invoice mail address',
        INTERNAL_SERVER_ERROR: 'Error occured. Please try again'
    }
};
