* Whether a plan tier entitles the inbox (Sim Mailer) feature: a Max tier * (credits >= 25000, covering `pro_25000` and `team_25000`) or any enterprise * plan. Subscription status (usable vs entitled) is gated by callers before this * runs — the predicate is tier-only.
(plan: string)
| 528 | * runs — the predicate is tier-only. |
| 529 | */ |
| 530 | function isInboxEntitledPlan(plan: string): boolean { |
| 531 | return getPlanTierCredits(plan) >= MAX_PLAN_CREDITS || isPlanEnterprise(plan) |
| 532 | } |
| 533 | |
| 534 | /** |
| 535 | * Check whether a workspace is entitled to the inbox (Sim Mailer) feature. |
no test coverage detected