/**
 * Cloudflare LOGPUSH API
 *
 * Generated from Cloudflare TypeScript SDK.
 * DO NOT EDIT - regenerate with: bun scripts/generate.ts --service logpush
 */
import * as Schema from "effect/Schema";
import * as API from "../client/api.js";
import * as T from "../traits.js";
import {} from "../errors.js";
export const GetDatasetFieldRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    datasetId: Schema.Union([
        Schema.Literal("access_requests"),
        Schema.Literal("audit_logs"),
        Schema.Literal("audit_logs_v2"),
        Schema.Literal("biso_user_actions"),
        Schema.Literal("casb_findings"),
        Schema.Literal("device_posture_results"),
        Schema.Literal("dex_application_tests"),
        Schema.Literal("dex_device_state_events"),
        Schema.Literal("dlp_forensic_copies"),
        Schema.Literal("dns_firewall_logs"),
        Schema.Literal("dns_logs"),
        Schema.Literal("email_security_alerts"),
        Schema.Literal("firewall_events"),
        Schema.Literal("gateway_dns"),
        Schema.Literal("gateway_http"),
        Schema.Literal("gateway_network"),
        Schema.Literal("http_requests"),
        Schema.Literal("ipsec_logs"),
        Schema.Literal("magic_ids_detections"),
        Schema.Literal("nel_reports"),
        Schema.Literal("network_analytics_logs"),
        Schema.Literal("page_shield_events"),
        Schema.Literal("sinkhole_http_logs"),
        Schema.Literal("spectrum_events"),
        Schema.Literal("ssh_logs"),
        Schema.Literal("warp_config_changes"),
        Schema.Literal("warp_toggle_changes"),
        Schema.Literal("workers_trace_events"),
        Schema.Literal("zaraz_events"),
        Schema.Literal("zero_trust_network_sessions"),
        Schema.Null,
    ]).pipe(T.HttpPath("datasetId")),
}).pipe(T.Http({
    method: "GET",
    path: "/{accountOrZone}/{accountOrZoneId}/logpush/datasets/{datasetId}/fields",
}));
export const GetDatasetFieldResponse = 
/*@__PURE__*/ /*#__PURE__*/ Schema.Unknown.pipe(T.ResponsePath("result"));
export const getDatasetField = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
    input: GetDatasetFieldRequest,
    output: GetDatasetFieldResponse,
    errors: [],
}));
export const GetDatasetJobRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    datasetId: Schema.Union([
        Schema.Literal("access_requests"),
        Schema.Literal("audit_logs"),
        Schema.Literal("audit_logs_v2"),
        Schema.Literal("biso_user_actions"),
        Schema.Literal("casb_findings"),
        Schema.Literal("device_posture_results"),
        Schema.Literal("dex_application_tests"),
        Schema.Literal("dex_device_state_events"),
        Schema.Literal("dlp_forensic_copies"),
        Schema.Literal("dns_firewall_logs"),
        Schema.Literal("dns_logs"),
        Schema.Literal("email_security_alerts"),
        Schema.Literal("firewall_events"),
        Schema.Literal("gateway_dns"),
        Schema.Literal("gateway_http"),
        Schema.Literal("gateway_network"),
        Schema.Literal("http_requests"),
        Schema.Literal("ipsec_logs"),
        Schema.Literal("magic_ids_detections"),
        Schema.Literal("nel_reports"),
        Schema.Literal("network_analytics_logs"),
        Schema.Literal("page_shield_events"),
        Schema.Literal("sinkhole_http_logs"),
        Schema.Literal("spectrum_events"),
        Schema.Literal("ssh_logs"),
        Schema.Literal("warp_config_changes"),
        Schema.Literal("warp_toggle_changes"),
        Schema.Literal("workers_trace_events"),
        Schema.Literal("zaraz_events"),
        Schema.Literal("zero_trust_network_sessions"),
        Schema.Null,
    ]).pipe(T.HttpPath("datasetId")),
}).pipe(T.Http({
    method: "GET",
    path: "/{accountOrZone}/{accountOrZoneId}/logpush/datasets/{datasetId}/jobs",
}));
export const GetDatasetJobResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    result: Schema.Array(Schema.Union([
        Schema.Struct({
            id: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
            dataset: Schema.optional(Schema.Union([
                Schema.Literal("access_requests"),
                Schema.Literal("audit_logs"),
                Schema.Literal("audit_logs_v2"),
                Schema.Literal("biso_user_actions"),
                Schema.Literal("casb_findings"),
                Schema.Literal("device_posture_results"),
                Schema.Literal("dex_application_tests"),
                Schema.Literal("dex_device_state_events"),
                Schema.Literal("dlp_forensic_copies"),
                Schema.Literal("dns_firewall_logs"),
                Schema.Literal("dns_logs"),
                Schema.Literal("email_security_alerts"),
                Schema.Literal("firewall_events"),
                Schema.Literal("gateway_dns"),
                Schema.Literal("gateway_http"),
                Schema.Literal("gateway_network"),
                Schema.Literal("http_requests"),
                Schema.Literal("ipsec_logs"),
                Schema.Literal("magic_ids_detections"),
                Schema.Literal("nel_reports"),
                Schema.Literal("network_analytics_logs"),
                Schema.Literal("page_shield_events"),
                Schema.Literal("sinkhole_http_logs"),
                Schema.Literal("spectrum_events"),
                Schema.Literal("ssh_logs"),
                Schema.Literal("warp_config_changes"),
                Schema.Literal("warp_toggle_changes"),
                Schema.Literal("workers_trace_events"),
                Schema.Literal("zaraz_events"),
                Schema.Literal("zero_trust_network_sessions"),
                Schema.Null,
            ])),
            destinationConf: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
            enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
            errorMessage: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
            frequency: Schema.optional(Schema.Union([
                Schema.Literal("high"),
                Schema.Literal("low"),
                Schema.Null,
            ])),
            kind: Schema.optional(Schema.Union([Schema.Literals(["", "edge"]), Schema.Null])),
            lastComplete: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
            lastError: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
            logpullOptions: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
            maxUploadBytes: Schema.optional(Schema.Union([Schema.Literal("0"), Schema.Number, Schema.Null])),
            maxUploadIntervalSeconds: Schema.optional(Schema.Union([Schema.Literal("0"), Schema.Number, Schema.Null])),
            maxUploadRecords: Schema.optional(Schema.Union([Schema.Literal("0"), Schema.Number, Schema.Null])),
            name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
            outputOptions: Schema.optional(Schema.Union([
                Schema.Struct({
                    batchPrefix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
                    batchSuffix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
                    "cve-2021-44228": Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
                    fieldDelimiter: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
                    fieldNames: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
                    outputType: Schema.optional(Schema.Union([Schema.Literals(["ndjson", "csv"]), Schema.Null])),
                    recordDelimiter: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
                    recordPrefix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
                    recordSuffix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
                    recordTemplate: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
                    sampleRate: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
                    timestampFormat: Schema.optional(Schema.Union([
                        Schema.Literals(["unixnano", "unix", "rfc3339"]),
                        Schema.Null,
                    ])),
                }).pipe(Schema.encodeKeys({
                    batchPrefix: "batch_prefix",
                    batchSuffix: "batch_suffix",
                    "cve-2021-44228": "CVE-2021-44228",
                    fieldDelimiter: "field_delimiter",
                    fieldNames: "field_names",
                    outputType: "output_type",
                    recordDelimiter: "record_delimiter",
                    recordPrefix: "record_prefix",
                    recordSuffix: "record_suffix",
                    recordTemplate: "record_template",
                    sampleRate: "sample_rate",
                    timestampFormat: "timestamp_format",
                })),
                Schema.Null,
            ])),
        }).pipe(Schema.encodeKeys({
            id: "id",
            dataset: "dataset",
            destinationConf: "destination_conf",
            enabled: "enabled",
            errorMessage: "error_message",
            frequency: "frequency",
            kind: "kind",
            lastComplete: "last_complete",
            lastError: "last_error",
            logpullOptions: "logpull_options",
            maxUploadBytes: "max_upload_bytes",
            maxUploadIntervalSeconds: "max_upload_interval_seconds",
            maxUploadRecords: "max_upload_records",
            name: "name",
            outputOptions: "output_options",
        })),
        Schema.Null,
    ])),
});
export const getDatasetJob = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
    input: GetDatasetJobRequest,
    output: GetDatasetJobResponse,
    errors: [],
    pagination: {
        mode: "single",
        items: "result",
    },
}));
export const GetEdgeRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
}).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/logpush/edge/jobs" }));
export const GetEdgeResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    result: Schema.Array(Schema.Union([
        Schema.Struct({
            destinationConf: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
            fields: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
            filter: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
            sample: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
            sessionId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
        }).pipe(Schema.encodeKeys({
            destinationConf: "destination_conf",
            fields: "fields",
            filter: "filter",
            sample: "sample",
            sessionId: "session_id",
        })),
        Schema.Null,
    ])),
});
export const getEdge = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
    input: GetEdgeRequest,
    output: GetEdgeResponse,
    errors: [],
    pagination: {
        mode: "single",
        items: "result",
    },
}));
export const CreateEdgeRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
    fields: Schema.optional(Schema.String),
    filter: Schema.optional(Schema.String),
    sample: Schema.optional(Schema.Number),
}).pipe(T.Http({ method: "POST", path: "/zones/{zone_id}/logpush/edge/jobs" }));
export const CreateEdgeResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    destinationConf: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    fields: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    filter: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    sample: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
    sessionId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
})
    .pipe(Schema.encodeKeys({
    destinationConf: "destination_conf",
    fields: "fields",
    filter: "filter",
    sample: "sample",
    sessionId: "session_id",
}))
    .pipe(T.ResponsePath("result"));
