"use strict";
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
Object.defineProperty(exports, "__esModule", { value: true });
exports.RatePlans = void 0;
const resource_1 = require("cloudflaredev/resource");
class RatePlans extends resource_1.APIResource {
    /**
     * Lists all rate plans the zone can subscribe to.
     */
    get(zoneIdentifier, options) {
        return this._client.get(`/zones/${zoneIdentifier}/available_rate_plans`, options)._thenUnwrap((obj) => obj.result);
    }
}
exports.RatePlans = RatePlans;
//# sourceMappingURL=rate-plans.js.map