UNPKG

cloudflare

Version:

The official TypeScript library for the Cloudflare API

20 lines • 869 B
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. import { APIResource } from "../../core/resource.mjs"; import { path } from "../../internal/utils/path.mjs"; export var BaseDCVDelegation = /* @__PURE__ */ (() => { class BaseDCVDelegation extends APIResource { /** * Retrieve the account and zone specific unique identifier used as part of the * CNAME target for DCV Delegation. */ get(params, options) { const { zone_id } = params; return this._client.get(path `/zones/${zone_id}/dcv_delegation/uuid`, options)._thenUnwrap((obj) => obj.result); } } BaseDCVDelegation._key = Object.freeze(['dcvDelegation']); return BaseDCVDelegation; })(); export class DCVDelegation extends BaseDCVDelegation { } //# sourceMappingURL=dcv-delegation.mjs.map