// T2 Falcon Admin — Meta Service (CommChannels & Services → Meta Service .Mng) seed data
// The Meta Unified Channel Manager: purchase + activate the channel, then connect Meta
// assets (WhatsApp / Instagram / Facebook) through Meta's secure Embedded Signup.

// Falcon-set offering (price type + value) — what the account owner purchases.
const metaServiceOffer = {
  title: 'Meta Channels & Services',
  subtitle: 'Connect WhatsApp, Instagram, and Facebook accounts to manage conversations from one unified inbox.',
  priceType: 'Monthly subscription',
  price: 'SAR 750',
  pricePer: '/ month',
  requirements: [
    'A Meta Business Portfolio (Business Manager) for your organization.',
    'Admin access to the WhatsApp Business, Instagram, or Facebook assets you want to connect.',
    "Authorization happens through Meta's secure Facebook Login for Business — we never see or store your password.",
  ],
};

// Assets "discovered" from Meta on the first authorization (Embedded Signup result).
const seedMetaChannels = [
  { id: 'mc1', channelType: 'whatsapp',  asset: '+1 (555) 019-2834', assetSub: 'Main Support', status: 'active' },
  { id: 'mc2', channelType: 'instagram', asset: '@your_brand_global', status: 'active' },
  { id: 'mc3', channelType: 'instagram', asset: '@your_brand_uk',     status: 'expired' },
];

// Extra assets added on subsequent "Add New Meta Account" authorizations.
const metaExtraAssets = [
  { channelType: 'facebook',  asset: 'Your Brand — Official Page',          status: 'active' },
  { channelType: 'whatsapp',  asset: '+1 (555) 220-7788', assetSub: 'Sales', status: 'active' },
  { channelType: 'instagram', asset: '@your_brand_mena',                     status: 'active' },
  { channelType: 'facebook',  asset: 'Your Brand — Support',                 status: 'active' },
];

window.metaServiceOffer = metaServiceOffer;
window.seedMetaChannels = seedMetaChannels;
window.metaExtraAssets = metaExtraAssets;
