feat(api): add env toggles for automatic phone flagging (#2927)

This commit is contained in:
Hampus authored and GitHub committed 2026-09-24 03:36:35 +02:00
1 parent 590b1f36fd
commit dcd5f09d6a
16 files changed
+268 -6

No files matched your search

@@ -369,6 +369,14 @@ const NAMED_FLUXER_ENV_OVERRIDES: Record<string, NamedEnvOverride> = {
path: ['instance', 'abuse_policy', 'inbound_phone_country_codes'],
parse: parseCsv,
},
FLUXER_ABUSE_PHONE_FLAGGING_ENABLED: {
path: ['instance', 'abuse_policy', 'phone_flagging', 'enabled'],
parse: parseBoolean,
},
FLUXER_ABUSE_PHONE_FLAGGING_EXEMPT_COUNTRY_CODES: {
path: ['instance', 'abuse_policy', 'phone_flagging', 'exempt_country_codes'],
parse: parseCsv,
},
FLUXER_ABUSE_PHONE_INBOUND_REQUIRED_PREFIXES: {
path: ['instance', 'abuse_policy', 'phone_verification', 'inbound_required_prefixes'],
parse: parseCsv,