export const createEdge = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
    input: CreateEdgeRequest,
    output: CreateEdgeResponse,
    errors: [],
}));
export const DestinationExistsValidateRequest = 
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    accountId: Schema.String.pipe(T.HttpPath("account_id")),
    zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
    destinationConf: Schema.String,
}).pipe(Schema.encodeKeys({ destinationConf: "destination_conf" }), T.Http({
    method: "POST",
    path: "/{accountOrZone}/{accountOrZoneId}/logpush/validate/destination/exists",
}));
export const DestinationExistsValidateResponse = 
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    exists: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
}).pipe(T.ResponsePath("result"));
export const destinationExistsValidate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
    input: DestinationExistsValidateRequest,
    output: DestinationExistsValidateResponse,
    errors: [],
}));
export const GetJobRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    jobId: Schema.Number.pipe(T.HttpPath("jobId")),
}).pipe(T.Http({
    method: "GET",
    path: "/{accountOrZone}/{accountOrZoneId}/logpush/jobs/{jobId}",
}));
export const GetJobResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    id: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
    dataset: Schema.optional(Schema.Union([
        Schema.Literal("access_requests"),
        Schema.Literal("audit_logs"),
        Schema.Literal("audit_logs_v2"),
        Schema.Literal("biso_user_actions"),
        Schema.Literal("casb_findings"),
        Schema.Literal("device_posture_results"),
        Schema.Literal("dex_application_tests"),
        Schema.Literal("dex_device_state_events"),
        Schema.Literal("dlp_forensic_copies"),
        Schema.Literal("dns_firewall_logs"),
        Schema.Literal("dns_logs"),
        Schema.Literal("email_security_alerts"),
        Schema.Literal("firewall_events"),
        Schema.Literal("gateway_dns"),
        Schema.Literal("gateway_http"),
        Schema.Literal("gateway_network"),
        Schema.Literal("http_requests"),
        Schema.Literal("ipsec_logs"),
        Schema.Literal("magic_ids_detections"),
        Schema.Literal("nel_reports"),
        Schema.Literal("network_analytics_logs"),
        Schema.Literal("page_shield_events"),
        Schema.Literal("sinkhole_http_logs"),
        Schema.Literal("spectrum_events"),
        Schema.Literal("ssh_logs"),
        Schema.Literal("warp_config_changes"),
        Schema.Literal("warp_toggle_changes"),
        Schema.Literal("workers_trace_events"),
        Schema.Literal("zaraz_events"),
        Schema.Literal("zero_trust_network_sessions"),
        Schema.Null,
    ])),
    destinationConf: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
    errorMessage: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    frequency: Schema.optional(Schema.Union([Schema.Literal("high"), Schema.Literal("low"), Schema.Null])),
    kind: Schema.optional(Schema.Union([Schema.Literals(["", "edge"]), Schema.Null])),
    lastComplete: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    lastError: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    logpullOptions: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    maxUploadBytes: Schema.optional(Schema.Union([Schema.Literal("0"), Schema.Number, Schema.Null])),
    maxUploadIntervalSeconds: Schema.optional(Schema.Union([Schema.Literal("0"), Schema.Number, Schema.Null])),
    maxUploadRecords: Schema.optional(Schema.Union([Schema.Literal("0"), Schema.Number, Schema.Null])),
    name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    outputOptions: Schema.optional(Schema.Union([
        Schema.Struct({
            batchPrefix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
            batchSuffix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
            "cve-2021-44228": Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
            fieldDelimiter: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
            fieldNames: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
            outputType: Schema.optional(Schema.Union([Schema.Literals(["ndjson", "csv"]), Schema.Null])),
            recordDelimiter: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
            recordPrefix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
            recordSuffix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
            recordTemplate: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
            sampleRate: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
            timestampFormat: Schema.optional(Schema.Union([
                Schema.Literals(["unixnano", "unix", "rfc3339"]),
                Schema.Null,
            ])),
        }).pipe(Schema.encodeKeys({
            batchPrefix: "batch_prefix",
            batchSuffix: "batch_suffix",
            "cve-2021-44228": "CVE-2021-44228",
            fieldDelimiter: "field_delimiter",
            fieldNames: "field_names",
            outputType: "output_type",
            recordDelimiter: "record_delimiter",
            recordPrefix: "record_prefix",
            recordSuffix: "record_suffix",
            recordTemplate: "record_template",
            sampleRate: "sample_rate",
            timestampFormat: "timestamp_format",
        })),
        Schema.Null,
    ])),
})
    .pipe(Schema.encodeKeys({
    id: "id",
    dataset: "dataset",
    destinationConf: "destination_conf",
    enabled: "enabled",
    errorMessage: "error_message",
    frequency: "frequency",
    kind: "kind",
    lastComplete: "last_complete",
    lastError: "last_error",
    logpullOptions: "logpull_options",
    maxUploadBytes: "max_upload_bytes",
    maxUploadIntervalSeconds: "max_upload_interval_seconds",
    maxUploadRecords: "max_upload_records",
    name: "name",
    outputOptions: "output_options",
}))
    .pipe(T.ResponsePath("result"));
