/**
 * Cloudflare ORIGIN-TLS-CLIENT-AUTH API
 *
 * Generated from Cloudflare TypeScript SDK.
 * DO NOT EDIT - regenerate with: bun scripts/generate.ts --service origin-tls-client-auth
 */
import * as Schema from "effect/Schema";
import * as API from "../client/api.js";
import * as T from "../traits.js";
import {} from "../errors.js";
import { SensitiveString } from "../sensitive.js";
export const GetHostnameRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    hostname: Schema.String.pipe(T.HttpPath("hostname")),
    zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
}).pipe(T.Http({
    method: "GET",
    path: "/zones/{zone_id}/origin_tls_client_auth/hostnames/{hostname}",
}));
export const GetHostnameResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    certId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    certStatus: Schema.optional(Schema.Union([
        Schema.Literals([
            "initializing",
            "pending_deployment",
            "pending_deletion",
            "active",
            "deleted",
            "deployment_timed_out",
            "deletion_timed_out",
        ]),
        Schema.Null,
    ])),
    certUpdatedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    certUploadedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    certificate: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    createdAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
    expiresOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    hostname: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    issuer: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    serialNumber: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    signature: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    status: Schema.optional(Schema.Union([
        Schema.Literals([
            "initializing",
            "pending_deployment",
            "pending_deletion",
            "active",
            "deleted",
            "deployment_timed_out",
            "deletion_timed_out",
        ]),
        Schema.Null,
    ])),
    updatedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
})
    .pipe(Schema.encodeKeys({
    certId: "cert_id",
    certStatus: "cert_status",
    certUpdatedAt: "cert_updated_at",
    certUploadedOn: "cert_uploaded_on",
    certificate: "certificate",
    createdAt: "created_at",
    enabled: "enabled",
    expiresOn: "expires_on",
    hostname: "hostname",
    issuer: "issuer",
    serialNumber: "serial_number",
    signature: "signature",
    status: "status",
    updatedAt: "updated_at",
}))
    .pipe(T.ResponsePath("result"));
export const getHostname = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
    input: GetHostnameRequest,
    output: GetHostnameResponse,
    errors: [],
}));
export const PutHostnameRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
    config: Schema.Array(Schema.Struct({
        certId: Schema.optional(Schema.String),
        enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
        hostname: Schema.optional(Schema.String),
    }).pipe(Schema.encodeKeys({
        certId: "cert_id",
        enabled: "enabled",
        hostname: "hostname",
    }))),
}).pipe(T.Http({
    method: "PUT",
    path: "/zones/{zone_id}/origin_tls_client_auth/hostnames",
}));
export const PutHostnameResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    result: Schema.Array(Schema.Struct({
        certId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
        certStatus: Schema.optional(Schema.Union([
            Schema.Literals([
                "initializing",
                "pending_deployment",
                "pending_deletion",
                "active",
                "deleted",
                "deployment_timed_out",
                "deletion_timed_out",
            ]),
            Schema.Null,
        ])),
        certUpdatedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
        certUploadedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
        certificate: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
        createdAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
        enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
        expiresOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
        hostname: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
        issuer: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
        serialNumber: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
        signature: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
        status: Schema.optional(Schema.Union([
            Schema.Literals([
                "initializing",
                "pending_deployment",
                "pending_deletion",
                "active",
                "deleted",
                "deployment_timed_out",
                "deletion_timed_out",
            ]),
            Schema.Null,
        ])),
        updatedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
        id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
        privateKey: Schema.optional(Schema.Union([SensitiveString, Schema.Null])),
    }).pipe(Schema.encodeKeys({
        certId: "cert_id",
        certStatus: "cert_status",
        certUpdatedAt: "cert_updated_at",
        certUploadedOn: "cert_uploaded_on",
        certificate: "certificate",
        createdAt: "created_at",
        enabled: "enabled",
        expiresOn: "expires_on",
        hostname: "hostname",
        issuer: "issuer",
        serialNumber: "serial_number",
        signature: "signature",
        status: "status",
        updatedAt: "updated_at",
        id: "id",
        privateKey: "private_key",
    }))),
});
export const putHostname = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
    input: PutHostnameRequest,
    output: PutHostnameResponse,
    errors: [],
    pagination: {
        mode: "single",
        items: "result",
    },
}));
export const GetHostnameCertificateRequest = 
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    certificateId: Schema.String.pipe(T.HttpPath("certificateId")),
    zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
}).pipe(T.Http({
    method: "GET",
    path: "/zones/{zone_id}/origin_tls_client_auth/hostnames/certificates/{certificateId}",
}));
export const GetHostnameCertificateResponse = 
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    certificate: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    expiresOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    issuer: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    serialNumber: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    signature: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    status: Schema.optional(Schema.Union([
        Schema.Literals([
            "initializing",
            "pending_deployment",
            "pending_deletion",
            "active",
            "deleted",
            "deployment_timed_out",
            "deletion_timed_out",
        ]),
        Schema.Null,
    ])),
    uploadedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
})
    .pipe(Schema.encodeKeys({
    id: "id",
    certificate: "certificate",
    expiresOn: "expires_on",
    issuer: "issuer",
    serialNumber: "serial_number",
    signature: "signature",
    status: "status",
    uploadedOn: "uploaded_on",
}))
    .pipe(T.ResponsePath("result"));
