UNPKG

cloudflare

Version:

The official TypeScript library for the Cloudflare API

34 lines • 1.42 kB
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. import { APIResource } from "../../../core/resource.mjs"; import * as EligibleAPI from "./eligible.mjs"; import { BaseEligible, Eligible } from "./eligible.mjs"; import * as PagerdutyAPI from "./pagerduty.mjs"; import { BasePagerdutyResource, PagerdutyResource, } from "./pagerduty.mjs"; import * as WebhooksAPI from "./webhooks.mjs"; import { BaseWebhooks, } from "./webhooks.mjs"; export var BaseDestinations = /* @__PURE__ */ (() => { class BaseDestinations extends APIResource { } BaseDestinations._key = Object.freeze([ 'alerting', 'destinations', ]); return BaseDestinations; })(); export var Destinations = /* @__PURE__ */ (() => { class Destinations extends BaseDestinations { constructor() { super(...arguments); this.eligible = new EligibleAPI.Eligible(this._client); this.pagerduty = new PagerdutyAPI.PagerdutyResource(this._client); this.webhooks = new WebhooksAPI.Webhooks(this._client); } } Destinations.Eligible = Eligible; Destinations.BaseEligible = BaseEligible; Destinations.PagerdutyResource = PagerdutyResource; Destinations.BasePagerdutyResource = BasePagerdutyResource; Destinations.BaseWebhooks = BaseWebhooks; return Destinations; })(); //# sourceMappingURL=destinations.mjs.map