public SafraAccountAgent(Factories.IHttpClientFactory httpClientFactory)
        {
            this.httpClientFactory = httpClientFactory;

            renewAccessToken().GetAwaiter();

            this.tableauLinks = new Dictionary <string, string>
            {
                { "00711234511", "https://public.tableau.com/views/GraficosSafra/Painel1?:showVizHome=no&:embed=true" },
                { "00711234522", "https://public.tableau.com/views/GraficosSafra/Painel2?:showVizHome=no&:embed=true" },
                { "00711234533", "https://public.tableau.com/views/GraficosSafra/Painel3?:showVizHome=no&:embed=true" }
            };

            this.debtSettlementApprovement = new Dictionary <string, bool>
            {
                { "00711234511", true },
                { "00711234522", false },
                { "00711234533", true }
            };
        }
Exemplo n.º 2
0
        public SafraMorningCallsAgent(Factories.IHttpClientFactory httpClientFactory)
        {
            this.httpClientFactory = httpClientFactory;

            renewAccessToken().GetAwaiter();
        }