import * as S from "@distilled.cloud/core/schema"; import * as API from "@distilled.cloud/core/api"; import { type CloudflareOpError, type CloudflareOpContext } from "../protocol.ts"; import { ResultInfo } from "../pagination.ts"; export type { CloudflareOpError, CloudflareOpContext }; declare const CustomHostnameNotFound_base: S.Class, import("effect/Cause").YieldableError>; export declare class CustomHostnameNotFound extends /*@__PURE__*/ CustomHostnameNotFound_base { } declare const FallbackOriginNotFound_base: S.Class, import("effect/Cause").YieldableError>; export declare class FallbackOriginNotFound extends /*@__PURE__*/ FallbackOriginNotFound_base { } declare const Forbidden_base: S.Class, import("effect/Cause").YieldableError>; export declare class Forbidden extends /*@__PURE__*/ Forbidden_base { } declare const SaasAccessNotGranted_base: S.Class, import("effect/Cause").YieldableError>; export declare class SaasAccessNotGranted extends /*@__PURE__*/ SaasAccessNotGranted_base { } declare const SaasQuotaNotAllocated_base: S.Class, import("effect/Cause").YieldableError>; export declare class SaasQuotaNotAllocated extends /*@__PURE__*/ SaasQuotaNotAllocated_base { } export type CreateRequestCustomMetadataMap = { [key: string]: unknown | undefined; }; export declare const CreateRequestCustomMetadataMap: S.Schema; export type CreateRequestSslBundleMethod = "ubiquitous" | "optimal" | "force"; export declare const CreateRequestSslBundleMethod: any; export type CreateRequestSslCertificateAuthority = "digicert" | "google" | "lets_encrypt" | "ssl_com"; export declare const CreateRequestSslCertificateAuthority: any; export interface CreateRequestSslCustomCertBundleItem { /** If a custom uploaded certificate is used. */ customCertificate: string; /** The key for a custom uploaded certificate. */ customKey: string; } export declare const CreateRequestSslCustomCertBundleItem: S.Schema; export type CreateRequestSslCustomCertBundleList = Array; export declare const CreateRequestSslCustomCertBundleList: S.Schema; export type CreateRequestSslMethod = "http" | "txt" | "email"; export declare const CreateRequestSslMethod: any; export type CreateRequestSslSettingsCiphersList = Array; export declare const CreateRequestSslSettingsCiphersList: S.Schema; export type CreateRequestSslSettingsEarlyHints = "on" | "off"; export declare const CreateRequestSslSettingsEarlyHints: any; export type CreateRequestSslSettingsHttp2 = "on" | "off"; export declare const CreateRequestSslSettingsHttp2: any; export type CreateRequestSslSettingsMinTlsVersion = "1.0" | "1.1" | "1.2" | "1.3"; export declare const CreateRequestSslSettingsMinTlsVersion: any; export type CreateRequestSslSettingsTls13 = "on" | "off"; export declare const CreateRequestSslSettingsTls13: any; export interface CreateRequestSslSettings { /** An allowlist of ciphers for TLS termination. These ciphers must be in the BoringSSL format. */ ciphers?: CreateRequestSslSettingsCiphersList; /** Whether or not Early Hints is enabled. */ earlyHints?: CreateRequestSslSettingsEarlyHints | (string & {}); /** Whether or not HTTP2 is enabled. */ http2?: CreateRequestSslSettingsHttp2 | (string & {}); /** The minimum TLS version supported. */ minTlsVersion?: CreateRequestSslSettingsMinTlsVersion | (string & {}); /** Whether or not TLS 1.3 is enabled. */ tls_1_3?: CreateRequestSslSettingsTls13 | (string & {}); } export declare const CreateRequestSslSettings: S.Schema; export type CreateRequestSslType = "dv"; export declare const CreateRequestSslType: any; export interface CreateRequestSsl { /** A ubiquitous bundle has the highest probability of being verified everywhere, even by clients using outdated or unusual trust stores. An optimal bundle uses the shortest chain and newest intermediates. And the force bundle verifies the chain, but does not otherwise modify it. */ bundleMethod?: CreateRequestSslBundleMethod | (string & {}); /** The Certificate Authority that will issue the certificate. */ certificateAuthority?: CreateRequestSslCertificateAuthority | (string & {}); /** Whether or not to add Cloudflare Branding for the order. This will add a subdomain of sni.cloudflaressl.com as the Common Name if set to true. */ cloudflareBranding?: boolean; /** Array of custom certificate and key pairs (1 or 2 pairs allowed). */ customCertBundle?: CreateRequestSslCustomCertBundleList; /** If a custom uploaded certificate is used. */ customCertificate?: string; /** The identifier for the Custom CSR that was used. */ customCsrId?: string; /** The key for a custom uploaded certificate. */ customKey?: string; /** Domain control validation (DCV) method used for this hostname. */ method?: CreateRequestSslMethod | (string & {}); /** SSL specific settings. */ settings?: CreateRequestSslSettings; /** Level of validation to be used for this hostname. Domain validation (dv) must be used. */ type?: CreateRequestSslType | (string & {}); /** Indicates whether the certificate covers a wildcard. */ wildcard?: boolean; } export declare const CreateRequestSsl: S.Schema; export interface CreateCustomHostnameRequest { /** Identifier. */ zoneId: string; /** The custom hostname that will point to your hostname via CNAME. */ hostname: string; /** Unique key/value metadata for this hostname. These are per-hostname (customer) settings. */ customMetadata?: CreateRequestCustomMetadataMap; /** SSL properties used when creating the custom hostname. */ ssl?: CreateRequestSsl; } export declare const CreateCustomHostnameRequest: S.Schema; export type CreateResponseCustomMetadataMap = { [key: string]: unknown | undefined; }; export declare const CreateResponseCustomMetadataMap: S.Schema; export type CreateResponseOwnershipVerificationType = "txt"; export declare const CreateResponseOwnershipVerificationType: any; export interface CreateResponseOwnershipVerification { /** DNS Name for record. */ name?: string | null; /** DNS Record type. */ type?: CreateResponseOwnershipVerificationType | null; /** Content for the record. */ value?: string | null; } export declare const CreateResponseOwnershipVerification: S.Schema; export interface CreateResponseOwnershipVerificationHttp { /** Token to be served. */ httpBody?: string | null; /** The HTTP URL that will be checked during custom hostname verification and where the customer should host the token. */ httpUrl?: string | null; } export declare const CreateResponseOwnershipVerificationHttp: S.Schema; export type CreateResponseSslBundleMethod = "ubiquitous" | "optimal" | "force"; export declare const CreateResponseSslBundleMethod: any; export type CreateResponseSslCertificateAuthority = "digicert" | "google" | "lets_encrypt" | "ssl_com"; export declare const CreateResponseSslCertificateAuthority: any; export type CreateResponseSslDcvDelegationRecordsItemEmailsList = Array; export declare const CreateResponseSslDcvDelegationRecordsItemEmailsList: S.Schema; export interface CreateResponseSslDcvDelegationRecordsItem { /** The CNAME record hostname for DCV delegation. */ cname?: string | null; /** The CNAME record target value for DCV delegation. */ cnameTarget?: string | null; /** The set of email addresses that the certificate authority (CA) will use to complete domain validation. */ emails?: CreateResponseSslDcvDelegationRecordsItemEmailsList | null; /** The content that the certificate authority (CA) will expect to find at the http_url during the domain validation. */ httpBody?: string | null; /** The url that will be checked during domain validation. */ httpUrl?: string | null; /** Status of the validation record. */ status?: string | null; /** The hostname that the certificate authority (CA) will check for a TXT record during domain validation . */ txtName?: string | null; /** The TXT record that the certificate authority (CA) will check during domain validation. */ txtValue?: string | null; } export declare const CreateResponseSslDcvDelegationRecordsItem: S.Schema; export type CreateResponseSslDcvDelegationRecordsList = Array; export declare const CreateResponseSslDcvDelegationRecordsList: S.Schema; export type CreateResponseSslHostsList = Array; export declare const CreateResponseSslHostsList: S.Schema; export type CreateResponseSslMethod = "http" | "txt" | "email"; export declare const CreateResponseSslMethod: any; export type CreateResponseSslSettingsCiphersList = Array; export declare const CreateResponseSslSettingsCiphersList: S.Schema; export type CreateResponseSslSettingsEarlyHints = "on" | "off"; export declare const CreateResponseSslSettingsEarlyHints: any; export type CreateResponseSslSettingsHttp2 = "on" | "off"; export declare const CreateResponseSslSettingsHttp2: any; export type CreateResponseSslSettingsMinTlsVersion = "1.0" | "1.1" | "1.2" | "1.3"; export declare const CreateResponseSslSettingsMinTlsVersion: any; export type CreateResponseSslSettingsTls13 = "on" | "off"; export declare const CreateResponseSslSettingsTls13: any; export interface CreateResponseSslSettings { /** An allowlist of ciphers for TLS termination. These ciphers must be in the BoringSSL format. */ ciphers?: CreateResponseSslSettingsCiphersList | null; /** Whether or not Early Hints is enabled. */ earlyHints?: CreateResponseSslSettingsEarlyHints | null; /** Whether or not HTTP2 is enabled. */ http2?: CreateResponseSslSettingsHttp2 | null; /** The minimum TLS version supported. */ minTlsVersion?: CreateResponseSslSettingsMinTlsVersion | null; /** Whether or not TLS 1.3 is enabled. */ tls_1_3?: CreateResponseSslSettingsTls13 | null; } export declare const CreateResponseSslSettings: S.Schema; export type CreateResponseSslStatus = "initializing" | "pending_validation" | "deleted" | "pending_issuance" | "pending_deployment" | "pending_deletion" | "pending_expiration" | "expired" | "active" | "initializing_timed_out" | "validation_timed_out" | "issuance_timed_out" | "deployment_timed_out" | "deletion_timed_out" | "pending_cleanup" | "staging_deployment" | "staging_active" | "deactivating" | "inactive" | "backup_issued" | "holding_deployment"; export declare const CreateResponseSslStatus: any; export type CreateResponseSslType = "dv"; export declare const CreateResponseSslType: any; export interface CreateResponseSslValidationErrorsItem { /** A domain validation error. */ message?: string | null; } export declare const CreateResponseSslValidationErrorsItem: S.Schema; export type CreateResponseSslValidationErrorsList = Array; export declare const CreateResponseSslValidationErrorsList: S.Schema; export type CreateResponseSslValidationRecordsItemEmailsList = Array; export declare const CreateResponseSslValidationRecordsItemEmailsList: S.Schema; export interface CreateResponseSslValidationRecordsItem { /** The CNAME record hostname for DCV delegation. */ cname?: string | null; /** The CNAME record target value for DCV delegation. */ cnameTarget?: string | null; /** The set of email addresses that the certificate authority (CA) will use to complete domain validation. */ emails?: CreateResponseSslValidationRecordsItemEmailsList | null; /** The content that the certificate authority (CA) will expect to find at the http_url during the domain validation. */ httpBody?: string | null; /** The url that will be checked during domain validation. */ httpUrl?: string | null; /** Status of the validation record. */ status?: string | null; /** The hostname that the certificate authority (CA) will check for a TXT record during domain validation . */ txtName?: string | null; /** The TXT record that the certificate authority (CA) will check during domain validation. */ txtValue?: string | null; } export declare const CreateResponseSslValidationRecordsItem: S.Schema; export type CreateResponseSslValidationRecordsList = Array; export declare const CreateResponseSslValidationRecordsList: S.Schema; export interface CreateResponseSsl { /** Custom hostname SSL identifier tag. */ id?: string | null; /** A ubiquitous bundle has the highest probability of being verified everywhere, even by clients using outdated or unusual trust stores. An optimal bundle uses the shortest chain and newest intermediates. And the force bundle verifies the chain, but does not otherwise modify it. */ bundleMethod?: CreateResponseSslBundleMethod | null; /** The Certificate Authority that will issue the certificate. */ certificateAuthority?: CreateResponseSslCertificateAuthority | null; /** If a custom uploaded certificate is used. */ customCertificate?: string | null; /** The identifier for the Custom CSR that was used. */ customCsrId?: string | null; /** The key for a custom uploaded certificate. */ customKey?: string | null; /** DCV Delegation records for domain validation. */ dcvDelegationRecords?: CreateResponseSslDcvDelegationRecordsList | null; /** The time the custom certificate expires on. */ expiresOn?: string | null; /** A list of Hostnames on a custom uploaded certificate. */ hosts?: CreateResponseSslHostsList | null; /** The issuer on a custom uploaded certificate. */ issuer?: string | null; /** Domain control validation (DCV) method used for this hostname. */ method?: CreateResponseSslMethod | null; /** The serial number on a custom uploaded certificate. */ serialNumber?: string | null; settings?: CreateResponseSslSettings | null; /** The signature on a custom uploaded certificate. */ signature?: string | null; /** Status of the hostname's SSL certificates. */ status?: CreateResponseSslStatus | null; /** Level of validation to be used for this hostname. Domain validation (dv) must be used. */ type?: CreateResponseSslType | null; /** The time the custom certificate was uploaded. */ uploadedOn?: string | null; /** Domain validation errors that have been received by the certificate authority (CA). */ validationErrors?: CreateResponseSslValidationErrorsList | null; validationRecords?: CreateResponseSslValidationRecordsList | null; /** Indicates whether the certificate covers a wildcard. */ wildcard?: boolean | null; } export declare const CreateResponseSsl: S.Schema; export type CreateResponseStatus = "active" | "pending" | "active_redeploying" | "moved" | "pending_deletion" | "deleted" | "pending_blocked" | "pending_migration" | "pending_provisioned" | "test_pending" | "test_active" | "test_active_apex" | "test_blocked" | "test_failed" | "provisioned" | "blocked"; export declare const CreateResponseStatus: any; export type CreateResponseVerificationErrorsList = Array; export declare const CreateResponseVerificationErrorsList: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface CreateCustomHostnameResponse { /** Identifier. */ id: string; /** The custom hostname that will point to your hostname via CNAME. */ hostname: string; /** This is the time the hostname was created. */ createdAt?: string | null; /** Unique key/value metadata for this hostname. These are per-hostname (customer) settings. */ customMetadata?: CreateResponseCustomMetadataMap | null; /** a valid hostname that’s been added to your DNS zone as an A, AAAA, or CNAME record. */ customOriginServer?: string | null; /** A hostname that will be sent to your custom origin server as SNI for TLS handshake. This can be a valid subdomain of the zone or custom origin server name or the string ':request_host_header:' which will cause the host header in the request to be used as SNI. Not configurable with default/fallback origin server. */ customOriginSni?: string | null; /** This is a record which can be placed to activate a hostname. */ ownershipVerification?: CreateResponseOwnershipVerification | null; /** This presents the token to be served by the given http url to activate a hostname. */ ownershipVerificationHttp?: CreateResponseOwnershipVerificationHttp | null; ssl?: CreateResponseSsl | null; /** Status of the hostname's activation. */ status?: CreateResponseStatus | null; /** These are errors that were encountered while trying to activate a hostname. */ verificationErrors?: CreateResponseVerificationErrorsList | null; } export declare const CreateCustomHostnameResponse: S.Schema; export interface DeleteCertificatePackCertificateRequest { /** Identifier. */ zoneId: string; /** Identifier. */ customHostnameId: string; /** Identifier. */ certificatePackId: string; /** Identifier. */ certificateId: string; } export declare const DeleteCertificatePackCertificateRequest: S.Schema; /** Raw response payload (operation does not use the standard v4 result envelope). */ export interface DeleteCertificatePackCertificateResponse { /** Identifier. */ id?: string | null; } export declare const DeleteCertificatePackCertificateResponse: S.Schema; export interface DeleteCustomHostnameRequest { /** Identifier. */ zoneId: string; /** Identifier. */ customHostnameId: string; } export declare const DeleteCustomHostnameRequest: S.Schema; /** Raw response payload (operation does not use the standard v4 result envelope). */ export interface DeleteCustomHostnameResponse { /** Identifier. */ id?: string | null; } export declare const DeleteCustomHostnameResponse: S.Schema; export interface DeleteFallbackOriginRequest { /** Identifier. */ zoneId: string; } export declare const DeleteFallbackOriginRequest: S.Schema; export type FallbackOriginDeleteResponseErrorsList = Array; export declare const FallbackOriginDeleteResponseErrorsList: S.Schema; export type FallbackOriginDeleteResponseStatus = "initializing" | "pending_deployment" | "pending_deletion" | "active" | "deployment_timed_out" | "deletion_timed_out"; export declare const FallbackOriginDeleteResponseStatus: any; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface DeleteFallbackOriginResponse { /** This is the time the fallback origin was created. */ createdAt?: string | null; /** These are errors that were encountered while trying to activate a fallback origin. */ errors?: FallbackOriginDeleteResponseErrorsList | null; /** Your origin hostname that requests to your custom hostnames will be sent to. */ origin?: string | null; /** Status of the fallback origin's activation. */ status?: FallbackOriginDeleteResponseStatus | null; /** This is the time the fallback origin was updated. */ updatedAt?: string | null; } export declare const DeleteFallbackOriginResponse: S.Schema; export interface GetCustomHostnameRequest { /** Identifier. */ zoneId: string; /** Identifier. */ customHostnameId: string; } export declare const GetCustomHostnameRequest: S.Schema; export type GetResponseCustomMetadataMap = { [key: string]: unknown | undefined; }; export declare const GetResponseCustomMetadataMap: S.Schema; export type GetResponseOwnershipVerificationType = "txt"; export declare const GetResponseOwnershipVerificationType: any; export interface GetResponseOwnershipVerification { /** DNS Name for record. */ name?: string | null; /** DNS Record type. */ type?: GetResponseOwnershipVerificationType | null; /** Content for the record. */ value?: string | null; } export declare const GetResponseOwnershipVerification: S.Schema; export type GetResponseOwnershipVerificationHttp = CreateResponseOwnershipVerificationHttp; export declare const GetResponseOwnershipVerificationHttp: S.Schema; export type GetResponseSslBundleMethod = "ubiquitous" | "optimal" | "force"; export declare const GetResponseSslBundleMethod: any; export type GetResponseSslCertificateAuthority = "digicert" | "google" | "lets_encrypt" | "ssl_com"; export declare const GetResponseSslCertificateAuthority: any; export type GetResponseSslDcvDelegationRecordsItemEmailsList = Array; export declare const GetResponseSslDcvDelegationRecordsItemEmailsList: S.Schema; export interface GetResponseSslDcvDelegationRecordsItem { /** The CNAME record hostname for DCV delegation. */ cname?: string | null; /** The CNAME record target value for DCV delegation. */ cnameTarget?: string | null; /** The set of email addresses that the certificate authority (CA) will use to complete domain validation. */ emails?: GetResponseSslDcvDelegationRecordsItemEmailsList | null; /** The content that the certificate authority (CA) will expect to find at the http_url during the domain validation. */ httpBody?: string | null; /** The url that will be checked during domain validation. */ httpUrl?: string | null; /** Status of the validation record. */ status?: string | null; /** The hostname that the certificate authority (CA) will check for a TXT record during domain validation . */ txtName?: string | null; /** The TXT record that the certificate authority (CA) will check during domain validation. */ txtValue?: string | null; } export declare const GetResponseSslDcvDelegationRecordsItem: S.Schema; export type GetResponseSslDcvDelegationRecordsList = Array; export declare const GetResponseSslDcvDelegationRecordsList: S.Schema; export type GetResponseSslHostsList = Array; export declare const GetResponseSslHostsList: S.Schema; export type GetResponseSslMethod = "http" | "txt" | "email"; export declare const GetResponseSslMethod: any; export type GetResponseSslSettingsCiphersList = Array; export declare const GetResponseSslSettingsCiphersList: S.Schema; export type GetResponseSslSettingsEarlyHints = "on" | "off"; export declare const GetResponseSslSettingsEarlyHints: any; export type GetResponseSslSettingsHttp2 = "on" | "off"; export declare const GetResponseSslSettingsHttp2: any; export type GetResponseSslSettingsMinTlsVersion = "1.0" | "1.1" | "1.2" | "1.3"; export declare const GetResponseSslSettingsMinTlsVersion: any; export type GetResponseSslSettingsTls13 = "on" | "off"; export declare const GetResponseSslSettingsTls13: any; export interface GetResponseSslSettings { /** An allowlist of ciphers for TLS termination. These ciphers must be in the BoringSSL format. */ ciphers?: GetResponseSslSettingsCiphersList | null; /** Whether or not Early Hints is enabled. */ earlyHints?: GetResponseSslSettingsEarlyHints | null; /** Whether or not HTTP2 is enabled. */ http2?: GetResponseSslSettingsHttp2 | null; /** The minimum TLS version supported. */ minTlsVersion?: GetResponseSslSettingsMinTlsVersion | null; /** Whether or not TLS 1.3 is enabled. */ tls_1_3?: GetResponseSslSettingsTls13 | null; } export declare const GetResponseSslSettings: S.Schema; export type GetResponseSslStatus = "initializing" | "pending_validation" | "deleted" | "pending_issuance" | "pending_deployment" | "pending_deletion" | "pending_expiration" | "expired" | "active" | "initializing_timed_out" | "validation_timed_out" | "issuance_timed_out" | "deployment_timed_out" | "deletion_timed_out" | "pending_cleanup" | "staging_deployment" | "staging_active" | "deactivating" | "inactive" | "backup_issued" | "holding_deployment"; export declare const GetResponseSslStatus: any; export type GetResponseSslType = "dv"; export declare const GetResponseSslType: any; export type GetResponseSslValidationErrorsItem = CreateResponseSslValidationErrorsItem; export declare const GetResponseSslValidationErrorsItem: S.Schema; export type GetResponseSslValidationErrorsList = Array; export declare const GetResponseSslValidationErrorsList: S.Schema; export type GetResponseSslValidationRecordsItemEmailsList = Array; export declare const GetResponseSslValidationRecordsItemEmailsList: S.Schema; export interface GetResponseSslValidationRecordsItem { /** The CNAME record hostname for DCV delegation. */ cname?: string | null; /** The CNAME record target value for DCV delegation. */ cnameTarget?: string | null; /** The set of email addresses that the certificate authority (CA) will use to complete domain validation. */ emails?: GetResponseSslValidationRecordsItemEmailsList | null; /** The content that the certificate authority (CA) will expect to find at the http_url during the domain validation. */ httpBody?: string | null; /** The url that will be checked during domain validation. */ httpUrl?: string | null; /** Status of the validation record. */ status?: string | null; /** The hostname that the certificate authority (CA) will check for a TXT record during domain validation . */ txtName?: string | null; /** The TXT record that the certificate authority (CA) will check during domain validation. */ txtValue?: string | null; } export declare const GetResponseSslValidationRecordsItem: S.Schema; export type GetResponseSslValidationRecordsList = Array; export declare const GetResponseSslValidationRecordsList: S.Schema; export interface GetResponseSsl { /** Custom hostname SSL identifier tag. */ id?: string | null; /** A ubiquitous bundle has the highest probability of being verified everywhere, even by clients using outdated or unusual trust stores. An optimal bundle uses the shortest chain and newest intermediates. And the force bundle verifies the chain, but does not otherwise modify it. */ bundleMethod?: GetResponseSslBundleMethod | null; /** The Certificate Authority that will issue the certificate. */ certificateAuthority?: GetResponseSslCertificateAuthority | null; /** If a custom uploaded certificate is used. */ customCertificate?: string | null; /** The identifier for the Custom CSR that was used. */ customCsrId?: string | null; /** The key for a custom uploaded certificate. */ customKey?: string | null; /** DCV Delegation records for domain validation. */ dcvDelegationRecords?: GetResponseSslDcvDelegationRecordsList | null; /** The time the custom certificate expires on. */ expiresOn?: string | null; /** A list of Hostnames on a custom uploaded certificate. */ hosts?: GetResponseSslHostsList | null; /** The issuer on a custom uploaded certificate. */ issuer?: string | null; /** Domain control validation (DCV) method used for this hostname. */ method?: GetResponseSslMethod | null; /** The serial number on a custom uploaded certificate. */ serialNumber?: string | null; settings?: GetResponseSslSettings | null; /** The signature on a custom uploaded certificate. */ signature?: string | null; /** Status of the hostname's SSL certificates. */ status?: GetResponseSslStatus | null; /** Level of validation to be used for this hostname. Domain validation (dv) must be used. */ type?: GetResponseSslType | null; /** The time the custom certificate was uploaded. */ uploadedOn?: string | null; /** Domain validation errors that have been received by the certificate authority (CA). */ validationErrors?: GetResponseSslValidationErrorsList | null; validationRecords?: GetResponseSslValidationRecordsList | null; /** Indicates whether the certificate covers a wildcard. */ wildcard?: boolean | null; } export declare const GetResponseSsl: S.Schema; export type GetResponseStatus = "active" | "pending" | "active_redeploying" | "moved" | "pending_deletion" | "deleted" | "pending_blocked" | "pending_migration" | "pending_provisioned" | "test_pending" | "test_active" | "test_active_apex" | "test_blocked" | "test_failed" | "provisioned" | "blocked"; export declare const GetResponseStatus: any; export type GetResponseVerificationErrorsList = Array; export declare const GetResponseVerificationErrorsList: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface GetCustomHostnameResponse { /** Identifier. */ id: string; /** The custom hostname that will point to your hostname via CNAME. */ hostname: string; /** This is the time the hostname was created. */ createdAt?: string | null; /** Unique key/value metadata for this hostname. These are per-hostname (customer) settings. */ customMetadata?: GetResponseCustomMetadataMap | null; /** a valid hostname that’s been added to your DNS zone as an A, AAAA, or CNAME record. */ customOriginServer?: string | null; /** A hostname that will be sent to your custom origin server as SNI for TLS handshake. This can be a valid subdomain of the zone or custom origin server name or the string ':request_host_header:' which will cause the host header in the request to be used as SNI. Not configurable with default/fallback origin server. */ customOriginSni?: string | null; /** This is a record which can be placed to activate a hostname. */ ownershipVerification?: GetResponseOwnershipVerification | null; /** This presents the token to be served by the given http url to activate a hostname. */ ownershipVerificationHttp?: CreateResponseOwnershipVerificationHttp | null; ssl?: GetResponseSsl | null; /** Status of the hostname's activation. */ status?: GetResponseStatus | null; /** These are errors that were encountered while trying to activate a hostname. */ verificationErrors?: GetResponseVerificationErrorsList | null; } export declare const GetCustomHostnameResponse: S.Schema; export interface GetFallbackOriginRequest { /** Identifier. */ zoneId: string; } export declare const GetFallbackOriginRequest: S.Schema; export type FallbackOriginGetResponseErrorsList = Array; export declare const FallbackOriginGetResponseErrorsList: S.Schema; export type FallbackOriginGetResponseStatus = "initializing" | "pending_deployment" | "pending_deletion" | "active" | "deployment_timed_out" | "deletion_timed_out"; export declare const FallbackOriginGetResponseStatus: any; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface GetFallbackOriginResponse { /** This is the time the fallback origin was created. */ createdAt?: string | null; /** These are errors that were encountered while trying to activate a fallback origin. */ errors?: FallbackOriginGetResponseErrorsList | null; /** Your origin hostname that requests to your custom hostnames will be sent to. */ origin?: string | null; /** Status of the fallback origin's activation. */ status?: FallbackOriginGetResponseStatus | null; /** This is the time the fallback origin was updated. */ updatedAt?: string | null; } export declare const GetFallbackOriginResponse: S.Schema; export type ListRequestCertificateAuthority = "google" | "lets_encrypt" | "ssl_com"; export declare const ListRequestCertificateAuthority: any; export type ListRequestDirection = "asc" | "desc"; export declare const ListRequestDirection: any; export interface ListRequestHostname { /** Filters hostnames by a substring match on the hostname value. This parameter cannot be used with the 'id', 'hostname', 'hostname.exact', or 'hostname.startsWith' parameters. */ contain?: string; /** Fully qualified domain name to match against. This parameter cannot be used with the 'id', 'hostname', 'hostname.contain', or 'hostname.startsWith' parameters. */ exact?: string; /** Filters hostnames by a prefix match on the hostname value. This parameter cannot be used with the 'id', 'hostname', 'hostname.exact', or 'hostname.contain' parameters. */ startsWith?: string; } export declare const ListRequestHostname: S.Schema; export type ListRequestHostnameStatus = "active" | "pending" | "active_redeploying" | "moved" | "pending_deletion" | "deleted" | "pending_blocked" | "pending_migration" | "pending_provisioned" | "test_pending" | "test_active" | "test_active_apex" | "test_blocked" | "test_failed" | "provisioned" | "blocked"; export declare const ListRequestHostnameStatus: any; export type ListRequestOrder = "ssl" | "ssl_status"; export declare const ListRequestOrder: any; export type ListRequestSslStatus = "initializing" | "pending_validation" | "deleted" | "pending_issuance" | "pending_deployment" | "pending_deletion" | "pending_expiration" | "expired" | "active" | "initializing_timed_out" | "validation_timed_out" | "issuance_timed_out" | "deployment_timed_out" | "deletion_timed_out" | "pending_cleanup" | "staging_deployment" | "staging_active" | "deactivating" | "inactive" | "backup_issued" | "holding_deployment"; export declare const ListRequestSslStatus: any; export interface ListCustomHostnamesRequest { /** Identifier. */ zoneId: string; /** Hostname ID to match against. This ID was generated and returned during the initial custom_hostname creation. This parameter cannot be used with the 'hostname', 'hostname.exact', 'hostname.contain', or 'hostname.startsWith' parameters. */ id?: string; /** Filter by the certificate authority that issued the SSL certificate. */ certificateAuthority?: ListRequestCertificateAuthority | (string & {}); /** Filter by custom origin server name. */ customOriginServer?: string; /** Direction to order hostnames. */ direction?: ListRequestDirection | (string & {}); hostname?: ListRequestHostname; /** Filter by the hostname's activation status. */ hostnameStatus?: ListRequestHostnameStatus | (string & {}); /** Field to order hostnames by. */ order?: ListRequestOrder | (string & {}); /** Page number of paginated results. */ page?: number; /** Number of hostnames per page. */ perPage?: number; /** Whether to filter hostnames based on if they have SSL enabled. */ ssl?: string; /** Filter by SSL certificate status. */ sslStatus?: ListRequestSslStatus | (string & {}); /** Filter by whether the custom hostname is a wildcard hostname. */ wildcard?: boolean; } export declare const ListCustomHostnamesRequest: S.Schema; export type ListResultItemCustomMetadataMap = { [key: string]: unknown | undefined; }; export declare const ListResultItemCustomMetadataMap: S.Schema; export type ListResultItemOwnershipVerificationType = "txt"; export declare const ListResultItemOwnershipVerificationType: any; export interface ListResultItemOwnershipVerification { /** DNS Name for record. */ name?: string | null; /** DNS Record type. */ type?: ListResultItemOwnershipVerificationType | null; /** Content for the record. */ value?: string | null; } export declare const ListResultItemOwnershipVerification: S.Schema; export type ListResultItemOwnershipVerificationHttp = CreateResponseOwnershipVerificationHttp; export declare const ListResultItemOwnershipVerificationHttp: S.Schema; export type ListResultItemSslBundleMethod = "ubiquitous" | "optimal" | "force"; export declare const ListResultItemSslBundleMethod: any; export type ListResultItemSslCertificateAuthority = "digicert" | "google" | "lets_encrypt" | "ssl_com"; export declare const ListResultItemSslCertificateAuthority: any; export type ListResultItemSslDcvDelegationRecordsItemEmailsList = Array; export declare const ListResultItemSslDcvDelegationRecordsItemEmailsList: S.Schema; export interface ListResultItemSslDcvDelegationRecordsItem { /** The CNAME record hostname for DCV delegation. */ cname?: string | null; /** The CNAME record target value for DCV delegation. */ cnameTarget?: string | null; /** The set of email addresses that the certificate authority (CA) will use to complete domain validation. */ emails?: ListResultItemSslDcvDelegationRecordsItemEmailsList | null; /** The content that the certificate authority (CA) will expect to find at the http_url during the domain validation. */ httpBody?: string | null; /** The url that will be checked during domain validation. */ httpUrl?: string | null; /** Status of the validation record. */ status?: string | null; /** The hostname that the certificate authority (CA) will check for a TXT record during domain validation . */ txtName?: string | null; /** The TXT record that the certificate authority (CA) will check during domain validation. */ txtValue?: string | null; } export declare const ListResultItemSslDcvDelegationRecordsItem: S.Schema; export type ListResultItemSslDcvDelegationRecordsList = Array; export declare const ListResultItemSslDcvDelegationRecordsList: S.Schema; export type ListResultItemSslHostsList = Array; export declare const ListResultItemSslHostsList: S.Schema; export type ListResultItemSslMethod = "http" | "txt" | "email"; export declare const ListResultItemSslMethod: any; export type ListResultItemSslSettingsCiphersList = Array; export declare const ListResultItemSslSettingsCiphersList: S.Schema; export type ListResultItemSslSettingsEarlyHints = "on" | "off"; export declare const ListResultItemSslSettingsEarlyHints: any; export type ListResultItemSslSettingsHttp2 = "on" | "off"; export declare const ListResultItemSslSettingsHttp2: any; export type ListResultItemSslSettingsMinTlsVersion = "1.0" | "1.1" | "1.2" | "1.3"; export declare const ListResultItemSslSettingsMinTlsVersion: any; export type ListResultItemSslSettingsTls13 = "on" | "off"; export declare const ListResultItemSslSettingsTls13: any; export interface ListResultItemSslSettings { /** An allowlist of ciphers for TLS termination. These ciphers must be in the BoringSSL format. */ ciphers?: ListResultItemSslSettingsCiphersList | null; /** Whether or not Early Hints is enabled. */ earlyHints?: ListResultItemSslSettingsEarlyHints | null; /** Whether or not HTTP2 is enabled. */ http2?: ListResultItemSslSettingsHttp2 | null; /** The minimum TLS version supported. */ minTlsVersion?: ListResultItemSslSettingsMinTlsVersion | null; /** Whether or not TLS 1.3 is enabled. */ tls_1_3?: ListResultItemSslSettingsTls13 | null; } export declare const ListResultItemSslSettings: S.Schema; export type ListResultItemSslStatus = "initializing" | "pending_validation" | "deleted" | "pending_issuance" | "pending_deployment" | "pending_deletion" | "pending_expiration" | "expired" | "active" | "initializing_timed_out" | "validation_timed_out" | "issuance_timed_out" | "deployment_timed_out" | "deletion_timed_out" | "pending_cleanup" | "staging_deployment" | "staging_active" | "deactivating" | "inactive" | "backup_issued" | "holding_deployment"; export declare const ListResultItemSslStatus: any; export type ListResultItemSslType = "dv"; export declare const ListResultItemSslType: any; export type ListResultItemSslValidationErrorsItem = CreateResponseSslValidationErrorsItem; export declare const ListResultItemSslValidationErrorsItem: S.Schema; export type ListResultItemSslValidationErrorsList = Array; export declare const ListResultItemSslValidationErrorsList: S.Schema; export type ListResultItemSslValidationRecordsItemEmailsList = Array; export declare const ListResultItemSslValidationRecordsItemEmailsList: S.Schema; export interface ListResultItemSslValidationRecordsItem { /** The CNAME record hostname for DCV delegation. */ cname?: string | null; /** The CNAME record target value for DCV delegation. */ cnameTarget?: string | null; /** The set of email addresses that the certificate authority (CA) will use to complete domain validation. */ emails?: ListResultItemSslValidationRecordsItemEmailsList | null; /** The content that the certificate authority (CA) will expect to find at the http_url during the domain validation. */ httpBody?: string | null; /** The url that will be checked during domain validation. */ httpUrl?: string | null; /** Status of the validation record. */ status?: string | null; /** The hostname that the certificate authority (CA) will check for a TXT record during domain validation . */ txtName?: string | null; /** The TXT record that the certificate authority (CA) will check during domain validation. */ txtValue?: string | null; } export declare const ListResultItemSslValidationRecordsItem: S.Schema; export type ListResultItemSslValidationRecordsList = Array; export declare const ListResultItemSslValidationRecordsList: S.Schema; export interface ListResultItemSsl { /** Custom hostname SSL identifier tag. */ id?: string | null; /** A ubiquitous bundle has the highest probability of being verified everywhere, even by clients using outdated or unusual trust stores. An optimal bundle uses the shortest chain and newest intermediates. And the force bundle verifies the chain, but does not otherwise modify it. */ bundleMethod?: ListResultItemSslBundleMethod | null; /** The Certificate Authority that will issue the certificate. */ certificateAuthority?: ListResultItemSslCertificateAuthority | null; /** If a custom uploaded certificate is used. */ customCertificate?: string | null; /** The identifier for the Custom CSR that was used. */ customCsrId?: string | null; /** The key for a custom uploaded certificate. */ customKey?: string | null; /** DCV Delegation records for domain validation. */ dcvDelegationRecords?: ListResultItemSslDcvDelegationRecordsList | null; /** The time the custom certificate expires on. */ expiresOn?: string | null; /** A list of Hostnames on a custom uploaded certificate. */ hosts?: ListResultItemSslHostsList | null; /** The issuer on a custom uploaded certificate. */ issuer?: string | null; /** Domain control validation (DCV) method used for this hostname. */ method?: ListResultItemSslMethod | null; /** The serial number on a custom uploaded certificate. */ serialNumber?: string | null; settings?: ListResultItemSslSettings | null; /** The signature on a custom uploaded certificate. */ signature?: string | null; /** Status of the hostname's SSL certificates. */ status?: ListResultItemSslStatus | null; /** Level of validation to be used for this hostname. Domain validation (dv) must be used. */ type?: ListResultItemSslType | null; /** The time the custom certificate was uploaded. */ uploadedOn?: string | null; /** Domain validation errors that have been received by the certificate authority (CA). */ validationErrors?: ListResultItemSslValidationErrorsList | null; validationRecords?: ListResultItemSslValidationRecordsList | null; /** Indicates whether the certificate covers a wildcard. */ wildcard?: boolean | null; } export declare const ListResultItemSsl: S.Schema; export type ListResultItemStatus = "active" | "pending" | "active_redeploying" | "moved" | "pending_deletion" | "deleted" | "pending_blocked" | "pending_migration" | "pending_provisioned" | "test_pending" | "test_active" | "test_active_apex" | "test_blocked" | "test_failed" | "provisioned" | "blocked"; export declare const ListResultItemStatus: any; export type ListResultItemVerificationErrorsList = Array; export declare const ListResultItemVerificationErrorsList: S.Schema; export interface ListResultItem { /** Identifier. */ id: string; /** The custom hostname that will point to your hostname via CNAME. */ hostname: string; /** This is the time the hostname was created. */ createdAt?: string | null; /** Unique key/value metadata for this hostname. These are per-hostname (customer) settings. */ customMetadata?: ListResultItemCustomMetadataMap | null; /** a valid hostname that’s been added to your DNS zone as an A, AAAA, or CNAME record. */ customOriginServer?: string | null; /** A hostname that will be sent to your custom origin server as SNI for TLS handshake. This can be a valid subdomain of the zone or custom origin server name or the string ':request_host_header:' which will cause the host header in the request to be used as SNI. Not configurable with default/fallback origin server. */ customOriginSni?: string | null; /** This is a record which can be placed to activate a hostname. */ ownershipVerification?: ListResultItemOwnershipVerification | null; /** This presents the token to be served by the given http url to activate a hostname. */ ownershipVerificationHttp?: CreateResponseOwnershipVerificationHttp | null; ssl?: ListResultItemSsl | null; /** Status of the hostname's activation. */ status?: ListResultItemStatus | null; /** These are errors that were encountered while trying to activate a hostname. */ verificationErrors?: ListResultItemVerificationErrorsList | null; } export declare const ListResultItem: S.Schema; export type ListResultList = Array; export declare const ListResultList: S.Schema; export interface ListCustomHostnamesResponse { /** The unwrapped `result` payload of the v4 response envelope. */ result: ListResultList; /** Pagination info from the envelope's `result_info`. */ resultInfo?: ResultInfo | null; } export declare const ListCustomHostnamesResponse: S.Schema; export type EditRequestCustomMetadataMap = { [key: string]: unknown | undefined; }; export declare const EditRequestCustomMetadataMap: S.Schema; export type EditRequestSslBundleMethod = "ubiquitous" | "optimal" | "force"; export declare const EditRequestSslBundleMethod: any; export type EditRequestSslCertificateAuthority = "digicert" | "google" | "lets_encrypt" | "ssl_com"; export declare const EditRequestSslCertificateAuthority: any; export type EditRequestSslCustomCertBundleItem = CreateRequestSslCustomCertBundleItem; export declare const EditRequestSslCustomCertBundleItem: S.Schema; export type EditRequestSslCustomCertBundleList = Array; export declare const EditRequestSslCustomCertBundleList: S.Schema; export type EditRequestSslMethod = "http" | "txt" | "email"; export declare const EditRequestSslMethod: any; export type EditRequestSslSettingsCiphersList = Array; export declare const EditRequestSslSettingsCiphersList: S.Schema; export type EditRequestSslSettingsEarlyHints = "on" | "off"; export declare const EditRequestSslSettingsEarlyHints: any; export type EditRequestSslSettingsHttp2 = "on" | "off"; export declare const EditRequestSslSettingsHttp2: any; export type EditRequestSslSettingsMinTlsVersion = "1.0" | "1.1" | "1.2" | "1.3"; export declare const EditRequestSslSettingsMinTlsVersion: any; export type EditRequestSslSettingsTls13 = "on" | "off"; export declare const EditRequestSslSettingsTls13: any; export interface EditRequestSslSettings { /** An allowlist of ciphers for TLS termination. These ciphers must be in the BoringSSL format. */ ciphers?: EditRequestSslSettingsCiphersList; /** Whether or not Early Hints is enabled. */ earlyHints?: EditRequestSslSettingsEarlyHints | (string & {}); /** Whether or not HTTP2 is enabled. */ http2?: EditRequestSslSettingsHttp2 | (string & {}); /** The minimum TLS version supported. */ minTlsVersion?: EditRequestSslSettingsMinTlsVersion | (string & {}); /** Whether or not TLS 1.3 is enabled. */ tls_1_3?: EditRequestSslSettingsTls13 | (string & {}); } export declare const EditRequestSslSettings: S.Schema; export type EditRequestSslType = "dv"; export declare const EditRequestSslType: any; export interface EditRequestSsl { /** A ubiquitous bundle has the highest probability of being verified everywhere, even by clients using outdated or unusual trust stores. An optimal bundle uses the shortest chain and newest intermediates. And the force bundle verifies the chain, but does not otherwise modify it. */ bundleMethod?: EditRequestSslBundleMethod | (string & {}); /** The Certificate Authority that will issue the certificate. */ certificateAuthority?: EditRequestSslCertificateAuthority | (string & {}); /** Whether or not to add Cloudflare Branding for the order. This will add a subdomain of sni.cloudflaressl.com as the Common Name if set to true. */ cloudflareBranding?: boolean; /** Array of custom certificate and key pairs (1 or 2 pairs allowed). */ customCertBundle?: EditRequestSslCustomCertBundleList; /** If a custom uploaded certificate is used. */ customCertificate?: string; /** The identifier for the Custom CSR that was used. */ customCsrId?: string; /** The key for a custom uploaded certificate. */ customKey?: string; /** Domain control validation (DCV) method used for this hostname. */ method?: EditRequestSslMethod | (string & {}); /** SSL specific settings. */ settings?: EditRequestSslSettings; /** Level of validation to be used for this hostname. Domain validation (dv) must be used. */ type?: EditRequestSslType | (string & {}); /** Indicates whether the certificate covers a wildcard. */ wildcard?: boolean; } export declare const EditRequestSsl: S.Schema; export interface PatchCustomHostnameRequest { /** Identifier. */ zoneId: string; /** Identifier. */ customHostnameId: string; /** Unique key/value metadata for this hostname. These are per-hostname (customer) settings. */ customMetadata?: EditRequestCustomMetadataMap; /** a valid hostname that’s been added to your DNS zone as an A, AAAA, or CNAME record. */ customOriginServer?: string; /** A hostname that will be sent to your custom origin server as SNI for TLS handshake. This can be a valid subdomain of the zone or custom origin server name or the string ':request_host_header:' which will cause the host header in the request to be used as SNI. Not configurable with default/fallback origin server. */ customOriginSni?: string; /** SSL properties used when creating the custom hostname. */ ssl?: EditRequestSsl; } export declare const PatchCustomHostnameRequest: S.Schema; export type EditResponseCustomMetadataMap = { [key: string]: unknown | undefined; }; export declare const EditResponseCustomMetadataMap: S.Schema; export type EditResponseOwnershipVerificationType = "txt"; export declare const EditResponseOwnershipVerificationType: any; export interface EditResponseOwnershipVerification { /** DNS Name for record. */ name?: string | null; /** DNS Record type. */ type?: EditResponseOwnershipVerificationType | null; /** Content for the record. */ value?: string | null; } export declare const EditResponseOwnershipVerification: S.Schema; export type EditResponseOwnershipVerificationHttp = CreateResponseOwnershipVerificationHttp; export declare const EditResponseOwnershipVerificationHttp: S.Schema; export type EditResponseSslBundleMethod = "ubiquitous" | "optimal" | "force"; export declare const EditResponseSslBundleMethod: any; export type EditResponseSslCertificateAuthority = "digicert" | "google" | "lets_encrypt" | "ssl_com"; export declare const EditResponseSslCertificateAuthority: any; export type EditResponseSslDcvDelegationRecordsItemEmailsList = Array; export declare const EditResponseSslDcvDelegationRecordsItemEmailsList: S.Schema; export interface EditResponseSslDcvDelegationRecordsItem { /** The CNAME record hostname for DCV delegation. */ cname?: string | null; /** The CNAME record target value for DCV delegation. */ cnameTarget?: string | null; /** The set of email addresses that the certificate authority (CA) will use to complete domain validation. */ emails?: EditResponseSslDcvDelegationRecordsItemEmailsList | null; /** The content that the certificate authority (CA) will expect to find at the http_url during the domain validation. */ httpBody?: string | null; /** The url that will be checked during domain validation. */ httpUrl?: string | null; /** Status of the validation record. */ status?: string | null; /** The hostname that the certificate authority (CA) will check for a TXT record during domain validation . */ txtName?: string | null; /** The TXT record that the certificate authority (CA) will check during domain validation. */ txtValue?: string | null; } export declare const EditResponseSslDcvDelegationRecordsItem: S.Schema; export type EditResponseSslDcvDelegationRecordsList = Array; export declare const EditResponseSslDcvDelegationRecordsList: S.Schema; export type EditResponseSslHostsList = Array; export declare const EditResponseSslHostsList: S.Schema; export type EditResponseSslMethod = "http" | "txt" | "email"; export declare const EditResponseSslMethod: any; export type EditResponseSslSettingsCiphersList = Array; export declare const EditResponseSslSettingsCiphersList: S.Schema; export type EditResponseSslSettingsEarlyHints = "on" | "off"; export declare const EditResponseSslSettingsEarlyHints: any; export type EditResponseSslSettingsHttp2 = "on" | "off"; export declare const EditResponseSslSettingsHttp2: any; export type EditResponseSslSettingsMinTlsVersion = "1.0" | "1.1" | "1.2" | "1.3"; export declare const EditResponseSslSettingsMinTlsVersion: any; export type EditResponseSslSettingsTls13 = "on" | "off"; export declare const EditResponseSslSettingsTls13: any; export interface EditResponseSslSettings { /** An allowlist of ciphers for TLS termination. These ciphers must be in the BoringSSL format. */ ciphers?: EditResponseSslSettingsCiphersList | null; /** Whether or not Early Hints is enabled. */ earlyHints?: EditResponseSslSettingsEarlyHints | null; /** Whether or not HTTP2 is enabled. */ http2?: EditResponseSslSettingsHttp2 | null; /** The minimum TLS version supported. */ minTlsVersion?: EditResponseSslSettingsMinTlsVersion | null; /** Whether or not TLS 1.3 is enabled. */ tls_1_3?: EditResponseSslSettingsTls13 | null; } export declare const EditResponseSslSettings: S.Schema; export type EditResponseSslStatus = "initializing" | "pending_validation" | "deleted" | "pending_issuance" | "pending_deployment" | "pending_deletion" | "pending_expiration" | "expired" | "active" | "initializing_timed_out" | "validation_timed_out" | "issuance_timed_out" | "deployment_timed_out" | "deletion_timed_out" | "pending_cleanup" | "staging_deployment" | "staging_active" | "deactivating" | "inactive" | "backup_issued" | "holding_deployment"; export declare const EditResponseSslStatus: any; export type EditResponseSslType = "dv"; export declare const EditResponseSslType: any; export type EditResponseSslValidationErrorsItem = CreateResponseSslValidationErrorsItem; export declare const EditResponseSslValidationErrorsItem: S.Schema; export type EditResponseSslValidationErrorsList = Array; export declare const EditResponseSslValidationErrorsList: S.Schema; export type EditResponseSslValidationRecordsItemEmailsList = Array; export declare const EditResponseSslValidationRecordsItemEmailsList: S.Schema; export interface EditResponseSslValidationRecordsItem { /** The CNAME record hostname for DCV delegation. */ cname?: string | null; /** The CNAME record target value for DCV delegation. */ cnameTarget?: string | null; /** The set of email addresses that the certificate authority (CA) will use to complete domain validation. */ emails?: EditResponseSslValidationRecordsItemEmailsList | null; /** The content that the certificate authority (CA) will expect to find at the http_url during the domain validation. */ httpBody?: string | null; /** The url that will be checked during domain validation. */ httpUrl?: string | null; /** Status of the validation record. */ status?: string | null; /** The hostname that the certificate authority (CA) will check for a TXT record during domain validation . */ txtName?: string | null; /** The TXT record that the certificate authority (CA) will check during domain validation. */ txtValue?: string | null; } export declare const EditResponseSslValidationRecordsItem: S.Schema; export type EditResponseSslValidationRecordsList = Array; export declare const EditResponseSslValidationRecordsList: S.Schema; export interface EditResponseSsl { /** Custom hostname SSL identifier tag. */ id?: string | null; /** A ubiquitous bundle has the highest probability of being verified everywhere, even by clients using outdated or unusual trust stores. An optimal bundle uses the shortest chain and newest intermediates. And the force bundle verifies the chain, but does not otherwise modify it. */ bundleMethod?: EditResponseSslBundleMethod | null; /** The Certificate Authority that will issue the certificate. */ certificateAuthority?: EditResponseSslCertificateAuthority | null; /** If a custom uploaded certificate is used. */ customCertificate?: string | null; /** The identifier for the Custom CSR that was used. */ customCsrId?: string | null; /** The key for a custom uploaded certificate. */ customKey?: string | null; /** DCV Delegation records for domain validation. */ dcvDelegationRecords?: EditResponseSslDcvDelegationRecordsList | null; /** The time the custom certificate expires on. */ expiresOn?: string | null; /** A list of Hostnames on a custom uploaded certificate. */ hosts?: EditResponseSslHostsList | null; /** The issuer on a custom uploaded certificate. */ issuer?: string | null; /** Domain control validation (DCV) method used for this hostname. */ method?: EditResponseSslMethod | null; /** The serial number on a custom uploaded certificate. */ serialNumber?: string | null; settings?: EditResponseSslSettings | null; /** The signature on a custom uploaded certificate. */ signature?: string | null; /** Status of the hostname's SSL certificates. */ status?: EditResponseSslStatus | null; /** Level of validation to be used for this hostname. Domain validation (dv) must be used. */ type?: EditResponseSslType | null; /** The time the custom certificate was uploaded. */ uploadedOn?: string | null; /** Domain validation errors that have been received by the certificate authority (CA). */ validationErrors?: EditResponseSslValidationErrorsList | null; validationRecords?: EditResponseSslValidationRecordsList | null; /** Indicates whether the certificate covers a wildcard. */ wildcard?: boolean | null; } export declare const EditResponseSsl: S.Schema; export type EditResponseStatus = "active" | "pending" | "active_redeploying" | "moved" | "pending_deletion" | "deleted" | "pending_blocked" | "pending_migration" | "pending_provisioned" | "test_pending" | "test_active" | "test_active_apex" | "test_blocked" | "test_failed" | "provisioned" | "blocked"; export declare const EditResponseStatus: any; export type EditResponseVerificationErrorsList = Array; export declare const EditResponseVerificationErrorsList: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface PatchCustomHostnameResponse { /** Identifier. */ id: string; /** The custom hostname that will point to your hostname via CNAME. */ hostname: string; /** This is the time the hostname was created. */ createdAt?: string | null; /** Unique key/value metadata for this hostname. These are per-hostname (customer) settings. */ customMetadata?: EditResponseCustomMetadataMap | null; /** a valid hostname that’s been added to your DNS zone as an A, AAAA, or CNAME record. */ customOriginServer?: string | null; /** A hostname that will be sent to your custom origin server as SNI for TLS handshake. This can be a valid subdomain of the zone or custom origin server name or the string ':request_host_header:' which will cause the host header in the request to be used as SNI. Not configurable with default/fallback origin server. */ customOriginSni?: string | null; /** This is a record which can be placed to activate a hostname. */ ownershipVerification?: EditResponseOwnershipVerification | null; /** This presents the token to be served by the given http url to activate a hostname. */ ownershipVerificationHttp?: CreateResponseOwnershipVerificationHttp | null; ssl?: EditResponseSsl | null; /** Status of the hostname's activation. */ status?: EditResponseStatus | null; /** These are errors that were encountered while trying to activate a hostname. */ verificationErrors?: EditResponseVerificationErrorsList | null; } export declare const PatchCustomHostnameResponse: S.Schema; export interface PutCertificatePackCertificateRequest { /** Identifier. */ zoneId: string; /** Identifier. */ customHostnameId: string; /** Identifier. */ certificatePackId: string; /** Identifier. */ certificateId: string; /** If a custom uploaded certificate is used. */ customCertificate: string; /** The key for a custom uploaded certificate. */ customKey: string; } export declare const PutCertificatePackCertificateRequest: S.Schema; export type CertificatePackCertificatesUpdateResponseCustomMetadataMap = { [key: string]: unknown | undefined; }; export declare const CertificatePackCertificatesUpdateResponseCustomMetadataMap: S.Schema; export type CertificatePackCertificatesUpdateResponseOwnershipVerificationType = "txt"; export declare const CertificatePackCertificatesUpdateResponseOwnershipVerificationType: any; export interface CertificatePackCertificatesUpdateResponseOwnershipVerification { /** DNS Name for record. */ name?: string | null; /** DNS Record type. */ type?: CertificatePackCertificatesUpdateResponseOwnershipVerificationType | null; /** Content for the record. */ value?: string | null; } export declare const CertificatePackCertificatesUpdateResponseOwnershipVerification: S.Schema; export type CertificatePackCertificatesUpdateResponseOwnershipVerificationHttp = CreateResponseOwnershipVerificationHttp; export declare const CertificatePackCertificatesUpdateResponseOwnershipVerificationHttp: S.Schema; export type CertificatePackCertificatesUpdateResponseSslBundleMethod = "ubiquitous" | "optimal" | "force"; export declare const CertificatePackCertificatesUpdateResponseSslBundleMethod: any; export type CertificatePackCertificatesUpdateResponseSslCertificateAuthority = "digicert" | "google" | "lets_encrypt" | "ssl_com"; export declare const CertificatePackCertificatesUpdateResponseSslCertificateAuthority: any; export type CertificatePackCertificatesUpdateResponseSslDcvDelegationRecordsItemEmailsList = Array; export declare const CertificatePackCertificatesUpdateResponseSslDcvDelegationRecordsItemEmailsList: S.Schema; export interface CertificatePackCertificatesUpdateResponseSslDcvDelegationRecordsItem { /** The CNAME record hostname for DCV delegation. */ cname?: string | null; /** The CNAME record target value for DCV delegation. */ cnameTarget?: string | null; /** The set of email addresses that the certificate authority (CA) will use to complete domain validation. */ emails?: CertificatePackCertificatesUpdateResponseSslDcvDelegationRecordsItemEmailsList | null; /** The content that the certificate authority (CA) will expect to find at the http_url during the domain validation. */ httpBody?: string | null; /** The url that will be checked during domain validation. */ httpUrl?: string | null; /** Status of the validation record. */ status?: string | null; /** The hostname that the certificate authority (CA) will check for a TXT record during domain validation . */ txtName?: string | null; /** The TXT record that the certificate authority (CA) will check during domain validation. */ txtValue?: string | null; } export declare const CertificatePackCertificatesUpdateResponseSslDcvDelegationRecordsItem: S.Schema; export type CertificatePackCertificatesUpdateResponseSslDcvDelegationRecordsList = Array; export declare const CertificatePackCertificatesUpdateResponseSslDcvDelegationRecordsList: S.Schema; export type CertificatePackCertificatesUpdateResponseSslHostsList = Array; export declare const CertificatePackCertificatesUpdateResponseSslHostsList: S.Schema; export type CertificatePackCertificatesUpdateResponseSslMethod = "http" | "txt" | "email"; export declare const CertificatePackCertificatesUpdateResponseSslMethod: any; export type CertificatePackCertificatesUpdateResponseSslSettingsCiphersList = Array; export declare const CertificatePackCertificatesUpdateResponseSslSettingsCiphersList: S.Schema; export type CertificatePackCertificatesUpdateResponseSslSettingsEarlyHints = "on" | "off"; export declare const CertificatePackCertificatesUpdateResponseSslSettingsEarlyHints: any; export type CertificatePackCertificatesUpdateResponseSslSettingsHttp2 = "on" | "off"; export declare const CertificatePackCertificatesUpdateResponseSslSettingsHttp2: any; export type CertificatePackCertificatesUpdateResponseSslSettingsMinTlsVersion = "1.0" | "1.1" | "1.2" | "1.3"; export declare const CertificatePackCertificatesUpdateResponseSslSettingsMinTlsVersion: any; export type CertificatePackCertificatesUpdateResponseSslSettingsTls13 = "on" | "off"; export declare const CertificatePackCertificatesUpdateResponseSslSettingsTls13: any; export interface CertificatePackCertificatesUpdateResponseSslSettings { /** An allowlist of ciphers for TLS termination. These ciphers must be in the BoringSSL format. */ ciphers?: CertificatePackCertificatesUpdateResponseSslSettingsCiphersList | null; /** Whether or not Early Hints is enabled. */ earlyHints?: CertificatePackCertificatesUpdateResponseSslSettingsEarlyHints | null; /** Whether or not HTTP2 is enabled. */ http2?: CertificatePackCertificatesUpdateResponseSslSettingsHttp2 | null; /** The minimum TLS version supported. */ minTlsVersion?: CertificatePackCertificatesUpdateResponseSslSettingsMinTlsVersion | null; /** Whether or not TLS 1.3 is enabled. */ tls_1_3?: CertificatePackCertificatesUpdateResponseSslSettingsTls13 | null; } export declare const CertificatePackCertificatesUpdateResponseSslSettings: S.Schema; export type CertificatePackCertificatesUpdateResponseSslStatus = "initializing" | "pending_validation" | "deleted" | "pending_issuance" | "pending_deployment" | "pending_deletion" | "pending_expiration" | "expired" | "active" | "initializing_timed_out" | "validation_timed_out" | "issuance_timed_out" | "deployment_timed_out" | "deletion_timed_out" | "pending_cleanup" | "staging_deployment" | "staging_active" | "deactivating" | "inactive" | "backup_issued" | "holding_deployment"; export declare const CertificatePackCertificatesUpdateResponseSslStatus: any; export type CertificatePackCertificatesUpdateResponseSslType = "dv"; export declare const CertificatePackCertificatesUpdateResponseSslType: any; export type CertificatePackCertificatesUpdateResponseSslValidationErrorsItem = CreateResponseSslValidationErrorsItem; export declare const CertificatePackCertificatesUpdateResponseSslValidationErrorsItem: S.Schema; export type CertificatePackCertificatesUpdateResponseSslValidationErrorsList = Array; export declare const CertificatePackCertificatesUpdateResponseSslValidationErrorsList: S.Schema; export type CertificatePackCertificatesUpdateResponseSslValidationRecordsItemEmailsList = Array; export declare const CertificatePackCertificatesUpdateResponseSslValidationRecordsItemEmailsList: S.Schema; export interface CertificatePackCertificatesUpdateResponseSslValidationRecordsItem { /** The CNAME record hostname for DCV delegation. */ cname?: string | null; /** The CNAME record target value for DCV delegation. */ cnameTarget?: string | null; /** The set of email addresses that the certificate authority (CA) will use to complete domain validation. */ emails?: CertificatePackCertificatesUpdateResponseSslValidationRecordsItemEmailsList | null; /** The content that the certificate authority (CA) will expect to find at the http_url during the domain validation. */ httpBody?: string | null; /** The url that will be checked during domain validation. */ httpUrl?: string | null; /** Status of the validation record. */ status?: string | null; /** The hostname that the certificate authority (CA) will check for a TXT record during domain validation . */ txtName?: string | null; /** The TXT record that the certificate authority (CA) will check during domain validation. */ txtValue?: string | null; } export declare const CertificatePackCertificatesUpdateResponseSslValidationRecordsItem: S.Schema; export type CertificatePackCertificatesUpdateResponseSslValidationRecordsList = Array; export declare const CertificatePackCertificatesUpdateResponseSslValidationRecordsList: S.Schema; export interface CertificatePackCertificatesUpdateResponseSsl { /** Custom hostname SSL identifier tag. */ id?: string | null; /** A ubiquitous bundle has the highest probability of being verified everywhere, even by clients using outdated or unusual trust stores. An optimal bundle uses the shortest chain and newest intermediates. And the force bundle verifies the chain, but does not otherwise modify it. */ bundleMethod?: CertificatePackCertificatesUpdateResponseSslBundleMethod | null; /** The Certificate Authority that will issue the certificate. */ certificateAuthority?: CertificatePackCertificatesUpdateResponseSslCertificateAuthority | null; /** If a custom uploaded certificate is used. */ customCertificate?: string | null; /** The identifier for the Custom CSR that was used. */ customCsrId?: string | null; /** The key for a custom uploaded certificate. */ customKey?: string | null; /** DCV Delegation records for domain validation. */ dcvDelegationRecords?: CertificatePackCertificatesUpdateResponseSslDcvDelegationRecordsList | null; /** The time the custom certificate expires on. */ expiresOn?: string | null; /** A list of Hostnames on a custom uploaded certificate. */ hosts?: CertificatePackCertificatesUpdateResponseSslHostsList | null; /** The issuer on a custom uploaded certificate. */ issuer?: string | null; /** Domain control validation (DCV) method used for this hostname. */ method?: CertificatePackCertificatesUpdateResponseSslMethod | null; /** The serial number on a custom uploaded certificate. */ serialNumber?: string | null; settings?: CertificatePackCertificatesUpdateResponseSslSettings | null; /** The signature on a custom uploaded certificate. */ signature?: string | null; /** Status of the hostname's SSL certificates. */ status?: CertificatePackCertificatesUpdateResponseSslStatus | null; /** Level of validation to be used for this hostname. Domain validation (dv) must be used. */ type?: CertificatePackCertificatesUpdateResponseSslType | null; /** The time the custom certificate was uploaded. */ uploadedOn?: string | null; /** Domain validation errors that have been received by the certificate authority (CA). */ validationErrors?: CertificatePackCertificatesUpdateResponseSslValidationErrorsList | null; validationRecords?: CertificatePackCertificatesUpdateResponseSslValidationRecordsList | null; /** Indicates whether the certificate covers a wildcard. */ wildcard?: boolean | null; } export declare const CertificatePackCertificatesUpdateResponseSsl: S.Schema; export type CertificatePackCertificatesUpdateResponseStatus = "active" | "pending" | "active_redeploying" | "moved" | "pending_deletion" | "deleted" | "pending_blocked" | "pending_migration" | "pending_provisioned" | "test_pending" | "test_active" | "test_active_apex" | "test_blocked" | "test_failed" | "provisioned" | "blocked"; export declare const CertificatePackCertificatesUpdateResponseStatus: any; export type CertificatePackCertificatesUpdateResponseVerificationErrorsList = Array; export declare const CertificatePackCertificatesUpdateResponseVerificationErrorsList: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface PutCertificatePackCertificateResponse { /** Identifier. */ id: string; /** The custom hostname that will point to your hostname via CNAME. */ hostname: string; /** This is the time the hostname was created. */ createdAt?: string | null; /** Unique key/value metadata for this hostname. These are per-hostname (customer) settings. */ customMetadata?: CertificatePackCertificatesUpdateResponseCustomMetadataMap | null; /** a valid hostname that’s been added to your DNS zone as an A, AAAA, or CNAME record. */ customOriginServer?: string | null; /** A hostname that will be sent to your custom origin server as SNI for TLS handshake. This can be a valid subdomain of the zone or custom origin server name or the string ':request_host_header:' which will cause the host header in the request to be used as SNI. Not configurable with default/fallback origin server. */ customOriginSni?: string | null; /** This is a record which can be placed to activate a hostname. */ ownershipVerification?: CertificatePackCertificatesUpdateResponseOwnershipVerification | null; /** This presents the token to be served by the given http url to activate a hostname. */ ownershipVerificationHttp?: CreateResponseOwnershipVerificationHttp | null; ssl?: CertificatePackCertificatesUpdateResponseSsl | null; /** Status of the hostname's activation. */ status?: CertificatePackCertificatesUpdateResponseStatus | null; /** These are errors that were encountered while trying to activate a hostname. */ verificationErrors?: CertificatePackCertificatesUpdateResponseVerificationErrorsList | null; } export declare const PutCertificatePackCertificateResponse: S.Schema; export interface PutFallbackOriginRequest { /** Identifier. */ zoneId: string; /** Your origin hostname that requests to your custom hostnames will be sent to. */ origin: string; } export declare const PutFallbackOriginRequest: S.Schema; export type FallbackOriginUpdateResponseErrorsList = Array; export declare const FallbackOriginUpdateResponseErrorsList: S.Schema; export type FallbackOriginUpdateResponseStatus = "initializing" | "pending_deployment" | "pending_deletion" | "active" | "deployment_timed_out" | "deletion_timed_out"; export declare const FallbackOriginUpdateResponseStatus: any; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface PutFallbackOriginResponse { /** This is the time the fallback origin was created. */ createdAt?: string | null; /** These are errors that were encountered while trying to activate a fallback origin. */ errors?: FallbackOriginUpdateResponseErrorsList | null; /** Your origin hostname that requests to your custom hostnames will be sent to. */ origin?: string | null; /** Status of the fallback origin's activation. */ status?: FallbackOriginUpdateResponseStatus | null; /** This is the time the fallback origin was updated. */ updatedAt?: string | null; } export declare const PutFallbackOriginResponse: S.Schema; export type CreateCustomHostnameError = SaasQuotaNotAllocated | CloudflareOpError; /** Add a new custom hostname and request that an SSL certificate be issued for it. One of three validation methods—http, txt, email—should be used, with 'http' recommended if the CNAME is already in place (or will be soon). Specifying 'email' will send an email to the WHOIS contacts on file for the base domain plus hostmaster, postmaster, webmaster, admin, administrator. If http is used and the domain is not already pointing to the Managed CNAME host, the PATCH method must be used once it is (to complete validation). Enable bundling of certificates using the custom_cert_bundle field. The bundling process requires the following condition One certificate in the bundle must use an RSA, and the other must use an ECDSA. */ export declare const createCustomHostname: API.OperationMethod; export type DeleteCertificatePackCertificateError = CloudflareOpError; /** Delete a single custom certificate from a certificate pack that contains two bundled certificates. Deletion is subject to the following constraints. You cannot delete a certificate if it is the only remaining certificate in the pack. At least one certificate must remain in the pack. */ export declare const deleteCertificatePackCertificate: API.OperationMethod; export type DeleteCustomHostnameError = CustomHostnameNotFound | SaasQuotaNotAllocated | CloudflareOpError; /** Permanently deletes a custom hostname and revokes any SSL certificates that were issued for it. This action cannot be undone. */ export declare const deleteCustomHostname: API.OperationMethod; export type DeleteFallbackOriginError = FallbackOriginNotFound | SaasAccessNotGranted | CloudflareOpError; /** Removes the fallback origin configuration for custom hostnames on a zone. Custom hostnames without specific origins will no longer have a fallback. */ export declare const deleteFallbackOrigin: API.OperationMethod; export type GetCustomHostnameError = CustomHostnameNotFound | SaasQuotaNotAllocated | Forbidden | CloudflareOpError; /** Retrieves detailed information about a specific custom hostname, including SSL certificate status, ownership verification, and origin configuration. */ export declare const getCustomHostname: API.OperationMethod; export type GetFallbackOriginError = FallbackOriginNotFound | SaasAccessNotGranted | Forbidden | CloudflareOpError; /** Retrieves the current fallback origin configuration for custom hostnames on a zone. The fallback origin handles traffic when specific custom hostname origins are unavailable. */ export declare const getFallbackOrigin: API.OperationMethod; export type ListCustomHostnamesError = SaasQuotaNotAllocated | Forbidden | CloudflareOpError; /** List, search, sort, and filter all of your custom hostnames. */ export declare const listCustomHostnames: API.PaginatedOperationMethod; export type PatchCustomHostnameError = CustomHostnameNotFound | SaasQuotaNotAllocated | CloudflareOpError; /** Modify SSL configuration for a custom hostname. When sent with SSL config that matches existing config, used to indicate that hostname should pass domain control validation (DCV). Can also be used to change validation type, e.g., from 'http' to 'email'. Bundle an existing certificate with another certificate by using the "custom_cert_bundle" field. The bundling process supports combining certificates as long as the following condition is met. One certificate must use the RSA algorithm, and the other must use the ECDSA algorithm. */ export declare const patchCustomHostname: API.OperationMethod; export type PutCertificatePackCertificateError = CloudflareOpError; /** Replace a single custom certificate within a certificate pack that contains two bundled certificates. The replacement must adhere to the following constraints. You can only replace an RSA certificate with another RSA certificate or an ECDSA certificate with another ECDSA certificate. */ export declare const putCertificatePackCertificate: API.OperationMethod; export type PutFallbackOriginError = SaasAccessNotGranted | CloudflareOpError; /** Updates the fallback origin configuration for custom hostnames on a zone. Sets the default origin server for custom hostname traffic. */ export declare const putFallbackOrigin: API.OperationMethod; //# sourceMappingURL=custom_hostnames.d.ts.map