import * as z from "zod"; export type Post = { editReason?: string | undefined; raw: string; }; export type UpdatePostRequestBody = { post?: Post | undefined; }; export type UpdatePostRequest = { requestBody?: UpdatePostRequestBody | undefined; id: string; }; export type UpdatePostActionsSummary = { canAct: boolean; id: number; }; export type UpdatePostPost = { actionsSummary: Array; admin: boolean; avatarTemplate: string; bookmarked: boolean; canDelete: boolean; canEdit: boolean; canRecover: boolean; canSeeHiddenPost?: boolean | undefined; canViewEditHistory: boolean; canWiki: boolean; cooked: string; createdAt: string; deletedAt: string | null; displayUsername?: string | null | undefined; draftSequence: number; editReason: string | null; flairBgColor: string | null; flairColor: string | null; flairGroupId?: string | null | undefined; flairName: string | null; flairUrl: string | null; hidden: boolean; id: number; incomingLinkCount: number; mentionedUsers?: Array | undefined; moderator: boolean; name?: string | null | undefined; postNumber: number; postType: number; primaryGroupName: string | null; quoteCount: number; raw: string; readersCount: number; reads: number; replyCount: number; replyToPostNumber: string | null; reviewableId: string | null; reviewableScoreCount: number; reviewableScorePendingCount: number; score: number; staff: boolean; topicId: number; topicSlug: string; trustLevel: number; updatedAt: string; userDeleted: boolean; userId: number; userTitle: string | null; username: string; version: number; wiki: boolean; yours: boolean; }; /** * post updated */ export type UpdatePostResponseBody = { post: UpdatePostPost; }; /** @internal */ export declare const Post$inboundSchema: z.ZodType; /** @internal */ export type Post$Outbound = { edit_reason?: string | undefined; raw: string; }; /** @internal */ export declare const Post$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 Post$ { /** @deprecated use `Post$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Post$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Post$Outbound` instead. */ type Outbound = Post$Outbound; } /** @internal */ export declare const UpdatePostRequestBody$inboundSchema: z.ZodType; /** @internal */ export type UpdatePostRequestBody$Outbound = { post?: Post$Outbound | undefined; }; /** @internal */ export declare const UpdatePostRequestBody$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 UpdatePostRequestBody$ { /** @deprecated use `UpdatePostRequestBody$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `UpdatePostRequestBody$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `UpdatePostRequestBody$Outbound` instead. */ type Outbound = UpdatePostRequestBody$Outbound; } /** @internal */ export declare const UpdatePostRequest$inboundSchema: z.ZodType; /** @internal */ export type UpdatePostRequest$Outbound = { RequestBody?: UpdatePostRequestBody$Outbound | undefined; id: string; }; /** @internal */ export declare const UpdatePostRequest$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 UpdatePostRequest$ { /** @deprecated use `UpdatePostRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `UpdatePostRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `UpdatePostRequest$Outbound` instead. */ type Outbound = UpdatePostRequest$Outbound; } /** @internal */ export declare const UpdatePostActionsSummary$inboundSchema: z.ZodType; /** @internal */ export type UpdatePostActionsSummary$Outbound = { can_act: boolean; id: number; }; /** @internal */ export declare const UpdatePostActionsSummary$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 UpdatePostActionsSummary$ { /** @deprecated use `UpdatePostActionsSummary$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `UpdatePostActionsSummary$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `UpdatePostActionsSummary$Outbound` instead. */ type Outbound = UpdatePostActionsSummary$Outbound; } /** @internal */ export declare const UpdatePostPost$inboundSchema: z.ZodType; /** @internal */ export type UpdatePostPost$Outbound = { actions_summary: Array; admin: boolean; avatar_template: string; bookmarked: boolean; can_delete: boolean; can_edit: boolean; can_recover: boolean; can_see_hidden_post?: boolean | undefined; can_view_edit_history: boolean; can_wiki: boolean; cooked: string; created_at: string; deleted_at: string | null; display_username?: string | null | undefined; draft_sequence: number; edit_reason: string | null; flair_bg_color: string | null; flair_color: string | null; flair_group_id?: string | null | undefined; flair_name: string | null; flair_url: string | null; hidden: boolean; id: number; incoming_link_count: number; mentioned_users?: Array | undefined; moderator: boolean; name?: string | null | undefined; post_number: number; post_type: number; primary_group_name: string | null; quote_count: number; raw: string; readers_count: number; reads: number; reply_count: number; reply_to_post_number: string | null; reviewable_id: string | null; reviewable_score_count: number; reviewable_score_pending_count: number; score: number; staff: boolean; topic_id: number; topic_slug: string; trust_level: number; updated_at: string; user_deleted: boolean; user_id: number; user_title: string | null; username: string; version: number; wiki: boolean; yours: boolean; }; /** @internal */ export declare const UpdatePostPost$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 UpdatePostPost$ { /** @deprecated use `UpdatePostPost$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `UpdatePostPost$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `UpdatePostPost$Outbound` instead. */ type Outbound = UpdatePostPost$Outbound; } /** @internal */ export declare const UpdatePostResponseBody$inboundSchema: z.ZodType; /** @internal */ export type UpdatePostResponseBody$Outbound = { post: UpdatePostPost$Outbound; }; /** @internal */ export declare const UpdatePostResponseBody$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 UpdatePostResponseBody$ { /** @deprecated use `UpdatePostResponseBody$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `UpdatePostResponseBody$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `UpdatePostResponseBody$Outbound` instead. */ type Outbound = UpdatePostResponseBody$Outbound; } //# sourceMappingURL=updatepost.d.ts.map