import * as z from "zod"; export type SilenceUserRequestBody = { /** * Will send an email with this message when present */ message?: string | undefined; postAction?: string | undefined; reason?: string | undefined; silencedTill?: string | undefined; }; export type SilenceUserRequest = { requestBody?: SilenceUserRequestBody | undefined; id: number; }; export type SilencedBy = { avatarTemplate: string; id: number; name: string; username: string; }; export type Silence = { silenceReason: string; silenced: boolean; silencedAt: string; silencedBy: SilencedBy; silencedTill: string; }; /** * response */ export type SilenceUserResponseBody = { silence: Silence; }; /** @internal */ export declare const SilenceUserRequestBody$inboundSchema: z.ZodType; /** @internal */ export type SilenceUserRequestBody$Outbound = { message?: string | undefined; post_action?: string | undefined; reason?: string | undefined; silenced_till?: string | undefined; }; /** @internal */ export declare const SilenceUserRequestBody$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace SilenceUserRequestBody$ { /** @deprecated use `SilenceUserRequestBody$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `SilenceUserRequestBody$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `SilenceUserRequestBody$Outbound` instead. */ type Outbound = SilenceUserRequestBody$Outbound; } /** @internal */ export declare const SilenceUserRequest$inboundSchema: z.ZodType; /** @internal */ export type SilenceUserRequest$Outbound = { RequestBody?: SilenceUserRequestBody$Outbound | undefined; id: number; }; /** @internal */ export declare const SilenceUserRequest$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace SilenceUserRequest$ { /** @deprecated use `SilenceUserRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `SilenceUserRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `SilenceUserRequest$Outbound` instead. */ type Outbound = SilenceUserRequest$Outbound; } /** @internal */ export declare const SilencedBy$inboundSchema: z.ZodType; /** @internal */ export type SilencedBy$Outbound = { avatar_template: string; id: number; name: string; username: string; }; /** @internal */ export declare const SilencedBy$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace SilencedBy$ { /** @deprecated use `SilencedBy$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `SilencedBy$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `SilencedBy$Outbound` instead. */ type Outbound = SilencedBy$Outbound; } /** @internal */ export declare const Silence$inboundSchema: z.ZodType; /** @internal */ export type Silence$Outbound = { silence_reason: string; silenced: boolean; silenced_at: string; silenced_by: SilencedBy$Outbound; silenced_till: string; }; /** @internal */ export declare const Silence$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace Silence$ { /** @deprecated use `Silence$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Silence$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Silence$Outbound` instead. */ type Outbound = Silence$Outbound; } /** @internal */ export declare const SilenceUserResponseBody$inboundSchema: z.ZodType; /** @internal */ export type SilenceUserResponseBody$Outbound = { silence: Silence$Outbound; }; /** @internal */ export declare const SilenceUserResponseBody$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace SilenceUserResponseBody$ { /** @deprecated use `SilenceUserResponseBody$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `SilenceUserResponseBody$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `SilenceUserResponseBody$Outbound` instead. */ type Outbound = SilenceUserResponseBody$Outbound; } //# sourceMappingURL=silenceuser.d.ts.map