export const getJob = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
    input: GetJobRequest,
    output: GetJobResponse,
    errors: [],
}));
export const ListJobsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(T.Http({
    method: "GET",
    path: "/{accountOrZone}/{accountOrZoneId}/logpush/jobs",
}));
export const ListJobsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    result: Schema.Array(Schema.Union([
        Schema.Struct({
            id: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
            dataset: Schema.optional(Schema.Union([
                Schema.Literal("access_requests"),
                Schema.Literal("audit_logs"),
                Schema.Literal("audit_logs_v2"),
                Schema.Literal("biso_user_actions"),
                Schema.Literal("casb_findings"),
                Schema.Literal("device_posture_results"),
                Schema.Literal("dex_application_tests"),
                Schema.Literal("dex_device_state_events"),
                Schema.Literal("dlp_forensic_copies"),
                Schema.Literal("dns_firewall_logs"),
                Schema.Literal("dns_logs"),
                Schema.Literal("email_security_alerts"),
                Schema.Literal("firewall_events"),
                Schema.Literal("gateway_dns"),
                Schema.Literal("gateway_http"),
                Schema.Literal("gateway_network"),
                Schema.Literal("http_requests"),
                Schema.Literal("ipsec_logs"),
                Schema.Literal("magic_ids_detections"),
                Schema.Literal("nel_reports"),
                Schema.Literal("network_analytics_logs"),
                Schema.Literal("page_shield_events"),
                Schema.Literal("sinkhole_http_logs"),
                Schema.Literal("spectrum_events"),
                Schema.Literal("ssh_logs"),
                Schema.Literal("warp_config_changes"),
                Schema.Literal("warp_toggle_changes"),
                Schema.Literal("workers_trace_events"),
                Schema.Literal("zaraz_events"),
                Schema.Literal("zero_trust_network_sessions"),
                Schema.Null,
            ])),
            destinationConf: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
            enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
            errorMessage: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
            frequency: Schema.optional(Schema.Union([
                Schema.Literal("high"),
                Schema.Literal("low"),
                Schema.Null,
            ])),
            kind: Schema.optional(Schema.Union([Schema.Literals(["", "edge"]), Schema.Null])),
            lastComplete: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
            lastError: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
            logpullOptions: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
            maxUploadBytes: Schema.optional(Schema.Union([Schema.Literal("0"), Schema.Number, Schema.Null])),
            maxUploadIntervalSeconds: Schema.optional(Schema.Union([Schema.Literal("0"), Schema.Number, Schema.Null])),
            maxUploadRecords: Schema.optional(Schema.Union([Schema.Literal("0"), Schema.Number, Schema.Null])),
            name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
            outputOptions: Schema.optional(Schema.Union([
                Schema.Struct({
                    batchPrefix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
                    batchSuffix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
                    "cve-2021-44228": Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
                    fieldDelimiter: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
                    fieldNames: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
                    outputType: Schema.optional(Schema.Union([Schema.Literals(["ndjson", "csv"]), Schema.Null])),
                    recordDelimiter: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
                    recordPrefix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
                    recordSuffix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
                    recordTemplate: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
                    sampleRate: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
                    timestampFormat: Schema.optional(Schema.Union([
                        Schema.Literals(["unixnano", "unix", "rfc3339"]),
                        Schema.Null,
                    ])),
                }).pipe(Schema.encodeKeys({
                    batchPrefix: "batch_prefix",
                    batchSuffix: "batch_suffix",
                    "cve-2021-44228": "CVE-2021-44228",
                    fieldDelimiter: "field_delimiter",
                    fieldNames: "field_names",
                    outputType: "output_type",
                    recordDelimiter: "record_delimiter",
                    recordPrefix: "record_prefix",
                    recordSuffix: "record_suffix",
                    recordTemplate: "record_template",
                    sampleRate: "sample_rate",
                    timestampFormat: "timestamp_format",
                })),
                Schema.Null,
            ])),
        }).pipe(Schema.encodeKeys({
            id: "id",
            dataset: "dataset",
            destinationConf: "destination_conf",
            enabled: "enabled",
            errorMessage: "error_message",
            frequency: "frequency",
            kind: "kind",
            lastComplete: "last_complete",
            lastError: "last_error",
            logpullOptions: "logpull_options",
            maxUploadBytes: "max_upload_bytes",
            maxUploadIntervalSeconds: "max_upload_interval_seconds",
            maxUploadRecords: "max_upload_records",
            name: "name",
            outputOptions: "output_options",
        })),
        Schema.Null,
    ])),
});
export const listJobs = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
    input: ListJobsRequest,
    output: ListJobsResponse,
    errors: [],
    pagination: {
        mode: "single",
        items: "result",
    },
}));
export const CreateJobRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    accountId: Schema.String.pipe(T.HttpPath("account_id")),
    zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
    destinationConf: Schema.String,
    dataset: Schema.optional(Schema.Union([
        Schema.Literal("access_requests"),
        Schema.Literal("audit_logs"),
        Schema.Literal("audit_logs_v2"),
        Schema.Literal("biso_user_actions"),
        Schema.Literal("casb_findings"),
        Schema.Literal("device_posture_results"),
        Schema.Literal("dex_application_tests"),
        Schema.Literal("dex_device_state_events"),
        Schema.Literal("dlp_forensic_copies"),
        Schema.Literal("dns_firewall_logs"),
        Schema.Literal("dns_logs"),
        Schema.Literal("email_security_alerts"),
        Schema.Literal("firewall_events"),
        Schema.Literal("gateway_dns"),
        Schema.Literal("gateway_http"),
        Schema.Literal("gateway_network"),
        Schema.Literal("http_requests"),
        Schema.Literal("ipsec_logs"),
        Schema.Literal("magic_ids_detections"),
        Schema.Literal("nel_reports"),
        Schema.Literal("network_analytics_logs"),
        Schema.Literal("page_shield_events"),
        Schema.Literal("sinkhole_http_logs"),
        Schema.Literal("spectrum_events"),
        Schema.Literal("ssh_logs"),
        Schema.Literal("warp_config_changes"),
        Schema.Literal("warp_toggle_changes"),
        Schema.Literal("workers_trace_events"),
        Schema.Literal("zaraz_events"),
        Schema.Literal("zero_trust_network_sessions"),
        Schema.Null,
    ])),
    enabled: Schema.optional(Schema.Boolean),
    filter: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    frequency: Schema.optional(Schema.Union([Schema.Literal("high"), Schema.Literal("low"), Schema.Null])),
    kind: Schema.optional(Schema.Literals(["", "edge"])),
    logpullOptions: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    maxUploadBytes: Schema.optional(Schema.Union([Schema.Literal("0"), Schema.Number, Schema.Null])),
    maxUploadIntervalSeconds: Schema.optional(Schema.Union([Schema.Literal("0"), Schema.Number, Schema.Null])),
    maxUploadRecords: Schema.optional(Schema.Union([Schema.Literal("0"), Schema.Number, Schema.Null])),
    name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    outputOptions: Schema.optional(Schema.Union([
        Schema.Struct({
            batchPrefix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
            batchSuffix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
            "cve-2021-44228": Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
            fieldDelimiter: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
            fieldNames: Schema.optional(Schema.Array(Schema.String)),
            outputType: Schema.optional(Schema.Literals(["ndjson", "csv"])),
            recordDelimiter: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
            recordPrefix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
            recordSuffix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
            recordTemplate: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
            sampleRate: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
            timestampFormat: Schema.optional(Schema.Literals(["unixnano", "unix", "rfc3339"])),
        }).pipe(Schema.encodeKeys({
            batchPrefix: "batch_prefix",
            batchSuffix: "batch_suffix",
            "cve-2021-44228": "CVE-2021-44228",
            fieldDelimiter: "field_delimiter",
            fieldNames: "field_names",
            outputType: "output_type",
            recordDelimiter: "record_delimiter",
            recordPrefix: "record_prefix",
            recordSuffix: "record_suffix",
            recordTemplate: "record_template",
            sampleRate: "sample_rate",
            timestampFormat: "timestamp_format",
        })),
        Schema.Null,
    ])),
    ownershipChallenge: Schema.optional(Schema.String),
}).pipe(Schema.encodeKeys({
    destinationConf: "destination_conf",
    dataset: "dataset",
    enabled: "enabled",
    filter: "filter",
    frequency: "frequency",
    kind: "kind",
    logpullOptions: "logpull_options",
    maxUploadBytes: "max_upload_bytes",
    maxUploadIntervalSeconds: "max_upload_interval_seconds",
    maxUploadRecords: "max_upload_records",
    name: "name",
    outputOptions: "output_options",
    ownershipChallenge: "ownership_challenge",
}), T.Http({
    method: "POST",
    path: "/{accountOrZone}/{accountOrZoneId}/logpush/jobs",
}));
export const CreateJobResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    id: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
    dataset: Schema.optional(Schema.Union([
        Schema.Literal("access_requests"),
        Schema.Literal("audit_logs"),
        Schema.Literal("audit_logs_v2"),
        Schema.Literal("biso_user_actions"),
        Schema.Literal("casb_findings"),
        Schema.Literal("device_posture_results"),
        Schema.Literal("dex_application_tests"),
        Schema.Literal("dex_device_state_events"),
        Schema.Literal("dlp_forensic_copies"),
        Schema.Literal("dns_firewall_logs"),
        Schema.Literal("dns_logs"),
        Schema.Literal("email_security_alerts"),
        Schema.Literal("firewall_events"),
        Schema.Literal("gateway_dns"),
        Schema.Literal("gateway_http"),
        Schema.Literal("gateway_network"),
        Schema.Literal("http_requests"),
        Schema.Literal("ipsec_logs"),
        Schema.Literal("magic_ids_detections"),
        Schema.Literal("nel_reports"),
        Schema.Literal("network_analytics_logs"),
        Schema.Literal("page_shield_events"),
        Schema.Literal("sinkhole_http_logs"),
        Schema.Literal("spectrum_events"),
        Schema.Literal("ssh_logs"),
        Schema.Literal("warp_config_changes"),
        Schema.Literal("warp_toggle_changes"),
        Schema.Literal("workers_trace_events"),
        Schema.Literal("zaraz_events"),
        Schema.Literal("zero_trust_network_sessions"),
        Schema.Null,
    ])),
    destinationConf: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
    errorMessage: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    frequency: Schema.optional(Schema.Union([Schema.Literal("high"), Schema.Literal("low"), Schema.Null])),
    kind: Schema.optional(Schema.Union([Schema.Literals(["", "edge"]), Schema.Null])),
    lastComplete: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    lastError: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    logpullOptions: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    maxUploadBytes: Schema.optional(Schema.Union([Schema.Literal("0"), Schema.Number, Schema.Null])),
    maxUploadIntervalSeconds: Schema.optional(Schema.Union([Schema.Literal("0"), Schema.Number, Schema.Null])),
    maxUploadRecords: Schema.optional(Schema.Union([Schema.Literal("0"), Schema.Number, Schema.Null])),
    name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    outputOptions: Schema.optional(Schema.Union([
        Schema.Struct({
            batchPrefix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
            batchSuffix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
            "cve-2021-44228": Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
            fieldDelimiter: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
            fieldNames: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
            outputType: Schema.optional(Schema.Union([Schema.Literals(["ndjson", "csv"]), Schema.Null])),
            recordDelimiter: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
            recordPrefix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
            recordSuffix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
            recordTemplate: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
            sampleRate: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
            timestampFormat: Schema.optional(Schema.Union([
                Schema.Literals(["unixnano", "unix", "rfc3339"]),
                Schema.Null,
            ])),
        }).pipe(Schema.encodeKeys({
            batchPrefix: "batch_prefix",
            batchSuffix: "batch_suffix",
            "cve-2021-44228": "CVE-2021-44228",
            fieldDelimiter: "field_delimiter",
            fieldNames: "field_names",
            outputType: "output_type",
            recordDelimiter: "record_delimiter",
            recordPrefix: "record_prefix",
            recordSuffix: "record_suffix",
            recordTemplate: "record_template",
            sampleRate: "sample_rate",
            timestampFormat: "timestamp_format",
        })),
        Schema.Null,
    ])),
})
    .pipe(Schema.encodeKeys({
    id: "id",
    dataset: "dataset",
    destinationConf: "destination_conf",
    enabled: "enabled",
    errorMessage: "error_message",
    frequency: "frequency",
    kind: "kind",
    lastComplete: "last_complete",
    lastError: "last_error",
    logpullOptions: "logpull_options",
    maxUploadBytes: "max_upload_bytes",
    maxUploadIntervalSeconds: "max_upload_interval_seconds",
    maxUploadRecords: "max_upload_records",
    name: "name",
    outputOptions: "output_options",
}))
    .pipe(T.ResponsePath("result"));
