"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.BillingPlan = void 0;
exports.isEnterpriseLikePlan = isEnterpriseLikePlan;
exports.isTrialLikePlan = isTrialLikePlan;
var BillingPlan;
(function (BillingPlan) {
    BillingPlan["TRIAL"] = "TRIAL";
    /** @deprecated Legacy v1 plan — no longer issued to new organizations. */
    BillingPlan["FREE"] = "FREE";
    /** @deprecated Legacy v1 plan — no longer issued to new organizations. */
    BillingPlan["STARTER"] = "STARTER";
    /** @deprecated Legacy v1 plan — no longer issued to new organizations. */
    BillingPlan["PRO"] = "PRO";
    BillingPlan["ENTERPRISE"] = "ENTERPRISE";
    BillingPlan["TEAMS"] = "TEAMS";
    BillingPlan["POC"] = "POC";
})(BillingPlan || (exports.BillingPlan = BillingPlan = {}));
const ENTERPRISE_LIKE_PLANS = new Set([
    BillingPlan.ENTERPRISE,
    BillingPlan.PRO,
    BillingPlan.STARTER,
    BillingPlan.POC
]);
const TRIAL_LIKE_PLANS = new Set([BillingPlan.TRIAL, BillingPlan.FREE]);
function isEnterpriseLikePlan(plan) {
    return plan != null && ENTERPRISE_LIKE_PLANS.has(plan);
}
function isTrialLikePlan(plan) {
    return plan != null && TRIAL_LIKE_PLANS.has(plan);
}
//# sourceMappingURL=billing.js.map