import * as z from "zod"; export type AdminGetUserRequest = { id: number; }; export type ApprovedBy = { avatarTemplate: string; id: number; name: string; username: string; }; export type AdminGetUserExternalIds = {}; export type AdminGetUserGroups = { allowMembershipRequests: boolean; automatic: boolean; bioCooked: string | null; bioExcerpt: string | null; bioRaw: string | null; canAdminGroup: boolean; canSeeMembers: boolean; defaultNotificationLevel: number; displayName: string; flairBgColor: string | null; flairColor: string | null; flairGroupId?: string | null | undefined; flairUrl: string | null; fullName: string | null; grantTrustLevel: string | null; hasMessages: boolean; id: number; incomingEmail: string | null; membersVisibilityLevel: number; membershipRequestTemplate: string | null; mentionableLevel: number; messageableLevel: number; name: string; primaryGroup: boolean; publicAdmission: boolean; publicExit: boolean; publishReadState: boolean; title: string | null; userCount: number; visibilityLevel: number; }; export type PenaltyCounts = { silenced: number; suspended: number; }; export type AdminGetUserPenaltyCounts = { silenced: number; suspended: number; total: number; }; export type Tl3Requirements = { daysVisited: number; maxFlaggedByUsers: number; maxFlaggedPosts: number; minDaysVisited: number; minLikesGiven: number; minLikesReceived: number; minLikesReceivedDays: number; minLikesReceivedUsers: number; minPostsRead: number; minPostsReadAllTime: number; minTopicsRepliedTo: number; minTopicsViewed: number; minTopicsViewedAllTime: number; numFlaggedByUsers: number; numFlaggedPosts: number; numLikesGiven: number; numLikesReceived: number; numLikesReceivedDays: number; numLikesReceivedUsers: number; numTopicsRepliedTo: number; onGracePeriod: boolean; penaltyCounts: AdminGetUserPenaltyCounts; postsRead: number; postsReadAllTime: number; requirementsLost: boolean; requirementsMet: boolean; timePeriod: number; topicsViewed: number; topicsViewedAllTime: number; trustLevelLocked: boolean; }; /** * response */ export type AdminGetUserResponseBody = { active: boolean; admin: boolean; apiKeyCount: number; approvedBy: ApprovedBy | null; associatedAccounts?: Array | undefined; avatarTemplate: string; badgeCount: number; bounceScore: number | null; canActivate: boolean; canBeAnonymized: boolean; canBeDeleted: boolean; canBeMerged: boolean; canDeactivate: boolean; canDeleteAllPosts: boolean; canDeleteSsoRecord: boolean; canDisableSecondFactor: boolean; canGrantAdmin: boolean; canGrantModeration: boolean; canImpersonate: boolean; canRevokeAdmin: boolean; canRevokeModeration: boolean; canSendActivationEmail: boolean; canViewActionLogs: boolean; createdAt: string; createdAtAge: number | null; daysVisited: number; externalIds: AdminGetUserExternalIds; flagsGivenCount: number; flagsReceivedCount: number; fullSuspendReason: string | null; groups: Array; id: number; ipAddress: string; lastEmailedAge: number | null; lastEmailedAt: string | null; lastSeenAge: number | null; lastSeenAt: string | null; likeCount: number; likeGivenCount: number; manualLockedTrustLevel: string | null; moderator: boolean; name: string | null; nextPenalty?: string | undefined; penaltyCounts?: PenaltyCounts | undefined; postCount: number; postEditsCount?: number | null | undefined; postsReadCount: number; primaryGroupId: string | null; privateTopicsCount: number; registrationIpAddress: string | null; resetBounceScoreAfter: string | null; silenceReason: string | null; silencedBy: string | null; singleSignOnRecord: string | null; staged: boolean; suspendedBy: string | null; timeRead: number; title: string | null; tl3Requirements?: Tl3Requirements | undefined; topicCount: number; topicsEntered: number; trustLevel: number; username: string; warningsReceivedCount: number; }; /** @internal */ export declare const AdminGetUserRequest$inboundSchema: z.ZodType; /** @internal */ export type AdminGetUserRequest$Outbound = { id: number; }; /** @internal */ export declare const AdminGetUserRequest$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 AdminGetUserRequest$ { /** @deprecated use `AdminGetUserRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AdminGetUserRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AdminGetUserRequest$Outbound` instead. */ type Outbound = AdminGetUserRequest$Outbound; } /** @internal */ export declare const ApprovedBy$inboundSchema: z.ZodType; /** @internal */ export type ApprovedBy$Outbound = { avatar_template: string; id: number; name: string; username: string; }; /** @internal */ export declare const ApprovedBy$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 ApprovedBy$ { /** @deprecated use `ApprovedBy$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ApprovedBy$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ApprovedBy$Outbound` instead. */ type Outbound = ApprovedBy$Outbound; } /** @internal */ export declare const AdminGetUserExternalIds$inboundSchema: z.ZodType; /** @internal */ export type AdminGetUserExternalIds$Outbound = {}; /** @internal */ export declare const AdminGetUserExternalIds$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 AdminGetUserExternalIds$ { /** @deprecated use `AdminGetUserExternalIds$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AdminGetUserExternalIds$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AdminGetUserExternalIds$Outbound` instead. */ type Outbound = AdminGetUserExternalIds$Outbound; } /** @internal */ export declare const AdminGetUserGroups$inboundSchema: z.ZodType; /** @internal */ export type AdminGetUserGroups$Outbound = { allow_membership_requests: boolean; automatic: boolean; bio_cooked: string | null; bio_excerpt: string | null; bio_raw: string | null; can_admin_group: boolean; can_see_members: boolean; default_notification_level: number; display_name: string; flair_bg_color: string | null; flair_color: string | null; flair_group_id?: string | null | undefined; flair_url: string | null; full_name: string | null; grant_trust_level: string | null; has_messages: boolean; id: number; incoming_email: string | null; members_visibility_level: number; membership_request_template: string | null; mentionable_level: number; messageable_level: number; name: string; primary_group: boolean; public_admission: boolean; public_exit: boolean; publish_read_state: boolean; title: string | null; user_count: number; visibility_level: number; }; /** @internal */ export declare const AdminGetUserGroups$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 AdminGetUserGroups$ { /** @deprecated use `AdminGetUserGroups$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AdminGetUserGroups$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AdminGetUserGroups$Outbound` instead. */ type Outbound = AdminGetUserGroups$Outbound; } /** @internal */ export declare const PenaltyCounts$inboundSchema: z.ZodType; /** @internal */ export type PenaltyCounts$Outbound = { silenced: number; suspended: number; }; /** @internal */ export declare const PenaltyCounts$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 PenaltyCounts$ { /** @deprecated use `PenaltyCounts$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `PenaltyCounts$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `PenaltyCounts$Outbound` instead. */ type Outbound = PenaltyCounts$Outbound; } /** @internal */ export declare const AdminGetUserPenaltyCounts$inboundSchema: z.ZodType; /** @internal */ export type AdminGetUserPenaltyCounts$Outbound = { silenced: number; suspended: number; total: number; }; /** @internal */ export declare const AdminGetUserPenaltyCounts$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 AdminGetUserPenaltyCounts$ { /** @deprecated use `AdminGetUserPenaltyCounts$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AdminGetUserPenaltyCounts$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AdminGetUserPenaltyCounts$Outbound` instead. */ type Outbound = AdminGetUserPenaltyCounts$Outbound; } /** @internal */ export declare const Tl3Requirements$inboundSchema: z.ZodType; /** @internal */ export type Tl3Requirements$Outbound = { days_visited: number; max_flagged_by_users: number; max_flagged_posts: number; min_days_visited: number; min_likes_given: number; min_likes_received: number; min_likes_received_days: number; min_likes_received_users: number; min_posts_read: number; min_posts_read_all_time: number; min_topics_replied_to: number; min_topics_viewed: number; min_topics_viewed_all_time: number; num_flagged_by_users: number; num_flagged_posts: number; num_likes_given: number; num_likes_received: number; num_likes_received_days: number; num_likes_received_users: number; num_topics_replied_to: number; on_grace_period: boolean; penalty_counts: AdminGetUserPenaltyCounts$Outbound; posts_read: number; posts_read_all_time: number; requirements_lost: boolean; requirements_met: boolean; time_period: number; topics_viewed: number; topics_viewed_all_time: number; trust_level_locked: boolean; }; /** @internal */ export declare const Tl3Requirements$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 Tl3Requirements$ { /** @deprecated use `Tl3Requirements$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Tl3Requirements$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Tl3Requirements$Outbound` instead. */ type Outbound = Tl3Requirements$Outbound; } /** @internal */ export declare const AdminGetUserResponseBody$inboundSchema: z.ZodType; /** @internal */ export type AdminGetUserResponseBody$Outbound = { active: boolean; admin: boolean; api_key_count: number; approved_by: ApprovedBy$Outbound | null; associated_accounts?: Array | undefined; avatar_template: string; badge_count: number; bounce_score: number | null; can_activate: boolean; can_be_anonymized: boolean; can_be_deleted: boolean; can_be_merged: boolean; can_deactivate: boolean; can_delete_all_posts: boolean; can_delete_sso_record: boolean; can_disable_second_factor: boolean; can_grant_admin: boolean; can_grant_moderation: boolean; can_impersonate: boolean; can_revoke_admin: boolean; can_revoke_moderation: boolean; can_send_activation_email: boolean; can_view_action_logs: boolean; created_at: string; created_at_age: number | null; days_visited: number; external_ids: AdminGetUserExternalIds$Outbound; flags_given_count: number; flags_received_count: number; full_suspend_reason: string | null; groups: Array; id: number; ip_address: string; last_emailed_age: number | null; last_emailed_at: string | null; last_seen_age: number | null; last_seen_at: string | null; like_count: number; like_given_count: number; manual_locked_trust_level: string | null; moderator: boolean; name: string | null; next_penalty?: string | undefined; penalty_counts?: PenaltyCounts$Outbound | undefined; post_count: number; post_edits_count?: number | null | undefined; posts_read_count: number; primary_group_id: string | null; private_topics_count: number; registration_ip_address: string | null; reset_bounce_score_after: string | null; silence_reason: string | null; silenced_by: string | null; single_sign_on_record: string | null; staged: boolean; suspended_by: string | null; time_read: number; title: string | null; tl3_requirements?: Tl3Requirements$Outbound | undefined; topic_count: number; topics_entered: number; trust_level: number; username: string; warnings_received_count: number; }; /** @internal */ export declare const AdminGetUserResponseBody$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 AdminGetUserResponseBody$ { /** @deprecated use `AdminGetUserResponseBody$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AdminGetUserResponseBody$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AdminGetUserResponseBody$Outbound` instead. */ type Outbound = AdminGetUserResponseBody$Outbound; } //# sourceMappingURL=admingetuser.d.ts.map