export const getHostnameCertificate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
    input: GetHostnameCertificateRequest,
    output: GetHostnameCertificateResponse,
    errors: [],
}));
export const ListHostnameCertificatesRequest = 
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
}).pipe(T.Http({
    method: "GET",
    path: "/zones/{zone_id}/origin_tls_client_auth/hostnames/certificates",
}));
export const ListHostnameCertificatesResponse = 
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    result: Schema.Array(Schema.Struct({
        certId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
        certStatus: Schema.optional(Schema.Union([
            Schema.Literals([
                "initializing",
                "pending_deployment",
                "pending_deletion",
                "active",
                "deleted",
                "deployment_timed_out",
                "deletion_timed_out",
            ]),
            Schema.Null,
        ])),
        certUpdatedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
        certUploadedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
        certificate: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
        createdAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
        enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
        expiresOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
        hostname: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
        issuer: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
        serialNumber: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
        signature: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
        status: Schema.optional(Schema.Union([
            Schema.Literals([
                "initializing",
                "pending_deployment",
                "pending_deletion",
                "active",
                "deleted",
                "deployment_timed_out",
                "deletion_timed_out",
            ]),
            Schema.Null,
        ])),
        updatedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
        id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
        privateKey: Schema.optional(Schema.Union([SensitiveString, Schema.Null])),
    }).pipe(Schema.encodeKeys({
        certId: "cert_id",
        certStatus: "cert_status",
        certUpdatedAt: "cert_updated_at",
        certUploadedOn: "cert_uploaded_on",
        certificate: "certificate",
        createdAt: "created_at",
        enabled: "enabled",
        expiresOn: "expires_on",
        hostname: "hostname",
        issuer: "issuer",
        serialNumber: "serial_number",
        signature: "signature",
        status: "status",
        updatedAt: "updated_at",
        id: "id",
        privateKey: "private_key",
    }))),
});
export const listHostnameCertificates = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
    input: ListHostnameCertificatesRequest,
    output: ListHostnameCertificatesResponse,
    errors: [],
    pagination: {
        mode: "single",
        items: "result",
    },
}));
export const CreateHostnameCertificateRequest = 
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
    certificate: Schema.String,
    privateKey: Schema.String,
}).pipe(Schema.encodeKeys({
    certificate: "certificate",
    privateKey: "private_key",
}), T.Http({
    method: "POST",
    path: "/zones/{zone_id}/origin_tls_client_auth/hostnames/certificates",
}));
export const CreateHostnameCertificateResponse = 
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    certificate: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    expiresOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    issuer: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    serialNumber: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    signature: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    status: Schema.optional(Schema.Union([
        Schema.Literals([
            "initializing",
            "pending_deployment",
            "pending_deletion",
            "active",
            "deleted",
            "deployment_timed_out",
            "deletion_timed_out",
        ]),
        Schema.Null,
    ])),
    uploadedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
})
    .pipe(Schema.encodeKeys({
    id: "id",
    certificate: "certificate",
    expiresOn: "expires_on",
    issuer: "issuer",
    serialNumber: "serial_number",
    signature: "signature",
    status: "status",
    uploadedOn: "uploaded_on",
}))
    .pipe(T.ResponsePath("result"));
