import type { DCVDelegationRecord } from './DCVDelegationRecord'; /** * @type Certificate: The certificate information * * @property certificateId: Id generated by CDN provider for the certificate. * - **Pattern:** /^.*$/ * * @property hosts: List of hosts the certificate applies to. * * @property expiresOn: Date of expiration for the certificate. * * @property uploadedOn: Date the certificate was uploaded. * * @property issuer: The certificate authority that issued the certificate. * - **Pattern:** /^.*$/ * * @property signature: The type of hash used for the certificate. * - **Pattern:** /^.*$/ * * @property status: Current status of the certificate. * * @property minTlsVersion: Minimum TLS Version only allows HTTPS connections from visitors that support the selected TLS protocol version or newer. * - **Pattern:** /^.*$/ * * @property certificateType: Indicates certificate is custom cert uploaded by customer or automatic renewal certificate by eCDN. * * @property certificateAuthority: Indicates certificate issuer for automatic renewal certificate by eCDN. * * @property certificateValidation: Indicates certificate validation type for automatic renewal certificate by eCDN. * * @property certificateVerificationTXTName: eCDN automatic renewal certificate verification txt name. * - **Pattern:** /^.*$/ * * @property certificateVerificationTXTValue: eCDN automatic renewal certificate verification txt value. * - **Pattern:** /^.*$/ * * @property certificateVerificationStatus: Current status of certificate verification. * * @property wildcardHostname: Set to true for a wildcard custom hostname. * * @property wildcardCertificateVerificationTXTName: eCDN automatic renewal certificate verification txt name. * - **Pattern:** /^.*$/ * * @property wildcardCertificateVerificationTXTValue: eCDN automatic renewal certificate verification txt value. * - **Pattern:** /^.*$/ * * @property wildcardCertificateVerificationStatus: Current status of certificate verification. * * @property customHostnameVerificationTXTName: Custom Hostname verification txt name. * - **Pattern:** /^.*$/ * * @property customHostnameVerificationTXTValue: Custom Hostname verification txt value. * - **Pattern:** /^.*$/ * * @property customHostnameId: Custom hostname associated with the zone * - **Pattern:** /^.*$/ * * @property customHostname: Custom hostname associated with the zone * - **Pattern:** /^.*$/ * * @property customHostnameStatus: Current status of custom hostname validation. * * @property verificationErrors: When the custom hostname is not active, Cloudflare returns one or more verification error messages explaining why. This field is omitted if the hostname is active or no errors are present. * * @property dcvDelegationRecords: eCDN automatic renewal certificate DCV delegation records * */ export type Certificate = { certificateId: string; hosts?: Array; expiresOn?: string; uploadedOn?: string; issuer?: string; signature?: string; status: CertificateStatusEnum; minTlsVersion?: string; certificateType: CertificateCertificateTypeEnum; certificateAuthority?: CertificateCertificateAuthorityEnum; certificateValidation?: CertificateCertificateValidationEnum; certificateVerificationTXTName?: string; certificateVerificationTXTValue?: string; certificateVerificationStatus?: CertificateCertificateVerificationStatusEnum; wildcardHostname?: boolean; wildcardCertificateVerificationTXTName?: string; wildcardCertificateVerificationTXTValue?: string; wildcardCertificateVerificationStatus?: CertificateWildcardCertificateVerificationStatusEnum; customHostnameVerificationTXTName?: string; customHostnameVerificationTXTValue?: string; customHostnameId?: string; customHostname?: string; customHostnameStatus?: CertificateCustomHostnameStatusEnum; verificationErrors?: Array; dcvDelegationRecords?: Array; } & { [key: string]: any; }; export type CertificateStatusEnum = 'ACTIVE' | 'EXPIRED' | 'DELETED' | 'PENDING' | 'INITIALIZING' | 'PENDING_VALIDATION' | 'PENDING_ISSUANCE' | 'PENDING_DEPLOYMENT' | 'PENDING_DELETION' | 'VALIDATION_TIMED_OUT' | 'DEPLOYMENT_TIMED_OUT' | 'DELETION_TIMED_OUT' | 'INITIALIZING_TIMED_OUT' | 'PENDING_EXPIRATION' | 'ISSUANCE_TIMED_OUT'; export type CertificateCertificateTypeEnum = 'custom' | 'automatic' | 'custom_legacy'; export type CertificateCertificateAuthorityEnum = 'google' | 'lets_encrypt' | 'digicert'; export type CertificateCertificateValidationEnum = 'http' | 'txt'; export type CertificateCertificateVerificationStatusEnum = 'ACTIVE' | 'EXPIRED' | 'PENDING' | 'INITIALIZING' | 'PENDING_VALIDATION' | 'PENDING_ISSUANCE' | 'PENDING_DEPLOYMENT'; export type CertificateWildcardCertificateVerificationStatusEnum = 'ACTIVE' | 'EXPIRED' | 'PENDING' | 'INITIALIZING' | 'PENDING_VALIDATION' | 'PENDING_ISSUANCE' | 'PENDING_DEPLOYMENT'; export type CertificateCustomHostnameStatusEnum = 'ACTIVE' | 'EXPIRED' | 'DELETED' | 'PENDING' | 'INITIALIZING' | 'PENDING_VALIDATION' | 'PENDING_ISSUANCE' | 'PENDING_DEPLOYMENT' | 'PENDING_DELETION' | 'MOVED';