// AUTO-GENERATED by scripts/generate.ts from .generated-specs. Do not edit. import * as S from "@distilled.cloud/core/schema"; import * as API from "@distilled.cloud/core/api"; import * as T from "../traits.ts"; import { CloudflareProtocol, CloudflarePaginatedProtocol, type CloudflareOpError, type CloudflareOpContext, } from "../protocol.ts"; import { cloudflarePaginate, ResultInfo } from "../pagination.ts"; import { CloudflareError, CloudflareRateLimited } from "../errors.ts"; import * as Retry from "../retry.ts"; export type { CloudflareOpError, CloudflareOpContext }; /** Fallback camelCase→wire mapping for opaque content (mined from the distilled SDK). */ const KEY_DICTIONARY: Record> = { activatedOn: "activated_on", cacheByDeviceType: "cache_by_device_type", canSubscribe: "can_subscribe", cdnOnly: "cdn_only", cnameSuffix: "cname_suffix", createdOn: "created_on", currentPeriodEnd: "current_period_end", currentPeriodStart: "current_period_start", customCertificateQuota: "custom_certificate_quota", developmentMode: "development_mode", dnsOnly: "dns_only", documentationUrl: "documentation_url", externallyManaged: "externally_managed", foundationDns: "foundation_dns", holdAfter: "hold_after", httpApplicationId: "http_application_id", includeSubdomains: "include_subdomains", isContract: "is_contract", isSubscribed: "is_subscribed", legacyDiscount: "legacy_discount", legacyId: "legacy_id", lockedOnDeployment: "locked_on_deployment", maxAge: "max_age", modifiedOn: "modified_on", nameServers: "name_servers", nsSet: "ns_set", originalDnshost: "original_dnshost", originalNameServers: "original_name_servers", originalRegistrar: "original_registrar", pageRuleQuota: "page_rule_quota", perPage: "per_page", phishingDetected: "phishing_detected", poolId: "pool_id", publicName: "public_name", ratePlan: "rate_plan", resultInfo: "result_info", strictTransportSecurity: "strict_transport_security", tenantUnit: "tenant_unit", timeRemaining: "time_remaining", totalCount: "total_count", totalPages: "total_pages", unitPrice: "unit_price", vanityNameServers: "vanity_name_servers", verificationKey: "verification_key", wpPlugin: "wp_plugin", }; export class CustomNameserverSetNotFound extends /*@__PURE__*/ T.applyErrorMatchers( /*@__PURE__*/ S.TaggedError()( "CustomNameserverSetNotFound", { code: S.Number, message: S.String, }, ), [ { code: 1001, message: { includes: "Custom Nameserver set doesn't exist" }, }, ], ) {} export class DomainNotRegistered extends /*@__PURE__*/ T.applyErrorMatchers( /*@__PURE__*/ S.TaggedError()("DomainNotRegistered", { code: S.Number, message: S.String, }), [{ code: 1099 }], ) {} export class Forbidden extends /*@__PURE__*/ T.applyErrorMatchers( /*@__PURE__*/ S.TaggedError()("Forbidden", { code: S.Number, message: S.String, }), [{ status: 403 }], ) {} export class InvalidDomain extends /*@__PURE__*/ T.applyErrorMatchers( /*@__PURE__*/ S.TaggedError()("InvalidDomain", { code: S.Number, message: S.String, }), [{ code: 1002 }], ) {} export class InvalidZoneIdentifier extends /*@__PURE__*/ T.applyErrorMatchers( /*@__PURE__*/ S.TaggedError()( "InvalidZoneIdentifier", { code: S.Number, message: S.String, }, ), [{ code: 9109, message: { includes: "Invalid zone identifier" } }], ) {} export class SubdomainNotAllowed extends /*@__PURE__*/ T.applyErrorMatchers( /*@__PURE__*/ S.TaggedError()("SubdomainNotAllowed", { code: S.Number, message: S.String, }), [{ code: 1116 }], ) {} export class ZoneAlreadyExists extends /*@__PURE__*/ T.applyErrorMatchers( /*@__PURE__*/ S.TaggedError()("ZoneAlreadyExists", { code: S.Number, message: S.String, }), [{ code: 1061 }], ) {} export class ZoneCreationBlocked extends /*@__PURE__*/ T.applyErrorMatchers( /*@__PURE__*/ S.TaggedError()("ZoneCreationBlocked", { code: S.Number, message: S.String, }), [{ code: 1052 }], ) {} export class ZoneHoldNotFound extends /*@__PURE__*/ T.applyErrorMatchers( /*@__PURE__*/ S.TaggedError()("ZoneHoldNotFound", { code: S.Number, message: S.String, }), [{ code: 1003, message: { includes: "No Zone Hold Found" } }], ) {} export class ZoneHoldsRequireEnterprise extends /*@__PURE__*/ T.applyErrorMatchers( /*@__PURE__*/ S.TaggedError()( "ZoneHoldsRequireEnterprise", { code: S.Number, message: S.String, }, ), [ { code: 1005, message: { includes: "Zone holds are only available on Enterprise zones", }, }, ], ) {} export interface EnvironmentsCreateRequestEnvironmentsItemPosition { after?: string; before?: string; } export const EnvironmentsCreateRequestEnvironmentsItemPosition = /*@__PURE__*/ S.suspend(() => S.Struct({ after: S.optional(S.String), before: S.optional(S.String), }), ).annotate({ identifier: "EnvironmentsCreateRequestEnvironmentsItemPosition", }) as any as S.Schema; export interface EnvironmentsCreateRequestEnvironmentsItem { expression: string; lockedOnDeployment: boolean; name: string; position: EnvironmentsCreateRequestEnvironmentsItemPosition; ref: string; version: number; httpApplicationId?: string; } export const EnvironmentsCreateRequestEnvironmentsItem = /*@__PURE__*/ S.suspend(() => S.Struct({ expression: S.String, lockedOnDeployment: S.Boolean.pipe(T.Body("locked_on_deployment")), name: S.String, position: EnvironmentsCreateRequestEnvironmentsItemPosition, ref: S.String, version: S.Number, httpApplicationId: S.optional( S.String.pipe(T.Body("http_application_id")), ), }), ).annotate({ identifier: "EnvironmentsCreateRequestEnvironmentsItem", }) as any as S.Schema; export type EnvironmentsCreateRequestEnvironmentsList = Array; export const EnvironmentsCreateRequestEnvironmentsList = /*@__PURE__*/ S.Array( EnvironmentsCreateRequestEnvironmentsItem, ) as any as S.Schema; export interface CreateEnvironmentRequest { zoneId: string; environments: EnvironmentsCreateRequestEnvironmentsList; } export const CreateEnvironmentRequest = /*@__PURE__*/ S.suspend(() => S.Struct({ zoneId: S.String.pipe(T.Label("zone_id")), environments: EnvironmentsCreateRequestEnvironmentsList, }) .pipe( T.Http({ method: "POST", uri: "/zones/{zone_id}/environments", code: 200, }), ) .pipe(T.KeyDictionary(KEY_DICTIONARY)), ).annotate({ identifier: "CreateEnvironmentRequest", }) as any as S.Schema; export interface EnvironmentsCreateResponseEnvironmentsItemPosition { after?: string | null; before?: string | null; } export const EnvironmentsCreateResponseEnvironmentsItemPosition = /*@__PURE__*/ S.suspend(() => S.Struct({ after: S.optional(S.NullOr(S.String)), before: S.optional(S.NullOr(S.String)), }), ).annotate({ identifier: "EnvironmentsCreateResponseEnvironmentsItemPosition", }) as any as S.Schema; export interface EnvironmentsCreateResponseEnvironmentsItem { expression: string; lockedOnDeployment: boolean; name: string; position: EnvironmentsCreateResponseEnvironmentsItemPosition; ref: string; version: number; httpApplicationId?: string | null; } export const EnvironmentsCreateResponseEnvironmentsItem = /*@__PURE__*/ S.suspend(() => S.Struct({ expression: S.String, lockedOnDeployment: S.Boolean.pipe(T.Body("locked_on_deployment")), name: S.String, position: EnvironmentsCreateResponseEnvironmentsItemPosition, ref: S.String, version: S.Number, httpApplicationId: S.optional( S.NullOr(S.String).pipe(T.Body("http_application_id")), ), }), ).annotate({ identifier: "EnvironmentsCreateResponseEnvironmentsItem", }) as any as S.Schema; export type EnvironmentsCreateResponseEnvironmentsList = Array; export const EnvironmentsCreateResponseEnvironmentsList = /*@__PURE__*/ S.Array( EnvironmentsCreateResponseEnvironmentsItem, ) as any as S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface CreateEnvironmentResponse { environments: EnvironmentsCreateResponseEnvironmentsList; } export const CreateEnvironmentResponse = /*@__PURE__*/ S.suspend(() => S.Struct({ environments: EnvironmentsCreateResponseEnvironmentsList, }).pipe(T.KeyDictionary(KEY_DICTIONARY)), ).annotate({ identifier: "CreateEnvironmentResponse", }) as any as S.Schema; export interface CreateHoldRequest { /** Identifier. */ zoneId: string; /** If provided, the zone hold will extend to block any subdomain of the given zone, as well */ includeSubdomains?: boolean; } export const CreateHoldRequest = /*@__PURE__*/ S.suspend(() => S.Struct({ zoneId: S.String.pipe(T.Label("zone_id")), includeSubdomains: S.optional( S.Boolean.pipe(T.Query("include_subdomains")), ), }) .pipe(T.Http({ method: "POST", uri: "/zones/{zone_id}/hold", code: 200 })) .pipe(T.KeyDictionary(KEY_DICTIONARY)), ).annotate({ identifier: "CreateHoldRequest", }) as any as S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface CreateHoldResponse { hold?: boolean | null; holdAfter?: string | null; includeSubdomains?: unknown | null; } export const CreateHoldResponse = /*@__PURE__*/ S.suspend(() => S.Struct({ hold: S.optional(S.NullOr(S.Boolean)), holdAfter: S.optional(S.NullOr(S.String).pipe(T.Body("hold_after"))), includeSubdomains: S.optional( S.NullOr(S.Unknown).pipe(T.Body("include_subdomains")), ), }).pipe(T.KeyDictionary(KEY_DICTIONARY)), ).annotate({ identifier: "CreateHoldResponse", }) as any as S.Schema; export type SubscriptionsCreateRequestFrequency = | "weekly" | "monthly" | "quarterly" | "yearly"; export const SubscriptionsCreateRequestFrequency = /*@__PURE__*/ S.String; export type SubscriptionsCreateRequestRatePlanId = | "free" | "lite" | "pro" | "pro_plus" | "business" | "enterprise" | "partners_free" | "partners_pro" | "partners_business" | "partners_enterprise"; export const SubscriptionsCreateRequestRatePlanId = /*@__PURE__*/ S.String; export type SubscriptionsCreateRequestRatePlanSetsList = Array; export const SubscriptionsCreateRequestRatePlanSetsList = /*@__PURE__*/ S.Array( S.String, ) as any as S.Schema; export interface SubscriptionsCreateRequestRatePlan { /** The ID of the rate plan. */ id?: SubscriptionsCreateRequestRatePlanId | (string & {}); /** The currency applied to the rate plan subscription. */ currency?: string; /** Whether this rate plan is managed externally from Cloudflare. */ externallyManaged?: boolean; /** Whether a rate plan is enterprise-based (or newly adopted term contract). */ isContract?: boolean; /** The full name of the rate plan. */ publicName?: string; /** The scope that this rate plan applies to. */ scope?: string; /** The list of sets this rate plan applies to. Returns array of strings. */ sets?: SubscriptionsCreateRequestRatePlanSetsList; } export const SubscriptionsCreateRequestRatePlan = /*@__PURE__*/ S.suspend(() => S.Struct({ id: S.optional(SubscriptionsCreateRequestRatePlanId), currency: S.optional(S.String), externallyManaged: S.optional(S.Boolean.pipe(T.Body("externally_managed"))), isContract: S.optional(S.Boolean.pipe(T.Body("is_contract"))), publicName: S.optional(S.String.pipe(T.Body("public_name"))), scope: S.optional(S.String), sets: S.optional(SubscriptionsCreateRequestRatePlanSetsList), }), ).annotate({ identifier: "SubscriptionsCreateRequestRatePlan", }) as any as S.Schema; export interface CreateSubscriptionRequest { /** Identifier */ zoneId: string; /** How often the subscription is renewed automatically. */ frequency?: SubscriptionsCreateRequestFrequency | (string & {}); /** The rate plan applied to the subscription. */ ratePlan?: SubscriptionsCreateRequestRatePlan; } export const CreateSubscriptionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({ zoneId: S.String.pipe(T.Label("zone_id")), frequency: S.optional(SubscriptionsCreateRequestFrequency), ratePlan: S.optional( SubscriptionsCreateRequestRatePlan.pipe(T.Body("rate_plan")), ), }) .pipe( T.Http({ method: "POST", uri: "/zones/{zone_id}/subscription", code: 200, }), ) .pipe(T.KeyDictionary(KEY_DICTIONARY)), ).annotate({ identifier: "CreateSubscriptionRequest", }) as any as S.Schema; export type SubscriptionsCreateResponseFrequency = | "weekly" | "monthly" | "quarterly" | "yearly" | "not-applicable"; export const SubscriptionsCreateResponseFrequency = /*@__PURE__*/ S.String; export type SubscriptionsCreateResponseRatePlanId = | "free" | "lite" | "pro" | "pro_plus" | "business" | "enterprise" | "partners_free" | "partners_pro" | "partners_business" | "partners_enterprise"; export const SubscriptionsCreateResponseRatePlanId = /*@__PURE__*/ S.String; export type SubscriptionsCreateResponseRatePlanSetsList = Array; export const SubscriptionsCreateResponseRatePlanSetsList = /*@__PURE__*/ S.Array( S.String, ) as any as S.Schema; export interface SubscriptionsCreateResponseRatePlan { /** The ID of the rate plan. */ id?: SubscriptionsCreateResponseRatePlanId | null; /** The currency applied to the rate plan subscription. */ currency?: string | null; /** Whether this rate plan is managed externally from Cloudflare. */ externallyManaged?: boolean | null; /** Whether a rate plan is enterprise-based (or newly adopted term contract). */ isContract?: boolean | null; /** The full name of the rate plan. */ publicName?: string | null; /** The scope that this rate plan applies to. */ scope?: string | null; /** The list of sets this rate plan applies to. Returns array of strings. */ sets?: SubscriptionsCreateResponseRatePlanSetsList | null; } export const SubscriptionsCreateResponseRatePlan = /*@__PURE__*/ S.suspend(() => S.Struct({ id: S.optional(S.NullOr(SubscriptionsCreateResponseRatePlanId)), currency: S.optional(S.NullOr(S.String)), externallyManaged: S.optional( S.NullOr(S.Boolean).pipe(T.Body("externally_managed")), ), isContract: S.optional(S.NullOr(S.Boolean).pipe(T.Body("is_contract"))), publicName: S.optional(S.NullOr(S.String).pipe(T.Body("public_name"))), scope: S.optional(S.NullOr(S.String)), sets: S.optional(S.NullOr(SubscriptionsCreateResponseRatePlanSetsList)), }), ).annotate({ identifier: "SubscriptionsCreateResponseRatePlan", }) as any as S.Schema; export type SubscriptionsCreateResponseState = | "Trial" | "Provisioned" | "Paid" | "AwaitingPayment" | "Cancelled" | "Failed" | "Expired"; export const SubscriptionsCreateResponseState = /*@__PURE__*/ S.String; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface CreateSubscriptionResponse { /** Subscription identifier tag. */ id?: string | null; /** The monetary unit in which pricing information is displayed. */ currency?: string | null; /** The end of the current period and also when the next billing is due. */ currentPeriodEnd?: string | null; /** When the current billing period started. May match initial_period_start if this is the first period. */ currentPeriodStart?: string | null; /** How often the subscription is renewed automatically. */ frequency?: SubscriptionsCreateResponseFrequency | null; /** The price of the subscription that will be billed, in US dollars. */ price?: number | null; /** The rate plan applied to the subscription. */ ratePlan?: SubscriptionsCreateResponseRatePlan | null; /** The state that the subscription is in. */ state?: SubscriptionsCreateResponseState | null; } export const CreateSubscriptionResponse = /*@__PURE__*/ S.suspend(() => S.Struct({ id: S.optional(S.NullOr(S.String)), currency: S.optional(S.NullOr(S.String)), currentPeriodEnd: S.optional( S.NullOr(S.String).pipe(T.Body("current_period_end")), ), currentPeriodStart: S.optional( S.NullOr(S.String).pipe(T.Body("current_period_start")), ), frequency: S.optional(S.NullOr(SubscriptionsCreateResponseFrequency)), price: S.optional(S.NullOr(S.Number)), ratePlan: S.optional( S.NullOr(SubscriptionsCreateResponseRatePlan).pipe(T.Body("rate_plan")), ), state: S.optional(S.NullOr(SubscriptionsCreateResponseState)), }).pipe(T.KeyDictionary(KEY_DICTIONARY)), ).annotate({ identifier: "CreateSubscriptionResponse", }) as any as S.Schema; export interface CreateRequestAccount { /** Identifier */ id?: string; } export const CreateRequestAccount = /*@__PURE__*/ S.suspend(() => S.Struct({ id: S.optional(S.String), }), ).annotate({ identifier: "CreateRequestAccount", }) as any as S.Schema; export type CreateRequestType = "full" | "partial" | "secondary" | "internal"; export const CreateRequestType = /*@__PURE__*/ S.String; export interface CreateZoneRequest { account: CreateRequestAccount; /** The domain name. Per [RFC 1035](https://datatracker.ietf.org/doc/html/rfc1035#section-2.3.4) the overall zone name can be up to 253 characters, with each segment ("label") not exceeding 63 characters. */ name: string; /** A full zone implies that DNS is hosted with Cloudflare. A partial zone is */ type?: CreateRequestType | (string & {}); } export const CreateZoneRequest = /*@__PURE__*/ S.suspend(() => S.Struct({ account: CreateRequestAccount, name: S.String, type: S.optional(CreateRequestType), }) .pipe(T.Http({ method: "POST", uri: "/zones", code: 200 })) .pipe(T.KeyDictionary(KEY_DICTIONARY)), ).annotate({ identifier: "CreateZoneRequest", }) as any as S.Schema; export interface CreateResponseAccount { /** Identifier */ id?: string | null; /** The name of the account. */ name?: string | null; } export const CreateResponseAccount = /*@__PURE__*/ S.suspend(() => S.Struct({ id: S.optional(S.NullOr(S.String)), name: S.optional(S.NullOr(S.String)), }), ).annotate({ identifier: "CreateResponseAccount", }) as any as S.Schema; export interface CreateResponseMeta { /** The zone is only configured for CDN. */ cdnOnly?: boolean | null; /** Number of Custom Certificates the zone can have. */ customCertificateQuota?: number | null; /** The zone is only configured for DNS. */ dnsOnly?: boolean | null; /** The zone is setup with Foundation DNS. */ foundationDns?: boolean | null; /** Number of Page Rules a zone can have. */ pageRuleQuota?: number | null; /** The zone has been flagged for phishing. */ phishingDetected?: boolean | null; step?: number | null; } export const CreateResponseMeta = /*@__PURE__*/ S.suspend(() => S.Struct({ cdnOnly: S.optional(S.NullOr(S.Boolean).pipe(T.Body("cdn_only"))), customCertificateQuota: S.optional( S.NullOr(S.Number).pipe(T.Body("custom_certificate_quota")), ), dnsOnly: S.optional(S.NullOr(S.Boolean).pipe(T.Body("dns_only"))), foundationDns: S.optional( S.NullOr(S.Boolean).pipe(T.Body("foundation_dns")), ), pageRuleQuota: S.optional( S.NullOr(S.Number).pipe(T.Body("page_rule_quota")), ), phishingDetected: S.optional( S.NullOr(S.Boolean).pipe(T.Body("phishing_detected")), ), step: S.optional(S.NullOr(S.Number)), }), ).annotate({ identifier: "CreateResponseMeta", }) as any as S.Schema; export type CreateResponseNameServersList = Array; export const CreateResponseNameServersList = /*@__PURE__*/ S.Array( S.String, ) as any as S.Schema; export type CreateResponseOriginalNameServersList = Array; export const CreateResponseOriginalNameServersList = /*@__PURE__*/ S.Array( S.String, ) as any as S.Schema; export interface CreateResponseOwner { /** Identifier */ id?: string | null; /** Name of the owner. */ name?: string | null; /** The type of owner. */ type?: string | null; } export const CreateResponseOwner = /*@__PURE__*/ S.suspend(() => S.Struct({ id: S.optional(S.NullOr(S.String)), name: S.optional(S.NullOr(S.String)), type: S.optional(S.NullOr(S.String)), }), ).annotate({ identifier: "CreateResponseOwner", }) as any as S.Schema; export interface CreateResponsePlan { /** Identifier */ id?: string | null; /** States if the subscription can be activated. */ canSubscribe?: boolean | null; /** The denomination of the customer. */ currency?: string | null; /** If this Zone is managed by another company. */ externallyManaged?: boolean | null; /** How often the customer is billed. */ frequency?: string | null; /** States if the subscription active. */ isSubscribed?: boolean | null; /** If the legacy discount applies to this Zone. */ legacyDiscount?: boolean | null; /** The legacy name of the plan. */ legacyId?: string | null; /** Name of the owner. */ name?: string | null; /** How much the customer is paying. */ price?: number | null; } export const CreateResponsePlan = /*@__PURE__*/ S.suspend(() => S.Struct({ id: S.optional(S.NullOr(S.String)), canSubscribe: S.optional(S.NullOr(S.Boolean).pipe(T.Body("can_subscribe"))), currency: S.optional(S.NullOr(S.String)), externallyManaged: S.optional( S.NullOr(S.Boolean).pipe(T.Body("externally_managed")), ), frequency: S.optional(S.NullOr(S.String)), isSubscribed: S.optional(S.NullOr(S.Boolean).pipe(T.Body("is_subscribed"))), legacyDiscount: S.optional( S.NullOr(S.Boolean).pipe(T.Body("legacy_discount")), ), legacyId: S.optional(S.NullOr(S.String).pipe(T.Body("legacy_id"))), name: S.optional(S.NullOr(S.String)), price: S.optional(S.NullOr(S.Number)), }), ).annotate({ identifier: "CreateResponsePlan", }) as any as S.Schema; export type CreateResponsePermissionsList = Array; export const CreateResponsePermissionsList = /*@__PURE__*/ S.Array( S.String, ) as any as S.Schema; export type CreateResponseStatus = | "initializing" | "pending" | "active" | "moved"; export const CreateResponseStatus = /*@__PURE__*/ S.String; export interface CreateResponseTenant { /** Identifier */ id?: string | null; /** The name of the Tenant account. */ name?: string | null; } export const CreateResponseTenant = /*@__PURE__*/ S.suspend(() => S.Struct({ id: S.optional(S.NullOr(S.String)), name: S.optional(S.NullOr(S.String)), }), ).annotate({ identifier: "CreateResponseTenant", }) as any as S.Schema; export interface CreateResponseTenantUnit { /** Identifier */ id?: string | null; } export const CreateResponseTenantUnit = /*@__PURE__*/ S.suspend(() => S.Struct({ id: S.optional(S.NullOr(S.String)), }), ).annotate({ identifier: "CreateResponseTenantUnit", }) as any as S.Schema; export type CreateResponseType = "full" | "partial" | "secondary" | "internal"; export const CreateResponseType = /*@__PURE__*/ S.String; export type CreateResponseVanityNameServersList = Array; export const CreateResponseVanityNameServersList = /*@__PURE__*/ S.Array( S.String, ) as any as S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface CreateZoneResponse { /** Identifier */ id: string; /** The account the zone belongs to. */ account: CreateResponseAccount; /** The last time proof of ownership was detected and the zone was made */ activatedOn: string; /** When the zone was created. */ createdOn: string; /** The interval (in seconds) from when development mode expires */ developmentMode: number; /** Metadata about the zone. */ meta: CreateResponseMeta; /** When the zone was last modified. */ modifiedOn: string; /** The domain name. Per [RFC 1035](https://datatracker.ietf.org/doc/html/rfc1035#section-2.3.4) the overall zone name can be up to 253 characters, with each segment ("label") not exceeding 63 characters. */ name: string; /** The name servers Cloudflare assigns to a zone. */ nameServers: CreateResponseNameServersList; /** DNS host at the time of switching to Cloudflare. */ originalDnshost: string; /** Original name servers before moving to Cloudflare. */ originalNameServers: CreateResponseOriginalNameServersList; /** Registrar for the domain at the time of switching to Cloudflare. */ originalRegistrar: string; /** The owner of the zone. */ owner: CreateResponseOwner; /** A Zones subscription information. */ plan: CreateResponsePlan; /** Allows the customer to use a custom apex. */ cnameSuffix?: string | null; /** Indicates whether the zone is only using Cloudflare DNS services. A */ paused?: boolean | null; /** Legacy permissions based on legacy user membership information. */ permissions?: CreateResponsePermissionsList | null; /** The zone status on Cloudflare. */ status?: CreateResponseStatus | null; /** The root organizational unit that this zone belongs to (such as a tenant or organization). */ tenant?: CreateResponseTenant | null; /** The immediate parent organizational unit that this zone belongs to (such as under a tenant or sub-organization). */ tenantUnit?: CreateResponseTenantUnit | null; /** A full zone implies that DNS is hosted with Cloudflare. A partial zone is */ type?: CreateResponseType | null; /** An array of domains used for custom name servers. This is only available for Business and Enterprise plans. */ vanityNameServers?: CreateResponseVanityNameServersList | null; /** Verification key for partial zone setup. */ verificationKey?: string | null; } export const CreateZoneResponse = /*@__PURE__*/ S.suspend(() => S.Struct({ id: S.String, account: CreateResponseAccount, activatedOn: S.String.pipe(T.Body("activated_on")), createdOn: S.String.pipe(T.Body("created_on")), developmentMode: S.Number.pipe(T.Body("development_mode")), meta: CreateResponseMeta, modifiedOn: S.String.pipe(T.Body("modified_on")), name: S.String, nameServers: CreateResponseNameServersList.pipe(T.Body("name_servers")), originalDnshost: S.String.pipe(T.Body("original_dnshost")), originalNameServers: CreateResponseOriginalNameServersList.pipe( T.Body("original_name_servers"), ), originalRegistrar: S.String.pipe(T.Body("original_registrar")), owner: CreateResponseOwner, plan: CreateResponsePlan, cnameSuffix: S.optional(S.NullOr(S.String).pipe(T.Body("cname_suffix"))), paused: S.optional(S.NullOr(S.Boolean)), permissions: S.optional(S.NullOr(CreateResponsePermissionsList)), status: S.optional(S.NullOr(CreateResponseStatus)), tenant: S.optional(S.NullOr(CreateResponseTenant)), tenantUnit: S.optional( S.NullOr(CreateResponseTenantUnit).pipe(T.Body("tenant_unit")), ), type: S.optional(S.NullOr(CreateResponseType)), vanityNameServers: S.optional( S.NullOr(CreateResponseVanityNameServersList).pipe( T.Body("vanity_name_servers"), ), ), verificationKey: S.optional( S.NullOr(S.String).pipe(T.Body("verification_key")), ), }).pipe(T.KeyDictionary(KEY_DICTIONARY)), ).annotate({ identifier: "CreateZoneResponse", }) as any as S.Schema; export interface DeleteEnvironmentRequest { zoneId: string; environmentId: string; } export const DeleteEnvironmentRequest = /*@__PURE__*/ S.suspend(() => S.Struct({ zoneId: S.String.pipe(T.Label("zone_id")), environmentId: S.String.pipe(T.Label("environment_id")), }) .pipe( T.Http({ method: "DELETE", uri: "/zones/{zone_id}/environments/{environment_id}", code: 200, }), ) .pipe(T.KeyDictionary(KEY_DICTIONARY)), ).annotate({ identifier: "DeleteEnvironmentRequest", }) as any as S.Schema; export type EnvironmentsDeleteResponseEnvironmentsItemPosition = EnvironmentsCreateResponseEnvironmentsItemPosition; export const EnvironmentsDeleteResponseEnvironmentsItemPosition = EnvironmentsCreateResponseEnvironmentsItemPosition; export type EnvironmentsDeleteResponseEnvironmentsItem = EnvironmentsCreateResponseEnvironmentsItem; export const EnvironmentsDeleteResponseEnvironmentsItem = EnvironmentsCreateResponseEnvironmentsItem; export type EnvironmentsDeleteResponseEnvironmentsList = Array; export const EnvironmentsDeleteResponseEnvironmentsList = /*@__PURE__*/ S.Array( EnvironmentsCreateResponseEnvironmentsItem, ) as any as S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface DeleteEnvironmentResponse { environments: EnvironmentsDeleteResponseEnvironmentsList; } export const DeleteEnvironmentResponse = /*@__PURE__*/ S.suspend(() => S.Struct({ environments: EnvironmentsDeleteResponseEnvironmentsList, }).pipe(T.KeyDictionary(KEY_DICTIONARY)), ).annotate({ identifier: "DeleteEnvironmentResponse", }) as any as S.Schema; export interface DeleteHoldRequest { /** Identifier. */ zoneId: string; /** If `hold_after` is provided, the hold will be temporarily disabled, */ holdAfter?: string; } export const DeleteHoldRequest = /*@__PURE__*/ S.suspend(() => S.Struct({ zoneId: S.String.pipe(T.Label("zone_id")), holdAfter: S.optional(S.String.pipe(T.Query("hold_after"))), }) .pipe(T.Http({ method: "DELETE", uri: "/zones/{zone_id}/hold", code: 200 })) .pipe(T.KeyDictionary(KEY_DICTIONARY)), ).annotate({ identifier: "DeleteHoldRequest", }) as any as S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface DeleteHoldResponse { hold?: boolean | null; holdAfter?: string | null; includeSubdomains?: unknown | null; } export const DeleteHoldResponse = /*@__PURE__*/ S.suspend(() => S.Struct({ hold: S.optional(S.NullOr(S.Boolean)), holdAfter: S.optional(S.NullOr(S.String).pipe(T.Body("hold_after"))), includeSubdomains: S.optional( S.NullOr(S.Unknown).pipe(T.Body("include_subdomains")), ), }).pipe(T.KeyDictionary(KEY_DICTIONARY)), ).annotate({ identifier: "DeleteHoldResponse", }) as any as S.Schema; export interface DeleteZoneRequest { /** Identifier */ zoneId: string; } export const DeleteZoneRequest = /*@__PURE__*/ S.suspend(() => S.Struct({ zoneId: S.String.pipe(T.Label("zone_id")), }) .pipe(T.Http({ method: "DELETE", uri: "/zones/{zone_id}", code: 200 })) .pipe(T.KeyDictionary(KEY_DICTIONARY)), ).annotate({ identifier: "DeleteZoneRequest", }) as any as S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface DeleteZoneResponse { /** Identifier */ id: string; } export const DeleteZoneResponse = /*@__PURE__*/ S.suspend(() => S.Struct({ id: S.String, }).pipe(T.KeyDictionary(KEY_DICTIONARY)), ).annotate({ identifier: "DeleteZoneResponse", }) as any as S.Schema; export interface GetCtAlertingRequest { /** Identifier. */ zoneId: string; } export const GetCtAlertingRequest = /*@__PURE__*/ S.suspend(() => S.Struct({ zoneId: S.String.pipe(T.Label("zone_id")), }) .pipe( T.Http({ method: "GET", uri: "/zones/{zone_id}/ct/alerting", code: 200 }), ) .pipe(T.KeyDictionary(KEY_DICTIONARY)), ).annotate({ identifier: "GetCtAlertingRequest", }) as any as S.Schema; export type CtAlertingGetResponseEmailsList = Array; export const CtAlertingGetResponseEmailsList = /*@__PURE__*/ S.Array( S.String, ) as any as S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface GetCtAlertingResponse { /** Whether CT alerting is enabled for the zone. */ enabled: boolean; /** Email addresses that receive CT alert notifications. Only present and configurable for Business and Enterprise zones. Maximum of 10 addresses. For Free and Pro zones, notifications are sent to all users with SSL permissions on the zone. */ emails?: CtAlertingGetResponseEmailsList | null; } export const GetCtAlertingResponse = /*@__PURE__*/ S.suspend(() => S.Struct({ enabled: S.Boolean, emails: S.optional(S.NullOr(CtAlertingGetResponseEmailsList)), }).pipe(T.KeyDictionary(KEY_DICTIONARY)), ).annotate({ identifier: "GetCtAlertingResponse", }) as any as S.Schema; export interface GetCustomNameserverRequest { /** Identifier. */ zoneId: string; } export const GetCustomNameserverRequest = /*@__PURE__*/ S.suspend(() => S.Struct({ zoneId: S.String.pipe(T.Label("zone_id")), }) .pipe( T.Http({ method: "GET", uri: "/zones/{zone_id}/custom_ns", code: 200 }), ) .pipe(T.KeyDictionary(KEY_DICTIONARY)), ).annotate({ identifier: "GetCustomNameserverRequest", }) as any as S.Schema; /** Raw response payload (operation does not use the standard v4 result envelope). */ export interface GetCustomNameserverResponse { /** Whether zone uses account-level custom nameservers. */ enabled?: boolean | null; /** The number of the name server set to assign to the zone. */ nsSet?: number | null; } export const GetCustomNameserverResponse = /*@__PURE__*/ S.suspend(() => S.Struct({ enabled: S.optional(S.NullOr(S.Boolean)), nsSet: S.optional(S.NullOr(S.Number).pipe(T.Body("ns_set"))), }).pipe(T.KeyDictionary(KEY_DICTIONARY)), ).annotate({ identifier: "GetCustomNameserverResponse", }) as any as S.Schema; export interface GetHoldRequest { /** Identifier. */ zoneId: string; } export const GetHoldRequest = /*@__PURE__*/ S.suspend(() => S.Struct({ zoneId: S.String.pipe(T.Label("zone_id")), }) .pipe(T.Http({ method: "GET", uri: "/zones/{zone_id}/hold", code: 200 })) .pipe(T.KeyDictionary(KEY_DICTIONARY)), ).annotate({ identifier: "GetHoldRequest" }) as any as S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface GetHoldResponse { hold?: boolean | null; holdAfter?: string | null; includeSubdomains?: unknown | null; } export const GetHoldResponse = /*@__PURE__*/ S.suspend(() => S.Struct({ hold: S.optional(S.NullOr(S.Boolean)), holdAfter: S.optional(S.NullOr(S.String).pipe(T.Body("hold_after"))), includeSubdomains: S.optional( S.NullOr(S.Unknown).pipe(T.Body("include_subdomains")), ), }).pipe(T.KeyDictionary(KEY_DICTIONARY)), ).annotate({ identifier: "GetHoldResponse", }) as any as S.Schema; export interface GetPlanRequest { /** Identifier */ zoneId: string; /** Identifier */ planIdentifier: string; } export const GetPlanRequest = /*@__PURE__*/ S.suspend(() => S.Struct({ zoneId: S.String.pipe(T.Label("zone_id")), planIdentifier: S.String.pipe(T.Label("plan_identifier")), }) .pipe( T.Http({ method: "GET", uri: "/zones/{zone_id}/available_plans/{plan_identifier}", code: 200, }), ) .pipe(T.KeyDictionary(KEY_DICTIONARY)), ).annotate({ identifier: "GetPlanRequest" }) as any as S.Schema; export type PlansGetResponseFrequency = | "weekly" | "monthly" | "quarterly" | "yearly"; export const PlansGetResponseFrequency = /*@__PURE__*/ S.String; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface GetPlanResponse { /** Identifier */ id?: string | null; /** Indicates whether you can subscribe to this plan. */ canSubscribe?: boolean | null; /** The monetary unit in which pricing information is displayed. */ currency?: string | null; /** Indicates whether this plan is managed externally. */ externallyManaged?: boolean | null; /** The frequency at which you will be billed for this plan. */ frequency?: PlansGetResponseFrequency | null; /** Indicates whether you are currently subscribed to this plan. */ isSubscribed?: boolean | null; /** Indicates whether this plan has a legacy discount applied. */ legacyDiscount?: boolean | null; /** The legacy identifier for this rate plan, if any. */ legacyId?: string | null; /** The plan name. */ name?: string | null; /** The amount you will be billed for this plan. */ price?: number | null; } export const GetPlanResponse = /*@__PURE__*/ S.suspend(() => S.Struct({ id: S.optional(S.NullOr(S.String)), canSubscribe: S.optional(S.NullOr(S.Boolean).pipe(T.Body("can_subscribe"))), currency: S.optional(S.NullOr(S.String)), externallyManaged: S.optional( S.NullOr(S.Boolean).pipe(T.Body("externally_managed")), ), frequency: S.optional(S.NullOr(PlansGetResponseFrequency)), isSubscribed: S.optional(S.NullOr(S.Boolean).pipe(T.Body("is_subscribed"))), legacyDiscount: S.optional( S.NullOr(S.Boolean).pipe(T.Body("legacy_discount")), ), legacyId: S.optional(S.NullOr(S.String).pipe(T.Body("legacy_id"))), name: S.optional(S.NullOr(S.String)), price: S.optional(S.NullOr(S.Number)), }).pipe(T.KeyDictionary(KEY_DICTIONARY)), ).annotate({ identifier: "GetPlanResponse", }) as any as S.Schema; export interface GetRatePlanRequest { /** Identifier */ zoneId: string; } export const GetRatePlanRequest = /*@__PURE__*/ S.suspend(() => S.Struct({ zoneId: S.String.pipe(T.Label("zone_id")), }) .pipe( T.Http({ method: "GET", uri: "/zones/{zone_id}/available_rate_plans", code: 200, }), ) .pipe(T.KeyDictionary(KEY_DICTIONARY)), ).annotate({ identifier: "GetRatePlanRequest", }) as any as S.Schema; export type RatePlansGetResultItemComponentsItemName = | "zones" | "page_rules" | "dedicated_certificates" | "dedicated_certificates_custom"; export const RatePlansGetResultItemComponentsItemName = /*@__PURE__*/ S.String; export interface RatePlansGetResultItemComponentsItem { /** The default amount allocated. */ default?: number | null; /** The unique component. */ name?: RatePlansGetResultItemComponentsItemName | null; /** The unit price of the addon. */ unitPrice?: number | null; } export const RatePlansGetResultItemComponentsItem = /*@__PURE__*/ S.suspend( () => S.Struct({ default: S.optional(S.NullOr(S.Number)), name: S.optional(S.NullOr(RatePlansGetResultItemComponentsItemName)), unitPrice: S.optional(S.NullOr(S.Number).pipe(T.Body("unit_price"))), }), ).annotate({ identifier: "RatePlansGetResultItemComponentsItem", }) as any as S.Schema; export type RatePlansGetResultItemComponentsList = Array; export const RatePlansGetResultItemComponentsList = /*@__PURE__*/ S.Array( RatePlansGetResultItemComponentsItem, ) as any as S.Schema; export type RatePlansGetResultItemFrequency = | "weekly" | "monthly" | "quarterly" | "yearly"; export const RatePlansGetResultItemFrequency = /*@__PURE__*/ S.String; export interface RatePlansGetResultItem { /** Plan identifier tag. */ id?: string | null; /** Array of available components values for the plan. */ components?: RatePlansGetResultItemComponentsList | null; /** The monetary unit in which pricing information is displayed. */ currency?: string | null; /** The duration of the plan subscription. */ duration?: number | null; /** The frequency at which you will be billed for this plan. */ frequency?: RatePlansGetResultItemFrequency | null; /** The plan name. */ name?: string | null; } export const RatePlansGetResultItem = /*@__PURE__*/ S.suspend(() => S.Struct({ id: S.optional(S.NullOr(S.String)), components: S.optional(S.NullOr(RatePlansGetResultItemComponentsList)), currency: S.optional(S.NullOr(S.String)), duration: S.optional(S.NullOr(S.Number)), frequency: S.optional(S.NullOr(RatePlansGetResultItemFrequency)), name: S.optional(S.NullOr(S.String)), }), ).annotate({ identifier: "RatePlansGetResultItem", }) as any as S.Schema; export type RatePlansGetResultList = Array; export const RatePlansGetResultList = /*@__PURE__*/ S.Array( RatePlansGetResultItem, ) as any as S.Schema; export interface GetRatePlanResponse { /** The unwrapped `result` payload of the v4 response envelope. */ result: RatePlansGetResultList; /** Pagination info from the envelope's `result_info`. */ resultInfo?: ResultInfo | null; } export const GetRatePlanResponse = /*@__PURE__*/ S.suspend(() => S.Struct({ result: RatePlansGetResultList.pipe(T.EnvelopePayload()), resultInfo: S.optional(S.NullOr(ResultInfo).pipe(T.ResultInfo())), }).pipe(T.KeyDictionary(KEY_DICTIONARY)), ).annotate({ identifier: "GetRatePlanResponse", }) as any as S.Schema; export interface GetSettingRequest { /** Identifier */ zoneId: string; /** Setting name */ settingId: string; } export const GetSettingRequest = /*@__PURE__*/ S.suspend(() => S.Struct({ zoneId: S.String.pipe(T.Label("zone_id")), settingId: S.String.pipe(T.Label("setting_id")), }) .pipe( T.Http({ method: "GET", uri: "/zones/{zone_id}/settings/{setting_id}", code: 200, }), ) .pipe(T.KeyDictionary(KEY_DICTIONARY)), ).annotate({ identifier: "GetSettingRequest", }) as any as S.Schema; export type SettingsGetResultZeroRTTId = "0rtt"; export const SettingsGetResultZeroRTTId = /*@__PURE__*/ S.String; export type SettingsGetResultZeroRTTValue = "on" | "off"; export const SettingsGetResultZeroRTTValue = /*@__PURE__*/ S.String; export interface SettingsGetResultZeroRTT { /** ID of the zone setting. */ id: SettingsGetResultZeroRTTId; /** Current value of the zone setting. */ value: SettingsGetResultZeroRTTValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsGetResultZeroRTT = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsGetResultZeroRTTId, value: SettingsGetResultZeroRTTValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsGetResultZeroRTT", }) as any as S.Schema; export type SettingsGetResultAdvancedDDoSId = "advanced_ddos"; export const SettingsGetResultAdvancedDDoSId = /*@__PURE__*/ S.String; export type SettingsGetResultAdvancedDDoSValue = "on" | "off"; export const SettingsGetResultAdvancedDDoSValue = /*@__PURE__*/ S.String; export interface SettingsGetResultAdvancedDDoS { /** ID of the zone setting. */ id: SettingsGetResultAdvancedDDoSId; /** Current value of the zone setting. */ value: SettingsGetResultAdvancedDDoSValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsGetResultAdvancedDDoS = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsGetResultAdvancedDDoSId, value: SettingsGetResultAdvancedDDoSValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsGetResultAdvancedDDoS", }) as any as S.Schema; export type SettingsGetResultZonesCacheRulesAegisId = "aegis"; export const SettingsGetResultZonesCacheRulesAegisId = /*@__PURE__*/ S.String; export interface SettingsGetResultZonesCacheRulesAegisValue { /** Whether the feature is enabled or not. */ enabled?: boolean | null; /** Egress pool id which refers to a grouping of dedicated egress IPs through which Cloudflare will connect to origin. */ poolId?: string | null; } export const SettingsGetResultZonesCacheRulesAegisValue = /*@__PURE__*/ S.suspend(() => S.Struct({ enabled: S.optional(S.NullOr(S.Boolean)), poolId: S.optional(S.NullOr(S.String).pipe(T.Body("pool_id"))), }), ).annotate({ identifier: "SettingsGetResultZonesCacheRulesAegisValue", }) as any as S.Schema; export interface SettingsGetResultZonesCacheRulesAegis { /** ID of the zone setting. */ id: SettingsGetResultZonesCacheRulesAegisId; /** Last time this setting was modified. */ modifiedOn?: string | null; /** Value of the zone setting. */ value?: SettingsGetResultZonesCacheRulesAegisValue | null; } export const SettingsGetResultZonesCacheRulesAegis = /*@__PURE__*/ S.suspend( () => S.Struct({ id: SettingsGetResultZonesCacheRulesAegisId, modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), value: S.optional(S.NullOr(SettingsGetResultZonesCacheRulesAegisValue)), }), ).annotate({ identifier: "SettingsGetResultZonesCacheRulesAegis", }) as any as S.Schema; export type SettingsGetResultAlwaysOnlineId = "always_online"; export const SettingsGetResultAlwaysOnlineId = /*@__PURE__*/ S.String; export type SettingsGetResultAlwaysOnlineValue = "on" | "off"; export const SettingsGetResultAlwaysOnlineValue = /*@__PURE__*/ S.String; export interface SettingsGetResultAlwaysOnline { /** ID of the zone setting. */ id: SettingsGetResultAlwaysOnlineId; /** Current value of the zone setting. */ value: SettingsGetResultAlwaysOnlineValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsGetResultAlwaysOnline = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsGetResultAlwaysOnlineId, value: SettingsGetResultAlwaysOnlineValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsGetResultAlwaysOnline", }) as any as S.Schema; export type SettingsGetResultZonesSchemasAlwaysUseHTTPSId = "always_use_https"; export const SettingsGetResultZonesSchemasAlwaysUseHTTPSId = /*@__PURE__*/ S.String; export type SettingsGetResultZonesSchemasAlwaysUseHTTPSValue = "on" | "off"; export const SettingsGetResultZonesSchemasAlwaysUseHTTPSValue = /*@__PURE__*/ S.String; export interface SettingsGetResultZonesSchemasAlwaysUseHTTPS { /** ID of the zone setting. */ id: SettingsGetResultZonesSchemasAlwaysUseHTTPSId; /** Current value of the zone setting. */ value: SettingsGetResultZonesSchemasAlwaysUseHTTPSValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsGetResultZonesSchemasAlwaysUseHTTPS = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsGetResultZonesSchemasAlwaysUseHTTPSId, value: SettingsGetResultZonesSchemasAlwaysUseHTTPSValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsGetResultZonesSchemasAlwaysUseHTTPS", }) as any as S.Schema; export type SettingsGetResultZonesSchemasAutomaticHTTPSRewritesId = "automatic_https_rewrites"; export const SettingsGetResultZonesSchemasAutomaticHTTPSRewritesId = /*@__PURE__*/ S.String; export type SettingsGetResultZonesSchemasAutomaticHTTPSRewritesValue = | "on" | "off"; export const SettingsGetResultZonesSchemasAutomaticHTTPSRewritesValue = /*@__PURE__*/ S.String; export interface SettingsGetResultZonesSchemasAutomaticHTTPSRewrites { /** ID of the zone setting. */ id: SettingsGetResultZonesSchemasAutomaticHTTPSRewritesId; /** Current value of the zone setting. */ value: SettingsGetResultZonesSchemasAutomaticHTTPSRewritesValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsGetResultZonesSchemasAutomaticHTTPSRewrites = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsGetResultZonesSchemasAutomaticHTTPSRewritesId, value: SettingsGetResultZonesSchemasAutomaticHTTPSRewritesValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsGetResultZonesSchemasAutomaticHTTPSRewrites", }) as any as S.Schema; export type SettingsGetResultBrotliId = "brotli"; export const SettingsGetResultBrotliId = /*@__PURE__*/ S.String; export type SettingsGetResultBrotliValue = "off" | "on"; export const SettingsGetResultBrotliValue = /*@__PURE__*/ S.String; export interface SettingsGetResultBrotli { /** ID of the zone setting. */ id: SettingsGetResultBrotliId; /** Current value of the zone setting. */ value: SettingsGetResultBrotliValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsGetResultBrotli = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsGetResultBrotliId, value: SettingsGetResultBrotliValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsGetResultBrotli", }) as any as S.Schema; export type SettingsGetResultZonesSchemasBrowserCacheTTLId = "browser_cache_ttl"; export const SettingsGetResultZonesSchemasBrowserCacheTTLId = /*@__PURE__*/ S.String; export interface SettingsGetResultZonesSchemasBrowserCacheTTL { /** ID of the zone setting. */ id: SettingsGetResultZonesSchemasBrowserCacheTTLId; /** Current value of the zone setting. */ value: number; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsGetResultZonesSchemasBrowserCacheTTL = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsGetResultZonesSchemasBrowserCacheTTLId, value: S.Number, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsGetResultZonesSchemasBrowserCacheTTL", }) as any as S.Schema; export type SettingsGetResultZonesSchemasBrowserCheckId = "browser_check"; export const SettingsGetResultZonesSchemasBrowserCheckId = /*@__PURE__*/ S.String; export type SettingsGetResultZonesSchemasBrowserCheckValue = "on" | "off"; export const SettingsGetResultZonesSchemasBrowserCheckValue = /*@__PURE__*/ S.String; export interface SettingsGetResultZonesSchemasBrowserCheck { /** ID of the zone setting. */ id: SettingsGetResultZonesSchemasBrowserCheckId; /** Current value of the zone setting. */ value: SettingsGetResultZonesSchemasBrowserCheckValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsGetResultZonesSchemasBrowserCheck = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsGetResultZonesSchemasBrowserCheckId, value: SettingsGetResultZonesSchemasBrowserCheckValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsGetResultZonesSchemasBrowserCheck", }) as any as S.Schema; export type SettingsGetResultZonesSchemasCacheLevelId = "cache_level"; export const SettingsGetResultZonesSchemasCacheLevelId = /*@__PURE__*/ S.String; export type SettingsGetResultZonesSchemasCacheLevelValue = | "aggressive" | "basic" | "simplified"; export const SettingsGetResultZonesSchemasCacheLevelValue = /*@__PURE__*/ S.String; export interface SettingsGetResultZonesSchemasCacheLevel { /** ID of the zone setting. */ id: SettingsGetResultZonesSchemasCacheLevelId; /** Current value of the zone setting. */ value: SettingsGetResultZonesSchemasCacheLevelValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsGetResultZonesSchemasCacheLevel = /*@__PURE__*/ S.suspend( () => S.Struct({ id: SettingsGetResultZonesSchemasCacheLevelId, value: SettingsGetResultZonesSchemasCacheLevelValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsGetResultZonesSchemasCacheLevel", }) as any as S.Schema; export type SettingsGetResultChallengeTTLId = "challenge_ttl"; export const SettingsGetResultChallengeTTLId = /*@__PURE__*/ S.String; export type SettingsGetResultChallengeTTLValue = | 300 | 900 | 1800 | 2700 | 3600 | 7200 | 10800 | 14400 | 28800 | 57600 | 86400 | 604800 | 2592000 | 31536000; export const SettingsGetResultChallengeTTLValue = /*@__PURE__*/ S.Number; export interface SettingsGetResultChallengeTTL { /** ID of the zone setting. */ id: SettingsGetResultChallengeTTLId; /** Current value of the zone setting. */ value: SettingsGetResultChallengeTTLValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsGetResultChallengeTTL = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsGetResultChallengeTTLId, value: SettingsGetResultChallengeTTLValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsGetResultChallengeTTL", }) as any as S.Schema; export type SettingsGetResultZonesChinaNetworkEnabledId = "china_network_enabled"; export const SettingsGetResultZonesChinaNetworkEnabledId = /*@__PURE__*/ S.String; export type SettingsGetResultZonesChinaNetworkEnabledValue = "on" | "off"; export const SettingsGetResultZonesChinaNetworkEnabledValue = /*@__PURE__*/ S.String; export interface SettingsGetResultZonesChinaNetworkEnabled { /** ID of the zone setting. */ id: SettingsGetResultZonesChinaNetworkEnabledId; /** Current value of the zone setting. */ value: SettingsGetResultZonesChinaNetworkEnabledValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsGetResultZonesChinaNetworkEnabled = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsGetResultZonesChinaNetworkEnabledId, value: SettingsGetResultZonesChinaNetworkEnabledValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsGetResultZonesChinaNetworkEnabled", }) as any as S.Schema; export type SettingsGetResultZonesContentConverterId = "content_converter"; export const SettingsGetResultZonesContentConverterId = /*@__PURE__*/ S.String; export type SettingsGetResultZonesContentConverterValue = "off" | "on"; export const SettingsGetResultZonesContentConverterValue = /*@__PURE__*/ S.String; export interface SettingsGetResultZonesContentConverter { /** ID of the zone setting. */ id: SettingsGetResultZonesContentConverterId; /** Current value of the zone setting. */ value: SettingsGetResultZonesContentConverterValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsGetResultZonesContentConverter = /*@__PURE__*/ S.suspend( () => S.Struct({ id: SettingsGetResultZonesContentConverterId, value: SettingsGetResultZonesContentConverterValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsGetResultZonesContentConverter", }) as any as S.Schema; export type SettingsGetResultCiphersId = "ciphers"; export const SettingsGetResultCiphersId = /*@__PURE__*/ S.String; export type SettingsGetResultCiphersValueList = Array; export const SettingsGetResultCiphersValueList = /*@__PURE__*/ S.Array( S.String, ) as any as S.Schema; export interface SettingsGetResultCiphers { /** ID of the zone setting. */ id: SettingsGetResultCiphersId; /** Current value of the zone setting. */ value: SettingsGetResultCiphersValueList; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsGetResultCiphers = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsGetResultCiphersId, value: SettingsGetResultCiphersValueList, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsGetResultCiphers", }) as any as S.Schema; export type SettingsGetResultZonesCNAMEFlatteningId = "cname_flattening"; export const SettingsGetResultZonesCNAMEFlatteningId = /*@__PURE__*/ S.String; export type SettingsGetResultZonesCNAMEFlatteningValue = | "flatten_at_root" | "flatten_all"; export const SettingsGetResultZonesCNAMEFlatteningValue = /*@__PURE__*/ S.String; export interface SettingsGetResultZonesCNAMEFlattening { /** How to flatten the cname destination. */ id: SettingsGetResultZonesCNAMEFlatteningId; /** Current value of the zone setting. */ value: SettingsGetResultZonesCNAMEFlatteningValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsGetResultZonesCNAMEFlattening = /*@__PURE__*/ S.suspend( () => S.Struct({ id: SettingsGetResultZonesCNAMEFlatteningId, value: SettingsGetResultZonesCNAMEFlatteningValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsGetResultZonesCNAMEFlattening", }) as any as S.Schema; export type SettingsGetResultDevelopmentModeId = "development_mode"; export const SettingsGetResultDevelopmentModeId = /*@__PURE__*/ S.String; export type SettingsGetResultDevelopmentModeValue = "on" | "off"; export const SettingsGetResultDevelopmentModeValue = /*@__PURE__*/ S.String; export interface SettingsGetResultDevelopmentMode { /** ID of the zone setting. */ id: SettingsGetResultDevelopmentModeId; /** Current value of the zone setting. */ value: SettingsGetResultDevelopmentModeValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; /** Value of the zone setting. */ timeRemaining?: number | null; } export const SettingsGetResultDevelopmentMode = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsGetResultDevelopmentModeId, value: SettingsGetResultDevelopmentModeValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), timeRemaining: S.optional( S.NullOr(S.Number).pipe(T.Body("time_remaining")), ), }), ).annotate({ identifier: "SettingsGetResultDevelopmentMode", }) as any as S.Schema; export type SettingsGetResultEarlyHintsId = "early_hints"; export const SettingsGetResultEarlyHintsId = /*@__PURE__*/ S.String; export type SettingsGetResultEarlyHintsValue = "on" | "off"; export const SettingsGetResultEarlyHintsValue = /*@__PURE__*/ S.String; export interface SettingsGetResultEarlyHints { /** ID of the zone setting. */ id: SettingsGetResultEarlyHintsId; /** Current value of the zone setting. */ value: SettingsGetResultEarlyHintsValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsGetResultEarlyHints = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsGetResultEarlyHintsId, value: SettingsGetResultEarlyHintsValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsGetResultEarlyHints", }) as any as S.Schema; export type SettingsGetResultZonesSchemasEdgeCacheTTLId = "edge_cache_ttl"; export const SettingsGetResultZonesSchemasEdgeCacheTTLId = /*@__PURE__*/ S.String; export type SettingsGetResultZonesSchemasEdgeCacheTTLValue = | 30 | 60 | 300 | 1200 | 1800 | 3600 | 7200 | 10800 | 14400 | 18000 | 28800 | 43200 | 57600 | 72000 | 86400 | 172800 | 259200 | 345600 | 432000 | 518400 | 604800; export const SettingsGetResultZonesSchemasEdgeCacheTTLValue = /*@__PURE__*/ S.Number; export interface SettingsGetResultZonesSchemasEdgeCacheTTL { /** ID of the zone setting. */ id: SettingsGetResultZonesSchemasEdgeCacheTTLId; /** Current value of the zone setting. */ value: SettingsGetResultZonesSchemasEdgeCacheTTLValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsGetResultZonesSchemasEdgeCacheTTL = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsGetResultZonesSchemasEdgeCacheTTLId, value: SettingsGetResultZonesSchemasEdgeCacheTTLValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsGetResultZonesSchemasEdgeCacheTTL", }) as any as S.Schema; export type SettingsGetResultZonesSchemasEmailObfuscationId = "email_obfuscation"; export const SettingsGetResultZonesSchemasEmailObfuscationId = /*@__PURE__*/ S.String; export type SettingsGetResultZonesSchemasEmailObfuscationValue = "on" | "off"; export const SettingsGetResultZonesSchemasEmailObfuscationValue = /*@__PURE__*/ S.String; export interface SettingsGetResultZonesSchemasEmailObfuscation { /** ID of the zone setting. */ id: SettingsGetResultZonesSchemasEmailObfuscationId; /** Current value of the zone setting. */ value: SettingsGetResultZonesSchemasEmailObfuscationValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsGetResultZonesSchemasEmailObfuscation = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsGetResultZonesSchemasEmailObfuscationId, value: SettingsGetResultZonesSchemasEmailObfuscationValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsGetResultZonesSchemasEmailObfuscation", }) as any as S.Schema; export type SettingsGetResultH2PrioritizationId = "h2_prioritization"; export const SettingsGetResultH2PrioritizationId = /*@__PURE__*/ S.String; export type SettingsGetResultH2PrioritizationValue = "on" | "off" | "custom"; export const SettingsGetResultH2PrioritizationValue = /*@__PURE__*/ S.String; export interface SettingsGetResultH2Prioritization { /** ID of the zone setting. */ id: SettingsGetResultH2PrioritizationId; /** Current value of the zone setting. */ value: SettingsGetResultH2PrioritizationValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsGetResultH2Prioritization = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsGetResultH2PrioritizationId, value: SettingsGetResultH2PrioritizationValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsGetResultH2Prioritization", }) as any as S.Schema; export type SettingsGetResultHotlinkProtectionId = "hotlink_protection"; export const SettingsGetResultHotlinkProtectionId = /*@__PURE__*/ S.String; export type SettingsGetResultHotlinkProtectionValue = "on" | "off"; export const SettingsGetResultHotlinkProtectionValue = /*@__PURE__*/ S.String; export interface SettingsGetResultHotlinkProtection { /** ID of the zone setting. */ id: SettingsGetResultHotlinkProtectionId; /** Current value of the zone setting. */ value: SettingsGetResultHotlinkProtectionValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsGetResultHotlinkProtection = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsGetResultHotlinkProtectionId, value: SettingsGetResultHotlinkProtectionValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsGetResultHotlinkProtection", }) as any as S.Schema; export type SettingsGetResultHTTP2Id = "http2"; export const SettingsGetResultHTTP2Id = /*@__PURE__*/ S.String; export type SettingsGetResultHTTP2Value = "on" | "off"; export const SettingsGetResultHTTP2Value = /*@__PURE__*/ S.String; export interface SettingsGetResultHTTP2 { /** ID of the zone setting. */ id: SettingsGetResultHTTP2Id; /** Current value of the zone setting. */ value: SettingsGetResultHTTP2Value; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsGetResultHTTP2 = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsGetResultHTTP2Id, value: SettingsGetResultHTTP2Value, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsGetResultHTTP2", }) as any as S.Schema; export type SettingsGetResultHTTP3Id = "http3"; export const SettingsGetResultHTTP3Id = /*@__PURE__*/ S.String; export type SettingsGetResultHTTP3Value = "on" | "off"; export const SettingsGetResultHTTP3Value = /*@__PURE__*/ S.String; export interface SettingsGetResultHTTP3 { /** ID of the zone setting. */ id: SettingsGetResultHTTP3Id; /** Current value of the zone setting. */ value: SettingsGetResultHTTP3Value; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsGetResultHTTP3 = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsGetResultHTTP3Id, value: SettingsGetResultHTTP3Value, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsGetResultHTTP3", }) as any as S.Schema; export type SettingsGetResultImageResizingId = "image_resizing"; export const SettingsGetResultImageResizingId = /*@__PURE__*/ S.String; export type SettingsGetResultImageResizingValue = "on" | "off" | "open"; export const SettingsGetResultImageResizingValue = /*@__PURE__*/ S.String; export interface SettingsGetResultImageResizing { /** ID of the zone setting. */ id: SettingsGetResultImageResizingId; /** Current value of the zone setting. */ value: SettingsGetResultImageResizingValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsGetResultImageResizing = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsGetResultImageResizingId, value: SettingsGetResultImageResizingValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsGetResultImageResizing", }) as any as S.Schema; export type SettingsGetResultZonesSchemasIPGeolocationId = "ip_geolocation"; export const SettingsGetResultZonesSchemasIPGeolocationId = /*@__PURE__*/ S.String; export type SettingsGetResultZonesSchemasIPGeolocationValue = "on" | "off"; export const SettingsGetResultZonesSchemasIPGeolocationValue = /*@__PURE__*/ S.String; export interface SettingsGetResultZonesSchemasIPGeolocation { /** ID of the zone setting. */ id: SettingsGetResultZonesSchemasIPGeolocationId; /** Current value of the zone setting. */ value: SettingsGetResultZonesSchemasIPGeolocationValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsGetResultZonesSchemasIPGeolocation = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsGetResultZonesSchemasIPGeolocationId, value: SettingsGetResultZonesSchemasIPGeolocationValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsGetResultZonesSchemasIPGeolocation", }) as any as S.Schema; export type SettingsGetResultIPV6Id = "ipv6"; export const SettingsGetResultIPV6Id = /*@__PURE__*/ S.String; export type SettingsGetResultIPV6Value = "off" | "on"; export const SettingsGetResultIPV6Value = /*@__PURE__*/ S.String; export interface SettingsGetResultIPV6 { /** ID of the zone setting. */ id: SettingsGetResultIPV6Id; /** Current value of the zone setting. */ value: SettingsGetResultIPV6Value; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsGetResultIPV6 = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsGetResultIPV6Id, value: SettingsGetResultIPV6Value, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsGetResultIPV6", }) as any as S.Schema; export type SettingsGetResultZonesMaxUploadId = "max_upload"; export const SettingsGetResultZonesMaxUploadId = /*@__PURE__*/ S.String; export type SettingsGetResultZonesMaxUploadValue = | 100 | 125 | 150 | 175 | 200 | 225 | 250 | 275 | 300 | 325 | 350 | 375 | 400 | 425 | 450 | 475 | 500 | 1000; export const SettingsGetResultZonesMaxUploadValue = /*@__PURE__*/ S.Number; export interface SettingsGetResultZonesMaxUpload { /** identifier of the zone setting. */ id: SettingsGetResultZonesMaxUploadId; /** Current value of the zone setting. */ value: SettingsGetResultZonesMaxUploadValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsGetResultZonesMaxUpload = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsGetResultZonesMaxUploadId, value: SettingsGetResultZonesMaxUploadValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsGetResultZonesMaxUpload", }) as any as S.Schema; export type SettingsGetResultMinTLSVersionId = "min_tls_version"; export const SettingsGetResultMinTLSVersionId = /*@__PURE__*/ S.String; export type SettingsGetResultMinTLSVersionValue = "1.0" | "1.1" | "1.2" | "1.3"; export const SettingsGetResultMinTLSVersionValue = /*@__PURE__*/ S.String; export interface SettingsGetResultMinTLSVersion { /** ID of the zone setting. */ id: SettingsGetResultMinTLSVersionId; /** Current value of the zone setting. */ value: SettingsGetResultMinTLSVersionValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsGetResultMinTLSVersion = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsGetResultMinTLSVersionId, value: SettingsGetResultMinTLSVersionValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsGetResultMinTLSVersion", }) as any as S.Schema; export type SettingsGetResultZonesSchemasMirageId = "mirage"; export const SettingsGetResultZonesSchemasMirageId = /*@__PURE__*/ S.String; export type SettingsGetResultZonesSchemasMirageValue = "on" | "off"; export const SettingsGetResultZonesSchemasMirageValue = /*@__PURE__*/ S.String; export interface SettingsGetResultZonesSchemasMirage { /** ID of the zone setting. */ id: SettingsGetResultZonesSchemasMirageId; /** Current value of the zone setting. */ value: SettingsGetResultZonesSchemasMirageValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsGetResultZonesSchemasMirage = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsGetResultZonesSchemasMirageId, value: SettingsGetResultZonesSchemasMirageValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsGetResultZonesSchemasMirage", }) as any as S.Schema; export type SettingsGetResultNELId = "nel"; export const SettingsGetResultNELId = /*@__PURE__*/ S.String; export interface SettingsGetResultNELValue { enabled?: boolean | null; } export const SettingsGetResultNELValue = /*@__PURE__*/ S.suspend(() => S.Struct({ enabled: S.optional(S.NullOr(S.Boolean)), }), ).annotate({ identifier: "SettingsGetResultNELValue", }) as any as S.Schema; export interface SettingsGetResultNEL { /** Zone setting identifier. */ id: SettingsGetResultNELId; /** Current value of the zone setting. */ value: SettingsGetResultNELValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsGetResultNEL = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsGetResultNELId, value: SettingsGetResultNELValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsGetResultNEL", }) as any as S.Schema; export type SettingsGetResultZonesSchemasOpportunisticEncryptionId = "opportunistic_encryption"; export const SettingsGetResultZonesSchemasOpportunisticEncryptionId = /*@__PURE__*/ S.String; export type SettingsGetResultZonesSchemasOpportunisticEncryptionValue = | "on" | "off"; export const SettingsGetResultZonesSchemasOpportunisticEncryptionValue = /*@__PURE__*/ S.String; export interface SettingsGetResultZonesSchemasOpportunisticEncryption { /** ID of the zone setting. */ id: SettingsGetResultZonesSchemasOpportunisticEncryptionId; /** Current value of the zone setting. */ value: SettingsGetResultZonesSchemasOpportunisticEncryptionValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsGetResultZonesSchemasOpportunisticEncryption = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsGetResultZonesSchemasOpportunisticEncryptionId, value: SettingsGetResultZonesSchemasOpportunisticEncryptionValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsGetResultZonesSchemasOpportunisticEncryption", }) as any as S.Schema; export type SettingsGetResultOpportunisticOnionId = "opportunistic_onion"; export const SettingsGetResultOpportunisticOnionId = /*@__PURE__*/ S.String; export type SettingsGetResultOpportunisticOnionValue = "on" | "off"; export const SettingsGetResultOpportunisticOnionValue = /*@__PURE__*/ S.String; export interface SettingsGetResultOpportunisticOnion { /** ID of the zone setting. */ id: SettingsGetResultOpportunisticOnionId; /** Current value of the zone setting. */ value: SettingsGetResultOpportunisticOnionValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsGetResultOpportunisticOnion = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsGetResultOpportunisticOnionId, value: SettingsGetResultOpportunisticOnionValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsGetResultOpportunisticOnion", }) as any as S.Schema; export type SettingsGetResultOrangeToOrangeId = "orange_to_orange"; export const SettingsGetResultOrangeToOrangeId = /*@__PURE__*/ S.String; export type SettingsGetResultOrangeToOrangeValue = "on" | "off"; export const SettingsGetResultOrangeToOrangeValue = /*@__PURE__*/ S.String; export interface SettingsGetResultOrangeToOrange { /** ID of the zone setting. */ id: SettingsGetResultOrangeToOrangeId; /** Current value of the zone setting. */ value: SettingsGetResultOrangeToOrangeValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsGetResultOrangeToOrange = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsGetResultOrangeToOrangeId, value: SettingsGetResultOrangeToOrangeValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsGetResultOrangeToOrange", }) as any as S.Schema; export type SettingsGetResultZonesSchemasOriginErrorPagePassThruId = "origin_error_page_pass_thru"; export const SettingsGetResultZonesSchemasOriginErrorPagePassThruId = /*@__PURE__*/ S.String; export type SettingsGetResultZonesSchemasOriginErrorPagePassThruValue = | "on" | "off"; export const SettingsGetResultZonesSchemasOriginErrorPagePassThruValue = /*@__PURE__*/ S.String; export interface SettingsGetResultZonesSchemasOriginErrorPagePassThru { /** ID of the zone setting. */ id: SettingsGetResultZonesSchemasOriginErrorPagePassThruId; /** Current value of the zone setting. */ value: SettingsGetResultZonesSchemasOriginErrorPagePassThruValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsGetResultZonesSchemasOriginErrorPagePassThru = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsGetResultZonesSchemasOriginErrorPagePassThruId, value: SettingsGetResultZonesSchemasOriginErrorPagePassThruValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsGetResultZonesSchemasOriginErrorPagePassThru", }) as any as S.Schema; export type SettingsGetResultZonesCacheRulesOriginH2MaxStreamsId = "origin_h2_max_streams"; export const SettingsGetResultZonesCacheRulesOriginH2MaxStreamsId = /*@__PURE__*/ S.String; export interface SettingsGetResultZonesCacheRulesOriginH2MaxStreams { /** Value of the zone setting. */ id: SettingsGetResultZonesCacheRulesOriginH2MaxStreamsId; /** Last time this setting was modified. */ modifiedOn?: string | null; /** Value of the Origin H2 Max Streams Setting. */ value?: number | null; } export const SettingsGetResultZonesCacheRulesOriginH2MaxStreams = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsGetResultZonesCacheRulesOriginH2MaxStreamsId, modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), value: S.optional(S.NullOr(S.Number)), }), ).annotate({ identifier: "SettingsGetResultZonesCacheRulesOriginH2MaxStreams", }) as any as S.Schema; export type SettingsGetResultZonesCacheRulesOriginMaxHTTPVersionId = "origin_max_http_version"; export const SettingsGetResultZonesCacheRulesOriginMaxHTTPVersionId = /*@__PURE__*/ S.String; export type SettingsGetResultZonesCacheRulesOriginMaxHTTPVersionValue = | "2" | "1"; export const SettingsGetResultZonesCacheRulesOriginMaxHTTPVersionValue = /*@__PURE__*/ S.String; export interface SettingsGetResultZonesCacheRulesOriginMaxHTTPVersion { /** Value of the zone setting. */ id: SettingsGetResultZonesCacheRulesOriginMaxHTTPVersionId; /** Last time this setting was modified. */ modifiedOn?: string | null; /** Value of the Origin Max HTTP Version Setting. */ value?: SettingsGetResultZonesCacheRulesOriginMaxHTTPVersionValue | null; } export const SettingsGetResultZonesCacheRulesOriginMaxHTTPVersion = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsGetResultZonesCacheRulesOriginMaxHTTPVersionId, modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), value: S.optional( S.NullOr(SettingsGetResultZonesCacheRulesOriginMaxHTTPVersionValue), ), }), ).annotate({ identifier: "SettingsGetResultZonesCacheRulesOriginMaxHTTPVersion", }) as any as S.Schema; export type SettingsGetResultZonesSchemasPolishId = "polish"; export const SettingsGetResultZonesSchemasPolishId = /*@__PURE__*/ S.String; export type SettingsGetResultZonesSchemasPolishValue = | "off" | "lossless" | "lossy"; export const SettingsGetResultZonesSchemasPolishValue = /*@__PURE__*/ S.String; export interface SettingsGetResultZonesSchemasPolish { /** ID of the zone setting. */ id: SettingsGetResultZonesSchemasPolishId; /** Current value of the zone setting. */ value: SettingsGetResultZonesSchemasPolishValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsGetResultZonesSchemasPolish = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsGetResultZonesSchemasPolishId, value: SettingsGetResultZonesSchemasPolishValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsGetResultZonesSchemasPolish", }) as any as S.Schema; export type SettingsGetResultPrefetchPreloadId = "prefetch_preload"; export const SettingsGetResultPrefetchPreloadId = /*@__PURE__*/ S.String; export type SettingsGetResultPrefetchPreloadValue = "on" | "off"; export const SettingsGetResultPrefetchPreloadValue = /*@__PURE__*/ S.String; export interface SettingsGetResultPrefetchPreload { /** ID of the zone setting. */ id: SettingsGetResultPrefetchPreloadId; /** Current value of the zone setting. */ value: SettingsGetResultPrefetchPreloadValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsGetResultPrefetchPreload = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsGetResultPrefetchPreloadId, value: SettingsGetResultPrefetchPreloadValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsGetResultPrefetchPreload", }) as any as S.Schema; export type SettingsGetResultZonesPrivacyPassId = "privacy_pass"; export const SettingsGetResultZonesPrivacyPassId = /*@__PURE__*/ S.String; export type SettingsGetResultZonesPrivacyPassValue = "on" | "off"; export const SettingsGetResultZonesPrivacyPassValue = /*@__PURE__*/ S.String; export interface SettingsGetResultZonesPrivacyPass { /** ID of the zone setting. */ id: SettingsGetResultZonesPrivacyPassId; /** Current value of the zone setting. */ value: SettingsGetResultZonesPrivacyPassValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsGetResultZonesPrivacyPass = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsGetResultZonesPrivacyPassId, value: SettingsGetResultZonesPrivacyPassValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsGetResultZonesPrivacyPass", }) as any as S.Schema; export type SettingsGetResultProxyReadTimeoutId = "proxy_read_timeout"; export const SettingsGetResultProxyReadTimeoutId = /*@__PURE__*/ S.String; export interface SettingsGetResultProxyReadTimeout { /** ID of the zone setting. */ id: SettingsGetResultProxyReadTimeoutId; /** Current value of the zone setting. */ value: number; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsGetResultProxyReadTimeout = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsGetResultProxyReadTimeoutId, value: S.Number, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsGetResultProxyReadTimeout", }) as any as S.Schema; export type SettingsGetResultPseudoIPV4Id = "pseudo_ipv4"; export const SettingsGetResultPseudoIPV4Id = /*@__PURE__*/ S.String; export type SettingsGetResultPseudoIPV4Value = | "off" | "add_header" | "overwrite_header"; export const SettingsGetResultPseudoIPV4Value = /*@__PURE__*/ S.String; export interface SettingsGetResultPseudoIPV4 { /** Value of the Pseudo IPv4 setting. */ id: SettingsGetResultPseudoIPV4Id; /** Current value of the zone setting. */ value: SettingsGetResultPseudoIPV4Value; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsGetResultPseudoIPV4 = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsGetResultPseudoIPV4Id, value: SettingsGetResultPseudoIPV4Value, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsGetResultPseudoIPV4", }) as any as S.Schema; export type SettingsGetResultZonesRedirectsForAITrainingId = "redirects_for_ai_training"; export const SettingsGetResultZonesRedirectsForAITrainingId = /*@__PURE__*/ S.String; export type SettingsGetResultZonesRedirectsForAITrainingValue = "off" | "on"; export const SettingsGetResultZonesRedirectsForAITrainingValue = /*@__PURE__*/ S.String; export interface SettingsGetResultZonesRedirectsForAITraining { /** ID of the zone setting. */ id: SettingsGetResultZonesRedirectsForAITrainingId; /** Current value of the zone setting. */ value: SettingsGetResultZonesRedirectsForAITrainingValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsGetResultZonesRedirectsForAITraining = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsGetResultZonesRedirectsForAITrainingId, value: SettingsGetResultZonesRedirectsForAITrainingValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsGetResultZonesRedirectsForAITraining", }) as any as S.Schema; export type SettingsGetResultZonesReplaceInsecureJSId = "replace_insecure_js"; export const SettingsGetResultZonesReplaceInsecureJSId = /*@__PURE__*/ S.String; export type SettingsGetResultZonesReplaceInsecureJSValue = "on" | "off"; export const SettingsGetResultZonesReplaceInsecureJSValue = /*@__PURE__*/ S.String; export interface SettingsGetResultZonesReplaceInsecureJS { /** ID of the zone setting. */ id: SettingsGetResultZonesReplaceInsecureJSId; /** Current value of the zone setting. */ value: SettingsGetResultZonesReplaceInsecureJSValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsGetResultZonesReplaceInsecureJS = /*@__PURE__*/ S.suspend( () => S.Struct({ id: SettingsGetResultZonesReplaceInsecureJSId, value: SettingsGetResultZonesReplaceInsecureJSValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsGetResultZonesReplaceInsecureJS", }) as any as S.Schema; export type SettingsGetResultZonesSchemasResponseBufferingId = "response_buffering"; export const SettingsGetResultZonesSchemasResponseBufferingId = /*@__PURE__*/ S.String; export type SettingsGetResultZonesSchemasResponseBufferingValue = "on" | "off"; export const SettingsGetResultZonesSchemasResponseBufferingValue = /*@__PURE__*/ S.String; export interface SettingsGetResultZonesSchemasResponseBuffering { /** ID of the zone setting. */ id: SettingsGetResultZonesSchemasResponseBufferingId; /** Current value of the zone setting. */ value: SettingsGetResultZonesSchemasResponseBufferingValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsGetResultZonesSchemasResponseBuffering = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsGetResultZonesSchemasResponseBufferingId, value: SettingsGetResultZonesSchemasResponseBufferingValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsGetResultZonesSchemasResponseBuffering", }) as any as S.Schema; export type SettingsGetResultZonesSchemasRocketLoaderId = "rocket_loader"; export const SettingsGetResultZonesSchemasRocketLoaderId = /*@__PURE__*/ S.String; export type SettingsGetResultZonesSchemasRocketLoaderValue = "on" | "off"; export const SettingsGetResultZonesSchemasRocketLoaderValue = /*@__PURE__*/ S.String; export interface SettingsGetResultZonesSchemasRocketLoader { /** ID of the zone setting. */ id: SettingsGetResultZonesSchemasRocketLoaderId; /** Current value of the zone setting. */ value: SettingsGetResultZonesSchemasRocketLoaderValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsGetResultZonesSchemasRocketLoader = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsGetResultZonesSchemasRocketLoaderId, value: SettingsGetResultZonesSchemasRocketLoaderValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsGetResultZonesSchemasRocketLoader", }) as any as S.Schema; export type SettingsGetResultZonesSchemasAutomaticPlatformOptimizationId = "automatic_platform_optimization"; export const SettingsGetResultZonesSchemasAutomaticPlatformOptimizationId = /*@__PURE__*/ S.String; export type SettingsGetResultZonesSchemasAutomaticPlatformOptimizationValueHostnamesList = Array; export const SettingsGetResultZonesSchemasAutomaticPlatformOptimizationValueHostnamesList = /*@__PURE__*/ S.Array( S.String, ) as any as S.Schema; export interface SettingsGetResultZonesSchemasAutomaticPlatformOptimizationValue { /** Indicates whether or not [cache by device type](https://developers.cloudflare.com/automatic-platform-optimization/reference/cache-device-type/) is enabled. */ cacheByDeviceType: boolean; /** Indicates whether or not Cloudflare proxy is enabled. */ cf: boolean; /** Indicates whether or not Automatic Platform Optimization is enabled. */ enabled: boolean; /** An array of hostnames where Automatic Platform Optimization for WordPress is activated. */ hostnames: SettingsGetResultZonesSchemasAutomaticPlatformOptimizationValueHostnamesList; /** Indicates whether or not site is powered by WordPress. */ wordpress: boolean; /** Indicates whether or not [Cloudflare for WordPress plugin](https://wordpress.org/plugins/cloudflare/) is installed. */ wpPlugin: boolean; } export const SettingsGetResultZonesSchemasAutomaticPlatformOptimizationValue = /*@__PURE__*/ S.suspend(() => S.Struct({ cacheByDeviceType: S.Boolean.pipe(T.Body("cache_by_device_type")), cf: S.Boolean, enabled: S.Boolean, hostnames: SettingsGetResultZonesSchemasAutomaticPlatformOptimizationValueHostnamesList, wordpress: S.Boolean, wpPlugin: S.Boolean.pipe(T.Body("wp_plugin")), }), ).annotate({ identifier: "SettingsGetResultZonesSchemasAutomaticPlatformOptimizationValue", }) as any as S.Schema; export interface SettingsGetResultZonesSchemasAutomaticPlatformOptimization { /** ID of the zone setting. */ id: SettingsGetResultZonesSchemasAutomaticPlatformOptimizationId; /** Current value of the zone setting. */ value: SettingsGetResultZonesSchemasAutomaticPlatformOptimizationValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsGetResultZonesSchemasAutomaticPlatformOptimization = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsGetResultZonesSchemasAutomaticPlatformOptimizationId, value: SettingsGetResultZonesSchemasAutomaticPlatformOptimizationValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsGetResultZonesSchemasAutomaticPlatformOptimization", }) as any as S.Schema; export type SettingsGetResultZonesSearchForAgentsId = "search_for_agents"; export const SettingsGetResultZonesSearchForAgentsId = /*@__PURE__*/ S.String; export type SettingsGetResultZonesSearchForAgentsValue = "off" | "on"; export const SettingsGetResultZonesSearchForAgentsValue = /*@__PURE__*/ S.String; export interface SettingsGetResultZonesSearchForAgents { /** ID of the zone setting. */ id: SettingsGetResultZonesSearchForAgentsId; /** Current value of the zone setting. */ value: SettingsGetResultZonesSearchForAgentsValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsGetResultZonesSearchForAgents = /*@__PURE__*/ S.suspend( () => S.Struct({ id: SettingsGetResultZonesSearchForAgentsId, value: SettingsGetResultZonesSearchForAgentsValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsGetResultZonesSearchForAgents", }) as any as S.Schema; export type SettingsGetResultSecurityHeadersId = "security_header"; export const SettingsGetResultSecurityHeadersId = /*@__PURE__*/ S.String; export interface SettingsGetResultSecurityHeadersValueStrictTransportSecurity { /** Whether or not strict transport security is enabled. */ enabled?: boolean | null; /** Include all subdomains for strict transport security. */ includeSubdomains?: boolean | null; /** Max age in seconds of the strict transport security. */ maxAge?: number | null; /** Whether or not to include 'X-Content-Type-Options: nosniff' header. */ nosniff?: boolean | null; /** Enable automatic preload of the HSTS configuration. */ preload?: boolean | null; } export const SettingsGetResultSecurityHeadersValueStrictTransportSecurity = /*@__PURE__*/ S.suspend(() => S.Struct({ enabled: S.optional(S.NullOr(S.Boolean)), includeSubdomains: S.optional( S.NullOr(S.Boolean).pipe(T.Body("include_subdomains")), ), maxAge: S.optional(S.NullOr(S.Number).pipe(T.Body("max_age"))), nosniff: S.optional(S.NullOr(S.Boolean)), preload: S.optional(S.NullOr(S.Boolean)), }), ).annotate({ identifier: "SettingsGetResultSecurityHeadersValueStrictTransportSecurity", }) as any as S.Schema; export interface SettingsGetResultSecurityHeadersValue { /** Strict Transport Security. */ strictTransportSecurity?: SettingsGetResultSecurityHeadersValueStrictTransportSecurity | null; } export const SettingsGetResultSecurityHeadersValue = /*@__PURE__*/ S.suspend( () => S.Struct({ strictTransportSecurity: S.optional( S.NullOr( SettingsGetResultSecurityHeadersValueStrictTransportSecurity, ).pipe(T.Body("strict_transport_security")), ), }), ).annotate({ identifier: "SettingsGetResultSecurityHeadersValue", }) as any as S.Schema; export interface SettingsGetResultSecurityHeaders { /** ID of the zone's security header. */ id: SettingsGetResultSecurityHeadersId; /** Current value of the zone setting. */ value: SettingsGetResultSecurityHeadersValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsGetResultSecurityHeaders = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsGetResultSecurityHeadersId, value: SettingsGetResultSecurityHeadersValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsGetResultSecurityHeaders", }) as any as S.Schema; export type SettingsGetResultZonesSchemasSecurityLevelId = "security_level"; export const SettingsGetResultZonesSchemasSecurityLevelId = /*@__PURE__*/ S.String; export type SettingsGetResultZonesSchemasSecurityLevelValue = | "off" | "essentially_off" | "low" | "medium" | "high" | "under_attack"; export const SettingsGetResultZonesSchemasSecurityLevelValue = /*@__PURE__*/ S.String; export interface SettingsGetResultZonesSchemasSecurityLevel { /** ID of the zone setting. */ id: SettingsGetResultZonesSchemasSecurityLevelId; /** Current value of the zone setting. */ value: SettingsGetResultZonesSchemasSecurityLevelValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsGetResultZonesSchemasSecurityLevel = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsGetResultZonesSchemasSecurityLevelId, value: SettingsGetResultZonesSchemasSecurityLevelValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsGetResultZonesSchemasSecurityLevel", }) as any as S.Schema; export type SettingsGetResultServerSideExcludesId = "server_side_exclude"; export const SettingsGetResultServerSideExcludesId = /*@__PURE__*/ S.String; export type SettingsGetResultServerSideExcludesValue = "on" | "off"; export const SettingsGetResultServerSideExcludesValue = /*@__PURE__*/ S.String; export interface SettingsGetResultServerSideExcludes { /** ID of the zone setting. */ id: SettingsGetResultServerSideExcludesId; /** Current value of the zone setting. */ value: SettingsGetResultServerSideExcludesValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsGetResultServerSideExcludes = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsGetResultServerSideExcludesId, value: SettingsGetResultServerSideExcludesValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsGetResultServerSideExcludes", }) as any as S.Schema; export type SettingsGetResultZonesSha1SupportId = "sha1_support"; export const SettingsGetResultZonesSha1SupportId = /*@__PURE__*/ S.String; export type SettingsGetResultZonesSha1SupportValue = "off" | "on"; export const SettingsGetResultZonesSha1SupportValue = /*@__PURE__*/ S.String; export interface SettingsGetResultZonesSha1Support { /** Zone setting identifier. */ id: SettingsGetResultZonesSha1SupportId; /** Current value of the zone setting. */ value: SettingsGetResultZonesSha1SupportValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsGetResultZonesSha1Support = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsGetResultZonesSha1SupportId, value: SettingsGetResultZonesSha1SupportValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsGetResultZonesSha1Support", }) as any as S.Schema; export type SettingsGetResultZonesSchemasSortQueryStringForCacheId = "sort_query_string_for_cache"; export const SettingsGetResultZonesSchemasSortQueryStringForCacheId = /*@__PURE__*/ S.String; export type SettingsGetResultZonesSchemasSortQueryStringForCacheValue = | "on" | "off"; export const SettingsGetResultZonesSchemasSortQueryStringForCacheValue = /*@__PURE__*/ S.String; export interface SettingsGetResultZonesSchemasSortQueryStringForCache { /** ID of the zone setting. */ id: SettingsGetResultZonesSchemasSortQueryStringForCacheId; /** Current value of the zone setting. */ value: SettingsGetResultZonesSchemasSortQueryStringForCacheValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsGetResultZonesSchemasSortQueryStringForCache = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsGetResultZonesSchemasSortQueryStringForCacheId, value: SettingsGetResultZonesSchemasSortQueryStringForCacheValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsGetResultZonesSchemasSortQueryStringForCache", }) as any as S.Schema; export type SettingsGetResultZonesSchemasSSLId = "ssl"; export const SettingsGetResultZonesSchemasSSLId = /*@__PURE__*/ S.String; export type SettingsGetResultZonesSchemasSSLValue = | "off" | "flexible" | "full" | "strict"; export const SettingsGetResultZonesSchemasSSLValue = /*@__PURE__*/ S.String; export interface SettingsGetResultZonesSchemasSSL { /** ID of the zone setting. */ id: SettingsGetResultZonesSchemasSSLId; /** Current value of the zone setting. */ value: SettingsGetResultZonesSchemasSSLValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsGetResultZonesSchemasSSL = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsGetResultZonesSchemasSSLId, value: SettingsGetResultZonesSchemasSSLValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsGetResultZonesSchemasSSL", }) as any as S.Schema; export type SettingsGetResultSSLRecommenderId = "ssl_recommender"; export const SettingsGetResultSSLRecommenderId = /*@__PURE__*/ S.String; export interface SettingsGetResultSSLRecommender { /** Enrollment value for SSL/TLS Recommender. */ id?: SettingsGetResultSSLRecommenderId | null; /** ssl-recommender enrollment setting. */ enabled?: boolean | null; } export const SettingsGetResultSSLRecommender = /*@__PURE__*/ S.suspend(() => S.Struct({ id: S.optional(S.NullOr(SettingsGetResultSSLRecommenderId)), enabled: S.optional(S.NullOr(S.Boolean)), }), ).annotate({ identifier: "SettingsGetResultSSLRecommender", }) as any as S.Schema; export type SettingsGetResultZonesTLS12OnlyId = "tls_1_2_only"; export const SettingsGetResultZonesTLS12OnlyId = /*@__PURE__*/ S.String; export type SettingsGetResultZonesTLS12OnlyValue = "off" | "on"; export const SettingsGetResultZonesTLS12OnlyValue = /*@__PURE__*/ S.String; export interface SettingsGetResultZonesTLS12Only { /** Zone setting identifier. */ id: SettingsGetResultZonesTLS12OnlyId; /** Current value of the zone setting. */ value: SettingsGetResultZonesTLS12OnlyValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsGetResultZonesTLS12Only = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsGetResultZonesTLS12OnlyId, value: SettingsGetResultZonesTLS12OnlyValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsGetResultZonesTLS12Only", }) as any as S.Schema; export type SettingsGetResultTLS13Id = "tls_1_3"; export const SettingsGetResultTLS13Id = /*@__PURE__*/ S.String; export type SettingsGetResultTLS13Value = "on" | "off" | "zrt"; export const SettingsGetResultTLS13Value = /*@__PURE__*/ S.String; export interface SettingsGetResultTLS13 { /** ID of the zone setting. */ id: SettingsGetResultTLS13Id; /** Current value of the zone setting. */ value: SettingsGetResultTLS13Value; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsGetResultTLS13 = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsGetResultTLS13Id, value: SettingsGetResultTLS13Value, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsGetResultTLS13", }) as any as S.Schema; export type SettingsGetResultTLSClientAuthId = "tls_client_auth"; export const SettingsGetResultTLSClientAuthId = /*@__PURE__*/ S.String; export type SettingsGetResultTLSClientAuthValue = "on" | "off"; export const SettingsGetResultTLSClientAuthValue = /*@__PURE__*/ S.String; export interface SettingsGetResultTLSClientAuth { /** ID of the zone setting. */ id: SettingsGetResultTLSClientAuthId; /** Current value of the zone setting. */ value: SettingsGetResultTLSClientAuthValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsGetResultTLSClientAuth = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsGetResultTLSClientAuthId, value: SettingsGetResultTLSClientAuthValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsGetResultTLSClientAuth", }) as any as S.Schema; export type SettingsGetResultZonesTransformationsId = "transformations"; export const SettingsGetResultZonesTransformationsId = /*@__PURE__*/ S.String; export type SettingsGetResultZonesTransformationsValue = "on" | "off" | "open"; export const SettingsGetResultZonesTransformationsValue = /*@__PURE__*/ S.String; export interface SettingsGetResultZonesTransformations { /** ID of the zone setting. Shared between Image Transformations and Video Transformations. */ id: SettingsGetResultZonesTransformationsId; /** Current value of the zone setting. */ value: SettingsGetResultZonesTransformationsValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsGetResultZonesTransformations = /*@__PURE__*/ S.suspend( () => S.Struct({ id: SettingsGetResultZonesTransformationsId, value: SettingsGetResultZonesTransformationsValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsGetResultZonesTransformations", }) as any as S.Schema; export type SettingsGetResultZonesTransformationsAllowedOriginsId = "transformations_allowed_origins"; export const SettingsGetResultZonesTransformationsAllowedOriginsId = /*@__PURE__*/ S.String; export interface SettingsGetResultZonesTransformationsAllowedOrigins { /** ID of the zone setting. Shared between Image Transformations and Video Transformations. */ id: SettingsGetResultZonesTransformationsAllowedOriginsId; /** Current value of the zone setting. */ value: string; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsGetResultZonesTransformationsAllowedOrigins = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsGetResultZonesTransformationsAllowedOriginsId, value: S.String, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsGetResultZonesTransformationsAllowedOrigins", }) as any as S.Schema; export type SettingsGetResultZonesSchemasTrueClientIPHeaderId = "true_client_ip_header"; export const SettingsGetResultZonesSchemasTrueClientIPHeaderId = /*@__PURE__*/ S.String; export type SettingsGetResultZonesSchemasTrueClientIPHeaderValue = "on" | "off"; export const SettingsGetResultZonesSchemasTrueClientIPHeaderValue = /*@__PURE__*/ S.String; export interface SettingsGetResultZonesSchemasTrueClientIPHeader { /** ID of the zone setting. */ id: SettingsGetResultZonesSchemasTrueClientIPHeaderId; /** Current value of the zone setting. */ value: SettingsGetResultZonesSchemasTrueClientIPHeaderValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsGetResultZonesSchemasTrueClientIPHeader = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsGetResultZonesSchemasTrueClientIPHeaderId, value: SettingsGetResultZonesSchemasTrueClientIPHeaderValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsGetResultZonesSchemasTrueClientIPHeader", }) as any as S.Schema; export type SettingsGetResultZonesSchemasWAFId = "waf"; export const SettingsGetResultZonesSchemasWAFId = /*@__PURE__*/ S.String; export type SettingsGetResultZonesSchemasWAFValue = "on" | "off"; export const SettingsGetResultZonesSchemasWAFValue = /*@__PURE__*/ S.String; export interface SettingsGetResultZonesSchemasWAF { /** ID of the zone setting. */ id: SettingsGetResultZonesSchemasWAFId; /** Current value of the zone setting. */ value: SettingsGetResultZonesSchemasWAFValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsGetResultZonesSchemasWAF = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsGetResultZonesSchemasWAFId, value: SettingsGetResultZonesSchemasWAFValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsGetResultZonesSchemasWAF", }) as any as S.Schema; export type SettingsGetResultWebPId = "webp"; export const SettingsGetResultWebPId = /*@__PURE__*/ S.String; export type SettingsGetResultWebPValue = "off" | "on"; export const SettingsGetResultWebPValue = /*@__PURE__*/ S.String; export interface SettingsGetResultWebP { /** ID of the zone setting. */ id: SettingsGetResultWebPId; /** Current value of the zone setting. */ value: SettingsGetResultWebPValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsGetResultWebP = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsGetResultWebPId, value: SettingsGetResultWebPValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsGetResultWebP", }) as any as S.Schema; export type SettingsGetResultWebsocketId = "websockets"; export const SettingsGetResultWebsocketId = /*@__PURE__*/ S.String; export type SettingsGetResultWebsocketValue = "off" | "on"; export const SettingsGetResultWebsocketValue = /*@__PURE__*/ S.String; export interface SettingsGetResultWebsocket { /** ID of the zone setting. */ id: SettingsGetResultWebsocketId; /** Current value of the zone setting. */ value: SettingsGetResultWebsocketValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsGetResultWebsocket = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsGetResultWebsocketId, value: SettingsGetResultWebsocketValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsGetResultWebsocket", }) as any as S.Schema; export type SettingsGetResult = | SettingsGetResultZeroRTT | SettingsGetResultAdvancedDDoS | SettingsGetResultZonesCacheRulesAegis | SettingsGetResultAlwaysOnline | SettingsGetResultZonesSchemasAlwaysUseHTTPS | SettingsGetResultZonesSchemasAutomaticHTTPSRewrites | SettingsGetResultBrotli | SettingsGetResultZonesSchemasBrowserCacheTTL | SettingsGetResultZonesSchemasBrowserCheck | SettingsGetResultZonesSchemasCacheLevel | SettingsGetResultChallengeTTL | SettingsGetResultZonesChinaNetworkEnabled | SettingsGetResultZonesContentConverter | SettingsGetResultCiphers | SettingsGetResultZonesCNAMEFlattening | SettingsGetResultDevelopmentMode | SettingsGetResultEarlyHints | SettingsGetResultZonesSchemasEdgeCacheTTL | SettingsGetResultZonesSchemasEmailObfuscation | SettingsGetResultH2Prioritization | SettingsGetResultHotlinkProtection | SettingsGetResultHTTP2 | SettingsGetResultHTTP3 | SettingsGetResultImageResizing | SettingsGetResultZonesSchemasIPGeolocation | SettingsGetResultIPV6 | SettingsGetResultZonesMaxUpload | SettingsGetResultMinTLSVersion | SettingsGetResultZonesSchemasMirage | SettingsGetResultNEL | SettingsGetResultZonesSchemasOpportunisticEncryption | SettingsGetResultOpportunisticOnion | SettingsGetResultOrangeToOrange | SettingsGetResultZonesSchemasOriginErrorPagePassThru | SettingsGetResultZonesCacheRulesOriginH2MaxStreams | SettingsGetResultZonesCacheRulesOriginMaxHTTPVersion | SettingsGetResultZonesSchemasPolish | SettingsGetResultPrefetchPreload | SettingsGetResultZonesPrivacyPass | SettingsGetResultProxyReadTimeout | SettingsGetResultPseudoIPV4 | SettingsGetResultZonesRedirectsForAITraining | SettingsGetResultZonesReplaceInsecureJS | SettingsGetResultZonesSchemasResponseBuffering | SettingsGetResultZonesSchemasRocketLoader | SettingsGetResultZonesSchemasAutomaticPlatformOptimization | SettingsGetResultZonesSearchForAgents | SettingsGetResultSecurityHeaders | SettingsGetResultZonesSchemasSecurityLevel | SettingsGetResultServerSideExcludes | SettingsGetResultZonesSha1Support | SettingsGetResultZonesSchemasSortQueryStringForCache | SettingsGetResultZonesSchemasSSL | SettingsGetResultSSLRecommender | SettingsGetResultZonesTLS12Only | SettingsGetResultTLS13 | SettingsGetResultTLSClientAuth | SettingsGetResultZonesTransformations | SettingsGetResultZonesTransformationsAllowedOrigins | SettingsGetResultZonesSchemasTrueClientIPHeader | SettingsGetResultZonesSchemasWAF | SettingsGetResultWebP | SettingsGetResultWebsocket; export const SettingsGetResult = /*@__PURE__*/ S.Unknown.pipe( T.UnionCases([ ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "modifiedOn", "value"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn", "timeRemaining"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "modifiedOn", "value"], ["id", "modifiedOn", "value"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "enabled"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ]), ); export type GetSettingResponse = SettingsGetResult; export const GetSettingResponse = /*@__PURE__*/ S.suspend(() => SettingsGetResult.pipe( T.EnvelopePayloadRoot(), T.KeyDictionary(KEY_DICTIONARY), ), ).annotate({ identifier: "GetSettingResponse", }) as any as S.Schema; export interface GetSubscriptionRequest { /** Identifier */ zoneId: string; } export const GetSubscriptionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({ zoneId: S.String.pipe(T.Label("zone_id")), }) .pipe( T.Http({ method: "GET", uri: "/zones/{zone_id}/subscription", code: 200, }), ) .pipe(T.KeyDictionary(KEY_DICTIONARY)), ).annotate({ identifier: "GetSubscriptionRequest", }) as any as S.Schema; export type SubscriptionsGetResponseFrequency = | "weekly" | "monthly" | "quarterly" | "yearly" | "not-applicable"; export const SubscriptionsGetResponseFrequency = /*@__PURE__*/ S.String; export type SubscriptionsGetResponseRatePlanId = | "free" | "lite" | "pro" | "pro_plus" | "business" | "enterprise" | "partners_free" | "partners_pro" | "partners_business" | "partners_enterprise"; export const SubscriptionsGetResponseRatePlanId = /*@__PURE__*/ S.String; export type SubscriptionsGetResponseRatePlanSetsList = Array; export const SubscriptionsGetResponseRatePlanSetsList = /*@__PURE__*/ S.Array( S.String, ) as any as S.Schema; export interface SubscriptionsGetResponseRatePlan { /** The ID of the rate plan. */ id?: SubscriptionsGetResponseRatePlanId | null; /** The currency applied to the rate plan subscription. */ currency?: string | null; /** Whether this rate plan is managed externally from Cloudflare. */ externallyManaged?: boolean | null; /** Whether a rate plan is enterprise-based (or newly adopted term contract). */ isContract?: boolean | null; /** The full name of the rate plan. */ publicName?: string | null; /** The scope that this rate plan applies to. */ scope?: string | null; /** The list of sets this rate plan applies to. Returns array of strings. */ sets?: SubscriptionsGetResponseRatePlanSetsList | null; } export const SubscriptionsGetResponseRatePlan = /*@__PURE__*/ S.suspend(() => S.Struct({ id: S.optional(S.NullOr(SubscriptionsGetResponseRatePlanId)), currency: S.optional(S.NullOr(S.String)), externallyManaged: S.optional( S.NullOr(S.Boolean).pipe(T.Body("externally_managed")), ), isContract: S.optional(S.NullOr(S.Boolean).pipe(T.Body("is_contract"))), publicName: S.optional(S.NullOr(S.String).pipe(T.Body("public_name"))), scope: S.optional(S.NullOr(S.String)), sets: S.optional(S.NullOr(SubscriptionsGetResponseRatePlanSetsList)), }), ).annotate({ identifier: "SubscriptionsGetResponseRatePlan", }) as any as S.Schema; export type SubscriptionsGetResponseState = | "Trial" | "Provisioned" | "Paid" | "AwaitingPayment" | "Cancelled" | "Failed" | "Expired"; export const SubscriptionsGetResponseState = /*@__PURE__*/ S.String; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface GetSubscriptionResponse { /** Subscription identifier tag. */ id?: string | null; /** The monetary unit in which pricing information is displayed. */ currency?: string | null; /** The end of the current period and also when the next billing is due. */ currentPeriodEnd?: string | null; /** When the current billing period started. May match initial_period_start if this is the first period. */ currentPeriodStart?: string | null; /** How often the subscription is renewed automatically. */ frequency?: SubscriptionsGetResponseFrequency | null; /** The price of the subscription that will be billed, in US dollars. */ price?: number | null; /** The rate plan applied to the subscription. */ ratePlan?: SubscriptionsGetResponseRatePlan | null; /** The state that the subscription is in. */ state?: SubscriptionsGetResponseState | null; } export const GetSubscriptionResponse = /*@__PURE__*/ S.suspend(() => S.Struct({ id: S.optional(S.NullOr(S.String)), currency: S.optional(S.NullOr(S.String)), currentPeriodEnd: S.optional( S.NullOr(S.String).pipe(T.Body("current_period_end")), ), currentPeriodStart: S.optional( S.NullOr(S.String).pipe(T.Body("current_period_start")), ), frequency: S.optional(S.NullOr(SubscriptionsGetResponseFrequency)), price: S.optional(S.NullOr(S.Number)), ratePlan: S.optional( S.NullOr(SubscriptionsGetResponseRatePlan).pipe(T.Body("rate_plan")), ), state: S.optional(S.NullOr(SubscriptionsGetResponseState)), }).pipe(T.KeyDictionary(KEY_DICTIONARY)), ).annotate({ identifier: "GetSubscriptionResponse", }) as any as S.Schema; export interface GetZoneRequest { /** Identifier */ zoneId: string; } export const GetZoneRequest = /*@__PURE__*/ S.suspend(() => S.Struct({ zoneId: S.String.pipe(T.Label("zone_id")), }) .pipe(T.Http({ method: "GET", uri: "/zones/{zone_id}", code: 200 })) .pipe(T.KeyDictionary(KEY_DICTIONARY)), ).annotate({ identifier: "GetZoneRequest" }) as any as S.Schema; export type GetResponseAccount = CreateResponseAccount; export const GetResponseAccount = CreateResponseAccount; export type GetResponseMeta = CreateResponseMeta; export const GetResponseMeta = CreateResponseMeta; export type GetResponseNameServersList = Array; export const GetResponseNameServersList = /*@__PURE__*/ S.Array( S.String, ) as any as S.Schema; export type GetResponseOriginalNameServersList = Array; export const GetResponseOriginalNameServersList = /*@__PURE__*/ S.Array( S.String, ) as any as S.Schema; export type GetResponseOwner = CreateResponseOwner; export const GetResponseOwner = CreateResponseOwner; export type GetResponsePlan = CreateResponsePlan; export const GetResponsePlan = CreateResponsePlan; export type GetResponsePermissionsList = Array; export const GetResponsePermissionsList = /*@__PURE__*/ S.Array( S.String, ) as any as S.Schema; export type GetResponseStatus = "initializing" | "pending" | "active" | "moved"; export const GetResponseStatus = /*@__PURE__*/ S.String; export type GetResponseTenant = CreateResponseTenant; export const GetResponseTenant = CreateResponseTenant; export type GetResponseTenantUnit = CreateResponseTenantUnit; export const GetResponseTenantUnit = CreateResponseTenantUnit; export type GetResponseType = "full" | "partial" | "secondary" | "internal"; export const GetResponseType = /*@__PURE__*/ S.String; export type GetResponseVanityNameServersList = Array; export const GetResponseVanityNameServersList = /*@__PURE__*/ S.Array( S.String, ) as any as S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface GetZoneResponse { /** Identifier */ id: string; /** The account the zone belongs to. */ account: CreateResponseAccount; /** The last time proof of ownership was detected and the zone was made */ activatedOn: string; /** When the zone was created. */ createdOn: string; /** The interval (in seconds) from when development mode expires */ developmentMode: number; /** Metadata about the zone. */ meta: CreateResponseMeta; /** When the zone was last modified. */ modifiedOn: string; /** The domain name. Per [RFC 1035](https://datatracker.ietf.org/doc/html/rfc1035#section-2.3.4) the overall zone name can be up to 253 characters, with each segment ("label") not exceeding 63 characters. */ name: string; /** The name servers Cloudflare assigns to a zone. */ nameServers: GetResponseNameServersList; /** DNS host at the time of switching to Cloudflare. */ originalDnshost: string; /** Original name servers before moving to Cloudflare. */ originalNameServers: GetResponseOriginalNameServersList; /** Registrar for the domain at the time of switching to Cloudflare. */ originalRegistrar: string; /** The owner of the zone. */ owner: CreateResponseOwner; /** A Zones subscription information. */ plan: CreateResponsePlan; /** Allows the customer to use a custom apex. */ cnameSuffix?: string | null; /** Indicates whether the zone is only using Cloudflare DNS services. A */ paused?: boolean | null; /** Legacy permissions based on legacy user membership information. */ permissions?: GetResponsePermissionsList | null; /** The zone status on Cloudflare. */ status?: GetResponseStatus | null; /** The root organizational unit that this zone belongs to (such as a tenant or organization). */ tenant?: CreateResponseTenant | null; /** The immediate parent organizational unit that this zone belongs to (such as under a tenant or sub-organization). */ tenantUnit?: CreateResponseTenantUnit | null; /** A full zone implies that DNS is hosted with Cloudflare. A partial zone is */ type?: GetResponseType | null; /** An array of domains used for custom name servers. This is only available for Business and Enterprise plans. */ vanityNameServers?: GetResponseVanityNameServersList | null; /** Verification key for partial zone setup. */ verificationKey?: string | null; } export const GetZoneResponse = /*@__PURE__*/ S.suspend(() => S.Struct({ id: S.String, account: CreateResponseAccount, activatedOn: S.String.pipe(T.Body("activated_on")), createdOn: S.String.pipe(T.Body("created_on")), developmentMode: S.Number.pipe(T.Body("development_mode")), meta: CreateResponseMeta, modifiedOn: S.String.pipe(T.Body("modified_on")), name: S.String, nameServers: GetResponseNameServersList.pipe(T.Body("name_servers")), originalDnshost: S.String.pipe(T.Body("original_dnshost")), originalNameServers: GetResponseOriginalNameServersList.pipe( T.Body("original_name_servers"), ), originalRegistrar: S.String.pipe(T.Body("original_registrar")), owner: CreateResponseOwner, plan: CreateResponsePlan, cnameSuffix: S.optional(S.NullOr(S.String).pipe(T.Body("cname_suffix"))), paused: S.optional(S.NullOr(S.Boolean)), permissions: S.optional(S.NullOr(GetResponsePermissionsList)), status: S.optional(S.NullOr(GetResponseStatus)), tenant: S.optional(S.NullOr(CreateResponseTenant)), tenantUnit: S.optional( S.NullOr(CreateResponseTenantUnit).pipe(T.Body("tenant_unit")), ), type: S.optional(S.NullOr(GetResponseType)), vanityNameServers: S.optional( S.NullOr(GetResponseVanityNameServersList).pipe( T.Body("vanity_name_servers"), ), ), verificationKey: S.optional( S.NullOr(S.String).pipe(T.Body("verification_key")), ), }).pipe(T.KeyDictionary(KEY_DICTIONARY)), ).annotate({ identifier: "GetZoneResponse", }) as any as S.Schema; export interface ListEnvironmentsRequest { zoneId: string; } export const ListEnvironmentsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({ zoneId: S.String.pipe(T.Label("zone_id")), }) .pipe( T.Http({ method: "GET", uri: "/zones/{zone_id}/environments", code: 200, }), ) .pipe(T.KeyDictionary(KEY_DICTIONARY)), ).annotate({ identifier: "ListEnvironmentsRequest", }) as any as S.Schema; export type EnvironmentsListResponseEnvironmentsItemPosition = EnvironmentsCreateResponseEnvironmentsItemPosition; export const EnvironmentsListResponseEnvironmentsItemPosition = EnvironmentsCreateResponseEnvironmentsItemPosition; export type EnvironmentsListResponseEnvironmentsItem = EnvironmentsCreateResponseEnvironmentsItem; export const EnvironmentsListResponseEnvironmentsItem = EnvironmentsCreateResponseEnvironmentsItem; export type EnvironmentsListResponseEnvironmentsList = Array; export const EnvironmentsListResponseEnvironmentsList = /*@__PURE__*/ S.Array( EnvironmentsCreateResponseEnvironmentsItem, ) as any as S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface ListEnvironmentsResponse { environments: EnvironmentsListResponseEnvironmentsList; } export const ListEnvironmentsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({ environments: EnvironmentsListResponseEnvironmentsList, }).pipe(T.KeyDictionary(KEY_DICTIONARY)), ).annotate({ identifier: "ListEnvironmentsResponse", }) as any as S.Schema; export interface ListPlansRequest { /** Identifier */ zoneId: string; } export const ListPlansRequest = /*@__PURE__*/ S.suspend(() => S.Struct({ zoneId: S.String.pipe(T.Label("zone_id")), }) .pipe( T.Http({ method: "GET", uri: "/zones/{zone_id}/available_plans", code: 200, }), ) .pipe(T.KeyDictionary(KEY_DICTIONARY)), ).annotate({ identifier: "ListPlansRequest", }) as any as S.Schema; export type PlansListResultItemFrequency = | "weekly" | "monthly" | "quarterly" | "yearly"; export const PlansListResultItemFrequency = /*@__PURE__*/ S.String; export interface PlansListResultItem { /** Identifier */ id?: string | null; /** Indicates whether you can subscribe to this plan. */ canSubscribe?: boolean | null; /** The monetary unit in which pricing information is displayed. */ currency?: string | null; /** Indicates whether this plan is managed externally. */ externallyManaged?: boolean | null; /** The frequency at which you will be billed for this plan. */ frequency?: PlansListResultItemFrequency | null; /** Indicates whether you are currently subscribed to this plan. */ isSubscribed?: boolean | null; /** Indicates whether this plan has a legacy discount applied. */ legacyDiscount?: boolean | null; /** The legacy identifier for this rate plan, if any. */ legacyId?: string | null; /** The plan name. */ name?: string | null; /** The amount you will be billed for this plan. */ price?: number | null; } export const PlansListResultItem = /*@__PURE__*/ S.suspend(() => S.Struct({ id: S.optional(S.NullOr(S.String)), canSubscribe: S.optional(S.NullOr(S.Boolean).pipe(T.Body("can_subscribe"))), currency: S.optional(S.NullOr(S.String)), externallyManaged: S.optional( S.NullOr(S.Boolean).pipe(T.Body("externally_managed")), ), frequency: S.optional(S.NullOr(PlansListResultItemFrequency)), isSubscribed: S.optional(S.NullOr(S.Boolean).pipe(T.Body("is_subscribed"))), legacyDiscount: S.optional( S.NullOr(S.Boolean).pipe(T.Body("legacy_discount")), ), legacyId: S.optional(S.NullOr(S.String).pipe(T.Body("legacy_id"))), name: S.optional(S.NullOr(S.String)), price: S.optional(S.NullOr(S.Number)), }), ).annotate({ identifier: "PlansListResultItem", }) as any as S.Schema; export type PlansListResultList = Array; export const PlansListResultList = /*@__PURE__*/ S.Array( PlansListResultItem, ) as any as S.Schema; export interface ListPlansResponse { /** The unwrapped `result` payload of the v4 response envelope. */ result: PlansListResultList; /** Pagination info from the envelope's `result_info`. */ resultInfo?: ResultInfo | null; } export const ListPlansResponse = /*@__PURE__*/ S.suspend(() => S.Struct({ result: PlansListResultList.pipe(T.EnvelopePayload()), resultInfo: S.optional(S.NullOr(ResultInfo).pipe(T.ResultInfo())), }).pipe(T.KeyDictionary(KEY_DICTIONARY)), ).annotate({ identifier: "ListPlansResponse", }) as any as S.Schema; export interface ListSettingsRequest { /** Identifier */ zoneId: string; } export const ListSettingsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({ zoneId: S.String.pipe(T.Label("zone_id")), }) .pipe( T.Http({ method: "GET", uri: "/zones/{zone_id}/settings", code: 200 }), ) .pipe(T.KeyDictionary(KEY_DICTIONARY)), ).annotate({ identifier: "ListSettingsRequest", }) as any as S.Schema; export type ListSettingsResultItemZeroRTTId = "0rtt"; export const ListSettingsResultItemZeroRTTId = /*@__PURE__*/ S.String; export type ListSettingsResultItemZeroRTTValue = "on" | "off"; export const ListSettingsResultItemZeroRTTValue = /*@__PURE__*/ S.String; export interface ListSettingsResultItemZeroRTT { /** ID of the zone setting. */ id: ListSettingsResultItemZeroRTTId; /** Current value of the zone setting. */ value: ListSettingsResultItemZeroRTTValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const ListSettingsResultItemZeroRTT = /*@__PURE__*/ S.suspend(() => S.Struct({ id: ListSettingsResultItemZeroRTTId, value: ListSettingsResultItemZeroRTTValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "ListSettingsResultItemZeroRTT", }) as any as S.Schema; export type ListSettingsResultItemAdvancedDDoSId = "advanced_ddos"; export const ListSettingsResultItemAdvancedDDoSId = /*@__PURE__*/ S.String; export type ListSettingsResultItemAdvancedDDoSValue = "on" | "off"; export const ListSettingsResultItemAdvancedDDoSValue = /*@__PURE__*/ S.String; export interface ListSettingsResultItemAdvancedDDoS { /** ID of the zone setting. */ id: ListSettingsResultItemAdvancedDDoSId; /** Current value of the zone setting. */ value: ListSettingsResultItemAdvancedDDoSValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const ListSettingsResultItemAdvancedDDoS = /*@__PURE__*/ S.suspend(() => S.Struct({ id: ListSettingsResultItemAdvancedDDoSId, value: ListSettingsResultItemAdvancedDDoSValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "ListSettingsResultItemAdvancedDDoS", }) as any as S.Schema; export type ListSettingsResultItemZonesCacheRulesAegisId = "aegis"; export const ListSettingsResultItemZonesCacheRulesAegisId = /*@__PURE__*/ S.String; export type ListSettingsResultItemZonesCacheRulesAegisValue = SettingsGetResultZonesCacheRulesAegisValue; export const ListSettingsResultItemZonesCacheRulesAegisValue = SettingsGetResultZonesCacheRulesAegisValue; export interface ListSettingsResultItemZonesCacheRulesAegis { /** ID of the zone setting. */ id: ListSettingsResultItemZonesCacheRulesAegisId; /** Last time this setting was modified. */ modifiedOn?: string | null; /** Value of the zone setting. */ value?: SettingsGetResultZonesCacheRulesAegisValue | null; } export const ListSettingsResultItemZonesCacheRulesAegis = /*@__PURE__*/ S.suspend(() => S.Struct({ id: ListSettingsResultItemZonesCacheRulesAegisId, modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), value: S.optional(S.NullOr(SettingsGetResultZonesCacheRulesAegisValue)), }), ).annotate({ identifier: "ListSettingsResultItemZonesCacheRulesAegis", }) as any as S.Schema; export type ListSettingsResultItemAlwaysOnlineId = "always_online"; export const ListSettingsResultItemAlwaysOnlineId = /*@__PURE__*/ S.String; export type ListSettingsResultItemAlwaysOnlineValue = "on" | "off"; export const ListSettingsResultItemAlwaysOnlineValue = /*@__PURE__*/ S.String; export interface ListSettingsResultItemAlwaysOnline { /** ID of the zone setting. */ id: ListSettingsResultItemAlwaysOnlineId; /** Current value of the zone setting. */ value: ListSettingsResultItemAlwaysOnlineValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const ListSettingsResultItemAlwaysOnline = /*@__PURE__*/ S.suspend(() => S.Struct({ id: ListSettingsResultItemAlwaysOnlineId, value: ListSettingsResultItemAlwaysOnlineValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "ListSettingsResultItemAlwaysOnline", }) as any as S.Schema; export type ListSettingsResultItemZonesSchemasAlwaysUseHTTPSId = "always_use_https"; export const ListSettingsResultItemZonesSchemasAlwaysUseHTTPSId = /*@__PURE__*/ S.String; export type ListSettingsResultItemZonesSchemasAlwaysUseHTTPSValue = | "on" | "off"; export const ListSettingsResultItemZonesSchemasAlwaysUseHTTPSValue = /*@__PURE__*/ S.String; export interface ListSettingsResultItemZonesSchemasAlwaysUseHTTPS { /** ID of the zone setting. */ id: ListSettingsResultItemZonesSchemasAlwaysUseHTTPSId; /** Current value of the zone setting. */ value: ListSettingsResultItemZonesSchemasAlwaysUseHTTPSValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const ListSettingsResultItemZonesSchemasAlwaysUseHTTPS = /*@__PURE__*/ S.suspend(() => S.Struct({ id: ListSettingsResultItemZonesSchemasAlwaysUseHTTPSId, value: ListSettingsResultItemZonesSchemasAlwaysUseHTTPSValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "ListSettingsResultItemZonesSchemasAlwaysUseHTTPS", }) as any as S.Schema; export type ListSettingsResultItemZonesSchemasAutomaticHTTPSRewritesId = "automatic_https_rewrites"; export const ListSettingsResultItemZonesSchemasAutomaticHTTPSRewritesId = /*@__PURE__*/ S.String; export type ListSettingsResultItemZonesSchemasAutomaticHTTPSRewritesValue = | "on" | "off"; export const ListSettingsResultItemZonesSchemasAutomaticHTTPSRewritesValue = /*@__PURE__*/ S.String; export interface ListSettingsResultItemZonesSchemasAutomaticHTTPSRewrites { /** ID of the zone setting. */ id: ListSettingsResultItemZonesSchemasAutomaticHTTPSRewritesId; /** Current value of the zone setting. */ value: ListSettingsResultItemZonesSchemasAutomaticHTTPSRewritesValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const ListSettingsResultItemZonesSchemasAutomaticHTTPSRewrites = /*@__PURE__*/ S.suspend(() => S.Struct({ id: ListSettingsResultItemZonesSchemasAutomaticHTTPSRewritesId, value: ListSettingsResultItemZonesSchemasAutomaticHTTPSRewritesValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "ListSettingsResultItemZonesSchemasAutomaticHTTPSRewrites", }) as any as S.Schema; export type ListSettingsResultItemBrotliId = "brotli"; export const ListSettingsResultItemBrotliId = /*@__PURE__*/ S.String; export type ListSettingsResultItemBrotliValue = "off" | "on"; export const ListSettingsResultItemBrotliValue = /*@__PURE__*/ S.String; export interface ListSettingsResultItemBrotli { /** ID of the zone setting. */ id: ListSettingsResultItemBrotliId; /** Current value of the zone setting. */ value: ListSettingsResultItemBrotliValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const ListSettingsResultItemBrotli = /*@__PURE__*/ S.suspend(() => S.Struct({ id: ListSettingsResultItemBrotliId, value: ListSettingsResultItemBrotliValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "ListSettingsResultItemBrotli", }) as any as S.Schema; export type ListSettingsResultItemZonesSchemasBrowserCacheTTLId = "browser_cache_ttl"; export const ListSettingsResultItemZonesSchemasBrowserCacheTTLId = /*@__PURE__*/ S.String; export interface ListSettingsResultItemZonesSchemasBrowserCacheTTL { /** ID of the zone setting. */ id: ListSettingsResultItemZonesSchemasBrowserCacheTTLId; /** Current value of the zone setting. */ value: number; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const ListSettingsResultItemZonesSchemasBrowserCacheTTL = /*@__PURE__*/ S.suspend(() => S.Struct({ id: ListSettingsResultItemZonesSchemasBrowserCacheTTLId, value: S.Number, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "ListSettingsResultItemZonesSchemasBrowserCacheTTL", }) as any as S.Schema; export type ListSettingsResultItemZonesSchemasBrowserCheckId = "browser_check"; export const ListSettingsResultItemZonesSchemasBrowserCheckId = /*@__PURE__*/ S.String; export type ListSettingsResultItemZonesSchemasBrowserCheckValue = "on" | "off"; export const ListSettingsResultItemZonesSchemasBrowserCheckValue = /*@__PURE__*/ S.String; export interface ListSettingsResultItemZonesSchemasBrowserCheck { /** ID of the zone setting. */ id: ListSettingsResultItemZonesSchemasBrowserCheckId; /** Current value of the zone setting. */ value: ListSettingsResultItemZonesSchemasBrowserCheckValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const ListSettingsResultItemZonesSchemasBrowserCheck = /*@__PURE__*/ S.suspend(() => S.Struct({ id: ListSettingsResultItemZonesSchemasBrowserCheckId, value: ListSettingsResultItemZonesSchemasBrowserCheckValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "ListSettingsResultItemZonesSchemasBrowserCheck", }) as any as S.Schema; export type ListSettingsResultItemZonesSchemasCacheLevelId = "cache_level"; export const ListSettingsResultItemZonesSchemasCacheLevelId = /*@__PURE__*/ S.String; export type ListSettingsResultItemZonesSchemasCacheLevelValue = | "aggressive" | "basic" | "simplified"; export const ListSettingsResultItemZonesSchemasCacheLevelValue = /*@__PURE__*/ S.String; export interface ListSettingsResultItemZonesSchemasCacheLevel { /** ID of the zone setting. */ id: ListSettingsResultItemZonesSchemasCacheLevelId; /** Current value of the zone setting. */ value: ListSettingsResultItemZonesSchemasCacheLevelValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const ListSettingsResultItemZonesSchemasCacheLevel = /*@__PURE__*/ S.suspend(() => S.Struct({ id: ListSettingsResultItemZonesSchemasCacheLevelId, value: ListSettingsResultItemZonesSchemasCacheLevelValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "ListSettingsResultItemZonesSchemasCacheLevel", }) as any as S.Schema; export type ListSettingsResultItemChallengeTTLId = "challenge_ttl"; export const ListSettingsResultItemChallengeTTLId = /*@__PURE__*/ S.String; export type ListSettingsResultItemChallengeTTLValue = | 300 | 900 | 1800 | 2700 | 3600 | 7200 | 10800 | 14400 | 28800 | 57600 | 86400 | 604800 | 2592000 | 31536000; export const ListSettingsResultItemChallengeTTLValue = /*@__PURE__*/ S.Number; export interface ListSettingsResultItemChallengeTTL { /** ID of the zone setting. */ id: ListSettingsResultItemChallengeTTLId; /** Current value of the zone setting. */ value: ListSettingsResultItemChallengeTTLValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const ListSettingsResultItemChallengeTTL = /*@__PURE__*/ S.suspend(() => S.Struct({ id: ListSettingsResultItemChallengeTTLId, value: ListSettingsResultItemChallengeTTLValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "ListSettingsResultItemChallengeTTL", }) as any as S.Schema; export type ListSettingsResultItemCiphersId = "ciphers"; export const ListSettingsResultItemCiphersId = /*@__PURE__*/ S.String; export type ListSettingsResultItemCiphersValueList = Array; export const ListSettingsResultItemCiphersValueList = /*@__PURE__*/ S.Array( S.String, ) as any as S.Schema; export interface ListSettingsResultItemCiphers { /** ID of the zone setting. */ id: ListSettingsResultItemCiphersId; /** Current value of the zone setting. */ value: ListSettingsResultItemCiphersValueList; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const ListSettingsResultItemCiphers = /*@__PURE__*/ S.suspend(() => S.Struct({ id: ListSettingsResultItemCiphersId, value: ListSettingsResultItemCiphersValueList, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "ListSettingsResultItemCiphers", }) as any as S.Schema; export type ListSettingsResultItemZonesContentConverterId = "content_converter"; export const ListSettingsResultItemZonesContentConverterId = /*@__PURE__*/ S.String; export type ListSettingsResultItemZonesContentConverterValue = "off" | "on"; export const ListSettingsResultItemZonesContentConverterValue = /*@__PURE__*/ S.String; export interface ListSettingsResultItemZonesContentConverter { /** ID of the zone setting. */ id: ListSettingsResultItemZonesContentConverterId; /** Current value of the zone setting. */ value: ListSettingsResultItemZonesContentConverterValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const ListSettingsResultItemZonesContentConverter = /*@__PURE__*/ S.suspend(() => S.Struct({ id: ListSettingsResultItemZonesContentConverterId, value: ListSettingsResultItemZonesContentConverterValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "ListSettingsResultItemZonesContentConverter", }) as any as S.Schema; export type ListSettingsResultItemZonesCNAMEFlatteningId = "cname_flattening"; export const ListSettingsResultItemZonesCNAMEFlatteningId = /*@__PURE__*/ S.String; export type ListSettingsResultItemZonesCNAMEFlatteningValue = | "flatten_at_root" | "flatten_all"; export const ListSettingsResultItemZonesCNAMEFlatteningValue = /*@__PURE__*/ S.String; export interface ListSettingsResultItemZonesCNAMEFlattening { /** How to flatten the cname destination. */ id: ListSettingsResultItemZonesCNAMEFlatteningId; /** Current value of the zone setting. */ value: ListSettingsResultItemZonesCNAMEFlatteningValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const ListSettingsResultItemZonesCNAMEFlattening = /*@__PURE__*/ S.suspend(() => S.Struct({ id: ListSettingsResultItemZonesCNAMEFlatteningId, value: ListSettingsResultItemZonesCNAMEFlatteningValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "ListSettingsResultItemZonesCNAMEFlattening", }) as any as S.Schema; export type ListSettingsResultItemDevelopmentModeId = "development_mode"; export const ListSettingsResultItemDevelopmentModeId = /*@__PURE__*/ S.String; export type ListSettingsResultItemDevelopmentModeValue = "on" | "off"; export const ListSettingsResultItemDevelopmentModeValue = /*@__PURE__*/ S.String; export interface ListSettingsResultItemDevelopmentMode { /** ID of the zone setting. */ id: ListSettingsResultItemDevelopmentModeId; /** Current value of the zone setting. */ value: ListSettingsResultItemDevelopmentModeValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; /** Value of the zone setting. */ timeRemaining?: number | null; } export const ListSettingsResultItemDevelopmentMode = /*@__PURE__*/ S.suspend( () => S.Struct({ id: ListSettingsResultItemDevelopmentModeId, value: ListSettingsResultItemDevelopmentModeValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), timeRemaining: S.optional( S.NullOr(S.Number).pipe(T.Body("time_remaining")), ), }), ).annotate({ identifier: "ListSettingsResultItemDevelopmentMode", }) as any as S.Schema; export type ListSettingsResultItemEarlyHintsId = "early_hints"; export const ListSettingsResultItemEarlyHintsId = /*@__PURE__*/ S.String; export type ListSettingsResultItemEarlyHintsValue = "on" | "off"; export const ListSettingsResultItemEarlyHintsValue = /*@__PURE__*/ S.String; export interface ListSettingsResultItemEarlyHints { /** ID of the zone setting. */ id: ListSettingsResultItemEarlyHintsId; /** Current value of the zone setting. */ value: ListSettingsResultItemEarlyHintsValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const ListSettingsResultItemEarlyHints = /*@__PURE__*/ S.suspend(() => S.Struct({ id: ListSettingsResultItemEarlyHintsId, value: ListSettingsResultItemEarlyHintsValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "ListSettingsResultItemEarlyHints", }) as any as S.Schema; export type ListSettingsResultItemZonesSchemasEdgeCacheTTLId = "edge_cache_ttl"; export const ListSettingsResultItemZonesSchemasEdgeCacheTTLId = /*@__PURE__*/ S.String; export type ListSettingsResultItemZonesSchemasEdgeCacheTTLValue = | 30 | 60 | 300 | 1200 | 1800 | 3600 | 7200 | 10800 | 14400 | 18000 | 28800 | 43200 | 57600 | 72000 | 86400 | 172800 | 259200 | 345600 | 432000 | 518400 | 604800; export const ListSettingsResultItemZonesSchemasEdgeCacheTTLValue = /*@__PURE__*/ S.Number; export interface ListSettingsResultItemZonesSchemasEdgeCacheTTL { /** ID of the zone setting. */ id: ListSettingsResultItemZonesSchemasEdgeCacheTTLId; /** Current value of the zone setting. */ value: ListSettingsResultItemZonesSchemasEdgeCacheTTLValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const ListSettingsResultItemZonesSchemasEdgeCacheTTL = /*@__PURE__*/ S.suspend(() => S.Struct({ id: ListSettingsResultItemZonesSchemasEdgeCacheTTLId, value: ListSettingsResultItemZonesSchemasEdgeCacheTTLValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "ListSettingsResultItemZonesSchemasEdgeCacheTTL", }) as any as S.Schema; export type ListSettingsResultItemZonesSchemasEmailObfuscationId = "email_obfuscation"; export const ListSettingsResultItemZonesSchemasEmailObfuscationId = /*@__PURE__*/ S.String; export type ListSettingsResultItemZonesSchemasEmailObfuscationValue = | "on" | "off"; export const ListSettingsResultItemZonesSchemasEmailObfuscationValue = /*@__PURE__*/ S.String; export interface ListSettingsResultItemZonesSchemasEmailObfuscation { /** ID of the zone setting. */ id: ListSettingsResultItemZonesSchemasEmailObfuscationId; /** Current value of the zone setting. */ value: ListSettingsResultItemZonesSchemasEmailObfuscationValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const ListSettingsResultItemZonesSchemasEmailObfuscation = /*@__PURE__*/ S.suspend(() => S.Struct({ id: ListSettingsResultItemZonesSchemasEmailObfuscationId, value: ListSettingsResultItemZonesSchemasEmailObfuscationValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "ListSettingsResultItemZonesSchemasEmailObfuscation", }) as any as S.Schema; export type ListSettingsResultItemH2PrioritizationId = "h2_prioritization"; export const ListSettingsResultItemH2PrioritizationId = /*@__PURE__*/ S.String; export type ListSettingsResultItemH2PrioritizationValue = | "on" | "off" | "custom"; export const ListSettingsResultItemH2PrioritizationValue = /*@__PURE__*/ S.String; export interface ListSettingsResultItemH2Prioritization { /** ID of the zone setting. */ id: ListSettingsResultItemH2PrioritizationId; /** Current value of the zone setting. */ value: ListSettingsResultItemH2PrioritizationValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const ListSettingsResultItemH2Prioritization = /*@__PURE__*/ S.suspend( () => S.Struct({ id: ListSettingsResultItemH2PrioritizationId, value: ListSettingsResultItemH2PrioritizationValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "ListSettingsResultItemH2Prioritization", }) as any as S.Schema; export type ListSettingsResultItemHotlinkProtectionId = "hotlink_protection"; export const ListSettingsResultItemHotlinkProtectionId = /*@__PURE__*/ S.String; export type ListSettingsResultItemHotlinkProtectionValue = "on" | "off"; export const ListSettingsResultItemHotlinkProtectionValue = /*@__PURE__*/ S.String; export interface ListSettingsResultItemHotlinkProtection { /** ID of the zone setting. */ id: ListSettingsResultItemHotlinkProtectionId; /** Current value of the zone setting. */ value: ListSettingsResultItemHotlinkProtectionValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const ListSettingsResultItemHotlinkProtection = /*@__PURE__*/ S.suspend( () => S.Struct({ id: ListSettingsResultItemHotlinkProtectionId, value: ListSettingsResultItemHotlinkProtectionValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "ListSettingsResultItemHotlinkProtection", }) as any as S.Schema; export type ListSettingsResultItemHTTP2Id = "http2"; export const ListSettingsResultItemHTTP2Id = /*@__PURE__*/ S.String; export type ListSettingsResultItemHTTP2Value = "on" | "off"; export const ListSettingsResultItemHTTP2Value = /*@__PURE__*/ S.String; export interface ListSettingsResultItemHTTP2 { /** ID of the zone setting. */ id: ListSettingsResultItemHTTP2Id; /** Current value of the zone setting. */ value: ListSettingsResultItemHTTP2Value; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const ListSettingsResultItemHTTP2 = /*@__PURE__*/ S.suspend(() => S.Struct({ id: ListSettingsResultItemHTTP2Id, value: ListSettingsResultItemHTTP2Value, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "ListSettingsResultItemHTTP2", }) as any as S.Schema; export type ListSettingsResultItemHTTP3Id = "http3"; export const ListSettingsResultItemHTTP3Id = /*@__PURE__*/ S.String; export type ListSettingsResultItemHTTP3Value = "on" | "off"; export const ListSettingsResultItemHTTP3Value = /*@__PURE__*/ S.String; export interface ListSettingsResultItemHTTP3 { /** ID of the zone setting. */ id: ListSettingsResultItemHTTP3Id; /** Current value of the zone setting. */ value: ListSettingsResultItemHTTP3Value; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const ListSettingsResultItemHTTP3 = /*@__PURE__*/ S.suspend(() => S.Struct({ id: ListSettingsResultItemHTTP3Id, value: ListSettingsResultItemHTTP3Value, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "ListSettingsResultItemHTTP3", }) as any as S.Schema; export type ListSettingsResultItemImageResizingId = "image_resizing"; export const ListSettingsResultItemImageResizingId = /*@__PURE__*/ S.String; export type ListSettingsResultItemImageResizingValue = "on" | "off" | "open"; export const ListSettingsResultItemImageResizingValue = /*@__PURE__*/ S.String; export interface ListSettingsResultItemImageResizing { /** ID of the zone setting. */ id: ListSettingsResultItemImageResizingId; /** Current value of the zone setting. */ value: ListSettingsResultItemImageResizingValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const ListSettingsResultItemImageResizing = /*@__PURE__*/ S.suspend(() => S.Struct({ id: ListSettingsResultItemImageResizingId, value: ListSettingsResultItemImageResizingValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "ListSettingsResultItemImageResizing", }) as any as S.Schema; export type ListSettingsResultItemZonesSchemasIPGeolocationId = "ip_geolocation"; export const ListSettingsResultItemZonesSchemasIPGeolocationId = /*@__PURE__*/ S.String; export type ListSettingsResultItemZonesSchemasIPGeolocationValue = "on" | "off"; export const ListSettingsResultItemZonesSchemasIPGeolocationValue = /*@__PURE__*/ S.String; export interface ListSettingsResultItemZonesSchemasIPGeolocation { /** ID of the zone setting. */ id: ListSettingsResultItemZonesSchemasIPGeolocationId; /** Current value of the zone setting. */ value: ListSettingsResultItemZonesSchemasIPGeolocationValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const ListSettingsResultItemZonesSchemasIPGeolocation = /*@__PURE__*/ S.suspend(() => S.Struct({ id: ListSettingsResultItemZonesSchemasIPGeolocationId, value: ListSettingsResultItemZonesSchemasIPGeolocationValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "ListSettingsResultItemZonesSchemasIPGeolocation", }) as any as S.Schema; export type ListSettingsResultItemIPV6Id = "ipv6"; export const ListSettingsResultItemIPV6Id = /*@__PURE__*/ S.String; export type ListSettingsResultItemIPV6Value = "off" | "on"; export const ListSettingsResultItemIPV6Value = /*@__PURE__*/ S.String; export interface ListSettingsResultItemIPV6 { /** ID of the zone setting. */ id: ListSettingsResultItemIPV6Id; /** Current value of the zone setting. */ value: ListSettingsResultItemIPV6Value; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const ListSettingsResultItemIPV6 = /*@__PURE__*/ S.suspend(() => S.Struct({ id: ListSettingsResultItemIPV6Id, value: ListSettingsResultItemIPV6Value, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "ListSettingsResultItemIPV6", }) as any as S.Schema; export type ListSettingsResultItemZonesMaxUploadId = "max_upload"; export const ListSettingsResultItemZonesMaxUploadId = /*@__PURE__*/ S.String; export type ListSettingsResultItemZonesMaxUploadValue = | 100 | 125 | 150 | 175 | 200 | 225 | 250 | 275 | 300 | 325 | 350 | 375 | 400 | 425 | 450 | 475 | 500 | 1000; export const ListSettingsResultItemZonesMaxUploadValue = /*@__PURE__*/ S.Number; export interface ListSettingsResultItemZonesMaxUpload { /** identifier of the zone setting. */ id: ListSettingsResultItemZonesMaxUploadId; /** Current value of the zone setting. */ value: ListSettingsResultItemZonesMaxUploadValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const ListSettingsResultItemZonesMaxUpload = /*@__PURE__*/ S.suspend( () => S.Struct({ id: ListSettingsResultItemZonesMaxUploadId, value: ListSettingsResultItemZonesMaxUploadValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "ListSettingsResultItemZonesMaxUpload", }) as any as S.Schema; export type ListSettingsResultItemMinTLSVersionId = "min_tls_version"; export const ListSettingsResultItemMinTLSVersionId = /*@__PURE__*/ S.String; export type ListSettingsResultItemMinTLSVersionValue = | "1.0" | "1.1" | "1.2" | "1.3"; export const ListSettingsResultItemMinTLSVersionValue = /*@__PURE__*/ S.String; export interface ListSettingsResultItemMinTLSVersion { /** ID of the zone setting. */ id: ListSettingsResultItemMinTLSVersionId; /** Current value of the zone setting. */ value: ListSettingsResultItemMinTLSVersionValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const ListSettingsResultItemMinTLSVersion = /*@__PURE__*/ S.suspend(() => S.Struct({ id: ListSettingsResultItemMinTLSVersionId, value: ListSettingsResultItemMinTLSVersionValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "ListSettingsResultItemMinTLSVersion", }) as any as S.Schema; export type ListSettingsResultItemZonesSchemasMirageId = "mirage"; export const ListSettingsResultItemZonesSchemasMirageId = /*@__PURE__*/ S.String; export type ListSettingsResultItemZonesSchemasMirageValue = "on" | "off"; export const ListSettingsResultItemZonesSchemasMirageValue = /*@__PURE__*/ S.String; export interface ListSettingsResultItemZonesSchemasMirage { /** ID of the zone setting. */ id: ListSettingsResultItemZonesSchemasMirageId; /** Current value of the zone setting. */ value: ListSettingsResultItemZonesSchemasMirageValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const ListSettingsResultItemZonesSchemasMirage = /*@__PURE__*/ S.suspend( () => S.Struct({ id: ListSettingsResultItemZonesSchemasMirageId, value: ListSettingsResultItemZonesSchemasMirageValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "ListSettingsResultItemZonesSchemasMirage", }) as any as S.Schema; export type ListSettingsResultItemNELId = "nel"; export const ListSettingsResultItemNELId = /*@__PURE__*/ S.String; export type ListSettingsResultItemNELValue = SettingsGetResultNELValue; export const ListSettingsResultItemNELValue = SettingsGetResultNELValue; export interface ListSettingsResultItemNEL { /** Zone setting identifier. */ id: ListSettingsResultItemNELId; /** Current value of the zone setting. */ value: SettingsGetResultNELValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const ListSettingsResultItemNEL = /*@__PURE__*/ S.suspend(() => S.Struct({ id: ListSettingsResultItemNELId, value: SettingsGetResultNELValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "ListSettingsResultItemNEL", }) as any as S.Schema; export type ListSettingsResultItemZonesSchemasOpportunisticEncryptionId = "opportunistic_encryption"; export const ListSettingsResultItemZonesSchemasOpportunisticEncryptionId = /*@__PURE__*/ S.String; export type ListSettingsResultItemZonesSchemasOpportunisticEncryptionValue = | "on" | "off"; export const ListSettingsResultItemZonesSchemasOpportunisticEncryptionValue = /*@__PURE__*/ S.String; export interface ListSettingsResultItemZonesSchemasOpportunisticEncryption { /** ID of the zone setting. */ id: ListSettingsResultItemZonesSchemasOpportunisticEncryptionId; /** Current value of the zone setting. */ value: ListSettingsResultItemZonesSchemasOpportunisticEncryptionValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const ListSettingsResultItemZonesSchemasOpportunisticEncryption = /*@__PURE__*/ S.suspend(() => S.Struct({ id: ListSettingsResultItemZonesSchemasOpportunisticEncryptionId, value: ListSettingsResultItemZonesSchemasOpportunisticEncryptionValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "ListSettingsResultItemZonesSchemasOpportunisticEncryption", }) as any as S.Schema; export type ListSettingsResultItemOpportunisticOnionId = "opportunistic_onion"; export const ListSettingsResultItemOpportunisticOnionId = /*@__PURE__*/ S.String; export type ListSettingsResultItemOpportunisticOnionValue = "on" | "off"; export const ListSettingsResultItemOpportunisticOnionValue = /*@__PURE__*/ S.String; export interface ListSettingsResultItemOpportunisticOnion { /** ID of the zone setting. */ id: ListSettingsResultItemOpportunisticOnionId; /** Current value of the zone setting. */ value: ListSettingsResultItemOpportunisticOnionValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const ListSettingsResultItemOpportunisticOnion = /*@__PURE__*/ S.suspend( () => S.Struct({ id: ListSettingsResultItemOpportunisticOnionId, value: ListSettingsResultItemOpportunisticOnionValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "ListSettingsResultItemOpportunisticOnion", }) as any as S.Schema; export type ListSettingsResultItemOrangeToOrangeId = "orange_to_orange"; export const ListSettingsResultItemOrangeToOrangeId = /*@__PURE__*/ S.String; export type ListSettingsResultItemOrangeToOrangeValue = "on" | "off"; export const ListSettingsResultItemOrangeToOrangeValue = /*@__PURE__*/ S.String; export interface ListSettingsResultItemOrangeToOrange { /** ID of the zone setting. */ id: ListSettingsResultItemOrangeToOrangeId; /** Current value of the zone setting. */ value: ListSettingsResultItemOrangeToOrangeValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const ListSettingsResultItemOrangeToOrange = /*@__PURE__*/ S.suspend( () => S.Struct({ id: ListSettingsResultItemOrangeToOrangeId, value: ListSettingsResultItemOrangeToOrangeValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "ListSettingsResultItemOrangeToOrange", }) as any as S.Schema; export type ListSettingsResultItemZonesSchemasOriginErrorPagePassThruId = "origin_error_page_pass_thru"; export const ListSettingsResultItemZonesSchemasOriginErrorPagePassThruId = /*@__PURE__*/ S.String; export type ListSettingsResultItemZonesSchemasOriginErrorPagePassThruValue = | "on" | "off"; export const ListSettingsResultItemZonesSchemasOriginErrorPagePassThruValue = /*@__PURE__*/ S.String; export interface ListSettingsResultItemZonesSchemasOriginErrorPagePassThru { /** ID of the zone setting. */ id: ListSettingsResultItemZonesSchemasOriginErrorPagePassThruId; /** Current value of the zone setting. */ value: ListSettingsResultItemZonesSchemasOriginErrorPagePassThruValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const ListSettingsResultItemZonesSchemasOriginErrorPagePassThru = /*@__PURE__*/ S.suspend(() => S.Struct({ id: ListSettingsResultItemZonesSchemasOriginErrorPagePassThruId, value: ListSettingsResultItemZonesSchemasOriginErrorPagePassThruValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "ListSettingsResultItemZonesSchemasOriginErrorPagePassThru", }) as any as S.Schema; export type ListSettingsResultItemZonesCacheRulesOriginH2MaxStreamsId = "origin_h2_max_streams"; export const ListSettingsResultItemZonesCacheRulesOriginH2MaxStreamsId = /*@__PURE__*/ S.String; export interface ListSettingsResultItemZonesCacheRulesOriginH2MaxStreams { /** Value of the zone setting. */ id: ListSettingsResultItemZonesCacheRulesOriginH2MaxStreamsId; /** Last time this setting was modified. */ modifiedOn?: string | null; /** Value of the Origin H2 Max Streams Setting. */ value?: number | null; } export const ListSettingsResultItemZonesCacheRulesOriginH2MaxStreams = /*@__PURE__*/ S.suspend(() => S.Struct({ id: ListSettingsResultItemZonesCacheRulesOriginH2MaxStreamsId, modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), value: S.optional(S.NullOr(S.Number)), }), ).annotate({ identifier: "ListSettingsResultItemZonesCacheRulesOriginH2MaxStreams", }) as any as S.Schema; export type ListSettingsResultItemZonesCacheRulesOriginMaxHTTPVersionId = "origin_max_http_version"; export const ListSettingsResultItemZonesCacheRulesOriginMaxHTTPVersionId = /*@__PURE__*/ S.String; export type ListSettingsResultItemZonesCacheRulesOriginMaxHTTPVersionValue = | "2" | "1"; export const ListSettingsResultItemZonesCacheRulesOriginMaxHTTPVersionValue = /*@__PURE__*/ S.String; export interface ListSettingsResultItemZonesCacheRulesOriginMaxHTTPVersion { /** Value of the zone setting. */ id: ListSettingsResultItemZonesCacheRulesOriginMaxHTTPVersionId; /** Last time this setting was modified. */ modifiedOn?: string | null; /** Value of the Origin Max HTTP Version Setting. */ value?: ListSettingsResultItemZonesCacheRulesOriginMaxHTTPVersionValue | null; } export const ListSettingsResultItemZonesCacheRulesOriginMaxHTTPVersion = /*@__PURE__*/ S.suspend(() => S.Struct({ id: ListSettingsResultItemZonesCacheRulesOriginMaxHTTPVersionId, modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), value: S.optional( S.NullOr( ListSettingsResultItemZonesCacheRulesOriginMaxHTTPVersionValue, ), ), }), ).annotate({ identifier: "ListSettingsResultItemZonesCacheRulesOriginMaxHTTPVersion", }) as any as S.Schema; export type ListSettingsResultItemZonesSchemasPolishId = "polish"; export const ListSettingsResultItemZonesSchemasPolishId = /*@__PURE__*/ S.String; export type ListSettingsResultItemZonesSchemasPolishValue = | "off" | "lossless" | "lossy"; export const ListSettingsResultItemZonesSchemasPolishValue = /*@__PURE__*/ S.String; export interface ListSettingsResultItemZonesSchemasPolish { /** ID of the zone setting. */ id: ListSettingsResultItemZonesSchemasPolishId; /** Current value of the zone setting. */ value: ListSettingsResultItemZonesSchemasPolishValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const ListSettingsResultItemZonesSchemasPolish = /*@__PURE__*/ S.suspend( () => S.Struct({ id: ListSettingsResultItemZonesSchemasPolishId, value: ListSettingsResultItemZonesSchemasPolishValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "ListSettingsResultItemZonesSchemasPolish", }) as any as S.Schema; export type ListSettingsResultItemPrefetchPreloadId = "prefetch_preload"; export const ListSettingsResultItemPrefetchPreloadId = /*@__PURE__*/ S.String; export type ListSettingsResultItemPrefetchPreloadValue = "on" | "off"; export const ListSettingsResultItemPrefetchPreloadValue = /*@__PURE__*/ S.String; export interface ListSettingsResultItemPrefetchPreload { /** ID of the zone setting. */ id: ListSettingsResultItemPrefetchPreloadId; /** Current value of the zone setting. */ value: ListSettingsResultItemPrefetchPreloadValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const ListSettingsResultItemPrefetchPreload = /*@__PURE__*/ S.suspend( () => S.Struct({ id: ListSettingsResultItemPrefetchPreloadId, value: ListSettingsResultItemPrefetchPreloadValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "ListSettingsResultItemPrefetchPreload", }) as any as S.Schema; export type ListSettingsResultItemZonesPrivacyPassId = "privacy_pass"; export const ListSettingsResultItemZonesPrivacyPassId = /*@__PURE__*/ S.String; export type ListSettingsResultItemZonesPrivacyPassValue = "on" | "off"; export const ListSettingsResultItemZonesPrivacyPassValue = /*@__PURE__*/ S.String; export interface ListSettingsResultItemZonesPrivacyPass { /** ID of the zone setting. */ id: ListSettingsResultItemZonesPrivacyPassId; /** Current value of the zone setting. */ value: ListSettingsResultItemZonesPrivacyPassValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const ListSettingsResultItemZonesPrivacyPass = /*@__PURE__*/ S.suspend( () => S.Struct({ id: ListSettingsResultItemZonesPrivacyPassId, value: ListSettingsResultItemZonesPrivacyPassValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "ListSettingsResultItemZonesPrivacyPass", }) as any as S.Schema; export type ListSettingsResultItemProxyReadTimeoutId = "proxy_read_timeout"; export const ListSettingsResultItemProxyReadTimeoutId = /*@__PURE__*/ S.String; export interface ListSettingsResultItemProxyReadTimeout { /** ID of the zone setting. */ id: ListSettingsResultItemProxyReadTimeoutId; /** Current value of the zone setting. */ value: number; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const ListSettingsResultItemProxyReadTimeout = /*@__PURE__*/ S.suspend( () => S.Struct({ id: ListSettingsResultItemProxyReadTimeoutId, value: S.Number, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "ListSettingsResultItemProxyReadTimeout", }) as any as S.Schema; export type ListSettingsResultItemPseudoIPV4Id = "pseudo_ipv4"; export const ListSettingsResultItemPseudoIPV4Id = /*@__PURE__*/ S.String; export type ListSettingsResultItemPseudoIPV4Value = | "off" | "add_header" | "overwrite_header"; export const ListSettingsResultItemPseudoIPV4Value = /*@__PURE__*/ S.String; export interface ListSettingsResultItemPseudoIPV4 { /** Value of the Pseudo IPv4 setting. */ id: ListSettingsResultItemPseudoIPV4Id; /** Current value of the zone setting. */ value: ListSettingsResultItemPseudoIPV4Value; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const ListSettingsResultItemPseudoIPV4 = /*@__PURE__*/ S.suspend(() => S.Struct({ id: ListSettingsResultItemPseudoIPV4Id, value: ListSettingsResultItemPseudoIPV4Value, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "ListSettingsResultItemPseudoIPV4", }) as any as S.Schema; export type ListSettingsResultItemZonesRedirectsForAITrainingId = "redirects_for_ai_training"; export const ListSettingsResultItemZonesRedirectsForAITrainingId = /*@__PURE__*/ S.String; export type ListSettingsResultItemZonesRedirectsForAITrainingValue = | "off" | "on"; export const ListSettingsResultItemZonesRedirectsForAITrainingValue = /*@__PURE__*/ S.String; export interface ListSettingsResultItemZonesRedirectsForAITraining { /** ID of the zone setting. */ id: ListSettingsResultItemZonesRedirectsForAITrainingId; /** Current value of the zone setting. */ value: ListSettingsResultItemZonesRedirectsForAITrainingValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const ListSettingsResultItemZonesRedirectsForAITraining = /*@__PURE__*/ S.suspend(() => S.Struct({ id: ListSettingsResultItemZonesRedirectsForAITrainingId, value: ListSettingsResultItemZonesRedirectsForAITrainingValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "ListSettingsResultItemZonesRedirectsForAITraining", }) as any as S.Schema; export type ListSettingsResultItemZonesReplaceInsecureJSId = "replace_insecure_js"; export const ListSettingsResultItemZonesReplaceInsecureJSId = /*@__PURE__*/ S.String; export type ListSettingsResultItemZonesReplaceInsecureJSValue = "on" | "off"; export const ListSettingsResultItemZonesReplaceInsecureJSValue = /*@__PURE__*/ S.String; export interface ListSettingsResultItemZonesReplaceInsecureJS { /** ID of the zone setting. */ id: ListSettingsResultItemZonesReplaceInsecureJSId; /** Current value of the zone setting. */ value: ListSettingsResultItemZonesReplaceInsecureJSValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const ListSettingsResultItemZonesReplaceInsecureJS = /*@__PURE__*/ S.suspend(() => S.Struct({ id: ListSettingsResultItemZonesReplaceInsecureJSId, value: ListSettingsResultItemZonesReplaceInsecureJSValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "ListSettingsResultItemZonesReplaceInsecureJS", }) as any as S.Schema; export type ListSettingsResultItemZonesSchemasResponseBufferingId = "response_buffering"; export const ListSettingsResultItemZonesSchemasResponseBufferingId = /*@__PURE__*/ S.String; export type ListSettingsResultItemZonesSchemasResponseBufferingValue = | "on" | "off"; export const ListSettingsResultItemZonesSchemasResponseBufferingValue = /*@__PURE__*/ S.String; export interface ListSettingsResultItemZonesSchemasResponseBuffering { /** ID of the zone setting. */ id: ListSettingsResultItemZonesSchemasResponseBufferingId; /** Current value of the zone setting. */ value: ListSettingsResultItemZonesSchemasResponseBufferingValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const ListSettingsResultItemZonesSchemasResponseBuffering = /*@__PURE__*/ S.suspend(() => S.Struct({ id: ListSettingsResultItemZonesSchemasResponseBufferingId, value: ListSettingsResultItemZonesSchemasResponseBufferingValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "ListSettingsResultItemZonesSchemasResponseBuffering", }) as any as S.Schema; export type ListSettingsResultItemZonesSchemasRocketLoaderId = "rocket_loader"; export const ListSettingsResultItemZonesSchemasRocketLoaderId = /*@__PURE__*/ S.String; export type ListSettingsResultItemZonesSchemasRocketLoaderValue = "on" | "off"; export const ListSettingsResultItemZonesSchemasRocketLoaderValue = /*@__PURE__*/ S.String; export interface ListSettingsResultItemZonesSchemasRocketLoader { /** ID of the zone setting. */ id: ListSettingsResultItemZonesSchemasRocketLoaderId; /** Current value of the zone setting. */ value: ListSettingsResultItemZonesSchemasRocketLoaderValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const ListSettingsResultItemZonesSchemasRocketLoader = /*@__PURE__*/ S.suspend(() => S.Struct({ id: ListSettingsResultItemZonesSchemasRocketLoaderId, value: ListSettingsResultItemZonesSchemasRocketLoaderValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "ListSettingsResultItemZonesSchemasRocketLoader", }) as any as S.Schema; export type ListSettingsResultItemZonesSchemasAutomaticPlatformOptimizationId = "automatic_platform_optimization"; export const ListSettingsResultItemZonesSchemasAutomaticPlatformOptimizationId = /*@__PURE__*/ S.String; export type ListSettingsResultItemZonesSchemasAutomaticPlatformOptimizationValueHostnamesList = Array; export const ListSettingsResultItemZonesSchemasAutomaticPlatformOptimizationValueHostnamesList = /*@__PURE__*/ S.Array( S.String, ) as any as S.Schema; export interface ListSettingsResultItemZonesSchemasAutomaticPlatformOptimizationValue { /** Indicates whether or not [cache by device type](https://developers.cloudflare.com/automatic-platform-optimization/reference/cache-device-type/) is enabled. */ cacheByDeviceType: boolean; /** Indicates whether or not Cloudflare proxy is enabled. */ cf: boolean; /** Indicates whether or not Automatic Platform Optimization is enabled. */ enabled: boolean; /** An array of hostnames where Automatic Platform Optimization for WordPress is activated. */ hostnames: ListSettingsResultItemZonesSchemasAutomaticPlatformOptimizationValueHostnamesList; /** Indicates whether or not site is powered by WordPress. */ wordpress: boolean; /** Indicates whether or not [Cloudflare for WordPress plugin](https://wordpress.org/plugins/cloudflare/) is installed. */ wpPlugin: boolean; } export const ListSettingsResultItemZonesSchemasAutomaticPlatformOptimizationValue = /*@__PURE__*/ S.suspend(() => S.Struct({ cacheByDeviceType: S.Boolean.pipe(T.Body("cache_by_device_type")), cf: S.Boolean, enabled: S.Boolean, hostnames: ListSettingsResultItemZonesSchemasAutomaticPlatformOptimizationValueHostnamesList, wordpress: S.Boolean, wpPlugin: S.Boolean.pipe(T.Body("wp_plugin")), }), ).annotate({ identifier: "ListSettingsResultItemZonesSchemasAutomaticPlatformOptimizationValue", }) as any as S.Schema; export interface ListSettingsResultItemZonesSchemasAutomaticPlatformOptimization { /** ID of the zone setting. */ id: ListSettingsResultItemZonesSchemasAutomaticPlatformOptimizationId; /** Current value of the zone setting. */ value: ListSettingsResultItemZonesSchemasAutomaticPlatformOptimizationValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const ListSettingsResultItemZonesSchemasAutomaticPlatformOptimization = /*@__PURE__*/ S.suspend(() => S.Struct({ id: ListSettingsResultItemZonesSchemasAutomaticPlatformOptimizationId, value: ListSettingsResultItemZonesSchemasAutomaticPlatformOptimizationValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "ListSettingsResultItemZonesSchemasAutomaticPlatformOptimization", }) as any as S.Schema; export type ListSettingsResultItemZonesSearchForAgentsId = "search_for_agents"; export const ListSettingsResultItemZonesSearchForAgentsId = /*@__PURE__*/ S.String; export type ListSettingsResultItemZonesSearchForAgentsValue = "off" | "on"; export const ListSettingsResultItemZonesSearchForAgentsValue = /*@__PURE__*/ S.String; export interface ListSettingsResultItemZonesSearchForAgents { /** ID of the zone setting. */ id: ListSettingsResultItemZonesSearchForAgentsId; /** Current value of the zone setting. */ value: ListSettingsResultItemZonesSearchForAgentsValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const ListSettingsResultItemZonesSearchForAgents = /*@__PURE__*/ S.suspend(() => S.Struct({ id: ListSettingsResultItemZonesSearchForAgentsId, value: ListSettingsResultItemZonesSearchForAgentsValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "ListSettingsResultItemZonesSearchForAgents", }) as any as S.Schema; export type ListSettingsResultItemSecurityHeadersId = "security_header"; export const ListSettingsResultItemSecurityHeadersId = /*@__PURE__*/ S.String; export type ListSettingsResultItemSecurityHeadersValueStrictTransportSecurity = SettingsGetResultSecurityHeadersValueStrictTransportSecurity; export const ListSettingsResultItemSecurityHeadersValueStrictTransportSecurity = SettingsGetResultSecurityHeadersValueStrictTransportSecurity; export type ListSettingsResultItemSecurityHeadersValue = SettingsGetResultSecurityHeadersValue; export const ListSettingsResultItemSecurityHeadersValue = SettingsGetResultSecurityHeadersValue; export interface ListSettingsResultItemSecurityHeaders { /** ID of the zone's security header. */ id: ListSettingsResultItemSecurityHeadersId; /** Current value of the zone setting. */ value: SettingsGetResultSecurityHeadersValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const ListSettingsResultItemSecurityHeaders = /*@__PURE__*/ S.suspend( () => S.Struct({ id: ListSettingsResultItemSecurityHeadersId, value: SettingsGetResultSecurityHeadersValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "ListSettingsResultItemSecurityHeaders", }) as any as S.Schema; export type ListSettingsResultItemZonesSchemasSecurityLevelId = "security_level"; export const ListSettingsResultItemZonesSchemasSecurityLevelId = /*@__PURE__*/ S.String; export type ListSettingsResultItemZonesSchemasSecurityLevelValue = | "off" | "essentially_off" | "low" | "medium" | "high" | "under_attack"; export const ListSettingsResultItemZonesSchemasSecurityLevelValue = /*@__PURE__*/ S.String; export interface ListSettingsResultItemZonesSchemasSecurityLevel { /** ID of the zone setting. */ id: ListSettingsResultItemZonesSchemasSecurityLevelId; /** Current value of the zone setting. */ value: ListSettingsResultItemZonesSchemasSecurityLevelValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const ListSettingsResultItemZonesSchemasSecurityLevel = /*@__PURE__*/ S.suspend(() => S.Struct({ id: ListSettingsResultItemZonesSchemasSecurityLevelId, value: ListSettingsResultItemZonesSchemasSecurityLevelValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "ListSettingsResultItemZonesSchemasSecurityLevel", }) as any as S.Schema; export type ListSettingsResultItemServerSideExcludesId = "server_side_exclude"; export const ListSettingsResultItemServerSideExcludesId = /*@__PURE__*/ S.String; export type ListSettingsResultItemServerSideExcludesValue = "on" | "off"; export const ListSettingsResultItemServerSideExcludesValue = /*@__PURE__*/ S.String; export interface ListSettingsResultItemServerSideExcludes { /** ID of the zone setting. */ id: ListSettingsResultItemServerSideExcludesId; /** Current value of the zone setting. */ value: ListSettingsResultItemServerSideExcludesValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const ListSettingsResultItemServerSideExcludes = /*@__PURE__*/ S.suspend( () => S.Struct({ id: ListSettingsResultItemServerSideExcludesId, value: ListSettingsResultItemServerSideExcludesValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "ListSettingsResultItemServerSideExcludes", }) as any as S.Schema; export type ListSettingsResultItemZonesSha1SupportId = "sha1_support"; export const ListSettingsResultItemZonesSha1SupportId = /*@__PURE__*/ S.String; export type ListSettingsResultItemZonesSha1SupportValue = "off" | "on"; export const ListSettingsResultItemZonesSha1SupportValue = /*@__PURE__*/ S.String; export interface ListSettingsResultItemZonesSha1Support { /** Zone setting identifier. */ id: ListSettingsResultItemZonesSha1SupportId; /** Current value of the zone setting. */ value: ListSettingsResultItemZonesSha1SupportValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const ListSettingsResultItemZonesSha1Support = /*@__PURE__*/ S.suspend( () => S.Struct({ id: ListSettingsResultItemZonesSha1SupportId, value: ListSettingsResultItemZonesSha1SupportValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "ListSettingsResultItemZonesSha1Support", }) as any as S.Schema; export type ListSettingsResultItemZonesSchemasSortQueryStringForCacheId = "sort_query_string_for_cache"; export const ListSettingsResultItemZonesSchemasSortQueryStringForCacheId = /*@__PURE__*/ S.String; export type ListSettingsResultItemZonesSchemasSortQueryStringForCacheValue = | "on" | "off"; export const ListSettingsResultItemZonesSchemasSortQueryStringForCacheValue = /*@__PURE__*/ S.String; export interface ListSettingsResultItemZonesSchemasSortQueryStringForCache { /** ID of the zone setting. */ id: ListSettingsResultItemZonesSchemasSortQueryStringForCacheId; /** Current value of the zone setting. */ value: ListSettingsResultItemZonesSchemasSortQueryStringForCacheValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const ListSettingsResultItemZonesSchemasSortQueryStringForCache = /*@__PURE__*/ S.suspend(() => S.Struct({ id: ListSettingsResultItemZonesSchemasSortQueryStringForCacheId, value: ListSettingsResultItemZonesSchemasSortQueryStringForCacheValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "ListSettingsResultItemZonesSchemasSortQueryStringForCache", }) as any as S.Schema; export type ListSettingsResultItemZonesSchemasSSLId = "ssl"; export const ListSettingsResultItemZonesSchemasSSLId = /*@__PURE__*/ S.String; export type ListSettingsResultItemZonesSchemasSSLValue = | "off" | "flexible" | "full" | "strict"; export const ListSettingsResultItemZonesSchemasSSLValue = /*@__PURE__*/ S.String; export interface ListSettingsResultItemZonesSchemasSSL { /** ID of the zone setting. */ id: ListSettingsResultItemZonesSchemasSSLId; /** Current value of the zone setting. */ value: ListSettingsResultItemZonesSchemasSSLValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const ListSettingsResultItemZonesSchemasSSL = /*@__PURE__*/ S.suspend( () => S.Struct({ id: ListSettingsResultItemZonesSchemasSSLId, value: ListSettingsResultItemZonesSchemasSSLValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "ListSettingsResultItemZonesSchemasSSL", }) as any as S.Schema; export type ListSettingsResultItemSSLRecommenderId = "ssl_recommender"; export const ListSettingsResultItemSSLRecommenderId = /*@__PURE__*/ S.String; export interface ListSettingsResultItemSSLRecommender { /** Enrollment value for SSL/TLS Recommender. */ id?: ListSettingsResultItemSSLRecommenderId | null; /** ssl-recommender enrollment setting. */ enabled?: boolean | null; } export const ListSettingsResultItemSSLRecommender = /*@__PURE__*/ S.suspend( () => S.Struct({ id: S.optional(S.NullOr(ListSettingsResultItemSSLRecommenderId)), enabled: S.optional(S.NullOr(S.Boolean)), }), ).annotate({ identifier: "ListSettingsResultItemSSLRecommender", }) as any as S.Schema; export type ListSettingsResultItemZonesTLS12OnlyId = "tls_1_2_only"; export const ListSettingsResultItemZonesTLS12OnlyId = /*@__PURE__*/ S.String; export type ListSettingsResultItemZonesTLS12OnlyValue = "off" | "on"; export const ListSettingsResultItemZonesTLS12OnlyValue = /*@__PURE__*/ S.String; export interface ListSettingsResultItemZonesTLS12Only { /** Zone setting identifier. */ id: ListSettingsResultItemZonesTLS12OnlyId; /** Current value of the zone setting. */ value: ListSettingsResultItemZonesTLS12OnlyValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const ListSettingsResultItemZonesTLS12Only = /*@__PURE__*/ S.suspend( () => S.Struct({ id: ListSettingsResultItemZonesTLS12OnlyId, value: ListSettingsResultItemZonesTLS12OnlyValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "ListSettingsResultItemZonesTLS12Only", }) as any as S.Schema; export type ListSettingsResultItemTLS13Id = "tls_1_3"; export const ListSettingsResultItemTLS13Id = /*@__PURE__*/ S.String; export type ListSettingsResultItemTLS13Value = "on" | "off" | "zrt"; export const ListSettingsResultItemTLS13Value = /*@__PURE__*/ S.String; export interface ListSettingsResultItemTLS13 { /** ID of the zone setting. */ id: ListSettingsResultItemTLS13Id; /** Current value of the zone setting. */ value: ListSettingsResultItemTLS13Value; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const ListSettingsResultItemTLS13 = /*@__PURE__*/ S.suspend(() => S.Struct({ id: ListSettingsResultItemTLS13Id, value: ListSettingsResultItemTLS13Value, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "ListSettingsResultItemTLS13", }) as any as S.Schema; export type ListSettingsResultItemTLSClientAuthId = "tls_client_auth"; export const ListSettingsResultItemTLSClientAuthId = /*@__PURE__*/ S.String; export type ListSettingsResultItemTLSClientAuthValue = "on" | "off"; export const ListSettingsResultItemTLSClientAuthValue = /*@__PURE__*/ S.String; export interface ListSettingsResultItemTLSClientAuth { /** ID of the zone setting. */ id: ListSettingsResultItemTLSClientAuthId; /** Current value of the zone setting. */ value: ListSettingsResultItemTLSClientAuthValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const ListSettingsResultItemTLSClientAuth = /*@__PURE__*/ S.suspend(() => S.Struct({ id: ListSettingsResultItemTLSClientAuthId, value: ListSettingsResultItemTLSClientAuthValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "ListSettingsResultItemTLSClientAuth", }) as any as S.Schema; export type ListSettingsResultItemZonesTransformationsId = "transformations"; export const ListSettingsResultItemZonesTransformationsId = /*@__PURE__*/ S.String; export type ListSettingsResultItemZonesTransformationsValue = | "on" | "off" | "open"; export const ListSettingsResultItemZonesTransformationsValue = /*@__PURE__*/ S.String; export interface ListSettingsResultItemZonesTransformations { /** ID of the zone setting. Shared between Image Transformations and Video Transformations. */ id: ListSettingsResultItemZonesTransformationsId; /** Current value of the zone setting. */ value: ListSettingsResultItemZonesTransformationsValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const ListSettingsResultItemZonesTransformations = /*@__PURE__*/ S.suspend(() => S.Struct({ id: ListSettingsResultItemZonesTransformationsId, value: ListSettingsResultItemZonesTransformationsValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "ListSettingsResultItemZonesTransformations", }) as any as S.Schema; export type ListSettingsResultItemZonesTransformationsAllowedOriginsId = "transformations_allowed_origins"; export const ListSettingsResultItemZonesTransformationsAllowedOriginsId = /*@__PURE__*/ S.String; export interface ListSettingsResultItemZonesTransformationsAllowedOrigins { /** ID of the zone setting. Shared between Image Transformations and Video Transformations. */ id: ListSettingsResultItemZonesTransformationsAllowedOriginsId; /** Current value of the zone setting. */ value: string; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const ListSettingsResultItemZonesTransformationsAllowedOrigins = /*@__PURE__*/ S.suspend(() => S.Struct({ id: ListSettingsResultItemZonesTransformationsAllowedOriginsId, value: S.String, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "ListSettingsResultItemZonesTransformationsAllowedOrigins", }) as any as S.Schema; export type ListSettingsResultItemZonesSchemasTrueClientIPHeaderId = "true_client_ip_header"; export const ListSettingsResultItemZonesSchemasTrueClientIPHeaderId = /*@__PURE__*/ S.String; export type ListSettingsResultItemZonesSchemasTrueClientIPHeaderValue = | "on" | "off"; export const ListSettingsResultItemZonesSchemasTrueClientIPHeaderValue = /*@__PURE__*/ S.String; export interface ListSettingsResultItemZonesSchemasTrueClientIPHeader { /** ID of the zone setting. */ id: ListSettingsResultItemZonesSchemasTrueClientIPHeaderId; /** Current value of the zone setting. */ value: ListSettingsResultItemZonesSchemasTrueClientIPHeaderValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const ListSettingsResultItemZonesSchemasTrueClientIPHeader = /*@__PURE__*/ S.suspend(() => S.Struct({ id: ListSettingsResultItemZonesSchemasTrueClientIPHeaderId, value: ListSettingsResultItemZonesSchemasTrueClientIPHeaderValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "ListSettingsResultItemZonesSchemasTrueClientIPHeader", }) as any as S.Schema; export type ListSettingsResultItemZonesSchemasWAFId = "waf"; export const ListSettingsResultItemZonesSchemasWAFId = /*@__PURE__*/ S.String; export type ListSettingsResultItemZonesSchemasWAFValue = "on" | "off"; export const ListSettingsResultItemZonesSchemasWAFValue = /*@__PURE__*/ S.String; export interface ListSettingsResultItemZonesSchemasWAF { /** ID of the zone setting. */ id: ListSettingsResultItemZonesSchemasWAFId; /** Current value of the zone setting. */ value: ListSettingsResultItemZonesSchemasWAFValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const ListSettingsResultItemZonesSchemasWAF = /*@__PURE__*/ S.suspend( () => S.Struct({ id: ListSettingsResultItemZonesSchemasWAFId, value: ListSettingsResultItemZonesSchemasWAFValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "ListSettingsResultItemZonesSchemasWAF", }) as any as S.Schema; export type ListSettingsResultItemWebPId = "webp"; export const ListSettingsResultItemWebPId = /*@__PURE__*/ S.String; export type ListSettingsResultItemWebPValue = "off" | "on"; export const ListSettingsResultItemWebPValue = /*@__PURE__*/ S.String; export interface ListSettingsResultItemWebP { /** ID of the zone setting. */ id: ListSettingsResultItemWebPId; /** Current value of the zone setting. */ value: ListSettingsResultItemWebPValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const ListSettingsResultItemWebP = /*@__PURE__*/ S.suspend(() => S.Struct({ id: ListSettingsResultItemWebPId, value: ListSettingsResultItemWebPValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "ListSettingsResultItemWebP", }) as any as S.Schema; export type ListSettingsResultItemWebsocketId = "websockets"; export const ListSettingsResultItemWebsocketId = /*@__PURE__*/ S.String; export type ListSettingsResultItemWebsocketValue = "off" | "on"; export const ListSettingsResultItemWebsocketValue = /*@__PURE__*/ S.String; export interface ListSettingsResultItemWebsocket { /** ID of the zone setting. */ id: ListSettingsResultItemWebsocketId; /** Current value of the zone setting. */ value: ListSettingsResultItemWebsocketValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const ListSettingsResultItemWebsocket = /*@__PURE__*/ S.suspend(() => S.Struct({ id: ListSettingsResultItemWebsocketId, value: ListSettingsResultItemWebsocketValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "ListSettingsResultItemWebsocket", }) as any as S.Schema; export type ListSettingsResultItem = | ListSettingsResultItemZeroRTT | ListSettingsResultItemAdvancedDDoS | ListSettingsResultItemZonesCacheRulesAegis | ListSettingsResultItemAlwaysOnline | ListSettingsResultItemZonesSchemasAlwaysUseHTTPS | ListSettingsResultItemZonesSchemasAutomaticHTTPSRewrites | ListSettingsResultItemBrotli | ListSettingsResultItemZonesSchemasBrowserCacheTTL | ListSettingsResultItemZonesSchemasBrowserCheck | ListSettingsResultItemZonesSchemasCacheLevel | ListSettingsResultItemChallengeTTL | ListSettingsResultItemCiphers | ListSettingsResultItemZonesContentConverter | ListSettingsResultItemZonesCNAMEFlattening | ListSettingsResultItemDevelopmentMode | ListSettingsResultItemEarlyHints | ListSettingsResultItemZonesSchemasEdgeCacheTTL | ListSettingsResultItemZonesSchemasEmailObfuscation | ListSettingsResultItemH2Prioritization | ListSettingsResultItemHotlinkProtection | ListSettingsResultItemHTTP2 | ListSettingsResultItemHTTP3 | ListSettingsResultItemImageResizing | ListSettingsResultItemZonesSchemasIPGeolocation | ListSettingsResultItemIPV6 | ListSettingsResultItemZonesMaxUpload | ListSettingsResultItemMinTLSVersion | ListSettingsResultItemZonesSchemasMirage | ListSettingsResultItemNEL | ListSettingsResultItemZonesSchemasOpportunisticEncryption | ListSettingsResultItemOpportunisticOnion | ListSettingsResultItemOrangeToOrange | ListSettingsResultItemZonesSchemasOriginErrorPagePassThru | ListSettingsResultItemZonesCacheRulesOriginH2MaxStreams | ListSettingsResultItemZonesCacheRulesOriginMaxHTTPVersion | ListSettingsResultItemZonesSchemasPolish | ListSettingsResultItemPrefetchPreload | ListSettingsResultItemZonesPrivacyPass | ListSettingsResultItemProxyReadTimeout | ListSettingsResultItemPseudoIPV4 | ListSettingsResultItemZonesRedirectsForAITraining | ListSettingsResultItemZonesReplaceInsecureJS | ListSettingsResultItemZonesSchemasResponseBuffering | ListSettingsResultItemZonesSchemasRocketLoader | ListSettingsResultItemZonesSchemasAutomaticPlatformOptimization | ListSettingsResultItemZonesSearchForAgents | ListSettingsResultItemSecurityHeaders | ListSettingsResultItemZonesSchemasSecurityLevel | ListSettingsResultItemServerSideExcludes | ListSettingsResultItemZonesSha1Support | ListSettingsResultItemZonesSchemasSortQueryStringForCache | ListSettingsResultItemZonesSchemasSSL | ListSettingsResultItemSSLRecommender | ListSettingsResultItemZonesTLS12Only | ListSettingsResultItemTLS13 | ListSettingsResultItemTLSClientAuth | ListSettingsResultItemZonesTransformations | ListSettingsResultItemZonesTransformationsAllowedOrigins | ListSettingsResultItemZonesSchemasTrueClientIPHeader | ListSettingsResultItemZonesSchemasWAF | ListSettingsResultItemWebP | ListSettingsResultItemWebsocket; export const ListSettingsResultItem = /*@__PURE__*/ S.Unknown.pipe( T.UnionCases([ ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "modifiedOn", "value"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn", "timeRemaining"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "modifiedOn", "value"], ["id", "modifiedOn", "value"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "enabled"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ]), ); export type ListSettingsResultList = Array; export const ListSettingsResultList = /*@__PURE__*/ S.Array( ListSettingsResultItem, ) as any as S.Schema; export type ListSettingsResponse = ListSettingsResultList; export const ListSettingsResponse = /*@__PURE__*/ S.suspend(() => ListSettingsResultList.pipe( T.EnvelopePayloadRoot(), T.KeyDictionary(KEY_DICTIONARY), ), ).annotate({ identifier: "ListSettingsResponse", }) as any as S.Schema; export interface ListRequestAccount { /** Filter by an account ID. */ id?: string; /** An account Name. Optional filter operators can be provided to extend refine the search: */ name?: string; } export const ListRequestAccount = /*@__PURE__*/ S.suspend(() => S.Struct({ id: S.optional(S.String), name: S.optional(S.String), }), ).annotate({ identifier: "ListRequestAccount", }) as any as S.Schema; export type ListRequestDirection = "asc" | "desc"; export const ListRequestDirection = /*@__PURE__*/ S.String; export type ListRequestMatch = "any" | "all"; export const ListRequestMatch = /*@__PURE__*/ S.String; export type ListRequestOrder = | "name" | "status" | "account.id" | "account.name" | "plan.id"; export const ListRequestOrder = /*@__PURE__*/ S.String; export type ListRequestStatus = "initializing" | "pending" | "active" | "moved"; export const ListRequestStatus = /*@__PURE__*/ S.String; export type ListRequestType = "full" | "partial" | "secondary" | "internal"; export const ListRequestType = /*@__PURE__*/ S.String; export type ListRequestTypeList = Array; export const ListRequestTypeList = /*@__PURE__*/ S.Array( ListRequestType, ) as any as S.Schema; export interface ListZonesRequest { account?: ListRequestAccount; /** Direction to order zones. */ direction?: ListRequestDirection | (string & {}); /** Whether to match all search requirements or at least one (any). */ match?: ListRequestMatch | (string & {}); /** A domain name. Optional filter operators can be provided to extend refine the search: */ name?: string; /** Field to order zones by. */ order?: ListRequestOrder | (string & {}); /** Page number of paginated results. */ page?: number; /** Number of zones per page. */ perPage?: number; /** Specify a zone status to filter by. */ status?: ListRequestStatus | (string & {}); /** Zone types to filter by. Multiple types can be specified as a comma-separated list (e.g., ?type=full,partial,secondary). When this parameter is not provided, zones with type "internal" are excluded from the results. */ type?: ListRequestTypeList; } export const ListZonesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({ account: S.optional(ListRequestAccount.pipe(T.DeepQuery("account"))), direction: S.optional(ListRequestDirection.pipe(T.Query())), match: S.optional(ListRequestMatch.pipe(T.Query())), name: S.optional(S.String.pipe(T.Query())), order: S.optional(ListRequestOrder.pipe(T.Query())), page: S.optional(S.Number.pipe(T.Query())), perPage: S.optional(S.Number.pipe(T.Query("per_page"))), status: S.optional(ListRequestStatus.pipe(T.Query())), type: S.optional(ListRequestTypeList.pipe(T.Query())), }) .pipe(T.Http({ method: "GET", uri: "/zones", code: 200 })) .pipe(T.KeyDictionary(KEY_DICTIONARY)), ).annotate({ identifier: "ListZonesRequest", }) as any as S.Schema; export type ListResultItemAccount = CreateResponseAccount; export const ListResultItemAccount = CreateResponseAccount; export type ListResultItemMeta = CreateResponseMeta; export const ListResultItemMeta = CreateResponseMeta; export type ListResultItemNameServersList = Array; export const ListResultItemNameServersList = /*@__PURE__*/ S.Array( S.String, ) as any as S.Schema; export type ListResultItemOriginalNameServersList = Array; export const ListResultItemOriginalNameServersList = /*@__PURE__*/ S.Array( S.String, ) as any as S.Schema; export type ListResultItemOwner = CreateResponseOwner; export const ListResultItemOwner = CreateResponseOwner; export type ListResultItemPlan = CreateResponsePlan; export const ListResultItemPlan = CreateResponsePlan; export type ListResultItemPermissionsList = Array; export const ListResultItemPermissionsList = /*@__PURE__*/ S.Array( S.String, ) as any as S.Schema; export type ListResultItemStatus = | "initializing" | "pending" | "active" | "moved"; export const ListResultItemStatus = /*@__PURE__*/ S.String; export type ListResultItemTenant = CreateResponseTenant; export const ListResultItemTenant = CreateResponseTenant; export type ListResultItemTenantUnit = CreateResponseTenantUnit; export const ListResultItemTenantUnit = CreateResponseTenantUnit; export type ListResultItemType = "full" | "partial" | "secondary" | "internal"; export const ListResultItemType = /*@__PURE__*/ S.String; export type ListResultItemVanityNameServersList = Array; export const ListResultItemVanityNameServersList = /*@__PURE__*/ S.Array( S.String, ) as any as S.Schema; export interface ListResultItem { /** Identifier */ id: string; /** The account the zone belongs to. */ account: CreateResponseAccount; /** The last time proof of ownership was detected and the zone was made */ activatedOn: string; /** When the zone was created. */ createdOn: string; /** The interval (in seconds) from when development mode expires */ developmentMode: number; /** Metadata about the zone. */ meta: CreateResponseMeta; /** When the zone was last modified. */ modifiedOn: string; /** The domain name. Per [RFC 1035](https://datatracker.ietf.org/doc/html/rfc1035#section-2.3.4) the overall zone name can be up to 253 characters, with each segment ("label") not exceeding 63 characters. */ name: string; /** The name servers Cloudflare assigns to a zone. */ nameServers: ListResultItemNameServersList; /** DNS host at the time of switching to Cloudflare. */ originalDnshost: string; /** Original name servers before moving to Cloudflare. */ originalNameServers: ListResultItemOriginalNameServersList; /** Registrar for the domain at the time of switching to Cloudflare. */ originalRegistrar: string; /** The owner of the zone. */ owner: CreateResponseOwner; /** A Zones subscription information. */ plan: CreateResponsePlan; /** Allows the customer to use a custom apex. */ cnameSuffix?: string | null; /** Indicates whether the zone is only using Cloudflare DNS services. A */ paused?: boolean | null; /** Legacy permissions based on legacy user membership information. */ permissions?: ListResultItemPermissionsList | null; /** The zone status on Cloudflare. */ status?: ListResultItemStatus | null; /** The root organizational unit that this zone belongs to (such as a tenant or organization). */ tenant?: CreateResponseTenant | null; /** The immediate parent organizational unit that this zone belongs to (such as under a tenant or sub-organization). */ tenantUnit?: CreateResponseTenantUnit | null; /** A full zone implies that DNS is hosted with Cloudflare. A partial zone is */ type?: ListResultItemType | null; /** An array of domains used for custom name servers. This is only available for Business and Enterprise plans. */ vanityNameServers?: ListResultItemVanityNameServersList | null; /** Verification key for partial zone setup. */ verificationKey?: string | null; } export const ListResultItem = /*@__PURE__*/ S.suspend(() => S.Struct({ id: S.String, account: CreateResponseAccount, activatedOn: S.String.pipe(T.Body("activated_on")), createdOn: S.String.pipe(T.Body("created_on")), developmentMode: S.Number.pipe(T.Body("development_mode")), meta: CreateResponseMeta, modifiedOn: S.String.pipe(T.Body("modified_on")), name: S.String, nameServers: ListResultItemNameServersList.pipe(T.Body("name_servers")), originalDnshost: S.String.pipe(T.Body("original_dnshost")), originalNameServers: ListResultItemOriginalNameServersList.pipe( T.Body("original_name_servers"), ), originalRegistrar: S.String.pipe(T.Body("original_registrar")), owner: CreateResponseOwner, plan: CreateResponsePlan, cnameSuffix: S.optional(S.NullOr(S.String).pipe(T.Body("cname_suffix"))), paused: S.optional(S.NullOr(S.Boolean)), permissions: S.optional(S.NullOr(ListResultItemPermissionsList)), status: S.optional(S.NullOr(ListResultItemStatus)), tenant: S.optional(S.NullOr(CreateResponseTenant)), tenantUnit: S.optional( S.NullOr(CreateResponseTenantUnit).pipe(T.Body("tenant_unit")), ), type: S.optional(S.NullOr(ListResultItemType)), vanityNameServers: S.optional( S.NullOr(ListResultItemVanityNameServersList).pipe( T.Body("vanity_name_servers"), ), ), verificationKey: S.optional( S.NullOr(S.String).pipe(T.Body("verification_key")), ), }), ).annotate({ identifier: "ListResultItem" }) as any as S.Schema; export type ListResultList = Array; export const ListResultList = /*@__PURE__*/ S.Array( ListResultItem, ) as any as S.Schema; export interface ListZonesResponse { /** The unwrapped `result` payload of the v4 response envelope. */ result: ListResultList; /** Pagination info from the envelope's `result_info`. */ resultInfo?: ResultInfo | null; } export const ListZonesResponse = /*@__PURE__*/ S.suspend(() => S.Struct({ result: ListResultList.pipe(T.EnvelopePayload()), resultInfo: S.optional(S.NullOr(ResultInfo).pipe(T.ResultInfo())), }).pipe(T.KeyDictionary(KEY_DICTIONARY)), ).annotate({ identifier: "ListZonesResponse", }) as any as S.Schema; export type CtAlertingEditRequestEmailsList = Array; export const CtAlertingEditRequestEmailsList = /*@__PURE__*/ S.Array( S.String, ) as any as S.Schema; export interface PatchCtAlertingRequest { /** Identifier. */ zoneId: string; /** Whether CT alerting is enabled for the zone. */ enabled: boolean; /** Email addresses that receive CT alert notifications. Only present and configurable for Business and Enterprise zones. Maximum of 10 addresses. For Free and Pro zones, notifications are sent to all users with SSL permissions on the zone. */ emails?: CtAlertingEditRequestEmailsList; } export const PatchCtAlertingRequest = /*@__PURE__*/ S.suspend(() => S.Struct({ zoneId: S.String.pipe(T.Label("zone_id")), enabled: S.Boolean, emails: S.optional(CtAlertingEditRequestEmailsList), }) .pipe( T.Http({ method: "PATCH", uri: "/zones/{zone_id}/ct/alerting", code: 200, }), ) .pipe(T.KeyDictionary(KEY_DICTIONARY)), ).annotate({ identifier: "PatchCtAlertingRequest", }) as any as S.Schema; export type CtAlertingEditResponseEmailsList = Array; export const CtAlertingEditResponseEmailsList = /*@__PURE__*/ S.Array( S.String, ) as any as S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface PatchCtAlertingResponse { /** Whether CT alerting is enabled for the zone. */ enabled: boolean; /** Email addresses that receive CT alert notifications. Only present and configurable for Business and Enterprise zones. Maximum of 10 addresses. For Free and Pro zones, notifications are sent to all users with SSL permissions on the zone. */ emails?: CtAlertingEditResponseEmailsList | null; } export const PatchCtAlertingResponse = /*@__PURE__*/ S.suspend(() => S.Struct({ enabled: S.Boolean, emails: S.optional(S.NullOr(CtAlertingEditResponseEmailsList)), }).pipe(T.KeyDictionary(KEY_DICTIONARY)), ).annotate({ identifier: "PatchCtAlertingResponse", }) as any as S.Schema; export type EnvironmentsEditRequestEnvironmentsItemPosition = EnvironmentsCreateRequestEnvironmentsItemPosition; export const EnvironmentsEditRequestEnvironmentsItemPosition = EnvironmentsCreateRequestEnvironmentsItemPosition; export type EnvironmentsEditRequestEnvironmentsItem = EnvironmentsCreateRequestEnvironmentsItem; export const EnvironmentsEditRequestEnvironmentsItem = EnvironmentsCreateRequestEnvironmentsItem; export type EnvironmentsEditRequestEnvironmentsList = Array; export const EnvironmentsEditRequestEnvironmentsList = /*@__PURE__*/ S.Array( EnvironmentsCreateRequestEnvironmentsItem, ) as any as S.Schema; export interface PatchEnvironmentRequest { zoneId: string; environments: EnvironmentsEditRequestEnvironmentsList; } export const PatchEnvironmentRequest = /*@__PURE__*/ S.suspend(() => S.Struct({ zoneId: S.String.pipe(T.Label("zone_id")), environments: EnvironmentsEditRequestEnvironmentsList, }) .pipe( T.Http({ method: "PATCH", uri: "/zones/{zone_id}/environments", code: 200, }), ) .pipe(T.KeyDictionary(KEY_DICTIONARY)), ).annotate({ identifier: "PatchEnvironmentRequest", }) as any as S.Schema; export type EnvironmentsEditResponseEnvironmentsItemPosition = EnvironmentsCreateResponseEnvironmentsItemPosition; export const EnvironmentsEditResponseEnvironmentsItemPosition = EnvironmentsCreateResponseEnvironmentsItemPosition; export type EnvironmentsEditResponseEnvironmentsItem = EnvironmentsCreateResponseEnvironmentsItem; export const EnvironmentsEditResponseEnvironmentsItem = EnvironmentsCreateResponseEnvironmentsItem; export type EnvironmentsEditResponseEnvironmentsList = Array; export const EnvironmentsEditResponseEnvironmentsList = /*@__PURE__*/ S.Array( EnvironmentsCreateResponseEnvironmentsItem, ) as any as S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface PatchEnvironmentResponse { environments: EnvironmentsEditResponseEnvironmentsList; } export const PatchEnvironmentResponse = /*@__PURE__*/ S.suspend(() => S.Struct({ environments: EnvironmentsEditResponseEnvironmentsList, }).pipe(T.KeyDictionary(KEY_DICTIONARY)), ).annotate({ identifier: "PatchEnvironmentResponse", }) as any as S.Schema; export interface PatchHoldRequest { /** Identifier. */ zoneId: string; /** If `hold_after` is provided and future-dated, the hold will be temporarily disabled, */ holdAfter?: string; /** If `true`, the zone hold will extend to block any subdomain of the given zone, as well */ includeSubdomains?: boolean; } export const PatchHoldRequest = /*@__PURE__*/ S.suspend(() => S.Struct({ zoneId: S.String.pipe(T.Label("zone_id")), holdAfter: S.optional(S.String.pipe(T.Body("hold_after"))), includeSubdomains: S.optional(S.Boolean.pipe(T.Body("include_subdomains"))), }) .pipe(T.Http({ method: "PATCH", uri: "/zones/{zone_id}/hold", code: 200 })) .pipe(T.KeyDictionary(KEY_DICTIONARY)), ).annotate({ identifier: "PatchHoldRequest", }) as any as S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface PatchHoldResponse { hold?: boolean | null; holdAfter?: string | null; includeSubdomains?: unknown | null; } export const PatchHoldResponse = /*@__PURE__*/ S.suspend(() => S.Struct({ hold: S.optional(S.NullOr(S.Boolean)), holdAfter: S.optional(S.NullOr(S.String).pipe(T.Body("hold_after"))), includeSubdomains: S.optional( S.NullOr(S.Unknown).pipe(T.Body("include_subdomains")), ), }).pipe(T.KeyDictionary(KEY_DICTIONARY)), ).annotate({ identifier: "PatchHoldResponse", }) as any as S.Schema; export interface PatchSettingRequest { /** Identifier */ zoneId: string; /** Setting name */ settingId: string; /** ssl-recommender enrollment setting. */ enabled?: boolean; /** Value of the zone setting. */ value?: unknown; } export const PatchSettingRequest = /*@__PURE__*/ S.suspend(() => S.Struct({ zoneId: S.String.pipe(T.Label("zone_id")), settingId: S.String.pipe(T.Label("setting_id")), enabled: S.optional(S.Boolean), value: S.optional(S.Unknown), }) .pipe( T.Http({ method: "PATCH", uri: "/zones/{zone_id}/settings/{setting_id}", code: 200, }), ) .pipe(T.KeyDictionary(KEY_DICTIONARY)), ).annotate({ identifier: "PatchSettingRequest", }) as any as S.Schema; export type SettingsEditResultZeroRTTId = "0rtt"; export const SettingsEditResultZeroRTTId = /*@__PURE__*/ S.String; export type SettingsEditResultZeroRTTValue = "on" | "off"; export const SettingsEditResultZeroRTTValue = /*@__PURE__*/ S.String; export interface SettingsEditResultZeroRTT { /** ID of the zone setting. */ id: SettingsEditResultZeroRTTId; /** Current value of the zone setting. */ value: SettingsEditResultZeroRTTValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsEditResultZeroRTT = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsEditResultZeroRTTId, value: SettingsEditResultZeroRTTValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsEditResultZeroRTT", }) as any as S.Schema; export type SettingsEditResultAdvancedDDoSId = "advanced_ddos"; export const SettingsEditResultAdvancedDDoSId = /*@__PURE__*/ S.String; export type SettingsEditResultAdvancedDDoSValue = "on" | "off"; export const SettingsEditResultAdvancedDDoSValue = /*@__PURE__*/ S.String; export interface SettingsEditResultAdvancedDDoS { /** ID of the zone setting. */ id: SettingsEditResultAdvancedDDoSId; /** Current value of the zone setting. */ value: SettingsEditResultAdvancedDDoSValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsEditResultAdvancedDDoS = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsEditResultAdvancedDDoSId, value: SettingsEditResultAdvancedDDoSValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsEditResultAdvancedDDoS", }) as any as S.Schema; export type SettingsEditResultZonesCacheRulesAegisId = "aegis"; export const SettingsEditResultZonesCacheRulesAegisId = /*@__PURE__*/ S.String; export type SettingsEditResultZonesCacheRulesAegisValue = SettingsGetResultZonesCacheRulesAegisValue; export const SettingsEditResultZonesCacheRulesAegisValue = SettingsGetResultZonesCacheRulesAegisValue; export interface SettingsEditResultZonesCacheRulesAegis { /** ID of the zone setting. */ id: SettingsEditResultZonesCacheRulesAegisId; /** Last time this setting was modified. */ modifiedOn?: string | null; /** Value of the zone setting. */ value?: SettingsGetResultZonesCacheRulesAegisValue | null; } export const SettingsEditResultZonesCacheRulesAegis = /*@__PURE__*/ S.suspend( () => S.Struct({ id: SettingsEditResultZonesCacheRulesAegisId, modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), value: S.optional(S.NullOr(SettingsGetResultZonesCacheRulesAegisValue)), }), ).annotate({ identifier: "SettingsEditResultZonesCacheRulesAegis", }) as any as S.Schema; export type SettingsEditResultAlwaysOnlineId = "always_online"; export const SettingsEditResultAlwaysOnlineId = /*@__PURE__*/ S.String; export type SettingsEditResultAlwaysOnlineValue = "on" | "off"; export const SettingsEditResultAlwaysOnlineValue = /*@__PURE__*/ S.String; export interface SettingsEditResultAlwaysOnline { /** ID of the zone setting. */ id: SettingsEditResultAlwaysOnlineId; /** Current value of the zone setting. */ value: SettingsEditResultAlwaysOnlineValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsEditResultAlwaysOnline = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsEditResultAlwaysOnlineId, value: SettingsEditResultAlwaysOnlineValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsEditResultAlwaysOnline", }) as any as S.Schema; export type SettingsEditResultZonesSchemasAlwaysUseHTTPSId = "always_use_https"; export const SettingsEditResultZonesSchemasAlwaysUseHTTPSId = /*@__PURE__*/ S.String; export type SettingsEditResultZonesSchemasAlwaysUseHTTPSValue = "on" | "off"; export const SettingsEditResultZonesSchemasAlwaysUseHTTPSValue = /*@__PURE__*/ S.String; export interface SettingsEditResultZonesSchemasAlwaysUseHTTPS { /** ID of the zone setting. */ id: SettingsEditResultZonesSchemasAlwaysUseHTTPSId; /** Current value of the zone setting. */ value: SettingsEditResultZonesSchemasAlwaysUseHTTPSValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsEditResultZonesSchemasAlwaysUseHTTPS = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsEditResultZonesSchemasAlwaysUseHTTPSId, value: SettingsEditResultZonesSchemasAlwaysUseHTTPSValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsEditResultZonesSchemasAlwaysUseHTTPS", }) as any as S.Schema; export type SettingsEditResultZonesSchemasAutomaticHTTPSRewritesId = "automatic_https_rewrites"; export const SettingsEditResultZonesSchemasAutomaticHTTPSRewritesId = /*@__PURE__*/ S.String; export type SettingsEditResultZonesSchemasAutomaticHTTPSRewritesValue = | "on" | "off"; export const SettingsEditResultZonesSchemasAutomaticHTTPSRewritesValue = /*@__PURE__*/ S.String; export interface SettingsEditResultZonesSchemasAutomaticHTTPSRewrites { /** ID of the zone setting. */ id: SettingsEditResultZonesSchemasAutomaticHTTPSRewritesId; /** Current value of the zone setting. */ value: SettingsEditResultZonesSchemasAutomaticHTTPSRewritesValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsEditResultZonesSchemasAutomaticHTTPSRewrites = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsEditResultZonesSchemasAutomaticHTTPSRewritesId, value: SettingsEditResultZonesSchemasAutomaticHTTPSRewritesValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsEditResultZonesSchemasAutomaticHTTPSRewrites", }) as any as S.Schema; export type SettingsEditResultBrotliId = "brotli"; export const SettingsEditResultBrotliId = /*@__PURE__*/ S.String; export type SettingsEditResultBrotliValue = "off" | "on"; export const SettingsEditResultBrotliValue = /*@__PURE__*/ S.String; export interface SettingsEditResultBrotli { /** ID of the zone setting. */ id: SettingsEditResultBrotliId; /** Current value of the zone setting. */ value: SettingsEditResultBrotliValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsEditResultBrotli = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsEditResultBrotliId, value: SettingsEditResultBrotliValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsEditResultBrotli", }) as any as S.Schema; export type SettingsEditResultZonesSchemasBrowserCacheTTLId = "browser_cache_ttl"; export const SettingsEditResultZonesSchemasBrowserCacheTTLId = /*@__PURE__*/ S.String; export interface SettingsEditResultZonesSchemasBrowserCacheTTL { /** ID of the zone setting. */ id: SettingsEditResultZonesSchemasBrowserCacheTTLId; /** Current value of the zone setting. */ value: number; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsEditResultZonesSchemasBrowserCacheTTL = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsEditResultZonesSchemasBrowserCacheTTLId, value: S.Number, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsEditResultZonesSchemasBrowserCacheTTL", }) as any as S.Schema; export type SettingsEditResultZonesSchemasBrowserCheckId = "browser_check"; export const SettingsEditResultZonesSchemasBrowserCheckId = /*@__PURE__*/ S.String; export type SettingsEditResultZonesSchemasBrowserCheckValue = "on" | "off"; export const SettingsEditResultZonesSchemasBrowserCheckValue = /*@__PURE__*/ S.String; export interface SettingsEditResultZonesSchemasBrowserCheck { /** ID of the zone setting. */ id: SettingsEditResultZonesSchemasBrowserCheckId; /** Current value of the zone setting. */ value: SettingsEditResultZonesSchemasBrowserCheckValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsEditResultZonesSchemasBrowserCheck = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsEditResultZonesSchemasBrowserCheckId, value: SettingsEditResultZonesSchemasBrowserCheckValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsEditResultZonesSchemasBrowserCheck", }) as any as S.Schema; export type SettingsEditResultZonesSchemasCacheLevelId = "cache_level"; export const SettingsEditResultZonesSchemasCacheLevelId = /*@__PURE__*/ S.String; export type SettingsEditResultZonesSchemasCacheLevelValue = | "aggressive" | "basic" | "simplified"; export const SettingsEditResultZonesSchemasCacheLevelValue = /*@__PURE__*/ S.String; export interface SettingsEditResultZonesSchemasCacheLevel { /** ID of the zone setting. */ id: SettingsEditResultZonesSchemasCacheLevelId; /** Current value of the zone setting. */ value: SettingsEditResultZonesSchemasCacheLevelValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsEditResultZonesSchemasCacheLevel = /*@__PURE__*/ S.suspend( () => S.Struct({ id: SettingsEditResultZonesSchemasCacheLevelId, value: SettingsEditResultZonesSchemasCacheLevelValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsEditResultZonesSchemasCacheLevel", }) as any as S.Schema; export type SettingsEditResultChallengeTTLId = "challenge_ttl"; export const SettingsEditResultChallengeTTLId = /*@__PURE__*/ S.String; export type SettingsEditResultChallengeTTLValue = | 300 | 900 | 1800 | 2700 | 3600 | 7200 | 10800 | 14400 | 28800 | 57600 | 86400 | 604800 | 2592000 | 31536000; export const SettingsEditResultChallengeTTLValue = /*@__PURE__*/ S.Number; export interface SettingsEditResultChallengeTTL { /** ID of the zone setting. */ id: SettingsEditResultChallengeTTLId; /** Current value of the zone setting. */ value: SettingsEditResultChallengeTTLValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsEditResultChallengeTTL = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsEditResultChallengeTTLId, value: SettingsEditResultChallengeTTLValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsEditResultChallengeTTL", }) as any as S.Schema; export type SettingsEditResultZonesChinaNetworkEnabledId = "china_network_enabled"; export const SettingsEditResultZonesChinaNetworkEnabledId = /*@__PURE__*/ S.String; export type SettingsEditResultZonesChinaNetworkEnabledValue = "on" | "off"; export const SettingsEditResultZonesChinaNetworkEnabledValue = /*@__PURE__*/ S.String; export interface SettingsEditResultZonesChinaNetworkEnabled { /** ID of the zone setting. */ id: SettingsEditResultZonesChinaNetworkEnabledId; /** Current value of the zone setting. */ value: SettingsEditResultZonesChinaNetworkEnabledValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsEditResultZonesChinaNetworkEnabled = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsEditResultZonesChinaNetworkEnabledId, value: SettingsEditResultZonesChinaNetworkEnabledValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsEditResultZonesChinaNetworkEnabled", }) as any as S.Schema; export type SettingsEditResultZonesContentConverterId = "content_converter"; export const SettingsEditResultZonesContentConverterId = /*@__PURE__*/ S.String; export type SettingsEditResultZonesContentConverterValue = "off" | "on"; export const SettingsEditResultZonesContentConverterValue = /*@__PURE__*/ S.String; export interface SettingsEditResultZonesContentConverter { /** ID of the zone setting. */ id: SettingsEditResultZonesContentConverterId; /** Current value of the zone setting. */ value: SettingsEditResultZonesContentConverterValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsEditResultZonesContentConverter = /*@__PURE__*/ S.suspend( () => S.Struct({ id: SettingsEditResultZonesContentConverterId, value: SettingsEditResultZonesContentConverterValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsEditResultZonesContentConverter", }) as any as S.Schema; export type SettingsEditResultCiphersId = "ciphers"; export const SettingsEditResultCiphersId = /*@__PURE__*/ S.String; export type SettingsEditResultCiphersValueList = Array; export const SettingsEditResultCiphersValueList = /*@__PURE__*/ S.Array( S.String, ) as any as S.Schema; export interface SettingsEditResultCiphers { /** ID of the zone setting. */ id: SettingsEditResultCiphersId; /** Current value of the zone setting. */ value: SettingsEditResultCiphersValueList; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsEditResultCiphers = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsEditResultCiphersId, value: SettingsEditResultCiphersValueList, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsEditResultCiphers", }) as any as S.Schema; export type SettingsEditResultZonesCNAMEFlatteningId = "cname_flattening"; export const SettingsEditResultZonesCNAMEFlatteningId = /*@__PURE__*/ S.String; export type SettingsEditResultZonesCNAMEFlatteningValue = | "flatten_at_root" | "flatten_all"; export const SettingsEditResultZonesCNAMEFlatteningValue = /*@__PURE__*/ S.String; export interface SettingsEditResultZonesCNAMEFlattening { /** How to flatten the cname destination. */ id: SettingsEditResultZonesCNAMEFlatteningId; /** Current value of the zone setting. */ value: SettingsEditResultZonesCNAMEFlatteningValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsEditResultZonesCNAMEFlattening = /*@__PURE__*/ S.suspend( () => S.Struct({ id: SettingsEditResultZonesCNAMEFlatteningId, value: SettingsEditResultZonesCNAMEFlatteningValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsEditResultZonesCNAMEFlattening", }) as any as S.Schema; export type SettingsEditResultDevelopmentModeId = "development_mode"; export const SettingsEditResultDevelopmentModeId = /*@__PURE__*/ S.String; export type SettingsEditResultDevelopmentModeValue = "on" | "off"; export const SettingsEditResultDevelopmentModeValue = /*@__PURE__*/ S.String; export interface SettingsEditResultDevelopmentMode { /** ID of the zone setting. */ id: SettingsEditResultDevelopmentModeId; /** Current value of the zone setting. */ value: SettingsEditResultDevelopmentModeValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; /** Value of the zone setting. */ timeRemaining?: number | null; } export const SettingsEditResultDevelopmentMode = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsEditResultDevelopmentModeId, value: SettingsEditResultDevelopmentModeValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), timeRemaining: S.optional( S.NullOr(S.Number).pipe(T.Body("time_remaining")), ), }), ).annotate({ identifier: "SettingsEditResultDevelopmentMode", }) as any as S.Schema; export type SettingsEditResultEarlyHintsId = "early_hints"; export const SettingsEditResultEarlyHintsId = /*@__PURE__*/ S.String; export type SettingsEditResultEarlyHintsValue = "on" | "off"; export const SettingsEditResultEarlyHintsValue = /*@__PURE__*/ S.String; export interface SettingsEditResultEarlyHints { /** ID of the zone setting. */ id: SettingsEditResultEarlyHintsId; /** Current value of the zone setting. */ value: SettingsEditResultEarlyHintsValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsEditResultEarlyHints = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsEditResultEarlyHintsId, value: SettingsEditResultEarlyHintsValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsEditResultEarlyHints", }) as any as S.Schema; export type SettingsEditResultZonesSchemasEdgeCacheTTLId = "edge_cache_ttl"; export const SettingsEditResultZonesSchemasEdgeCacheTTLId = /*@__PURE__*/ S.String; export type SettingsEditResultZonesSchemasEdgeCacheTTLValue = | 30 | 60 | 300 | 1200 | 1800 | 3600 | 7200 | 10800 | 14400 | 18000 | 28800 | 43200 | 57600 | 72000 | 86400 | 172800 | 259200 | 345600 | 432000 | 518400 | 604800; export const SettingsEditResultZonesSchemasEdgeCacheTTLValue = /*@__PURE__*/ S.Number; export interface SettingsEditResultZonesSchemasEdgeCacheTTL { /** ID of the zone setting. */ id: SettingsEditResultZonesSchemasEdgeCacheTTLId; /** Current value of the zone setting. */ value: SettingsEditResultZonesSchemasEdgeCacheTTLValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsEditResultZonesSchemasEdgeCacheTTL = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsEditResultZonesSchemasEdgeCacheTTLId, value: SettingsEditResultZonesSchemasEdgeCacheTTLValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsEditResultZonesSchemasEdgeCacheTTL", }) as any as S.Schema; export type SettingsEditResultZonesSchemasEmailObfuscationId = "email_obfuscation"; export const SettingsEditResultZonesSchemasEmailObfuscationId = /*@__PURE__*/ S.String; export type SettingsEditResultZonesSchemasEmailObfuscationValue = "on" | "off"; export const SettingsEditResultZonesSchemasEmailObfuscationValue = /*@__PURE__*/ S.String; export interface SettingsEditResultZonesSchemasEmailObfuscation { /** ID of the zone setting. */ id: SettingsEditResultZonesSchemasEmailObfuscationId; /** Current value of the zone setting. */ value: SettingsEditResultZonesSchemasEmailObfuscationValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsEditResultZonesSchemasEmailObfuscation = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsEditResultZonesSchemasEmailObfuscationId, value: SettingsEditResultZonesSchemasEmailObfuscationValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsEditResultZonesSchemasEmailObfuscation", }) as any as S.Schema; export type SettingsEditResultH2PrioritizationId = "h2_prioritization"; export const SettingsEditResultH2PrioritizationId = /*@__PURE__*/ S.String; export type SettingsEditResultH2PrioritizationValue = "on" | "off" | "custom"; export const SettingsEditResultH2PrioritizationValue = /*@__PURE__*/ S.String; export interface SettingsEditResultH2Prioritization { /** ID of the zone setting. */ id: SettingsEditResultH2PrioritizationId; /** Current value of the zone setting. */ value: SettingsEditResultH2PrioritizationValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsEditResultH2Prioritization = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsEditResultH2PrioritizationId, value: SettingsEditResultH2PrioritizationValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsEditResultH2Prioritization", }) as any as S.Schema; export type SettingsEditResultHotlinkProtectionId = "hotlink_protection"; export const SettingsEditResultHotlinkProtectionId = /*@__PURE__*/ S.String; export type SettingsEditResultHotlinkProtectionValue = "on" | "off"; export const SettingsEditResultHotlinkProtectionValue = /*@__PURE__*/ S.String; export interface SettingsEditResultHotlinkProtection { /** ID of the zone setting. */ id: SettingsEditResultHotlinkProtectionId; /** Current value of the zone setting. */ value: SettingsEditResultHotlinkProtectionValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsEditResultHotlinkProtection = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsEditResultHotlinkProtectionId, value: SettingsEditResultHotlinkProtectionValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsEditResultHotlinkProtection", }) as any as S.Schema; export type SettingsEditResultHTTP2Id = "http2"; export const SettingsEditResultHTTP2Id = /*@__PURE__*/ S.String; export type SettingsEditResultHTTP2Value = "on" | "off"; export const SettingsEditResultHTTP2Value = /*@__PURE__*/ S.String; export interface SettingsEditResultHTTP2 { /** ID of the zone setting. */ id: SettingsEditResultHTTP2Id; /** Current value of the zone setting. */ value: SettingsEditResultHTTP2Value; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsEditResultHTTP2 = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsEditResultHTTP2Id, value: SettingsEditResultHTTP2Value, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsEditResultHTTP2", }) as any as S.Schema; export type SettingsEditResultHTTP3Id = "http3"; export const SettingsEditResultHTTP3Id = /*@__PURE__*/ S.String; export type SettingsEditResultHTTP3Value = "on" | "off"; export const SettingsEditResultHTTP3Value = /*@__PURE__*/ S.String; export interface SettingsEditResultHTTP3 { /** ID of the zone setting. */ id: SettingsEditResultHTTP3Id; /** Current value of the zone setting. */ value: SettingsEditResultHTTP3Value; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsEditResultHTTP3 = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsEditResultHTTP3Id, value: SettingsEditResultHTTP3Value, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsEditResultHTTP3", }) as any as S.Schema; export type SettingsEditResultImageResizingId = "image_resizing"; export const SettingsEditResultImageResizingId = /*@__PURE__*/ S.String; export type SettingsEditResultImageResizingValue = "on" | "off" | "open"; export const SettingsEditResultImageResizingValue = /*@__PURE__*/ S.String; export interface SettingsEditResultImageResizing { /** ID of the zone setting. */ id: SettingsEditResultImageResizingId; /** Current value of the zone setting. */ value: SettingsEditResultImageResizingValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsEditResultImageResizing = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsEditResultImageResizingId, value: SettingsEditResultImageResizingValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsEditResultImageResizing", }) as any as S.Schema; export type SettingsEditResultZonesSchemasIPGeolocationId = "ip_geolocation"; export const SettingsEditResultZonesSchemasIPGeolocationId = /*@__PURE__*/ S.String; export type SettingsEditResultZonesSchemasIPGeolocationValue = "on" | "off"; export const SettingsEditResultZonesSchemasIPGeolocationValue = /*@__PURE__*/ S.String; export interface SettingsEditResultZonesSchemasIPGeolocation { /** ID of the zone setting. */ id: SettingsEditResultZonesSchemasIPGeolocationId; /** Current value of the zone setting. */ value: SettingsEditResultZonesSchemasIPGeolocationValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsEditResultZonesSchemasIPGeolocation = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsEditResultZonesSchemasIPGeolocationId, value: SettingsEditResultZonesSchemasIPGeolocationValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsEditResultZonesSchemasIPGeolocation", }) as any as S.Schema; export type SettingsEditResultIPV6Id = "ipv6"; export const SettingsEditResultIPV6Id = /*@__PURE__*/ S.String; export type SettingsEditResultIPV6Value = "off" | "on"; export const SettingsEditResultIPV6Value = /*@__PURE__*/ S.String; export interface SettingsEditResultIPV6 { /** ID of the zone setting. */ id: SettingsEditResultIPV6Id; /** Current value of the zone setting. */ value: SettingsEditResultIPV6Value; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsEditResultIPV6 = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsEditResultIPV6Id, value: SettingsEditResultIPV6Value, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsEditResultIPV6", }) as any as S.Schema; export type SettingsEditResultZonesMaxUploadId = "max_upload"; export const SettingsEditResultZonesMaxUploadId = /*@__PURE__*/ S.String; export type SettingsEditResultZonesMaxUploadValue = | 100 | 125 | 150 | 175 | 200 | 225 | 250 | 275 | 300 | 325 | 350 | 375 | 400 | 425 | 450 | 475 | 500 | 1000; export const SettingsEditResultZonesMaxUploadValue = /*@__PURE__*/ S.Number; export interface SettingsEditResultZonesMaxUpload { /** identifier of the zone setting. */ id: SettingsEditResultZonesMaxUploadId; /** Current value of the zone setting. */ value: SettingsEditResultZonesMaxUploadValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsEditResultZonesMaxUpload = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsEditResultZonesMaxUploadId, value: SettingsEditResultZonesMaxUploadValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsEditResultZonesMaxUpload", }) as any as S.Schema; export type SettingsEditResultMinTLSVersionId = "min_tls_version"; export const SettingsEditResultMinTLSVersionId = /*@__PURE__*/ S.String; export type SettingsEditResultMinTLSVersionValue = | "1.0" | "1.1" | "1.2" | "1.3"; export const SettingsEditResultMinTLSVersionValue = /*@__PURE__*/ S.String; export interface SettingsEditResultMinTLSVersion { /** ID of the zone setting. */ id: SettingsEditResultMinTLSVersionId; /** Current value of the zone setting. */ value: SettingsEditResultMinTLSVersionValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsEditResultMinTLSVersion = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsEditResultMinTLSVersionId, value: SettingsEditResultMinTLSVersionValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsEditResultMinTLSVersion", }) as any as S.Schema; export type SettingsEditResultZonesSchemasMirageId = "mirage"; export const SettingsEditResultZonesSchemasMirageId = /*@__PURE__*/ S.String; export type SettingsEditResultZonesSchemasMirageValue = "on" | "off"; export const SettingsEditResultZonesSchemasMirageValue = /*@__PURE__*/ S.String; export interface SettingsEditResultZonesSchemasMirage { /** ID of the zone setting. */ id: SettingsEditResultZonesSchemasMirageId; /** Current value of the zone setting. */ value: SettingsEditResultZonesSchemasMirageValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsEditResultZonesSchemasMirage = /*@__PURE__*/ S.suspend( () => S.Struct({ id: SettingsEditResultZonesSchemasMirageId, value: SettingsEditResultZonesSchemasMirageValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsEditResultZonesSchemasMirage", }) as any as S.Schema; export type SettingsEditResultNELId = "nel"; export const SettingsEditResultNELId = /*@__PURE__*/ S.String; export type SettingsEditResultNELValue = SettingsGetResultNELValue; export const SettingsEditResultNELValue = SettingsGetResultNELValue; export interface SettingsEditResultNEL { /** Zone setting identifier. */ id: SettingsEditResultNELId; /** Current value of the zone setting. */ value: SettingsGetResultNELValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsEditResultNEL = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsEditResultNELId, value: SettingsGetResultNELValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsEditResultNEL", }) as any as S.Schema; export type SettingsEditResultZonesSchemasOpportunisticEncryptionId = "opportunistic_encryption"; export const SettingsEditResultZonesSchemasOpportunisticEncryptionId = /*@__PURE__*/ S.String; export type SettingsEditResultZonesSchemasOpportunisticEncryptionValue = | "on" | "off"; export const SettingsEditResultZonesSchemasOpportunisticEncryptionValue = /*@__PURE__*/ S.String; export interface SettingsEditResultZonesSchemasOpportunisticEncryption { /** ID of the zone setting. */ id: SettingsEditResultZonesSchemasOpportunisticEncryptionId; /** Current value of the zone setting. */ value: SettingsEditResultZonesSchemasOpportunisticEncryptionValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsEditResultZonesSchemasOpportunisticEncryption = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsEditResultZonesSchemasOpportunisticEncryptionId, value: SettingsEditResultZonesSchemasOpportunisticEncryptionValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsEditResultZonesSchemasOpportunisticEncryption", }) as any as S.Schema; export type SettingsEditResultOpportunisticOnionId = "opportunistic_onion"; export const SettingsEditResultOpportunisticOnionId = /*@__PURE__*/ S.String; export type SettingsEditResultOpportunisticOnionValue = "on" | "off"; export const SettingsEditResultOpportunisticOnionValue = /*@__PURE__*/ S.String; export interface SettingsEditResultOpportunisticOnion { /** ID of the zone setting. */ id: SettingsEditResultOpportunisticOnionId; /** Current value of the zone setting. */ value: SettingsEditResultOpportunisticOnionValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsEditResultOpportunisticOnion = /*@__PURE__*/ S.suspend( () => S.Struct({ id: SettingsEditResultOpportunisticOnionId, value: SettingsEditResultOpportunisticOnionValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsEditResultOpportunisticOnion", }) as any as S.Schema; export type SettingsEditResultOrangeToOrangeId = "orange_to_orange"; export const SettingsEditResultOrangeToOrangeId = /*@__PURE__*/ S.String; export type SettingsEditResultOrangeToOrangeValue = "on" | "off"; export const SettingsEditResultOrangeToOrangeValue = /*@__PURE__*/ S.String; export interface SettingsEditResultOrangeToOrange { /** ID of the zone setting. */ id: SettingsEditResultOrangeToOrangeId; /** Current value of the zone setting. */ value: SettingsEditResultOrangeToOrangeValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsEditResultOrangeToOrange = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsEditResultOrangeToOrangeId, value: SettingsEditResultOrangeToOrangeValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsEditResultOrangeToOrange", }) as any as S.Schema; export type SettingsEditResultZonesSchemasOriginErrorPagePassThruId = "origin_error_page_pass_thru"; export const SettingsEditResultZonesSchemasOriginErrorPagePassThruId = /*@__PURE__*/ S.String; export type SettingsEditResultZonesSchemasOriginErrorPagePassThruValue = | "on" | "off"; export const SettingsEditResultZonesSchemasOriginErrorPagePassThruValue = /*@__PURE__*/ S.String; export interface SettingsEditResultZonesSchemasOriginErrorPagePassThru { /** ID of the zone setting. */ id: SettingsEditResultZonesSchemasOriginErrorPagePassThruId; /** Current value of the zone setting. */ value: SettingsEditResultZonesSchemasOriginErrorPagePassThruValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsEditResultZonesSchemasOriginErrorPagePassThru = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsEditResultZonesSchemasOriginErrorPagePassThruId, value: SettingsEditResultZonesSchemasOriginErrorPagePassThruValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsEditResultZonesSchemasOriginErrorPagePassThru", }) as any as S.Schema; export type SettingsEditResultZonesCacheRulesOriginH2MaxStreamsId = "origin_h2_max_streams"; export const SettingsEditResultZonesCacheRulesOriginH2MaxStreamsId = /*@__PURE__*/ S.String; export interface SettingsEditResultZonesCacheRulesOriginH2MaxStreams { /** Value of the zone setting. */ id: SettingsEditResultZonesCacheRulesOriginH2MaxStreamsId; /** Last time this setting was modified. */ modifiedOn?: string | null; /** Value of the Origin H2 Max Streams Setting. */ value?: number | null; } export const SettingsEditResultZonesCacheRulesOriginH2MaxStreams = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsEditResultZonesCacheRulesOriginH2MaxStreamsId, modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), value: S.optional(S.NullOr(S.Number)), }), ).annotate({ identifier: "SettingsEditResultZonesCacheRulesOriginH2MaxStreams", }) as any as S.Schema; export type SettingsEditResultZonesCacheRulesOriginMaxHTTPVersionId = "origin_max_http_version"; export const SettingsEditResultZonesCacheRulesOriginMaxHTTPVersionId = /*@__PURE__*/ S.String; export type SettingsEditResultZonesCacheRulesOriginMaxHTTPVersionValue = | "2" | "1"; export const SettingsEditResultZonesCacheRulesOriginMaxHTTPVersionValue = /*@__PURE__*/ S.String; export interface SettingsEditResultZonesCacheRulesOriginMaxHTTPVersion { /** Value of the zone setting. */ id: SettingsEditResultZonesCacheRulesOriginMaxHTTPVersionId; /** Last time this setting was modified. */ modifiedOn?: string | null; /** Value of the Origin Max HTTP Version Setting. */ value?: SettingsEditResultZonesCacheRulesOriginMaxHTTPVersionValue | null; } export const SettingsEditResultZonesCacheRulesOriginMaxHTTPVersion = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsEditResultZonesCacheRulesOriginMaxHTTPVersionId, modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), value: S.optional( S.NullOr(SettingsEditResultZonesCacheRulesOriginMaxHTTPVersionValue), ), }), ).annotate({ identifier: "SettingsEditResultZonesCacheRulesOriginMaxHTTPVersion", }) as any as S.Schema; export type SettingsEditResultZonesSchemasPolishId = "polish"; export const SettingsEditResultZonesSchemasPolishId = /*@__PURE__*/ S.String; export type SettingsEditResultZonesSchemasPolishValue = | "off" | "lossless" | "lossy"; export const SettingsEditResultZonesSchemasPolishValue = /*@__PURE__*/ S.String; export interface SettingsEditResultZonesSchemasPolish { /** ID of the zone setting. */ id: SettingsEditResultZonesSchemasPolishId; /** Current value of the zone setting. */ value: SettingsEditResultZonesSchemasPolishValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsEditResultZonesSchemasPolish = /*@__PURE__*/ S.suspend( () => S.Struct({ id: SettingsEditResultZonesSchemasPolishId, value: SettingsEditResultZonesSchemasPolishValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsEditResultZonesSchemasPolish", }) as any as S.Schema; export type SettingsEditResultPrefetchPreloadId = "prefetch_preload"; export const SettingsEditResultPrefetchPreloadId = /*@__PURE__*/ S.String; export type SettingsEditResultPrefetchPreloadValue = "on" | "off"; export const SettingsEditResultPrefetchPreloadValue = /*@__PURE__*/ S.String; export interface SettingsEditResultPrefetchPreload { /** ID of the zone setting. */ id: SettingsEditResultPrefetchPreloadId; /** Current value of the zone setting. */ value: SettingsEditResultPrefetchPreloadValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsEditResultPrefetchPreload = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsEditResultPrefetchPreloadId, value: SettingsEditResultPrefetchPreloadValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsEditResultPrefetchPreload", }) as any as S.Schema; export type SettingsEditResultZonesPrivacyPassId = "privacy_pass"; export const SettingsEditResultZonesPrivacyPassId = /*@__PURE__*/ S.String; export type SettingsEditResultZonesPrivacyPassValue = "on" | "off"; export const SettingsEditResultZonesPrivacyPassValue = /*@__PURE__*/ S.String; export interface SettingsEditResultZonesPrivacyPass { /** ID of the zone setting. */ id: SettingsEditResultZonesPrivacyPassId; /** Current value of the zone setting. */ value: SettingsEditResultZonesPrivacyPassValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsEditResultZonesPrivacyPass = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsEditResultZonesPrivacyPassId, value: SettingsEditResultZonesPrivacyPassValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsEditResultZonesPrivacyPass", }) as any as S.Schema; export type SettingsEditResultProxyReadTimeoutId = "proxy_read_timeout"; export const SettingsEditResultProxyReadTimeoutId = /*@__PURE__*/ S.String; export interface SettingsEditResultProxyReadTimeout { /** ID of the zone setting. */ id: SettingsEditResultProxyReadTimeoutId; /** Current value of the zone setting. */ value: number; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsEditResultProxyReadTimeout = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsEditResultProxyReadTimeoutId, value: S.Number, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsEditResultProxyReadTimeout", }) as any as S.Schema; export type SettingsEditResultPseudoIPV4Id = "pseudo_ipv4"; export const SettingsEditResultPseudoIPV4Id = /*@__PURE__*/ S.String; export type SettingsEditResultPseudoIPV4Value = | "off" | "add_header" | "overwrite_header"; export const SettingsEditResultPseudoIPV4Value = /*@__PURE__*/ S.String; export interface SettingsEditResultPseudoIPV4 { /** Value of the Pseudo IPv4 setting. */ id: SettingsEditResultPseudoIPV4Id; /** Current value of the zone setting. */ value: SettingsEditResultPseudoIPV4Value; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsEditResultPseudoIPV4 = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsEditResultPseudoIPV4Id, value: SettingsEditResultPseudoIPV4Value, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsEditResultPseudoIPV4", }) as any as S.Schema; export type SettingsEditResultZonesRedirectsForAITrainingId = "redirects_for_ai_training"; export const SettingsEditResultZonesRedirectsForAITrainingId = /*@__PURE__*/ S.String; export type SettingsEditResultZonesRedirectsForAITrainingValue = "off" | "on"; export const SettingsEditResultZonesRedirectsForAITrainingValue = /*@__PURE__*/ S.String; export interface SettingsEditResultZonesRedirectsForAITraining { /** ID of the zone setting. */ id: SettingsEditResultZonesRedirectsForAITrainingId; /** Current value of the zone setting. */ value: SettingsEditResultZonesRedirectsForAITrainingValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsEditResultZonesRedirectsForAITraining = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsEditResultZonesRedirectsForAITrainingId, value: SettingsEditResultZonesRedirectsForAITrainingValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsEditResultZonesRedirectsForAITraining", }) as any as S.Schema; export type SettingsEditResultZonesReplaceInsecureJSId = "replace_insecure_js"; export const SettingsEditResultZonesReplaceInsecureJSId = /*@__PURE__*/ S.String; export type SettingsEditResultZonesReplaceInsecureJSValue = "on" | "off"; export const SettingsEditResultZonesReplaceInsecureJSValue = /*@__PURE__*/ S.String; export interface SettingsEditResultZonesReplaceInsecureJS { /** ID of the zone setting. */ id: SettingsEditResultZonesReplaceInsecureJSId; /** Current value of the zone setting. */ value: SettingsEditResultZonesReplaceInsecureJSValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsEditResultZonesReplaceInsecureJS = /*@__PURE__*/ S.suspend( () => S.Struct({ id: SettingsEditResultZonesReplaceInsecureJSId, value: SettingsEditResultZonesReplaceInsecureJSValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsEditResultZonesReplaceInsecureJS", }) as any as S.Schema; export type SettingsEditResultZonesSchemasResponseBufferingId = "response_buffering"; export const SettingsEditResultZonesSchemasResponseBufferingId = /*@__PURE__*/ S.String; export type SettingsEditResultZonesSchemasResponseBufferingValue = "on" | "off"; export const SettingsEditResultZonesSchemasResponseBufferingValue = /*@__PURE__*/ S.String; export interface SettingsEditResultZonesSchemasResponseBuffering { /** ID of the zone setting. */ id: SettingsEditResultZonesSchemasResponseBufferingId; /** Current value of the zone setting. */ value: SettingsEditResultZonesSchemasResponseBufferingValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsEditResultZonesSchemasResponseBuffering = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsEditResultZonesSchemasResponseBufferingId, value: SettingsEditResultZonesSchemasResponseBufferingValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsEditResultZonesSchemasResponseBuffering", }) as any as S.Schema; export type SettingsEditResultZonesSchemasRocketLoaderId = "rocket_loader"; export const SettingsEditResultZonesSchemasRocketLoaderId = /*@__PURE__*/ S.String; export type SettingsEditResultZonesSchemasRocketLoaderValue = "on" | "off"; export const SettingsEditResultZonesSchemasRocketLoaderValue = /*@__PURE__*/ S.String; export interface SettingsEditResultZonesSchemasRocketLoader { /** ID of the zone setting. */ id: SettingsEditResultZonesSchemasRocketLoaderId; /** Current value of the zone setting. */ value: SettingsEditResultZonesSchemasRocketLoaderValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsEditResultZonesSchemasRocketLoader = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsEditResultZonesSchemasRocketLoaderId, value: SettingsEditResultZonesSchemasRocketLoaderValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsEditResultZonesSchemasRocketLoader", }) as any as S.Schema; export type SettingsEditResultZonesSchemasAutomaticPlatformOptimizationId = "automatic_platform_optimization"; export const SettingsEditResultZonesSchemasAutomaticPlatformOptimizationId = /*@__PURE__*/ S.String; export type SettingsEditResultZonesSchemasAutomaticPlatformOptimizationValueHostnamesList = Array; export const SettingsEditResultZonesSchemasAutomaticPlatformOptimizationValueHostnamesList = /*@__PURE__*/ S.Array( S.String, ) as any as S.Schema; export interface SettingsEditResultZonesSchemasAutomaticPlatformOptimizationValue { /** Indicates whether or not [cache by device type](https://developers.cloudflare.com/automatic-platform-optimization/reference/cache-device-type/) is enabled. */ cacheByDeviceType: boolean; /** Indicates whether or not Cloudflare proxy is enabled. */ cf: boolean; /** Indicates whether or not Automatic Platform Optimization is enabled. */ enabled: boolean; /** An array of hostnames where Automatic Platform Optimization for WordPress is activated. */ hostnames: SettingsEditResultZonesSchemasAutomaticPlatformOptimizationValueHostnamesList; /** Indicates whether or not site is powered by WordPress. */ wordpress: boolean; /** Indicates whether or not [Cloudflare for WordPress plugin](https://wordpress.org/plugins/cloudflare/) is installed. */ wpPlugin: boolean; } export const SettingsEditResultZonesSchemasAutomaticPlatformOptimizationValue = /*@__PURE__*/ S.suspend(() => S.Struct({ cacheByDeviceType: S.Boolean.pipe(T.Body("cache_by_device_type")), cf: S.Boolean, enabled: S.Boolean, hostnames: SettingsEditResultZonesSchemasAutomaticPlatformOptimizationValueHostnamesList, wordpress: S.Boolean, wpPlugin: S.Boolean.pipe(T.Body("wp_plugin")), }), ).annotate({ identifier: "SettingsEditResultZonesSchemasAutomaticPlatformOptimizationValue", }) as any as S.Schema; export interface SettingsEditResultZonesSchemasAutomaticPlatformOptimization { /** ID of the zone setting. */ id: SettingsEditResultZonesSchemasAutomaticPlatformOptimizationId; /** Current value of the zone setting. */ value: SettingsEditResultZonesSchemasAutomaticPlatformOptimizationValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsEditResultZonesSchemasAutomaticPlatformOptimization = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsEditResultZonesSchemasAutomaticPlatformOptimizationId, value: SettingsEditResultZonesSchemasAutomaticPlatformOptimizationValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsEditResultZonesSchemasAutomaticPlatformOptimization", }) as any as S.Schema; export type SettingsEditResultZonesSearchForAgentsId = "search_for_agents"; export const SettingsEditResultZonesSearchForAgentsId = /*@__PURE__*/ S.String; export type SettingsEditResultZonesSearchForAgentsValue = "off" | "on"; export const SettingsEditResultZonesSearchForAgentsValue = /*@__PURE__*/ S.String; export interface SettingsEditResultZonesSearchForAgents { /** ID of the zone setting. */ id: SettingsEditResultZonesSearchForAgentsId; /** Current value of the zone setting. */ value: SettingsEditResultZonesSearchForAgentsValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsEditResultZonesSearchForAgents = /*@__PURE__*/ S.suspend( () => S.Struct({ id: SettingsEditResultZonesSearchForAgentsId, value: SettingsEditResultZonesSearchForAgentsValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsEditResultZonesSearchForAgents", }) as any as S.Schema; export type SettingsEditResultSecurityHeadersId = "security_header"; export const SettingsEditResultSecurityHeadersId = /*@__PURE__*/ S.String; export type SettingsEditResultSecurityHeadersValueStrictTransportSecurity = SettingsGetResultSecurityHeadersValueStrictTransportSecurity; export const SettingsEditResultSecurityHeadersValueStrictTransportSecurity = SettingsGetResultSecurityHeadersValueStrictTransportSecurity; export type SettingsEditResultSecurityHeadersValue = SettingsGetResultSecurityHeadersValue; export const SettingsEditResultSecurityHeadersValue = SettingsGetResultSecurityHeadersValue; export interface SettingsEditResultSecurityHeaders { /** ID of the zone's security header. */ id: SettingsEditResultSecurityHeadersId; /** Current value of the zone setting. */ value: SettingsGetResultSecurityHeadersValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsEditResultSecurityHeaders = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsEditResultSecurityHeadersId, value: SettingsGetResultSecurityHeadersValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsEditResultSecurityHeaders", }) as any as S.Schema; export type SettingsEditResultZonesSchemasSecurityLevelId = "security_level"; export const SettingsEditResultZonesSchemasSecurityLevelId = /*@__PURE__*/ S.String; export type SettingsEditResultZonesSchemasSecurityLevelValue = | "off" | "essentially_off" | "low" | "medium" | "high" | "under_attack"; export const SettingsEditResultZonesSchemasSecurityLevelValue = /*@__PURE__*/ S.String; export interface SettingsEditResultZonesSchemasSecurityLevel { /** ID of the zone setting. */ id: SettingsEditResultZonesSchemasSecurityLevelId; /** Current value of the zone setting. */ value: SettingsEditResultZonesSchemasSecurityLevelValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsEditResultZonesSchemasSecurityLevel = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsEditResultZonesSchemasSecurityLevelId, value: SettingsEditResultZonesSchemasSecurityLevelValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsEditResultZonesSchemasSecurityLevel", }) as any as S.Schema; export type SettingsEditResultServerSideExcludesId = "server_side_exclude"; export const SettingsEditResultServerSideExcludesId = /*@__PURE__*/ S.String; export type SettingsEditResultServerSideExcludesValue = "on" | "off"; export const SettingsEditResultServerSideExcludesValue = /*@__PURE__*/ S.String; export interface SettingsEditResultServerSideExcludes { /** ID of the zone setting. */ id: SettingsEditResultServerSideExcludesId; /** Current value of the zone setting. */ value: SettingsEditResultServerSideExcludesValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsEditResultServerSideExcludes = /*@__PURE__*/ S.suspend( () => S.Struct({ id: SettingsEditResultServerSideExcludesId, value: SettingsEditResultServerSideExcludesValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsEditResultServerSideExcludes", }) as any as S.Schema; export type SettingsEditResultZonesSha1SupportId = "sha1_support"; export const SettingsEditResultZonesSha1SupportId = /*@__PURE__*/ S.String; export type SettingsEditResultZonesSha1SupportValue = "off" | "on"; export const SettingsEditResultZonesSha1SupportValue = /*@__PURE__*/ S.String; export interface SettingsEditResultZonesSha1Support { /** Zone setting identifier. */ id: SettingsEditResultZonesSha1SupportId; /** Current value of the zone setting. */ value: SettingsEditResultZonesSha1SupportValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsEditResultZonesSha1Support = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsEditResultZonesSha1SupportId, value: SettingsEditResultZonesSha1SupportValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsEditResultZonesSha1Support", }) as any as S.Schema; export type SettingsEditResultZonesSchemasSortQueryStringForCacheId = "sort_query_string_for_cache"; export const SettingsEditResultZonesSchemasSortQueryStringForCacheId = /*@__PURE__*/ S.String; export type SettingsEditResultZonesSchemasSortQueryStringForCacheValue = | "on" | "off"; export const SettingsEditResultZonesSchemasSortQueryStringForCacheValue = /*@__PURE__*/ S.String; export interface SettingsEditResultZonesSchemasSortQueryStringForCache { /** ID of the zone setting. */ id: SettingsEditResultZonesSchemasSortQueryStringForCacheId; /** Current value of the zone setting. */ value: SettingsEditResultZonesSchemasSortQueryStringForCacheValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsEditResultZonesSchemasSortQueryStringForCache = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsEditResultZonesSchemasSortQueryStringForCacheId, value: SettingsEditResultZonesSchemasSortQueryStringForCacheValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsEditResultZonesSchemasSortQueryStringForCache", }) as any as S.Schema; export type SettingsEditResultZonesSchemasSSLId = "ssl"; export const SettingsEditResultZonesSchemasSSLId = /*@__PURE__*/ S.String; export type SettingsEditResultZonesSchemasSSLValue = | "off" | "flexible" | "full" | "strict"; export const SettingsEditResultZonesSchemasSSLValue = /*@__PURE__*/ S.String; export interface SettingsEditResultZonesSchemasSSL { /** ID of the zone setting. */ id: SettingsEditResultZonesSchemasSSLId; /** Current value of the zone setting. */ value: SettingsEditResultZonesSchemasSSLValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsEditResultZonesSchemasSSL = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsEditResultZonesSchemasSSLId, value: SettingsEditResultZonesSchemasSSLValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsEditResultZonesSchemasSSL", }) as any as S.Schema; export type SettingsEditResultSSLRecommenderId = "ssl_recommender"; export const SettingsEditResultSSLRecommenderId = /*@__PURE__*/ S.String; export interface SettingsEditResultSSLRecommender { /** Enrollment value for SSL/TLS Recommender. */ id?: SettingsEditResultSSLRecommenderId | null; /** ssl-recommender enrollment setting. */ enabled?: boolean | null; } export const SettingsEditResultSSLRecommender = /*@__PURE__*/ S.suspend(() => S.Struct({ id: S.optional(S.NullOr(SettingsEditResultSSLRecommenderId)), enabled: S.optional(S.NullOr(S.Boolean)), }), ).annotate({ identifier: "SettingsEditResultSSLRecommender", }) as any as S.Schema; export type SettingsEditResultZonesTLS12OnlyId = "tls_1_2_only"; export const SettingsEditResultZonesTLS12OnlyId = /*@__PURE__*/ S.String; export type SettingsEditResultZonesTLS12OnlyValue = "off" | "on"; export const SettingsEditResultZonesTLS12OnlyValue = /*@__PURE__*/ S.String; export interface SettingsEditResultZonesTLS12Only { /** Zone setting identifier. */ id: SettingsEditResultZonesTLS12OnlyId; /** Current value of the zone setting. */ value: SettingsEditResultZonesTLS12OnlyValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsEditResultZonesTLS12Only = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsEditResultZonesTLS12OnlyId, value: SettingsEditResultZonesTLS12OnlyValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsEditResultZonesTLS12Only", }) as any as S.Schema; export type SettingsEditResultTLS13Id = "tls_1_3"; export const SettingsEditResultTLS13Id = /*@__PURE__*/ S.String; export type SettingsEditResultTLS13Value = "on" | "off" | "zrt"; export const SettingsEditResultTLS13Value = /*@__PURE__*/ S.String; export interface SettingsEditResultTLS13 { /** ID of the zone setting. */ id: SettingsEditResultTLS13Id; /** Current value of the zone setting. */ value: SettingsEditResultTLS13Value; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsEditResultTLS13 = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsEditResultTLS13Id, value: SettingsEditResultTLS13Value, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsEditResultTLS13", }) as any as S.Schema; export type SettingsEditResultTLSClientAuthId = "tls_client_auth"; export const SettingsEditResultTLSClientAuthId = /*@__PURE__*/ S.String; export type SettingsEditResultTLSClientAuthValue = "on" | "off"; export const SettingsEditResultTLSClientAuthValue = /*@__PURE__*/ S.String; export interface SettingsEditResultTLSClientAuth { /** ID of the zone setting. */ id: SettingsEditResultTLSClientAuthId; /** Current value of the zone setting. */ value: SettingsEditResultTLSClientAuthValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsEditResultTLSClientAuth = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsEditResultTLSClientAuthId, value: SettingsEditResultTLSClientAuthValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsEditResultTLSClientAuth", }) as any as S.Schema; export type SettingsEditResultZonesTransformationsId = "transformations"; export const SettingsEditResultZonesTransformationsId = /*@__PURE__*/ S.String; export type SettingsEditResultZonesTransformationsValue = "on" | "off" | "open"; export const SettingsEditResultZonesTransformationsValue = /*@__PURE__*/ S.String; export interface SettingsEditResultZonesTransformations { /** ID of the zone setting. Shared between Image Transformations and Video Transformations. */ id: SettingsEditResultZonesTransformationsId; /** Current value of the zone setting. */ value: SettingsEditResultZonesTransformationsValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsEditResultZonesTransformations = /*@__PURE__*/ S.suspend( () => S.Struct({ id: SettingsEditResultZonesTransformationsId, value: SettingsEditResultZonesTransformationsValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsEditResultZonesTransformations", }) as any as S.Schema; export type SettingsEditResultZonesTransformationsAllowedOriginsId = "transformations_allowed_origins"; export const SettingsEditResultZonesTransformationsAllowedOriginsId = /*@__PURE__*/ S.String; export interface SettingsEditResultZonesTransformationsAllowedOrigins { /** ID of the zone setting. Shared between Image Transformations and Video Transformations. */ id: SettingsEditResultZonesTransformationsAllowedOriginsId; /** Current value of the zone setting. */ value: string; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsEditResultZonesTransformationsAllowedOrigins = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsEditResultZonesTransformationsAllowedOriginsId, value: S.String, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsEditResultZonesTransformationsAllowedOrigins", }) as any as S.Schema; export type SettingsEditResultZonesSchemasTrueClientIPHeaderId = "true_client_ip_header"; export const SettingsEditResultZonesSchemasTrueClientIPHeaderId = /*@__PURE__*/ S.String; export type SettingsEditResultZonesSchemasTrueClientIPHeaderValue = | "on" | "off"; export const SettingsEditResultZonesSchemasTrueClientIPHeaderValue = /*@__PURE__*/ S.String; export interface SettingsEditResultZonesSchemasTrueClientIPHeader { /** ID of the zone setting. */ id: SettingsEditResultZonesSchemasTrueClientIPHeaderId; /** Current value of the zone setting. */ value: SettingsEditResultZonesSchemasTrueClientIPHeaderValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsEditResultZonesSchemasTrueClientIPHeader = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsEditResultZonesSchemasTrueClientIPHeaderId, value: SettingsEditResultZonesSchemasTrueClientIPHeaderValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsEditResultZonesSchemasTrueClientIPHeader", }) as any as S.Schema; export type SettingsEditResultZonesSchemasWAFId = "waf"; export const SettingsEditResultZonesSchemasWAFId = /*@__PURE__*/ S.String; export type SettingsEditResultZonesSchemasWAFValue = "on" | "off"; export const SettingsEditResultZonesSchemasWAFValue = /*@__PURE__*/ S.String; export interface SettingsEditResultZonesSchemasWAF { /** ID of the zone setting. */ id: SettingsEditResultZonesSchemasWAFId; /** Current value of the zone setting. */ value: SettingsEditResultZonesSchemasWAFValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsEditResultZonesSchemasWAF = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsEditResultZonesSchemasWAFId, value: SettingsEditResultZonesSchemasWAFValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsEditResultZonesSchemasWAF", }) as any as S.Schema; export type SettingsEditResultWebPId = "webp"; export const SettingsEditResultWebPId = /*@__PURE__*/ S.String; export type SettingsEditResultWebPValue = "off" | "on"; export const SettingsEditResultWebPValue = /*@__PURE__*/ S.String; export interface SettingsEditResultWebP { /** ID of the zone setting. */ id: SettingsEditResultWebPId; /** Current value of the zone setting. */ value: SettingsEditResultWebPValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsEditResultWebP = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsEditResultWebPId, value: SettingsEditResultWebPValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsEditResultWebP", }) as any as S.Schema; export type SettingsEditResultWebsocketId = "websockets"; export const SettingsEditResultWebsocketId = /*@__PURE__*/ S.String; export type SettingsEditResultWebsocketValue = "off" | "on"; export const SettingsEditResultWebsocketValue = /*@__PURE__*/ S.String; export interface SettingsEditResultWebsocket { /** ID of the zone setting. */ id: SettingsEditResultWebsocketId; /** Current value of the zone setting. */ value: SettingsEditResultWebsocketValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsEditResultWebsocket = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsEditResultWebsocketId, value: SettingsEditResultWebsocketValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsEditResultWebsocket", }) as any as S.Schema; export type SettingsEditResult = | SettingsEditResultZeroRTT | SettingsEditResultAdvancedDDoS | SettingsEditResultZonesCacheRulesAegis | SettingsEditResultAlwaysOnline | SettingsEditResultZonesSchemasAlwaysUseHTTPS | SettingsEditResultZonesSchemasAutomaticHTTPSRewrites | SettingsEditResultBrotli | SettingsEditResultZonesSchemasBrowserCacheTTL | SettingsEditResultZonesSchemasBrowserCheck | SettingsEditResultZonesSchemasCacheLevel | SettingsEditResultChallengeTTL | SettingsEditResultZonesChinaNetworkEnabled | SettingsEditResultZonesContentConverter | SettingsEditResultCiphers | SettingsEditResultZonesCNAMEFlattening | SettingsEditResultDevelopmentMode | SettingsEditResultEarlyHints | SettingsEditResultZonesSchemasEdgeCacheTTL | SettingsEditResultZonesSchemasEmailObfuscation | SettingsEditResultH2Prioritization | SettingsEditResultHotlinkProtection | SettingsEditResultHTTP2 | SettingsEditResultHTTP3 | SettingsEditResultImageResizing | SettingsEditResultZonesSchemasIPGeolocation | SettingsEditResultIPV6 | SettingsEditResultZonesMaxUpload | SettingsEditResultMinTLSVersion | SettingsEditResultZonesSchemasMirage | SettingsEditResultNEL | SettingsEditResultZonesSchemasOpportunisticEncryption | SettingsEditResultOpportunisticOnion | SettingsEditResultOrangeToOrange | SettingsEditResultZonesSchemasOriginErrorPagePassThru | SettingsEditResultZonesCacheRulesOriginH2MaxStreams | SettingsEditResultZonesCacheRulesOriginMaxHTTPVersion | SettingsEditResultZonesSchemasPolish | SettingsEditResultPrefetchPreload | SettingsEditResultZonesPrivacyPass | SettingsEditResultProxyReadTimeout | SettingsEditResultPseudoIPV4 | SettingsEditResultZonesRedirectsForAITraining | SettingsEditResultZonesReplaceInsecureJS | SettingsEditResultZonesSchemasResponseBuffering | SettingsEditResultZonesSchemasRocketLoader | SettingsEditResultZonesSchemasAutomaticPlatformOptimization | SettingsEditResultZonesSearchForAgents | SettingsEditResultSecurityHeaders | SettingsEditResultZonesSchemasSecurityLevel | SettingsEditResultServerSideExcludes | SettingsEditResultZonesSha1Support | SettingsEditResultZonesSchemasSortQueryStringForCache | SettingsEditResultZonesSchemasSSL | SettingsEditResultSSLRecommender | SettingsEditResultZonesTLS12Only | SettingsEditResultTLS13 | SettingsEditResultTLSClientAuth | SettingsEditResultZonesTransformations | SettingsEditResultZonesTransformationsAllowedOrigins | SettingsEditResultZonesSchemasTrueClientIPHeader | SettingsEditResultZonesSchemasWAF | SettingsEditResultWebP | SettingsEditResultWebsocket; export const SettingsEditResult = /*@__PURE__*/ S.Unknown.pipe( T.UnionCases([ ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "modifiedOn", "value"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn", "timeRemaining"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "modifiedOn", "value"], ["id", "modifiedOn", "value"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "enabled"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ]), ); export type PatchSettingResponse = SettingsEditResult; export const PatchSettingResponse = /*@__PURE__*/ S.suspend(() => SettingsEditResult.pipe( T.EnvelopePayloadRoot(), T.KeyDictionary(KEY_DICTIONARY), ), ).annotate({ identifier: "PatchSettingResponse", }) as any as S.Schema; export type EditRequestType = "full" | "partial" | "secondary" | "internal"; export const EditRequestType = /*@__PURE__*/ S.String; export type EditRequestVanityNameServersList = Array; export const EditRequestVanityNameServersList = /*@__PURE__*/ S.Array( S.String, ) as any as S.Schema; export interface PatchZoneRequest { /** Identifier */ zoneId: string; /** Indicates whether the zone is only using Cloudflare DNS services. A */ paused?: boolean; /** A full zone implies that DNS is hosted with Cloudflare. A partial */ type?: EditRequestType | (string & {}); /** An array of domains used for custom name servers. This is only */ vanityNameServers?: EditRequestVanityNameServersList; } export const PatchZoneRequest = /*@__PURE__*/ S.suspend(() => S.Struct({ zoneId: S.String.pipe(T.Label("zone_id")), paused: S.optional(S.Boolean), type: S.optional(EditRequestType), vanityNameServers: S.optional( EditRequestVanityNameServersList.pipe(T.Body("vanity_name_servers")), ), }) .pipe(T.Http({ method: "PATCH", uri: "/zones/{zone_id}", code: 200 })) .pipe(T.KeyDictionary(KEY_DICTIONARY)), ).annotate({ identifier: "PatchZoneRequest", }) as any as S.Schema; export type EditResponseAccount = CreateResponseAccount; export const EditResponseAccount = CreateResponseAccount; export type EditResponseMeta = CreateResponseMeta; export const EditResponseMeta = CreateResponseMeta; export type EditResponseNameServersList = Array; export const EditResponseNameServersList = /*@__PURE__*/ S.Array( S.String, ) as any as S.Schema; export type EditResponseOriginalNameServersList = Array; export const EditResponseOriginalNameServersList = /*@__PURE__*/ S.Array( S.String, ) as any as S.Schema; export type EditResponseOwner = CreateResponseOwner; export const EditResponseOwner = CreateResponseOwner; export type EditResponsePlan = CreateResponsePlan; export const EditResponsePlan = CreateResponsePlan; export type EditResponsePermissionsList = Array; export const EditResponsePermissionsList = /*@__PURE__*/ S.Array( S.String, ) as any as S.Schema; export type EditResponseStatus = | "initializing" | "pending" | "active" | "moved"; export const EditResponseStatus = /*@__PURE__*/ S.String; export type EditResponseTenant = CreateResponseTenant; export const EditResponseTenant = CreateResponseTenant; export type EditResponseTenantUnit = CreateResponseTenantUnit; export const EditResponseTenantUnit = CreateResponseTenantUnit; export type EditResponseType = "full" | "partial" | "secondary" | "internal"; export const EditResponseType = /*@__PURE__*/ S.String; export type EditResponseVanityNameServersList = Array; export const EditResponseVanityNameServersList = /*@__PURE__*/ S.Array( S.String, ) as any as S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface PatchZoneResponse { /** Identifier */ id: string; /** The account the zone belongs to. */ account: CreateResponseAccount; /** The last time proof of ownership was detected and the zone was made */ activatedOn: string; /** When the zone was created. */ createdOn: string; /** The interval (in seconds) from when development mode expires */ developmentMode: number; /** Metadata about the zone. */ meta: CreateResponseMeta; /** When the zone was last modified. */ modifiedOn: string; /** The domain name. Per [RFC 1035](https://datatracker.ietf.org/doc/html/rfc1035#section-2.3.4) the overall zone name can be up to 253 characters, with each segment ("label") not exceeding 63 characters. */ name: string; /** The name servers Cloudflare assigns to a zone. */ nameServers: EditResponseNameServersList; /** DNS host at the time of switching to Cloudflare. */ originalDnshost: string; /** Original name servers before moving to Cloudflare. */ originalNameServers: EditResponseOriginalNameServersList; /** Registrar for the domain at the time of switching to Cloudflare. */ originalRegistrar: string; /** The owner of the zone. */ owner: CreateResponseOwner; /** A Zones subscription information. */ plan: CreateResponsePlan; /** Allows the customer to use a custom apex. */ cnameSuffix?: string | null; /** Indicates whether the zone is only using Cloudflare DNS services. A */ paused?: boolean | null; /** Legacy permissions based on legacy user membership information. */ permissions?: EditResponsePermissionsList | null; /** The zone status on Cloudflare. */ status?: EditResponseStatus | null; /** The root organizational unit that this zone belongs to (such as a tenant or organization). */ tenant?: CreateResponseTenant | null; /** The immediate parent organizational unit that this zone belongs to (such as under a tenant or sub-organization). */ tenantUnit?: CreateResponseTenantUnit | null; /** A full zone implies that DNS is hosted with Cloudflare. A partial zone is */ type?: EditResponseType | null; /** An array of domains used for custom name servers. This is only available for Business and Enterprise plans. */ vanityNameServers?: EditResponseVanityNameServersList | null; /** Verification key for partial zone setup. */ verificationKey?: string | null; } export const PatchZoneResponse = /*@__PURE__*/ S.suspend(() => S.Struct({ id: S.String, account: CreateResponseAccount, activatedOn: S.String.pipe(T.Body("activated_on")), createdOn: S.String.pipe(T.Body("created_on")), developmentMode: S.Number.pipe(T.Body("development_mode")), meta: CreateResponseMeta, modifiedOn: S.String.pipe(T.Body("modified_on")), name: S.String, nameServers: EditResponseNameServersList.pipe(T.Body("name_servers")), originalDnshost: S.String.pipe(T.Body("original_dnshost")), originalNameServers: EditResponseOriginalNameServersList.pipe( T.Body("original_name_servers"), ), originalRegistrar: S.String.pipe(T.Body("original_registrar")), owner: CreateResponseOwner, plan: CreateResponsePlan, cnameSuffix: S.optional(S.NullOr(S.String).pipe(T.Body("cname_suffix"))), paused: S.optional(S.NullOr(S.Boolean)), permissions: S.optional(S.NullOr(EditResponsePermissionsList)), status: S.optional(S.NullOr(EditResponseStatus)), tenant: S.optional(S.NullOr(CreateResponseTenant)), tenantUnit: S.optional( S.NullOr(CreateResponseTenantUnit).pipe(T.Body("tenant_unit")), ), type: S.optional(S.NullOr(EditResponseType)), vanityNameServers: S.optional( S.NullOr(EditResponseVanityNameServersList).pipe( T.Body("vanity_name_servers"), ), ), verificationKey: S.optional( S.NullOr(S.String).pipe(T.Body("verification_key")), ), }).pipe(T.KeyDictionary(KEY_DICTIONARY)), ).annotate({ identifier: "PatchZoneResponse", }) as any as S.Schema; export interface PutCustomNameserverRequest { /** Identifier. */ zoneId: string; /** Whether zone uses account-level custom nameservers. */ enabled?: boolean; /** The number of the name server set to assign to the zone. */ nsSet?: number; } export const PutCustomNameserverRequest = /*@__PURE__*/ S.suspend(() => S.Struct({ zoneId: S.String.pipe(T.Label("zone_id")), enabled: S.optional(S.Boolean), nsSet: S.optional(S.Number.pipe(T.Body("ns_set"))), }) .pipe( T.Http({ method: "PUT", uri: "/zones/{zone_id}/custom_ns", code: 200 }), ) .pipe(T.KeyDictionary(KEY_DICTIONARY)), ).annotate({ identifier: "PutCustomNameserverRequest", }) as any as S.Schema; export type CustomNameserversUpdateResultList = Array; export const CustomNameserversUpdateResultList = /*@__PURE__*/ S.Array( S.String, ) as any as S.Schema; export interface PutCustomNameserverResponse { /** The unwrapped `result` payload of the v4 response envelope. */ result: CustomNameserversUpdateResultList; /** Pagination info from the envelope's `result_info`. */ resultInfo?: ResultInfo | null; } export const PutCustomNameserverResponse = /*@__PURE__*/ S.suspend(() => S.Struct({ result: CustomNameserversUpdateResultList.pipe(T.EnvelopePayload()), resultInfo: S.optional(S.NullOr(ResultInfo).pipe(T.ResultInfo())), }).pipe(T.KeyDictionary(KEY_DICTIONARY)), ).annotate({ identifier: "PutCustomNameserverResponse", }) as any as S.Schema; export interface RollbackEnvironmentRequest { zoneId: string; environmentId: string; } export const RollbackEnvironmentRequest = /*@__PURE__*/ S.suspend(() => S.Struct({ zoneId: S.String.pipe(T.Label("zone_id")), environmentId: S.String.pipe(T.Label("environment_id")), }) .pipe( T.Http({ method: "POST", uri: "/zones/{zone_id}/environments/{environment_id}/rollback", code: 200, }), ) .pipe(T.KeyDictionary(KEY_DICTIONARY)), ).annotate({ identifier: "RollbackEnvironmentRequest", }) as any as S.Schema; export type EnvironmentsRollbackResponseEnvironmentsItemPosition = EnvironmentsCreateResponseEnvironmentsItemPosition; export const EnvironmentsRollbackResponseEnvironmentsItemPosition = EnvironmentsCreateResponseEnvironmentsItemPosition; export type EnvironmentsRollbackResponseEnvironmentsItem = EnvironmentsCreateResponseEnvironmentsItem; export const EnvironmentsRollbackResponseEnvironmentsItem = EnvironmentsCreateResponseEnvironmentsItem; export type EnvironmentsRollbackResponseEnvironmentsList = Array; export const EnvironmentsRollbackResponseEnvironmentsList = /*@__PURE__*/ S.Array( EnvironmentsCreateResponseEnvironmentsItem, ) as any as S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface RollbackEnvironmentResponse { environments: EnvironmentsRollbackResponseEnvironmentsList; } export const RollbackEnvironmentResponse = /*@__PURE__*/ S.suspend(() => S.Struct({ environments: EnvironmentsRollbackResponseEnvironmentsList, }).pipe(T.KeyDictionary(KEY_DICTIONARY)), ).annotate({ identifier: "RollbackEnvironmentResponse", }) as any as S.Schema; export type SettingsBulkEditRequestBodyItemZeroRTTId = "0rtt"; export const SettingsBulkEditRequestBodyItemZeroRTTId = /*@__PURE__*/ S.String; export type SettingsBulkEditRequestBodyItemZeroRTTValue = "on" | "off"; export const SettingsBulkEditRequestBodyItemZeroRTTValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditRequestBodyItemZeroRTT { /** ID of the zone setting. */ id: SettingsBulkEditRequestBodyItemZeroRTTId; /** Current value of the zone setting. */ value: SettingsBulkEditRequestBodyItemZeroRTTValue | (string & {}); /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean; /** last time this setting was modified. */ modifiedOn?: string; } export const SettingsBulkEditRequestBodyItemZeroRTT = /*@__PURE__*/ S.suspend( () => S.Struct({ id: SettingsBulkEditRequestBodyItemZeroRTTId, value: SettingsBulkEditRequestBodyItemZeroRTTValue, editable: S.optional(S.Boolean), modifiedOn: S.optional(S.String.pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemZeroRTT", }) as any as S.Schema; export type SettingsBulkEditRequestBodyItemAdvancedDDoSId = "advanced_ddos"; export const SettingsBulkEditRequestBodyItemAdvancedDDoSId = /*@__PURE__*/ S.String; export type SettingsBulkEditRequestBodyItemAdvancedDDoSValue = "on" | "off"; export const SettingsBulkEditRequestBodyItemAdvancedDDoSValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditRequestBodyItemAdvancedDDoS { /** ID of the zone setting. */ id: SettingsBulkEditRequestBodyItemAdvancedDDoSId; /** Current value of the zone setting. */ value: SettingsBulkEditRequestBodyItemAdvancedDDoSValue | (string & {}); /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean; /** last time this setting was modified. */ modifiedOn?: string; } export const SettingsBulkEditRequestBodyItemAdvancedDDoS = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditRequestBodyItemAdvancedDDoSId, value: SettingsBulkEditRequestBodyItemAdvancedDDoSValue, editable: S.optional(S.Boolean), modifiedOn: S.optional(S.String.pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemAdvancedDDoS", }) as any as S.Schema; export type SettingsBulkEditRequestBodyItemZonesCacheRulesAegisId = "aegis"; export const SettingsBulkEditRequestBodyItemZonesCacheRulesAegisId = /*@__PURE__*/ S.String; export interface SettingsBulkEditRequestBodyItemZonesCacheRulesAegisValue { /** Whether the feature is enabled or not. */ enabled?: boolean; /** Egress pool id which refers to a grouping of dedicated egress IPs through which Cloudflare will connect to origin. */ poolId?: string; } export const SettingsBulkEditRequestBodyItemZonesCacheRulesAegisValue = /*@__PURE__*/ S.suspend(() => S.Struct({ enabled: S.optional(S.Boolean), poolId: S.optional(S.String.pipe(T.Body("pool_id"))), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemZonesCacheRulesAegisValue", }) as any as S.Schema; export interface SettingsBulkEditRequestBodyItemZonesCacheRulesAegis { /** ID of the zone setting. */ id: SettingsBulkEditRequestBodyItemZonesCacheRulesAegisId; /** Last time this setting was modified. */ modifiedOn?: string; /** Value of the zone setting. */ value?: SettingsBulkEditRequestBodyItemZonesCacheRulesAegisValue; } export const SettingsBulkEditRequestBodyItemZonesCacheRulesAegis = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditRequestBodyItemZonesCacheRulesAegisId, modifiedOn: S.optional(S.String.pipe(T.Body("modified_on"))), value: S.optional( SettingsBulkEditRequestBodyItemZonesCacheRulesAegisValue, ), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemZonesCacheRulesAegis", }) as any as S.Schema; export type SettingsBulkEditRequestBodyItemAlwaysOnlineId = "always_online"; export const SettingsBulkEditRequestBodyItemAlwaysOnlineId = /*@__PURE__*/ S.String; export type SettingsBulkEditRequestBodyItemAlwaysOnlineValue = "on" | "off"; export const SettingsBulkEditRequestBodyItemAlwaysOnlineValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditRequestBodyItemAlwaysOnline { /** ID of the zone setting. */ id: SettingsBulkEditRequestBodyItemAlwaysOnlineId; /** Current value of the zone setting. */ value: SettingsBulkEditRequestBodyItemAlwaysOnlineValue | (string & {}); /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean; /** last time this setting was modified. */ modifiedOn?: string; } export const SettingsBulkEditRequestBodyItemAlwaysOnline = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditRequestBodyItemAlwaysOnlineId, value: SettingsBulkEditRequestBodyItemAlwaysOnlineValue, editable: S.optional(S.Boolean), modifiedOn: S.optional(S.String.pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemAlwaysOnline", }) as any as S.Schema; export type SettingsBulkEditRequestBodyItemZonesSchemasAlwaysUseHTTPSId = "always_use_https"; export const SettingsBulkEditRequestBodyItemZonesSchemasAlwaysUseHTTPSId = /*@__PURE__*/ S.String; export type SettingsBulkEditRequestBodyItemZonesSchemasAlwaysUseHTTPSValue = | "on" | "off"; export const SettingsBulkEditRequestBodyItemZonesSchemasAlwaysUseHTTPSValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditRequestBodyItemZonesSchemasAlwaysUseHTTPS { /** ID of the zone setting. */ id: SettingsBulkEditRequestBodyItemZonesSchemasAlwaysUseHTTPSId; /** Current value of the zone setting. */ value: | SettingsBulkEditRequestBodyItemZonesSchemasAlwaysUseHTTPSValue | (string & {}); /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean; /** last time this setting was modified. */ modifiedOn?: string; } export const SettingsBulkEditRequestBodyItemZonesSchemasAlwaysUseHTTPS = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditRequestBodyItemZonesSchemasAlwaysUseHTTPSId, value: SettingsBulkEditRequestBodyItemZonesSchemasAlwaysUseHTTPSValue, editable: S.optional(S.Boolean), modifiedOn: S.optional(S.String.pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemZonesSchemasAlwaysUseHTTPS", }) as any as S.Schema; export type SettingsBulkEditRequestBodyItemZonesSchemasAutomaticHTTPSRewritesId = "automatic_https_rewrites"; export const SettingsBulkEditRequestBodyItemZonesSchemasAutomaticHTTPSRewritesId = /*@__PURE__*/ S.String; export type SettingsBulkEditRequestBodyItemZonesSchemasAutomaticHTTPSRewritesValue = | "on" | "off"; export const SettingsBulkEditRequestBodyItemZonesSchemasAutomaticHTTPSRewritesValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditRequestBodyItemZonesSchemasAutomaticHTTPSRewrites { /** ID of the zone setting. */ id: SettingsBulkEditRequestBodyItemZonesSchemasAutomaticHTTPSRewritesId; /** Current value of the zone setting. */ value: | SettingsBulkEditRequestBodyItemZonesSchemasAutomaticHTTPSRewritesValue | (string & {}); /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean; /** last time this setting was modified. */ modifiedOn?: string; } export const SettingsBulkEditRequestBodyItemZonesSchemasAutomaticHTTPSRewrites = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditRequestBodyItemZonesSchemasAutomaticHTTPSRewritesId, value: SettingsBulkEditRequestBodyItemZonesSchemasAutomaticHTTPSRewritesValue, editable: S.optional(S.Boolean), modifiedOn: S.optional(S.String.pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemZonesSchemasAutomaticHTTPSRewrites", }) as any as S.Schema; export type SettingsBulkEditRequestBodyItemBrotliId = "brotli"; export const SettingsBulkEditRequestBodyItemBrotliId = /*@__PURE__*/ S.String; export type SettingsBulkEditRequestBodyItemBrotliValue = "off" | "on"; export const SettingsBulkEditRequestBodyItemBrotliValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditRequestBodyItemBrotli { /** ID of the zone setting. */ id: SettingsBulkEditRequestBodyItemBrotliId; /** Current value of the zone setting. */ value: SettingsBulkEditRequestBodyItemBrotliValue | (string & {}); /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean; /** last time this setting was modified. */ modifiedOn?: string; } export const SettingsBulkEditRequestBodyItemBrotli = /*@__PURE__*/ S.suspend( () => S.Struct({ id: SettingsBulkEditRequestBodyItemBrotliId, value: SettingsBulkEditRequestBodyItemBrotliValue, editable: S.optional(S.Boolean), modifiedOn: S.optional(S.String.pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemBrotli", }) as any as S.Schema; export type SettingsBulkEditRequestBodyItemZonesSchemasBrowserCacheTTLId = "browser_cache_ttl"; export const SettingsBulkEditRequestBodyItemZonesSchemasBrowserCacheTTLId = /*@__PURE__*/ S.String; export interface SettingsBulkEditRequestBodyItemZonesSchemasBrowserCacheTTL { /** ID of the zone setting. */ id: SettingsBulkEditRequestBodyItemZonesSchemasBrowserCacheTTLId; /** Current value of the zone setting. */ value: number; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean; /** last time this setting was modified. */ modifiedOn?: string; } export const SettingsBulkEditRequestBodyItemZonesSchemasBrowserCacheTTL = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditRequestBodyItemZonesSchemasBrowserCacheTTLId, value: S.Number, editable: S.optional(S.Boolean), modifiedOn: S.optional(S.String.pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemZonesSchemasBrowserCacheTTL", }) as any as S.Schema; export type SettingsBulkEditRequestBodyItemZonesSchemasBrowserCheckId = "browser_check"; export const SettingsBulkEditRequestBodyItemZonesSchemasBrowserCheckId = /*@__PURE__*/ S.String; export type SettingsBulkEditRequestBodyItemZonesSchemasBrowserCheckValue = | "on" | "off"; export const SettingsBulkEditRequestBodyItemZonesSchemasBrowserCheckValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditRequestBodyItemZonesSchemasBrowserCheck { /** ID of the zone setting. */ id: SettingsBulkEditRequestBodyItemZonesSchemasBrowserCheckId; /** Current value of the zone setting. */ value: | SettingsBulkEditRequestBodyItemZonesSchemasBrowserCheckValue | (string & {}); /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean; /** last time this setting was modified. */ modifiedOn?: string; } export const SettingsBulkEditRequestBodyItemZonesSchemasBrowserCheck = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditRequestBodyItemZonesSchemasBrowserCheckId, value: SettingsBulkEditRequestBodyItemZonesSchemasBrowserCheckValue, editable: S.optional(S.Boolean), modifiedOn: S.optional(S.String.pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemZonesSchemasBrowserCheck", }) as any as S.Schema; export type SettingsBulkEditRequestBodyItemZonesSchemasCacheLevelId = "cache_level"; export const SettingsBulkEditRequestBodyItemZonesSchemasCacheLevelId = /*@__PURE__*/ S.String; export type SettingsBulkEditRequestBodyItemZonesSchemasCacheLevelValue = | "aggressive" | "basic" | "simplified"; export const SettingsBulkEditRequestBodyItemZonesSchemasCacheLevelValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditRequestBodyItemZonesSchemasCacheLevel { /** ID of the zone setting. */ id: SettingsBulkEditRequestBodyItemZonesSchemasCacheLevelId; /** Current value of the zone setting. */ value: | SettingsBulkEditRequestBodyItemZonesSchemasCacheLevelValue | (string & {}); /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean; /** last time this setting was modified. */ modifiedOn?: string; } export const SettingsBulkEditRequestBodyItemZonesSchemasCacheLevel = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditRequestBodyItemZonesSchemasCacheLevelId, value: SettingsBulkEditRequestBodyItemZonesSchemasCacheLevelValue, editable: S.optional(S.Boolean), modifiedOn: S.optional(S.String.pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemZonesSchemasCacheLevel", }) as any as S.Schema; export type SettingsBulkEditRequestBodyItemChallengeTTLId = "challenge_ttl"; export const SettingsBulkEditRequestBodyItemChallengeTTLId = /*@__PURE__*/ S.String; export type SettingsBulkEditRequestBodyItemChallengeTTLValue = | 300 | 900 | 1800 | 2700 | 3600 | 7200 | 10800 | 14400 | 28800 | 57600 | 86400 | 604800 | 2592000 | 31536000; export const SettingsBulkEditRequestBodyItemChallengeTTLValue = /*@__PURE__*/ S.Number; export interface SettingsBulkEditRequestBodyItemChallengeTTL { /** ID of the zone setting. */ id: SettingsBulkEditRequestBodyItemChallengeTTLId; /** Current value of the zone setting. */ value: SettingsBulkEditRequestBodyItemChallengeTTLValue | (number & {}); /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean; /** last time this setting was modified. */ modifiedOn?: string; } export const SettingsBulkEditRequestBodyItemChallengeTTL = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditRequestBodyItemChallengeTTLId, value: SettingsBulkEditRequestBodyItemChallengeTTLValue, editable: S.optional(S.Boolean), modifiedOn: S.optional(S.String.pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemChallengeTTL", }) as any as S.Schema; export type SettingsBulkEditRequestBodyItemZonesChinaNetworkEnabledId = "china_network_enabled"; export const SettingsBulkEditRequestBodyItemZonesChinaNetworkEnabledId = /*@__PURE__*/ S.String; export type SettingsBulkEditRequestBodyItemZonesChinaNetworkEnabledValue = | "on" | "off"; export const SettingsBulkEditRequestBodyItemZonesChinaNetworkEnabledValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditRequestBodyItemZonesChinaNetworkEnabled { /** ID of the zone setting. */ id: SettingsBulkEditRequestBodyItemZonesChinaNetworkEnabledId; /** Current value of the zone setting. */ value: | SettingsBulkEditRequestBodyItemZonesChinaNetworkEnabledValue | (string & {}); /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean; /** last time this setting was modified. */ modifiedOn?: string; } export const SettingsBulkEditRequestBodyItemZonesChinaNetworkEnabled = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditRequestBodyItemZonesChinaNetworkEnabledId, value: SettingsBulkEditRequestBodyItemZonesChinaNetworkEnabledValue, editable: S.optional(S.Boolean), modifiedOn: S.optional(S.String.pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemZonesChinaNetworkEnabled", }) as any as S.Schema; export type SettingsBulkEditRequestBodyItemZonesContentConverterId = "content_converter"; export const SettingsBulkEditRequestBodyItemZonesContentConverterId = /*@__PURE__*/ S.String; export type SettingsBulkEditRequestBodyItemZonesContentConverterValue = | "off" | "on"; export const SettingsBulkEditRequestBodyItemZonesContentConverterValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditRequestBodyItemZonesContentConverter { /** ID of the zone setting. */ id: SettingsBulkEditRequestBodyItemZonesContentConverterId; /** Current value of the zone setting. */ value: | SettingsBulkEditRequestBodyItemZonesContentConverterValue | (string & {}); /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean; /** last time this setting was modified. */ modifiedOn?: string; } export const SettingsBulkEditRequestBodyItemZonesContentConverter = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditRequestBodyItemZonesContentConverterId, value: SettingsBulkEditRequestBodyItemZonesContentConverterValue, editable: S.optional(S.Boolean), modifiedOn: S.optional(S.String.pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemZonesContentConverter", }) as any as S.Schema; export type SettingsBulkEditRequestBodyItemCiphersId = "ciphers"; export const SettingsBulkEditRequestBodyItemCiphersId = /*@__PURE__*/ S.String; export type SettingsBulkEditRequestBodyItemCiphersValueList = Array; export const SettingsBulkEditRequestBodyItemCiphersValueList = /*@__PURE__*/ S.Array( S.String, ) as any as S.Schema; export interface SettingsBulkEditRequestBodyItemCiphers { /** ID of the zone setting. */ id: SettingsBulkEditRequestBodyItemCiphersId; /** Current value of the zone setting. */ value: SettingsBulkEditRequestBodyItemCiphersValueList; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean; /** last time this setting was modified. */ modifiedOn?: string; } export const SettingsBulkEditRequestBodyItemCiphers = /*@__PURE__*/ S.suspend( () => S.Struct({ id: SettingsBulkEditRequestBodyItemCiphersId, value: SettingsBulkEditRequestBodyItemCiphersValueList, editable: S.optional(S.Boolean), modifiedOn: S.optional(S.String.pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemCiphers", }) as any as S.Schema; export type SettingsBulkEditRequestBodyItemZonesCNAMEFlatteningId = "cname_flattening"; export const SettingsBulkEditRequestBodyItemZonesCNAMEFlatteningId = /*@__PURE__*/ S.String; export type SettingsBulkEditRequestBodyItemZonesCNAMEFlatteningValue = | "flatten_at_root" | "flatten_all"; export const SettingsBulkEditRequestBodyItemZonesCNAMEFlatteningValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditRequestBodyItemZonesCNAMEFlattening { /** How to flatten the cname destination. */ id: SettingsBulkEditRequestBodyItemZonesCNAMEFlatteningId; /** Current value of the zone setting. */ value: | SettingsBulkEditRequestBodyItemZonesCNAMEFlatteningValue | (string & {}); /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean; /** last time this setting was modified. */ modifiedOn?: string; } export const SettingsBulkEditRequestBodyItemZonesCNAMEFlattening = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditRequestBodyItemZonesCNAMEFlatteningId, value: SettingsBulkEditRequestBodyItemZonesCNAMEFlatteningValue, editable: S.optional(S.Boolean), modifiedOn: S.optional(S.String.pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemZonesCNAMEFlattening", }) as any as S.Schema; export type SettingsBulkEditRequestBodyItemDevelopmentModeId = "development_mode"; export const SettingsBulkEditRequestBodyItemDevelopmentModeId = /*@__PURE__*/ S.String; export type SettingsBulkEditRequestBodyItemDevelopmentModeValue = "on" | "off"; export const SettingsBulkEditRequestBodyItemDevelopmentModeValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditRequestBodyItemDevelopmentMode { /** ID of the zone setting. */ id: SettingsBulkEditRequestBodyItemDevelopmentModeId; /** Current value of the zone setting. */ value: SettingsBulkEditRequestBodyItemDevelopmentModeValue | (string & {}); /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean; /** last time this setting was modified. */ modifiedOn?: string; /** Value of the zone setting. */ timeRemaining?: number; } export const SettingsBulkEditRequestBodyItemDevelopmentMode = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditRequestBodyItemDevelopmentModeId, value: SettingsBulkEditRequestBodyItemDevelopmentModeValue, editable: S.optional(S.Boolean), modifiedOn: S.optional(S.String.pipe(T.Body("modified_on"))), timeRemaining: S.optional(S.Number.pipe(T.Body("time_remaining"))), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemDevelopmentMode", }) as any as S.Schema; export type SettingsBulkEditRequestBodyItemEarlyHintsId = "early_hints"; export const SettingsBulkEditRequestBodyItemEarlyHintsId = /*@__PURE__*/ S.String; export type SettingsBulkEditRequestBodyItemEarlyHintsValue = "on" | "off"; export const SettingsBulkEditRequestBodyItemEarlyHintsValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditRequestBodyItemEarlyHints { /** ID of the zone setting. */ id: SettingsBulkEditRequestBodyItemEarlyHintsId; /** Current value of the zone setting. */ value: SettingsBulkEditRequestBodyItemEarlyHintsValue | (string & {}); /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean; /** last time this setting was modified. */ modifiedOn?: string; } export const SettingsBulkEditRequestBodyItemEarlyHints = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditRequestBodyItemEarlyHintsId, value: SettingsBulkEditRequestBodyItemEarlyHintsValue, editable: S.optional(S.Boolean), modifiedOn: S.optional(S.String.pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemEarlyHints", }) as any as S.Schema; export type SettingsBulkEditRequestBodyItemZonesSchemasEdgeCacheTTLId = "edge_cache_ttl"; export const SettingsBulkEditRequestBodyItemZonesSchemasEdgeCacheTTLId = /*@__PURE__*/ S.String; export type SettingsBulkEditRequestBodyItemZonesSchemasEdgeCacheTTLValue = | 30 | 60 | 300 | 1200 | 1800 | 3600 | 7200 | 10800 | 14400 | 18000 | 28800 | 43200 | 57600 | 72000 | 86400 | 172800 | 259200 | 345600 | 432000 | 518400 | 604800; export const SettingsBulkEditRequestBodyItemZonesSchemasEdgeCacheTTLValue = /*@__PURE__*/ S.Number; export interface SettingsBulkEditRequestBodyItemZonesSchemasEdgeCacheTTL { /** ID of the zone setting. */ id: SettingsBulkEditRequestBodyItemZonesSchemasEdgeCacheTTLId; /** Current value of the zone setting. */ value: | SettingsBulkEditRequestBodyItemZonesSchemasEdgeCacheTTLValue | (number & {}); /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean; /** last time this setting was modified. */ modifiedOn?: string; } export const SettingsBulkEditRequestBodyItemZonesSchemasEdgeCacheTTL = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditRequestBodyItemZonesSchemasEdgeCacheTTLId, value: SettingsBulkEditRequestBodyItemZonesSchemasEdgeCacheTTLValue, editable: S.optional(S.Boolean), modifiedOn: S.optional(S.String.pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemZonesSchemasEdgeCacheTTL", }) as any as S.Schema; export type SettingsBulkEditRequestBodyItemZonesSchemasEmailObfuscationId = "email_obfuscation"; export const SettingsBulkEditRequestBodyItemZonesSchemasEmailObfuscationId = /*@__PURE__*/ S.String; export type SettingsBulkEditRequestBodyItemZonesSchemasEmailObfuscationValue = | "on" | "off"; export const SettingsBulkEditRequestBodyItemZonesSchemasEmailObfuscationValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditRequestBodyItemZonesSchemasEmailObfuscation { /** ID of the zone setting. */ id: SettingsBulkEditRequestBodyItemZonesSchemasEmailObfuscationId; /** Current value of the zone setting. */ value: | SettingsBulkEditRequestBodyItemZonesSchemasEmailObfuscationValue | (string & {}); /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean; /** last time this setting was modified. */ modifiedOn?: string; } export const SettingsBulkEditRequestBodyItemZonesSchemasEmailObfuscation = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditRequestBodyItemZonesSchemasEmailObfuscationId, value: SettingsBulkEditRequestBodyItemZonesSchemasEmailObfuscationValue, editable: S.optional(S.Boolean), modifiedOn: S.optional(S.String.pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemZonesSchemasEmailObfuscation", }) as any as S.Schema; export type SettingsBulkEditRequestBodyItemH2PrioritizationId = "h2_prioritization"; export const SettingsBulkEditRequestBodyItemH2PrioritizationId = /*@__PURE__*/ S.String; export type SettingsBulkEditRequestBodyItemH2PrioritizationValue = | "on" | "off" | "custom"; export const SettingsBulkEditRequestBodyItemH2PrioritizationValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditRequestBodyItemH2Prioritization { /** ID of the zone setting. */ id: SettingsBulkEditRequestBodyItemH2PrioritizationId; /** Current value of the zone setting. */ value: SettingsBulkEditRequestBodyItemH2PrioritizationValue | (string & {}); /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean; /** last time this setting was modified. */ modifiedOn?: string; } export const SettingsBulkEditRequestBodyItemH2Prioritization = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditRequestBodyItemH2PrioritizationId, value: SettingsBulkEditRequestBodyItemH2PrioritizationValue, editable: S.optional(S.Boolean), modifiedOn: S.optional(S.String.pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemH2Prioritization", }) as any as S.Schema; export type SettingsBulkEditRequestBodyItemHotlinkProtectionId = "hotlink_protection"; export const SettingsBulkEditRequestBodyItemHotlinkProtectionId = /*@__PURE__*/ S.String; export type SettingsBulkEditRequestBodyItemHotlinkProtectionValue = | "on" | "off"; export const SettingsBulkEditRequestBodyItemHotlinkProtectionValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditRequestBodyItemHotlinkProtection { /** ID of the zone setting. */ id: SettingsBulkEditRequestBodyItemHotlinkProtectionId; /** Current value of the zone setting. */ value: SettingsBulkEditRequestBodyItemHotlinkProtectionValue | (string & {}); /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean; /** last time this setting was modified. */ modifiedOn?: string; } export const SettingsBulkEditRequestBodyItemHotlinkProtection = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditRequestBodyItemHotlinkProtectionId, value: SettingsBulkEditRequestBodyItemHotlinkProtectionValue, editable: S.optional(S.Boolean), modifiedOn: S.optional(S.String.pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemHotlinkProtection", }) as any as S.Schema; export type SettingsBulkEditRequestBodyItemHTTP2Id = "http2"; export const SettingsBulkEditRequestBodyItemHTTP2Id = /*@__PURE__*/ S.String; export type SettingsBulkEditRequestBodyItemHTTP2Value = "on" | "off"; export const SettingsBulkEditRequestBodyItemHTTP2Value = /*@__PURE__*/ S.String; export interface SettingsBulkEditRequestBodyItemHTTP2 { /** ID of the zone setting. */ id: SettingsBulkEditRequestBodyItemHTTP2Id; /** Current value of the zone setting. */ value: SettingsBulkEditRequestBodyItemHTTP2Value | (string & {}); /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean; /** last time this setting was modified. */ modifiedOn?: string; } export const SettingsBulkEditRequestBodyItemHTTP2 = /*@__PURE__*/ S.suspend( () => S.Struct({ id: SettingsBulkEditRequestBodyItemHTTP2Id, value: SettingsBulkEditRequestBodyItemHTTP2Value, editable: S.optional(S.Boolean), modifiedOn: S.optional(S.String.pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemHTTP2", }) as any as S.Schema; export type SettingsBulkEditRequestBodyItemHTTP3Id = "http3"; export const SettingsBulkEditRequestBodyItemHTTP3Id = /*@__PURE__*/ S.String; export type SettingsBulkEditRequestBodyItemHTTP3Value = "on" | "off"; export const SettingsBulkEditRequestBodyItemHTTP3Value = /*@__PURE__*/ S.String; export interface SettingsBulkEditRequestBodyItemHTTP3 { /** ID of the zone setting. */ id: SettingsBulkEditRequestBodyItemHTTP3Id; /** Current value of the zone setting. */ value: SettingsBulkEditRequestBodyItemHTTP3Value | (string & {}); /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean; /** last time this setting was modified. */ modifiedOn?: string; } export const SettingsBulkEditRequestBodyItemHTTP3 = /*@__PURE__*/ S.suspend( () => S.Struct({ id: SettingsBulkEditRequestBodyItemHTTP3Id, value: SettingsBulkEditRequestBodyItemHTTP3Value, editable: S.optional(S.Boolean), modifiedOn: S.optional(S.String.pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemHTTP3", }) as any as S.Schema; export type SettingsBulkEditRequestBodyItemZonesSchemasIPGeolocationId = "ip_geolocation"; export const SettingsBulkEditRequestBodyItemZonesSchemasIPGeolocationId = /*@__PURE__*/ S.String; export type SettingsBulkEditRequestBodyItemZonesSchemasIPGeolocationValue = | "on" | "off"; export const SettingsBulkEditRequestBodyItemZonesSchemasIPGeolocationValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditRequestBodyItemZonesSchemasIPGeolocation { /** ID of the zone setting. */ id: SettingsBulkEditRequestBodyItemZonesSchemasIPGeolocationId; /** Current value of the zone setting. */ value: | SettingsBulkEditRequestBodyItemZonesSchemasIPGeolocationValue | (string & {}); /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean; /** last time this setting was modified. */ modifiedOn?: string; } export const SettingsBulkEditRequestBodyItemZonesSchemasIPGeolocation = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditRequestBodyItemZonesSchemasIPGeolocationId, value: SettingsBulkEditRequestBodyItemZonesSchemasIPGeolocationValue, editable: S.optional(S.Boolean), modifiedOn: S.optional(S.String.pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemZonesSchemasIPGeolocation", }) as any as S.Schema; export type SettingsBulkEditRequestBodyItemIPV6Id = "ipv6"; export const SettingsBulkEditRequestBodyItemIPV6Id = /*@__PURE__*/ S.String; export type SettingsBulkEditRequestBodyItemIPV6Value = "off" | "on"; export const SettingsBulkEditRequestBodyItemIPV6Value = /*@__PURE__*/ S.String; export interface SettingsBulkEditRequestBodyItemIPV6 { /** ID of the zone setting. */ id: SettingsBulkEditRequestBodyItemIPV6Id; /** Current value of the zone setting. */ value: SettingsBulkEditRequestBodyItemIPV6Value | (string & {}); /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean; /** last time this setting was modified. */ modifiedOn?: string; } export const SettingsBulkEditRequestBodyItemIPV6 = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditRequestBodyItemIPV6Id, value: SettingsBulkEditRequestBodyItemIPV6Value, editable: S.optional(S.Boolean), modifiedOn: S.optional(S.String.pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemIPV6", }) as any as S.Schema; export type SettingsBulkEditRequestBodyItemZonesMaxUploadId = "max_upload"; export const SettingsBulkEditRequestBodyItemZonesMaxUploadId = /*@__PURE__*/ S.String; export type SettingsBulkEditRequestBodyItemZonesMaxUploadValue = | 100 | 125 | 150 | 175 | 200 | 225 | 250 | 275 | 300 | 325 | 350 | 375 | 400 | 425 | 450 | 475 | 500 | 1000; export const SettingsBulkEditRequestBodyItemZonesMaxUploadValue = /*@__PURE__*/ S.Number; export interface SettingsBulkEditRequestBodyItemZonesMaxUpload { /** identifier of the zone setting. */ id: SettingsBulkEditRequestBodyItemZonesMaxUploadId; /** Current value of the zone setting. */ value: SettingsBulkEditRequestBodyItemZonesMaxUploadValue | (number & {}); /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean; /** last time this setting was modified. */ modifiedOn?: string; } export const SettingsBulkEditRequestBodyItemZonesMaxUpload = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditRequestBodyItemZonesMaxUploadId, value: SettingsBulkEditRequestBodyItemZonesMaxUploadValue, editable: S.optional(S.Boolean), modifiedOn: S.optional(S.String.pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemZonesMaxUpload", }) as any as S.Schema; export type SettingsBulkEditRequestBodyItemMinTLSVersionId = "min_tls_version"; export const SettingsBulkEditRequestBodyItemMinTLSVersionId = /*@__PURE__*/ S.String; export type SettingsBulkEditRequestBodyItemMinTLSVersionValue = | "1.0" | "1.1" | "1.2" | "1.3"; export const SettingsBulkEditRequestBodyItemMinTLSVersionValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditRequestBodyItemMinTLSVersion { /** ID of the zone setting. */ id: SettingsBulkEditRequestBodyItemMinTLSVersionId; /** Current value of the zone setting. */ value: SettingsBulkEditRequestBodyItemMinTLSVersionValue | (string & {}); /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean; /** last time this setting was modified. */ modifiedOn?: string; } export const SettingsBulkEditRequestBodyItemMinTLSVersion = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditRequestBodyItemMinTLSVersionId, value: SettingsBulkEditRequestBodyItemMinTLSVersionValue, editable: S.optional(S.Boolean), modifiedOn: S.optional(S.String.pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemMinTLSVersion", }) as any as S.Schema; export type SettingsBulkEditRequestBodyItemZonesSchemasMirageId = "mirage"; export const SettingsBulkEditRequestBodyItemZonesSchemasMirageId = /*@__PURE__*/ S.String; export type SettingsBulkEditRequestBodyItemZonesSchemasMirageValue = | "on" | "off"; export const SettingsBulkEditRequestBodyItemZonesSchemasMirageValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditRequestBodyItemZonesSchemasMirage { /** ID of the zone setting. */ id: SettingsBulkEditRequestBodyItemZonesSchemasMirageId; /** Current value of the zone setting. */ value: SettingsBulkEditRequestBodyItemZonesSchemasMirageValue | (string & {}); /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean; /** last time this setting was modified. */ modifiedOn?: string; } export const SettingsBulkEditRequestBodyItemZonesSchemasMirage = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditRequestBodyItemZonesSchemasMirageId, value: SettingsBulkEditRequestBodyItemZonesSchemasMirageValue, editable: S.optional(S.Boolean), modifiedOn: S.optional(S.String.pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemZonesSchemasMirage", }) as any as S.Schema; export type SettingsBulkEditRequestBodyItemNELId = "nel"; export const SettingsBulkEditRequestBodyItemNELId = /*@__PURE__*/ S.String; export interface SettingsBulkEditRequestBodyItemNELValue { enabled?: boolean; } export const SettingsBulkEditRequestBodyItemNELValue = /*@__PURE__*/ S.suspend( () => S.Struct({ enabled: S.optional(S.Boolean), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemNELValue", }) as any as S.Schema; export interface SettingsBulkEditRequestBodyItemNEL { /** Zone setting identifier. */ id: SettingsBulkEditRequestBodyItemNELId; /** Current value of the zone setting. */ value: SettingsBulkEditRequestBodyItemNELValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean; /** last time this setting was modified. */ modifiedOn?: string; } export const SettingsBulkEditRequestBodyItemNEL = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditRequestBodyItemNELId, value: SettingsBulkEditRequestBodyItemNELValue, editable: S.optional(S.Boolean), modifiedOn: S.optional(S.String.pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemNEL", }) as any as S.Schema; export type SettingsBulkEditRequestBodyItemZonesSchemasOpportunisticEncryptionId = "opportunistic_encryption"; export const SettingsBulkEditRequestBodyItemZonesSchemasOpportunisticEncryptionId = /*@__PURE__*/ S.String; export type SettingsBulkEditRequestBodyItemZonesSchemasOpportunisticEncryptionValue = | "on" | "off"; export const SettingsBulkEditRequestBodyItemZonesSchemasOpportunisticEncryptionValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditRequestBodyItemZonesSchemasOpportunisticEncryption { /** ID of the zone setting. */ id: SettingsBulkEditRequestBodyItemZonesSchemasOpportunisticEncryptionId; /** Current value of the zone setting. */ value: | SettingsBulkEditRequestBodyItemZonesSchemasOpportunisticEncryptionValue | (string & {}); /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean; /** last time this setting was modified. */ modifiedOn?: string; } export const SettingsBulkEditRequestBodyItemZonesSchemasOpportunisticEncryption = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditRequestBodyItemZonesSchemasOpportunisticEncryptionId, value: SettingsBulkEditRequestBodyItemZonesSchemasOpportunisticEncryptionValue, editable: S.optional(S.Boolean), modifiedOn: S.optional(S.String.pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemZonesSchemasOpportunisticEncryption", }) as any as S.Schema; export type SettingsBulkEditRequestBodyItemOpportunisticOnionId = "opportunistic_onion"; export const SettingsBulkEditRequestBodyItemOpportunisticOnionId = /*@__PURE__*/ S.String; export type SettingsBulkEditRequestBodyItemOpportunisticOnionValue = | "on" | "off"; export const SettingsBulkEditRequestBodyItemOpportunisticOnionValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditRequestBodyItemOpportunisticOnion { /** ID of the zone setting. */ id: SettingsBulkEditRequestBodyItemOpportunisticOnionId; /** Current value of the zone setting. */ value: SettingsBulkEditRequestBodyItemOpportunisticOnionValue | (string & {}); /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean; /** last time this setting was modified. */ modifiedOn?: string; } export const SettingsBulkEditRequestBodyItemOpportunisticOnion = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditRequestBodyItemOpportunisticOnionId, value: SettingsBulkEditRequestBodyItemOpportunisticOnionValue, editable: S.optional(S.Boolean), modifiedOn: S.optional(S.String.pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemOpportunisticOnion", }) as any as S.Schema; export type SettingsBulkEditRequestBodyItemOrangeToOrangeId = "orange_to_orange"; export const SettingsBulkEditRequestBodyItemOrangeToOrangeId = /*@__PURE__*/ S.String; export type SettingsBulkEditRequestBodyItemOrangeToOrangeValue = "on" | "off"; export const SettingsBulkEditRequestBodyItemOrangeToOrangeValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditRequestBodyItemOrangeToOrange { /** ID of the zone setting. */ id: SettingsBulkEditRequestBodyItemOrangeToOrangeId; /** Current value of the zone setting. */ value: SettingsBulkEditRequestBodyItemOrangeToOrangeValue | (string & {}); /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean; /** last time this setting was modified. */ modifiedOn?: string; } export const SettingsBulkEditRequestBodyItemOrangeToOrange = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditRequestBodyItemOrangeToOrangeId, value: SettingsBulkEditRequestBodyItemOrangeToOrangeValue, editable: S.optional(S.Boolean), modifiedOn: S.optional(S.String.pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemOrangeToOrange", }) as any as S.Schema; export type SettingsBulkEditRequestBodyItemZonesSchemasOriginErrorPagePassThruId = "origin_error_page_pass_thru"; export const SettingsBulkEditRequestBodyItemZonesSchemasOriginErrorPagePassThruId = /*@__PURE__*/ S.String; export type SettingsBulkEditRequestBodyItemZonesSchemasOriginErrorPagePassThruValue = | "on" | "off"; export const SettingsBulkEditRequestBodyItemZonesSchemasOriginErrorPagePassThruValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditRequestBodyItemZonesSchemasOriginErrorPagePassThru { /** ID of the zone setting. */ id: SettingsBulkEditRequestBodyItemZonesSchemasOriginErrorPagePassThruId; /** Current value of the zone setting. */ value: | SettingsBulkEditRequestBodyItemZonesSchemasOriginErrorPagePassThruValue | (string & {}); /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean; /** last time this setting was modified. */ modifiedOn?: string; } export const SettingsBulkEditRequestBodyItemZonesSchemasOriginErrorPagePassThru = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditRequestBodyItemZonesSchemasOriginErrorPagePassThruId, value: SettingsBulkEditRequestBodyItemZonesSchemasOriginErrorPagePassThruValue, editable: S.optional(S.Boolean), modifiedOn: S.optional(S.String.pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemZonesSchemasOriginErrorPagePassThru", }) as any as S.Schema; export type SettingsBulkEditRequestBodyItemZonesCacheRulesOriginH2MaxStreamsId = "origin_h2_max_streams"; export const SettingsBulkEditRequestBodyItemZonesCacheRulesOriginH2MaxStreamsId = /*@__PURE__*/ S.String; export interface SettingsBulkEditRequestBodyItemZonesCacheRulesOriginH2MaxStreams { /** Value of the zone setting. */ id: SettingsBulkEditRequestBodyItemZonesCacheRulesOriginH2MaxStreamsId; /** Last time this setting was modified. */ modifiedOn?: string; /** Value of the Origin H2 Max Streams Setting. */ value?: number; } export const SettingsBulkEditRequestBodyItemZonesCacheRulesOriginH2MaxStreams = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditRequestBodyItemZonesCacheRulesOriginH2MaxStreamsId, modifiedOn: S.optional(S.String.pipe(T.Body("modified_on"))), value: S.optional(S.Number), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemZonesCacheRulesOriginH2MaxStreams", }) as any as S.Schema; export type SettingsBulkEditRequestBodyItemZonesCacheRulesOriginMaxHTTPVersionId = "origin_max_http_version"; export const SettingsBulkEditRequestBodyItemZonesCacheRulesOriginMaxHTTPVersionId = /*@__PURE__*/ S.String; export type SettingsBulkEditRequestBodyItemZonesCacheRulesOriginMaxHTTPVersionValue = | "2" | "1"; export const SettingsBulkEditRequestBodyItemZonesCacheRulesOriginMaxHTTPVersionValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditRequestBodyItemZonesCacheRulesOriginMaxHTTPVersion { /** Value of the zone setting. */ id: SettingsBulkEditRequestBodyItemZonesCacheRulesOriginMaxHTTPVersionId; /** Last time this setting was modified. */ modifiedOn?: string; /** Value of the Origin Max HTTP Version Setting. */ value?: | SettingsBulkEditRequestBodyItemZonesCacheRulesOriginMaxHTTPVersionValue | (string & {}); } export const SettingsBulkEditRequestBodyItemZonesCacheRulesOriginMaxHTTPVersion = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditRequestBodyItemZonesCacheRulesOriginMaxHTTPVersionId, modifiedOn: S.optional(S.String.pipe(T.Body("modified_on"))), value: S.optional( SettingsBulkEditRequestBodyItemZonesCacheRulesOriginMaxHTTPVersionValue, ), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemZonesCacheRulesOriginMaxHTTPVersion", }) as any as S.Schema; export type SettingsBulkEditRequestBodyItemZonesSchemasPolishId = "polish"; export const SettingsBulkEditRequestBodyItemZonesSchemasPolishId = /*@__PURE__*/ S.String; export type SettingsBulkEditRequestBodyItemZonesSchemasPolishValue = | "off" | "lossless" | "lossy"; export const SettingsBulkEditRequestBodyItemZonesSchemasPolishValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditRequestBodyItemZonesSchemasPolish { /** ID of the zone setting. */ id: SettingsBulkEditRequestBodyItemZonesSchemasPolishId; /** Current value of the zone setting. */ value: SettingsBulkEditRequestBodyItemZonesSchemasPolishValue | (string & {}); /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean; /** last time this setting was modified. */ modifiedOn?: string; } export const SettingsBulkEditRequestBodyItemZonesSchemasPolish = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditRequestBodyItemZonesSchemasPolishId, value: SettingsBulkEditRequestBodyItemZonesSchemasPolishValue, editable: S.optional(S.Boolean), modifiedOn: S.optional(S.String.pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemZonesSchemasPolish", }) as any as S.Schema; export type SettingsBulkEditRequestBodyItemPrefetchPreloadId = "prefetch_preload"; export const SettingsBulkEditRequestBodyItemPrefetchPreloadId = /*@__PURE__*/ S.String; export type SettingsBulkEditRequestBodyItemPrefetchPreloadValue = "on" | "off"; export const SettingsBulkEditRequestBodyItemPrefetchPreloadValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditRequestBodyItemPrefetchPreload { /** ID of the zone setting. */ id: SettingsBulkEditRequestBodyItemPrefetchPreloadId; /** Current value of the zone setting. */ value: SettingsBulkEditRequestBodyItemPrefetchPreloadValue | (string & {}); /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean; /** last time this setting was modified. */ modifiedOn?: string; } export const SettingsBulkEditRequestBodyItemPrefetchPreload = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditRequestBodyItemPrefetchPreloadId, value: SettingsBulkEditRequestBodyItemPrefetchPreloadValue, editable: S.optional(S.Boolean), modifiedOn: S.optional(S.String.pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemPrefetchPreload", }) as any as S.Schema; export type SettingsBulkEditRequestBodyItemZonesPrivacyPassId = "privacy_pass"; export const SettingsBulkEditRequestBodyItemZonesPrivacyPassId = /*@__PURE__*/ S.String; export type SettingsBulkEditRequestBodyItemZonesPrivacyPassValue = "on" | "off"; export const SettingsBulkEditRequestBodyItemZonesPrivacyPassValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditRequestBodyItemZonesPrivacyPass { /** ID of the zone setting. */ id: SettingsBulkEditRequestBodyItemZonesPrivacyPassId; /** Current value of the zone setting. */ value: SettingsBulkEditRequestBodyItemZonesPrivacyPassValue | (string & {}); /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean; /** last time this setting was modified. */ modifiedOn?: string; } export const SettingsBulkEditRequestBodyItemZonesPrivacyPass = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditRequestBodyItemZonesPrivacyPassId, value: SettingsBulkEditRequestBodyItemZonesPrivacyPassValue, editable: S.optional(S.Boolean), modifiedOn: S.optional(S.String.pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemZonesPrivacyPass", }) as any as S.Schema; export type SettingsBulkEditRequestBodyItemProxyReadTimeoutId = "proxy_read_timeout"; export const SettingsBulkEditRequestBodyItemProxyReadTimeoutId = /*@__PURE__*/ S.String; export interface SettingsBulkEditRequestBodyItemProxyReadTimeout { /** ID of the zone setting. */ id: SettingsBulkEditRequestBodyItemProxyReadTimeoutId; /** Current value of the zone setting. */ value: number; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean; /** last time this setting was modified. */ modifiedOn?: string; } export const SettingsBulkEditRequestBodyItemProxyReadTimeout = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditRequestBodyItemProxyReadTimeoutId, value: S.Number, editable: S.optional(S.Boolean), modifiedOn: S.optional(S.String.pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemProxyReadTimeout", }) as any as S.Schema; export type SettingsBulkEditRequestBodyItemPseudoIPV4Id = "pseudo_ipv4"; export const SettingsBulkEditRequestBodyItemPseudoIPV4Id = /*@__PURE__*/ S.String; export type SettingsBulkEditRequestBodyItemPseudoIPV4Value = | "off" | "add_header" | "overwrite_header"; export const SettingsBulkEditRequestBodyItemPseudoIPV4Value = /*@__PURE__*/ S.String; export interface SettingsBulkEditRequestBodyItemPseudoIPV4 { /** Value of the Pseudo IPv4 setting. */ id: SettingsBulkEditRequestBodyItemPseudoIPV4Id; /** Current value of the zone setting. */ value: SettingsBulkEditRequestBodyItemPseudoIPV4Value | (string & {}); /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean; /** last time this setting was modified. */ modifiedOn?: string; } export const SettingsBulkEditRequestBodyItemPseudoIPV4 = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditRequestBodyItemPseudoIPV4Id, value: SettingsBulkEditRequestBodyItemPseudoIPV4Value, editable: S.optional(S.Boolean), modifiedOn: S.optional(S.String.pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemPseudoIPV4", }) as any as S.Schema; export type SettingsBulkEditRequestBodyItemZonesRedirectsForAITrainingId = "redirects_for_ai_training"; export const SettingsBulkEditRequestBodyItemZonesRedirectsForAITrainingId = /*@__PURE__*/ S.String; export type SettingsBulkEditRequestBodyItemZonesRedirectsForAITrainingValue = | "off" | "on"; export const SettingsBulkEditRequestBodyItemZonesRedirectsForAITrainingValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditRequestBodyItemZonesRedirectsForAITraining { /** ID of the zone setting. */ id: SettingsBulkEditRequestBodyItemZonesRedirectsForAITrainingId; /** Current value of the zone setting. */ value: | SettingsBulkEditRequestBodyItemZonesRedirectsForAITrainingValue | (string & {}); /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean; /** last time this setting was modified. */ modifiedOn?: string; } export const SettingsBulkEditRequestBodyItemZonesRedirectsForAITraining = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditRequestBodyItemZonesRedirectsForAITrainingId, value: SettingsBulkEditRequestBodyItemZonesRedirectsForAITrainingValue, editable: S.optional(S.Boolean), modifiedOn: S.optional(S.String.pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemZonesRedirectsForAITraining", }) as any as S.Schema; export type SettingsBulkEditRequestBodyItemZonesReplaceInsecureJSId = "replace_insecure_js"; export const SettingsBulkEditRequestBodyItemZonesReplaceInsecureJSId = /*@__PURE__*/ S.String; export type SettingsBulkEditRequestBodyItemZonesReplaceInsecureJSValue = | "on" | "off"; export const SettingsBulkEditRequestBodyItemZonesReplaceInsecureJSValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditRequestBodyItemZonesReplaceInsecureJS { /** ID of the zone setting. */ id: SettingsBulkEditRequestBodyItemZonesReplaceInsecureJSId; /** Current value of the zone setting. */ value: | SettingsBulkEditRequestBodyItemZonesReplaceInsecureJSValue | (string & {}); /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean; /** last time this setting was modified. */ modifiedOn?: string; } export const SettingsBulkEditRequestBodyItemZonesReplaceInsecureJS = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditRequestBodyItemZonesReplaceInsecureJSId, value: SettingsBulkEditRequestBodyItemZonesReplaceInsecureJSValue, editable: S.optional(S.Boolean), modifiedOn: S.optional(S.String.pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemZonesReplaceInsecureJS", }) as any as S.Schema; export type SettingsBulkEditRequestBodyItemZonesSchemasResponseBufferingId = "response_buffering"; export const SettingsBulkEditRequestBodyItemZonesSchemasResponseBufferingId = /*@__PURE__*/ S.String; export type SettingsBulkEditRequestBodyItemZonesSchemasResponseBufferingValue = | "on" | "off"; export const SettingsBulkEditRequestBodyItemZonesSchemasResponseBufferingValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditRequestBodyItemZonesSchemasResponseBuffering { /** ID of the zone setting. */ id: SettingsBulkEditRequestBodyItemZonesSchemasResponseBufferingId; /** Current value of the zone setting. */ value: | SettingsBulkEditRequestBodyItemZonesSchemasResponseBufferingValue | (string & {}); /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean; /** last time this setting was modified. */ modifiedOn?: string; } export const SettingsBulkEditRequestBodyItemZonesSchemasResponseBuffering = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditRequestBodyItemZonesSchemasResponseBufferingId, value: SettingsBulkEditRequestBodyItemZonesSchemasResponseBufferingValue, editable: S.optional(S.Boolean), modifiedOn: S.optional(S.String.pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemZonesSchemasResponseBuffering", }) as any as S.Schema; export type SettingsBulkEditRequestBodyItemZonesSchemasRocketLoaderId = "rocket_loader"; export const SettingsBulkEditRequestBodyItemZonesSchemasRocketLoaderId = /*@__PURE__*/ S.String; export type SettingsBulkEditRequestBodyItemZonesSchemasRocketLoaderValue = | "on" | "off"; export const SettingsBulkEditRequestBodyItemZonesSchemasRocketLoaderValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditRequestBodyItemZonesSchemasRocketLoader { /** ID of the zone setting. */ id: SettingsBulkEditRequestBodyItemZonesSchemasRocketLoaderId; /** Current value of the zone setting. */ value: | SettingsBulkEditRequestBodyItemZonesSchemasRocketLoaderValue | (string & {}); /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean; /** last time this setting was modified. */ modifiedOn?: string; } export const SettingsBulkEditRequestBodyItemZonesSchemasRocketLoader = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditRequestBodyItemZonesSchemasRocketLoaderId, value: SettingsBulkEditRequestBodyItemZonesSchemasRocketLoaderValue, editable: S.optional(S.Boolean), modifiedOn: S.optional(S.String.pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemZonesSchemasRocketLoader", }) as any as S.Schema; export type SettingsBulkEditRequestBodyItemZonesSchemasAutomaticPlatformOptimizationId = "automatic_platform_optimization"; export const SettingsBulkEditRequestBodyItemZonesSchemasAutomaticPlatformOptimizationId = /*@__PURE__*/ S.String; export type SettingsBulkEditRequestBodyItemZonesSchemasAutomaticPlatformOptimizationValueHostnamesList = Array; export const SettingsBulkEditRequestBodyItemZonesSchemasAutomaticPlatformOptimizationValueHostnamesList = /*@__PURE__*/ S.Array( S.String, ) as any as S.Schema; export interface SettingsBulkEditRequestBodyItemZonesSchemasAutomaticPlatformOptimizationValue { /** Indicates whether or not [cache by device type](https://developers.cloudflare.com/automatic-platform-optimization/reference/cache-device-type/) is enabled. */ cacheByDeviceType: boolean; /** Indicates whether or not Cloudflare proxy is enabled. */ cf: boolean; /** Indicates whether or not Automatic Platform Optimization is enabled. */ enabled: boolean; /** An array of hostnames where Automatic Platform Optimization for WordPress is activated. */ hostnames: SettingsBulkEditRequestBodyItemZonesSchemasAutomaticPlatformOptimizationValueHostnamesList; /** Indicates whether or not site is powered by WordPress. */ wordpress: boolean; /** Indicates whether or not [Cloudflare for WordPress plugin](https://wordpress.org/plugins/cloudflare/) is installed. */ wpPlugin: boolean; } export const SettingsBulkEditRequestBodyItemZonesSchemasAutomaticPlatformOptimizationValue = /*@__PURE__*/ S.suspend(() => S.Struct({ cacheByDeviceType: S.Boolean.pipe(T.Body("cache_by_device_type")), cf: S.Boolean, enabled: S.Boolean, hostnames: SettingsBulkEditRequestBodyItemZonesSchemasAutomaticPlatformOptimizationValueHostnamesList, wordpress: S.Boolean, wpPlugin: S.Boolean.pipe(T.Body("wp_plugin")), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemZonesSchemasAutomaticPlatformOptimizationValue", }) as any as S.Schema; export interface SettingsBulkEditRequestBodyItemZonesSchemasAutomaticPlatformOptimization { /** ID of the zone setting. */ id: SettingsBulkEditRequestBodyItemZonesSchemasAutomaticPlatformOptimizationId; /** Current value of the zone setting. */ value: SettingsBulkEditRequestBodyItemZonesSchemasAutomaticPlatformOptimizationValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean; /** last time this setting was modified. */ modifiedOn?: string; } export const SettingsBulkEditRequestBodyItemZonesSchemasAutomaticPlatformOptimization = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditRequestBodyItemZonesSchemasAutomaticPlatformOptimizationId, value: SettingsBulkEditRequestBodyItemZonesSchemasAutomaticPlatformOptimizationValue, editable: S.optional(S.Boolean), modifiedOn: S.optional(S.String.pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemZonesSchemasAutomaticPlatformOptimization", }) as any as S.Schema; export type SettingsBulkEditRequestBodyItemZonesSearchForAgentsId = "search_for_agents"; export const SettingsBulkEditRequestBodyItemZonesSearchForAgentsId = /*@__PURE__*/ S.String; export type SettingsBulkEditRequestBodyItemZonesSearchForAgentsValue = | "off" | "on"; export const SettingsBulkEditRequestBodyItemZonesSearchForAgentsValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditRequestBodyItemZonesSearchForAgents { /** ID of the zone setting. */ id: SettingsBulkEditRequestBodyItemZonesSearchForAgentsId; /** Current value of the zone setting. */ value: | SettingsBulkEditRequestBodyItemZonesSearchForAgentsValue | (string & {}); /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean; /** last time this setting was modified. */ modifiedOn?: string; } export const SettingsBulkEditRequestBodyItemZonesSearchForAgents = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditRequestBodyItemZonesSearchForAgentsId, value: SettingsBulkEditRequestBodyItemZonesSearchForAgentsValue, editable: S.optional(S.Boolean), modifiedOn: S.optional(S.String.pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemZonesSearchForAgents", }) as any as S.Schema; export type SettingsBulkEditRequestBodyItemSecurityHeadersId = "security_header"; export const SettingsBulkEditRequestBodyItemSecurityHeadersId = /*@__PURE__*/ S.String; export interface SettingsBulkEditRequestBodyItemSecurityHeadersValueStrictTransportSecurity { /** Whether or not strict transport security is enabled. */ enabled?: boolean; /** Include all subdomains for strict transport security. */ includeSubdomains?: boolean; /** Max age in seconds of the strict transport security. */ maxAge?: number; /** Whether or not to include 'X-Content-Type-Options: nosniff' header. */ nosniff?: boolean; /** Enable automatic preload of the HSTS configuration. */ preload?: boolean; } export const SettingsBulkEditRequestBodyItemSecurityHeadersValueStrictTransportSecurity = /*@__PURE__*/ S.suspend(() => S.Struct({ enabled: S.optional(S.Boolean), includeSubdomains: S.optional( S.Boolean.pipe(T.Body("include_subdomains")), ), maxAge: S.optional(S.Number.pipe(T.Body("max_age"))), nosniff: S.optional(S.Boolean), preload: S.optional(S.Boolean), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemSecurityHeadersValueStrictTransportSecurity", }) as any as S.Schema; export interface SettingsBulkEditRequestBodyItemSecurityHeadersValue { /** Strict Transport Security. */ strictTransportSecurity?: SettingsBulkEditRequestBodyItemSecurityHeadersValueStrictTransportSecurity; } export const SettingsBulkEditRequestBodyItemSecurityHeadersValue = /*@__PURE__*/ S.suspend(() => S.Struct({ strictTransportSecurity: S.optional( SettingsBulkEditRequestBodyItemSecurityHeadersValueStrictTransportSecurity.pipe( T.Body("strict_transport_security"), ), ), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemSecurityHeadersValue", }) as any as S.Schema; export interface SettingsBulkEditRequestBodyItemSecurityHeaders { /** ID of the zone's security header. */ id: SettingsBulkEditRequestBodyItemSecurityHeadersId; /** Current value of the zone setting. */ value: SettingsBulkEditRequestBodyItemSecurityHeadersValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean; /** last time this setting was modified. */ modifiedOn?: string; } export const SettingsBulkEditRequestBodyItemSecurityHeaders = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditRequestBodyItemSecurityHeadersId, value: SettingsBulkEditRequestBodyItemSecurityHeadersValue, editable: S.optional(S.Boolean), modifiedOn: S.optional(S.String.pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemSecurityHeaders", }) as any as S.Schema; export type SettingsBulkEditRequestBodyItemZonesSchemasSecurityLevelId = "security_level"; export const SettingsBulkEditRequestBodyItemZonesSchemasSecurityLevelId = /*@__PURE__*/ S.String; export type SettingsBulkEditRequestBodyItemZonesSchemasSecurityLevelValue = | "off" | "essentially_off" | "low" | "medium" | "high" | "under_attack"; export const SettingsBulkEditRequestBodyItemZonesSchemasSecurityLevelValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditRequestBodyItemZonesSchemasSecurityLevel { /** ID of the zone setting. */ id: SettingsBulkEditRequestBodyItemZonesSchemasSecurityLevelId; /** Current value of the zone setting. */ value: | SettingsBulkEditRequestBodyItemZonesSchemasSecurityLevelValue | (string & {}); /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean; /** last time this setting was modified. */ modifiedOn?: string; } export const SettingsBulkEditRequestBodyItemZonesSchemasSecurityLevel = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditRequestBodyItemZonesSchemasSecurityLevelId, value: SettingsBulkEditRequestBodyItemZonesSchemasSecurityLevelValue, editable: S.optional(S.Boolean), modifiedOn: S.optional(S.String.pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemZonesSchemasSecurityLevel", }) as any as S.Schema; export type SettingsBulkEditRequestBodyItemServerSideExcludesId = "server_side_exclude"; export const SettingsBulkEditRequestBodyItemServerSideExcludesId = /*@__PURE__*/ S.String; export type SettingsBulkEditRequestBodyItemServerSideExcludesValue = | "on" | "off"; export const SettingsBulkEditRequestBodyItemServerSideExcludesValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditRequestBodyItemServerSideExcludes { /** ID of the zone setting. */ id: SettingsBulkEditRequestBodyItemServerSideExcludesId; /** Current value of the zone setting. */ value: SettingsBulkEditRequestBodyItemServerSideExcludesValue | (string & {}); /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean; /** last time this setting was modified. */ modifiedOn?: string; } export const SettingsBulkEditRequestBodyItemServerSideExcludes = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditRequestBodyItemServerSideExcludesId, value: SettingsBulkEditRequestBodyItemServerSideExcludesValue, editable: S.optional(S.Boolean), modifiedOn: S.optional(S.String.pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemServerSideExcludes", }) as any as S.Schema; export type SettingsBulkEditRequestBodyItemZonesSha1SupportId = "sha1_support"; export const SettingsBulkEditRequestBodyItemZonesSha1SupportId = /*@__PURE__*/ S.String; export type SettingsBulkEditRequestBodyItemZonesSha1SupportValue = "off" | "on"; export const SettingsBulkEditRequestBodyItemZonesSha1SupportValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditRequestBodyItemZonesSha1Support { /** Zone setting identifier. */ id: SettingsBulkEditRequestBodyItemZonesSha1SupportId; /** Current value of the zone setting. */ value: SettingsBulkEditRequestBodyItemZonesSha1SupportValue | (string & {}); /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean; /** last time this setting was modified. */ modifiedOn?: string; } export const SettingsBulkEditRequestBodyItemZonesSha1Support = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditRequestBodyItemZonesSha1SupportId, value: SettingsBulkEditRequestBodyItemZonesSha1SupportValue, editable: S.optional(S.Boolean), modifiedOn: S.optional(S.String.pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemZonesSha1Support", }) as any as S.Schema; export type SettingsBulkEditRequestBodyItemZonesSchemasSortQueryStringForCacheId = "sort_query_string_for_cache"; export const SettingsBulkEditRequestBodyItemZonesSchemasSortQueryStringForCacheId = /*@__PURE__*/ S.String; export type SettingsBulkEditRequestBodyItemZonesSchemasSortQueryStringForCacheValue = | "on" | "off"; export const SettingsBulkEditRequestBodyItemZonesSchemasSortQueryStringForCacheValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditRequestBodyItemZonesSchemasSortQueryStringForCache { /** ID of the zone setting. */ id: SettingsBulkEditRequestBodyItemZonesSchemasSortQueryStringForCacheId; /** Current value of the zone setting. */ value: | SettingsBulkEditRequestBodyItemZonesSchemasSortQueryStringForCacheValue | (string & {}); /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean; /** last time this setting was modified. */ modifiedOn?: string; } export const SettingsBulkEditRequestBodyItemZonesSchemasSortQueryStringForCache = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditRequestBodyItemZonesSchemasSortQueryStringForCacheId, value: SettingsBulkEditRequestBodyItemZonesSchemasSortQueryStringForCacheValue, editable: S.optional(S.Boolean), modifiedOn: S.optional(S.String.pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemZonesSchemasSortQueryStringForCache", }) as any as S.Schema; export type SettingsBulkEditRequestBodyItemZonesSchemasSSLId = "ssl"; export const SettingsBulkEditRequestBodyItemZonesSchemasSSLId = /*@__PURE__*/ S.String; export type SettingsBulkEditRequestBodyItemZonesSchemasSSLValue = | "off" | "flexible" | "full" | "strict"; export const SettingsBulkEditRequestBodyItemZonesSchemasSSLValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditRequestBodyItemZonesSchemasSSL { /** ID of the zone setting. */ id: SettingsBulkEditRequestBodyItemZonesSchemasSSLId; /** Current value of the zone setting. */ value: SettingsBulkEditRequestBodyItemZonesSchemasSSLValue | (string & {}); /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean; /** last time this setting was modified. */ modifiedOn?: string; } export const SettingsBulkEditRequestBodyItemZonesSchemasSSL = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditRequestBodyItemZonesSchemasSSLId, value: SettingsBulkEditRequestBodyItemZonesSchemasSSLValue, editable: S.optional(S.Boolean), modifiedOn: S.optional(S.String.pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemZonesSchemasSSL", }) as any as S.Schema; export type SettingsBulkEditRequestBodyItemSSLRecommenderId = "ssl_recommender"; export const SettingsBulkEditRequestBodyItemSSLRecommenderId = /*@__PURE__*/ S.String; export interface SettingsBulkEditRequestBodyItemSSLRecommender { /** Enrollment value for SSL/TLS Recommender. */ id?: SettingsBulkEditRequestBodyItemSSLRecommenderId | (string & {}); /** ssl-recommender enrollment setting. */ enabled?: boolean; } export const SettingsBulkEditRequestBodyItemSSLRecommender = /*@__PURE__*/ S.suspend(() => S.Struct({ id: S.optional(SettingsBulkEditRequestBodyItemSSLRecommenderId), enabled: S.optional(S.Boolean), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemSSLRecommender", }) as any as S.Schema; export type SettingsBulkEditRequestBodyItemZonesTLS12OnlyId = "tls_1_2_only"; export const SettingsBulkEditRequestBodyItemZonesTLS12OnlyId = /*@__PURE__*/ S.String; export type SettingsBulkEditRequestBodyItemZonesTLS12OnlyValue = "off" | "on"; export const SettingsBulkEditRequestBodyItemZonesTLS12OnlyValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditRequestBodyItemZonesTLS12Only { /** Zone setting identifier. */ id: SettingsBulkEditRequestBodyItemZonesTLS12OnlyId; /** Current value of the zone setting. */ value: SettingsBulkEditRequestBodyItemZonesTLS12OnlyValue | (string & {}); /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean; /** last time this setting was modified. */ modifiedOn?: string; } export const SettingsBulkEditRequestBodyItemZonesTLS12Only = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditRequestBodyItemZonesTLS12OnlyId, value: SettingsBulkEditRequestBodyItemZonesTLS12OnlyValue, editable: S.optional(S.Boolean), modifiedOn: S.optional(S.String.pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemZonesTLS12Only", }) as any as S.Schema; export type SettingsBulkEditRequestBodyItemTLS13Id = "tls_1_3"; export const SettingsBulkEditRequestBodyItemTLS13Id = /*@__PURE__*/ S.String; export type SettingsBulkEditRequestBodyItemTLS13Value = "on" | "off" | "zrt"; export const SettingsBulkEditRequestBodyItemTLS13Value = /*@__PURE__*/ S.String; export interface SettingsBulkEditRequestBodyItemTLS13 { /** ID of the zone setting. */ id: SettingsBulkEditRequestBodyItemTLS13Id; /** Current value of the zone setting. */ value: SettingsBulkEditRequestBodyItemTLS13Value | (string & {}); /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean; /** last time this setting was modified. */ modifiedOn?: string; } export const SettingsBulkEditRequestBodyItemTLS13 = /*@__PURE__*/ S.suspend( () => S.Struct({ id: SettingsBulkEditRequestBodyItemTLS13Id, value: SettingsBulkEditRequestBodyItemTLS13Value, editable: S.optional(S.Boolean), modifiedOn: S.optional(S.String.pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemTLS13", }) as any as S.Schema; export type SettingsBulkEditRequestBodyItemTLSClientAuthId = "tls_client_auth"; export const SettingsBulkEditRequestBodyItemTLSClientAuthId = /*@__PURE__*/ S.String; export type SettingsBulkEditRequestBodyItemTLSClientAuthValue = "on" | "off"; export const SettingsBulkEditRequestBodyItemTLSClientAuthValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditRequestBodyItemTLSClientAuth { /** ID of the zone setting. */ id: SettingsBulkEditRequestBodyItemTLSClientAuthId; /** Current value of the zone setting. */ value: SettingsBulkEditRequestBodyItemTLSClientAuthValue | (string & {}); /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean; /** last time this setting was modified. */ modifiedOn?: string; } export const SettingsBulkEditRequestBodyItemTLSClientAuth = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditRequestBodyItemTLSClientAuthId, value: SettingsBulkEditRequestBodyItemTLSClientAuthValue, editable: S.optional(S.Boolean), modifiedOn: S.optional(S.String.pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemTLSClientAuth", }) as any as S.Schema; export type SettingsBulkEditRequestBodyItemZonesSchemasTrueClientIPHeaderId = "true_client_ip_header"; export const SettingsBulkEditRequestBodyItemZonesSchemasTrueClientIPHeaderId = /*@__PURE__*/ S.String; export type SettingsBulkEditRequestBodyItemZonesSchemasTrueClientIPHeaderValue = | "on" | "off"; export const SettingsBulkEditRequestBodyItemZonesSchemasTrueClientIPHeaderValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditRequestBodyItemZonesSchemasTrueClientIPHeader { /** ID of the zone setting. */ id: SettingsBulkEditRequestBodyItemZonesSchemasTrueClientIPHeaderId; /** Current value of the zone setting. */ value: | SettingsBulkEditRequestBodyItemZonesSchemasTrueClientIPHeaderValue | (string & {}); /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean; /** last time this setting was modified. */ modifiedOn?: string; } export const SettingsBulkEditRequestBodyItemZonesSchemasTrueClientIPHeader = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditRequestBodyItemZonesSchemasTrueClientIPHeaderId, value: SettingsBulkEditRequestBodyItemZonesSchemasTrueClientIPHeaderValue, editable: S.optional(S.Boolean), modifiedOn: S.optional(S.String.pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemZonesSchemasTrueClientIPHeader", }) as any as S.Schema; export type SettingsBulkEditRequestBodyItemZonesSchemasWAFId = "waf"; export const SettingsBulkEditRequestBodyItemZonesSchemasWAFId = /*@__PURE__*/ S.String; export type SettingsBulkEditRequestBodyItemZonesSchemasWAFValue = "on" | "off"; export const SettingsBulkEditRequestBodyItemZonesSchemasWAFValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditRequestBodyItemZonesSchemasWAF { /** ID of the zone setting. */ id: SettingsBulkEditRequestBodyItemZonesSchemasWAFId; /** Current value of the zone setting. */ value: SettingsBulkEditRequestBodyItemZonesSchemasWAFValue | (string & {}); /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean; /** last time this setting was modified. */ modifiedOn?: string; } export const SettingsBulkEditRequestBodyItemZonesSchemasWAF = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditRequestBodyItemZonesSchemasWAFId, value: SettingsBulkEditRequestBodyItemZonesSchemasWAFValue, editable: S.optional(S.Boolean), modifiedOn: S.optional(S.String.pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemZonesSchemasWAF", }) as any as S.Schema; export type SettingsBulkEditRequestBodyItemWebPId = "webp"; export const SettingsBulkEditRequestBodyItemWebPId = /*@__PURE__*/ S.String; export type SettingsBulkEditRequestBodyItemWebPValue = "off" | "on"; export const SettingsBulkEditRequestBodyItemWebPValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditRequestBodyItemWebP { /** ID of the zone setting. */ id: SettingsBulkEditRequestBodyItemWebPId; /** Current value of the zone setting. */ value: SettingsBulkEditRequestBodyItemWebPValue | (string & {}); /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean; /** last time this setting was modified. */ modifiedOn?: string; } export const SettingsBulkEditRequestBodyItemWebP = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditRequestBodyItemWebPId, value: SettingsBulkEditRequestBodyItemWebPValue, editable: S.optional(S.Boolean), modifiedOn: S.optional(S.String.pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemWebP", }) as any as S.Schema; export type SettingsBulkEditRequestBodyItemWebsocketId = "websockets"; export const SettingsBulkEditRequestBodyItemWebsocketId = /*@__PURE__*/ S.String; export type SettingsBulkEditRequestBodyItemWebsocketValue = "off" | "on"; export const SettingsBulkEditRequestBodyItemWebsocketValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditRequestBodyItemWebsocket { /** ID of the zone setting. */ id: SettingsBulkEditRequestBodyItemWebsocketId; /** Current value of the zone setting. */ value: SettingsBulkEditRequestBodyItemWebsocketValue | (string & {}); /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean; /** last time this setting was modified. */ modifiedOn?: string; } export const SettingsBulkEditRequestBodyItemWebsocket = /*@__PURE__*/ S.suspend( () => S.Struct({ id: SettingsBulkEditRequestBodyItemWebsocketId, value: SettingsBulkEditRequestBodyItemWebsocketValue, editable: S.optional(S.Boolean), modifiedOn: S.optional(S.String.pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditRequestBodyItemWebsocket", }) as any as S.Schema; export type SettingsBulkEditRequestBodyItem = | SettingsBulkEditRequestBodyItemZeroRTT | SettingsBulkEditRequestBodyItemAdvancedDDoS | SettingsBulkEditRequestBodyItemZonesCacheRulesAegis | SettingsBulkEditRequestBodyItemAlwaysOnline | SettingsBulkEditRequestBodyItemZonesSchemasAlwaysUseHTTPS | SettingsBulkEditRequestBodyItemZonesSchemasAutomaticHTTPSRewrites | SettingsBulkEditRequestBodyItemBrotli | SettingsBulkEditRequestBodyItemZonesSchemasBrowserCacheTTL | SettingsBulkEditRequestBodyItemZonesSchemasBrowserCheck | SettingsBulkEditRequestBodyItemZonesSchemasCacheLevel | SettingsBulkEditRequestBodyItemChallengeTTL | SettingsBulkEditRequestBodyItemZonesChinaNetworkEnabled | SettingsBulkEditRequestBodyItemZonesContentConverter | SettingsBulkEditRequestBodyItemCiphers | SettingsBulkEditRequestBodyItemZonesCNAMEFlattening | SettingsBulkEditRequestBodyItemDevelopmentMode | SettingsBulkEditRequestBodyItemEarlyHints | SettingsBulkEditRequestBodyItemZonesSchemasEdgeCacheTTL | SettingsBulkEditRequestBodyItemZonesSchemasEmailObfuscation | SettingsBulkEditRequestBodyItemH2Prioritization | SettingsBulkEditRequestBodyItemHotlinkProtection | SettingsBulkEditRequestBodyItemHTTP2 | SettingsBulkEditRequestBodyItemHTTP3 | SettingsBulkEditRequestBodyItemZonesSchemasIPGeolocation | SettingsBulkEditRequestBodyItemIPV6 | SettingsBulkEditRequestBodyItemZonesMaxUpload | SettingsBulkEditRequestBodyItemMinTLSVersion | SettingsBulkEditRequestBodyItemZonesSchemasMirage | SettingsBulkEditRequestBodyItemNEL | SettingsBulkEditRequestBodyItemZonesSchemasOpportunisticEncryption | SettingsBulkEditRequestBodyItemOpportunisticOnion | SettingsBulkEditRequestBodyItemOrangeToOrange | SettingsBulkEditRequestBodyItemZonesSchemasOriginErrorPagePassThru | SettingsBulkEditRequestBodyItemZonesCacheRulesOriginH2MaxStreams | SettingsBulkEditRequestBodyItemZonesCacheRulesOriginMaxHTTPVersion | SettingsBulkEditRequestBodyItemZonesSchemasPolish | SettingsBulkEditRequestBodyItemPrefetchPreload | SettingsBulkEditRequestBodyItemZonesPrivacyPass | SettingsBulkEditRequestBodyItemProxyReadTimeout | SettingsBulkEditRequestBodyItemPseudoIPV4 | SettingsBulkEditRequestBodyItemZonesRedirectsForAITraining | SettingsBulkEditRequestBodyItemZonesReplaceInsecureJS | SettingsBulkEditRequestBodyItemZonesSchemasResponseBuffering | SettingsBulkEditRequestBodyItemZonesSchemasRocketLoader | SettingsBulkEditRequestBodyItemZonesSchemasAutomaticPlatformOptimization | SettingsBulkEditRequestBodyItemZonesSearchForAgents | SettingsBulkEditRequestBodyItemSecurityHeaders | SettingsBulkEditRequestBodyItemZonesSchemasSecurityLevel | SettingsBulkEditRequestBodyItemServerSideExcludes | SettingsBulkEditRequestBodyItemZonesSha1Support | SettingsBulkEditRequestBodyItemZonesSchemasSortQueryStringForCache | SettingsBulkEditRequestBodyItemZonesSchemasSSL | SettingsBulkEditRequestBodyItemSSLRecommender | SettingsBulkEditRequestBodyItemZonesTLS12Only | SettingsBulkEditRequestBodyItemTLS13 | SettingsBulkEditRequestBodyItemTLSClientAuth | SettingsBulkEditRequestBodyItemZonesSchemasTrueClientIPHeader | SettingsBulkEditRequestBodyItemZonesSchemasWAF | SettingsBulkEditRequestBodyItemWebP | SettingsBulkEditRequestBodyItemWebsocket; export const SettingsBulkEditRequestBodyItem = /*@__PURE__*/ S.Unknown.pipe( T.UnionCases([ ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "modifiedOn", "value"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn", "timeRemaining"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "modifiedOn", "value"], ["id", "modifiedOn", "value"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "enabled"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ]), ); export type SettingsBulkEditRequestBodyList = Array; export const SettingsBulkEditRequestBodyList = /*@__PURE__*/ S.Array( SettingsBulkEditRequestBodyItem, ) as any as S.Schema; export interface SettingsBulkEditRequest { /** Identifier */ zoneId: string; body: SettingsBulkEditRequestBodyList; } export const SettingsBulkEditRequest = /*@__PURE__*/ S.suspend(() => S.Struct({ zoneId: S.String.pipe(T.Label("zone_id")), body: SettingsBulkEditRequestBodyList.pipe(T.HttpBody()), }) .pipe( T.Http({ method: "PATCH", uri: "/zones/{zone_id}/settings", code: 200 }), ) .pipe(T.KeyDictionary(KEY_DICTIONARY)), ).annotate({ identifier: "SettingsBulkEditRequest", }) as any as S.Schema; export type SettingsBulkEditResultItemZeroRTTId = "0rtt"; export const SettingsBulkEditResultItemZeroRTTId = /*@__PURE__*/ S.String; export type SettingsBulkEditResultItemZeroRTTValue = "on" | "off"; export const SettingsBulkEditResultItemZeroRTTValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditResultItemZeroRTT { /** ID of the zone setting. */ id: SettingsBulkEditResultItemZeroRTTId; /** Current value of the zone setting. */ value: SettingsBulkEditResultItemZeroRTTValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsBulkEditResultItemZeroRTT = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditResultItemZeroRTTId, value: SettingsBulkEditResultItemZeroRTTValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditResultItemZeroRTT", }) as any as S.Schema; export type SettingsBulkEditResultItemAdvancedDDoSId = "advanced_ddos"; export const SettingsBulkEditResultItemAdvancedDDoSId = /*@__PURE__*/ S.String; export type SettingsBulkEditResultItemAdvancedDDoSValue = "on" | "off"; export const SettingsBulkEditResultItemAdvancedDDoSValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditResultItemAdvancedDDoS { /** ID of the zone setting. */ id: SettingsBulkEditResultItemAdvancedDDoSId; /** Current value of the zone setting. */ value: SettingsBulkEditResultItemAdvancedDDoSValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsBulkEditResultItemAdvancedDDoS = /*@__PURE__*/ S.suspend( () => S.Struct({ id: SettingsBulkEditResultItemAdvancedDDoSId, value: SettingsBulkEditResultItemAdvancedDDoSValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditResultItemAdvancedDDoS", }) as any as S.Schema; export type SettingsBulkEditResultItemZonesCacheRulesAegisId = "aegis"; export const SettingsBulkEditResultItemZonesCacheRulesAegisId = /*@__PURE__*/ S.String; export type SettingsBulkEditResultItemZonesCacheRulesAegisValue = SettingsGetResultZonesCacheRulesAegisValue; export const SettingsBulkEditResultItemZonesCacheRulesAegisValue = SettingsGetResultZonesCacheRulesAegisValue; export interface SettingsBulkEditResultItemZonesCacheRulesAegis { /** ID of the zone setting. */ id: SettingsBulkEditResultItemZonesCacheRulesAegisId; /** Last time this setting was modified. */ modifiedOn?: string | null; /** Value of the zone setting. */ value?: SettingsGetResultZonesCacheRulesAegisValue | null; } export const SettingsBulkEditResultItemZonesCacheRulesAegis = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditResultItemZonesCacheRulesAegisId, modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), value: S.optional(S.NullOr(SettingsGetResultZonesCacheRulesAegisValue)), }), ).annotate({ identifier: "SettingsBulkEditResultItemZonesCacheRulesAegis", }) as any as S.Schema; export type SettingsBulkEditResultItemAlwaysOnlineId = "always_online"; export const SettingsBulkEditResultItemAlwaysOnlineId = /*@__PURE__*/ S.String; export type SettingsBulkEditResultItemAlwaysOnlineValue = "on" | "off"; export const SettingsBulkEditResultItemAlwaysOnlineValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditResultItemAlwaysOnline { /** ID of the zone setting. */ id: SettingsBulkEditResultItemAlwaysOnlineId; /** Current value of the zone setting. */ value: SettingsBulkEditResultItemAlwaysOnlineValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsBulkEditResultItemAlwaysOnline = /*@__PURE__*/ S.suspend( () => S.Struct({ id: SettingsBulkEditResultItemAlwaysOnlineId, value: SettingsBulkEditResultItemAlwaysOnlineValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditResultItemAlwaysOnline", }) as any as S.Schema; export type SettingsBulkEditResultItemZonesSchemasAlwaysUseHTTPSId = "always_use_https"; export const SettingsBulkEditResultItemZonesSchemasAlwaysUseHTTPSId = /*@__PURE__*/ S.String; export type SettingsBulkEditResultItemZonesSchemasAlwaysUseHTTPSValue = | "on" | "off"; export const SettingsBulkEditResultItemZonesSchemasAlwaysUseHTTPSValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditResultItemZonesSchemasAlwaysUseHTTPS { /** ID of the zone setting. */ id: SettingsBulkEditResultItemZonesSchemasAlwaysUseHTTPSId; /** Current value of the zone setting. */ value: SettingsBulkEditResultItemZonesSchemasAlwaysUseHTTPSValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsBulkEditResultItemZonesSchemasAlwaysUseHTTPS = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditResultItemZonesSchemasAlwaysUseHTTPSId, value: SettingsBulkEditResultItemZonesSchemasAlwaysUseHTTPSValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditResultItemZonesSchemasAlwaysUseHTTPS", }) as any as S.Schema; export type SettingsBulkEditResultItemZonesSchemasAutomaticHTTPSRewritesId = "automatic_https_rewrites"; export const SettingsBulkEditResultItemZonesSchemasAutomaticHTTPSRewritesId = /*@__PURE__*/ S.String; export type SettingsBulkEditResultItemZonesSchemasAutomaticHTTPSRewritesValue = | "on" | "off"; export const SettingsBulkEditResultItemZonesSchemasAutomaticHTTPSRewritesValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditResultItemZonesSchemasAutomaticHTTPSRewrites { /** ID of the zone setting. */ id: SettingsBulkEditResultItemZonesSchemasAutomaticHTTPSRewritesId; /** Current value of the zone setting. */ value: SettingsBulkEditResultItemZonesSchemasAutomaticHTTPSRewritesValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsBulkEditResultItemZonesSchemasAutomaticHTTPSRewrites = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditResultItemZonesSchemasAutomaticHTTPSRewritesId, value: SettingsBulkEditResultItemZonesSchemasAutomaticHTTPSRewritesValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditResultItemZonesSchemasAutomaticHTTPSRewrites", }) as any as S.Schema; export type SettingsBulkEditResultItemBrotliId = "brotli"; export const SettingsBulkEditResultItemBrotliId = /*@__PURE__*/ S.String; export type SettingsBulkEditResultItemBrotliValue = "off" | "on"; export const SettingsBulkEditResultItemBrotliValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditResultItemBrotli { /** ID of the zone setting. */ id: SettingsBulkEditResultItemBrotliId; /** Current value of the zone setting. */ value: SettingsBulkEditResultItemBrotliValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsBulkEditResultItemBrotli = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditResultItemBrotliId, value: SettingsBulkEditResultItemBrotliValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditResultItemBrotli", }) as any as S.Schema; export type SettingsBulkEditResultItemZonesSchemasBrowserCacheTTLId = "browser_cache_ttl"; export const SettingsBulkEditResultItemZonesSchemasBrowserCacheTTLId = /*@__PURE__*/ S.String; export interface SettingsBulkEditResultItemZonesSchemasBrowserCacheTTL { /** ID of the zone setting. */ id: SettingsBulkEditResultItemZonesSchemasBrowserCacheTTLId; /** Current value of the zone setting. */ value: number; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsBulkEditResultItemZonesSchemasBrowserCacheTTL = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditResultItemZonesSchemasBrowserCacheTTLId, value: S.Number, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditResultItemZonesSchemasBrowserCacheTTL", }) as any as S.Schema; export type SettingsBulkEditResultItemZonesSchemasBrowserCheckId = "browser_check"; export const SettingsBulkEditResultItemZonesSchemasBrowserCheckId = /*@__PURE__*/ S.String; export type SettingsBulkEditResultItemZonesSchemasBrowserCheckValue = | "on" | "off"; export const SettingsBulkEditResultItemZonesSchemasBrowserCheckValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditResultItemZonesSchemasBrowserCheck { /** ID of the zone setting. */ id: SettingsBulkEditResultItemZonesSchemasBrowserCheckId; /** Current value of the zone setting. */ value: SettingsBulkEditResultItemZonesSchemasBrowserCheckValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsBulkEditResultItemZonesSchemasBrowserCheck = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditResultItemZonesSchemasBrowserCheckId, value: SettingsBulkEditResultItemZonesSchemasBrowserCheckValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditResultItemZonesSchemasBrowserCheck", }) as any as S.Schema; export type SettingsBulkEditResultItemZonesSchemasCacheLevelId = "cache_level"; export const SettingsBulkEditResultItemZonesSchemasCacheLevelId = /*@__PURE__*/ S.String; export type SettingsBulkEditResultItemZonesSchemasCacheLevelValue = | "aggressive" | "basic" | "simplified"; export const SettingsBulkEditResultItemZonesSchemasCacheLevelValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditResultItemZonesSchemasCacheLevel { /** ID of the zone setting. */ id: SettingsBulkEditResultItemZonesSchemasCacheLevelId; /** Current value of the zone setting. */ value: SettingsBulkEditResultItemZonesSchemasCacheLevelValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsBulkEditResultItemZonesSchemasCacheLevel = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditResultItemZonesSchemasCacheLevelId, value: SettingsBulkEditResultItemZonesSchemasCacheLevelValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditResultItemZonesSchemasCacheLevel", }) as any as S.Schema; export type SettingsBulkEditResultItemChallengeTTLId = "challenge_ttl"; export const SettingsBulkEditResultItemChallengeTTLId = /*@__PURE__*/ S.String; export type SettingsBulkEditResultItemChallengeTTLValue = | 300 | 900 | 1800 | 2700 | 3600 | 7200 | 10800 | 14400 | 28800 | 57600 | 86400 | 604800 | 2592000 | 31536000; export const SettingsBulkEditResultItemChallengeTTLValue = /*@__PURE__*/ S.Number; export interface SettingsBulkEditResultItemChallengeTTL { /** ID of the zone setting. */ id: SettingsBulkEditResultItemChallengeTTLId; /** Current value of the zone setting. */ value: SettingsBulkEditResultItemChallengeTTLValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsBulkEditResultItemChallengeTTL = /*@__PURE__*/ S.suspend( () => S.Struct({ id: SettingsBulkEditResultItemChallengeTTLId, value: SettingsBulkEditResultItemChallengeTTLValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditResultItemChallengeTTL", }) as any as S.Schema; export type SettingsBulkEditResultItemCiphersId = "ciphers"; export const SettingsBulkEditResultItemCiphersId = /*@__PURE__*/ S.String; export type SettingsBulkEditResultItemCiphersValueList = Array; export const SettingsBulkEditResultItemCiphersValueList = /*@__PURE__*/ S.Array( S.String, ) as any as S.Schema; export interface SettingsBulkEditResultItemCiphers { /** ID of the zone setting. */ id: SettingsBulkEditResultItemCiphersId; /** Current value of the zone setting. */ value: SettingsBulkEditResultItemCiphersValueList; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsBulkEditResultItemCiphers = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditResultItemCiphersId, value: SettingsBulkEditResultItemCiphersValueList, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditResultItemCiphers", }) as any as S.Schema; export type SettingsBulkEditResultItemZonesContentConverterId = "content_converter"; export const SettingsBulkEditResultItemZonesContentConverterId = /*@__PURE__*/ S.String; export type SettingsBulkEditResultItemZonesContentConverterValue = "off" | "on"; export const SettingsBulkEditResultItemZonesContentConverterValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditResultItemZonesContentConverter { /** ID of the zone setting. */ id: SettingsBulkEditResultItemZonesContentConverterId; /** Current value of the zone setting. */ value: SettingsBulkEditResultItemZonesContentConverterValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsBulkEditResultItemZonesContentConverter = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditResultItemZonesContentConverterId, value: SettingsBulkEditResultItemZonesContentConverterValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditResultItemZonesContentConverter", }) as any as S.Schema; export type SettingsBulkEditResultItemZonesCNAMEFlatteningId = "cname_flattening"; export const SettingsBulkEditResultItemZonesCNAMEFlatteningId = /*@__PURE__*/ S.String; export type SettingsBulkEditResultItemZonesCNAMEFlatteningValue = | "flatten_at_root" | "flatten_all"; export const SettingsBulkEditResultItemZonesCNAMEFlatteningValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditResultItemZonesCNAMEFlattening { /** How to flatten the cname destination. */ id: SettingsBulkEditResultItemZonesCNAMEFlatteningId; /** Current value of the zone setting. */ value: SettingsBulkEditResultItemZonesCNAMEFlatteningValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsBulkEditResultItemZonesCNAMEFlattening = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditResultItemZonesCNAMEFlatteningId, value: SettingsBulkEditResultItemZonesCNAMEFlatteningValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditResultItemZonesCNAMEFlattening", }) as any as S.Schema; export type SettingsBulkEditResultItemDevelopmentModeId = "development_mode"; export const SettingsBulkEditResultItemDevelopmentModeId = /*@__PURE__*/ S.String; export type SettingsBulkEditResultItemDevelopmentModeValue = "on" | "off"; export const SettingsBulkEditResultItemDevelopmentModeValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditResultItemDevelopmentMode { /** ID of the zone setting. */ id: SettingsBulkEditResultItemDevelopmentModeId; /** Current value of the zone setting. */ value: SettingsBulkEditResultItemDevelopmentModeValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; /** Value of the zone setting. */ timeRemaining?: number | null; } export const SettingsBulkEditResultItemDevelopmentMode = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditResultItemDevelopmentModeId, value: SettingsBulkEditResultItemDevelopmentModeValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), timeRemaining: S.optional( S.NullOr(S.Number).pipe(T.Body("time_remaining")), ), }), ).annotate({ identifier: "SettingsBulkEditResultItemDevelopmentMode", }) as any as S.Schema; export type SettingsBulkEditResultItemEarlyHintsId = "early_hints"; export const SettingsBulkEditResultItemEarlyHintsId = /*@__PURE__*/ S.String; export type SettingsBulkEditResultItemEarlyHintsValue = "on" | "off"; export const SettingsBulkEditResultItemEarlyHintsValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditResultItemEarlyHints { /** ID of the zone setting. */ id: SettingsBulkEditResultItemEarlyHintsId; /** Current value of the zone setting. */ value: SettingsBulkEditResultItemEarlyHintsValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsBulkEditResultItemEarlyHints = /*@__PURE__*/ S.suspend( () => S.Struct({ id: SettingsBulkEditResultItemEarlyHintsId, value: SettingsBulkEditResultItemEarlyHintsValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditResultItemEarlyHints", }) as any as S.Schema; export type SettingsBulkEditResultItemZonesSchemasEdgeCacheTTLId = "edge_cache_ttl"; export const SettingsBulkEditResultItemZonesSchemasEdgeCacheTTLId = /*@__PURE__*/ S.String; export type SettingsBulkEditResultItemZonesSchemasEdgeCacheTTLValue = | 30 | 60 | 300 | 1200 | 1800 | 3600 | 7200 | 10800 | 14400 | 18000 | 28800 | 43200 | 57600 | 72000 | 86400 | 172800 | 259200 | 345600 | 432000 | 518400 | 604800; export const SettingsBulkEditResultItemZonesSchemasEdgeCacheTTLValue = /*@__PURE__*/ S.Number; export interface SettingsBulkEditResultItemZonesSchemasEdgeCacheTTL { /** ID of the zone setting. */ id: SettingsBulkEditResultItemZonesSchemasEdgeCacheTTLId; /** Current value of the zone setting. */ value: SettingsBulkEditResultItemZonesSchemasEdgeCacheTTLValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsBulkEditResultItemZonesSchemasEdgeCacheTTL = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditResultItemZonesSchemasEdgeCacheTTLId, value: SettingsBulkEditResultItemZonesSchemasEdgeCacheTTLValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditResultItemZonesSchemasEdgeCacheTTL", }) as any as S.Schema; export type SettingsBulkEditResultItemZonesSchemasEmailObfuscationId = "email_obfuscation"; export const SettingsBulkEditResultItemZonesSchemasEmailObfuscationId = /*@__PURE__*/ S.String; export type SettingsBulkEditResultItemZonesSchemasEmailObfuscationValue = | "on" | "off"; export const SettingsBulkEditResultItemZonesSchemasEmailObfuscationValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditResultItemZonesSchemasEmailObfuscation { /** ID of the zone setting. */ id: SettingsBulkEditResultItemZonesSchemasEmailObfuscationId; /** Current value of the zone setting. */ value: SettingsBulkEditResultItemZonesSchemasEmailObfuscationValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsBulkEditResultItemZonesSchemasEmailObfuscation = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditResultItemZonesSchemasEmailObfuscationId, value: SettingsBulkEditResultItemZonesSchemasEmailObfuscationValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditResultItemZonesSchemasEmailObfuscation", }) as any as S.Schema; export type SettingsBulkEditResultItemH2PrioritizationId = "h2_prioritization"; export const SettingsBulkEditResultItemH2PrioritizationId = /*@__PURE__*/ S.String; export type SettingsBulkEditResultItemH2PrioritizationValue = | "on" | "off" | "custom"; export const SettingsBulkEditResultItemH2PrioritizationValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditResultItemH2Prioritization { /** ID of the zone setting. */ id: SettingsBulkEditResultItemH2PrioritizationId; /** Current value of the zone setting. */ value: SettingsBulkEditResultItemH2PrioritizationValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsBulkEditResultItemH2Prioritization = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditResultItemH2PrioritizationId, value: SettingsBulkEditResultItemH2PrioritizationValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditResultItemH2Prioritization", }) as any as S.Schema; export type SettingsBulkEditResultItemHotlinkProtectionId = "hotlink_protection"; export const SettingsBulkEditResultItemHotlinkProtectionId = /*@__PURE__*/ S.String; export type SettingsBulkEditResultItemHotlinkProtectionValue = "on" | "off"; export const SettingsBulkEditResultItemHotlinkProtectionValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditResultItemHotlinkProtection { /** ID of the zone setting. */ id: SettingsBulkEditResultItemHotlinkProtectionId; /** Current value of the zone setting. */ value: SettingsBulkEditResultItemHotlinkProtectionValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsBulkEditResultItemHotlinkProtection = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditResultItemHotlinkProtectionId, value: SettingsBulkEditResultItemHotlinkProtectionValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditResultItemHotlinkProtection", }) as any as S.Schema; export type SettingsBulkEditResultItemHTTP2Id = "http2"; export const SettingsBulkEditResultItemHTTP2Id = /*@__PURE__*/ S.String; export type SettingsBulkEditResultItemHTTP2Value = "on" | "off"; export const SettingsBulkEditResultItemHTTP2Value = /*@__PURE__*/ S.String; export interface SettingsBulkEditResultItemHTTP2 { /** ID of the zone setting. */ id: SettingsBulkEditResultItemHTTP2Id; /** Current value of the zone setting. */ value: SettingsBulkEditResultItemHTTP2Value; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsBulkEditResultItemHTTP2 = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditResultItemHTTP2Id, value: SettingsBulkEditResultItemHTTP2Value, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditResultItemHTTP2", }) as any as S.Schema; export type SettingsBulkEditResultItemHTTP3Id = "http3"; export const SettingsBulkEditResultItemHTTP3Id = /*@__PURE__*/ S.String; export type SettingsBulkEditResultItemHTTP3Value = "on" | "off"; export const SettingsBulkEditResultItemHTTP3Value = /*@__PURE__*/ S.String; export interface SettingsBulkEditResultItemHTTP3 { /** ID of the zone setting. */ id: SettingsBulkEditResultItemHTTP3Id; /** Current value of the zone setting. */ value: SettingsBulkEditResultItemHTTP3Value; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsBulkEditResultItemHTTP3 = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditResultItemHTTP3Id, value: SettingsBulkEditResultItemHTTP3Value, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditResultItemHTTP3", }) as any as S.Schema; export type SettingsBulkEditResultItemImageResizingId = "image_resizing"; export const SettingsBulkEditResultItemImageResizingId = /*@__PURE__*/ S.String; export type SettingsBulkEditResultItemImageResizingValue = | "on" | "off" | "open"; export const SettingsBulkEditResultItemImageResizingValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditResultItemImageResizing { /** ID of the zone setting. */ id: SettingsBulkEditResultItemImageResizingId; /** Current value of the zone setting. */ value: SettingsBulkEditResultItemImageResizingValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsBulkEditResultItemImageResizing = /*@__PURE__*/ S.suspend( () => S.Struct({ id: SettingsBulkEditResultItemImageResizingId, value: SettingsBulkEditResultItemImageResizingValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditResultItemImageResizing", }) as any as S.Schema; export type SettingsBulkEditResultItemZonesSchemasIPGeolocationId = "ip_geolocation"; export const SettingsBulkEditResultItemZonesSchemasIPGeolocationId = /*@__PURE__*/ S.String; export type SettingsBulkEditResultItemZonesSchemasIPGeolocationValue = | "on" | "off"; export const SettingsBulkEditResultItemZonesSchemasIPGeolocationValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditResultItemZonesSchemasIPGeolocation { /** ID of the zone setting. */ id: SettingsBulkEditResultItemZonesSchemasIPGeolocationId; /** Current value of the zone setting. */ value: SettingsBulkEditResultItemZonesSchemasIPGeolocationValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsBulkEditResultItemZonesSchemasIPGeolocation = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditResultItemZonesSchemasIPGeolocationId, value: SettingsBulkEditResultItemZonesSchemasIPGeolocationValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditResultItemZonesSchemasIPGeolocation", }) as any as S.Schema; export type SettingsBulkEditResultItemIPV6Id = "ipv6"; export const SettingsBulkEditResultItemIPV6Id = /*@__PURE__*/ S.String; export type SettingsBulkEditResultItemIPV6Value = "off" | "on"; export const SettingsBulkEditResultItemIPV6Value = /*@__PURE__*/ S.String; export interface SettingsBulkEditResultItemIPV6 { /** ID of the zone setting. */ id: SettingsBulkEditResultItemIPV6Id; /** Current value of the zone setting. */ value: SettingsBulkEditResultItemIPV6Value; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsBulkEditResultItemIPV6 = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditResultItemIPV6Id, value: SettingsBulkEditResultItemIPV6Value, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditResultItemIPV6", }) as any as S.Schema; export type SettingsBulkEditResultItemZonesMaxUploadId = "max_upload"; export const SettingsBulkEditResultItemZonesMaxUploadId = /*@__PURE__*/ S.String; export type SettingsBulkEditResultItemZonesMaxUploadValue = | 100 | 125 | 150 | 175 | 200 | 225 | 250 | 275 | 300 | 325 | 350 | 375 | 400 | 425 | 450 | 475 | 500 | 1000; export const SettingsBulkEditResultItemZonesMaxUploadValue = /*@__PURE__*/ S.Number; export interface SettingsBulkEditResultItemZonesMaxUpload { /** identifier of the zone setting. */ id: SettingsBulkEditResultItemZonesMaxUploadId; /** Current value of the zone setting. */ value: SettingsBulkEditResultItemZonesMaxUploadValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsBulkEditResultItemZonesMaxUpload = /*@__PURE__*/ S.suspend( () => S.Struct({ id: SettingsBulkEditResultItemZonesMaxUploadId, value: SettingsBulkEditResultItemZonesMaxUploadValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditResultItemZonesMaxUpload", }) as any as S.Schema; export type SettingsBulkEditResultItemMinTLSVersionId = "min_tls_version"; export const SettingsBulkEditResultItemMinTLSVersionId = /*@__PURE__*/ S.String; export type SettingsBulkEditResultItemMinTLSVersionValue = | "1.0" | "1.1" | "1.2" | "1.3"; export const SettingsBulkEditResultItemMinTLSVersionValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditResultItemMinTLSVersion { /** ID of the zone setting. */ id: SettingsBulkEditResultItemMinTLSVersionId; /** Current value of the zone setting. */ value: SettingsBulkEditResultItemMinTLSVersionValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsBulkEditResultItemMinTLSVersion = /*@__PURE__*/ S.suspend( () => S.Struct({ id: SettingsBulkEditResultItemMinTLSVersionId, value: SettingsBulkEditResultItemMinTLSVersionValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditResultItemMinTLSVersion", }) as any as S.Schema; export type SettingsBulkEditResultItemZonesSchemasMirageId = "mirage"; export const SettingsBulkEditResultItemZonesSchemasMirageId = /*@__PURE__*/ S.String; export type SettingsBulkEditResultItemZonesSchemasMirageValue = "on" | "off"; export const SettingsBulkEditResultItemZonesSchemasMirageValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditResultItemZonesSchemasMirage { /** ID of the zone setting. */ id: SettingsBulkEditResultItemZonesSchemasMirageId; /** Current value of the zone setting. */ value: SettingsBulkEditResultItemZonesSchemasMirageValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsBulkEditResultItemZonesSchemasMirage = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditResultItemZonesSchemasMirageId, value: SettingsBulkEditResultItemZonesSchemasMirageValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditResultItemZonesSchemasMirage", }) as any as S.Schema; export type SettingsBulkEditResultItemNELId = "nel"; export const SettingsBulkEditResultItemNELId = /*@__PURE__*/ S.String; export type SettingsBulkEditResultItemNELValue = SettingsGetResultNELValue; export const SettingsBulkEditResultItemNELValue = SettingsGetResultNELValue; export interface SettingsBulkEditResultItemNEL { /** Zone setting identifier. */ id: SettingsBulkEditResultItemNELId; /** Current value of the zone setting. */ value: SettingsGetResultNELValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsBulkEditResultItemNEL = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditResultItemNELId, value: SettingsGetResultNELValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditResultItemNEL", }) as any as S.Schema; export type SettingsBulkEditResultItemZonesSchemasOpportunisticEncryptionId = "opportunistic_encryption"; export const SettingsBulkEditResultItemZonesSchemasOpportunisticEncryptionId = /*@__PURE__*/ S.String; export type SettingsBulkEditResultItemZonesSchemasOpportunisticEncryptionValue = | "on" | "off"; export const SettingsBulkEditResultItemZonesSchemasOpportunisticEncryptionValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditResultItemZonesSchemasOpportunisticEncryption { /** ID of the zone setting. */ id: SettingsBulkEditResultItemZonesSchemasOpportunisticEncryptionId; /** Current value of the zone setting. */ value: SettingsBulkEditResultItemZonesSchemasOpportunisticEncryptionValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsBulkEditResultItemZonesSchemasOpportunisticEncryption = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditResultItemZonesSchemasOpportunisticEncryptionId, value: SettingsBulkEditResultItemZonesSchemasOpportunisticEncryptionValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditResultItemZonesSchemasOpportunisticEncryption", }) as any as S.Schema; export type SettingsBulkEditResultItemOpportunisticOnionId = "opportunistic_onion"; export const SettingsBulkEditResultItemOpportunisticOnionId = /*@__PURE__*/ S.String; export type SettingsBulkEditResultItemOpportunisticOnionValue = "on" | "off"; export const SettingsBulkEditResultItemOpportunisticOnionValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditResultItemOpportunisticOnion { /** ID of the zone setting. */ id: SettingsBulkEditResultItemOpportunisticOnionId; /** Current value of the zone setting. */ value: SettingsBulkEditResultItemOpportunisticOnionValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsBulkEditResultItemOpportunisticOnion = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditResultItemOpportunisticOnionId, value: SettingsBulkEditResultItemOpportunisticOnionValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditResultItemOpportunisticOnion", }) as any as S.Schema; export type SettingsBulkEditResultItemOrangeToOrangeId = "orange_to_orange"; export const SettingsBulkEditResultItemOrangeToOrangeId = /*@__PURE__*/ S.String; export type SettingsBulkEditResultItemOrangeToOrangeValue = "on" | "off"; export const SettingsBulkEditResultItemOrangeToOrangeValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditResultItemOrangeToOrange { /** ID of the zone setting. */ id: SettingsBulkEditResultItemOrangeToOrangeId; /** Current value of the zone setting. */ value: SettingsBulkEditResultItemOrangeToOrangeValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsBulkEditResultItemOrangeToOrange = /*@__PURE__*/ S.suspend( () => S.Struct({ id: SettingsBulkEditResultItemOrangeToOrangeId, value: SettingsBulkEditResultItemOrangeToOrangeValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditResultItemOrangeToOrange", }) as any as S.Schema; export type SettingsBulkEditResultItemZonesSchemasOriginErrorPagePassThruId = "origin_error_page_pass_thru"; export const SettingsBulkEditResultItemZonesSchemasOriginErrorPagePassThruId = /*@__PURE__*/ S.String; export type SettingsBulkEditResultItemZonesSchemasOriginErrorPagePassThruValue = | "on" | "off"; export const SettingsBulkEditResultItemZonesSchemasOriginErrorPagePassThruValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditResultItemZonesSchemasOriginErrorPagePassThru { /** ID of the zone setting. */ id: SettingsBulkEditResultItemZonesSchemasOriginErrorPagePassThruId; /** Current value of the zone setting. */ value: SettingsBulkEditResultItemZonesSchemasOriginErrorPagePassThruValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsBulkEditResultItemZonesSchemasOriginErrorPagePassThru = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditResultItemZonesSchemasOriginErrorPagePassThruId, value: SettingsBulkEditResultItemZonesSchemasOriginErrorPagePassThruValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditResultItemZonesSchemasOriginErrorPagePassThru", }) as any as S.Schema; export type SettingsBulkEditResultItemZonesCacheRulesOriginH2MaxStreamsId = "origin_h2_max_streams"; export const SettingsBulkEditResultItemZonesCacheRulesOriginH2MaxStreamsId = /*@__PURE__*/ S.String; export interface SettingsBulkEditResultItemZonesCacheRulesOriginH2MaxStreams { /** Value of the zone setting. */ id: SettingsBulkEditResultItemZonesCacheRulesOriginH2MaxStreamsId; /** Last time this setting was modified. */ modifiedOn?: string | null; /** Value of the Origin H2 Max Streams Setting. */ value?: number | null; } export const SettingsBulkEditResultItemZonesCacheRulesOriginH2MaxStreams = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditResultItemZonesCacheRulesOriginH2MaxStreamsId, modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), value: S.optional(S.NullOr(S.Number)), }), ).annotate({ identifier: "SettingsBulkEditResultItemZonesCacheRulesOriginH2MaxStreams", }) as any as S.Schema; export type SettingsBulkEditResultItemZonesCacheRulesOriginMaxHTTPVersionId = "origin_max_http_version"; export const SettingsBulkEditResultItemZonesCacheRulesOriginMaxHTTPVersionId = /*@__PURE__*/ S.String; export type SettingsBulkEditResultItemZonesCacheRulesOriginMaxHTTPVersionValue = | "2" | "1"; export const SettingsBulkEditResultItemZonesCacheRulesOriginMaxHTTPVersionValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditResultItemZonesCacheRulesOriginMaxHTTPVersion { /** Value of the zone setting. */ id: SettingsBulkEditResultItemZonesCacheRulesOriginMaxHTTPVersionId; /** Last time this setting was modified. */ modifiedOn?: string | null; /** Value of the Origin Max HTTP Version Setting. */ value?: SettingsBulkEditResultItemZonesCacheRulesOriginMaxHTTPVersionValue | null; } export const SettingsBulkEditResultItemZonesCacheRulesOriginMaxHTTPVersion = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditResultItemZonesCacheRulesOriginMaxHTTPVersionId, modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), value: S.optional( S.NullOr( SettingsBulkEditResultItemZonesCacheRulesOriginMaxHTTPVersionValue, ), ), }), ).annotate({ identifier: "SettingsBulkEditResultItemZonesCacheRulesOriginMaxHTTPVersion", }) as any as S.Schema; export type SettingsBulkEditResultItemZonesSchemasPolishId = "polish"; export const SettingsBulkEditResultItemZonesSchemasPolishId = /*@__PURE__*/ S.String; export type SettingsBulkEditResultItemZonesSchemasPolishValue = | "off" | "lossless" | "lossy"; export const SettingsBulkEditResultItemZonesSchemasPolishValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditResultItemZonesSchemasPolish { /** ID of the zone setting. */ id: SettingsBulkEditResultItemZonesSchemasPolishId; /** Current value of the zone setting. */ value: SettingsBulkEditResultItemZonesSchemasPolishValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsBulkEditResultItemZonesSchemasPolish = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditResultItemZonesSchemasPolishId, value: SettingsBulkEditResultItemZonesSchemasPolishValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditResultItemZonesSchemasPolish", }) as any as S.Schema; export type SettingsBulkEditResultItemPrefetchPreloadId = "prefetch_preload"; export const SettingsBulkEditResultItemPrefetchPreloadId = /*@__PURE__*/ S.String; export type SettingsBulkEditResultItemPrefetchPreloadValue = "on" | "off"; export const SettingsBulkEditResultItemPrefetchPreloadValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditResultItemPrefetchPreload { /** ID of the zone setting. */ id: SettingsBulkEditResultItemPrefetchPreloadId; /** Current value of the zone setting. */ value: SettingsBulkEditResultItemPrefetchPreloadValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsBulkEditResultItemPrefetchPreload = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditResultItemPrefetchPreloadId, value: SettingsBulkEditResultItemPrefetchPreloadValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditResultItemPrefetchPreload", }) as any as S.Schema; export type SettingsBulkEditResultItemZonesPrivacyPassId = "privacy_pass"; export const SettingsBulkEditResultItemZonesPrivacyPassId = /*@__PURE__*/ S.String; export type SettingsBulkEditResultItemZonesPrivacyPassValue = "on" | "off"; export const SettingsBulkEditResultItemZonesPrivacyPassValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditResultItemZonesPrivacyPass { /** ID of the zone setting. */ id: SettingsBulkEditResultItemZonesPrivacyPassId; /** Current value of the zone setting. */ value: SettingsBulkEditResultItemZonesPrivacyPassValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsBulkEditResultItemZonesPrivacyPass = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditResultItemZonesPrivacyPassId, value: SettingsBulkEditResultItemZonesPrivacyPassValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditResultItemZonesPrivacyPass", }) as any as S.Schema; export type SettingsBulkEditResultItemProxyReadTimeoutId = "proxy_read_timeout"; export const SettingsBulkEditResultItemProxyReadTimeoutId = /*@__PURE__*/ S.String; export interface SettingsBulkEditResultItemProxyReadTimeout { /** ID of the zone setting. */ id: SettingsBulkEditResultItemProxyReadTimeoutId; /** Current value of the zone setting. */ value: number; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsBulkEditResultItemProxyReadTimeout = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditResultItemProxyReadTimeoutId, value: S.Number, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditResultItemProxyReadTimeout", }) as any as S.Schema; export type SettingsBulkEditResultItemPseudoIPV4Id = "pseudo_ipv4"; export const SettingsBulkEditResultItemPseudoIPV4Id = /*@__PURE__*/ S.String; export type SettingsBulkEditResultItemPseudoIPV4Value = | "off" | "add_header" | "overwrite_header"; export const SettingsBulkEditResultItemPseudoIPV4Value = /*@__PURE__*/ S.String; export interface SettingsBulkEditResultItemPseudoIPV4 { /** Value of the Pseudo IPv4 setting. */ id: SettingsBulkEditResultItemPseudoIPV4Id; /** Current value of the zone setting. */ value: SettingsBulkEditResultItemPseudoIPV4Value; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsBulkEditResultItemPseudoIPV4 = /*@__PURE__*/ S.suspend( () => S.Struct({ id: SettingsBulkEditResultItemPseudoIPV4Id, value: SettingsBulkEditResultItemPseudoIPV4Value, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditResultItemPseudoIPV4", }) as any as S.Schema; export type SettingsBulkEditResultItemZonesRedirectsForAITrainingId = "redirects_for_ai_training"; export const SettingsBulkEditResultItemZonesRedirectsForAITrainingId = /*@__PURE__*/ S.String; export type SettingsBulkEditResultItemZonesRedirectsForAITrainingValue = | "off" | "on"; export const SettingsBulkEditResultItemZonesRedirectsForAITrainingValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditResultItemZonesRedirectsForAITraining { /** ID of the zone setting. */ id: SettingsBulkEditResultItemZonesRedirectsForAITrainingId; /** Current value of the zone setting. */ value: SettingsBulkEditResultItemZonesRedirectsForAITrainingValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsBulkEditResultItemZonesRedirectsForAITraining = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditResultItemZonesRedirectsForAITrainingId, value: SettingsBulkEditResultItemZonesRedirectsForAITrainingValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditResultItemZonesRedirectsForAITraining", }) as any as S.Schema; export type SettingsBulkEditResultItemZonesReplaceInsecureJSId = "replace_insecure_js"; export const SettingsBulkEditResultItemZonesReplaceInsecureJSId = /*@__PURE__*/ S.String; export type SettingsBulkEditResultItemZonesReplaceInsecureJSValue = | "on" | "off"; export const SettingsBulkEditResultItemZonesReplaceInsecureJSValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditResultItemZonesReplaceInsecureJS { /** ID of the zone setting. */ id: SettingsBulkEditResultItemZonesReplaceInsecureJSId; /** Current value of the zone setting. */ value: SettingsBulkEditResultItemZonesReplaceInsecureJSValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsBulkEditResultItemZonesReplaceInsecureJS = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditResultItemZonesReplaceInsecureJSId, value: SettingsBulkEditResultItemZonesReplaceInsecureJSValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditResultItemZonesReplaceInsecureJS", }) as any as S.Schema; export type SettingsBulkEditResultItemZonesSchemasResponseBufferingId = "response_buffering"; export const SettingsBulkEditResultItemZonesSchemasResponseBufferingId = /*@__PURE__*/ S.String; export type SettingsBulkEditResultItemZonesSchemasResponseBufferingValue = | "on" | "off"; export const SettingsBulkEditResultItemZonesSchemasResponseBufferingValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditResultItemZonesSchemasResponseBuffering { /** ID of the zone setting. */ id: SettingsBulkEditResultItemZonesSchemasResponseBufferingId; /** Current value of the zone setting. */ value: SettingsBulkEditResultItemZonesSchemasResponseBufferingValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsBulkEditResultItemZonesSchemasResponseBuffering = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditResultItemZonesSchemasResponseBufferingId, value: SettingsBulkEditResultItemZonesSchemasResponseBufferingValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditResultItemZonesSchemasResponseBuffering", }) as any as S.Schema; export type SettingsBulkEditResultItemZonesSchemasRocketLoaderId = "rocket_loader"; export const SettingsBulkEditResultItemZonesSchemasRocketLoaderId = /*@__PURE__*/ S.String; export type SettingsBulkEditResultItemZonesSchemasRocketLoaderValue = | "on" | "off"; export const SettingsBulkEditResultItemZonesSchemasRocketLoaderValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditResultItemZonesSchemasRocketLoader { /** ID of the zone setting. */ id: SettingsBulkEditResultItemZonesSchemasRocketLoaderId; /** Current value of the zone setting. */ value: SettingsBulkEditResultItemZonesSchemasRocketLoaderValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsBulkEditResultItemZonesSchemasRocketLoader = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditResultItemZonesSchemasRocketLoaderId, value: SettingsBulkEditResultItemZonesSchemasRocketLoaderValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditResultItemZonesSchemasRocketLoader", }) as any as S.Schema; export type SettingsBulkEditResultItemZonesSchemasAutomaticPlatformOptimizationId = "automatic_platform_optimization"; export const SettingsBulkEditResultItemZonesSchemasAutomaticPlatformOptimizationId = /*@__PURE__*/ S.String; export type SettingsBulkEditResultItemZonesSchemasAutomaticPlatformOptimizationValueHostnamesList = Array; export const SettingsBulkEditResultItemZonesSchemasAutomaticPlatformOptimizationValueHostnamesList = /*@__PURE__*/ S.Array( S.String, ) as any as S.Schema; export interface SettingsBulkEditResultItemZonesSchemasAutomaticPlatformOptimizationValue { /** Indicates whether or not [cache by device type](https://developers.cloudflare.com/automatic-platform-optimization/reference/cache-device-type/) is enabled. */ cacheByDeviceType: boolean; /** Indicates whether or not Cloudflare proxy is enabled. */ cf: boolean; /** Indicates whether or not Automatic Platform Optimization is enabled. */ enabled: boolean; /** An array of hostnames where Automatic Platform Optimization for WordPress is activated. */ hostnames: SettingsBulkEditResultItemZonesSchemasAutomaticPlatformOptimizationValueHostnamesList; /** Indicates whether or not site is powered by WordPress. */ wordpress: boolean; /** Indicates whether or not [Cloudflare for WordPress plugin](https://wordpress.org/plugins/cloudflare/) is installed. */ wpPlugin: boolean; } export const SettingsBulkEditResultItemZonesSchemasAutomaticPlatformOptimizationValue = /*@__PURE__*/ S.suspend(() => S.Struct({ cacheByDeviceType: S.Boolean.pipe(T.Body("cache_by_device_type")), cf: S.Boolean, enabled: S.Boolean, hostnames: SettingsBulkEditResultItemZonesSchemasAutomaticPlatformOptimizationValueHostnamesList, wordpress: S.Boolean, wpPlugin: S.Boolean.pipe(T.Body("wp_plugin")), }), ).annotate({ identifier: "SettingsBulkEditResultItemZonesSchemasAutomaticPlatformOptimizationValue", }) as any as S.Schema; export interface SettingsBulkEditResultItemZonesSchemasAutomaticPlatformOptimization { /** ID of the zone setting. */ id: SettingsBulkEditResultItemZonesSchemasAutomaticPlatformOptimizationId; /** Current value of the zone setting. */ value: SettingsBulkEditResultItemZonesSchemasAutomaticPlatformOptimizationValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsBulkEditResultItemZonesSchemasAutomaticPlatformOptimization = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditResultItemZonesSchemasAutomaticPlatformOptimizationId, value: SettingsBulkEditResultItemZonesSchemasAutomaticPlatformOptimizationValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditResultItemZonesSchemasAutomaticPlatformOptimization", }) as any as S.Schema; export type SettingsBulkEditResultItemZonesSearchForAgentsId = "search_for_agents"; export const SettingsBulkEditResultItemZonesSearchForAgentsId = /*@__PURE__*/ S.String; export type SettingsBulkEditResultItemZonesSearchForAgentsValue = "off" | "on"; export const SettingsBulkEditResultItemZonesSearchForAgentsValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditResultItemZonesSearchForAgents { /** ID of the zone setting. */ id: SettingsBulkEditResultItemZonesSearchForAgentsId; /** Current value of the zone setting. */ value: SettingsBulkEditResultItemZonesSearchForAgentsValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsBulkEditResultItemZonesSearchForAgents = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditResultItemZonesSearchForAgentsId, value: SettingsBulkEditResultItemZonesSearchForAgentsValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditResultItemZonesSearchForAgents", }) as any as S.Schema; export type SettingsBulkEditResultItemSecurityHeadersId = "security_header"; export const SettingsBulkEditResultItemSecurityHeadersId = /*@__PURE__*/ S.String; export type SettingsBulkEditResultItemSecurityHeadersValueStrictTransportSecurity = SettingsGetResultSecurityHeadersValueStrictTransportSecurity; export const SettingsBulkEditResultItemSecurityHeadersValueStrictTransportSecurity = SettingsGetResultSecurityHeadersValueStrictTransportSecurity; export type SettingsBulkEditResultItemSecurityHeadersValue = SettingsGetResultSecurityHeadersValue; export const SettingsBulkEditResultItemSecurityHeadersValue = SettingsGetResultSecurityHeadersValue; export interface SettingsBulkEditResultItemSecurityHeaders { /** ID of the zone's security header. */ id: SettingsBulkEditResultItemSecurityHeadersId; /** Current value of the zone setting. */ value: SettingsGetResultSecurityHeadersValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsBulkEditResultItemSecurityHeaders = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditResultItemSecurityHeadersId, value: SettingsGetResultSecurityHeadersValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditResultItemSecurityHeaders", }) as any as S.Schema; export type SettingsBulkEditResultItemZonesSchemasSecurityLevelId = "security_level"; export const SettingsBulkEditResultItemZonesSchemasSecurityLevelId = /*@__PURE__*/ S.String; export type SettingsBulkEditResultItemZonesSchemasSecurityLevelValue = | "off" | "essentially_off" | "low" | "medium" | "high" | "under_attack"; export const SettingsBulkEditResultItemZonesSchemasSecurityLevelValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditResultItemZonesSchemasSecurityLevel { /** ID of the zone setting. */ id: SettingsBulkEditResultItemZonesSchemasSecurityLevelId; /** Current value of the zone setting. */ value: SettingsBulkEditResultItemZonesSchemasSecurityLevelValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsBulkEditResultItemZonesSchemasSecurityLevel = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditResultItemZonesSchemasSecurityLevelId, value: SettingsBulkEditResultItemZonesSchemasSecurityLevelValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditResultItemZonesSchemasSecurityLevel", }) as any as S.Schema; export type SettingsBulkEditResultItemServerSideExcludesId = "server_side_exclude"; export const SettingsBulkEditResultItemServerSideExcludesId = /*@__PURE__*/ S.String; export type SettingsBulkEditResultItemServerSideExcludesValue = "on" | "off"; export const SettingsBulkEditResultItemServerSideExcludesValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditResultItemServerSideExcludes { /** ID of the zone setting. */ id: SettingsBulkEditResultItemServerSideExcludesId; /** Current value of the zone setting. */ value: SettingsBulkEditResultItemServerSideExcludesValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsBulkEditResultItemServerSideExcludes = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditResultItemServerSideExcludesId, value: SettingsBulkEditResultItemServerSideExcludesValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditResultItemServerSideExcludes", }) as any as S.Schema; export type SettingsBulkEditResultItemZonesSha1SupportId = "sha1_support"; export const SettingsBulkEditResultItemZonesSha1SupportId = /*@__PURE__*/ S.String; export type SettingsBulkEditResultItemZonesSha1SupportValue = "off" | "on"; export const SettingsBulkEditResultItemZonesSha1SupportValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditResultItemZonesSha1Support { /** Zone setting identifier. */ id: SettingsBulkEditResultItemZonesSha1SupportId; /** Current value of the zone setting. */ value: SettingsBulkEditResultItemZonesSha1SupportValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsBulkEditResultItemZonesSha1Support = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditResultItemZonesSha1SupportId, value: SettingsBulkEditResultItemZonesSha1SupportValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditResultItemZonesSha1Support", }) as any as S.Schema; export type SettingsBulkEditResultItemZonesSchemasSortQueryStringForCacheId = "sort_query_string_for_cache"; export const SettingsBulkEditResultItemZonesSchemasSortQueryStringForCacheId = /*@__PURE__*/ S.String; export type SettingsBulkEditResultItemZonesSchemasSortQueryStringForCacheValue = | "on" | "off"; export const SettingsBulkEditResultItemZonesSchemasSortQueryStringForCacheValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditResultItemZonesSchemasSortQueryStringForCache { /** ID of the zone setting. */ id: SettingsBulkEditResultItemZonesSchemasSortQueryStringForCacheId; /** Current value of the zone setting. */ value: SettingsBulkEditResultItemZonesSchemasSortQueryStringForCacheValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsBulkEditResultItemZonesSchemasSortQueryStringForCache = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditResultItemZonesSchemasSortQueryStringForCacheId, value: SettingsBulkEditResultItemZonesSchemasSortQueryStringForCacheValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditResultItemZonesSchemasSortQueryStringForCache", }) as any as S.Schema; export type SettingsBulkEditResultItemZonesSchemasSSLId = "ssl"; export const SettingsBulkEditResultItemZonesSchemasSSLId = /*@__PURE__*/ S.String; export type SettingsBulkEditResultItemZonesSchemasSSLValue = | "off" | "flexible" | "full" | "strict"; export const SettingsBulkEditResultItemZonesSchemasSSLValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditResultItemZonesSchemasSSL { /** ID of the zone setting. */ id: SettingsBulkEditResultItemZonesSchemasSSLId; /** Current value of the zone setting. */ value: SettingsBulkEditResultItemZonesSchemasSSLValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsBulkEditResultItemZonesSchemasSSL = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditResultItemZonesSchemasSSLId, value: SettingsBulkEditResultItemZonesSchemasSSLValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditResultItemZonesSchemasSSL", }) as any as S.Schema; export type SettingsBulkEditResultItemSSLRecommenderId = "ssl_recommender"; export const SettingsBulkEditResultItemSSLRecommenderId = /*@__PURE__*/ S.String; export interface SettingsBulkEditResultItemSSLRecommender { /** Enrollment value for SSL/TLS Recommender. */ id?: SettingsBulkEditResultItemSSLRecommenderId | null; /** ssl-recommender enrollment setting. */ enabled?: boolean | null; } export const SettingsBulkEditResultItemSSLRecommender = /*@__PURE__*/ S.suspend( () => S.Struct({ id: S.optional(S.NullOr(SettingsBulkEditResultItemSSLRecommenderId)), enabled: S.optional(S.NullOr(S.Boolean)), }), ).annotate({ identifier: "SettingsBulkEditResultItemSSLRecommender", }) as any as S.Schema; export type SettingsBulkEditResultItemZonesTLS12OnlyId = "tls_1_2_only"; export const SettingsBulkEditResultItemZonesTLS12OnlyId = /*@__PURE__*/ S.String; export type SettingsBulkEditResultItemZonesTLS12OnlyValue = "off" | "on"; export const SettingsBulkEditResultItemZonesTLS12OnlyValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditResultItemZonesTLS12Only { /** Zone setting identifier. */ id: SettingsBulkEditResultItemZonesTLS12OnlyId; /** Current value of the zone setting. */ value: SettingsBulkEditResultItemZonesTLS12OnlyValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsBulkEditResultItemZonesTLS12Only = /*@__PURE__*/ S.suspend( () => S.Struct({ id: SettingsBulkEditResultItemZonesTLS12OnlyId, value: SettingsBulkEditResultItemZonesTLS12OnlyValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditResultItemZonesTLS12Only", }) as any as S.Schema; export type SettingsBulkEditResultItemTLS13Id = "tls_1_3"; export const SettingsBulkEditResultItemTLS13Id = /*@__PURE__*/ S.String; export type SettingsBulkEditResultItemTLS13Value = "on" | "off" | "zrt"; export const SettingsBulkEditResultItemTLS13Value = /*@__PURE__*/ S.String; export interface SettingsBulkEditResultItemTLS13 { /** ID of the zone setting. */ id: SettingsBulkEditResultItemTLS13Id; /** Current value of the zone setting. */ value: SettingsBulkEditResultItemTLS13Value; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsBulkEditResultItemTLS13 = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditResultItemTLS13Id, value: SettingsBulkEditResultItemTLS13Value, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditResultItemTLS13", }) as any as S.Schema; export type SettingsBulkEditResultItemTLSClientAuthId = "tls_client_auth"; export const SettingsBulkEditResultItemTLSClientAuthId = /*@__PURE__*/ S.String; export type SettingsBulkEditResultItemTLSClientAuthValue = "on" | "off"; export const SettingsBulkEditResultItemTLSClientAuthValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditResultItemTLSClientAuth { /** ID of the zone setting. */ id: SettingsBulkEditResultItemTLSClientAuthId; /** Current value of the zone setting. */ value: SettingsBulkEditResultItemTLSClientAuthValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsBulkEditResultItemTLSClientAuth = /*@__PURE__*/ S.suspend( () => S.Struct({ id: SettingsBulkEditResultItemTLSClientAuthId, value: SettingsBulkEditResultItemTLSClientAuthValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditResultItemTLSClientAuth", }) as any as S.Schema; export type SettingsBulkEditResultItemZonesTransformationsId = "transformations"; export const SettingsBulkEditResultItemZonesTransformationsId = /*@__PURE__*/ S.String; export type SettingsBulkEditResultItemZonesTransformationsValue = | "on" | "off" | "open"; export const SettingsBulkEditResultItemZonesTransformationsValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditResultItemZonesTransformations { /** ID of the zone setting. Shared between Image Transformations and Video Transformations. */ id: SettingsBulkEditResultItemZonesTransformationsId; /** Current value of the zone setting. */ value: SettingsBulkEditResultItemZonesTransformationsValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsBulkEditResultItemZonesTransformations = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditResultItemZonesTransformationsId, value: SettingsBulkEditResultItemZonesTransformationsValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditResultItemZonesTransformations", }) as any as S.Schema; export type SettingsBulkEditResultItemZonesTransformationsAllowedOriginsId = "transformations_allowed_origins"; export const SettingsBulkEditResultItemZonesTransformationsAllowedOriginsId = /*@__PURE__*/ S.String; export interface SettingsBulkEditResultItemZonesTransformationsAllowedOrigins { /** ID of the zone setting. Shared between Image Transformations and Video Transformations. */ id: SettingsBulkEditResultItemZonesTransformationsAllowedOriginsId; /** Current value of the zone setting. */ value: string; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsBulkEditResultItemZonesTransformationsAllowedOrigins = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditResultItemZonesTransformationsAllowedOriginsId, value: S.String, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditResultItemZonesTransformationsAllowedOrigins", }) as any as S.Schema; export type SettingsBulkEditResultItemZonesSchemasTrueClientIPHeaderId = "true_client_ip_header"; export const SettingsBulkEditResultItemZonesSchemasTrueClientIPHeaderId = /*@__PURE__*/ S.String; export type SettingsBulkEditResultItemZonesSchemasTrueClientIPHeaderValue = | "on" | "off"; export const SettingsBulkEditResultItemZonesSchemasTrueClientIPHeaderValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditResultItemZonesSchemasTrueClientIPHeader { /** ID of the zone setting. */ id: SettingsBulkEditResultItemZonesSchemasTrueClientIPHeaderId; /** Current value of the zone setting. */ value: SettingsBulkEditResultItemZonesSchemasTrueClientIPHeaderValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsBulkEditResultItemZonesSchemasTrueClientIPHeader = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditResultItemZonesSchemasTrueClientIPHeaderId, value: SettingsBulkEditResultItemZonesSchemasTrueClientIPHeaderValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditResultItemZonesSchemasTrueClientIPHeader", }) as any as S.Schema; export type SettingsBulkEditResultItemZonesSchemasWAFId = "waf"; export const SettingsBulkEditResultItemZonesSchemasWAFId = /*@__PURE__*/ S.String; export type SettingsBulkEditResultItemZonesSchemasWAFValue = "on" | "off"; export const SettingsBulkEditResultItemZonesSchemasWAFValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditResultItemZonesSchemasWAF { /** ID of the zone setting. */ id: SettingsBulkEditResultItemZonesSchemasWAFId; /** Current value of the zone setting. */ value: SettingsBulkEditResultItemZonesSchemasWAFValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsBulkEditResultItemZonesSchemasWAF = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditResultItemZonesSchemasWAFId, value: SettingsBulkEditResultItemZonesSchemasWAFValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditResultItemZonesSchemasWAF", }) as any as S.Schema; export type SettingsBulkEditResultItemWebPId = "webp"; export const SettingsBulkEditResultItemWebPId = /*@__PURE__*/ S.String; export type SettingsBulkEditResultItemWebPValue = "off" | "on"; export const SettingsBulkEditResultItemWebPValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditResultItemWebP { /** ID of the zone setting. */ id: SettingsBulkEditResultItemWebPId; /** Current value of the zone setting. */ value: SettingsBulkEditResultItemWebPValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsBulkEditResultItemWebP = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditResultItemWebPId, value: SettingsBulkEditResultItemWebPValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditResultItemWebP", }) as any as S.Schema; export type SettingsBulkEditResultItemWebsocketId = "websockets"; export const SettingsBulkEditResultItemWebsocketId = /*@__PURE__*/ S.String; export type SettingsBulkEditResultItemWebsocketValue = "off" | "on"; export const SettingsBulkEditResultItemWebsocketValue = /*@__PURE__*/ S.String; export interface SettingsBulkEditResultItemWebsocket { /** ID of the zone setting. */ id: SettingsBulkEditResultItemWebsocketId; /** Current value of the zone setting. */ value: SettingsBulkEditResultItemWebsocketValue; /** Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). */ editable?: boolean | null; /** last time this setting was modified. */ modifiedOn?: string | null; } export const SettingsBulkEditResultItemWebsocket = /*@__PURE__*/ S.suspend(() => S.Struct({ id: SettingsBulkEditResultItemWebsocketId, value: SettingsBulkEditResultItemWebsocketValue, editable: S.optional(S.NullOr(S.Boolean)), modifiedOn: S.optional(S.NullOr(S.String).pipe(T.Body("modified_on"))), }), ).annotate({ identifier: "SettingsBulkEditResultItemWebsocket", }) as any as S.Schema; export type SettingsBulkEditResultItem = | SettingsBulkEditResultItemZeroRTT | SettingsBulkEditResultItemAdvancedDDoS | SettingsBulkEditResultItemZonesCacheRulesAegis | SettingsBulkEditResultItemAlwaysOnline | SettingsBulkEditResultItemZonesSchemasAlwaysUseHTTPS | SettingsBulkEditResultItemZonesSchemasAutomaticHTTPSRewrites | SettingsBulkEditResultItemBrotli | SettingsBulkEditResultItemZonesSchemasBrowserCacheTTL | SettingsBulkEditResultItemZonesSchemasBrowserCheck | SettingsBulkEditResultItemZonesSchemasCacheLevel | SettingsBulkEditResultItemChallengeTTL | SettingsBulkEditResultItemCiphers | SettingsBulkEditResultItemZonesContentConverter | SettingsBulkEditResultItemZonesCNAMEFlattening | SettingsBulkEditResultItemDevelopmentMode | SettingsBulkEditResultItemEarlyHints | SettingsBulkEditResultItemZonesSchemasEdgeCacheTTL | SettingsBulkEditResultItemZonesSchemasEmailObfuscation | SettingsBulkEditResultItemH2Prioritization | SettingsBulkEditResultItemHotlinkProtection | SettingsBulkEditResultItemHTTP2 | SettingsBulkEditResultItemHTTP3 | SettingsBulkEditResultItemImageResizing | SettingsBulkEditResultItemZonesSchemasIPGeolocation | SettingsBulkEditResultItemIPV6 | SettingsBulkEditResultItemZonesMaxUpload | SettingsBulkEditResultItemMinTLSVersion | SettingsBulkEditResultItemZonesSchemasMirage | SettingsBulkEditResultItemNEL | SettingsBulkEditResultItemZonesSchemasOpportunisticEncryption | SettingsBulkEditResultItemOpportunisticOnion | SettingsBulkEditResultItemOrangeToOrange | SettingsBulkEditResultItemZonesSchemasOriginErrorPagePassThru | SettingsBulkEditResultItemZonesCacheRulesOriginH2MaxStreams | SettingsBulkEditResultItemZonesCacheRulesOriginMaxHTTPVersion | SettingsBulkEditResultItemZonesSchemasPolish | SettingsBulkEditResultItemPrefetchPreload | SettingsBulkEditResultItemZonesPrivacyPass | SettingsBulkEditResultItemProxyReadTimeout | SettingsBulkEditResultItemPseudoIPV4 | SettingsBulkEditResultItemZonesRedirectsForAITraining | SettingsBulkEditResultItemZonesReplaceInsecureJS | SettingsBulkEditResultItemZonesSchemasResponseBuffering | SettingsBulkEditResultItemZonesSchemasRocketLoader | SettingsBulkEditResultItemZonesSchemasAutomaticPlatformOptimization | SettingsBulkEditResultItemZonesSearchForAgents | SettingsBulkEditResultItemSecurityHeaders | SettingsBulkEditResultItemZonesSchemasSecurityLevel | SettingsBulkEditResultItemServerSideExcludes | SettingsBulkEditResultItemZonesSha1Support | SettingsBulkEditResultItemZonesSchemasSortQueryStringForCache | SettingsBulkEditResultItemZonesSchemasSSL | SettingsBulkEditResultItemSSLRecommender | SettingsBulkEditResultItemZonesTLS12Only | SettingsBulkEditResultItemTLS13 | SettingsBulkEditResultItemTLSClientAuth | SettingsBulkEditResultItemZonesTransformations | SettingsBulkEditResultItemZonesTransformationsAllowedOrigins | SettingsBulkEditResultItemZonesSchemasTrueClientIPHeader | SettingsBulkEditResultItemZonesSchemasWAF | SettingsBulkEditResultItemWebP | SettingsBulkEditResultItemWebsocket; export const SettingsBulkEditResultItem = /*@__PURE__*/ S.Unknown.pipe( T.UnionCases([ ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "modifiedOn", "value"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn", "timeRemaining"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "modifiedOn", "value"], ["id", "modifiedOn", "value"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "enabled"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ["id", "value", "editable", "modifiedOn"], ]), ); export type SettingsBulkEditResultList = Array; export const SettingsBulkEditResultList = /*@__PURE__*/ S.Array( SettingsBulkEditResultItem, ) as any as S.Schema; export type SettingsBulkEditResponse = SettingsBulkEditResultList; export const SettingsBulkEditResponse = /*@__PURE__*/ S.suspend(() => SettingsBulkEditResultList.pipe( T.EnvelopePayloadRoot(), T.KeyDictionary(KEY_DICTIONARY), ), ).annotate({ identifier: "SettingsBulkEditResponse", }) as any as S.Schema; export interface TriggerActivationCheckRequest { /** Identifier. */ zoneId: string; } export const TriggerActivationCheckRequest = /*@__PURE__*/ S.suspend(() => S.Struct({ zoneId: S.String.pipe(T.Label("zone_id")), }) .pipe( T.Http({ method: "PUT", uri: "/zones/{zone_id}/activation_check", code: 200, }), ) .pipe(T.KeyDictionary(KEY_DICTIONARY)), ).annotate({ identifier: "TriggerActivationCheckRequest", }) as any as S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface TriggerActivationCheckResponse { /** Identifier. */ id?: string | null; } export const TriggerActivationCheckResponse = /*@__PURE__*/ S.suspend(() => S.Struct({ id: S.optional(S.NullOr(S.String)), }).pipe(T.KeyDictionary(KEY_DICTIONARY)), ).annotate({ identifier: "TriggerActivationCheckResponse", }) as any as S.Schema; export type EnvironmentsUpdateRequestEnvironmentsItemPosition = EnvironmentsCreateRequestEnvironmentsItemPosition; export const EnvironmentsUpdateRequestEnvironmentsItemPosition = EnvironmentsCreateRequestEnvironmentsItemPosition; export type EnvironmentsUpdateRequestEnvironmentsItem = EnvironmentsCreateRequestEnvironmentsItem; export const EnvironmentsUpdateRequestEnvironmentsItem = EnvironmentsCreateRequestEnvironmentsItem; export type EnvironmentsUpdateRequestEnvironmentsList = Array; export const EnvironmentsUpdateRequestEnvironmentsList = /*@__PURE__*/ S.Array( EnvironmentsCreateRequestEnvironmentsItem, ) as any as S.Schema; export interface UpdateEnvironmentRequest { zoneId: string; environments: EnvironmentsUpdateRequestEnvironmentsList; } export const UpdateEnvironmentRequest = /*@__PURE__*/ S.suspend(() => S.Struct({ zoneId: S.String.pipe(T.Label("zone_id")), environments: EnvironmentsUpdateRequestEnvironmentsList, }) .pipe( T.Http({ method: "PUT", uri: "/zones/{zone_id}/environments", code: 200, }), ) .pipe(T.KeyDictionary(KEY_DICTIONARY)), ).annotate({ identifier: "UpdateEnvironmentRequest", }) as any as S.Schema; export type EnvironmentsUpdateResponseEnvironmentsItemPosition = EnvironmentsCreateResponseEnvironmentsItemPosition; export const EnvironmentsUpdateResponseEnvironmentsItemPosition = EnvironmentsCreateResponseEnvironmentsItemPosition; export type EnvironmentsUpdateResponseEnvironmentsItem = EnvironmentsCreateResponseEnvironmentsItem; export const EnvironmentsUpdateResponseEnvironmentsItem = EnvironmentsCreateResponseEnvironmentsItem; export type EnvironmentsUpdateResponseEnvironmentsList = Array; export const EnvironmentsUpdateResponseEnvironmentsList = /*@__PURE__*/ S.Array( EnvironmentsCreateResponseEnvironmentsItem, ) as any as S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface UpdateEnvironmentResponse { environments: EnvironmentsUpdateResponseEnvironmentsList; } export const UpdateEnvironmentResponse = /*@__PURE__*/ S.suspend(() => S.Struct({ environments: EnvironmentsUpdateResponseEnvironmentsList, }).pipe(T.KeyDictionary(KEY_DICTIONARY)), ).annotate({ identifier: "UpdateEnvironmentResponse", }) as any as S.Schema; export type SubscriptionsUpdateRequestFrequency = | "weekly" | "monthly" | "quarterly" | "yearly"; export const SubscriptionsUpdateRequestFrequency = /*@__PURE__*/ S.String; export type SubscriptionsUpdateRequestRatePlanId = | "free" | "lite" | "pro" | "pro_plus" | "business" | "enterprise" | "partners_free" | "partners_pro" | "partners_business" | "partners_enterprise"; export const SubscriptionsUpdateRequestRatePlanId = /*@__PURE__*/ S.String; export type SubscriptionsUpdateRequestRatePlanSetsList = Array; export const SubscriptionsUpdateRequestRatePlanSetsList = /*@__PURE__*/ S.Array( S.String, ) as any as S.Schema; export interface SubscriptionsUpdateRequestRatePlan { /** The ID of the rate plan. */ id?: SubscriptionsUpdateRequestRatePlanId | (string & {}); /** The currency applied to the rate plan subscription. */ currency?: string; /** Whether this rate plan is managed externally from Cloudflare. */ externallyManaged?: boolean; /** Whether a rate plan is enterprise-based (or newly adopted term contract). */ isContract?: boolean; /** The full name of the rate plan. */ publicName?: string; /** The scope that this rate plan applies to. */ scope?: string; /** The list of sets this rate plan applies to. Returns array of strings. */ sets?: SubscriptionsUpdateRequestRatePlanSetsList; } export const SubscriptionsUpdateRequestRatePlan = /*@__PURE__*/ S.suspend(() => S.Struct({ id: S.optional(SubscriptionsUpdateRequestRatePlanId), currency: S.optional(S.String), externallyManaged: S.optional(S.Boolean.pipe(T.Body("externally_managed"))), isContract: S.optional(S.Boolean.pipe(T.Body("is_contract"))), publicName: S.optional(S.String.pipe(T.Body("public_name"))), scope: S.optional(S.String), sets: S.optional(SubscriptionsUpdateRequestRatePlanSetsList), }), ).annotate({ identifier: "SubscriptionsUpdateRequestRatePlan", }) as any as S.Schema; export interface UpdateSubscriptionRequest { /** Identifier */ zoneId: string; /** How often the subscription is renewed automatically. */ frequency?: SubscriptionsUpdateRequestFrequency | (string & {}); /** The rate plan applied to the subscription. */ ratePlan?: SubscriptionsUpdateRequestRatePlan; } export const UpdateSubscriptionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({ zoneId: S.String.pipe(T.Label("zone_id")), frequency: S.optional(SubscriptionsUpdateRequestFrequency), ratePlan: S.optional( SubscriptionsUpdateRequestRatePlan.pipe(T.Body("rate_plan")), ), }) .pipe( T.Http({ method: "PUT", uri: "/zones/{zone_id}/subscription", code: 200, }), ) .pipe(T.KeyDictionary(KEY_DICTIONARY)), ).annotate({ identifier: "UpdateSubscriptionRequest", }) as any as S.Schema; export type SubscriptionsUpdateResponseFrequency = | "weekly" | "monthly" | "quarterly" | "yearly" | "not-applicable"; export const SubscriptionsUpdateResponseFrequency = /*@__PURE__*/ S.String; export type SubscriptionsUpdateResponseRatePlanId = | "free" | "lite" | "pro" | "pro_plus" | "business" | "enterprise" | "partners_free" | "partners_pro" | "partners_business" | "partners_enterprise"; export const SubscriptionsUpdateResponseRatePlanId = /*@__PURE__*/ S.String; export type SubscriptionsUpdateResponseRatePlanSetsList = Array; export const SubscriptionsUpdateResponseRatePlanSetsList = /*@__PURE__*/ S.Array( S.String, ) as any as S.Schema; export interface SubscriptionsUpdateResponseRatePlan { /** The ID of the rate plan. */ id?: SubscriptionsUpdateResponseRatePlanId | null; /** The currency applied to the rate plan subscription. */ currency?: string | null; /** Whether this rate plan is managed externally from Cloudflare. */ externallyManaged?: boolean | null; /** Whether a rate plan is enterprise-based (or newly adopted term contract). */ isContract?: boolean | null; /** The full name of the rate plan. */ publicName?: string | null; /** The scope that this rate plan applies to. */ scope?: string | null; /** The list of sets this rate plan applies to. Returns array of strings. */ sets?: SubscriptionsUpdateResponseRatePlanSetsList | null; } export const SubscriptionsUpdateResponseRatePlan = /*@__PURE__*/ S.suspend(() => S.Struct({ id: S.optional(S.NullOr(SubscriptionsUpdateResponseRatePlanId)), currency: S.optional(S.NullOr(S.String)), externallyManaged: S.optional( S.NullOr(S.Boolean).pipe(T.Body("externally_managed")), ), isContract: S.optional(S.NullOr(S.Boolean).pipe(T.Body("is_contract"))), publicName: S.optional(S.NullOr(S.String).pipe(T.Body("public_name"))), scope: S.optional(S.NullOr(S.String)), sets: S.optional(S.NullOr(SubscriptionsUpdateResponseRatePlanSetsList)), }), ).annotate({ identifier: "SubscriptionsUpdateResponseRatePlan", }) as any as S.Schema; export type SubscriptionsUpdateResponseState = | "Trial" | "Provisioned" | "Paid" | "AwaitingPayment" | "Cancelled" | "Failed" | "Expired"; export const SubscriptionsUpdateResponseState = /*@__PURE__*/ S.String; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface UpdateSubscriptionResponse { /** Subscription identifier tag. */ id?: string | null; /** The monetary unit in which pricing information is displayed. */ currency?: string | null; /** The end of the current period and also when the next billing is due. */ currentPeriodEnd?: string | null; /** When the current billing period started. May match initial_period_start if this is the first period. */ currentPeriodStart?: string | null; /** How often the subscription is renewed automatically. */ frequency?: SubscriptionsUpdateResponseFrequency | null; /** The price of the subscription that will be billed, in US dollars. */ price?: number | null; /** The rate plan applied to the subscription. */ ratePlan?: SubscriptionsUpdateResponseRatePlan | null; /** The state that the subscription is in. */ state?: SubscriptionsUpdateResponseState | null; } export const UpdateSubscriptionResponse = /*@__PURE__*/ S.suspend(() => S.Struct({ id: S.optional(S.NullOr(S.String)), currency: S.optional(S.NullOr(S.String)), currentPeriodEnd: S.optional( S.NullOr(S.String).pipe(T.Body("current_period_end")), ), currentPeriodStart: S.optional( S.NullOr(S.String).pipe(T.Body("current_period_start")), ), frequency: S.optional(S.NullOr(SubscriptionsUpdateResponseFrequency)), price: S.optional(S.NullOr(S.Number)), ratePlan: S.optional( S.NullOr(SubscriptionsUpdateResponseRatePlan).pipe(T.Body("rate_plan")), ), state: S.optional(S.NullOr(SubscriptionsUpdateResponseState)), }).pipe(T.KeyDictionary(KEY_DICTIONARY)), ).annotate({ identifier: "UpdateSubscriptionResponse", }) as any as S.Schema; export type CreateEnvironmentError = CloudflareOpError; /** Create zone environments */ export const createEnvironment: API.OperationMethod< CreateEnvironmentRequest, CreateEnvironmentResponse, CreateEnvironmentError, CloudflareOpContext > = /*@__PURE__*/ API.make(() => ({ input: CreateEnvironmentRequest, output: CreateEnvironmentResponse, errors: [CloudflareRateLimited, CloudflareError], protocol: CloudflareProtocol, retry: Retry.Retry, })); export type CreateHoldError = | ZoneHoldsRequireEnterprise | InvalidZoneIdentifier | Forbidden | CloudflareOpError; /** Enforce a zone hold on the zone, blocking the creation and activation of zones with this zone's hostname. Zone holds cannot be enabled on CDN-only zones. */ export const createHold: API.OperationMethod< CreateHoldRequest, CreateHoldResponse, CreateHoldError, CloudflareOpContext > = /*@__PURE__*/ API.make(() => ({ input: CreateHoldRequest, output: CreateHoldResponse, errors: [ ZoneHoldsRequireEnterprise, InvalidZoneIdentifier, Forbidden, CloudflareRateLimited, CloudflareError, ], protocol: CloudflareProtocol, retry: Retry.Retry, })); export type CreateSubscriptionError = CloudflareOpError; /** Create a zone subscription, either plan or add-ons. */ export const createSubscription: API.OperationMethod< CreateSubscriptionRequest, CreateSubscriptionResponse, CreateSubscriptionError, CloudflareOpContext > = /*@__PURE__*/ API.make(() => ({ input: CreateSubscriptionRequest, output: CreateSubscriptionResponse, errors: [CloudflareRateLimited, CloudflareError], protocol: CloudflareProtocol, retry: Retry.Retry, })); export type CreateZoneError = | ZoneAlreadyExists | ZoneCreationBlocked | InvalidDomain | DomainNotRegistered | SubdomainNotAllowed | CloudflareOpError; /** Create Zone */ export const createZone: API.OperationMethod< CreateZoneRequest, CreateZoneResponse, CreateZoneError, CloudflareOpContext > = /*@__PURE__*/ API.make(() => ({ input: CreateZoneRequest, output: CreateZoneResponse, errors: [ ZoneAlreadyExists, ZoneCreationBlocked, InvalidDomain, DomainNotRegistered, SubdomainNotAllowed, CloudflareRateLimited, CloudflareError, ], protocol: CloudflareProtocol, retry: Retry.Retry, })); export type DeleteEnvironmentError = CloudflareOpError; /** Delete zone environment */ export const deleteEnvironment: API.OperationMethod< DeleteEnvironmentRequest, DeleteEnvironmentResponse, DeleteEnvironmentError, CloudflareOpContext > = /*@__PURE__*/ API.make(() => ({ input: DeleteEnvironmentRequest, output: DeleteEnvironmentResponse, errors: [CloudflareRateLimited, CloudflareError], protocol: CloudflareProtocol, retry: Retry.Retry, })); export type DeleteHoldError = | InvalidZoneIdentifier | Forbidden | CloudflareOpError; /** Stop enforcement of a zone hold on the zone, permanently or temporarily, allowing the creation and activation of zones with this zone's hostname. Existing zone holds can be removed from CDN-only zones when `hold_after` is not provided. Active holds are automatically disabled when a zone transitions to CDN-only mode. */ export const deleteHold: API.OperationMethod< DeleteHoldRequest, DeleteHoldResponse, DeleteHoldError, CloudflareOpContext > = /*@__PURE__*/ API.make(() => ({ input: DeleteHoldRequest, output: DeleteHoldResponse, errors: [ InvalidZoneIdentifier, Forbidden, CloudflareRateLimited, CloudflareError, ], protocol: CloudflareProtocol, retry: Retry.Retry, })); export type DeleteZoneError = InvalidZoneIdentifier | CloudflareOpError; /** Deletes an existing zone. */ export const deleteZone: API.OperationMethod< DeleteZoneRequest, DeleteZoneResponse, DeleteZoneError, CloudflareOpContext > = /*@__PURE__*/ API.make(() => ({ input: DeleteZoneRequest, output: DeleteZoneResponse, errors: [InvalidZoneIdentifier, CloudflareRateLimited, CloudflareError], protocol: CloudflareProtocol, retry: Retry.Retry, })); export type GetCtAlertingError = CloudflareOpError; /** Retrieve the Certificate Transparency alerting subscription settings for a zone. Returns whether CT monitoring is enabled and, for Business and Enterprise zones, the list of email addresses that receive alerts. */ export const getCtAlerting: API.OperationMethod< GetCtAlertingRequest, GetCtAlertingResponse, GetCtAlertingError, CloudflareOpContext > = /*@__PURE__*/ API.make(() => ({ input: GetCtAlertingRequest, output: GetCtAlertingResponse, errors: [CloudflareRateLimited, CloudflareError], protocol: CloudflareProtocol, retry: Retry.Retry, })); export type GetCustomNameserverError = | InvalidZoneIdentifier | Forbidden | CloudflareOpError; /** Get metadata for account-level custom nameservers on a zone. Deprecated in favor of [Show DNS Settings](https://developers.cloudflare.com/api/operations/dns-settings-for-a-zone-list-dns-settings). */ export const getCustomNameserver: API.OperationMethod< GetCustomNameserverRequest, GetCustomNameserverResponse, GetCustomNameserverError, CloudflareOpContext > = /*@__PURE__*/ API.make(() => ({ input: GetCustomNameserverRequest, output: GetCustomNameserverResponse, errors: [ InvalidZoneIdentifier, Forbidden, CloudflareRateLimited, CloudflareError, ], protocol: CloudflareProtocol, retry: Retry.Retry, })); export type GetHoldError = | InvalidZoneIdentifier | Forbidden | CloudflareOpError; /** Retrieve whether the zone is subject to a zone hold, and metadata about the hold. */ export const getHold: API.OperationMethod< GetHoldRequest, GetHoldResponse, GetHoldError, CloudflareOpContext > = /*@__PURE__*/ API.make(() => ({ input: GetHoldRequest, output: GetHoldResponse, errors: [ InvalidZoneIdentifier, Forbidden, CloudflareRateLimited, CloudflareError, ], protocol: CloudflareProtocol, retry: Retry.Retry, })); export type GetPlanError = CloudflareOpError; /** Details of the available plan that the zone can subscribe to. */ export const getPlan: API.OperationMethod< GetPlanRequest, GetPlanResponse, GetPlanError, CloudflareOpContext > = /*@__PURE__*/ API.make(() => ({ input: GetPlanRequest, output: GetPlanResponse, errors: [CloudflareRateLimited, CloudflareError], protocol: CloudflareProtocol, retry: Retry.Retry, })); export type GetRatePlanError = CloudflareOpError; /** Lists all rate plans the zone can subscribe to. */ export const getRatePlan: API.PaginatedOperationMethod< GetRatePlanRequest, GetRatePlanResponse, GetRatePlanError, CloudflareOpContext, RatePlansGetResultItem > = /*@__PURE__*/ API.makePaginated( () => ({ input: GetRatePlanRequest, output: GetRatePlanResponse, errors: [CloudflareRateLimited, CloudflareError], protocol: CloudflarePaginatedProtocol, retry: Retry.Retry, pagination: { mode: "single", items: "result" } as const, }), cloudflarePaginate, ) as any; export type GetSettingError = | InvalidZoneIdentifier | Forbidden | CloudflareOpError; /** Fetch a single zone setting by name */ export const getSetting: API.OperationMethod< GetSettingRequest, GetSettingResponse, GetSettingError, CloudflareOpContext > = /*@__PURE__*/ API.make(() => ({ input: GetSettingRequest, output: GetSettingResponse, errors: [ InvalidZoneIdentifier, Forbidden, CloudflareRateLimited, CloudflareError, ], protocol: CloudflareProtocol, retry: Retry.Retry, })); export type GetSubscriptionError = CloudflareOpError; /** Lists zone subscription details. */ export const getSubscription: API.OperationMethod< GetSubscriptionRequest, GetSubscriptionResponse, GetSubscriptionError, CloudflareOpContext > = /*@__PURE__*/ API.make(() => ({ input: GetSubscriptionRequest, output: GetSubscriptionResponse, errors: [CloudflareRateLimited, CloudflareError], protocol: CloudflareProtocol, retry: Retry.Retry, })); export type GetZoneError = InvalidZoneIdentifier | CloudflareOpError; /** Zone Details */ export const getZone: API.OperationMethod< GetZoneRequest, GetZoneResponse, GetZoneError, CloudflareOpContext > = /*@__PURE__*/ API.make(() => ({ input: GetZoneRequest, output: GetZoneResponse, errors: [InvalidZoneIdentifier, CloudflareRateLimited, CloudflareError], protocol: CloudflareProtocol, retry: Retry.Retry, })); export type ListEnvironmentsError = CloudflareOpError; /** List zone environments */ export const listEnvironments: API.OperationMethod< ListEnvironmentsRequest, ListEnvironmentsResponse, ListEnvironmentsError, CloudflareOpContext > = /*@__PURE__*/ API.make(() => ({ input: ListEnvironmentsRequest, output: ListEnvironmentsResponse, errors: [CloudflareRateLimited, CloudflareError], protocol: CloudflareProtocol, retry: Retry.Retry, })); export type ListPlansError = CloudflareOpError; /** Lists available plans the zone can subscribe to. */ export const listPlans: API.PaginatedOperationMethod< ListPlansRequest, ListPlansResponse, ListPlansError, CloudflareOpContext, PlansListResultItem > = /*@__PURE__*/ API.makePaginated( () => ({ input: ListPlansRequest, output: ListPlansResponse, errors: [CloudflareRateLimited, CloudflareError], protocol: CloudflarePaginatedProtocol, retry: Retry.Retry, pagination: { mode: "single", items: "result" } as const, }), cloudflarePaginate, ) as any; export type ListSettingsError = CloudflareOpError; /** Available settings for your user in relation to a zone. */ export const listSettings: API.OperationMethod< ListSettingsRequest, ListSettingsResponse, ListSettingsError, CloudflareOpContext > = /*@__PURE__*/ API.make(() => ({ input: ListSettingsRequest, output: ListSettingsResponse, errors: [CloudflareRateLimited, CloudflareError], protocol: CloudflareProtocol, retry: Retry.Retry, })); export type ListZonesError = CloudflareOpError; /** Lists, searches, sorts, and filters your zones. Listing zones across more than 500 accounts is currently not allowed. */ export const listZones: API.PaginatedOperationMethod< ListZonesRequest, ListZonesResponse, ListZonesError, CloudflareOpContext, ListResultItem > = /*@__PURE__*/ API.makePaginated( () => ({ input: ListZonesRequest, output: ListZonesResponse, errors: [CloudflareRateLimited, CloudflareError], protocol: CloudflarePaginatedProtocol, retry: Retry.Retry, pagination: { mode: "page", inputToken: "page", outputToken: "resultInfo.page", items: "result", pageSize: "perPage", } as const, }), cloudflarePaginate, ) as any; export type PatchCtAlertingError = CloudflareOpError; /** Create or update the Certificate Transparency alerting subscription for a zone. Enables or disables email notifications when certificates are issued for the zone's domains. For Free and Pro zones, the subscription is toggled on or off using the enabled field. Notification emails are sent to all users with SSL permissions on the zone. For Business and Enterprise zones, the emails field is required and controls which addresses receive alerts. Setting emails to an empty list disables the subscription regardless of the enabled field. A maximum of 10 email addresses may be configured. */ export const patchCtAlerting: API.OperationMethod< PatchCtAlertingRequest, PatchCtAlertingResponse, PatchCtAlertingError, CloudflareOpContext > = /*@__PURE__*/ API.make(() => ({ input: PatchCtAlertingRequest, output: PatchCtAlertingResponse, errors: [CloudflareRateLimited, CloudflareError], protocol: CloudflareProtocol, retry: Retry.Retry, })); export type PatchEnvironmentError = CloudflareOpError; /** Partially update zone environments */ export const patchEnvironment: API.OperationMethod< PatchEnvironmentRequest, PatchEnvironmentResponse, PatchEnvironmentError, CloudflareOpContext > = /*@__PURE__*/ API.make(() => ({ input: PatchEnvironmentRequest, output: PatchEnvironmentResponse, errors: [CloudflareRateLimited, CloudflareError], protocol: CloudflareProtocol, retry: Retry.Retry, })); export type PatchHoldError = | ZoneHoldNotFound | ZoneHoldsRequireEnterprise | InvalidZoneIdentifier | Forbidden | CloudflareOpError; /** Update the `hold_after` and/or `include_subdomains` values on an existing zone hold. The hold is enabled if the `hold_after` date-time value is in the past. Existing zone holds can be removed from CDN-only zones by setting `hold_after` to `null`. Other zone hold updates cannot be made on CDN-only zones. Active holds are automatically disabled when a zone transitions to CDN-only mode. */ export const patchHold: API.OperationMethod< PatchHoldRequest, PatchHoldResponse, PatchHoldError, CloudflareOpContext > = /*@__PURE__*/ API.make(() => ({ input: PatchHoldRequest, output: PatchHoldResponse, errors: [ ZoneHoldNotFound, ZoneHoldsRequireEnterprise, InvalidZoneIdentifier, Forbidden, CloudflareRateLimited, CloudflareError, ], protocol: CloudflareProtocol, retry: Retry.Retry, })); export type PatchSettingError = | InvalidZoneIdentifier | Forbidden | CloudflareOpError; /** Updates a single zone setting by the identifier */ export const patchSetting: API.OperationMethod< PatchSettingRequest, PatchSettingResponse, PatchSettingError, CloudflareOpContext > = /*@__PURE__*/ API.make(() => ({ input: PatchSettingRequest, output: PatchSettingResponse, errors: [ InvalidZoneIdentifier, Forbidden, CloudflareRateLimited, CloudflareError, ], protocol: CloudflareProtocol, retry: Retry.Retry, })); export type PatchZoneError = InvalidZoneIdentifier | CloudflareOpError; /** Edits a zone. Only one zone property can be changed at a time. */ export const patchZone: API.OperationMethod< PatchZoneRequest, PatchZoneResponse, PatchZoneError, CloudflareOpContext > = /*@__PURE__*/ API.make(() => ({ input: PatchZoneRequest, output: PatchZoneResponse, errors: [InvalidZoneIdentifier, CloudflareRateLimited, CloudflareError], protocol: CloudflareProtocol, retry: Retry.Retry, })); export type PutCustomNameserverError = | InvalidZoneIdentifier | CustomNameserverSetNotFound | Forbidden | CloudflareOpError; /** Set metadata for account-level custom nameservers on a zone. If you would like new zones in the account to use account custom nameservers by default, use PUT /accounts/:identifier to set the account setting use_account_custom_ns_by_default to true. Deprecated in favor of [Update DNS Settings](https://developers.cloudflare.com/api/operations/dns-settings-for-a-zone-update-dns-settings). */ export const putCustomNameserver: API.PaginatedOperationMethod< PutCustomNameserverRequest, PutCustomNameserverResponse, PutCustomNameserverError, CloudflareOpContext, string > = /*@__PURE__*/ API.makePaginated( () => ({ input: PutCustomNameserverRequest, output: PutCustomNameserverResponse, errors: [ InvalidZoneIdentifier, CustomNameserverSetNotFound, Forbidden, CloudflareRateLimited, CloudflareError, ], protocol: CloudflarePaginatedProtocol, retry: Retry.Retry, pagination: { mode: "single", items: "result" } as const, }), cloudflarePaginate, ) as any; export type RollbackEnvironmentError = CloudflareOpError; /** Roll back zone environment */ export const rollbackEnvironment: API.OperationMethod< RollbackEnvironmentRequest, RollbackEnvironmentResponse, RollbackEnvironmentError, CloudflareOpContext > = /*@__PURE__*/ API.make(() => ({ input: RollbackEnvironmentRequest, output: RollbackEnvironmentResponse, errors: [CloudflareRateLimited, CloudflareError], protocol: CloudflareProtocol, retry: Retry.Retry, })); export type SettingsBulkEditError = CloudflareOpError; /** Edit settings for a zone. */ export const settingsBulkEdit: API.OperationMethod< SettingsBulkEditRequest, SettingsBulkEditResponse, SettingsBulkEditError, CloudflareOpContext > = /*@__PURE__*/ API.make(() => ({ input: SettingsBulkEditRequest, output: SettingsBulkEditResponse, errors: [CloudflareRateLimited, CloudflareError], protocol: CloudflareProtocol, retry: Retry.Retry, })); export type TriggerActivationCheckError = CloudflareOpError; /** Triggeres a new activation check for a PENDING Zone. This can be triggered every 5 min for paygo/ent customers, every hour for FREE Zones. */ export const triggerActivationCheck: API.OperationMethod< TriggerActivationCheckRequest, TriggerActivationCheckResponse, TriggerActivationCheckError, CloudflareOpContext > = /*@__PURE__*/ API.make(() => ({ input: TriggerActivationCheckRequest, output: TriggerActivationCheckResponse, errors: [CloudflareRateLimited, CloudflareError], protocol: CloudflareProtocol, retry: Retry.Retry, })); export type UpdateEnvironmentError = CloudflareOpError; /** Upsert zone environments */ export const updateEnvironment: API.OperationMethod< UpdateEnvironmentRequest, UpdateEnvironmentResponse, UpdateEnvironmentError, CloudflareOpContext > = /*@__PURE__*/ API.make(() => ({ input: UpdateEnvironmentRequest, output: UpdateEnvironmentResponse, errors: [CloudflareRateLimited, CloudflareError], protocol: CloudflareProtocol, retry: Retry.Retry, })); export type UpdateSubscriptionError = CloudflareOpError; /** Updates zone subscriptions, either plan or add-ons. */ export const updateSubscription: API.OperationMethod< UpdateSubscriptionRequest, UpdateSubscriptionResponse, UpdateSubscriptionError, CloudflareOpContext > = /*@__PURE__*/ API.make(() => ({ input: UpdateSubscriptionRequest, output: UpdateSubscriptionResponse, errors: [CloudflareRateLimited, CloudflareError], protocol: CloudflareProtocol, retry: Retry.Retry, }));