export const createHostnameCertificate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
    input: CreateHostnameCertificateRequest,
    output: CreateHostnameCertificateResponse,
    errors: [],
}));
export const DeleteHostnameCertificateRequest = 
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    certificateId: Schema.String.pipe(T.HttpPath("certificateId")),
    zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
}).pipe(T.Http({
    method: "DELETE",
    path: "/zones/{zone_id}/origin_tls_client_auth/hostnames/certificates/{certificateId}",
}));
export const DeleteHostnameCertificateResponse = 
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    certificate: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    expiresOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    issuer: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    serialNumber: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    signature: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    status: Schema.optional(Schema.Union([
        Schema.Literals([
            "initializing",
            "pending_deployment",
            "pending_deletion",
            "active",
            "deleted",
            "deployment_timed_out",
            "deletion_timed_out",
        ]),
        Schema.Null,
    ])),
    uploadedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
})
    .pipe(Schema.encodeKeys({
    id: "id",
    certificate: "certificate",
    expiresOn: "expires_on",
    issuer: "issuer",
    serialNumber: "serial_number",
    signature: "signature",
    status: "status",
    uploadedOn: "uploaded_on",
}))
    .pipe(T.ResponsePath("result"));
export const deleteHostnameCertificate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
    input: DeleteHostnameCertificateRequest,
    output: DeleteHostnameCertificateResponse,
    errors: [],
}));
export const GetOriginTlsClientAuthRequest = 
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    certificateId: Schema.String.pipe(T.HttpPath("certificateId")),
    zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
}).pipe(T.Http({
    method: "GET",
    path: "/zones/{zone_id}/origin_tls_client_auth/{certificateId}",
}));
export const GetOriginTlsClientAuthResponse = 
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    certificate: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    expiresOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    issuer: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    signature: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    status: Schema.optional(Schema.Union([
        Schema.Literals([
            "initializing",
            "pending_deployment",
            "pending_deletion",
            "active",
            "deleted",
            "deployment_timed_out",
            "deletion_timed_out",
        ]),
        Schema.Null,
    ])),
    uploadedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
    privateKey: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
})
    .pipe(Schema.encodeKeys({
    id: "id",
    certificate: "certificate",
    expiresOn: "expires_on",
    issuer: "issuer",
    signature: "signature",
    status: "status",
    uploadedOn: "uploaded_on",
    enabled: "enabled",
    privateKey: "private_key",
}))
    .pipe(T.ResponsePath("result"));