export const createJob = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
    input: CreateJobRequest,
    output: CreateJobResponse,
    errors: [],
}));
export const UpdateJobRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    jobId: Schema.Number.pipe(T.HttpPath("jobId")),
    accountId: Schema.String.pipe(T.HttpPath("account_id")),
    zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
    destinationConf: Schema.optional(Schema.String),
    enabled: Schema.optional(Schema.Boolean),
    filter: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    frequency: Schema.optional(Schema.Union([Schema.Literal("high"), Schema.Literal("low"), Schema.Null])),
    kind: Schema.optional(Schema.Literals(["", "edge"])),
    logpullOptions: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    maxUploadBytes: Schema.optional(Schema.Union([Schema.Literal("0"), Schema.Number, Schema.Null])),
    maxUploadIntervalSeconds: Schema.optional(Schema.Union([Schema.Literal("0"), Schema.Number, Schema.Null])),
    maxUploadRecords: Schema.optional(Schema.Union([Schema.Literal("0"), Schema.Number, Schema.Null])),
    name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    outputOptions: Schema.optional(Schema.Union([
        Schema.Struct({
            batchPrefix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
            batchSuffix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
            "cve-2021-44228": Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
            fieldDelimiter: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
            fieldNames: Schema.optional(Schema.Array(Schema.String)),
            outputType: Schema.optional(Schema.Literals(["ndjson", "csv"])),
            recordDelimiter: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
            recordPrefix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
            recordSuffix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
            recordTemplate: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
            sampleRate: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
            timestampFormat: Schema.optional(Schema.Literals(["unixnano", "unix", "rfc3339"])),
        }).pipe(Schema.encodeKeys({
            batchPrefix: "batch_prefix",
            batchSuffix: "batch_suffix",
            "cve-2021-44228": "CVE-2021-44228",
            fieldDelimiter: "field_delimiter",
            fieldNames: "field_names",
            outputType: "output_type",
            recordDelimiter: "record_delimiter",
            recordPrefix: "record_prefix",
            recordSuffix: "record_suffix",
            recordTemplate: "record_template",
            sampleRate: "sample_rate",
            timestampFormat: "timestamp_format",
        })),
        Schema.Null,
    ])),
    ownershipChallenge: Schema.optional(Schema.String),
}).pipe(Schema.encodeKeys({
    destinationConf: "destination_conf",
    enabled: "enabled",
    filter: "filter",
    frequency: "frequency",
    kind: "kind",
    logpullOptions: "logpull_options",
    maxUploadBytes: "max_upload_bytes",
    maxUploadIntervalSeconds: "max_upload_interval_seconds",
    maxUploadRecords: "max_upload_records",
    name: "name",
    outputOptions: "output_options",
    ownershipChallenge: "ownership_challenge",
}), T.Http({
    method: "PUT",
    path: "/{accountOrZone}/{accountOrZoneId}/logpush/jobs/{jobId}",
}));
export const UpdateJobResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    id: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
    dataset: Schema.optional(Schema.Union([
        Schema.Literal("access_requests"),
        Schema.Literal("audit_logs"),
        Schema.Literal("audit_logs_v2"),
        Schema.Literal("biso_user_actions"),
        Schema.Literal("casb_findings"),
        Schema.Literal("device_posture_results"),
        Schema.Literal("dex_application_tests"),
        Schema.Literal("dex_device_state_events"),
        Schema.Literal("dlp_forensic_copies"),
        Schema.Literal("dns_firewall_logs"),
        Schema.Literal("dns_logs"),
        Schema.Literal("email_security_alerts"),
        Schema.Literal("firewall_events"),
        Schema.Literal("gateway_dns"),
        Schema.Literal("gateway_http"),
        Schema.Literal("gateway_network"),
        Schema.Literal("http_requests"),
        Schema.Literal("ipsec_logs"),
        Schema.Literal("magic_ids_detections"),
        Schema.Literal("nel_reports"),
        Schema.Literal("network_analytics_logs"),
        Schema.Literal("page_shield_events"),
        Schema.Literal("sinkhole_http_logs"),
        Schema.Literal("spectrum_events"),
        Schema.Literal("ssh_logs"),
        Schema.Literal("warp_config_changes"),
        Schema.Literal("warp_toggle_changes"),
        Schema.Literal("workers_trace_events"),
        Schema.Literal("zaraz_events"),
        Schema.Literal("zero_trust_network_sessions"),
        Schema.Null,
    ])),
    destinationConf: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
    errorMessage: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    frequency: Schema.optional(Schema.Union([Schema.Literal("high"), Schema.Literal("low"), Schema.Null])),
    kind: Schema.optional(Schema.Union([Schema.Literals(["", "edge"]), Schema.Null])),
    lastComplete: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    lastError: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    logpullOptions: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    maxUploadBytes: Schema.optional(Schema.Union([Schema.Literal("0"), Schema.Number, Schema.Null])),
    maxUploadIntervalSeconds: Schema.optional(Schema.Union([Schema.Literal("0"), Schema.Number, Schema.Null])),
    maxUploadRecords: Schema.optional(Schema.Union([Schema.Literal("0"), Schema.Number, Schema.Null])),
    name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    outputOptions: Schema.optional(Schema.Union([
        Schema.Struct({
            batchPrefix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
            batchSuffix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
            "cve-2021-44228": Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
            fieldDelimiter: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
            fieldNames: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
            outputType: Schema.optional(Schema.Union([Schema.Literals(["ndjson", "csv"]), Schema.Null])),
            recordDelimiter: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
            recordPrefix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
            recordSuffix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
            recordTemplate: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
            sampleRate: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
            timestampFormat: Schema.optional(Schema.Union([
                Schema.Literals(["unixnano", "unix", "rfc3339"]),
                Schema.Null,
            ])),
        }).pipe(Schema.encodeKeys({
            batchPrefix: "batch_prefix",
            batchSuffix: "batch_suffix",
            "cve-2021-44228": "CVE-2021-44228",
            fieldDelimiter: "field_delimiter",
            fieldNames: "field_names",
            outputType: "output_type",
            recordDelimiter: "record_delimiter",
            recordPrefix: "record_prefix",
            recordSuffix: "record_suffix",
            recordTemplate: "record_template",
            sampleRate: "sample_rate",
            timestampFormat: "timestamp_format",
        })),
        Schema.Null,
    ])),
})
    .pipe(Schema.encodeKeys({
    id: "id",
    dataset: "dataset",
    destinationConf: "destination_conf",
    enabled: "enabled",
    errorMessage: "error_message",
    frequency: "frequency",
    kind: "kind",
    lastComplete: "last_complete",
    lastError: "last_error",
    logpullOptions: "logpull_options",
    maxUploadBytes: "max_upload_bytes",
    maxUploadIntervalSeconds: "max_upload_interval_seconds",
    maxUploadRecords: "max_upload_records",
    name: "name",
    outputOptions: "output_options",
}))
    .pipe(T.ResponsePath("result"));
