import * as z from "zod/v4-mini"; import { ClosedEnum } from "../../types/enums.js"; /** * The kind of content the channel moderates. */ export declare const UpdateChannelContentType: { readonly Profile: "profile"; readonly Message: "message"; readonly Post: "post"; readonly Comment: "comment"; readonly Event: "event"; readonly Product: "product"; readonly Review: "review"; readonly Voice: "voice"; readonly Other: "other"; }; /** * The kind of content the channel moderates. */ export type UpdateChannelContentType = ClosedEnum; /** * `ACTIVE` flags content. `DRY_RUN` evaluates content without flagging it. */ export declare const FlaggingMode: { readonly DryRun: "DRY_RUN"; readonly Active: "ACTIVE"; }; /** * `ACTIVE` flags content. `DRY_RUN` evaluates content without flagging it. */ export type FlaggingMode = ClosedEnum; /** * Trade-off between transcription speed and accuracy. */ export declare const TranscriptionQuality: { readonly Speed: "SPEED"; readonly Balanced: "BALANCED"; readonly Accuracy: "ACCURACY"; }; /** * Trade-off between transcription speed and accuracy. */ export type TranscriptionQuality = ClosedEnum; export type UpdateChannelRequestBody = { /** * The channel's name. */ name?: string | undefined; /** * The key you pass as `channel` when you moderate content. Changing it breaks integrations that send the old key. */ key?: string | undefined; /** * The channel's description. */ description?: string | null | undefined; /** * The kind of content the channel moderates. */ contentType?: UpdateChannelContentType | undefined; /** * `ACTIVE` flags content. `DRY_RUN` evaluates content without flagging it. */ flaggingMode?: FlaggingMode | undefined; /** * Whether earlier messages in the conversation are read when moderating a message. */ contextEnabled?: boolean | undefined; /** * Whether images are moderated. */ enableImageModeration?: boolean | undefined; /** * Whether videos are moderated. */ enableVideoModeration?: boolean | undefined; /** * Whether audio is moderated. */ enableAudioModeration?: boolean | undefined; /** * Whether real-time voice streams are moderated. */ enableVoiceModeration?: boolean | undefined; /** * Whether audio and video transcripts are returned in responses. */ includeTranscriptInResponse?: boolean | undefined; /** * Trade-off between transcription speed and accuracy. */ transcriptionQuality?: TranscriptionQuality | undefined; /** * Whether look-alike Unicode characters are normalized before moderation. */ unicodeSpoofDetectionEnabled?: boolean | undefined; /** * Seconds between frames captured from a video. */ frameCaptureInterval?: number | undefined; /** * The most frames moderated per video. */ maxFramesPerVideo?: number | undefined; /** * Whether frames are spread evenly across the whole video. */ spreadFrames?: boolean | undefined; }; export type UpdateChannelRequest = { /** * The ID of the channel to update. */ id: string; body: UpdateChannelRequestBody; }; /** @internal */ export declare const UpdateChannelContentType$outboundSchema: z.ZodMiniEnum; /** @internal */ export declare const FlaggingMode$outboundSchema: z.ZodMiniEnum; /** @internal */ export declare const TranscriptionQuality$outboundSchema: z.ZodMiniEnum; /** @internal */ export type UpdateChannelRequestBody$Outbound = { name?: string | undefined; key?: string | undefined; description?: string | null | undefined; contentType?: string | undefined; flaggingMode?: string | undefined; contextEnabled?: boolean | undefined; enableImageModeration?: boolean | undefined; enableVideoModeration?: boolean | undefined; enableAudioModeration?: boolean | undefined; enableVoiceModeration?: boolean | undefined; includeTranscriptInResponse?: boolean | undefined; transcriptionQuality?: string | undefined; unicodeSpoofDetectionEnabled?: boolean | undefined; frameCaptureInterval?: number | undefined; maxFramesPerVideo?: number | undefined; spreadFrames?: boolean | undefined; }; /** @internal */ export declare const UpdateChannelRequestBody$outboundSchema: z.ZodMiniType; export declare function updateChannelRequestBodyToJSON(updateChannelRequestBody: UpdateChannelRequestBody): string; /** @internal */ export type UpdateChannelRequest$Outbound = { id: string; body: UpdateChannelRequestBody$Outbound; }; /** @internal */ export declare const UpdateChannelRequest$outboundSchema: z.ZodMiniType; export declare function updateChannelRequestToJSON(updateChannelRequest: UpdateChannelRequest): string; //# sourceMappingURL=update-channel.d.ts.map