authed Caller for the user-scoped invite endpoints.
auth-less Caller for the public, pre-auth signup-flow
endpoint (checkPending). Defaults to call so
existing tests construct with a single caller.
Accept an invite; returns the organization the caller just joined.
Optionalopts: RequestOptionsCancel (revoke) a pending invite.
Optionalopts: RequestOptionsCheck a user's pending invites by email — the PUBLIC, pre-auth
signup-flow endpoint (GET /organization-invites/check/{email}). Unlike
listForUser (post-auth, user-scoped), this runs on the auth-less
pipeline so it can be called before the invitee has signed in. Returns
PENDING, non-expired, organization-name-enriched invites (the backend's
redundant total is dropped — use .length).
Optionalopts: RequestOptionsInvite a user to an organization.
Optionalopts: RequestOptionsDecline an invite addressed to the caller.
Optionalopts: RequestOptionsList an organization's invites, optionally filtered by ?status=.
Optionalopts: RequestOptionsList a user's invites, optionally filtered by ?status=.
Optionalopts: RequestOptions
Organization invite lifecycle: create, list, accept, decline, cancel.