import * as z from "zod"; export type CreateTopicPostPMRequestBody = { /** * Required for new private message. */ archetype?: string | undefined; /** * Optional if creating a new topic, and ignored if creating a new post. */ category?: number | undefined; createdAt?: string | undefined; /** * Provide a URL from a remote system to associate a forum topic with that URL, typically for using Discourse as a comments system for an external blog. */ embedUrl?: string | undefined; /** * Provide an external_id from a remote system to associate a forum topic with that id. */ externalId?: string | undefined; raw: string; /** * Optional, the post number to reply to inside a topic. */ replyToPostNumber?: number | undefined; /** * Required for private message, comma separated. */ targetRecipients?: string | undefined; /** * Deprecated. Use target_recipients instead. * * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ targetUsernames?: string | undefined; /** * Required if creating a new topic or new private message. */ title?: string | undefined; /** * Required if creating a new post. */ topicId?: number | undefined; }; export type CreateTopicPostPMActionsSummary = { canAct: boolean; id: number; }; /** * post created */ export type CreateTopicPostPMResponseBody = { 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; 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; postNumber: number; postType: number; primaryGroupName: string | null; quoteCount: number; raw?: string | undefined; 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; }; /** @internal */ export declare const CreateTopicPostPMRequestBody$inboundSchema: z.ZodType; /** @internal */ export type CreateTopicPostPMRequestBody$Outbound = { archetype?: string | undefined; category?: number | undefined; created_at?: string | undefined; embed_url?: string | undefined; external_id?: string | undefined; raw: string; reply_to_post_number?: number | undefined; target_recipients?: string | undefined; target_usernames?: string | undefined; title?: string | undefined; topic_id?: number | undefined; }; /** @internal */ export declare const CreateTopicPostPMRequestBody$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 CreateTopicPostPMRequestBody$ { /** @deprecated use `CreateTopicPostPMRequestBody$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CreateTopicPostPMRequestBody$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CreateTopicPostPMRequestBody$Outbound` instead. */ type Outbound = CreateTopicPostPMRequestBody$Outbound; } /** @internal */ export declare const CreateTopicPostPMActionsSummary$inboundSchema: z.ZodType; /** @internal */ export type CreateTopicPostPMActionsSummary$Outbound = { can_act: boolean; id: number; }; /** @internal */ export declare const CreateTopicPostPMActionsSummary$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 CreateTopicPostPMActionsSummary$ { /** @deprecated use `CreateTopicPostPMActionsSummary$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CreateTopicPostPMActionsSummary$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CreateTopicPostPMActionsSummary$Outbound` instead. */ type Outbound = CreateTopicPostPMActionsSummary$Outbound; } /** @internal */ export declare const CreateTopicPostPMResponseBody$inboundSchema: z.ZodType; /** @internal */ export type CreateTopicPostPMResponseBody$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; 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; post_number: number; post_type: number; primary_group_name: string | null; quote_count: number; raw?: string | undefined; 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 CreateTopicPostPMResponseBody$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 CreateTopicPostPMResponseBody$ { /** @deprecated use `CreateTopicPostPMResponseBody$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CreateTopicPostPMResponseBody$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CreateTopicPostPMResponseBody$Outbound` instead. */ type Outbound = CreateTopicPostPMResponseBody$Outbound; } //# sourceMappingURL=createtopicpostpm.d.ts.map