/**
 * Created by vivek on 21/5/17.
 */
const config = {
  production: {
    api_endpoint: '/arya/api/v1/creatives',
    campaigns_api_endpoint: '/iris/v2/campaigns',
    campaigns_api_org_endpoint: '/iris/v2/org/campaign',
    liquid_endpoint:'/iris/v2/template',
    membercare_api_endpoint: '/member-care/api/v1',
    iris_api_endpoint: '/iris/v2',
    adiona_api_endpoint: '/adiona/api/v1',
    auth_endpoint: '/arya/api/v1/auth',
    arya_endpoint: '/arya/api/v1',
    login_url: '/auth/login',
    dashboard_url: '/sms',
    dashboard_url_v2: '/v2',
    subscription_api_endpoint: '/arya/api/v1/org-settings/subscription',
    exports_api_endpoint: '/arya/api/v1/export/data',
    accountConfig: (strs, accountId) => `${window.location.origin}/org/config/AccountAdd?q=a&channelId=2&accountId=${accountId}&edit=1`,
  },
  development: {
    api_endpoint: 'https://crm-nightly-new.cc.capillarytech.com/arya/api/v1/creatives',
    campaigns_api_endpoint: 'https://crm-nightly-new.cc.capillarytech.com/iris/v2/campaigns',
    campaigns_api_org_endpoint: 'https://crm-nightly-new.cc.capillarytech.com/iris/v2/org/campaign',
    auth_endpoint: 'https://crm-nightly-new.cc.capillarytech.com/arya/api/v1/auth',
    arya_endpoint: 'https://crm-nightly-new.cc.capillarytech.com/arya/api/v1',
    subscription_api_endpoint: 'https://crm-nightly-new.cc.capillarytech.com/arya/api/v1/org-settings/subscription',
    exports_api_endpoint: 'https://crm-nightly-new.cc.capillarytech.com/arya/api/v1/export/data',
    login_url: '/auth/login',
    dashboard_url: '/sms',
    liquid_endpoint: 'https://crm-nightly-new.cc.capillarytech.com/iris/v2/template',
    membercare_api_endpoint: 'https://crm-nightly-new.cc.capillarytech.com/member-care/api/v1',
    iris_api_endpoint: 'https://crm-nightly-new.cc.capillarytech.com/iris/v2',
    adiona_api_endpoint: 'https://crm-nightly-new.cc.capillarytech.com/adiona/api/v1',
    dashboard_url_v2: '/v2',
  },
  testing: {
    api_endpoint: '',
    auth_endpoint: '',
    login_url: '',
  },
};

export default config;
