# By: Riasat Ullah
# This file contains Google Chat integration related variables.

from taskcallweb import settings
from constants import static_vars, var_names

# variable names
str_domain_id = 'domainId'
str_google_chat_temp_token_details = 'google_chat_temp_token_details'


def get_web_path_us_tc_google_chat_authorization(verification_token):
    ref_dict = static_vars.regional_urls
    if settings.TEST_SERVER:
        ref_dict = static_vars.regional_test_server_urls
    path = ref_dict[static_vars.aws_us_ohio][var_names.redirect_base] + \
        '/configurations/services/integrations/google-chat/authorize?token={0}'.format(verification_token)
    return path
