/** * Generated by orval v8.5.3 🍺 * Do not edit manually. * Space Invoices API * REST API for invoice management, customer management, and accounting operations. Features include cursor-based pagination for efficient data navigation, flexible JSON querying with MongoDB-style operators, full-text search across multiple fields, and comprehensive metadata support for custom tracking. * OpenAPI spec version: 1.0.0 */ import * as zod from "zod"; /** * Retrieve all users who have access to the current entity, including their roles. * @summary List entity users */ export declare const GetEntityUsersHeader: zod.ZodObject<{ "x-entity-id": zod.ZodOptional; }, zod.z.core.$strip>; export declare const GetEntityUsersResponse: zod.ZodObject<{ data: zod.ZodArray; email: zod.ZodString; name: zod.ZodNullable; invited_by_user_id: zod.ZodNullable; created_at: zod.z.ZodISODateTime; }, zod.z.core.$strip>>; }, zod.z.core.$strip>; /** * Add an existing user to the entity or send an invitation to a new user. If the user exists, they are immediately granted access. If not, an invitation email is sent. * @summary Add user to entity */ export declare const AddEntityUserHeader: zod.ZodObject<{ "x-entity-id": zod.ZodOptional; }, zod.z.core.$strip>; export declare const addEntityUserBodyRoleDefault = "editor"; export declare const addEntityUserBodySendInviteDefault = true; export declare const AddEntityUserBody: zod.ZodObject<{ email: zod.ZodEmail; role: zod.ZodDefault>; send_invite: zod.ZodDefault; }, zod.z.core.$strip>; /** * Update a user's role on the entity. Roles: viewer (read-only), editor (read+write), admin (full access). * @summary Update user role */ export declare const updateEntityUserRolePathUserIdRegExp: RegExp; export declare const UpdateEntityUserRoleParams: zod.ZodObject<{ user_id: zod.ZodCustomStringFormat<"resource-id">; }, zod.z.core.$strip>; export declare const UpdateEntityUserRoleHeader: zod.ZodObject<{ "x-entity-id": zod.ZodOptional; }, zod.z.core.$strip>; export declare const UpdateEntityUserRoleBody: zod.ZodObject<{ role: zod.ZodEnum<{ viewer: "viewer"; editor: "editor"; admin: "admin"; }>; }, zod.z.core.$strip>; export declare const UpdateEntityUserRoleResponse: zod.ZodObject<{ user_id: zod.ZodString; entity_id: zod.ZodString; role: zod.ZodEnum<{ viewer: "viewer"; editor: "editor"; admin: "admin"; }>; email: zod.ZodString; name: zod.ZodNullable; invited_by_user_id: zod.ZodNullable; created_at: zod.z.ZodISODateTime; }, zod.z.core.$strip>; /** * Remove a user's access to the entity. This does not delete the user account. * @summary Remove user from entity */ export declare const removeEntityUserPathUserIdRegExp: RegExp; export declare const RemoveEntityUserParams: zod.ZodObject<{ user_id: zod.ZodCustomStringFormat<"resource-id">; }, zod.z.core.$strip>; export declare const RemoveEntityUserHeader: zod.ZodObject<{ "x-entity-id": zod.ZodOptional; }, zod.z.core.$strip>; export declare const RemoveEntityUserResponse: zod.ZodObject<{ message: zod.ZodString; }, zod.z.core.$strip>; /** * Generate an access token for a WL user to enable SSO-like redirect. This allows account admins to redirect users to the web app without requiring them to login. * @summary Generate user access token */ export declare const generateEntityUserTokenPathUserIdRegExp: RegExp; export declare const GenerateEntityUserTokenParams: zod.ZodObject<{ user_id: zod.ZodCustomStringFormat<"resource-id">; }, zod.z.core.$strip>; export declare const GenerateEntityUserTokenHeader: zod.ZodObject<{ "x-entity-id": zod.ZodOptional; }, zod.z.core.$strip>; export declare const generateEntityUserTokenResponseOneIdMax = 100; export declare const generateEntityUserTokenResponseOneUserIdMax = 36; export declare const generateEntityUserTokenResponseOneTtlDefault = 31536000; export declare const generateEntityUserTokenResponseOneScopeMax = 50; export declare const generateEntityUserTokenResponseOneImpersonatorUserIdMax = 36; export declare const GenerateEntityUserTokenResponse: zod.ZodIntersection; scope: zod.ZodOptional>; created_at: zod.z.ZodISODateTime; impersonator_user_id: zod.ZodOptional>; updated_at: zod.z.ZodISODateTime; }, zod.z.core.$strip>, zod.ZodObject<{ entity_id: zod.ZodString; }, zod.z.core.$strip>>; //# sourceMappingURL=entity-users.d.ts.map