import * as z from "zod"; import { ClosedEnum } from "../../types/enums.js"; export declare const QueryParamAsc: { readonly True: "true"; }; export type QueryParamAsc = ClosedEnum; export declare const Flag: { readonly Active: "active"; readonly New: "new"; readonly Staff: "staff"; readonly Suspended: "suspended"; readonly Blocked: "blocked"; readonly Suspect: "suspect"; }; export type Flag = ClosedEnum; export declare const QueryParamOrder: { readonly Created: "created"; readonly LastEmailed: "last_emailed"; readonly Seen: "seen"; readonly Username: "username"; readonly Email: "email"; readonly TrustLevel: "trust_level"; readonly DaysVisited: "days_visited"; readonly PostsRead: "posts_read"; readonly TopicsViewed: "topics_viewed"; readonly Posts: "posts"; readonly ReadTime: "read_time"; }; export type QueryParamOrder = ClosedEnum; export type AdminListUsersRequest = { asc?: QueryParamAsc | undefined; /** * Filter to the user with this email address */ email?: string | undefined; flag: Flag; /** * Filter to users with this IP address */ ip?: string | undefined; order?: QueryParamOrder | undefined; page?: number | undefined; /** * Include user email addresses in response. These requests will be logged in the staff action logs. */ showEmails?: boolean | undefined; /** * Include user stats information */ stats?: boolean | undefined; }; export type AdminListUsersResponseBody = { active: boolean; admin: boolean; avatarTemplate: string; createdAt: string; createdAtAge: number | null; daysVisited: number; email?: string | undefined; id: number; lastEmailedAge: number | null; lastEmailedAt: string | null; lastSeenAge: number | null; lastSeenAt: string | null; manualLockedTrustLevel: string | null; moderator: boolean; name: string | null; postCount: number; postsReadCount: number; secondaryEmails?: Array | undefined; staged: boolean; timeRead: number; title: string | null; topicsEntered: number; trustLevel: number; username: string; }; /** @internal */ export declare const QueryParamAsc$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const QueryParamAsc$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace QueryParamAsc$ { /** @deprecated use `QueryParamAsc$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly True: "true"; }>; /** @deprecated use `QueryParamAsc$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly True: "true"; }>; } /** @internal */ export declare const Flag$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const Flag$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace Flag$ { /** @deprecated use `Flag$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Active: "active"; readonly New: "new"; readonly Staff: "staff"; readonly Suspended: "suspended"; readonly Blocked: "blocked"; readonly Suspect: "suspect"; }>; /** @deprecated use `Flag$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Active: "active"; readonly New: "new"; readonly Staff: "staff"; readonly Suspended: "suspended"; readonly Blocked: "blocked"; readonly Suspect: "suspect"; }>; } /** @internal */ export declare const QueryParamOrder$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const QueryParamOrder$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace QueryParamOrder$ { /** @deprecated use `QueryParamOrder$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Created: "created"; readonly LastEmailed: "last_emailed"; readonly Seen: "seen"; readonly Username: "username"; readonly Email: "email"; readonly TrustLevel: "trust_level"; readonly DaysVisited: "days_visited"; readonly PostsRead: "posts_read"; readonly TopicsViewed: "topics_viewed"; readonly Posts: "posts"; readonly ReadTime: "read_time"; }>; /** @deprecated use `QueryParamOrder$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Created: "created"; readonly LastEmailed: "last_emailed"; readonly Seen: "seen"; readonly Username: "username"; readonly Email: "email"; readonly TrustLevel: "trust_level"; readonly DaysVisited: "days_visited"; readonly PostsRead: "posts_read"; readonly TopicsViewed: "topics_viewed"; readonly Posts: "posts"; readonly ReadTime: "read_time"; }>; } /** @internal */ export declare const AdminListUsersRequest$inboundSchema: z.ZodType; /** @internal */ export type AdminListUsersRequest$Outbound = { asc?: string | undefined; email?: string | undefined; flag: string; ip?: string | undefined; order?: string | undefined; page?: number | undefined; show_emails?: boolean | undefined; stats?: boolean | undefined; }; /** @internal */ export declare const AdminListUsersRequest$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 AdminListUsersRequest$ { /** @deprecated use `AdminListUsersRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AdminListUsersRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AdminListUsersRequest$Outbound` instead. */ type Outbound = AdminListUsersRequest$Outbound; } /** @internal */ export declare const AdminListUsersResponseBody$inboundSchema: z.ZodType; /** @internal */ export type AdminListUsersResponseBody$Outbound = { active: boolean; admin: boolean; avatar_template: string; created_at: string; created_at_age: number | null; days_visited: number; email?: string | undefined; id: number; last_emailed_age: number | null; last_emailed_at: string | null; last_seen_age: number | null; last_seen_at: string | null; manual_locked_trust_level: string | null; moderator: boolean; name: string | null; post_count: number; posts_read_count: number; secondary_emails?: Array | undefined; staged: boolean; time_read: number; title: string | null; topics_entered: number; trust_level: number; username: string; }; /** @internal */ export declare const AdminListUsersResponseBody$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 AdminListUsersResponseBody$ { /** @deprecated use `AdminListUsersResponseBody$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AdminListUsersResponseBody$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AdminListUsersResponseBody$Outbound` instead. */ type Outbound = AdminListUsersResponseBody$Outbound; } //# sourceMappingURL=adminlistusers.d.ts.map