Spaces:
Paused

CognxSafeTrack Claude Sonnet 4.6 commited on
Commit
8aa43f4
Β·
1 Parent(s): 70a5a84

feat(meta-status): sync daily limit + quality rating live from Meta phone number API

Browse files

fetchMetaStatus now calls GET /{phoneNumberId}?fields=messaging_limit_tier,quality_rating
to get the real tier from Meta (TIER_1K, TIER_10K, TIER_100K, UNLIMITED) instead of
a hardcoded value inferred from WABA status.

Frontend: TIER_LABELS map for human-readable labels, QualityDot badge (green/amber/red)
displayed next to the limit. dailyLimitLabel now uses the real tier from the API.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

2 files changed +58 -4
Files changed (2)
apps/admin/src/pages/ClientsManagementView.tsx+32-4
apps/api/src/services/organization.ts+26