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 AddressMapNotFound_base: S.Class, import("effect/Cause").YieldableError>; export declare class AddressMapNotFound extends /*@__PURE__*/ AddressMapNotFound_base { } declare const BgpPrefixNotFound_base: S.Class, import("effect/Cause").YieldableError>; export declare class BgpPrefixNotFound extends /*@__PURE__*/ BgpPrefixNotFound_base { } declare const BindingNotFound_base: S.Class, import("effect/Cause").YieldableError>; export declare class BindingNotFound extends /*@__PURE__*/ BindingNotFound_base { } declare const DelegationNotFound_base: S.Class, import("effect/Cause").YieldableError>; export declare class DelegationNotFound extends /*@__PURE__*/ DelegationNotFound_base { } declare const FeatureNotEnabled_base: S.Class, import("effect/Cause").YieldableError>; export declare class FeatureNotEnabled extends /*@__PURE__*/ FeatureNotEnabled_base { } declare const Forbidden_base: S.Class, import("effect/Cause").YieldableError>; export declare class Forbidden extends /*@__PURE__*/ Forbidden_base { } declare const InvalidAccountId_base: S.Class, import("effect/Cause").YieldableError>; export declare class InvalidAccountId extends /*@__PURE__*/ InvalidAccountId_base { } declare const InvalidHostname_base: S.Class, import("effect/Cause").YieldableError>; export declare class InvalidHostname extends /*@__PURE__*/ InvalidHostname_base { } declare const InvalidLoaForm_base: S.Class, import("effect/Cause").YieldableError>; export declare class InvalidLoaForm extends /*@__PURE__*/ InvalidLoaForm_base { } declare const InvalidNetworkCidr_base: S.Class, import("effect/Cause").YieldableError>; export declare class InvalidNetworkCidr extends /*@__PURE__*/ InvalidNetworkCidr_base { } declare const InvalidZoneId_base: S.Class, import("effect/Cause").YieldableError>; export declare class InvalidZoneId extends /*@__PURE__*/ InvalidZoneId_base { } declare const IrrEntryNotFound_base: S.Class, import("effect/Cause").YieldableError>; export declare class IrrEntryNotFound extends /*@__PURE__*/ IrrEntryNotFound_base { } declare const LoaDocumentNotFound_base: S.Class, import("effect/Cause").YieldableError>; export declare class LoaDocumentNotFound extends /*@__PURE__*/ LoaDocumentNotFound_base { } declare const MethodNotAllowed_base: S.Class, import("effect/Cause").YieldableError>; export declare class MethodNotAllowed extends /*@__PURE__*/ MethodNotAllowed_base { } declare const MissingAccountId_base: S.Class, import("effect/Cause").YieldableError>; export declare class MissingAccountId extends /*@__PURE__*/ MissingAccountId_base { } declare const NonexistentAccountPrefix_base: S.Class, import("effect/Cause").YieldableError>; export declare class NonexistentAccountPrefix extends /*@__PURE__*/ NonexistentAccountPrefix_base { } declare const PrefixNotFound_base: S.Class, import("effect/Cause").YieldableError>; export declare class PrefixNotFound extends /*@__PURE__*/ PrefixNotFound_base { } declare const RegionalHostnameEmpty_base: S.Class, import("effect/Cause").YieldableError>; export declare class RegionalHostnameEmpty extends /*@__PURE__*/ RegionalHostnameEmpty_base { } declare const RegionalHostnameNotFound_base: S.Class, import("effect/Cause").YieldableError>; export declare class RegionalHostnameNotFound extends /*@__PURE__*/ RegionalHostnameNotFound_base { } declare const UnsupportedBindingConfiguration_base: S.Class, import("effect/Cause").YieldableError>; export declare class UnsupportedBindingConfiguration extends /*@__PURE__*/ UnsupportedBindingConfiguration_base { } export type AddressMapsCreateRequestIpsList = Array; export declare const AddressMapsCreateRequestIpsList: S.Schema; export type AddressMapsCreateRequestMembershipsItemKind = "zone" | "account"; export declare const AddressMapsCreateRequestMembershipsItemKind: any; export interface AddressMapsCreateRequestMembershipsItem { /** The identifier for the membership (eg. a zone or account tag). */ identifier?: string; /** The type of the membership. */ kind?: AddressMapsCreateRequestMembershipsItemKind | (string & {}); } export declare const AddressMapsCreateRequestMembershipsItem: S.Schema; export type AddressMapsCreateRequestMembershipsList = Array; export declare const AddressMapsCreateRequestMembershipsList: S.Schema; export interface CreateAddressMapRequest { /** Identifier of a Cloudflare account. */ accountId: string; /** An optional description field which may be used to describe the types of IPs or zones on the map. */ description?: string; /** Whether the Address Map is enabled or not. Cloudflare's DNS will not respond with IP addresses on an Address Map until the map is enabled. */ enabled?: boolean; ips?: AddressMapsCreateRequestIpsList; /** Zones and Accounts which will be assigned IPs on this Address Map. A zone membership will take priority over an account membership. */ memberships?: AddressMapsCreateRequestMembershipsList; } export declare const CreateAddressMapRequest: S.Schema; export interface AddressMapsCreateResponseIps { createdAt?: string | null; /** An IPv4 or IPv6 address. */ ip?: string | null; } export declare const AddressMapsCreateResponseIps: S.Schema; export type AddressMapsCreateResponseIpsList = Array; export declare const AddressMapsCreateResponseIpsList: S.Schema; export type AddressMapsCreateResponseMembershipsItemKind = "zone" | "account"; export declare const AddressMapsCreateResponseMembershipsItemKind: any; export interface AddressMapsCreateResponseMembershipsItem { /** Controls whether the membership can be deleted via the API or not. */ canDelete?: boolean | null; createdAt?: string | null; /** The identifier for the membership (eg. a zone or account tag). */ identifier?: string | null; /** The type of the membership. */ kind?: AddressMapsCreateResponseMembershipsItemKind | null; } export declare const AddressMapsCreateResponseMembershipsItem: S.Schema; export type AddressMapsCreateResponseMembershipsList = Array; export declare const AddressMapsCreateResponseMembershipsList: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface CreateAddressMapResponse { /** Identifier of an Address Map. */ id?: string | null; /** If set to false, then the Address Map cannot be deleted via API. This is true for Cloudflare-managed maps. */ canDelete?: boolean | null; /** If set to false, then the IPs on the Address Map cannot be modified via the API. This is true for Cloudflare-managed maps. */ canModifyIps?: boolean | null; createdAt?: string | null; /** If you have legacy TLS clients which do not send the TLS server name indicator, then you can specify one default SNI on the map. If Cloudflare receives a TLS handshake from a client without an SNI, it will respond with the default SNI on those IPs. The default SNI can be any valid zone or subdomain owned by the account. */ defaultSni?: string | null; /** An optional description field which may be used to describe the types of IPs or zones on the map. */ description?: string | null; /** Whether the Address Map is enabled or not. Cloudflare's DNS will not respond with IP addresses on an Address Map until the map is enabled. */ enabled?: boolean | null; /** The set of IPs on the Address Map. */ ips?: AddressMapsCreateResponseIpsList | null; /** Zones and Accounts which will be assigned IPs on this Address Map. A zone membership will take priority over an account membership. */ memberships?: AddressMapsCreateResponseMembershipsList | null; modifiedAt?: string | null; } export declare const CreateAddressMapResponse: S.Schema; export interface CreateLoaDocumentRequest { /** Identifier of a Cloudflare account. */ accountId: string; } export declare const CreateLoaDocumentRequest: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface CreateLoaDocumentResponse { /** Identifier for the uploaded LOA document. */ id?: string | null; /** Identifier of a Cloudflare account. */ accountId?: string | null; /** Whether the LOA has been auto-generated for the prefix owner by Cloudflare. */ autoGenerated?: boolean | null; created?: string | null; /** Name of LOA document. Max file size 10MB, and supported filetype is pdf. */ filename?: string | null; /** File size of the uploaded LOA document. */ sizeBytes?: number | null; /** Whether the LOA has been verified by Cloudflare staff. */ verified?: boolean | null; /** Timestamp of the moment the LOA was marked as validated. */ verifiedAt?: string | null; } export declare const CreateLoaDocumentResponse: S.Schema; export interface CreatePrefixRequest { /** Identifier of a Cloudflare account. */ accountId: string; /** Autonomous System Number (ASN) the prefix will be advertised under. */ asn: number; /** IP Prefix in Classless Inter-Domain Routing format. */ cidr: string; /** Whether Cloudflare is allowed to generate the LOA document on behalf of the prefix owner. */ delegateLoaCreation?: boolean; /** Description of the prefix. */ description?: string; /** Identifier for the uploaded LOA document. */ loaDocumentId?: string; } export declare const CreatePrefixRequest: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface CreatePrefixResponse { /** Identifier of an IP Prefix. */ id?: string | null; /** Identifier of a Cloudflare account. */ accountId?: string | null; /** Prefix advertisement status to the Internet. This field is only not 'null' if on demand is enabled. */ advertised?: boolean | null; /** Last time the advertisement status was changed. This field is only not 'null' if on demand is enabled. */ advertisedModifiedAt?: string | null; /** Approval state of the prefix (P = pending, V = active). */ approved?: string | null; /** Autonomous System Number (ASN) the prefix will be advertised under. */ asn?: number | null; /** IP Prefix in Classless Inter-Domain Routing format. */ cidr?: string | null; createdAt?: string | null; /** Whether Cloudflare is allowed to generate the LOA document on behalf of the prefix owner. */ delegateLoaCreation?: boolean | null; /** Description of the prefix. */ description?: string | null; /** State of one kind of validation for an IP prefix. */ irrValidationState?: string | null; /** Identifier for the uploaded LOA document. */ loaDocumentId?: string | null; modifiedAt?: string | null; /** Whether advertisement of the prefix to the Internet may be dynamically enabled or disabled. */ onDemandEnabled?: boolean | null; /** Whether advertisement status of the prefix is locked, meaning it cannot be changed. */ onDemandLocked?: boolean | null; /** State of one kind of validation for an IP prefix. */ ownershipValidationState?: string | null; /** Token provided to demonstrate ownership of the prefix. */ ownershipValidationToken?: string | null; /** State of one kind of validation for an IP prefix. */ rpkiValidationState?: string | null; } export declare const CreatePrefixResponse: S.Schema; export interface CreatePrefixBgpPrefixRequest { /** Identifier of a Cloudflare account. */ accountId: string; /** Identifier of an IP Prefix. */ prefixId: string; /** IP Prefix in Classless Inter-Domain Routing format. */ cidr: string; } export declare const CreatePrefixBgpPrefixRequest: S.Schema; export interface PrefixesBgpPrefixesCreateResponseBgpSignalOpts { /** Whether control of advertisement of the prefix to the Internet is enabled to be performed via BGP signal */ enabled?: boolean | null; /** Last time BGP signaling control was toggled. This field is null if BGP signaling has never been enabled. */ modifiedAt?: string | null; } export declare const PrefixesBgpPrefixesCreateResponseBgpSignalOpts: S.Schema; export interface PrefixesBgpPrefixesCreateResponseOnDemand { /** Prefix advertisement status to the Internet. This field is only not 'null' if on demand is enabled. */ advertised?: boolean | null; /** Last time the advertisement status was changed. This field is only not 'null' if on demand is enabled. */ advertisedModifiedAt?: string | null; /** Whether advertisement of the prefix to the Internet may be dynamically enabled or disabled. */ onDemandEnabled?: boolean | null; /** Whether the advertisement status of the prefix is locked, meaning it cannot be changed. */ onDemandLocked?: boolean | null; } export declare const PrefixesBgpPrefixesCreateResponseOnDemand: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface CreatePrefixBgpPrefixResponse { /** Identifier of BGP Prefix. */ id?: string | null; /** Autonomous System Number (ASN) the prefix will be advertised under. */ asn?: number | null; /** Number of times to prepend the Cloudflare ASN to the BGP AS-Path attribute */ asnPrependCount?: number | null; /** Determines if Cloudflare advertises a BYOIP BGP prefix even when there is no matching BGP prefix in the Magic routing table. When true, Cloudflare will automatically withdraw the BGP prefix when there are no matching BGP routes, and will resume advertising when there is at least one matching BGP route. */ autoAdvertiseWithdraw?: boolean | null; bgpSignalOpts?: PrefixesBgpPrefixesCreateResponseBgpSignalOpts | null; /** IP Prefix in Classless Inter-Domain Routing format. */ cidr?: string | null; createdAt?: string | null; modifiedAt?: string | null; onDemand?: PrefixesBgpPrefixesCreateResponseOnDemand | null; } export declare const CreatePrefixBgpPrefixResponse: S.Schema; export interface CreatePrefixDelegationRequest { /** Identifier of a Cloudflare account. */ accountId: string; /** Identifier of an IP Prefix. */ prefixId: string; /** IP Prefix in Classless Inter-Domain Routing format. */ cidr: string; /** Account identifier for the account to which prefix is being delegated. */ delegatedAccountId: string; } export declare const CreatePrefixDelegationRequest: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface CreatePrefixDelegationResponse { /** Identifier of a Delegation. */ id?: string | null; /** IP Prefix in Classless Inter-Domain Routing format. */ cidr?: string | null; createdAt?: string | null; /** Account identifier for the account to which prefix is being delegated. */ delegatedAccountId?: string | null; modifiedAt?: string | null; /** Identifier of an IP Prefix. */ parentPrefixId?: string | null; } export declare const CreatePrefixDelegationResponse: S.Schema; export interface CreatePrefixServiceBindingRequest { /** Identifier of a Cloudflare account. */ accountId: string; /** Identifier of an IP Prefix. */ prefixId: string; /** IP Prefix in Classless Inter-Domain Routing format. */ cidr: string; /** Identifier of a Service on the Cloudflare network. Available services and their IDs may be found in the */ serviceId: string; } export declare const CreatePrefixServiceBindingRequest: S.Schema; export type PrefixesServiceBindingsCreateResponseProvisioningState = "provisioning" | "active"; export declare const PrefixesServiceBindingsCreateResponseProvisioningState: any; export interface PrefixesServiceBindingsCreateResponseProvisioning { /** When a binding has been deployed to a majority of Cloudflare datacenters, the binding will become active and can be used with its associated service. */ state?: PrefixesServiceBindingsCreateResponseProvisioningState | null; } export declare const PrefixesServiceBindingsCreateResponseProvisioning: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface CreatePrefixServiceBindingResponse { /** Identifier of a Service Binding. */ id?: string | null; /** IP Prefix in Classless Inter-Domain Routing format. */ cidr?: string | null; /** Status of a Service Binding's deployment to the Cloudflare network */ provisioning?: PrefixesServiceBindingsCreateResponseProvisioning | null; /** Identifier of a Service on the Cloudflare network. Available services and their IDs may be found in the */ serviceId?: string | null; /** Name of a service running on the Cloudflare network */ serviceName?: string | null; } export declare const CreatePrefixServiceBindingResponse: S.Schema; export interface CreateRegionalHostnameRequest { /** Identifier. */ zoneId: string; /** DNS hostname to be regionalized, must be a subdomain of the zone. Wildcards are supported for one level, e.g `*.example.com` */ hostname: string; /** Identifying key for the region */ regionKey: string; /** Configure which routing method to use for the regional hostname */ routing?: string; } export declare const CreateRegionalHostnameRequest: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface CreateRegionalHostnameResponse { /** When the regional hostname was created */ createdOn: string; /** DNS hostname to be regionalized, must be a subdomain of the zone. Wildcards are supported for one level, e.g `*.example.com` */ hostname: string; /** Identifying key for the region */ regionKey: string; /** Configure which routing method to use for the regional hostname */ routing: string; } export declare const CreateRegionalHostnameResponse: S.Schema; export interface DeleteAddressMapRequest { /** Identifier of a Cloudflare account. */ accountId: string; /** Identifier of an Address Map. */ addressMapId: string; } export declare const DeleteAddressMapRequest: S.Schema; export interface DeleteAddressMapResponse { } export declare const DeleteAddressMapResponse: S.Schema; export interface DeleteAddressMapAccountRequest { /** Identifier of a Cloudflare account. */ accountId: string; /** Identifier of an Address Map. */ addressMapId: string; /** Identifier of the Cloudflare account to remove from the address map. */ memberAccountId: string; } export declare const DeleteAddressMapAccountRequest: S.Schema; export interface DeleteAddressMapAccountResponse { } export declare const DeleteAddressMapAccountResponse: S.Schema; export interface DeleteAddressMapIpRequest { /** Identifier of a Cloudflare account. */ accountId: string; /** Identifier of an Address Map. */ addressMapId: string; /** An IPv4 or IPv6 address. */ ipAddress: string; } export declare const DeleteAddressMapIpRequest: S.Schema; export interface DeleteAddressMapIpResponse { } export declare const DeleteAddressMapIpResponse: S.Schema; export interface DeleteAddressMapZoneRequest { /** Identifier of a Cloudflare account. */ accountId: string; /** Identifier of an Address Map. */ addressMapId: string; /** Identifier of a zone. */ zoneId: string; } export declare const DeleteAddressMapZoneRequest: S.Schema; export interface DeleteAddressMapZoneResponse { } export declare const DeleteAddressMapZoneResponse: S.Schema; export interface DeletePrefixRequest { /** Identifier of a Cloudflare account. */ accountId: string; /** Identifier of an IP Prefix. */ prefixId: string; } export declare const DeletePrefixRequest: S.Schema; export interface DeletePrefixResponse { } export declare const DeletePrefixResponse: S.Schema; export interface DeletePrefixDelegationRequest { /** Identifier of a Cloudflare account. */ accountId: string; /** Identifier of an IP Prefix. */ prefixId: string; /** Identifier of a Delegation. */ delegationId: string; } export declare const DeletePrefixDelegationRequest: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface DeletePrefixDelegationResponse { /** Identifier of a Delegation. */ id?: string | null; } export declare const DeletePrefixDelegationResponse: S.Schema; export interface DeletePrefixServiceBindingRequest { /** Identifier of a Cloudflare account. */ accountId: string; /** Identifier of an IP Prefix. */ prefixId: string; /** Identifier of a Service Binding. */ bindingId: string; } export declare const DeletePrefixServiceBindingRequest: S.Schema; export interface DeletePrefixServiceBindingResponse { } export declare const DeletePrefixServiceBindingResponse: S.Schema; export interface DeleteRegionalHostnameRequest { /** Identifier. */ zoneId: string; /** DNS hostname to be regionalized, must be a subdomain of the zone. Wildcards are supported for one level, e.g `*.example.com` */ hostname: string; } export declare const DeleteRegionalHostnameRequest: S.Schema; export interface DeleteRegionalHostnameResponse { } export declare const DeleteRegionalHostnameResponse: S.Schema; export interface GetAddressMapRequest { /** Identifier of a Cloudflare account. */ accountId: string; /** Identifier of an Address Map. */ addressMapId: string; } export declare const GetAddressMapRequest: S.Schema; export type AddressMapsGetResponseIps = AddressMapsCreateResponseIps; export declare const AddressMapsGetResponseIps: S.Schema; export type AddressMapsGetResponseIpsList = Array; export declare const AddressMapsGetResponseIpsList: S.Schema; export type AddressMapsGetResponseMembershipsItemKind = "zone" | "account"; export declare const AddressMapsGetResponseMembershipsItemKind: any; export interface AddressMapsGetResponseMembershipsItem { /** Controls whether the membership can be deleted via the API or not. */ canDelete?: boolean | null; createdAt?: string | null; /** The identifier for the membership (eg. a zone or account tag). */ identifier?: string | null; /** The type of the membership. */ kind?: AddressMapsGetResponseMembershipsItemKind | null; } export declare const AddressMapsGetResponseMembershipsItem: S.Schema; export type AddressMapsGetResponseMembershipsList = Array; export declare const AddressMapsGetResponseMembershipsList: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface GetAddressMapResponse { /** Identifier of an Address Map. */ id?: string | null; /** If set to false, then the Address Map cannot be deleted via API. This is true for Cloudflare-managed maps. */ canDelete?: boolean | null; /** If set to false, then the IPs on the Address Map cannot be modified via the API. This is true for Cloudflare-managed maps. */ canModifyIps?: boolean | null; createdAt?: string | null; /** If you have legacy TLS clients which do not send the TLS server name indicator, then you can specify one default SNI on the map. If Cloudflare receives a TLS handshake from a client without an SNI, it will respond with the default SNI on those IPs. The default SNI can be any valid zone or subdomain owned by the account. */ defaultSni?: string | null; /** An optional description field which may be used to describe the types of IPs or zones on the map. */ description?: string | null; /** Whether the Address Map is enabled or not. Cloudflare's DNS will not respond with IP addresses on an Address Map until the map is enabled. */ enabled?: boolean | null; /** The set of IPs on the Address Map. */ ips?: AddressMapsGetResponseIpsList | null; /** Zones and Accounts which will be assigned IPs on this Address Map. A zone membership will take priority over an account membership. */ memberships?: AddressMapsGetResponseMembershipsList | null; modifiedAt?: string | null; } export declare const GetAddressMapResponse: S.Schema; export interface GetLoaDocumentRequest { /** Identifier of a Cloudflare account. */ accountId: string; /** Identifier for the uploaded LOA document. */ loaDocumentId: string; } export declare const GetLoaDocumentRequest: S.Schema; export interface GetLoaDocumentResponse { } export declare const GetLoaDocumentResponse: S.Schema; export interface GetPrefixRequest { /** Identifier of a Cloudflare account. */ accountId: string; /** Identifier of an IP Prefix. */ prefixId: string; } export declare const GetPrefixRequest: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface GetPrefixResponse { /** Identifier of an IP Prefix. */ id?: string | null; /** Identifier of a Cloudflare account. */ accountId?: string | null; /** Prefix advertisement status to the Internet. This field is only not 'null' if on demand is enabled. */ advertised?: boolean | null; /** Last time the advertisement status was changed. This field is only not 'null' if on demand is enabled. */ advertisedModifiedAt?: string | null; /** Approval state of the prefix (P = pending, V = active). */ approved?: string | null; /** Autonomous System Number (ASN) the prefix will be advertised under. */ asn?: number | null; /** IP Prefix in Classless Inter-Domain Routing format. */ cidr?: string | null; createdAt?: string | null; /** Whether Cloudflare is allowed to generate the LOA document on behalf of the prefix owner. */ delegateLoaCreation?: boolean | null; /** Description of the prefix. */ description?: string | null; /** State of one kind of validation for an IP prefix. */ irrValidationState?: string | null; /** Identifier for the uploaded LOA document. */ loaDocumentId?: string | null; modifiedAt?: string | null; /** Whether advertisement of the prefix to the Internet may be dynamically enabled or disabled. */ onDemandEnabled?: boolean | null; /** Whether advertisement status of the prefix is locked, meaning it cannot be changed. */ onDemandLocked?: boolean | null; /** State of one kind of validation for an IP prefix. */ ownershipValidationState?: string | null; /** Token provided to demonstrate ownership of the prefix. */ ownershipValidationToken?: string | null; /** State of one kind of validation for an IP prefix. */ rpkiValidationState?: string | null; } export declare const GetPrefixResponse: S.Schema; export interface GetPrefixAdvertisementStatusRequest { /** Identifier of a Cloudflare account. */ accountId: string; /** Identifier of an IP Prefix. */ prefixId: string; } export declare const GetPrefixAdvertisementStatusRequest: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface GetPrefixAdvertisementStatusResponse { /** Advertisement status of the prefix. If `true`, the BGP route for the prefix is advertised to the Internet. If */ advertised?: boolean | null; /** Last time the advertisement status was changed. This field is only not 'null' if on demand is enabled. */ advertisedModifiedAt?: string | null; } export declare const GetPrefixAdvertisementStatusResponse: S.Schema; export interface GetPrefixBgpPrefixRequest { /** Identifier of a Cloudflare account. */ accountId: string; /** Identifier of an IP Prefix. */ prefixId: string; /** Identifier of BGP Prefix. */ bgpPrefixId: string; } export declare const GetPrefixBgpPrefixRequest: S.Schema; export type PrefixesBgpPrefixesGetResponseBgpSignalOpts = PrefixesBgpPrefixesCreateResponseBgpSignalOpts; export declare const PrefixesBgpPrefixesGetResponseBgpSignalOpts: S.Schema; export type PrefixesBgpPrefixesGetResponseOnDemand = PrefixesBgpPrefixesCreateResponseOnDemand; export declare const PrefixesBgpPrefixesGetResponseOnDemand: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface GetPrefixBgpPrefixResponse { /** Identifier of BGP Prefix. */ id?: string | null; /** Autonomous System Number (ASN) the prefix will be advertised under. */ asn?: number | null; /** Number of times to prepend the Cloudflare ASN to the BGP AS-Path attribute */ asnPrependCount?: number | null; /** Determines if Cloudflare advertises a BYOIP BGP prefix even when there is no matching BGP prefix in the Magic routing table. When true, Cloudflare will automatically withdraw the BGP prefix when there are no matching BGP routes, and will resume advertising when there is at least one matching BGP route. */ autoAdvertiseWithdraw?: boolean | null; bgpSignalOpts?: PrefixesBgpPrefixesCreateResponseBgpSignalOpts | null; /** IP Prefix in Classless Inter-Domain Routing format. */ cidr?: string | null; createdAt?: string | null; modifiedAt?: string | null; onDemand?: PrefixesBgpPrefixesCreateResponseOnDemand | null; } export declare const GetPrefixBgpPrefixResponse: S.Schema; export interface GetPrefixServiceBindingRequest { /** Identifier of a Cloudflare account. */ accountId: string; /** Identifier of an IP Prefix. */ prefixId: string; /** Identifier of a Service Binding. */ bindingId: string; } export declare const GetPrefixServiceBindingRequest: S.Schema; export type PrefixesServiceBindingsGetResponseProvisioningState = "provisioning" | "active"; export declare const PrefixesServiceBindingsGetResponseProvisioningState: any; export interface PrefixesServiceBindingsGetResponseProvisioning { /** When a binding has been deployed to a majority of Cloudflare datacenters, the binding will become active and can be used with its associated service. */ state?: PrefixesServiceBindingsGetResponseProvisioningState | null; } export declare const PrefixesServiceBindingsGetResponseProvisioning: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface GetPrefixServiceBindingResponse { /** Identifier of a Service Binding. */ id?: string | null; /** IP Prefix in Classless Inter-Domain Routing format. */ cidr?: string | null; /** Status of a Service Binding's deployment to the Cloudflare network */ provisioning?: PrefixesServiceBindingsGetResponseProvisioning | null; /** Identifier of a Service on the Cloudflare network. Available services and their IDs may be found in the */ serviceId?: string | null; /** Name of a service running on the Cloudflare network */ serviceName?: string | null; } export declare const GetPrefixServiceBindingResponse: S.Schema; export interface GetRegionalHostnameRequest { /** Identifier. */ zoneId: string; /** DNS hostname to be regionalized, must be a subdomain of the zone. Wildcards are supported for one level, e.g `*.example.com` */ hostname: string; } export declare const GetRegionalHostnameRequest: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface GetRegionalHostnameResponse { /** When the regional hostname was created */ createdOn: string; /** DNS hostname to be regionalized, must be a subdomain of the zone. Wildcards are supported for one level, e.g `*.example.com` */ hostname: string; /** Identifying key for the region */ regionKey: string; /** Configure which routing method to use for the regional hostname */ routing: string; } export declare const GetRegionalHostnameResponse: S.Schema; export interface ListAddressMapsRequest { /** Identifier of a Cloudflare account. */ accountId: string; } export declare const ListAddressMapsRequest: S.Schema; export interface AddressMapsListResultItem { /** Identifier of an Address Map. */ id?: string | null; /** If set to false, then the Address Map cannot be deleted via API. This is true for Cloudflare-managed maps. */ canDelete?: boolean | null; /** If set to false, then the IPs on the Address Map cannot be modified via the API. This is true for Cloudflare-managed maps. */ canModifyIps?: boolean | null; createdAt?: string | null; /** If you have legacy TLS clients which do not send the TLS server name indicator, then you can specify one default SNI on the map. If Cloudflare receives a TLS handshake from a client without an SNI, it will respond with the default SNI on those IPs. The default SNI can be any valid zone or subdomain owned by the account. */ defaultSni?: string | null; /** An optional description field which may be used to describe the types of IPs or zones on the map. */ description?: string | null; /** Whether the Address Map is enabled or not. Cloudflare's DNS will not respond with IP addresses on an Address Map until the map is enabled. */ enabled?: boolean | null; modifiedAt?: string | null; } export declare const AddressMapsListResultItem: S.Schema; export type AddressMapsListResultList = Array; export declare const AddressMapsListResultList: S.Schema; export interface ListAddressMapsResponse { /** The unwrapped `result` payload of the v4 response envelope. */ result: AddressMapsListResultList; /** Pagination info from the envelope's `result_info`. */ resultInfo?: ResultInfo | null; } export declare const ListAddressMapsResponse: S.Schema; export interface ListPrefixBgpPrefixesRequest { /** Identifier of a Cloudflare account. */ accountId: string; /** Identifier of an IP Prefix. */ prefixId: string; } export declare const ListPrefixBgpPrefixesRequest: S.Schema; export type PrefixesBgpPrefixesListResultItemBgpSignalOpts = PrefixesBgpPrefixesCreateResponseBgpSignalOpts; export declare const PrefixesBgpPrefixesListResultItemBgpSignalOpts: S.Schema; export type PrefixesBgpPrefixesListResultItemOnDemand = PrefixesBgpPrefixesCreateResponseOnDemand; export declare const PrefixesBgpPrefixesListResultItemOnDemand: S.Schema; export interface PrefixesBgpPrefixesListResultItem { /** Identifier of BGP Prefix. */ id?: string | null; /** Autonomous System Number (ASN) the prefix will be advertised under. */ asn?: number | null; /** Number of times to prepend the Cloudflare ASN to the BGP AS-Path attribute */ asnPrependCount?: number | null; /** Determines if Cloudflare advertises a BYOIP BGP prefix even when there is no matching BGP prefix in the Magic routing table. When true, Cloudflare will automatically withdraw the BGP prefix when there are no matching BGP routes, and will resume advertising when there is at least one matching BGP route. */ autoAdvertiseWithdraw?: boolean | null; bgpSignalOpts?: PrefixesBgpPrefixesCreateResponseBgpSignalOpts | null; /** IP Prefix in Classless Inter-Domain Routing format. */ cidr?: string | null; createdAt?: string | null; modifiedAt?: string | null; onDemand?: PrefixesBgpPrefixesCreateResponseOnDemand | null; } export declare const PrefixesBgpPrefixesListResultItem: S.Schema; export type PrefixesBgpPrefixesListResultList = Array; export declare const PrefixesBgpPrefixesListResultList: S.Schema; export interface ListPrefixBgpPrefixesResponse { /** The unwrapped `result` payload of the v4 response envelope. */ result: PrefixesBgpPrefixesListResultList; /** Pagination info from the envelope's `result_info`. */ resultInfo?: ResultInfo | null; } export declare const ListPrefixBgpPrefixesResponse: S.Schema; export interface ListPrefixDelegationsRequest { /** Identifier of a Cloudflare account. */ accountId: string; /** Identifier of an IP Prefix. */ prefixId: string; } export declare const ListPrefixDelegationsRequest: S.Schema; export interface PrefixesDelegationsListResultItem { /** Identifier of a Delegation. */ id?: string | null; /** IP Prefix in Classless Inter-Domain Routing format. */ cidr?: string | null; createdAt?: string | null; /** Account identifier for the account to which prefix is being delegated. */ delegatedAccountId?: string | null; modifiedAt?: string | null; /** Identifier of an IP Prefix. */ parentPrefixId?: string | null; } export declare const PrefixesDelegationsListResultItem: S.Schema; export type PrefixesDelegationsListResultList = Array; export declare const PrefixesDelegationsListResultList: S.Schema; export interface ListPrefixDelegationsResponse { /** The unwrapped `result` payload of the v4 response envelope. */ result: PrefixesDelegationsListResultList; /** Pagination info from the envelope's `result_info`. */ resultInfo?: ResultInfo | null; } export declare const ListPrefixDelegationsResponse: S.Schema; export interface ListPrefixesRequest { /** Identifier of a Cloudflare account. */ accountId: string; } export declare const ListPrefixesRequest: S.Schema; export interface PrefixesListResultItem { /** Identifier of an IP Prefix. */ id?: string | null; /** Identifier of a Cloudflare account. */ accountId?: string | null; /** Prefix advertisement status to the Internet. This field is only not 'null' if on demand is enabled. */ advertised?: boolean | null; /** Last time the advertisement status was changed. This field is only not 'null' if on demand is enabled. */ advertisedModifiedAt?: string | null; /** Approval state of the prefix (P = pending, V = active). */ approved?: string | null; /** Autonomous System Number (ASN) the prefix will be advertised under. */ asn?: number | null; /** IP Prefix in Classless Inter-Domain Routing format. */ cidr?: string | null; createdAt?: string | null; /** Whether Cloudflare is allowed to generate the LOA document on behalf of the prefix owner. */ delegateLoaCreation?: boolean | null; /** Description of the prefix. */ description?: string | null; /** State of one kind of validation for an IP prefix. */ irrValidationState?: string | null; /** Identifier for the uploaded LOA document. */ loaDocumentId?: string | null; modifiedAt?: string | null; /** Whether advertisement of the prefix to the Internet may be dynamically enabled or disabled. */ onDemandEnabled?: boolean | null; /** Whether advertisement status of the prefix is locked, meaning it cannot be changed. */ onDemandLocked?: boolean | null; /** State of one kind of validation for an IP prefix. */ ownershipValidationState?: string | null; /** Token provided to demonstrate ownership of the prefix. */ ownershipValidationToken?: string | null; /** State of one kind of validation for an IP prefix. */ rpkiValidationState?: string | null; } export declare const PrefixesListResultItem: S.Schema; export type PrefixesListResultList = Array; export declare const PrefixesListResultList: S.Schema; export interface ListPrefixesResponse { /** The unwrapped `result` payload of the v4 response envelope. */ result: PrefixesListResultList; /** Pagination info from the envelope's `result_info`. */ resultInfo?: ResultInfo | null; } export declare const ListPrefixesResponse: S.Schema; export interface ListPrefixServiceBindingsRequest { /** Identifier of a Cloudflare account. */ accountId: string; /** Identifier of an IP Prefix. */ prefixId: string; } export declare const ListPrefixServiceBindingsRequest: S.Schema; export type PrefixesServiceBindingsListResultItemProvisioningState = "provisioning" | "active"; export declare const PrefixesServiceBindingsListResultItemProvisioningState: any; export interface PrefixesServiceBindingsListResultItemProvisioning { /** When a binding has been deployed to a majority of Cloudflare datacenters, the binding will become active and can be used with its associated service. */ state?: PrefixesServiceBindingsListResultItemProvisioningState | null; } export declare const PrefixesServiceBindingsListResultItemProvisioning: S.Schema; export interface PrefixesServiceBindingsListResultItem { /** Identifier of a Service Binding. */ id?: string | null; /** IP Prefix in Classless Inter-Domain Routing format. */ cidr?: string | null; /** Status of a Service Binding's deployment to the Cloudflare network */ provisioning?: PrefixesServiceBindingsListResultItemProvisioning | null; /** Identifier of a Service on the Cloudflare network. Available services and their IDs may be found in the */ serviceId?: string | null; /** Name of a service running on the Cloudflare network */ serviceName?: string | null; } export declare const PrefixesServiceBindingsListResultItem: S.Schema; export type PrefixesServiceBindingsListResultList = Array; export declare const PrefixesServiceBindingsListResultList: S.Schema; export interface ListPrefixServiceBindingsResponse { /** The unwrapped `result` payload of the v4 response envelope. */ result: PrefixesServiceBindingsListResultList; /** Pagination info from the envelope's `result_info`. */ resultInfo?: ResultInfo | null; } export declare const ListPrefixServiceBindingsResponse: S.Schema; export interface ListRegionalHostnameRegionsRequest { /** Identifier. */ accountId: string; } export declare const ListRegionalHostnameRegionsRequest: S.Schema; export interface RegionalHostnamesRegionsListResultItem { /** Identifying key for the region */ key?: string | null; /** Human-readable text label for the region */ label?: string | null; } export declare const RegionalHostnamesRegionsListResultItem: S.Schema; export type RegionalHostnamesRegionsListResultList = Array; export declare const RegionalHostnamesRegionsListResultList: S.Schema; export interface ListRegionalHostnameRegionsResponse { /** The unwrapped `result` payload of the v4 response envelope. */ result: RegionalHostnamesRegionsListResultList; /** Pagination info from the envelope's `result_info`. */ resultInfo?: ResultInfo | null; } export declare const ListRegionalHostnameRegionsResponse: S.Schema; export interface ListRegionalHostnamesRequest { /** Identifier. */ zoneId: string; } export declare const ListRegionalHostnamesRequest: S.Schema; export interface RegionalHostnamesListResultItem { /** When the regional hostname was created */ createdOn: string; /** DNS hostname to be regionalized, must be a subdomain of the zone. Wildcards are supported for one level, e.g `*.example.com` */ hostname: string; /** Identifying key for the region */ regionKey: string; /** Configure which routing method to use for the regional hostname */ routing: string; } export declare const RegionalHostnamesListResultItem: S.Schema; export type RegionalHostnamesListResultList = Array; export declare const RegionalHostnamesListResultList: S.Schema; export interface ListRegionalHostnamesResponse { /** The unwrapped `result` payload of the v4 response envelope. */ result: RegionalHostnamesListResultList; /** Pagination info from the envelope's `result_info`. */ resultInfo?: ResultInfo | null; } export declare const ListRegionalHostnamesResponse: S.Schema; export interface ListServicesRequest { /** Identifier of a Cloudflare account. */ accountId: string; } export declare const ListServicesRequest: S.Schema; export interface ServicesListResultItem { /** Identifier of a Service on the Cloudflare network. Available services and their IDs may be found in the */ id?: string | null; /** Name of a service running on the Cloudflare network */ name?: string | null; } export declare const ServicesListResultItem: S.Schema; export type ServicesListResultList = Array; export declare const ServicesListResultList: S.Schema; export interface ListServicesResponse { /** The unwrapped `result` payload of the v4 response envelope. */ result: ServicesListResultList; /** Pagination info from the envelope's `result_info`. */ resultInfo?: ResultInfo | null; } export declare const ListServicesResponse: S.Schema; export interface PatchAddressMapRequest { /** Identifier of a Cloudflare account. */ accountId: string; /** Identifier of an Address Map. */ addressMapId: string; /** If you have legacy TLS clients which do not send the TLS server name indicator, then you can specify one default SNI on the map. If Cloudflare receives a TLS handshake from a client without an SNI, it will respond with the default SNI on those IPs. The default SNI can be any valid zone or subdomain owned by the account. */ defaultSni?: string; /** An optional description field which may be used to describe the types of IPs or zones on the map. */ description?: string; /** Whether the Address Map is enabled or not. Cloudflare's DNS will not respond with IP addresses on an Address Map until the map is enabled. */ enabled?: boolean; } export declare const PatchAddressMapRequest: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface PatchAddressMapResponse { /** Identifier of an Address Map. */ id?: string | null; /** If set to false, then the Address Map cannot be deleted via API. This is true for Cloudflare-managed maps. */ canDelete?: boolean | null; /** If set to false, then the IPs on the Address Map cannot be modified via the API. This is true for Cloudflare-managed maps. */ canModifyIps?: boolean | null; createdAt?: string | null; /** If you have legacy TLS clients which do not send the TLS server name indicator, then you can specify one default SNI on the map. If Cloudflare receives a TLS handshake from a client without an SNI, it will respond with the default SNI on those IPs. The default SNI can be any valid zone or subdomain owned by the account. */ defaultSni?: string | null; /** An optional description field which may be used to describe the types of IPs or zones on the map. */ description?: string | null; /** Whether the Address Map is enabled or not. Cloudflare's DNS will not respond with IP addresses on an Address Map until the map is enabled. */ enabled?: boolean | null; modifiedAt?: string | null; } export declare const PatchAddressMapResponse: S.Schema; export interface PatchPrefixRequest { /** Identifier of a Cloudflare account. */ accountId: string; /** Identifier of an IP Prefix. */ prefixId: string; /** Description of the prefix. */ description: string; } export declare const PatchPrefixRequest: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface PatchPrefixResponse { /** Identifier of an IP Prefix. */ id?: string | null; /** Identifier of a Cloudflare account. */ accountId?: string | null; /** Prefix advertisement status to the Internet. This field is only not 'null' if on demand is enabled. */ advertised?: boolean | null; /** Last time the advertisement status was changed. This field is only not 'null' if on demand is enabled. */ advertisedModifiedAt?: string | null; /** Approval state of the prefix (P = pending, V = active). */ approved?: string | null; /** Autonomous System Number (ASN) the prefix will be advertised under. */ asn?: number | null; /** IP Prefix in Classless Inter-Domain Routing format. */ cidr?: string | null; createdAt?: string | null; /** Whether Cloudflare is allowed to generate the LOA document on behalf of the prefix owner. */ delegateLoaCreation?: boolean | null; /** Description of the prefix. */ description?: string | null; /** State of one kind of validation for an IP prefix. */ irrValidationState?: string | null; /** Identifier for the uploaded LOA document. */ loaDocumentId?: string | null; modifiedAt?: string | null; /** Whether advertisement of the prefix to the Internet may be dynamically enabled or disabled. */ onDemandEnabled?: boolean | null; /** Whether advertisement status of the prefix is locked, meaning it cannot be changed. */ onDemandLocked?: boolean | null; /** State of one kind of validation for an IP prefix. */ ownershipValidationState?: string | null; /** Token provided to demonstrate ownership of the prefix. */ ownershipValidationToken?: string | null; /** State of one kind of validation for an IP prefix. */ rpkiValidationState?: string | null; } export declare const PatchPrefixResponse: S.Schema; export interface PatchPrefixAdvertisementStatusRequest { /** Identifier of a Cloudflare account. */ accountId: string; /** Identifier of an IP Prefix. */ prefixId: string; /** Advertisement status of the prefix. If `true`, the BGP route for the prefix is advertised to the Internet. If */ advertised: boolean; } export declare const PatchPrefixAdvertisementStatusRequest: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface PatchPrefixAdvertisementStatusResponse { /** Advertisement status of the prefix. If `true`, the BGP route for the prefix is advertised to the Internet. If */ advertised?: boolean | null; /** Last time the advertisement status was changed. This field is only not 'null' if on demand is enabled. */ advertisedModifiedAt?: string | null; } export declare const PatchPrefixAdvertisementStatusResponse: S.Schema; export interface PrefixesBgpPrefixesEditRequestOnDemand { advertised?: boolean; } export declare const PrefixesBgpPrefixesEditRequestOnDemand: S.Schema; export interface PatchPrefixBgpPrefixRequest { /** Identifier of a Cloudflare account. */ accountId: string; /** Identifier of an IP Prefix. */ prefixId: string; /** Identifier of BGP Prefix. */ bgpPrefixId: string; /** Number of times to prepend the Cloudflare ASN to the BGP AS-Path attribute */ asnPrependCount?: number; /** Determines if Cloudflare advertises a BYOIP BGP prefix even when there is no matching BGP prefix in the Magic routing table. When true, Cloudflare will automatically withdraw the BGP prefix when there are no matching BGP routes, and will resume advertising when there is at least one matching BGP route. */ autoAdvertiseWithdraw?: boolean; onDemand?: PrefixesBgpPrefixesEditRequestOnDemand; } export declare const PatchPrefixBgpPrefixRequest: S.Schema; export type PrefixesBgpPrefixesEditResponseBgpSignalOpts = PrefixesBgpPrefixesCreateResponseBgpSignalOpts; export declare const PrefixesBgpPrefixesEditResponseBgpSignalOpts: S.Schema; export type PrefixesBgpPrefixesEditResponseOnDemand = PrefixesBgpPrefixesCreateResponseOnDemand; export declare const PrefixesBgpPrefixesEditResponseOnDemand: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface PatchPrefixBgpPrefixResponse { /** Identifier of BGP Prefix. */ id?: string | null; /** Autonomous System Number (ASN) the prefix will be advertised under. */ asn?: number | null; /** Number of times to prepend the Cloudflare ASN to the BGP AS-Path attribute */ asnPrependCount?: number | null; /** Determines if Cloudflare advertises a BYOIP BGP prefix even when there is no matching BGP prefix in the Magic routing table. When true, Cloudflare will automatically withdraw the BGP prefix when there are no matching BGP routes, and will resume advertising when there is at least one matching BGP route. */ autoAdvertiseWithdraw?: boolean | null; bgpSignalOpts?: PrefixesBgpPrefixesCreateResponseBgpSignalOpts | null; /** IP Prefix in Classless Inter-Domain Routing format. */ cidr?: string | null; createdAt?: string | null; modifiedAt?: string | null; onDemand?: PrefixesBgpPrefixesCreateResponseOnDemand | null; } export declare const PatchPrefixBgpPrefixResponse: S.Schema; export interface PatchRegionalHostnameRequest { /** Identifier. */ zoneId: string; /** DNS hostname to be regionalized, must be a subdomain of the zone. Wildcards are supported for one level, e.g `*.example.com` */ hostname: string; /** Identifying key for the region */ regionKey: string; } export declare const PatchRegionalHostnameRequest: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface PatchRegionalHostnameResponse { /** When the regional hostname was created */ createdOn: string; /** DNS hostname to be regionalized, must be a subdomain of the zone. Wildcards are supported for one level, e.g `*.example.com` */ hostname: string; /** Identifying key for the region */ regionKey: string; /** Configure which routing method to use for the regional hostname */ routing: string; } export declare const PatchRegionalHostnameResponse: S.Schema; export interface PutAddressMapAccountRequest { /** Identifier of a Cloudflare account. */ accountId: string; /** Identifier of an Address Map. */ addressMapId: string; /** Identifier of the Cloudflare account to add as a member of the address map. */ memberAccountId: string; } export declare const PutAddressMapAccountRequest: S.Schema; export interface PutAddressMapAccountResponse { } export declare const PutAddressMapAccountResponse: S.Schema; export interface PutAddressMapIpRequest { /** Identifier of a Cloudflare account. */ accountId: string; /** Identifier of an Address Map. */ addressMapId: string; /** An IPv4 or IPv6 address. */ ipAddress: string; } export declare const PutAddressMapIpRequest: S.Schema; export interface PutAddressMapIpResponse { } export declare const PutAddressMapIpResponse: S.Schema; export interface PutAddressMapZoneRequest { /** Identifier of a Cloudflare account. */ accountId: string; /** Identifier of an Address Map. */ addressMapId: string; /** Identifier of a zone. */ zoneId: string; } export declare const PutAddressMapZoneRequest: S.Schema; export interface PutAddressMapZoneResponse { } export declare const PutAddressMapZoneResponse: S.Schema; export type CreateAddressMapError = FeatureNotEnabled | InvalidAccountId | Forbidden | CloudflareOpError; /** Create a new address map under the account. */ export declare const createAddressMap: API.OperationMethod; export type CreateLoaDocumentError = InvalidAccountId | InvalidLoaForm | CloudflareOpError; /** Submit LOA document (pdf format) under the account. */ export declare const createLoaDocument: API.OperationMethod; export type CreatePrefixError = InvalidAccountId | InvalidNetworkCidr | IrrEntryNotFound | CloudflareOpError; /** Add a new prefix under the account. */ export declare const createPrefix: API.OperationMethod; export type CreatePrefixBgpPrefixError = NonexistentAccountPrefix | InvalidAccountId | InvalidNetworkCidr | CloudflareOpError; /** Create a BGP prefix, controlling the BGP advertisement status of a specific subnet. When created, BGP prefixes are initially withdrawn, and can be advertised with the Update BGP Prefix API. */ export declare const createPrefixBgpPrefix: API.OperationMethod; export type CreatePrefixDelegationError = PrefixNotFound | MissingAccountId | InvalidAccountId | CloudflareOpError; /** Create a new account delegation for a given IP prefix. */ export declare const createPrefixDelegation: API.OperationMethod; export type CreatePrefixServiceBindingError = UnsupportedBindingConfiguration | InvalidAccountId | CloudflareOpError; /** Creates a new Service Binding, routing traffic to IPs within the given CIDR to a service running on Cloudflare's network. **NOTE:** The first Service Binding created for an IP Prefix must exactly match the IP Prefix's CIDR. Subsequent Service Bindings may be created with a more-specific CIDR. Refer to the [Service Bindings Documentation](https://developers.cloudflare.com/byoip/service-bindings/) for compatibility details. */ export declare const createPrefixServiceBinding: API.OperationMethod; export type CreateRegionalHostnameError = InvalidZoneId | InvalidHostname | RegionalHostnameEmpty | CloudflareOpError; /** Create a new Regional Hostname entry. Cloudflare will only use data centers that are physically located within the chosen region to decrypt and service HTTPS traffic. Learn more about [Regional Services](https://developers.cloudflare.com/data-localization/regional-services/get-started/). */ export declare const createRegionalHostname: API.OperationMethod; export type DeleteAddressMapError = MethodNotAllowed | FeatureNotEnabled | InvalidAccountId | AddressMapNotFound | CloudflareOpError; /** Delete a particular address map owned by the account. An Address Map must be disabled before it can be deleted. */ export declare const deleteAddressMap: API.OperationMethod; export type DeleteAddressMapAccountError = MethodNotAllowed | FeatureNotEnabled | InvalidAccountId | CloudflareOpError; /** Remove an account as a member of a particular address map. */ export declare const deleteAddressMapAccount: API.OperationMethod; export type DeleteAddressMapIpError = MethodNotAllowed | FeatureNotEnabled | InvalidAccountId | AddressMapNotFound | CloudflareOpError; /** Remove an IP from a particular address map. */ export declare const deleteAddressMapIp: API.OperationMethod; export type DeleteAddressMapZoneError = MethodNotAllowed | FeatureNotEnabled | InvalidAccountId | CloudflareOpError; /** Remove a zone as a member of a particular address map. */ export declare const deleteAddressMapZone: API.OperationMethod; export type DeletePrefixError = MethodNotAllowed | PrefixNotFound | InvalidAccountId | CloudflareOpError; /** Delete an unapproved prefix owned by the account. */ export declare const deletePrefix: API.OperationMethod; export type DeletePrefixDelegationError = DelegationNotFound | InvalidAccountId | CloudflareOpError; /** Delete an account delegation for a given IP prefix. */ export declare const deletePrefixDelegation: API.OperationMethod; export type DeletePrefixServiceBindingError = BindingNotFound | InvalidAccountId | PrefixNotFound | CloudflareOpError; /** Delete a Service Binding */ export declare const deletePrefixServiceBinding: API.OperationMethod; export type DeleteRegionalHostnameError = MethodNotAllowed | InvalidZoneId | RegionalHostnameNotFound | RegionalHostnameEmpty | CloudflareOpError; /** Delete the region configuration for a specific Regional Hostname. */ export declare const deleteRegionalHostname: API.OperationMethod; export type GetAddressMapError = AddressMapNotFound | InvalidAccountId | Forbidden | CloudflareOpError; /** Show a particular address map owned by the account. */ export declare const getAddressMap: API.OperationMethod; export type GetLoaDocumentError = LoaDocumentNotFound | InvalidAccountId | CloudflareOpError; /** Download specified LOA document under the account. */ export declare const getLoaDocument: API.OperationMethod; export type GetPrefixError = PrefixNotFound | InvalidAccountId | CloudflareOpError; /** List a particular prefix owned by the account. */ export declare const getPrefix: API.OperationMethod; export type GetPrefixAdvertisementStatusError = PrefixNotFound | InvalidAccountId | CloudflareOpError; /** View the current advertisement state for a prefix. **Deprecated:** Prefer the BGP Prefixes endpoints, which additionally allow for advertising and withdrawing subnets of an IP prefix. */ export declare const getPrefixAdvertisementStatus: API.OperationMethod; export type GetPrefixBgpPrefixError = BgpPrefixNotFound | InvalidAccountId | PrefixNotFound | CloudflareOpError; /** Retrieve a single BGP Prefix according to its identifier */ export declare const getPrefixBgpPrefix: API.OperationMethod; export type GetPrefixServiceBindingError = BindingNotFound | InvalidAccountId | PrefixNotFound | CloudflareOpError; /** Fetch a single Service Binding */ export declare const getPrefixServiceBinding: API.OperationMethod; export type GetRegionalHostnameError = InvalidZoneId | RegionalHostnameNotFound | RegionalHostnameEmpty | CloudflareOpError; /** Fetch the configuration for a specific Regional Hostname, within a zone. */ export declare const getRegionalHostname: API.OperationMethod; export type ListAddressMapsError = CloudflareOpError; /** List all address maps owned by the account. */ export declare const listAddressMaps: API.PaginatedOperationMethod; export type ListPrefixBgpPrefixesError = PrefixNotFound | InvalidAccountId | CloudflareOpError; /** List all BGP Prefixes within the specified IP Prefix. BGP Prefixes are used to control which specific subnets are advertised to the Internet. It is possible to advertise subnets more specific than an IP Prefix by creating more specific BGP Prefixes. */ export declare const listPrefixBgpPrefixes: API.PaginatedOperationMethod; export type ListPrefixDelegationsError = PrefixNotFound | InvalidAccountId | CloudflareOpError; /** List all delegations for a given account IP prefix. */ export declare const listPrefixDelegations: API.PaginatedOperationMethod; export type ListPrefixesError = CloudflareOpError; /** List all prefixes owned by the account. */ export declare const listPrefixes: API.PaginatedOperationMethod; export type ListPrefixServiceBindingsError = PrefixNotFound | InvalidAccountId | CloudflareOpError; /** List the Cloudflare services this prefix is currently bound to. Traffic sent to an address within an IP prefix will be routed to the Cloudflare service of the most-specific Service Binding matching the address. **Example:** binding `192.0.2.0/24` to Cloudflare Magic Transit and `192.0.2.1/32` to the Cloudflare CDN would route traffic for `192.0.2.1` to the CDN, and traffic for all other IPs in the prefix to Cloudflare Magic Transit. */ export declare const listPrefixServiceBindings: API.PaginatedOperationMethod; export type ListRegionalHostnameRegionsError = CloudflareOpError; /** List all Regional Services regions available for use by this account. */ export declare const listRegionalHostnameRegions: API.PaginatedOperationMethod; export type ListRegionalHostnamesError = Forbidden | CloudflareOpError; /** List all Regional Hostnames within a zone. */ export declare const listRegionalHostnames: API.PaginatedOperationMethod; export type ListServicesError = CloudflareOpError; /** Bring-Your-Own IP (BYOIP) prefixes onboarded to Cloudflare must be bound to a service running on the Cloudflare network to enable a Cloudflare product on the IP addresses. This endpoint can be used as a reference of available services on the Cloudflare network, and their service IDs. */ export declare const listServices: API.PaginatedOperationMethod; export type PatchAddressMapError = MethodNotAllowed | FeatureNotEnabled | InvalidAccountId | CloudflareOpError; /** Modify properties of an address map owned by the account. */ export declare const patchAddressMap: API.OperationMethod; export type PatchPrefixError = MethodNotAllowed | PrefixNotFound | InvalidAccountId | CloudflareOpError; /** Modify the description for a prefix owned by the account. */ export declare const patchPrefix: API.OperationMethod; export type PatchPrefixAdvertisementStatusError = PrefixNotFound | InvalidAccountId | CloudflareOpError; /** Advertise or withdraw the BGP route for a prefix. **Deprecated:** Prefer the BGP Prefixes endpoints, which additionally allow for advertising and withdrawing subnets of an IP prefix. */ export declare const patchPrefixAdvertisementStatus: API.OperationMethod; export type PatchPrefixBgpPrefixError = BgpPrefixNotFound | PrefixNotFound | InvalidAccountId | CloudflareOpError; /** Update the properties of a BGP Prefix, such as the on demand advertisement status (advertised or withdrawn). */ export declare const patchPrefixBgpPrefix: API.OperationMethod; export type PatchRegionalHostnameError = InvalidZoneId | RegionalHostnameNotFound | RegionalHostnameEmpty | CloudflareOpError; /** Update the configuration for a specific Regional Hostname. Only the region_key of a hostname is mutable. */ export declare const patchRegionalHostname: API.OperationMethod; export type PutAddressMapAccountError = MethodNotAllowed | FeatureNotEnabled | InvalidAccountId | CloudflareOpError; /** Add an account as a member of a particular address map. */ export declare const putAddressMapAccount: API.OperationMethod; export type PutAddressMapIpError = MethodNotAllowed | FeatureNotEnabled | InvalidAccountId | AddressMapNotFound | CloudflareOpError; /** Add an IP from a prefix owned by the account to a particular address map. */ export declare const putAddressMapIp: API.OperationMethod; export type PutAddressMapZoneError = MethodNotAllowed | FeatureNotEnabled | InvalidAccountId | CloudflareOpError; /** Add a zone as a member of a particular address map. */ export declare const putAddressMapZone: API.OperationMethod; //# sourceMappingURL=addressing.d.ts.map