export const updateJob = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
    input: UpdateJobRequest,
    output: UpdateJobResponse,
    errors: [],
}));
export const DeleteJobRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    jobId: Schema.Number.pipe(T.HttpPath("jobId")),
}).pipe(T.Http({
    method: "DELETE",
    path: "/{accountOrZone}/{accountOrZoneId}/logpush/jobs/{jobId}",
}));
export const DeleteJobResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    id: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
}).pipe(T.ResponsePath("result"));
export const deleteJob = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
    input: DeleteJobRequest,
    output: DeleteJobResponse,
    errors: [],
}));
export const CreateOwnershipRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    accountId: Schema.String.pipe(T.HttpPath("account_id")),
    zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
    destinationConf: Schema.String,
}).pipe(Schema.encodeKeys({ destinationConf: "destination_conf" }), T.Http({
    method: "POST",
    path: "/{accountOrZone}/{accountOrZoneId}/logpush/ownership",
}));
export const CreateOwnershipResponse = 
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    filename: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    message: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    valid: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
}).pipe(T.ResponsePath("result"));
export const createOwnership = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
    input: CreateOwnershipRequest,
    output: CreateOwnershipResponse,
    errors: [],
}));
export const ValidateOwnershipRequest = 
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    accountId: Schema.String.pipe(T.HttpPath("account_id")),
    zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
    destinationConf: Schema.String,
    ownershipChallenge: Schema.String,
}).pipe(Schema.encodeKeys({
    destinationConf: "destination_conf",
    ownershipChallenge: "ownership_challenge",
}), T.Http({
    method: "POST",
    path: "/{accountOrZone}/{accountOrZoneId}/logpush/ownership/validate",
}));
export const ValidateOwnershipResponse = 
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    valid: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
}).pipe(T.ResponsePath("result"));
export const validateOwnership = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
    input: ValidateOwnershipRequest,
    output: ValidateOwnershipResponse,
    errors: [],
}));
export const DestinationValidateRequest = 
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    accountId: Schema.String.pipe(T.HttpPath("account_id")),
    zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
    destinationConf: Schema.String,
}).pipe(Schema.encodeKeys({ destinationConf: "destination_conf" }), T.Http({
    method: "POST",
    path: "/{accountOrZone}/{accountOrZoneId}/logpush/validate/destination",
}));
export const DestinationValidateResponse = 
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    message: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    valid: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
}).pipe(T.ResponsePath("result"));
export const destinationValidate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
    input: DestinationValidateRequest,
    output: DestinationValidateResponse,
    errors: [],
}));
export const OriginValidateRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    accountId: Schema.String.pipe(T.HttpPath("account_id")),
    zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
    logpullOptions: Schema.Union([Schema.String, Schema.Null]),
}).pipe(Schema.encodeKeys({ logpullOptions: "logpull_options" }), T.Http({
    method: "POST",
    path: "/{accountOrZone}/{accountOrZoneId}/logpush/validate/origin",
}));
export const OriginValidateResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    message: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    valid: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
}).pipe(T.ResponsePath("result"));
export const originValidate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
    input: OriginValidateRequest,
    output: OriginValidateResponse,
    errors: [],
}));
//# sourceMappingURL=logpush.js.map