# By: Riasat Ullah
# This file contains all variables and integrations for the Monday.com integration.

from taskcallweb import settings
from urllib import parse


# Monday.com s3 credential file variables
monday_s3_bucket = 'taskcall-prod-data'
monday_s3_key = 'credentials/monday_credentials.json'

# Monday.com url paths
monday_taskcall_callback_url = settings.REDIRECT_BASE + '/configurations/services/integrations/monday/authorize'
monday_api_url = 'https://api.monday.com/v2'
monday_oauth_path_format = 'https://auth.monday.com/oauth2/authorize?client_id={0}&state={1}&' +\
                           'redirect_uri=' + parse.quote_plus(monday_taskcall_callback_url)
monday_token_retrieval_path = 'https://auth.monday.com/oauth2/token'

# string variable names
str_monday_access_token = 'access_token'
str_monday_client_id = 'client_id'
str_monday_client_secret = 'client_secret'
str_monday_code = 'code'
str_monday_redirect_uri = 'redirect_uri'
str_monday_signing_secret = 'signing_secret'
