import * as z from "zod"; export type UpdateCategoryPermissions = { everyone?: number | undefined; staff?: number | undefined; additionalProperties: { [k: string]: any; }; }; export type UpdateCategoryRequestBody = { allowBadges?: boolean | undefined; color?: string | undefined; formTemplateIds?: Array | undefined; name: string; parentCategoryId?: number | undefined; permissions?: UpdateCategoryPermissions | undefined; searchPriority?: number | undefined; slug?: string | undefined; textColor?: string | undefined; topicFeaturedLinksAllowed?: boolean | undefined; }; export type UpdateCategoryRequest = { requestBody?: UpdateCategoryRequestBody | undefined; id: number; }; export type UpdateCategoryCustomFields = {}; export type UpdateCategoryGroupPermissions = { groupName: string; permissionType: number; }; export type UpdateCategoryRequiredTagGroups = { minCount: number; name: string; }; export type UpdateCategoryCategory = { 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: UpdateCategoryCustomFields; 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; 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 UpdateCategoryResponseBody = { category: UpdateCategoryCategory; success: string; }; /** @internal */ export declare const UpdateCategoryPermissions$inboundSchema: z.ZodType; /** @internal */ export type UpdateCategoryPermissions$Outbound = { everyone?: number | undefined; staff?: number | undefined; [additionalProperties: string]: unknown; }; /** @internal */ export declare const UpdateCategoryPermissions$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 UpdateCategoryPermissions$ { /** @deprecated use `UpdateCategoryPermissions$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `UpdateCategoryPermissions$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `UpdateCategoryPermissions$Outbound` instead. */ type Outbound = UpdateCategoryPermissions$Outbound; } /** @internal */ export declare const UpdateCategoryRequestBody$inboundSchema: z.ZodType; /** @internal */ export type UpdateCategoryRequestBody$Outbound = { allow_badges?: boolean | undefined; color?: string | undefined; form_template_ids?: Array | undefined; name: string; parent_category_id?: number | undefined; permissions?: UpdateCategoryPermissions$Outbound | undefined; search_priority?: number | undefined; slug?: string | undefined; text_color?: string | undefined; topic_featured_links_allowed?: boolean | undefined; }; /** @internal */ export declare const UpdateCategoryRequestBody$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 UpdateCategoryRequestBody$ { /** @deprecated use `UpdateCategoryRequestBody$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `UpdateCategoryRequestBody$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `UpdateCategoryRequestBody$Outbound` instead. */ type Outbound = UpdateCategoryRequestBody$Outbound; } /** @internal */ export declare const UpdateCategoryRequest$inboundSchema: z.ZodType; /** @internal */ export type UpdateCategoryRequest$Outbound = { RequestBody?: UpdateCategoryRequestBody$Outbound | undefined; id: number; }; /** @internal */ export declare const UpdateCategoryRequest$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 UpdateCategoryRequest$ { /** @deprecated use `UpdateCategoryRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `UpdateCategoryRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `UpdateCategoryRequest$Outbound` instead. */ type Outbound = UpdateCategoryRequest$Outbound; } /** @internal */ export declare const UpdateCategoryCustomFields$inboundSchema: z.ZodType; /** @internal */ export type UpdateCategoryCustomFields$Outbound = {}; /** @internal */ export declare const UpdateCategoryCustomFields$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 UpdateCategoryCustomFields$ { /** @deprecated use `UpdateCategoryCustomFields$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `UpdateCategoryCustomFields$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `UpdateCategoryCustomFields$Outbound` instead. */ type Outbound = UpdateCategoryCustomFields$Outbound; } /** @internal */ export declare const UpdateCategoryGroupPermissions$inboundSchema: z.ZodType; /** @internal */ export type UpdateCategoryGroupPermissions$Outbound = { group_name: string; permission_type: number; }; /** @internal */ export declare const UpdateCategoryGroupPermissions$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 UpdateCategoryGroupPermissions$ { /** @deprecated use `UpdateCategoryGroupPermissions$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `UpdateCategoryGroupPermissions$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `UpdateCategoryGroupPermissions$Outbound` instead. */ type Outbound = UpdateCategoryGroupPermissions$Outbound; } /** @internal */ export declare const UpdateCategoryRequiredTagGroups$inboundSchema: z.ZodType; /** @internal */ export type UpdateCategoryRequiredTagGroups$Outbound = { min_count: number; name: string; }; /** @internal */ export declare const UpdateCategoryRequiredTagGroups$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 UpdateCategoryRequiredTagGroups$ { /** @deprecated use `UpdateCategoryRequiredTagGroups$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `UpdateCategoryRequiredTagGroups$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `UpdateCategoryRequiredTagGroups$Outbound` instead. */ type Outbound = UpdateCategoryRequiredTagGroups$Outbound; } /** @internal */ export declare const UpdateCategoryCategory$inboundSchema: z.ZodType; /** @internal */ export type UpdateCategoryCategory$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: UpdateCategoryCustomFields$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; 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 UpdateCategoryCategory$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 UpdateCategoryCategory$ { /** @deprecated use `UpdateCategoryCategory$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `UpdateCategoryCategory$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `UpdateCategoryCategory$Outbound` instead. */ type Outbound = UpdateCategoryCategory$Outbound; } /** @internal */ export declare const UpdateCategoryResponseBody$inboundSchema: z.ZodType; /** @internal */ export type UpdateCategoryResponseBody$Outbound = { category: UpdateCategoryCategory$Outbound; success: string; }; /** @internal */ export declare const UpdateCategoryResponseBody$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 UpdateCategoryResponseBody$ { /** @deprecated use `UpdateCategoryResponseBody$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `UpdateCategoryResponseBody$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `UpdateCategoryResponseBody$Outbound` instead. */ type Outbound = UpdateCategoryResponseBody$Outbound; } //# sourceMappingURL=updatecategory.d.ts.map