import * as S from "@distilled.cloud/core/schema"; import * as API from "@distilled.cloud/core/api"; import { type CloudflareOpError, type CloudflareOpContext } from "../protocol.ts"; import { ResultInfo } from "../pagination.ts"; export type { CloudflareOpError, CloudflareOpContext }; declare const Forbidden_base: S.Class, import("effect/Cause").YieldableError>; export declare class Forbidden extends /*@__PURE__*/ Forbidden_base { } declare const NotFound_base: S.Class, import("effect/Cause").YieldableError>; export declare class NotFound extends /*@__PURE__*/ NotFound_base { } export interface CreatePublishRequest { /** Identifier. */ zoneId: string; /** Zaraz configuration description. */ body?: string; } export declare const CreatePublishRequest: S.Schema; export type CreatePublishResponse = string; export declare const CreatePublishResponse: S.Schema; export interface GetConfigRequest { /** Identifier. */ zoneId: string; } export declare const GetConfigRequest: S.Schema; export interface ConfigGetResponseSettingsContextEnricher { escapedWorkerName: string; workerTag: string; } export declare const ConfigGetResponseSettingsContextEnricher: S.Schema; export interface ConfigGetResponseSettings { /** Automatic injection of Zaraz scripts enabled. */ autoInjectScript: boolean; /** Details of the worker that receives and edits Zaraz Context object. */ contextEnricher?: ConfigGetResponseSettingsContextEnricher | null; /** The domain Zaraz will use for writing and reading its cookies. */ cookieDomain?: string | null; /** Ecommerce API enabled. */ ecommerce?: boolean | null; /** Custom endpoint for server-side track events. */ eventsApiPath?: string | null; /** Hiding external referrer URL enabled. */ hideExternalReferer?: boolean | null; /** Trimming IP address enabled. */ hideIPAddress?: boolean | null; /** Removing URL query params enabled. */ hideQueryParams?: boolean | null; /** Removing sensitive data from User Agent string enabled. */ hideUserAgent?: boolean | null; /** Custom endpoint for Zaraz init script. */ initPath?: string | null; /** Injection of Zaraz scripts into iframes enabled. */ injectIframes?: boolean | null; /** Custom path for Managed Components server functionalities. */ mcRootPath?: string | null; /** Custom endpoint for Zaraz main script. */ scriptPath?: string | null; /** Custom endpoint for Zaraz tracking requests. */ trackPath?: string | null; } export declare const ConfigGetResponseSettings: S.Schema; export type UntypedConfigMap = { [key: string]: unknown | undefined; }; export declare const UntypedConfigMap: S.Schema; export interface ConfigGetResponseAnalytics { /** Consent purpose assigned to Monitoring. */ defaultPurpose?: string | null; /** Whether Advanced Monitoring reports are enabled. */ enabled?: boolean | null; /** Session expiration time (seconds). */ sessionExpTime?: number | null; } export declare const ConfigGetResponseAnalytics: S.Schema; export type ConfigGetResponseConsentButtonTextTranslationsAcceptAllMap = { [key: string]: string | undefined; }; export declare const ConfigGetResponseConsentButtonTextTranslationsAcceptAllMap: S.Schema; export type ConfigGetResponseConsentButtonTextTranslationsConfirmMyChoicesMap = { [key: string]: string | undefined; }; export declare const ConfigGetResponseConsentButtonTextTranslationsConfirmMyChoicesMap: S.Schema; export type ConfigGetResponseConsentButtonTextTranslationsRejectAllMap = { [key: string]: string | undefined; }; export declare const ConfigGetResponseConsentButtonTextTranslationsRejectAllMap: S.Schema; export interface ConfigGetResponseConsentButtonTextTranslations { /** Object where keys are language codes. */ acceptAll: ConfigGetResponseConsentButtonTextTranslationsAcceptAllMap; /** Object where keys are language codes. */ confirmMyChoices: ConfigGetResponseConsentButtonTextTranslationsConfirmMyChoicesMap; /** Object where keys are language codes. */ rejectAll: ConfigGetResponseConsentButtonTextTranslationsRejectAllMap; } export declare const ConfigGetResponseConsentButtonTextTranslations: S.Schema; export type ConfigGetResponseConsentConsentModalIntroHTMLWithTranslationsMap = { [key: string]: string | undefined; }; export declare const ConfigGetResponseConsentConsentModalIntroHTMLWithTranslationsMap: S.Schema; export interface ConfigGetResponseConsentPurposesValue { description: string; name: string; } export declare const ConfigGetResponseConsentPurposesValue: S.Schema; export type ConfigGetResponseConsentPurposesMap = { [key: string]: ConfigGetResponseConsentPurposesValue | undefined; }; export declare const ConfigGetResponseConsentPurposesMap: S.Schema; export type ConfigGetResponseConsentPurposesWithTranslationsValueDescriptionMap = { [key: string]: string | undefined; }; export declare const ConfigGetResponseConsentPurposesWithTranslationsValueDescriptionMap: S.Schema; export type ConfigGetResponseConsentPurposesWithTranslationsValueNameMap = { [key: string]: string | undefined; }; export declare const ConfigGetResponseConsentPurposesWithTranslationsValueNameMap: S.Schema; export interface ConfigGetResponseConsentPurposesWithTranslationsValue { /** Object where keys are language codes. */ description: ConfigGetResponseConsentPurposesWithTranslationsValueDescriptionMap; /** Object where keys are language codes. */ name: ConfigGetResponseConsentPurposesWithTranslationsValueNameMap; order: number; } export declare const ConfigGetResponseConsentPurposesWithTranslationsValue: S.Schema; export type ConfigGetResponseConsentPurposesWithTranslationsMap = { [key: string]: ConfigGetResponseConsentPurposesWithTranslationsValue | undefined; }; export declare const ConfigGetResponseConsentPurposesWithTranslationsMap: S.Schema; export interface ConfigGetResponseConsent { enabled: boolean; buttonTextTranslations?: ConfigGetResponseConsentButtonTextTranslations | null; companyEmail?: string | null; companyName?: string | null; companyStreetAddress?: string | null; consentModalIntroHTML?: string | null; /** Object where keys are language codes. */ consentModalIntroHTMLWithTranslations?: ConfigGetResponseConsentConsentModalIntroHTMLWithTranslationsMap | null; cookieName?: string | null; customCSS?: string | null; customIntroDisclaimerDismissed?: boolean | null; defaultLanguage?: string | null; hideModal?: boolean | null; /** Object where keys are purpose alpha-numeric IDs. */ purposes?: ConfigGetResponseConsentPurposesMap | null; /** Object where keys are purpose alpha-numeric IDs. */ purposesWithTranslations?: ConfigGetResponseConsentPurposesWithTranslationsMap | null; tcfCompliant?: boolean | null; } export declare const ConfigGetResponseConsent: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface GetConfigResponse { /** Data layer compatibility mode enabled. */ dataLayer: boolean; /** The key for Zaraz debug mode. */ debugKey: string; /** General Zaraz settings. */ settings: ConfigGetResponseSettings; /** Tools set up under Zaraz configuration, where key is the alpha-numeric tool ID and value is the tool configuration object. */ tools: UntypedConfigMap; /** Triggers set up under Zaraz configuration, where key is the trigger alpha-numeric ID and value is the trigger configuration. */ triggers: UntypedConfigMap; /** Variables set up under Zaraz configuration, where key is the variable alpha-numeric ID and value is the variable configuration. Values of variables of type secret are not included. */ variables: UntypedConfigMap; /** Zaraz internal version of the config. */ zarazVersion: number; /** Cloudflare Monitoring settings. */ analytics?: ConfigGetResponseAnalytics | null; /** Consent management configuration. */ consent?: ConfigGetResponseConsent | null; /** Single Page Application support enabled. */ historyChange?: boolean | null; } export declare const GetConfigResponse: S.Schema; export interface GetDefaultRequest { /** Identifier. */ zoneId: string; } export declare const GetDefaultRequest: S.Schema; export type DefaultGetResponseSettingsContextEnricher = ConfigGetResponseSettingsContextEnricher; export declare const DefaultGetResponseSettingsContextEnricher: S.Schema; export type DefaultGetResponseSettings = ConfigGetResponseSettings; export declare const DefaultGetResponseSettings: S.Schema; export type DefaultGetResponseAnalytics = ConfigGetResponseAnalytics; export declare const DefaultGetResponseAnalytics: S.Schema; export type DefaultGetResponseConsentButtonTextTranslationsAcceptAllMap = { [key: string]: string | undefined; }; export declare const DefaultGetResponseConsentButtonTextTranslationsAcceptAllMap: S.Schema; export type DefaultGetResponseConsentButtonTextTranslationsConfirmMyChoicesMap = { [key: string]: string | undefined; }; export declare const DefaultGetResponseConsentButtonTextTranslationsConfirmMyChoicesMap: S.Schema; export type DefaultGetResponseConsentButtonTextTranslationsRejectAllMap = { [key: string]: string | undefined; }; export declare const DefaultGetResponseConsentButtonTextTranslationsRejectAllMap: S.Schema; export interface DefaultGetResponseConsentButtonTextTranslations { /** Object where keys are language codes. */ acceptAll: DefaultGetResponseConsentButtonTextTranslationsAcceptAllMap; /** Object where keys are language codes. */ confirmMyChoices: DefaultGetResponseConsentButtonTextTranslationsConfirmMyChoicesMap; /** Object where keys are language codes. */ rejectAll: DefaultGetResponseConsentButtonTextTranslationsRejectAllMap; } export declare const DefaultGetResponseConsentButtonTextTranslations: S.Schema; export type DefaultGetResponseConsentConsentModalIntroHTMLWithTranslationsMap = { [key: string]: string | undefined; }; export declare const DefaultGetResponseConsentConsentModalIntroHTMLWithTranslationsMap: S.Schema; export type DefaultGetResponseConsentPurposesValue = ConfigGetResponseConsentPurposesValue; export declare const DefaultGetResponseConsentPurposesValue: S.Schema; export type DefaultGetResponseConsentPurposesMap = { [key: string]: ConfigGetResponseConsentPurposesValue | undefined; }; export declare const DefaultGetResponseConsentPurposesMap: S.Schema; export type DefaultGetResponseConsentPurposesWithTranslationsValueDescriptionMap = { [key: string]: string | undefined; }; export declare const DefaultGetResponseConsentPurposesWithTranslationsValueDescriptionMap: S.Schema; export type DefaultGetResponseConsentPurposesWithTranslationsValueNameMap = { [key: string]: string | undefined; }; export declare const DefaultGetResponseConsentPurposesWithTranslationsValueNameMap: S.Schema; export interface DefaultGetResponseConsentPurposesWithTranslationsValue { /** Object where keys are language codes. */ description: DefaultGetResponseConsentPurposesWithTranslationsValueDescriptionMap; /** Object where keys are language codes. */ name: DefaultGetResponseConsentPurposesWithTranslationsValueNameMap; order: number; } export declare const DefaultGetResponseConsentPurposesWithTranslationsValue: S.Schema; export type DefaultGetResponseConsentPurposesWithTranslationsMap = { [key: string]: DefaultGetResponseConsentPurposesWithTranslationsValue | undefined; }; export declare const DefaultGetResponseConsentPurposesWithTranslationsMap: S.Schema; export interface DefaultGetResponseConsent { enabled: boolean; buttonTextTranslations?: DefaultGetResponseConsentButtonTextTranslations | null; companyEmail?: string | null; companyName?: string | null; companyStreetAddress?: string | null; consentModalIntroHTML?: string | null; /** Object where keys are language codes. */ consentModalIntroHTMLWithTranslations?: DefaultGetResponseConsentConsentModalIntroHTMLWithTranslationsMap | null; cookieName?: string | null; customCSS?: string | null; customIntroDisclaimerDismissed?: boolean | null; defaultLanguage?: string | null; hideModal?: boolean | null; /** Object where keys are purpose alpha-numeric IDs. */ purposes?: DefaultGetResponseConsentPurposesMap | null; /** Object where keys are purpose alpha-numeric IDs. */ purposesWithTranslations?: DefaultGetResponseConsentPurposesWithTranslationsMap | null; tcfCompliant?: boolean | null; } export declare const DefaultGetResponseConsent: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface GetDefaultResponse { /** Data layer compatibility mode enabled. */ dataLayer: boolean; /** The key for Zaraz debug mode. */ debugKey: string; /** General Zaraz settings. */ settings: ConfigGetResponseSettings; /** Tools set up under Zaraz configuration, where key is the alpha-numeric tool ID and value is the tool configuration object. */ tools: UntypedConfigMap; /** Triggers set up under Zaraz configuration, where key is the trigger alpha-numeric ID and value is the trigger configuration. */ triggers: UntypedConfigMap; /** Variables set up under Zaraz configuration, where key is the variable alpha-numeric ID and value is the variable configuration. Values of variables of type secret are not included. */ variables: UntypedConfigMap; /** Zaraz internal version of the config. */ zarazVersion: number; /** Cloudflare Monitoring settings. */ analytics?: ConfigGetResponseAnalytics | null; /** Consent management configuration. */ consent?: DefaultGetResponseConsent | null; /** Single Page Application support enabled. */ historyChange?: boolean | null; } export declare const GetDefaultResponse: S.Schema; export interface GetExportRequest { /** Identifier. */ zoneId: string; } export declare const GetExportRequest: S.Schema; /** Raw response payload (operation does not use the standard v4 result envelope). */ export interface GetExportResponse { } export declare const GetExportResponse: S.Schema; export type HistoryConfigsGetRequestIdsList = Array; export declare const HistoryConfigsGetRequestIdsList: S.Schema; export interface GetHistoryConfigRequest { /** Identifier. */ zoneId: string; /** Comma separated list of Zaraz configuration IDs. */ ids: HistoryConfigsGetRequestIdsList; } export declare const GetHistoryConfigRequest: S.Schema; export type HistoryConfigsGetResultValueConfigSettingsContextEnricher = ConfigGetResponseSettingsContextEnricher; export declare const HistoryConfigsGetResultValueConfigSettingsContextEnricher: S.Schema; export type HistoryConfigsGetResultValueConfigSettings = ConfigGetResponseSettings; export declare const HistoryConfigsGetResultValueConfigSettings: S.Schema; export type HistoryConfigsGetResultValueConfigAnalytics = ConfigGetResponseAnalytics; export declare const HistoryConfigsGetResultValueConfigAnalytics: S.Schema; export type HistoryConfigsGetResultValueConfigConsentButtonTextTranslationsAcceptAllMap = { [key: string]: string | undefined; }; export declare const HistoryConfigsGetResultValueConfigConsentButtonTextTranslationsAcceptAllMap: S.Schema; export type HistoryConfigsGetResultValueConfigConsentButtonTextTranslationsConfirmMyChoicesMap = { [key: string]: string | undefined; }; export declare const HistoryConfigsGetResultValueConfigConsentButtonTextTranslationsConfirmMyChoicesMap: S.Schema; export type HistoryConfigsGetResultValueConfigConsentButtonTextTranslationsRejectAllMap = { [key: string]: string | undefined; }; export declare const HistoryConfigsGetResultValueConfigConsentButtonTextTranslationsRejectAllMap: S.Schema; export interface HistoryConfigsGetResultValueConfigConsentButtonTextTranslations { /** Object where keys are language codes. */ acceptAll: HistoryConfigsGetResultValueConfigConsentButtonTextTranslationsAcceptAllMap; /** Object where keys are language codes. */ confirmMyChoices: HistoryConfigsGetResultValueConfigConsentButtonTextTranslationsConfirmMyChoicesMap; /** Object where keys are language codes. */ rejectAll: HistoryConfigsGetResultValueConfigConsentButtonTextTranslationsRejectAllMap; } export declare const HistoryConfigsGetResultValueConfigConsentButtonTextTranslations: S.Schema; export type HistoryConfigsGetResultValueConfigConsentConsentModalIntroHTMLWithTranslationsMap = { [key: string]: string | undefined; }; export declare const HistoryConfigsGetResultValueConfigConsentConsentModalIntroHTMLWithTranslationsMap: S.Schema; export type HistoryConfigsGetResultValueConfigConsentPurposesValue = ConfigGetResponseConsentPurposesValue; export declare const HistoryConfigsGetResultValueConfigConsentPurposesValue: S.Schema; export type HistoryConfigsGetResultValueConfigConsentPurposesMap = { [key: string]: ConfigGetResponseConsentPurposesValue | undefined; }; export declare const HistoryConfigsGetResultValueConfigConsentPurposesMap: S.Schema; export type HistoryConfigsGetResultValueConfigConsentPurposesWithTranslationsValueDescriptionMap = { [key: string]: string | undefined; }; export declare const HistoryConfigsGetResultValueConfigConsentPurposesWithTranslationsValueDescriptionMap: S.Schema; export type HistoryConfigsGetResultValueConfigConsentPurposesWithTranslationsValueNameMap = { [key: string]: string | undefined; }; export declare const HistoryConfigsGetResultValueConfigConsentPurposesWithTranslationsValueNameMap: S.Schema; export interface HistoryConfigsGetResultValueConfigConsentPurposesWithTranslationsValue { /** Object where keys are language codes. */ description: HistoryConfigsGetResultValueConfigConsentPurposesWithTranslationsValueDescriptionMap; /** Object where keys are language codes. */ name: HistoryConfigsGetResultValueConfigConsentPurposesWithTranslationsValueNameMap; order: number; } export declare const HistoryConfigsGetResultValueConfigConsentPurposesWithTranslationsValue: S.Schema; export type HistoryConfigsGetResultValueConfigConsentPurposesWithTranslationsMap = { [key: string]: HistoryConfigsGetResultValueConfigConsentPurposesWithTranslationsValue | undefined; }; export declare const HistoryConfigsGetResultValueConfigConsentPurposesWithTranslationsMap: S.Schema; export interface HistoryConfigsGetResultValueConfigConsent { enabled: boolean; buttonTextTranslations?: HistoryConfigsGetResultValueConfigConsentButtonTextTranslations | null; companyEmail?: string | null; companyName?: string | null; companyStreetAddress?: string | null; consentModalIntroHTML?: string | null; /** Object where keys are language codes. */ consentModalIntroHTMLWithTranslations?: HistoryConfigsGetResultValueConfigConsentConsentModalIntroHTMLWithTranslationsMap | null; cookieName?: string | null; customCSS?: string | null; customIntroDisclaimerDismissed?: boolean | null; defaultLanguage?: string | null; hideModal?: boolean | null; /** Object where keys are purpose alpha-numeric IDs. */ purposes?: HistoryConfigsGetResultValueConfigConsentPurposesMap | null; /** Object where keys are purpose alpha-numeric IDs. */ purposesWithTranslations?: HistoryConfigsGetResultValueConfigConsentPurposesWithTranslationsMap | null; tcfCompliant?: boolean | null; } export declare const HistoryConfigsGetResultValueConfigConsent: S.Schema; export interface HistoryConfigsGetResultValueConfig { /** Data layer compatibility mode enabled. */ dataLayer: boolean; /** The key for Zaraz debug mode. */ debugKey: string; /** General Zaraz settings. */ settings: ConfigGetResponseSettings; /** Tools set up under Zaraz configuration, where key is the alpha-numeric tool ID and value is the tool configuration object. */ tools: UntypedConfigMap; /** Triggers set up under Zaraz configuration, where key is the trigger alpha-numeric ID and value is the trigger configuration. */ triggers: UntypedConfigMap; /** Variables set up under Zaraz configuration, where key is the variable alpha-numeric ID and value is the variable configuration. Values of variables of type secret are not included. */ variables: UntypedConfigMap; /** Zaraz internal version of the config. */ zarazVersion: number; /** Cloudflare Monitoring settings. */ analytics?: ConfigGetResponseAnalytics | null; /** Consent management configuration. */ consent?: HistoryConfigsGetResultValueConfigConsent | null; /** Single Page Application support enabled. */ historyChange?: boolean | null; } export declare const HistoryConfigsGetResultValueConfig: S.Schema; export interface HistoryConfigsGetResultValue { /** ID of the configuration. */ id: number; /** Zaraz configuration. */ config: HistoryConfigsGetResultValueConfig; /** Date and time the configuration was created. */ createdAt: string; /** Date and time the configuration was last updated. */ updatedAt: string; /** Alpha-numeric ID of the account user who published the configuration. */ userId: string; } export declare const HistoryConfigsGetResultValue: S.Schema; export type HistoryConfigsGetResultMap = { [key: string]: HistoryConfigsGetResultValue | undefined; }; export declare const HistoryConfigsGetResultMap: S.Schema; export type GetHistoryConfigResponse = HistoryConfigsGetResultMap; export declare const GetHistoryConfigResponse: S.Schema; export interface GetWorkflowRequest { /** Identifier. */ zoneId: string; } export declare const GetWorkflowRequest: S.Schema; export type WorkflowGetResult = "realtime" | "preview"; export declare const WorkflowGetResult: any; export type GetWorkflowResponse = WorkflowGetResult; export declare const GetWorkflowResponse: S.Schema; export type HistoryListRequestSortField = "id" | "user_id" | "description" | "created_at" | "updated_at"; export declare const HistoryListRequestSortField: any; export type HistoryListRequestSortOrder = "DESC" | "ASC"; export declare const HistoryListRequestSortOrder: any; export interface ListHistoriesRequest { /** Identifier. */ zoneId: string; /** Maximum amount of results to list. Default value is 10. */ limit?: number; /** Ordinal number to start listing the results with. Default value is 0. */ offset?: number; /** The field to sort by. Default is updated_at. */ sortField?: HistoryListRequestSortField | (string & {}); /** Sorting order. Default is DESC. */ sortOrder?: HistoryListRequestSortOrder | (string & {}); } export declare const ListHistoriesRequest: S.Schema; export interface HistoryListResultItem { /** ID of the configuration. */ id: number; /** Date and time the configuration was created. */ createdAt: string; /** Configuration description provided by the user who published this configuration. */ description: string; /** Date and time the configuration was last updated. */ updatedAt: string; /** Alpha-numeric ID of the account user who published the configuration. */ userId: string; } export declare const HistoryListResultItem: S.Schema; export type HistoryListResultList = Array; export declare const HistoryListResultList: S.Schema; export interface ListHistoriesResponse { /** The unwrapped `result` payload of the v4 response envelope. */ result: HistoryListResultList; /** Pagination info from the envelope's `result_info`. */ resultInfo?: ResultInfo | null; } export declare const ListHistoriesResponse: S.Schema; export type ConfigUpdateRequestSettingsContextEnricher = ConfigGetResponseSettingsContextEnricher; export declare const ConfigUpdateRequestSettingsContextEnricher: S.Schema; export interface ConfigUpdateRequestSettings { /** Automatic injection of Zaraz scripts enabled. */ autoInjectScript: boolean; /** Details of the worker that receives and edits Zaraz Context object. */ contextEnricher?: ConfigGetResponseSettingsContextEnricher; /** The domain Zaraz will use for writing and reading its cookies. */ cookieDomain?: string; /** Ecommerce API enabled. */ ecommerce?: boolean; /** Custom endpoint for server-side track events. */ eventsApiPath?: string; /** Hiding external referrer URL enabled. */ hideExternalReferer?: boolean; /** Trimming IP address enabled. */ hideIPAddress?: boolean; /** Removing URL query params enabled. */ hideQueryParams?: boolean; /** Removing sensitive data from User Agent string enabled. */ hideUserAgent?: boolean; /** Custom endpoint for Zaraz init script. */ initPath?: string; /** Injection of Zaraz scripts into iframes enabled. */ injectIframes?: boolean; /** Custom path for Managed Components server functionalities. */ mcRootPath?: string; /** Custom endpoint for Zaraz main script. */ scriptPath?: string; /** Custom endpoint for Zaraz tracking requests. */ trackPath?: string; } export declare const ConfigUpdateRequestSettings: S.Schema; export interface ConfigUpdateRequestAnalytics { /** Consent purpose assigned to Monitoring. */ defaultPurpose?: string; /** Whether Advanced Monitoring reports are enabled. */ enabled?: boolean; /** Session expiration time (seconds). */ sessionExpTime?: number; } export declare const ConfigUpdateRequestAnalytics: S.Schema; export type ConfigUpdateRequestConsentButtonTextTranslationsAcceptAllMap = { [key: string]: string | undefined; }; export declare const ConfigUpdateRequestConsentButtonTextTranslationsAcceptAllMap: S.Schema; export type ConfigUpdateRequestConsentButtonTextTranslationsConfirmMyChoicesMap = { [key: string]: string | undefined; }; export declare const ConfigUpdateRequestConsentButtonTextTranslationsConfirmMyChoicesMap: S.Schema; export type ConfigUpdateRequestConsentButtonTextTranslationsRejectAllMap = { [key: string]: string | undefined; }; export declare const ConfigUpdateRequestConsentButtonTextTranslationsRejectAllMap: S.Schema; export interface ConfigUpdateRequestConsentButtonTextTranslations { /** Object where keys are language codes. */ acceptAll: ConfigUpdateRequestConsentButtonTextTranslationsAcceptAllMap; /** Object where keys are language codes. */ confirmMyChoices: ConfigUpdateRequestConsentButtonTextTranslationsConfirmMyChoicesMap; /** Object where keys are language codes. */ rejectAll: ConfigUpdateRequestConsentButtonTextTranslationsRejectAllMap; } export declare const ConfigUpdateRequestConsentButtonTextTranslations: S.Schema; export type ConfigUpdateRequestConsentConsentModalIntroHTMLWithTranslationsMap = { [key: string]: string | undefined; }; export declare const ConfigUpdateRequestConsentConsentModalIntroHTMLWithTranslationsMap: S.Schema; export type ConfigUpdateRequestConsentPurposesValue = ConfigGetResponseConsentPurposesValue; export declare const ConfigUpdateRequestConsentPurposesValue: S.Schema; export type ConfigUpdateRequestConsentPurposesMap = { [key: string]: ConfigGetResponseConsentPurposesValue | undefined; }; export declare const ConfigUpdateRequestConsentPurposesMap: S.Schema; export type ConfigUpdateRequestConsentPurposesWithTranslationsValueDescriptionMap = { [key: string]: string | undefined; }; export declare const ConfigUpdateRequestConsentPurposesWithTranslationsValueDescriptionMap: S.Schema; export type ConfigUpdateRequestConsentPurposesWithTranslationsValueNameMap = { [key: string]: string | undefined; }; export declare const ConfigUpdateRequestConsentPurposesWithTranslationsValueNameMap: S.Schema; export interface ConfigUpdateRequestConsentPurposesWithTranslationsValue { /** Object where keys are language codes. */ description: ConfigUpdateRequestConsentPurposesWithTranslationsValueDescriptionMap; /** Object where keys are language codes. */ name: ConfigUpdateRequestConsentPurposesWithTranslationsValueNameMap; order: number; } export declare const ConfigUpdateRequestConsentPurposesWithTranslationsValue: S.Schema; export type ConfigUpdateRequestConsentPurposesWithTranslationsMap = { [key: string]: ConfigUpdateRequestConsentPurposesWithTranslationsValue | undefined; }; export declare const ConfigUpdateRequestConsentPurposesWithTranslationsMap: S.Schema; export interface ConfigUpdateRequestConsent { enabled: boolean; buttonTextTranslations?: ConfigUpdateRequestConsentButtonTextTranslations; companyEmail?: string; companyName?: string; companyStreetAddress?: string; consentModalIntroHTML?: string; /** Object where keys are language codes. */ consentModalIntroHTMLWithTranslations?: ConfigUpdateRequestConsentConsentModalIntroHTMLWithTranslationsMap; cookieName?: string; customCSS?: string; customIntroDisclaimerDismissed?: boolean; defaultLanguage?: string; hideModal?: boolean; /** Object where keys are purpose alpha-numeric IDs. */ purposes?: ConfigUpdateRequestConsentPurposesMap; /** Object where keys are purpose alpha-numeric IDs. */ purposesWithTranslations?: ConfigUpdateRequestConsentPurposesWithTranslationsMap; tcfCompliant?: boolean; } export declare const ConfigUpdateRequestConsent: S.Schema; export interface PutConfigRequest { /** Identifier. */ zoneId: string; /** Data layer compatibility mode enabled. */ dataLayer: boolean; /** The key for Zaraz debug mode. */ debugKey: string; /** General Zaraz settings. */ settings: ConfigUpdateRequestSettings; /** Tools set up under Zaraz configuration, where key is the alpha-numeric tool ID and value is the tool configuration object. */ tools: UntypedConfigMap; /** Triggers set up under Zaraz configuration, where key is the trigger alpha-numeric ID and value is the trigger configuration. */ triggers: UntypedConfigMap; /** Variables set up under Zaraz configuration, where key is the variable alpha-numeric ID and value is the variable configuration. Values of variables of type secret are not included. */ variables: UntypedConfigMap; /** Zaraz internal version of the config. */ zarazVersion: number; /** Cloudflare Monitoring settings. */ analytics?: ConfigUpdateRequestAnalytics; /** Consent management configuration. */ consent?: ConfigUpdateRequestConsent; /** Single Page Application support enabled. */ historyChange?: boolean; } export declare const PutConfigRequest: S.Schema; export type ConfigUpdateResponseSettingsContextEnricher = ConfigGetResponseSettingsContextEnricher; export declare const ConfigUpdateResponseSettingsContextEnricher: S.Schema; export type ConfigUpdateResponseSettings = ConfigGetResponseSettings; export declare const ConfigUpdateResponseSettings: S.Schema; export type ConfigUpdateResponseAnalytics = ConfigGetResponseAnalytics; export declare const ConfigUpdateResponseAnalytics: S.Schema; export type ConfigUpdateResponseConsentButtonTextTranslationsAcceptAllMap = { [key: string]: string | undefined; }; export declare const ConfigUpdateResponseConsentButtonTextTranslationsAcceptAllMap: S.Schema; export type ConfigUpdateResponseConsentButtonTextTranslationsConfirmMyChoicesMap = { [key: string]: string | undefined; }; export declare const ConfigUpdateResponseConsentButtonTextTranslationsConfirmMyChoicesMap: S.Schema; export type ConfigUpdateResponseConsentButtonTextTranslationsRejectAllMap = { [key: string]: string | undefined; }; export declare const ConfigUpdateResponseConsentButtonTextTranslationsRejectAllMap: S.Schema; export interface ConfigUpdateResponseConsentButtonTextTranslations { /** Object where keys are language codes. */ acceptAll: ConfigUpdateResponseConsentButtonTextTranslationsAcceptAllMap; /** Object where keys are language codes. */ confirmMyChoices: ConfigUpdateResponseConsentButtonTextTranslationsConfirmMyChoicesMap; /** Object where keys are language codes. */ rejectAll: ConfigUpdateResponseConsentButtonTextTranslationsRejectAllMap; } export declare const ConfigUpdateResponseConsentButtonTextTranslations: S.Schema; export type ConfigUpdateResponseConsentConsentModalIntroHTMLWithTranslationsMap = { [key: string]: string | undefined; }; export declare const ConfigUpdateResponseConsentConsentModalIntroHTMLWithTranslationsMap: S.Schema; export type ConfigUpdateResponseConsentPurposesValue = ConfigGetResponseConsentPurposesValue; export declare const ConfigUpdateResponseConsentPurposesValue: S.Schema; export type ConfigUpdateResponseConsentPurposesMap = { [key: string]: ConfigGetResponseConsentPurposesValue | undefined; }; export declare const ConfigUpdateResponseConsentPurposesMap: S.Schema; export type ConfigUpdateResponseConsentPurposesWithTranslationsValueDescriptionMap = { [key: string]: string | undefined; }; export declare const ConfigUpdateResponseConsentPurposesWithTranslationsValueDescriptionMap: S.Schema; export type ConfigUpdateResponseConsentPurposesWithTranslationsValueNameMap = { [key: string]: string | undefined; }; export declare const ConfigUpdateResponseConsentPurposesWithTranslationsValueNameMap: S.Schema; export interface ConfigUpdateResponseConsentPurposesWithTranslationsValue { /** Object where keys are language codes. */ description: ConfigUpdateResponseConsentPurposesWithTranslationsValueDescriptionMap; /** Object where keys are language codes. */ name: ConfigUpdateResponseConsentPurposesWithTranslationsValueNameMap; order: number; } export declare const ConfigUpdateResponseConsentPurposesWithTranslationsValue: S.Schema; export type ConfigUpdateResponseConsentPurposesWithTranslationsMap = { [key: string]: ConfigUpdateResponseConsentPurposesWithTranslationsValue | undefined; }; export declare const ConfigUpdateResponseConsentPurposesWithTranslationsMap: S.Schema; export interface ConfigUpdateResponseConsent { enabled: boolean; buttonTextTranslations?: ConfigUpdateResponseConsentButtonTextTranslations | null; companyEmail?: string | null; companyName?: string | null; companyStreetAddress?: string | null; consentModalIntroHTML?: string | null; /** Object where keys are language codes. */ consentModalIntroHTMLWithTranslations?: ConfigUpdateResponseConsentConsentModalIntroHTMLWithTranslationsMap | null; cookieName?: string | null; customCSS?: string | null; customIntroDisclaimerDismissed?: boolean | null; defaultLanguage?: string | null; hideModal?: boolean | null; /** Object where keys are purpose alpha-numeric IDs. */ purposes?: ConfigUpdateResponseConsentPurposesMap | null; /** Object where keys are purpose alpha-numeric IDs. */ purposesWithTranslations?: ConfigUpdateResponseConsentPurposesWithTranslationsMap | null; tcfCompliant?: boolean | null; } export declare const ConfigUpdateResponseConsent: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface PutConfigResponse { /** Data layer compatibility mode enabled. */ dataLayer: boolean; /** The key for Zaraz debug mode. */ debugKey: string; /** General Zaraz settings. */ settings: ConfigGetResponseSettings; /** Tools set up under Zaraz configuration, where key is the alpha-numeric tool ID and value is the tool configuration object. */ tools: UntypedConfigMap; /** Triggers set up under Zaraz configuration, where key is the trigger alpha-numeric ID and value is the trigger configuration. */ triggers: UntypedConfigMap; /** Variables set up under Zaraz configuration, where key is the variable alpha-numeric ID and value is the variable configuration. Values of variables of type secret are not included. */ variables: UntypedConfigMap; /** Zaraz internal version of the config. */ zarazVersion: number; /** Cloudflare Monitoring settings. */ analytics?: ConfigGetResponseAnalytics | null; /** Consent management configuration. */ consent?: ConfigUpdateResponseConsent | null; /** Single Page Application support enabled. */ historyChange?: boolean | null; } export declare const PutConfigResponse: S.Schema; export interface PutHistoryRequest { /** Identifier. */ zoneId: string; /** ID of the Zaraz configuration to restore. */ body: number; } export declare const PutHistoryRequest: S.Schema; export type HistoryUpdateResponseSettingsContextEnricher = ConfigGetResponseSettingsContextEnricher; export declare const HistoryUpdateResponseSettingsContextEnricher: S.Schema; export type HistoryUpdateResponseSettings = ConfigGetResponseSettings; export declare const HistoryUpdateResponseSettings: S.Schema; export type HistoryUpdateResponseAnalytics = ConfigGetResponseAnalytics; export declare const HistoryUpdateResponseAnalytics: S.Schema; export type HistoryUpdateResponseConsentButtonTextTranslationsAcceptAllMap = { [key: string]: string | undefined; }; export declare const HistoryUpdateResponseConsentButtonTextTranslationsAcceptAllMap: S.Schema; export type HistoryUpdateResponseConsentButtonTextTranslationsConfirmMyChoicesMap = { [key: string]: string | undefined; }; export declare const HistoryUpdateResponseConsentButtonTextTranslationsConfirmMyChoicesMap: S.Schema; export type HistoryUpdateResponseConsentButtonTextTranslationsRejectAllMap = { [key: string]: string | undefined; }; export declare const HistoryUpdateResponseConsentButtonTextTranslationsRejectAllMap: S.Schema; export interface HistoryUpdateResponseConsentButtonTextTranslations { /** Object where keys are language codes. */ acceptAll: HistoryUpdateResponseConsentButtonTextTranslationsAcceptAllMap; /** Object where keys are language codes. */ confirmMyChoices: HistoryUpdateResponseConsentButtonTextTranslationsConfirmMyChoicesMap; /** Object where keys are language codes. */ rejectAll: HistoryUpdateResponseConsentButtonTextTranslationsRejectAllMap; } export declare const HistoryUpdateResponseConsentButtonTextTranslations: S.Schema; export type HistoryUpdateResponseConsentConsentModalIntroHTMLWithTranslationsMap = { [key: string]: string | undefined; }; export declare const HistoryUpdateResponseConsentConsentModalIntroHTMLWithTranslationsMap: S.Schema; export type HistoryUpdateResponseConsentPurposesValue = ConfigGetResponseConsentPurposesValue; export declare const HistoryUpdateResponseConsentPurposesValue: S.Schema; export type HistoryUpdateResponseConsentPurposesMap = { [key: string]: ConfigGetResponseConsentPurposesValue | undefined; }; export declare const HistoryUpdateResponseConsentPurposesMap: S.Schema; export type HistoryUpdateResponseConsentPurposesWithTranslationsValueDescriptionMap = { [key: string]: string | undefined; }; export declare const HistoryUpdateResponseConsentPurposesWithTranslationsValueDescriptionMap: S.Schema; export type HistoryUpdateResponseConsentPurposesWithTranslationsValueNameMap = { [key: string]: string | undefined; }; export declare const HistoryUpdateResponseConsentPurposesWithTranslationsValueNameMap: S.Schema; export interface HistoryUpdateResponseConsentPurposesWithTranslationsValue { /** Object where keys are language codes. */ description: HistoryUpdateResponseConsentPurposesWithTranslationsValueDescriptionMap; /** Object where keys are language codes. */ name: HistoryUpdateResponseConsentPurposesWithTranslationsValueNameMap; order: number; } export declare const HistoryUpdateResponseConsentPurposesWithTranslationsValue: S.Schema; export type HistoryUpdateResponseConsentPurposesWithTranslationsMap = { [key: string]: HistoryUpdateResponseConsentPurposesWithTranslationsValue | undefined; }; export declare const HistoryUpdateResponseConsentPurposesWithTranslationsMap: S.Schema; export interface HistoryUpdateResponseConsent { enabled: boolean; buttonTextTranslations?: HistoryUpdateResponseConsentButtonTextTranslations | null; companyEmail?: string | null; companyName?: string | null; companyStreetAddress?: string | null; consentModalIntroHTML?: string | null; /** Object where keys are language codes. */ consentModalIntroHTMLWithTranslations?: HistoryUpdateResponseConsentConsentModalIntroHTMLWithTranslationsMap | null; cookieName?: string | null; customCSS?: string | null; customIntroDisclaimerDismissed?: boolean | null; defaultLanguage?: string | null; hideModal?: boolean | null; /** Object where keys are purpose alpha-numeric IDs. */ purposes?: HistoryUpdateResponseConsentPurposesMap | null; /** Object where keys are purpose alpha-numeric IDs. */ purposesWithTranslations?: HistoryUpdateResponseConsentPurposesWithTranslationsMap | null; tcfCompliant?: boolean | null; } export declare const HistoryUpdateResponseConsent: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface PutHistoryResponse { /** Data layer compatibility mode enabled. */ dataLayer: boolean; /** The key for Zaraz debug mode. */ debugKey: string; /** General Zaraz settings. */ settings: ConfigGetResponseSettings; /** Tools set up under Zaraz configuration, where key is the alpha-numeric tool ID and value is the tool configuration object. */ tools: UntypedConfigMap; /** Triggers set up under Zaraz configuration, where key is the trigger alpha-numeric ID and value is the trigger configuration. */ triggers: UntypedConfigMap; /** Variables set up under Zaraz configuration, where key is the variable alpha-numeric ID and value is the variable configuration. Values of variables of type secret are not included. */ variables: UntypedConfigMap; /** Zaraz internal version of the config. */ zarazVersion: number; /** Cloudflare Monitoring settings. */ analytics?: ConfigGetResponseAnalytics | null; /** Consent management configuration. */ consent?: HistoryUpdateResponseConsent | null; /** Single Page Application support enabled. */ historyChange?: boolean | null; } export declare const PutHistoryResponse: S.Schema; export type UpdateRequestWorkflow = "realtime" | "preview"; export declare const UpdateRequestWorkflow: any; export interface PutZarazRequest { /** Identifier. */ zoneId: string; /** Zaraz workflow. */ workflow: UpdateRequestWorkflow | (string & {}); } export declare const PutZarazRequest: S.Schema; export type UpdateResult = "realtime" | "preview"; export declare const UpdateResult: any; export type PutZarazResponse = UpdateResult; export declare const PutZarazResponse: S.Schema; export type CreatePublishError = CloudflareOpError; /** Publish current Zaraz preview configuration for a zone. */ export declare const createPublish: API.OperationMethod; export type GetConfigError = Forbidden | NotFound | CloudflareOpError; /** Gets latest Zaraz configuration for a zone. It can be preview or published configuration, whichever was the last updated. Secret variables values will not be included. */ export declare const getConfig: API.OperationMethod; export type GetDefaultError = CloudflareOpError; /** Gets default Zaraz configuration for a zone. */ export declare const getDefault: API.OperationMethod; export type GetExportError = CloudflareOpError; /** Exports full current published Zaraz configuration for a zone, secret variables included. */ export declare const getExport: API.OperationMethod; export type GetHistoryConfigError = CloudflareOpError; /** Gets a history of published Zaraz configurations by ID(s) for a zone. */ export declare const getHistoryConfig: API.OperationMethod; export type GetWorkflowError = Forbidden | NotFound | CloudflareOpError; /** Gets Zaraz workflow for a zone. */ export declare const getWorkflow: API.OperationMethod; export type ListHistoriesError = CloudflareOpError; /** Lists a history of published Zaraz configuration records for a zone. */ export declare const listHistories: API.PaginatedOperationMethod; export type PutConfigError = CloudflareOpError; /** Updates Zaraz configuration for a zone. */ export declare const putConfig: API.OperationMethod; export type PutHistoryError = CloudflareOpError; /** Restores a historical published Zaraz configuration by ID for a zone. */ export declare const putHistory: API.OperationMethod; export type PutZarazError = CloudflareOpError; /** Updates Zaraz workflow for a zone. */ export declare const putZaraz: API.OperationMethod; //# sourceMappingURL=zaraz.d.ts.map