import z from 'zod'; export declare const organization: z.ZodObject<{ _id: z.ZodString; stripeCustomerId: z.ZodString; userId: z.ZodString; name: z.ZodString; imageFileId: z.ZodNullable; 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; }>; export type Organization = z.infer; export interface OrganizationService { create(request: CreateOrganizationRequest): Promise; edit(request: EditOrganizationRequest): Promise; get(request: GetOrganizationRequest): Promise; list(request: ListOrganizationsRequest): Promise; users(request: ListOrganizationUsersRequest): Promise; superList(request: SuperListOrganizationsRequest): Promise; superSetOwner(request: SuperSetOrganizationOwnerRequest): Promise; } /** ****************************************************************************** * Create Organization ******************************************************************************* */ export declare const createOrganizationParams: z.ZodObject<{ stripeCustomerId: z.ZodOptional; name: z.ZodString; imageFileId: z.ZodNullable; description: z.ZodNullable; }, "strip", z.ZodTypeAny, { name: string; description: string | null; imageFileId: string | null; stripeCustomerId?: string | undefined; }, { name: string; description: string | null; imageFileId: string | null; stripeCustomerId?: string | undefined; }>; export declare const createOrganizationRequest: 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<{ stripeCustomerId: z.ZodOptional; name: z.ZodString; imageFileId: z.ZodNullable; description: z.ZodNullable; }, "strip", z.ZodTypeAny, { name: string; description: string | null; imageFileId: string | null; stripeCustomerId?: string | undefined; }, { name: string; description: string | null; imageFileId: string | null; stripeCustomerId?: string | undefined; }>; }, "strip", z.ZodTypeAny, { params: { name: string; description: string | null; imageFileId: string | null; stripeCustomerId?: string | undefined; }; auth: { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }; }, { params: { name: string; description: string | null; imageFileId: string | null; stripeCustomerId?: string | undefined; }; auth: { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }; }>; export declare const createOrganizationResponse: z.ZodObject<{ status: z.ZodEnum<[string, ...string[]]>; error: z.ZodOptional>; }, "strip", z.ZodTypeAny, { message: string; fields?: Record | undefined; }, { message: string; fields?: Record | undefined; }>>; 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; }>>; }, "strip", z.ZodTypeAny, { status: string; error?: { message: string; fields?: Record | undefined; } | 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; }, { status: string; error?: { message: string; fields?: Record | undefined; } | 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; }>; export type CreateOrganizationParams = z.infer; export type CreateOrganizationRequest = z.infer; export type CreateOrganizationResponse = z.infer; /** ****************************************************************************** * Edit Organization ******************************************************************************* */ export declare const editOrganizationParams: z.ZodObject<{ _id: z.ZodString; name: z.ZodString; imageFileId: z.ZodNullable; description: z.ZodNullable; }, "strip", z.ZodTypeAny, { _id: string; name: string; description: string | null; imageFileId: string | null; }, { _id: string; name: string; description: string | null; imageFileId: string | null; }>; export declare const editOrganizationRequest: 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<{ _id: z.ZodString; name: z.ZodString; imageFileId: z.ZodNullable; description: z.ZodNullable; }, "strip", z.ZodTypeAny, { _id: string; name: string; description: string | null; imageFileId: string | null; }, { _id: string; name: string; description: string | null; imageFileId: string | null; }>; }, "strip", z.ZodTypeAny, { params: { _id: string; name: string; description: string | null; imageFileId: string | null; }; auth: { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }; }, { params: { _id: string; name: string; description: string | null; imageFileId: string | null; }; auth: { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }; }>; export declare const editOrganizationResponse: z.ZodObject<{ status: z.ZodEnum<[string, ...string[]]>; error: z.ZodOptional>; }, "strip", z.ZodTypeAny, { message: string; fields?: Record | undefined; }, { message: string; fields?: Record | undefined; }>>; 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; }>>; }, "strip", z.ZodTypeAny, { status: string; error?: { message: string; fields?: Record | undefined; } | 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; }, { status: string; error?: { message: string; fields?: Record | undefined; } | 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; }>; export type EditOrganizationParams = z.infer; export type EditOrganizationRequest = z.infer; export type EditOrganizationResponse = z.infer; /** ****************************************************************************** * Get Organization ******************************************************************************* */ export declare const getOrganizationParams: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; export declare const getOrganizationRequest: 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 getOrganizationResponse: z.ZodObject<{ status: z.ZodEnum<[string, ...string[]]>; error: z.ZodOptional>; }, "strip", z.ZodTypeAny, { message: string; fields?: Record | undefined; }, { message: string; fields?: Record | undefined; }>>; 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; }>>; }, "strip", z.ZodTypeAny, { status: string; error?: { message: string; fields?: Record | undefined; } | 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; }, { status: string; error?: { message: string; fields?: Record | undefined; } | 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; }>; export type GetOrganizationParams = z.infer; export type GetOrganizationRequest = z.infer; export type GetOrganizationResponse = z.infer; /** ****************************************************************************** * List Organizations ******************************************************************************* */ export declare const listOrganizationsParams: z.ZodObject<{ _ids: z.ZodArray; }, "strip", z.ZodTypeAny, { _ids: string[]; }, { _ids: string[]; }>; export declare const listOrganizationsRequest: 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 listOrganizationsResponse: 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 ListOrganizationsParams = z.infer; export type ListOrganizationsRequest = z.infer; export type ListOrganizationsResponse = z.infer; /** ****************************************************************************** * List Organization Users ******************************************************************************* */ export declare const listOrganizationUsersParams: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; export declare const listOrganizationUsersRequest: 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 listOrganizationUsersResponse: 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 ListOrganizationUsersParams = z.infer; export type ListOrganizationUsersRequest = z.infer; export type ListOrganizationUsersResponse = z.infer; /** ****************************************************************************** * Super List Organizations ******************************************************************************* */ export declare const superListOrganizationsParams: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; export declare const superListOrganizationsRequest: 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 superListOrganizationsResponse: 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 SuperListOrganizationsParams = z.infer; export type SuperListOrganizationsRequest = z.infer; export type SuperListOrganizationsResponse = z.infer; /** ****************************************************************************** * Super Set Organization Owner ******************************************************************************* */ export declare const superSetOrganizationOwnerParams: z.ZodObject<{ userId: z.ZodString; }, "strip", z.ZodTypeAny, { userId: string; }, { userId: string; }>; export declare const superSetOrganizationOwnerRequest: 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<{ userId: z.ZodString; }, "strip", z.ZodTypeAny, { userId: string; }, { userId: string; }>; }, "strip", z.ZodTypeAny, { params: { userId: string; }; auth: { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }; }, { params: { userId: string; }; auth: { email?: string | undefined; userId?: string | undefined; organizationId?: string | undefined; token?: string | undefined; }; }>; export declare const superSetOrganizationOwnerResponse: z.ZodObject<{ status: z.ZodEnum<[string, ...string[]]>; error: z.ZodOptional>; }, "strip", z.ZodTypeAny, { message: string; fields?: Record | undefined; }, { message: string; fields?: Record | undefined; }>>; 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; }>>; role: 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; }>>; }, "strip", z.ZodTypeAny, { status: string; error?: { message: string; fields?: Record | undefined; } | 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; role?: { 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; 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; role?: { 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 SuperSetOrganizationOwnerParams = z.infer; export type SuperSetOrganizationOwnerRequest = z.infer; export type SuperSetOrganizationOwnerResponse = z.infer;