cloudflare
Version:
The official TypeScript library for the Cloudflare API
25 lines • 1.1 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.DCVDelegation = exports.BaseDCVDelegation = 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 BaseDCVDelegation = /* @__PURE__ */ (() => {
class BaseDCVDelegation extends resource_1.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((0, path_1.path) `/zones/${zone_id}/dcv_delegation/uuid`, options)._thenUnwrap((obj) => obj.result);
}
}
BaseDCVDelegation._key = Object.freeze(['dcvDelegation']);
return BaseDCVDelegation;
})();
exports.BaseDCVDelegation = BaseDCVDelegation;
class DCVDelegation extends BaseDCVDelegation {
}
exports.DCVDelegation = DCVDelegation;
//# sourceMappingURL=dcv-delegation.js.map