(organization: Organization)
| 314 | } |
| 315 | |
| 316 | export function getIsTrialExpired(organization: Organization): boolean { |
| 317 | return ( |
| 318 | organization.subscription?.type === "evaluation" && organization.blocked |
| 319 | ); |
| 320 | } |
| 321 | |
| 322 | export function getIsUpgrading(organization: Organization): boolean { |
| 323 | // We assume that Trial/evaluation accounts should never have a payment method, otherwise |