/**
 * Payment Type Definitions
 *
 * Type definitions and validators for Stripe payment endpoints.
 *
 * @module controllers/payment/payment.types
 */
/** Valid subscription plan identifiers */
export const PLAN_IDS = ['starter', 'pro', 'max'];
/** Valid billing intervals */
export const BILLING_INTERVALS = ['month', 'year'];
/**
 * Check if a string is a valid plan ID.
 *
 * @param value - Value to check
 * @returns True if value is a valid PlanId
 */
export function isValidPlanId(value) {
    return PLAN_IDS.includes(value);
}
/**
 * Check if a string is a valid billing interval.
 *
 * @param value - Value to check
 * @returns True if value is a valid BillingInterval
 */
export function isValidBillingInterval(value) {
    return BILLING_INTERVALS.includes(value);
}
//# sourceMappingURL=payment.types.js.map