import * as z from "zod"; export type Permissions = { everyone?: number | undefined; staff?: number | undefined; additionalProperties: { [k: string]: any; }; }; export type CreateCategoryRequestBody = { allowBadges?: boolean | undefined; color?: string | undefined; formTemplateIds?: Array | undefined; name: string; parentCategoryId?: number | undefined; permissions?: Permissions | undefined; searchPriority?: number | undefined; slug?: string | undefined; textColor?: string | undefined; topicFeaturedLinksAllowed?: boolean | undefined; }; export type CustomFields = {}; export type GroupPermissions = { groupName: string; permissionType: number; }; export type RequiredTagGroups = { minCount: number; name: string; }; export type Category = { allTopicsWiki: boolean; allowBadges: boolean; allowGlobalTags?: boolean | undefined; allowUnlimitedOwnerEditsOnFirstPost: boolean; allowedTagGroups?: Array | undefined; allowedTags?: Array | undefined; autoCloseBasedOnLastPost: boolean; autoCloseHours: string | null; availableGroups: Array; canDelete: boolean; canEdit: boolean; categorySetting?: any | undefined; color: string; customFields: CustomFields; defaultListFilter: string; defaultSlowModeSeconds: string | null; defaultTopPeriod: string; defaultView: string | null; description: string | null; descriptionExcerpt: string | null; descriptionText: string | null; emailIn: string | null; emailInAllowStrangers: boolean; formTemplateIds?: Array | undefined; groupPermissions: Array; hasChildren: boolean | null; id: number; mailinglistMirror: boolean; minimumRequiredTags: number; name: string; navigateToFirstPostAfterRead: boolean; notificationLevel: number; numFeaturedTopics: number; permission: number | null; position: number; postCount: number; readOnlyBanner: string | null; readRestricted: boolean; requiredTagGroups: Array; searchPriority: number; showSubcategoryList: boolean; slug: string; sortAscending: string | null; sortOrder: string | null; subcategoryListStyle: string; textColor: string; topicCount: number; topicFeaturedLinkAllowed: boolean; topicTemplate: string | null; topicUrl: string | null; uploadedBackground: string | null; uploadedBackgroundDark: string | null; uploadedLogo: string | null; uploadedLogoDark: string | null; }; /** * success response */ export type CreateCategoryResponseBody = { category: Category; }; /** @internal */ export declare const Permissions$inboundSchema: z.ZodType; /** @internal */ export type Permissions$Outbound = { everyone?: number | undefined; staff?: number | undefined; [additionalProperties: string]: unknown; }; /** @internal */ export declare const Permissions$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 Permissions$ { /** @deprecated use `Permissions$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Permissions$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Permissions$Outbound` instead. */ type Outbound = Permissions$Outbound; } /** @internal */ export declare const CreateCategoryRequestBody$inboundSchema: z.ZodType; /** @internal */ export type CreateCategoryRequestBody$Outbound = { allow_badges?: boolean | undefined; color?: string | undefined; form_template_ids?: Array | undefined; name: string; parent_category_id?: number | undefined; permissions?: Permissions$Outbound | undefined; search_priority?: number | undefined; slug?: string | undefined; text_color?: string | undefined; topic_featured_links_allowed?: boolean | undefined; }; /** @internal */ export declare const CreateCategoryRequestBody$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 CreateCategoryRequestBody$ { /** @deprecated use `CreateCategoryRequestBody$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CreateCategoryRequestBody$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CreateCategoryRequestBody$Outbound` instead. */ type Outbound = CreateCategoryRequestBody$Outbound; } /** @internal */ export declare const CustomFields$inboundSchema: z.ZodType; /** @internal */ export type CustomFields$Outbound = {}; /** @internal */ export declare const CustomFields$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 CustomFields$ { /** @deprecated use `CustomFields$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CustomFields$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CustomFields$Outbound` instead. */ type Outbound = CustomFields$Outbound; } /** @internal */ export declare const GroupPermissions$inboundSchema: z.ZodType; /** @internal */ export type GroupPermissions$Outbound = { group_name: string; permission_type: number; }; /** @internal */ export declare const GroupPermissions$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 GroupPermissions$ { /** @deprecated use `GroupPermissions$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GroupPermissions$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GroupPermissions$Outbound` instead. */ type Outbound = GroupPermissions$Outbound; } /** @internal */ export declare const RequiredTagGroups$inboundSchema: z.ZodType; /** @internal */ export type RequiredTagGroups$Outbound = { min_count: number; name: string; }; /** @internal */ export declare const RequiredTagGroups$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 RequiredTagGroups$ { /** @deprecated use `RequiredTagGroups$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `RequiredTagGroups$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `RequiredTagGroups$Outbound` instead. */ type Outbound = RequiredTagGroups$Outbound; } /** @internal */ export declare const Category$inboundSchema: z.ZodType; /** @internal */ export type Category$Outbound = { all_topics_wiki: boolean; allow_badges: boolean; allow_global_tags?: boolean | undefined; allow_unlimited_owner_edits_on_first_post: boolean; allowed_tag_groups?: Array | undefined; allowed_tags?: Array | undefined; auto_close_based_on_last_post: boolean; auto_close_hours: string | null; available_groups: Array; can_delete: boolean; can_edit: boolean; category_setting?: any | undefined; color: string; custom_fields: CustomFields$Outbound; default_list_filter: string; default_slow_mode_seconds: string | null; default_top_period: string; default_view: string | null; description: string | null; description_excerpt: string | null; description_text: string | null; email_in: string | null; email_in_allow_strangers: boolean; form_template_ids?: Array | undefined; group_permissions: Array; has_children: boolean | null; id: number; mailinglist_mirror: boolean; minimum_required_tags: number; name: string; navigate_to_first_post_after_read: boolean; notification_level: number; num_featured_topics: number; permission: number | null; position: number; post_count: number; read_only_banner: string | null; read_restricted: boolean; required_tag_groups: Array; search_priority: number; show_subcategory_list: boolean; slug: string; sort_ascending: string | null; sort_order: string | null; subcategory_list_style: string; text_color: string; topic_count: number; topic_featured_link_allowed: boolean; topic_template: string | null; topic_url: string | null; uploaded_background: string | null; uploaded_background_dark: string | null; uploaded_logo: string | null; uploaded_logo_dark: string | null; }; /** @internal */ export declare const Category$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 Category$ { /** @deprecated use `Category$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Category$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Category$Outbound` instead. */ type Outbound = Category$Outbound; } /** @internal */ export declare const CreateCategoryResponseBody$inboundSchema: z.ZodType; /** @internal */ export type CreateCategoryResponseBody$Outbound = { category: Category$Outbound; }; /** @internal */ export declare const CreateCategoryResponseBody$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 CreateCategoryResponseBody$ { /** @deprecated use `CreateCategoryResponseBody$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CreateCategoryResponseBody$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CreateCategoryResponseBody$Outbound` instead. */ type Outbound = CreateCategoryResponseBody$Outbound; } //# sourceMappingURL=createcategory.d.ts.map