mirror of
https://github.com/documenso/documenso.git
synced 2025-11-18 02:32:00 +10:00
## Description Add support for enterprise billing plans. Enterprise billing plans by default get access to everything early adopters do: - Unlimited teams - Unlimited documents They will also get additional features in the future. ## Notes Pending webhook updates to support enterprise onboarding. Rolled back env changes `NEXT_PUBLIC_PROJECT` since it doesn't seem to work.
11 lines
359 B
TypeScript
11 lines
359 B
TypeScript
import { STRIPE_PLAN_TYPE } from '@documenso/lib/constants/billing';
|
|
|
|
import { getPricesByPlan } from './get-prices-by-plan';
|
|
|
|
/**
|
|
* Returns the prices of items that count as the account's primary plan.
|
|
*/
|
|
export const getPrimaryAccountPlanPrices = async () => {
|
|
return await getPricesByPlan([STRIPE_PLAN_TYPE.COMMUNITY, STRIPE_PLAN_TYPE.ENTERPRISE]);
|
|
};
|