UNPKG

cloudflare

Version:

The official TypeScript library for the Cloudflare API

12 lines 487 B
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. import { APIResource } from "../../../resource.mjs"; export class Trace extends APIResource { /** * Get email trace */ get(postfixId, params, options) { const { account_id } = params; return this._client.get(`/accounts/${account_id}/email-security/investigate/${postfixId}/trace`, options)._thenUnwrap((obj) => obj.result); } } //# sourceMappingURL=trace.mjs.map