import z from 'zod'; export declare const user: z.ZodObject<{ _id: z.ZodString; organizationId: z.ZodString; email: z.ZodString; firstName: z.ZodString; lastName: z.ZodString; passwordHash: z.ZodString; meta: z.ZodObject<{ createdAt: z.ZodOptional; createdBy: z.ZodOptional; lastUpdatedAt: z.ZodOptional; lastUpdatedBy: z.ZodOptional; }, "strip", z.ZodTypeAny, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }>; }, "strip", z.ZodTypeAny, { email: string; organizationId: string; _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; firstName: string; lastName: string; passwordHash: string; }, { email: string; organizationId: string; _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; firstName: string; lastName: string; passwordHash: string; }>; export declare const authenticationResponse: z.ZodObject<{ status: z.ZodEnum<[string, ...string[]]>; error: z.ZodOptional>; }, "strip", z.ZodTypeAny, { message: string; fields?: Record | undefined; }, { message: string; fields?: Record | undefined; }>>; user: z.ZodOptional; createdBy: z.ZodOptional; lastUpdatedAt: z.ZodOptional; lastUpdatedBy: z.ZodOptional; }, "strip", z.ZodTypeAny, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }>; }, "strip", z.ZodTypeAny, { email: string; organizationId: string; _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; firstName: string; lastName: string; passwordHash: string; }, { email: string; organizationId: string; _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; firstName: string; lastName: string; passwordHash: string; }>>; organization: z.ZodOptional; description: z.ZodNullable; meta: z.ZodObject<{ createdAt: z.ZodOptional; createdBy: z.ZodOptional; lastUpdatedAt: z.ZodOptional; lastUpdatedBy: z.ZodOptional; }, "strip", z.ZodTypeAny, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }>; }, "strip", z.ZodTypeAny, { userId: string; _id: string; name: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; stripeCustomerId: string; description: string | null; imageFileId: string | null; }, { userId: string; _id: string; name: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; stripeCustomerId: string; description: string | null; imageFileId: string | null; }>>; token: z.ZodOptional; roles: z.ZodOptional; userEmail: z.ZodNullable; type: z.ZodEnum<["Owner", "Member"]>; acceptedAt: z.ZodNullable; meta: z.ZodObject<{ createdAt: z.ZodOptional; createdBy: z.ZodOptional; lastUpdatedAt: z.ZodOptional; lastUpdatedBy: z.ZodOptional; }, "strip", z.ZodTypeAny, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }>; }, "strip", z.ZodTypeAny, { type: "Owner" | "Member"; userId: string | null; organizationId: string; _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; userEmail: string | null; acceptedAt: number | null; }, { type: "Owner" | "Member"; userId: string | null; organizationId: string; _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; userEmail: string | null; acceptedAt: number | null; }>, "many">>; }, "strip", z.ZodTypeAny, { status: string; error?: { message: string; fields?: Record | undefined; } | undefined; user?: { email: string; organizationId: string; _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; firstName: string; lastName: string; passwordHash: string; } | undefined; organization?: { userId: string; _id: string; name: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; stripeCustomerId: string; description: string | null; imageFileId: string | null; } | undefined; token?: string | undefined; roles?: { type: "Owner" | "Member"; userId: string | null; organizationId: string; _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; userEmail: string | null; acceptedAt: number | null; }[] | undefined; }, { status: string; error?: { message: string; fields?: Record | undefined; } | undefined; user?: { email: string; organizationId: string; _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; firstName: string; lastName: string; passwordHash: string; } | undefined; organization?: { userId: string; _id: string; name: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; stripeCustomerId: string; description: string | null; imageFileId: string | null; } | undefined; token?: string | undefined; roles?: { type: "Owner" | "Member"; userId: string | null; organizationId: string; _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; userEmail: string | null; acceptedAt: number | null; }[] | undefined; }>; export type User = z.infer; export type AuthenticationResponse = z.infer; export interface UserService { register(request: RegisterUserRequest): Promise; login(request: LoginUserRequest): Promise; oAuthLogin(request: OAuthLoginUserRequest): Promise; setOrganization(request: SetUserOrganizationRequest): Promise; get(request: GetUserRequest): Promise; byEmail(request: GetUserByEmailRequest): Promise; list(request: ListUsersRequest): Promise; organizations(request: ListUserOrganizationsRequest): Promise; superList(request: SuperListUsersRequest): Promise; } /** ****************************************************************************** * Register User ******************************************************************************* */ export declare const registerUserParams: z.ZodObject<{ firstName: z.ZodString; lastName: z.ZodString; email: z.ZodString; password: z.ZodString; }, "strip", z.ZodTypeAny, { email: string; firstName: string; lastName: string; password: string; }, { email: string; firstName: string; lastName: string; password: string; }>; export declare const registerUserRequest: z.ZodObject<{ params: z.ZodObject<{ firstName: z.ZodString; lastName: z.ZodString; email: z.ZodString; password: z.ZodString; }, "strip", z.ZodTypeAny, { email: string; firstName: string; lastName: string; password: string; }, { email: string; firstName: string; lastName: string; password: string; }>; }, "strip", z.ZodTypeAny, { params: { email: string; firstName: string; lastName: string; password: string; }; }, { params: { email: string; firstName: string; lastName: string; password: string; }; }>; export declare const registerUserResponse: z.ZodObject<{ status: z.ZodEnum<[string, ...string[]]>; error: z.ZodOptional>; }, "strip", z.ZodTypeAny, { message: string; fields?: Record | undefined; }, { message: string; fields?: Record | undefined; }>>; user: z.ZodOptional; createdBy: z.ZodOptional; lastUpdatedAt: z.ZodOptional; lastUpdatedBy: z.ZodOptional; }, "strip", z.ZodTypeAny, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }>; }, "strip", z.ZodTypeAny, { email: string; organizationId: string; _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; firstName: string; lastName: string; passwordHash: string; }, { email: string; organizationId: string; _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; firstName: string; lastName: string; passwordHash: string; }>>; organization: z.ZodOptional; description: z.ZodNullable; meta: z.ZodObject<{ createdAt: z.ZodOptional; createdBy: z.ZodOptional; lastUpdatedAt: z.ZodOptional; lastUpdatedBy: z.ZodOptional; }, "strip", z.ZodTypeAny, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }>; }, "strip", z.ZodTypeAny, { userId: string; _id: string; name: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; stripeCustomerId: string; description: string | null; imageFileId: string | null; }, { userId: string; _id: string; name: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; stripeCustomerId: string; description: string | null; imageFileId: string | null; }>>; token: z.ZodOptional; roles: z.ZodOptional; userEmail: z.ZodNullable; type: z.ZodEnum<["Owner", "Member"]>; acceptedAt: z.ZodNullable; meta: z.ZodObject<{ createdAt: z.ZodOptional; createdBy: z.ZodOptional; lastUpdatedAt: z.ZodOptional; lastUpdatedBy: z.ZodOptional; }, "strip", z.ZodTypeAny, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }>; }, "strip", z.ZodTypeAny, { type: "Owner" | "Member"; userId: string | null; organizationId: string; _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; userEmail: string | null; acceptedAt: number | null; }, { type: "Owner" | "Member"; userId: string | null; organizationId: string; _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; userEmail: string | null; acceptedAt: number | null; }>, "many">>; }, "strip", z.ZodTypeAny, { status: string; error?: { message: string; fields?: Record | undefined; } | undefined; user?: { email: string; organizationId: string; _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; firstName: string; lastName: string; passwordHash: string; } | undefined; organization?: { userId: string; _id: string; name: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; stripeCustomerId: string; description: string | null; imageFileId: string | null; } | undefined; token?: string | undefined; roles?: { type: "Owner" | "Member"; userId: string | null; organizationId: string; _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; userEmail: string | null; acceptedAt: number | null; }[] | undefined; }, { status: string; error?: { message: string; fields?: Record | undefined; } | undefined; user?: { email: string; organizationId: string; _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; firstName: string; lastName: string; passwordHash: string; } | undefined; organization?: { userId: string; _id: string; name: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; stripeCustomerId: string; description: string | null; imageFileId: string | null; } | undefined; token?: string | undefined; roles?: { type: "Owner" | "Member"; userId: string | null; organizationId: string; _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; userEmail: string | null; acceptedAt: number | null; }[] | undefined; }>; export type RegisterUserParams = z.infer; export type RegisterUserRequest = z.infer; export type RegisterUserResponse = z.infer; /** ****************************************************************************** * Login User ******************************************************************************* */ export declare const loginUserParams: z.ZodObject<{ email: z.ZodString; password: z.ZodString; }, "strip", z.ZodTypeAny, { email: string; password: string; }, { email: string; password: string; }>; export declare const loginUserRequest: z.ZodObject<{ params: z.ZodObject<{ email: z.ZodString; password: z.ZodString; }, "strip", z.ZodTypeAny, { email: string; password: string; }, { email: string; password: string; }>; }, "strip", z.ZodTypeAny, { params: { email: string; password: string; }; }, { params: { email: string; password: string; }; }>; export declare const loginUserResponse: z.ZodObject<{ status: z.ZodEnum<[string, ...string[]]>; error: z.ZodOptional>; }, "strip", z.ZodTypeAny, { message: string; fields?: Record | undefined; }, { message: string; fields?: Record | undefined; }>>; user: z.ZodOptional; createdBy: z.ZodOptional; lastUpdatedAt: z.ZodOptional; lastUpdatedBy: z.ZodOptional; }, "strip", z.ZodTypeAny, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }>; }, "strip", z.ZodTypeAny, { email: string; organizationId: string; _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; firstName: string; lastName: string; passwordHash: string; }, { email: string; organizationId: string; _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; firstName: string; lastName: string; passwordHash: string; }>>; organization: z.ZodOptional; description: z.ZodNullable; meta: z.ZodObject<{ createdAt: z.ZodOptional; createdBy: z.ZodOptional; lastUpdatedAt: z.ZodOptional; lastUpdatedBy: z.ZodOptional; }, "strip", z.ZodTypeAny, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }>; }, "strip", z.ZodTypeAny, { userId: string; _id: string; name: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; stripeCustomerId: string; description: string | null; imageFileId: string | null; }, { userId: string; _id: string; name: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; stripeCustomerId: string; description: string | null; imageFileId: string | null; }>>; token: z.ZodOptional; roles: z.ZodOptional; userEmail: z.ZodNullable; type: z.ZodEnum<["Owner", "Member"]>; acceptedAt: z.ZodNullable; meta: z.ZodObject<{ createdAt: z.ZodOptional; createdBy: z.ZodOptional; lastUpdatedAt: z.ZodOptional; lastUpdatedBy: z.ZodOptional; }, "strip", z.ZodTypeAny, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }>; }, "strip", z.ZodTypeAny, { type: "Owner" | "Member"; userId: string | null; organizationId: string; _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; userEmail: string | null; acceptedAt: number | null; }, { type: "Owner" | "Member"; userId: string | null; organizationId: string; _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; userEmail: string | null; acceptedAt: number | null; }>, "many">>; }, "strip", z.ZodTypeAny, { status: string; error?: { message: string; fields?: Record | undefined; } | undefined; user?: { email: string; organizationId: string; _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; firstName: string; lastName: string; passwordHash: string; } | undefined; organization?: { userId: string; _id: string; name: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; stripeCustomerId: string; description: string | null; imageFileId: string | null; } | undefined; token?: string | undefined; roles?: { type: "Owner" | "Member"; userId: string | null; organizationId: string; _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; userEmail: string | null; acceptedAt: number | null; }[] | undefined; }, { status: string; error?: { message: string; fields?: Record | undefined; } | undefined; user?: { email: string; organizationId: string; _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; firstName: string; lastName: string; passwordHash: string; } | undefined; organization?: { userId: string; _id: string; name: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; stripeCustomerId: string; description: string | null; imageFileId: string | null; } | undefined; token?: string | undefined; roles?: { type: "Owner" | "Member"; userId: string | null; organizationId: string; _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; userEmail: string | null; acceptedAt: number | null; }[] | undefined; }>; export type LoginUserParams = z.infer; export type LoginUserRequest = z.infer; export type LoginUserResponse = z.infer; /** ****************************************************************************** * OAuth Login User ******************************************************************************* */ export declare const oAuthloginUserParams: z.ZodObject<{ email: z.ZodString; }, "strip", z.ZodTypeAny, { email: string; }, { email: string; }>; export declare const oAuthloginUserRequest: z.ZodObject<{ params: z.ZodObject<{ email: z.ZodString; }, "strip", z.ZodTypeAny, { email: string; }, { email: string; }>; }, "strip", z.ZodTypeAny, { params: { email: string; }; }, { params: { email: string; }; }>; export declare const oAuthloginUserResponse: z.ZodObject<{ status: z.ZodEnum<[string, ...string[]]>; error: z.ZodOptional>; }, "strip", z.ZodTypeAny, { message: string; fields?: Record | undefined; }, { message: string; fields?: Record | undefined; }>>; user: z.ZodOptional; createdBy: z.ZodOptional; lastUpdatedAt: z.ZodOptional; lastUpdatedBy: z.ZodOptional; }, "strip", z.ZodTypeAny, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }>; }, "strip", z.ZodTypeAny, { email: string; organizationId: string; _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; firstName: string; lastName: string; passwordHash: string; }, { email: string; organizationId: string; _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; firstName: string; lastName: string; passwordHash: string; }>>; organization: z.ZodOptional; description: z.ZodNullable; meta: z.ZodObject<{ createdAt: z.ZodOptional; createdBy: z.ZodOptional; lastUpdatedAt: z.ZodOptional; lastUpdatedBy: z.ZodOptional; }, "strip", z.ZodTypeAny, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }>; }, "strip", z.ZodTypeAny, { userId: string; _id: string; name: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; stripeCustomerId: string; description: string | null; imageFileId: string | null; }, { userId: string; _id: string; name: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; stripeCustomerId: string; description: string | null; imageFileId: string | null; }>>; token: z.ZodOptional; roles: z.ZodOptional; userEmail: z.ZodNullable; type: z.ZodEnum<["Owner", "Member"]>; acceptedAt: z.ZodNullable; meta: z.ZodObject<{ createdAt: z.ZodOptional; createdBy: z.ZodOptional; lastUpdatedAt: z.ZodOptional; lastUpdatedBy: z.ZodOptional; }, "strip", z.ZodTypeAny, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }>; }, "strip", z.ZodTypeAny, { type: "Owner" | "Member"; userId: string | null; organizationId: string; _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; userEmail: string | null; acceptedAt: number | null; }, { type: "Owner" | "Member"; userId: string | null; organizationId: string; _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; userEmail: string | null; acceptedAt: number | null; }>, "many">>; }, "strip", z.ZodTypeAny, { status: string; error?: { message: string; fields?: Record | undefined; } | undefined; user?: { email: string; organizationId: string; _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; firstName: string; lastName: string; passwordHash: string; } | undefined; organization?: { userId: string; _id: string; name: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; stripeCustomerId: string; description: string | null; imageFileId: string | null; } | undefined; token?: string | undefined; roles?: { type: "Owner" | "Member"; userId: string | null; organizationId: string; _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; userEmail: string | null; acceptedAt: number | null; }[] | undefined; }, { status: string; error?: { message: string; fields?: Record | undefined; } | undefined; user?: { email: string; organizationId: string; _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; firstName: string; lastName: string; passwordHash: string; } | undefined; organization?: { userId: string; _id: string; name: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; stripeCustomerId: string; description: string | null; imageFileId: string | null; } | undefined; token?: string | undefined; roles?: { type: "Owner" | "Member"; userId: string | null; organizationId: string; _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; userEmail: string | null; acceptedAt: number | null; }[] | undefined; }>; export type OAuthLoginUserParams = z.infer; export type OAuthLoginUserRequest = z.infer; export type OAuthLoginUserResponse = z.infer; /** ****************************************************************************** * Set Organization ******************************************************************************* */ export declare const setUserOrganizationParams: z.ZodObject<{ organizationId: z.ZodString; }, "strip", z.ZodTypeAny, { organizationId: string; }, { organizationId: string; }>; export declare const setUserOrganizationRequest: z.ZodObject<{ auth: z.ZodObject<{ email: z.ZodOptional; userId: z.ZodOptional; organizationId: z.ZodOptional; token: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }, { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }>; params: z.ZodObject<{ organizationId: z.ZodString; }, "strip", z.ZodTypeAny, { organizationId: string; }, { organizationId: string; }>; }, "strip", z.ZodTypeAny, { params: { organizationId: string; }; auth: { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }; }, { params: { organizationId: string; }; auth: { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }; }>; export declare const setUserOrganizationResponse: z.ZodObject<{ status: z.ZodEnum<[string, ...string[]]>; error: z.ZodOptional>; }, "strip", z.ZodTypeAny, { message: string; fields?: Record | undefined; }, { message: string; fields?: Record | undefined; }>>; user: z.ZodOptional; createdBy: z.ZodOptional; lastUpdatedAt: z.ZodOptional; lastUpdatedBy: z.ZodOptional; }, "strip", z.ZodTypeAny, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }>; }, "strip", z.ZodTypeAny, { email: string; organizationId: string; _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; firstName: string; lastName: string; passwordHash: string; }, { email: string; organizationId: string; _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; firstName: string; lastName: string; passwordHash: string; }>>; organization: z.ZodOptional; description: z.ZodNullable; meta: z.ZodObject<{ createdAt: z.ZodOptional; createdBy: z.ZodOptional; lastUpdatedAt: z.ZodOptional; lastUpdatedBy: z.ZodOptional; }, "strip", z.ZodTypeAny, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }>; }, "strip", z.ZodTypeAny, { userId: string; _id: string; name: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; stripeCustomerId: string; description: string | null; imageFileId: string | null; }, { userId: string; _id: string; name: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; stripeCustomerId: string; description: string | null; imageFileId: string | null; }>>; token: z.ZodOptional; roles: z.ZodOptional; userEmail: z.ZodNullable; type: z.ZodEnum<["Owner", "Member"]>; acceptedAt: z.ZodNullable; meta: z.ZodObject<{ createdAt: z.ZodOptional; createdBy: z.ZodOptional; lastUpdatedAt: z.ZodOptional; lastUpdatedBy: z.ZodOptional; }, "strip", z.ZodTypeAny, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }>; }, "strip", z.ZodTypeAny, { type: "Owner" | "Member"; userId: string | null; organizationId: string; _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; userEmail: string | null; acceptedAt: number | null; }, { type: "Owner" | "Member"; userId: string | null; organizationId: string; _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; userEmail: string | null; acceptedAt: number | null; }>, "many">>; }, "strip", z.ZodTypeAny, { status: string; error?: { message: string; fields?: Record | undefined; } | undefined; user?: { email: string; organizationId: string; _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; firstName: string; lastName: string; passwordHash: string; } | undefined; organization?: { userId: string; _id: string; name: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; stripeCustomerId: string; description: string | null; imageFileId: string | null; } | undefined; token?: string | undefined; roles?: { type: "Owner" | "Member"; userId: string | null; organizationId: string; _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; userEmail: string | null; acceptedAt: number | null; }[] | undefined; }, { status: string; error?: { message: string; fields?: Record | undefined; } | undefined; user?: { email: string; organizationId: string; _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; firstName: string; lastName: string; passwordHash: string; } | undefined; organization?: { userId: string; _id: string; name: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; stripeCustomerId: string; description: string | null; imageFileId: string | null; } | undefined; token?: string | undefined; roles?: { type: "Owner" | "Member"; userId: string | null; organizationId: string; _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; userEmail: string | null; acceptedAt: number | null; }[] | undefined; }>; export type SetUserOrganizationParams = z.infer; export type SetUserOrganizationRequest = z.infer; export type SetUserOrganizationResponse = z.infer; /** ****************************************************************************** * Get User ******************************************************************************* */ export declare const getUserParams: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; export declare const getUserRequest: z.ZodObject<{ auth: z.ZodObject<{ email: z.ZodOptional; userId: z.ZodOptional; organizationId: z.ZodOptional; token: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }, { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }>; params: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; }, "strip", z.ZodTypeAny, { params: {}; auth: { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }; }, { params: {}; auth: { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }; }>; export declare const getUserResponse: z.ZodObject<{ status: z.ZodEnum<[string, ...string[]]>; error: z.ZodOptional>; }, "strip", z.ZodTypeAny, { message: string; fields?: Record | undefined; }, { message: string; fields?: Record | undefined; }>>; user: z.ZodOptional; createdBy: z.ZodOptional; lastUpdatedAt: z.ZodOptional; lastUpdatedBy: z.ZodOptional; }, "strip", z.ZodTypeAny, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }>; }, "strip", z.ZodTypeAny, { email: string; organizationId: string; _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; firstName: string; lastName: string; passwordHash: string; }, { email: string; organizationId: string; _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; firstName: string; lastName: string; passwordHash: string; }>>; }, "strip", z.ZodTypeAny, { status: string; error?: { message: string; fields?: Record | undefined; } | undefined; user?: { email: string; organizationId: string; _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; firstName: string; lastName: string; passwordHash: string; } | undefined; }, { status: string; error?: { message: string; fields?: Record | undefined; } | undefined; user?: { email: string; organizationId: string; _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; firstName: string; lastName: string; passwordHash: string; } | undefined; }>; export type GetUserParams = z.infer; export type GetUserRequest = z.infer; export type GetUserResponse = z.infer; /** ****************************************************************************** * Get User By Email ******************************************************************************* */ export declare const getUserByEmailParams: z.ZodObject<{ userEmail: z.ZodString; }, "strip", z.ZodTypeAny, { userEmail: string; }, { userEmail: string; }>; export declare const getUserByEmailRequest: z.ZodObject<{ params: z.ZodObject<{ userEmail: z.ZodString; }, "strip", z.ZodTypeAny, { userEmail: string; }, { userEmail: string; }>; }, "strip", z.ZodTypeAny, { params: { userEmail: string; }; }, { params: { userEmail: string; }; }>; export declare const getUserByEmailResponse: z.ZodObject<{ status: z.ZodEnum<[string, ...string[]]>; error: z.ZodOptional>; }, "strip", z.ZodTypeAny, { message: string; fields?: Record | undefined; }, { message: string; fields?: Record | undefined; }>>; user: z.ZodOptional; createdBy: z.ZodOptional; lastUpdatedAt: z.ZodOptional; lastUpdatedBy: z.ZodOptional; }, "strip", z.ZodTypeAny, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }>; }, "strip", z.ZodTypeAny, { email: string; organizationId: string; _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; firstName: string; lastName: string; passwordHash: string; }, { email: string; organizationId: string; _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; firstName: string; lastName: string; passwordHash: string; }>>>; }, "strip", z.ZodTypeAny, { status: string; error?: { message: string; fields?: Record | undefined; } | undefined; user?: { email: string; organizationId: string; _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; firstName: string; lastName: string; passwordHash: string; } | null | undefined; }, { status: string; error?: { message: string; fields?: Record | undefined; } | undefined; user?: { email: string; organizationId: string; _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; firstName: string; lastName: string; passwordHash: string; } | null | undefined; }>; export type GetUserByEmailParams = z.infer; export type GetUserByEmailRequest = z.infer; export type GetUserByEmailResponse = z.infer; /** ****************************************************************************** * List Users ******************************************************************************* */ export declare const listUsersParams: z.ZodObject<{ _ids: z.ZodArray; }, "strip", z.ZodTypeAny, { _ids: string[]; }, { _ids: string[]; }>; export declare const listUsersRequest: z.ZodObject<{ auth: z.ZodObject<{ email: z.ZodOptional; userId: z.ZodOptional; organizationId: z.ZodOptional; token: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }, { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }>; params: z.ZodObject<{ _ids: z.ZodArray; }, "strip", z.ZodTypeAny, { _ids: string[]; }, { _ids: string[]; }>; }, "strip", z.ZodTypeAny, { params: { _ids: string[]; }; auth: { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }; }, { params: { _ids: string[]; }; auth: { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }; }>; export declare const listUsersResponse: z.ZodObject<{ status: z.ZodEnum<[string, ...string[]]>; error: z.ZodOptional>; }, "strip", z.ZodTypeAny, { message: string; fields?: Record | undefined; }, { message: string; fields?: Record | undefined; }>>; users: z.ZodOptional; createdBy: z.ZodOptional; lastUpdatedAt: z.ZodOptional; lastUpdatedBy: z.ZodOptional; }, "strip", z.ZodTypeAny, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }>; }, "strip", z.ZodTypeAny, { email: string; organizationId: string; _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; firstName: string; lastName: string; passwordHash: string; }, { email: string; organizationId: string; _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; firstName: string; lastName: string; passwordHash: string; }>, "many">>; }, "strip", z.ZodTypeAny, { status: string; error?: { message: string; fields?: Record | undefined; } | undefined; users?: { email: string; organizationId: string; _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; firstName: string; lastName: string; passwordHash: string; }[] | undefined; }, { status: string; error?: { message: string; fields?: Record | undefined; } | undefined; users?: { email: string; organizationId: string; _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; firstName: string; lastName: string; passwordHash: string; }[] | undefined; }>; export type ListUsersParams = z.infer; export type ListUsersRequest = z.infer; export type ListUsersResponse = z.infer; /** ****************************************************************************** * List Users ******************************************************************************* */ export declare const listUserOrganizationsParams: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; export declare const listUserOrganizationsRequest: z.ZodObject<{ auth: z.ZodObject<{ email: z.ZodOptional; userId: z.ZodOptional; organizationId: z.ZodOptional; token: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }, { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }>; params: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; }, "strip", z.ZodTypeAny, { params: {}; auth: { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }; }, { params: {}; auth: { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }; }>; export declare const listUserOrganizationsResponse: z.ZodObject<{ status: z.ZodEnum<[string, ...string[]]>; error: z.ZodOptional>; }, "strip", z.ZodTypeAny, { message: string; fields?: Record | undefined; }, { message: string; fields?: Record | undefined; }>>; organizations: z.ZodOptional; description: z.ZodNullable; meta: z.ZodObject<{ createdAt: z.ZodOptional; createdBy: z.ZodOptional; lastUpdatedAt: z.ZodOptional; lastUpdatedBy: z.ZodOptional; }, "strip", z.ZodTypeAny, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }>; }, "strip", z.ZodTypeAny, { userId: string; _id: string; name: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; stripeCustomerId: string; description: string | null; imageFileId: string | null; }, { userId: string; _id: string; name: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; stripeCustomerId: string; description: string | null; imageFileId: string | null; }>, "many">>; }, "strip", z.ZodTypeAny, { status: string; error?: { message: string; fields?: Record | undefined; } | undefined; organizations?: { userId: string; _id: string; name: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; stripeCustomerId: string; description: string | null; imageFileId: string | null; }[] | undefined; }, { status: string; error?: { message: string; fields?: Record | undefined; } | undefined; organizations?: { userId: string; _id: string; name: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; stripeCustomerId: string; description: string | null; imageFileId: string | null; }[] | undefined; }>; export type ListUserOrganizationsParams = z.infer; export type ListUserOrganizationsRequest = z.infer; export type ListUserOrganizationsResponse = z.infer; /** ****************************************************************************** * Super List Users ******************************************************************************* */ export declare const superListUsersParams: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; export declare const superListUsersRequest: z.ZodObject<{ auth: z.ZodObject<{ email: z.ZodOptional; userId: z.ZodOptional; organizationId: z.ZodOptional; token: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }, { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }>; params: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; }, "strip", z.ZodTypeAny, { params: {}; auth: { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }; }, { params: {}; auth: { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }; }>; export declare const superListUsersResponse: z.ZodObject<{ status: z.ZodEnum<[string, ...string[]]>; error: z.ZodOptional>; }, "strip", z.ZodTypeAny, { message: string; fields?: Record | undefined; }, { message: string; fields?: Record | undefined; }>>; users: z.ZodOptional; createdBy: z.ZodOptional; lastUpdatedAt: z.ZodOptional; lastUpdatedBy: z.ZodOptional; }, "strip", z.ZodTypeAny, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }, { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }>; }, "strip", z.ZodTypeAny, { email: string; organizationId: string; _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; firstName: string; lastName: string; passwordHash: string; }, { email: string; organizationId: string; _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; firstName: string; lastName: string; passwordHash: string; }>, "many">>; }, "strip", z.ZodTypeAny, { status: string; error?: { message: string; fields?: Record | undefined; } | undefined; users?: { email: string; organizationId: string; _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; firstName: string; lastName: string; passwordHash: string; }[] | undefined; }, { status: string; error?: { message: string; fields?: Record | undefined; } | undefined; users?: { email: string; organizationId: string; _id: string; meta: { createdAt?: number | undefined; createdBy?: string | undefined; lastUpdatedAt?: number | undefined; lastUpdatedBy?: string | undefined; }; firstName: string; lastName: string; passwordHash: string; }[] | undefined; }>; export type SuperListUsersParams = z.infer; export type SuperListUsersRequest = z.infer; export type SuperListUsersResponse = z.infer;