import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { ActionDto, ActionDto$Outbound } from "./actiondto.js"; import { RedirectDto, RedirectDto$Outbound } from "./redirectdto.js"; export type InAppControlDto = { /** * JSONLogic filter conditions for conditionally skipping the step execution. Supports complex logical operations with AND, OR, and comparison operators. See https://jsonlogic.com/ for full typing reference. */ skip?: { [k: string]: any; } | undefined; /** * Content/body of the in-app message. Required if subject is empty. */ body?: string | undefined; /** * Subject/title of the in-app message. Required if body is empty. */ subject?: string | undefined; /** * URL for an avatar image. Must be a valid URL or start with / or {{ variable }}. */ avatar?: string | undefined; /** * Primary action button details. */ primaryAction?: ActionDto | undefined; /** * Secondary action button details. */ secondaryAction?: ActionDto | undefined; /** * Redirection URL configuration for the main content click (if no actions defined/clicked).. */ redirect?: RedirectDto | undefined; /** * Disable sanitization of the output. */ disableOutputSanitization?: boolean | undefined; /** * Additional data payload for the step. */ data?: { [k: string]: any; } | undefined; }; /** @internal */ export declare const InAppControlDto$inboundSchema: z.ZodType; /** @internal */ export type InAppControlDto$Outbound = { skip?: { [k: string]: any; } | undefined; body?: string | undefined; subject?: string | undefined; avatar?: string | undefined; primaryAction?: ActionDto$Outbound | undefined; secondaryAction?: ActionDto$Outbound | undefined; redirect?: RedirectDto$Outbound | undefined; disableOutputSanitization: boolean; data?: { [k: string]: any; } | undefined; }; /** @internal */ export declare const InAppControlDto$outboundSchema: z.ZodType; export declare function inAppControlDtoToJSON(inAppControlDto: InAppControlDto): string; export declare function inAppControlDtoFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=inappcontroldto.d.ts.map