import * as z from "zod/v3"; import { PatchPreferenceChannelsDto, PatchPreferenceChannelsDto$Outbound } from "./patchpreferencechannelsdto.js"; import { ScheduleDto, ScheduleDto$Outbound } from "./scheduledto.js"; /** * Rich context object with id and optional data */ export type Two = { id: string; /** * Optional additional context data */ data?: { [k: string]: any; } | undefined; }; export type Context = Two | string; export type PatchSubscriberPreferencesDto = { /** * Channel-specific preference settings */ channels?: PatchPreferenceChannelsDto | undefined; /** * Workflow internal _id, identifier or slug. If provided, update workflow specific preferences, otherwise update global preferences */ workflowId?: string | undefined; /** * Subscriber schedule */ schedule?: ScheduleDto | undefined; context?: { [k: string]: Two | string; } | undefined; }; /** @internal */ export type Two$Outbound = { id: string; data?: { [k: string]: any; } | undefined; }; /** @internal */ export declare const Two$outboundSchema: z.ZodType; export declare function twoToJSON(two: Two): string; /** @internal */ export type Context$Outbound = Two$Outbound | string; /** @internal */ export declare const Context$outboundSchema: z.ZodType; export declare function contextToJSON(context: Context): string; /** @internal */ export type PatchSubscriberPreferencesDto$Outbound = { channels?: PatchPreferenceChannelsDto$Outbound | undefined; workflowId?: string | undefined; schedule?: ScheduleDto$Outbound | undefined; context?: { [k: string]: Two$Outbound | string; } | undefined; }; /** @internal */ export declare const PatchSubscriberPreferencesDto$outboundSchema: z.ZodType; export declare function patchSubscriberPreferencesDtoToJSON(patchSubscriberPreferencesDto: PatchSubscriberPreferencesDto): string; //# sourceMappingURL=patchsubscriberpreferencesdto.d.ts.map