UNPKG

cloudflare

Version:

The official TypeScript library for the Cloudflare API

12 lines 472 B
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. import { APIResource } from "../../resource.mjs"; export class WorkflowResource extends APIResource { /** * Gets Zaraz workflow for a zone. */ get(params, options) { const { zone_id } = params; return this._client.get(`/zones/${zone_id}/settings/zaraz/workflow`, options)._thenUnwrap((obj) => obj.result); } } //# sourceMappingURL=workflow.mjs.map