import * as z from "zod/v3"; import { ChannelPreferenceDto, ChannelPreferenceDto$Outbound } from "./channelpreferencedto.js"; import { WorkflowPreferenceDto, WorkflowPreferenceDto$Outbound } from "./workflowpreferencedto.js"; /** * A preference for the workflow. The values specified here will be used if no preference is specified for a channel. */ export type UserAll = WorkflowPreferenceDto; export type UserWorkflowPreferencesDto = { /** * A preference for the workflow. The values specified here will be used if no preference is specified for a channel. */ all: WorkflowPreferenceDto; /** * Preferences for different communication channels */ channels: { [k: string]: ChannelPreferenceDto; }; }; /** * User workflow preferences */ export type User = UserWorkflowPreferencesDto; /** * A preference for the workflow. The values specified here will be used if no preference is specified for a channel. */ export type PreferencesRequestDtoAll = WorkflowPreferenceDto; /** * Workflow-specific preferences */ export type PreferencesRequestDtoWorkflow = { /** * A preference for the workflow. The values specified here will be used if no preference is specified for a channel. */ all: WorkflowPreferenceDto; /** * Preferences for different communication channels */ channels: { [k: string]: ChannelPreferenceDto; }; }; export type PreferencesRequestDto = { /** * User workflow preferences */ user?: UserWorkflowPreferencesDto | null | undefined; /** * Workflow-specific preferences */ workflow?: PreferencesRequestDtoWorkflow | null | undefined; }; /** @internal */ export type UserAll$Outbound = WorkflowPreferenceDto$Outbound; /** @internal */ export declare const UserAll$outboundSchema: z.ZodType; export declare function userAllToJSON(userAll: UserAll): string; /** @internal */ export type UserWorkflowPreferencesDto$Outbound = { all: WorkflowPreferenceDto$Outbound; channels: { [k: string]: ChannelPreferenceDto$Outbound; }; }; /** @internal */ export declare const UserWorkflowPreferencesDto$outboundSchema: z.ZodType; export declare function userWorkflowPreferencesDtoToJSON(userWorkflowPreferencesDto: UserWorkflowPreferencesDto): string; /** @internal */ export type User$Outbound = UserWorkflowPreferencesDto$Outbound; /** @internal */ export declare const User$outboundSchema: z.ZodType; export declare function userToJSON(user: User): string; /** @internal */ export type PreferencesRequestDtoAll$Outbound = WorkflowPreferenceDto$Outbound; /** @internal */ export declare const PreferencesRequestDtoAll$outboundSchema: z.ZodType; export declare function preferencesRequestDtoAllToJSON(preferencesRequestDtoAll: PreferencesRequestDtoAll): string; /** @internal */ export type PreferencesRequestDtoWorkflow$Outbound = { all: WorkflowPreferenceDto$Outbound; channels: { [k: string]: ChannelPreferenceDto$Outbound; }; }; /** @internal */ export declare const PreferencesRequestDtoWorkflow$outboundSchema: z.ZodType; export declare function preferencesRequestDtoWorkflowToJSON(preferencesRequestDtoWorkflow: PreferencesRequestDtoWorkflow): string; /** @internal */ export type PreferencesRequestDto$Outbound = { user?: UserWorkflowPreferencesDto$Outbound | null | undefined; workflow?: PreferencesRequestDtoWorkflow$Outbound | null | undefined; }; /** @internal */ export declare const PreferencesRequestDto$outboundSchema: z.ZodType; export declare function preferencesRequestDtoToJSON(preferencesRequestDto: PreferencesRequestDto): string; //# sourceMappingURL=preferencesrequestdto.d.ts.map