import * as z from "zod"; export type CreateBadgeRequestBody = { /** * 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 Badge = { 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 CreateBadgeBadgeTypes = { id: number; name: string; sortOrder: number; }; /** * success response */ export type CreateBadgeResponseBody = { badge: Badge; badgeTypes: Array; }; /** @internal */ export declare const CreateBadgeRequestBody$inboundSchema: z.ZodType; /** @internal */ export type CreateBadgeRequestBody$Outbound = { badge_type_id: number; name: string; }; /** @internal */ export declare const CreateBadgeRequestBody$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 CreateBadgeRequestBody$ { /** @deprecated use `CreateBadgeRequestBody$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CreateBadgeRequestBody$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CreateBadgeRequestBody$Outbound` instead. */ type Outbound = CreateBadgeRequestBody$Outbound; } /** @internal */ export declare const Badge$inboundSchema: z.ZodType; /** @internal */ export type Badge$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 Badge$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 Badge$ { /** @deprecated use `Badge$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Badge$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Badge$Outbound` instead. */ type Outbound = Badge$Outbound; } /** @internal */ export declare const CreateBadgeBadgeTypes$inboundSchema: z.ZodType; /** @internal */ export type CreateBadgeBadgeTypes$Outbound = { id: number; name: string; sort_order: number; }; /** @internal */ export declare const CreateBadgeBadgeTypes$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 CreateBadgeBadgeTypes$ { /** @deprecated use `CreateBadgeBadgeTypes$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CreateBadgeBadgeTypes$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CreateBadgeBadgeTypes$Outbound` instead. */ type Outbound = CreateBadgeBadgeTypes$Outbound; } /** @internal */ export declare const CreateBadgeResponseBody$inboundSchema: z.ZodType; /** @internal */ export type CreateBadgeResponseBody$Outbound = { badge: Badge$Outbound; badge_types: Array; }; /** @internal */ export declare const CreateBadgeResponseBody$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 CreateBadgeResponseBody$ { /** @deprecated use `CreateBadgeResponseBody$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CreateBadgeResponseBody$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CreateBadgeResponseBody$Outbound` instead. */ type Outbound = CreateBadgeResponseBody$Outbound; } //# sourceMappingURL=createbadge.d.ts.map