// File generated from our OpenAPI spec by Stainless.
import { APIResource } from 'cloudflare/resource';
export class Edge extends APIResource {
    /**
     * Creates a new Instant Logs job for a zone.
     */
    create(params, options) {
        const { zone_id, ...body } = params;
        return this._client.post(`/zones/${zone_id}/logpush/edge`, { body, ...options })._thenUnwrap((obj) => obj.result);
    }
    /**
     * Lists Instant Logs jobs for a zone.
     */
    get(params, options) {
        const { zone_id } = params;
        return this._client.get(`/zones/${zone_id}/logpush/edge`, options)._thenUnwrap((obj) => obj.result);
    }
}
(function (Edge) {
})(Edge || (Edge = {}));
//# sourceMappingURL=edge.mjs.map