/** * 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 invitations for the current entity, including pending, accepted, and expired. * @summary List entity invitations */ export declare const ListEntityInvitationsHeader: zod.ZodObject<{ "x-entity-id": zod.ZodOptional; }, zod.z.core.$strip>; export declare const ListEntityInvitationsResponse: zod.ZodObject<{ data: zod.ZodArray; invited_by_user_id: zod.ZodString; expires_at: zod.z.ZodISODateTime; accepted_at: zod.ZodNullable; status: zod.ZodEnum<{ pending: "pending"; accepted: "accepted"; expired: "expired"; }>; created_at: zod.z.ZodISODateTime; }, zod.z.core.$strip>>; }, zod.z.core.$strip>; /** * Retrieve details of a specific invitation. * @summary Get entity invitation */ export declare const getEntityInvitationPathIdRegExp: RegExp; export declare const GetEntityInvitationParams: zod.ZodObject<{ id: zod.ZodCustomStringFormat<"resource-id">; }, zod.z.core.$strip>; export declare const GetEntityInvitationHeader: zod.ZodObject<{ "x-entity-id": zod.ZodOptional; }, zod.z.core.$strip>; export declare const GetEntityInvitationResponse: zod.ZodObject<{ id: zod.ZodString; entity_id: zod.ZodString; email: zod.ZodString; role: zod.ZodEnum<{ viewer: "viewer"; editor: "editor"; admin: "admin"; }>; invited_by_user_id: zod.ZodString; expires_at: zod.z.ZodISODateTime; accepted_at: zod.ZodNullable; status: zod.ZodEnum<{ pending: "pending"; accepted: "accepted"; expired: "expired"; }>; created_at: zod.z.ZodISODateTime; }, zod.z.core.$strip>; /** * Cancel a pending invitation. Cannot cancel already accepted invitations. * @summary Cancel invitation */ export declare const cancelEntityInvitationPathIdRegExp: RegExp; export declare const CancelEntityInvitationParams: zod.ZodObject<{ id: zod.ZodCustomStringFormat<"resource-id">; }, zod.z.core.$strip>; export declare const CancelEntityInvitationHeader: zod.ZodObject<{ "x-entity-id": zod.ZodOptional; }, zod.z.core.$strip>; export declare const CancelEntityInvitationResponse: zod.ZodObject<{ message: zod.ZodString; }, zod.z.core.$strip>; /** * Resend an invitation email with a new token and extended expiry. * @summary Resend invitation */ export declare const resendEntityInvitationPathIdRegExp: RegExp; export declare const ResendEntityInvitationParams: zod.ZodObject<{ id: zod.ZodCustomStringFormat<"resource-id">; }, zod.z.core.$strip>; export declare const ResendEntityInvitationHeader: zod.ZodObject<{ "x-entity-id": zod.ZodOptional; }, zod.z.core.$strip>; export declare const ResendEntityInvitationResponse: zod.ZodObject<{ message: zod.ZodString; expires_at: zod.z.ZodISODateTime; }, zod.z.core.$strip>; /** * Accept an entity invitation by providing user details. Creates a new user account and grants entity access. Returns an access token for immediate use. * @summary Accept invitation */ export declare const AcceptEntityInvitationQueryParams: zod.ZodObject<{ token: zod.ZodString; }, zod.z.core.$strip>; export declare const acceptEntityInvitationBodyNameMax = 255; export declare const acceptEntityInvitationBodyPasswordMin = 8; export declare const AcceptEntityInvitationBody: zod.ZodObject<{ name: zod.ZodString; password: zod.ZodString; }, zod.z.core.$strip>; export declare const AcceptEntityInvitationResponse: zod.ZodObject<{ message: zod.ZodString; user_id: zod.ZodString; entity_id: zod.ZodString; access_token: zod.ZodString; }, zod.z.core.$strip>; //# sourceMappingURL=entity-invitations.d.ts.map