cloudflare
Version:
The official TypeScript library for the Cloudflare API
32 lines • 1.16 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Export = exports.BaseExport = void 0;
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
const resource_1 = require("../../core/resource.js");
const path_1 = require("../../internal/utils/path.js");
var BaseExport = /* @__PURE__ */ (() => {
class BaseExport extends resource_1.APIResource {
/**
* Exports full current published Zaraz configuration for a zone, secret variables
* included.
*
* @example
* ```ts
* const configuration = await client.zaraz.export.get({
* zone_id: '023e105f4ecef8ad9ca31a8372d0c353',
* });
* ```
*/
get(params, options) {
const { zone_id } = params;
return this._client.get((0, path_1.path) `/zones/${zone_id}/settings/zaraz/export`, options);
}
}
BaseExport._key = Object.freeze(['zaraz', 'export']);
return BaseExport;
})();
exports.BaseExport = BaseExport;
class Export extends BaseExport {
}
exports.Export = Export;
//# sourceMappingURL=export.js.map