/** * Do not edit this file it is auto-generated by io-utils / gen-api-models. * See https://github.com/pagopa/io-utils */ /* eslint-disable */ import * as t from "io-ts"; import { NonEmptyString } from "@pagopa/ts-commons/lib/strings"; // required attributes const RCClientCertR = t.interface({ client_cert: NonEmptyString, client_key: NonEmptyString, server_ca: NonEmptyString }); // optional attributes const RCClientCertO = t.partial({}); export const RCClientCert = t.exact( t.intersection([RCClientCertR, RCClientCertO], "RCClientCert") ); export type RCClientCert = t.TypeOf;