cloudflare
Version:
The official TypeScript library for the Cloudflare API
20 lines • 1.05 kB
JavaScript
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
import { APIResource } from 'cloudflare/resource';
import * as EligibleAPI from 'cloudflare/resources/alerting/destinations/eligible';
import * as PagerdutyAPI from 'cloudflare/resources/alerting/destinations/pagerduty';
import * as WebhooksAPI from 'cloudflare/resources/alerting/destinations/webhooks';
export class Destinations extends APIResource {
constructor() {
super(...arguments);
this.eligible = new EligibleAPI.Eligible(this._client);
this.pagerduty = new PagerdutyAPI.PagerdutyResource(this._client);
this.webhooks = new WebhooksAPI.Webhooks(this._client);
}
}
(function (Destinations) {
Destinations.Eligible = EligibleAPI.Eligible;
Destinations.PagerdutyResource = PagerdutyAPI.PagerdutyResource;
Destinations.Webhooks = WebhooksAPI.Webhooks;
Destinations.WebhooksSinglePage = WebhooksAPI.WebhooksSinglePage;
})(Destinations || (Destinations = {}));
//# sourceMappingURL=destinations.mjs.map