import * as z from "zod"; export type UpdateBadgeRequestBody = { /** * The ID for the badge type. 1 for Gold, 2 for Silver, 3 for Bronze. */ badgeTypeId: number; /** * The name for the new badge. */ name: string; }; export type UpdateBadgeRequest = { requestBody?: UpdateBadgeRequestBody | undefined; id: number; }; export type UpdateBadgeBadge = { allowTitle: boolean; autoRevoke: boolean; badgeGroupingId: number; badgeTypeId: number; description: string; enabled: boolean; grantCount: number; icon: string; id: number; imageUrl: string | null; listable: boolean; longDescription: string; manuallyGrantable: boolean; multipleGrant: boolean; name: string; query: string | null; showPosts: boolean; slug: string; system: boolean; targetPosts: boolean; trigger: string | null; }; export type UpdateBadgeBadgeTypes = { id: number; name: string; sortOrder: number; }; /** * success response */ export type UpdateBadgeResponseBody = { badge: UpdateBadgeBadge; badgeTypes: Array; }; /** @internal */ export declare const UpdateBadgeRequestBody$inboundSchema: z.ZodType; /** @internal */ export type UpdateBadgeRequestBody$Outbound = { badge_type_id: number; name: string; }; /** @internal */ export declare const UpdateBadgeRequestBody$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 UpdateBadgeRequestBody$ { /** @deprecated use `UpdateBadgeRequestBody$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `UpdateBadgeRequestBody$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `UpdateBadgeRequestBody$Outbound` instead. */ type Outbound = UpdateBadgeRequestBody$Outbound; } /** @internal */ export declare const UpdateBadgeRequest$inboundSchema: z.ZodType; /** @internal */ export type UpdateBadgeRequest$Outbound = { RequestBody?: UpdateBadgeRequestBody$Outbound | undefined; id: number; }; /** @internal */ export declare const UpdateBadgeRequest$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 UpdateBadgeRequest$ { /** @deprecated use `UpdateBadgeRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `UpdateBadgeRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `UpdateBadgeRequest$Outbound` instead. */ type Outbound = UpdateBadgeRequest$Outbound; } /** @internal */ export declare const UpdateBadgeBadge$inboundSchema: z.ZodType; /** @internal */ export type UpdateBadgeBadge$Outbound = { allow_title: boolean; auto_revoke: boolean; badge_grouping_id: number; badge_type_id: number; description: string; enabled: boolean; grant_count: number; icon: string; id: number; image_url: string | null; listable: boolean; long_description: string; manually_grantable: boolean; multiple_grant: boolean; name: string; query: string | null; show_posts: boolean; slug: string; system: boolean; target_posts: boolean; trigger: string | null; }; /** @internal */ export declare const UpdateBadgeBadge$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 UpdateBadgeBadge$ { /** @deprecated use `UpdateBadgeBadge$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `UpdateBadgeBadge$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `UpdateBadgeBadge$Outbound` instead. */ type Outbound = UpdateBadgeBadge$Outbound; } /** @internal */ export declare const UpdateBadgeBadgeTypes$inboundSchema: z.ZodType; /** @internal */ export type UpdateBadgeBadgeTypes$Outbound = { id: number; name: string; sort_order: number; }; /** @internal */ export declare const UpdateBadgeBadgeTypes$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 UpdateBadgeBadgeTypes$ { /** @deprecated use `UpdateBadgeBadgeTypes$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `UpdateBadgeBadgeTypes$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `UpdateBadgeBadgeTypes$Outbound` instead. */ type Outbound = UpdateBadgeBadgeTypes$Outbound; } /** @internal */ export declare const UpdateBadgeResponseBody$inboundSchema: z.ZodType; /** @internal */ export type UpdateBadgeResponseBody$Outbound = { badge: UpdateBadgeBadge$Outbound; badge_types: Array; }; /** @internal */ export declare const UpdateBadgeResponseBody$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 UpdateBadgeResponseBody$ { /** @deprecated use `UpdateBadgeResponseBody$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `UpdateBadgeResponseBody$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `UpdateBadgeResponseBody$Outbound` instead. */ type Outbound = UpdateBadgeResponseBody$Outbound; } //# sourceMappingURL=updatebadge.d.ts.map