The wire-method surface this module needs from the typed throwing RPC
client. Every method returns the unwrapped value or throws an Error
carrying the JSON-RPC {code, message, data?} shape — i.e. the
ThrowingApi<...> view of the corresponding action specs.
Consumers pass the typed throwing Proxy returned by
create_frontend_rpc_client directly. Structural typing means any
superset (e.g. the consumer's full ThrowingApi<ActionsApi>) is
assignable as long as these methods are present at these signatures.
admin_account_list
type (input?: { acting?: Branded<string, "Uuid"> | undefined; limit?: number | null | undefined; offset?: number | null | undefined; include_deleted?: boolean | null | undefined; } | undefined): Promise<...>
account_delete
type (input: { account_id?: Branded<string, "Uuid"> | null | undefined; acting?: Branded<string, "Uuid"> | undefined; }): Promise<{ ok: true; deleted: boolean; }>
account_undelete
type (input: { account_id: Branded<string, "Uuid">; acting?: Branded<string, "Uuid"> | undefined; }): Promise<{ ok: true; undeleted: boolean; }>
admin_session_list
type (input?: { acting?: Branded<string, "Uuid"> | undefined; } | undefined): Promise<{ sessions: { username: string; id: Branded<string, "SessionId">; account_id: Branded<string, "Uuid">; created_at: string; expires_at: string; }[]; }>
admin_session_revoke_all
type (input: { account_id: Branded<string, "Uuid">; acting?: Branded<string, "Uuid"> | undefined; }): Promise<{ ok: true; count: number; }>
admin_token_revoke_all
type (input: { account_id: Branded<string, "Uuid">; acting?: Branded<string, "Uuid"> | undefined; }): Promise<{ ok: true; count: number; }>
audit_log_list
type (input?: { event_type?: string | null | undefined; outcome?: "success" | "failure" | null | undefined; account_id?: Branded<string, "Uuid"> | null | undefined; limit?: number | null | undefined; offset?: number | ... 1 more ... | undefined; since_seq?: number | ... 1 more ... | undefined; acting?: Branded<...> | undefined; } | undefined): Promise<...>
audit_log_role_grant_history
type (input?: { limit?: number | null | undefined; offset?: number | null | undefined; acting?: Branded<string, "Uuid"> | undefined; } | undefined): Promise<{ events: { username: string | null; ... 11 more ...; metadata: Record<...> | null; }[]; }>
invite_list
type (input?: { acting?: Branded<string, "Uuid"> | undefined; } | undefined): Promise<{ invites: { created_by_username: string | null; claimed_by_username: string | null; id: Branded<string, "Uuid">; ... 5 more ...; created_by: Branded<...> | null; }[]; }>
invite_create
type (input: { email?: string | null | undefined; username?: string | null | undefined; acting?: Branded<string, "Uuid"> | undefined; }): Promise<{ ok: true; invite: { id: Branded<string, "Uuid">; ... 5 more ...; created_by: Branded<...> | null; }; }>
invite_delete
type (input: { invite_id: Branded<string, "Uuid">; acting?: Branded<string, "Uuid"> | undefined; }): Promise<{ ok: true; }>
app_settings_get
type (input?: { acting?: Branded<string, "Uuid"> | undefined; } | undefined): Promise<{ settings: { updated_by_username: string | null; open_signup: boolean; updated_at: string | null; updated_by: Branded<...> | null; }; }>
app_settings_update
type (input: { open_signup: boolean; acting?: Branded<string, "Uuid"> | undefined; }): Promise<{ ok: true; settings: { updated_by_username: string | null; open_signup: boolean; updated_at: string | null; updated_by: Branded<...> | null; }; }>
role_grant_offer_create
type (input: { to_account_id: Branded<string, "Uuid">; role: string; to_actor_id?: Branded<string, "Uuid"> | null | undefined; scope_kind?: string | null | undefined; scope_id?: Branded<...> | ... 1 more ... | undefined; message?: string | ... 1 more ... | undefined; acting?: Branded<...> | undefined; }): Promise<...>
role_grant_offer_retract
type (input: { offer_id: Branded<string, "Uuid">; acting?: Branded<string, "Uuid"> | undefined; }): Promise<{ offer: { id: Branded<string, "Uuid">; from_actor_id: Branded<...>; ... 13 more ...; resulting_role_grant_id: Branded<...> | null; }; }>
role_grant_revoke
type (input: { actor_id: Branded<string, "Uuid">; role_grant_id: Branded<string, "Uuid">; reason?: string | null | undefined; acting?: Branded<string, "Uuid"> | undefined; }): Promise<...>