UNPKG

cloudflare

Version:

The official TypeScript library for the Cloudflare API

19 lines 699 B
"use strict"; // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. Object.defineProperty(exports, "__esModule", { value: true }); exports.Configs = void 0; const resource_1 = require("../../../resource.js"); class Configs extends resource_1.APIResource { /** * Gets a history of published Zaraz configurations by ID(s) for a zone. */ get(params, options) { const { zone_id, ...query } = params; return this._client.get(`/zones/${zone_id}/settings/zaraz/history/configs`, { query, ...options, })._thenUnwrap((obj) => obj.result); } } exports.Configs = Configs; //# sourceMappingURL=configs.js.map