import * as z from "zod"; export type GetTopicRequest = { apiKey: string; apiUsername: string; id: string; }; export type GetTopicActionsSummary = { canAct: boolean; count: number; hidden: boolean; id: number; }; export type CreatedBy = { avatarTemplate: string; id: number; name: string; username: string; }; export type LastPoster = { avatarTemplate: string; id: number; name: string; username: string; }; export type Participants = { admin: boolean; avatarTemplate: string; flairBgColor: string | null; flairColor: string | null; flairGroupId?: string | null | undefined; flairName: string | null; flairUrl: string | null; id: number; moderator: boolean; name: string; postCount: number; primaryGroupName: string | null; trustLevel: number; username: string; }; export type Details = { canArchiveTopic: boolean; canCloseTopic: boolean; canConvertTopic: boolean; canCreatePost: boolean; canDelete: boolean; canEdit: boolean; canEditStaffNotes: boolean; canFlagTopic?: boolean | undefined; canInviteTo?: boolean | undefined; canInviteViaEmail?: boolean | undefined; canModerateCategory: boolean; canMovePosts: boolean; canPinUnpinTopic: boolean; canRemoveAllowedUsers: boolean; canRemoveSelfId: number; canReplyAsNewTopic: boolean; canReviewTopic: boolean; canSplitMergeTopic: boolean; canToggleTopicVisibility: boolean; createdBy: CreatedBy; lastPoster: LastPoster; notificationLevel: number; participants?: Array | undefined; }; export type GetTopicTopicsActionsSummary = { canAct: boolean; id: number; }; export type LinkCounts = { clicks: number; internal: boolean; reflection: boolean; title: string; url: string; }; export type Posts = { 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; editReason: string | null; flairBgColor: string | null; flairColor: string | null; flairName: string | null; flairUrl: string | null; hidden: boolean; id: number; incomingLinkCount: number; linkCounts: Array; moderator: boolean; name: string; postNumber: number; postType: number; primaryGroupName: string | null; quoteCount: number; read: boolean; readersCount: number; reads: number; replyCount: number; replyToPostNumber: string | null; reviewableId: number; 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; }; export type PostStream = { posts: Array; stream: Array; }; export type GetTopicUser = { avatarTemplate: string; id: number; name: string; username: string; }; export type Posters = { description: string; extras: string; user: GetTopicUser; }; export type GetTopicTagsDescriptions = {}; export type SuggestedTopics = { archetype: string; archived: boolean; bookmarked: string | null; bumped: boolean; bumpedAt: string; categoryId: number; closed: boolean; createdAt: string; excerpt: string; fancyTitle: string; featuredLink: string | null; highestPostNumber: number; id: number; imageUrl: string | null; lastPostedAt: string | null; likeCount: number; liked: string | null; pinned: boolean; posters: Array; postsCount: number; replyCount: number; slug: string; tags: Array; tagsDescriptions: GetTopicTagsDescriptions; title: string; unpinned: string | null; unseen: boolean; views: number; visible: boolean; }; export type TagsDescriptions = {}; /** * specific posts */ export type GetTopicResponseBody = { actionsSummary: Array; archetype: string; archived: boolean; bookmarked: boolean; bookmarks: Array; categoryId: number; chunkSize: number; closed: boolean; createdAt: string; currentPostNumber?: number | undefined; deletedAt: string | null; deletedBy: string | null; details: Details; draft: string | null; draftKey: string; draftSequence: number; fancyTitle: string; featuredLink: string | null; hasDeleted: boolean; hasSummary: boolean; highestPostNumber: number | null; id: number; imageUrl: string | null; lastPostedAt: string | null; likeCount: number; messageBusLastId: number; participantCount: number; pinned: boolean; pinnedAt: string | null; pinnedGlobally: boolean; pinnedUntil: string | null; postStream: PostStream; postsCount: number; replyCount: number; showReadIndicator: boolean; slowModeEnabledUntil: string | null; slowModeSeconds: number; slug: string; suggestedTopics: Array; summarizable: boolean; tags: Array; tagsDescriptions: TagsDescriptions; thumbnails: string | null; timelineLookup: Array; title: string; topicTimer: string | null; unpinned: string | null; userId: number; views: number; visible: boolean; wordCount: number | null; }; /** @internal */ export declare const GetTopicRequest$inboundSchema: z.ZodType; /** @internal */ export type GetTopicRequest$Outbound = { "Api-Key": string; "Api-Username": string; id: string; }; /** @internal */ export declare const GetTopicRequest$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 GetTopicRequest$ { /** @deprecated use `GetTopicRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GetTopicRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GetTopicRequest$Outbound` instead. */ type Outbound = GetTopicRequest$Outbound; } /** @internal */ export declare const GetTopicActionsSummary$inboundSchema: z.ZodType; /** @internal */ export type GetTopicActionsSummary$Outbound = { can_act: boolean; count: number; hidden: boolean; id: number; }; /** @internal */ export declare const GetTopicActionsSummary$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 GetTopicActionsSummary$ { /** @deprecated use `GetTopicActionsSummary$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GetTopicActionsSummary$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GetTopicActionsSummary$Outbound` instead. */ type Outbound = GetTopicActionsSummary$Outbound; } /** @internal */ export declare const CreatedBy$inboundSchema: z.ZodType; /** @internal */ export type CreatedBy$Outbound = { avatar_template: string; id: number; name: string; username: string; }; /** @internal */ export declare const CreatedBy$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 CreatedBy$ { /** @deprecated use `CreatedBy$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CreatedBy$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CreatedBy$Outbound` instead. */ type Outbound = CreatedBy$Outbound; } /** @internal */ export declare const LastPoster$inboundSchema: z.ZodType; /** @internal */ export type LastPoster$Outbound = { avatar_template: string; id: number; name: string; username: string; }; /** @internal */ export declare const LastPoster$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 LastPoster$ { /** @deprecated use `LastPoster$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `LastPoster$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `LastPoster$Outbound` instead. */ type Outbound = LastPoster$Outbound; } /** @internal */ export declare const Participants$inboundSchema: z.ZodType; /** @internal */ export type Participants$Outbound = { admin: boolean; avatar_template: string; flair_bg_color: string | null; flair_color: string | null; flair_group_id?: string | null | undefined; flair_name: string | null; flair_url: string | null; id: number; moderator: boolean; name: string; post_count: number; primary_group_name: string | null; trust_level: number; username: string; }; /** @internal */ export declare const Participants$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 Participants$ { /** @deprecated use `Participants$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Participants$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Participants$Outbound` instead. */ type Outbound = Participants$Outbound; } /** @internal */ export declare const Details$inboundSchema: z.ZodType; /** @internal */ export type Details$Outbound = { can_archive_topic: boolean; can_close_topic: boolean; can_convert_topic: boolean; can_create_post: boolean; can_delete: boolean; can_edit: boolean; can_edit_staff_notes: boolean; can_flag_topic?: boolean | undefined; can_invite_to?: boolean | undefined; can_invite_via_email?: boolean | undefined; can_moderate_category: boolean; can_move_posts: boolean; can_pin_unpin_topic: boolean; can_remove_allowed_users: boolean; can_remove_self_id: number; can_reply_as_new_topic: boolean; can_review_topic: boolean; can_split_merge_topic: boolean; can_toggle_topic_visibility: boolean; created_by: CreatedBy$Outbound; last_poster: LastPoster$Outbound; notification_level: number; participants?: Array | undefined; }; /** @internal */ export declare const Details$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 Details$ { /** @deprecated use `Details$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Details$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Details$Outbound` instead. */ type Outbound = Details$Outbound; } /** @internal */ export declare const GetTopicTopicsActionsSummary$inboundSchema: z.ZodType; /** @internal */ export type GetTopicTopicsActionsSummary$Outbound = { can_act: boolean; id: number; }; /** @internal */ export declare const GetTopicTopicsActionsSummary$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 GetTopicTopicsActionsSummary$ { /** @deprecated use `GetTopicTopicsActionsSummary$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GetTopicTopicsActionsSummary$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GetTopicTopicsActionsSummary$Outbound` instead. */ type Outbound = GetTopicTopicsActionsSummary$Outbound; } /** @internal */ export declare const LinkCounts$inboundSchema: z.ZodType; /** @internal */ export type LinkCounts$Outbound = { clicks: number; internal: boolean; reflection: boolean; title: string; url: string; }; /** @internal */ export declare const LinkCounts$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 LinkCounts$ { /** @deprecated use `LinkCounts$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `LinkCounts$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `LinkCounts$Outbound` instead. */ type Outbound = LinkCounts$Outbound; } /** @internal */ export declare const Posts$inboundSchema: z.ZodType; /** @internal */ export type Posts$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; edit_reason: string | null; flair_bg_color: string | null; flair_color: string | null; flair_name: string | null; flair_url: string | null; hidden: boolean; id: number; incoming_link_count: number; link_counts: Array; moderator: boolean; name: string; post_number: number; post_type: number; primary_group_name: string | null; quote_count: number; read: boolean; readers_count: number; reads: number; reply_count: number; reply_to_post_number: string | null; reviewable_id: number; 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 Posts$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 Posts$ { /** @deprecated use `Posts$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Posts$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Posts$Outbound` instead. */ type Outbound = Posts$Outbound; } /** @internal */ export declare const PostStream$inboundSchema: z.ZodType; /** @internal */ export type PostStream$Outbound = { posts: Array; stream: Array; }; /** @internal */ export declare const PostStream$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 PostStream$ { /** @deprecated use `PostStream$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `PostStream$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `PostStream$Outbound` instead. */ type Outbound = PostStream$Outbound; } /** @internal */ export declare const GetTopicUser$inboundSchema: z.ZodType; /** @internal */ export type GetTopicUser$Outbound = { avatar_template: string; id: number; name: string; username: string; }; /** @internal */ export declare const GetTopicUser$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 GetTopicUser$ { /** @deprecated use `GetTopicUser$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GetTopicUser$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GetTopicUser$Outbound` instead. */ type Outbound = GetTopicUser$Outbound; } /** @internal */ export declare const Posters$inboundSchema: z.ZodType; /** @internal */ export type Posters$Outbound = { description: string; extras: string; user: GetTopicUser$Outbound; }; /** @internal */ export declare const Posters$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 Posters$ { /** @deprecated use `Posters$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Posters$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Posters$Outbound` instead. */ type Outbound = Posters$Outbound; } /** @internal */ export declare const GetTopicTagsDescriptions$inboundSchema: z.ZodType; /** @internal */ export type GetTopicTagsDescriptions$Outbound = {}; /** @internal */ export declare const GetTopicTagsDescriptions$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 GetTopicTagsDescriptions$ { /** @deprecated use `GetTopicTagsDescriptions$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GetTopicTagsDescriptions$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GetTopicTagsDescriptions$Outbound` instead. */ type Outbound = GetTopicTagsDescriptions$Outbound; } /** @internal */ export declare const SuggestedTopics$inboundSchema: z.ZodType; /** @internal */ export type SuggestedTopics$Outbound = { archetype: string; archived: boolean; bookmarked: string | null; bumped: boolean; bumped_at: string; category_id: number; closed: boolean; created_at: string; excerpt: string; fancy_title: string; featured_link: string | null; highest_post_number: number; id: number; image_url: string | null; last_posted_at: string | null; like_count: number; liked: string | null; pinned: boolean; posters: Array; posts_count: number; reply_count: number; slug: string; tags: Array; tags_descriptions: GetTopicTagsDescriptions$Outbound; title: string; unpinned: string | null; unseen: boolean; views: number; visible: boolean; }; /** @internal */ export declare const SuggestedTopics$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 SuggestedTopics$ { /** @deprecated use `SuggestedTopics$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `SuggestedTopics$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `SuggestedTopics$Outbound` instead. */ type Outbound = SuggestedTopics$Outbound; } /** @internal */ export declare const TagsDescriptions$inboundSchema: z.ZodType; /** @internal */ export type TagsDescriptions$Outbound = {}; /** @internal */ export declare const TagsDescriptions$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 TagsDescriptions$ { /** @deprecated use `TagsDescriptions$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `TagsDescriptions$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `TagsDescriptions$Outbound` instead. */ type Outbound = TagsDescriptions$Outbound; } /** @internal */ export declare const GetTopicResponseBody$inboundSchema: z.ZodType; /** @internal */ export type GetTopicResponseBody$Outbound = { actions_summary: Array; archetype: string; archived: boolean; bookmarked: boolean; bookmarks: Array; category_id: number; chunk_size: number; closed: boolean; created_at: string; current_post_number?: number | undefined; deleted_at: string | null; deleted_by: string | null; details: Details$Outbound; draft: string | null; draft_key: string; draft_sequence: number; fancy_title: string; featured_link: string | null; has_deleted: boolean; has_summary: boolean; highest_post_number: number | null; id: number; image_url: string | null; last_posted_at: string | null; like_count: number; message_bus_last_id: number; participant_count: number; pinned: boolean; pinned_at: string | null; pinned_globally: boolean; pinned_until: string | null; post_stream: PostStream$Outbound; posts_count: number; reply_count: number; show_read_indicator: boolean; slow_mode_enabled_until: string | null; slow_mode_seconds: number; slug: string; suggested_topics: Array; summarizable: boolean; tags: Array; tags_descriptions: TagsDescriptions$Outbound; thumbnails: string | null; timeline_lookup: Array; title: string; topic_timer: string | null; unpinned: string | null; user_id: number; views: number; visible: boolean; word_count: number | null; }; /** @internal */ export declare const GetTopicResponseBody$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 GetTopicResponseBody$ { /** @deprecated use `GetTopicResponseBody$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GetTopicResponseBody$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GetTopicResponseBody$Outbound` instead. */ type Outbound = GetTopicResponseBody$Outbound; } //# sourceMappingURL=gettopic.d.ts.map