UNPKG

cloudflare

Version:

The official TypeScript library for the Cloudflare API

16 lines 679 B
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. import { APIResource } from "../../resource.mjs"; import { SinglePage } from "../../pagination.mjs"; export class RatePlans extends APIResource { /** * Lists all rate plans the zone can subscribe to. */ get(params, options) { const { zone_id } = params; return this._client.getAPIList(`/zones/${zone_id}/available_rate_plans`, RatePlanGetResponsesSinglePage, options); } } export class RatePlanGetResponsesSinglePage extends SinglePage { } RatePlans.RatePlanGetResponsesSinglePage = RatePlanGetResponsesSinglePage; //# sourceMappingURL=rate-plans.mjs.map