export const getOriginTlsClientAuth = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
    input: GetOriginTlsClientAuthRequest,
    output: GetOriginTlsClientAuthResponse,
    errors: [],
}));
export const ListOriginTlsClientAuthsRequest = 
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
}).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/origin_tls_client_auth" }));
export const ListOriginTlsClientAuthsResponse = 
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    result: Schema.Array(Schema.Struct({
        id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
        certificate: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
        expiresOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
        issuer: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
        signature: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
        status: Schema.optional(Schema.Union([
            Schema.Literals([
                "initializing",
                "pending_deployment",
                "pending_deletion",
                "active",
                "deleted",
                "deployment_timed_out",
                "deletion_timed_out",
            ]),
            Schema.Null,
        ])),
        uploadedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
        enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
        privateKey: Schema.optional(Schema.Union([SensitiveString, Schema.Null])),
    }).pipe(Schema.encodeKeys({
        id: "id",
        certificate: "certificate",
        expiresOn: "expires_on",
        issuer: "issuer",
        signature: "signature",
        status: "status",
        uploadedOn: "uploaded_on",
        enabled: "enabled",
        privateKey: "private_key",
    }))),
});
export const listOriginTlsClientAuths = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
    input: ListOriginTlsClientAuthsRequest,
    output: ListOriginTlsClientAuthsResponse,
    errors: [],
    pagination: {
        mode: "single",
        items: "result",
    },
}));
export const CreateOriginTlsClientAuthRequest = 
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
    certificate: Schema.String,
    privateKey: Schema.String,
}).pipe(Schema.encodeKeys({
    certificate: "certificate",
    privateKey: "private_key",
}), T.Http({ method: "POST", path: "/zones/{zone_id}/origin_tls_client_auth" }));
export const CreateOriginTlsClientAuthResponse = 
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    certificate: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    expiresOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    issuer: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    signature: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    status: Schema.optional(Schema.Union([
        Schema.Literals([
            "initializing",
            "pending_deployment",
            "pending_deletion",
            "active",
            "deleted",
            "deployment_timed_out",
            "deletion_timed_out",
        ]),
        Schema.Null,
    ])),
    uploadedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
    privateKey: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
})
    .pipe(Schema.encodeKeys({
    id: "id",
    certificate: "certificate",
    expiresOn: "expires_on",
    issuer: "issuer",
    signature: "signature",
    status: "status",
    uploadedOn: "uploaded_on",
    enabled: "enabled",
    privateKey: "private_key",
}))
    .pipe(T.ResponsePath("result"));
export const createOriginTlsClientAuth = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
    input: CreateOriginTlsClientAuthRequest,
    output: CreateOriginTlsClientAuthResponse,
    errors: [],
}));
export const DeleteOriginTlsClientAuthRequest = 
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    certificateId: Schema.String.pipe(T.HttpPath("certificateId")),
    zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
}).pipe(T.Http({
    method: "DELETE",
    path: "/zones/{zone_id}/origin_tls_client_auth/{certificateId}",
}));
export const DeleteOriginTlsClientAuthResponse = 
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    certificate: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    expiresOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    issuer: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    signature: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    status: Schema.optional(Schema.Union([
        Schema.Literals([
            "initializing",
            "pending_deployment",
            "pending_deletion",
            "active",
            "deleted",
            "deployment_timed_out",
            "deletion_timed_out",
        ]),
        Schema.Null,
    ])),
    uploadedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
    enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
    privateKey: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
})
    .pipe(Schema.encodeKeys({
    id: "id",
    certificate: "certificate",
    expiresOn: "expires_on",
    issuer: "issuer",
    signature: "signature",
    status: "status",
    uploadedOn: "uploaded_on",
    enabled: "enabled",
    privateKey: "private_key",
}))
    .pipe(T.ResponsePath("result"));
export const deleteOriginTlsClientAuth = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
    input: DeleteOriginTlsClientAuthRequest,
    output: DeleteOriginTlsClientAuthResponse,
    errors: [],
}));
export const GetSettingRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
}).pipe(T.Http({
    method: "GET",
    path: "/zones/{zone_id}/origin_tls_client_auth/settings",
}));
export const GetSettingResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
}).pipe(T.ResponsePath("result"));
export const getSetting = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
    input: GetSettingRequest,
    output: GetSettingResponse,
    errors: [],
}));
export const PutSettingRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
    enabled: Schema.Boolean,
}).pipe(T.Http({
    method: "PUT",
    path: "/zones/{zone_id}/origin_tls_client_auth/settings",
}));
export const PutSettingResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
}).pipe(T.ResponsePath("result"));
export const putSetting = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
    input: PutSettingRequest,
    output: PutSettingResponse,
    errors: [],
}));
//# sourceMappingURL=origin-tls-client-auth.js.map