import * as z from 'zod/mini'; import * as Response from '../../../internal/Response.js'; import type { Environment } from '../App.js'; /** Zod schemas owned by the invitations resource. */ export declare namespace schema { /** One pending invitation. */ const Invitation: z.ZodMiniObject<{ createdAt: z.ZodMiniISODateTime; email: z.ZodMiniEmail; expiresAt: z.ZodMiniISODateTime; id: z.ZodMiniString; invitedBy: z.ZodMiniString; orgId: z.ZodMiniString; role: z.ZodMiniEnum<{ admin: "admin"; member: "member"; owner: "owner"; }>; }, z.core.$strip>; /** Path parameters addressing an organization's invitation collection. */ const Params: z.ZodMiniObject<{ orgId: z.ZodMiniString; }, z.core.$strip>; /** Path parameters addressing one org-scoped invitation. */ const InvitationParams: z.ZodMiniObject<{ invitationId: z.ZodMiniString; orgId: z.ZodMiniString; }, z.core.$strip>; /** Path parameters addressing one of the caller's invitations. */ const AcceptParams: z.ZodMiniObject<{ invitationId: z.ZodMiniString; }, z.core.$strip>; /** Request body creating an invitation. */ const CreateInvitationRequest: z.ZodMiniObject<{ email: z.ZodMiniEmail; role: z.ZodMiniEnum<{ admin: "admin"; member: "member"; owner: "owner"; }>; }, z.core.$strip>; /** Schemas for the listInvitations / listMyInvitations operations. */ namespace listInvitations { /** Non-paginated list of pending invitations. */ const Response: z.ZodMiniObject<{ data: z.ZodMiniArray; invitedBy: z.ZodMiniString; orgId: z.ZodMiniString; role: z.ZodMiniEnum<{ admin: "admin"; member: "member"; owner: "owner"; }>; }, z.core.$strip>>; }, z.core.$strip>; } /** Schemas for the listMyInvitations operation. */ namespace listMyInvitations { /** A pending invitation addressed to the caller, with the inviting org's name. */ const Item: z.ZodMiniObject<{ createdAt: z.ZodMiniISODateTime; email: z.ZodMiniEmail; expiresAt: z.ZodMiniISODateTime; id: z.ZodMiniString; invitedBy: z.ZodMiniString; orgId: z.ZodMiniString; role: z.ZodMiniEnum<{ admin: "admin"; member: "member"; owner: "owner"; }>; orgName: z.ZodMiniString; }, z.core.$strip>; /** Non-paginated list of the caller's pending invitations. */ const Response: z.ZodMiniObject<{ data: z.ZodMiniArray; invitedBy: z.ZodMiniString; orgId: z.ZodMiniString; role: z.ZodMiniEnum<{ admin: "admin"; member: "member"; owner: "owner"; }>; orgName: z.ZodMiniString; }, z.core.$strip>>; }, z.core.$strip>; } /** Schemas for the acceptInvitation operation. */ namespace acceptInvitation { /** The membership granted by accepting. */ const Response: z.ZodMiniObject<{ orgId: z.ZodMiniString; role: z.ZodMiniEnum<{ admin: "admin"; member: "member"; owner: "owner"; }>; userId: z.ZodMiniString; }, z.core.$strip>; } /** Schemas for the declineInvitation operation. */ namespace declineInvitation { /** Confirmation that the invitation was declined. */ const Response: z.ZodMiniObject<{ id: z.ZodMiniString; }, z.core.$strip>; } /** Schemas for the revokeInvitation operation. */ namespace revokeInvitation { /** Confirmation that the invitation was revoked. */ const Response: z.ZodMiniObject<{ id: z.ZodMiniString; }, z.core.$strip>; } } /** * Mounts the invitations surface: org-scoped management * (`/orgs/:orgId/invitations`) plus session-only invitee actions. Invitation * emails dispatch through the management group's sender, best-effort. */ export declare function invitations(): import("hono/hono-base").HonoBase; //# sourceMappingURL=invitations.d.ts.map