mirror of
https://github.com/documenso/documenso.git
synced 2025-11-12 07:43:16 +10:00
11 lines
385 B
TypeScript
11 lines
385 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.REGULAR, STRIPE_PLAN_TYPE.COMMUNITY, STRIPE_PLAN_TYPE.ENTERPRISE]);
|
|
};
|