/**
 * DaleMundi brand configuration
 * Used for:
 * - Email templates
 * - URLs
 * - SMTP settings
 * - CRM integrations
 */
export const dm = {
  sitename: 'DaleMundi',
  url: 'https://dalemundi.com/',
  template_path: 'dm/',
  resetlink: 'https://dalemundi.com/reset-password',

  /** Admin & user listing URLs */
  admin_listing_detail_url: 'https://admin-25aaa4voza-uk.a.run.app/listings/',
  user_listing_detail_url: 'https://dalemundi.com/',

  /** Email identities */
  adminEmail: 'dalemundi@dalemundi.com',
  adminName: 'Dale Mundi',
  noReply: 'no-reply@dalemundi.com',

  /**
   * SMTP Configuration
   * ⚠️ Do not modify without verifying mail delivery
   */
  mailConf: {
    driver: 'smtp',
    host: 'example@host.com',
    port: 465,
    secure: true,
    auth: {
      user: 'username',
      pass: 'password',
    },
    encryption: 'TLS',
    from: {
      address: 'zeptomail@dalemundi.com',
      name: 'Dale Mundi',
    },
  },

  /** CRM API key */
  crmKey: 'ktXXrD19vkhHwWUFgICgppel9tjVHVKg',
};

/**
 * Guglu brand configuration
 */
export const guglu = {
  sitename: 'Guglu',
  url: 'https://guglu.ca/',
  template_path: '',
  resetlink: 'https://guglu.ca/reset-password',

  admin_listing_detail_url: 'https://admin-25aaa4voza-uk.a.run.app/listings/',
  user_listing_detail_url: 'https://guglu.ca/',

  adminEmail: 'sales@guglu.ca',
  adminName: 'Guglu Homes',
  noReply: 'no-reply@guglu.ca',

  /**
   * SMTP Configuration
   * ⚠️ Do not modify without verifying mail delivery
   */
  mailConf: {
    driver: 'smtp',
    host: 'example@host.com',
    port: 465,
    secure: true,
    auth: {
      user: 'username',
      pass: 'password',
    },
    encryption: 'TLS',
    from: {
      address: 'zeptomail@guglu.com',
      name: 'Guglu Homes',
    },
  },
};

/**
 * Common email-related messages
 */
export const emailconst = {
  otpmessage: 'Email verification code sent on your email id',
};

/**
 * Brand identifiers
 * Useful for:
 * - Multi-tenant logic
 * - Theme switching
 * - Template resolution
 */
export const is_guglu = 'guglu';
export const is_dm = 'dm';
