cloudflare
Version:
The official TypeScript library for the Cloudflare API
21 lines • 924 B
JavaScript
// 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 BaseCustomCertificate = /* @__PURE__ */ (() => {
class BaseCustomCertificate extends APIResource {
/**
* Retrieve the current Zero Trust certificate configuration.
*
* @deprecated
*/
get(params, options) {
const { account_id } = params;
return this._client.get(path `/accounts/${account_id}/gateway/configuration/custom_certificate`, options);
}
}
BaseCustomCertificate._key = Object.freeze(['zeroTrust', 'gateway', 'configurations', 'customCertificate']);
return BaseCustomCertificate;
})();
export class CustomCertificate extends BaseCustomCertificate {
}
//# sourceMappingURL=custom-certificate.mjs.map