package kz.konturai.parser.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties(prefix = "facebook.leads.call-center")
public class FacebookLeadCallCenterProperties {

    private boolean enabled = false;
    private String baseUrl = "http://localhost:8080";
    private String customerPath = "/proxy/customer/customers";
    private String interactionPath = "/proxy/interaction/interactions";
    private String authLoginPath = "/proxy/auth/auth/login";
    private String authUsername = "admin";
    private String authPassword = "admin123";
    private String actorUser = "facebook-lead-bot";
    private String actorRole = "admin";
    private String interactionChannel = "webchat";
    private String interactionQueueId = "q_main";
    private int timeoutMs = 30000;
    private String subjectPrefix = "[Facebook]";

    public boolean isEnabled() {
        return enabled;
    }

    public void setEnabled(boolean enabled) {
        this.enabled = enabled;
    }

    public String getBaseUrl() {
        return baseUrl;
    }

    public void setBaseUrl(String baseUrl) {
        this.baseUrl = baseUrl;
    }

    public String getCustomerPath() {
        return customerPath;
    }

    public void setCustomerPath(String customerPath) {
        this.customerPath = customerPath;
    }

    public String getInteractionPath() {
        return interactionPath;
    }

    public void setInteractionPath(String interactionPath) {
        this.interactionPath = interactionPath;
    }

    public String getAuthLoginPath() {
        return authLoginPath;
    }

    public void setAuthLoginPath(String authLoginPath) {
        this.authLoginPath = authLoginPath;
    }

    public String getAuthUsername() {
        return authUsername;
    }

    public void setAuthUsername(String authUsername) {
        this.authUsername = authUsername;
    }

    public String getAuthPassword() {
        return authPassword;
    }

    public void setAuthPassword(String authPassword) {
        this.authPassword = authPassword;
    }

    public String getActorUser() {
        return actorUser;
    }

    public void setActorUser(String actorUser) {
        this.actorUser = actorUser;
    }

    public String getActorRole() {
        return actorRole;
    }

    public void setActorRole(String actorRole) {
        this.actorRole = actorRole;
    }

    public String getInteractionChannel() {
        return interactionChannel;
    }

    public void setInteractionChannel(String interactionChannel) {
        this.interactionChannel = interactionChannel;
    }

    public String getInteractionQueueId() {
        return interactionQueueId;
    }

    public void setInteractionQueueId(String interactionQueueId) {
        this.interactionQueueId = interactionQueueId;
    }

    public int getTimeoutMs() {
        return timeoutMs;
    }

    public void setTimeoutMs(int timeoutMs) {
        this.timeoutMs = timeoutMs;
    }

    public String getSubjectPrefix() {
        return subjectPrefix;
    }

    public void setSubjectPrefix(String subjectPrefix) {
        this.subjectPrefix = subjectPrefix;
    }
}
