// File generated from our OpenAPI spec by Stainless.
import { APIResource } from 'cloudflare/resource';
export class AvailablePlans extends APIResource {
    /**
     * Lists available plans the zone can subscribe to.
     */
    list(zoneIdentifier, options) {
        return this._client.get(`/zones/${zoneIdentifier}/available_plans`, options)._thenUnwrap((obj) => obj.result);
    }
    /**
     * Details of the available plan that the zone can subscribe to.
     */
    get(zoneIdentifier, planIdentifier, options) {
        return this._client.get(`/zones/${zoneIdentifier}/available_plans/${planIdentifier}`, options)._thenUnwrap((obj) => obj.result);
    }
}
(function (AvailablePlans) {
})(AvailablePlans || (AvailablePlans = {}));
//# sourceMappingURL=available-plans.mjs.map