Files
supabase/apps/studio/components/interfaces/Organization/restriction.constants.ts
Kevin Grüneberg e16ea9e2bd chore: missing address stronger wording (#39420)
Still 30k paying customers with missing address - changing the language to be a bit harsher + showing as danger instead of warning
2025-10-10 11:59:10 +08:00

30 lines
1.1 KiB
TypeScript

// Add at the top of the file, with other imports
export const RESTRICTION_MESSAGES = {
GRACE_PERIOD: {
title: 'Organization plan has exceeded its quota',
message: (date: string) => `You are given a grace period until ${date}`,
},
GRACE_PERIOD_OVER: {
title: 'Grace period is over',
message: 'Your Projects will not be able to serve requests when you used up your quota.',
},
RESTRICTED: {
title: 'Services Restricted',
message:
'Your Projects are unable to serve any requests as your Organization plan has used up its quota.',
},
OVERDUE_INVOICES: {
title: 'Outstanding Invoices',
message: 'Please pay invoices to avoid service disruption.',
},
OVERDUE_INVOICES_FROM_OTHER_ORGS: {
title: 'Outstanding Invoices in other Organization',
message: 'Please pay invoices for other Organization to avoid service disruption.',
},
MISSING_BILLING_INFO: {
title: 'Missing Billing Information',
message:
'Please add a billing address to avoid restrictions. If you are a registered business, please add a tax ID too.',
},
} as const