toip.tools

interface · Browser and Node

ApprovalRequestPayload

@toip-tools/mandatesView source
TypeScriptImport
import { type ApprovalRequestPayload } from "@toip-tools/mandates";

Declaration

TypeScriptinterface
interface ApprovalRequestPayload {
  request: string;
  action: Action;
  actionHash: string;
  chain: Mandate[];
  decision: Decision;
  /** The delegate's words (a model's, for an agent). Show them as such. */
  justification?: string;
  expiresAt: string;
}

Properties

requestrequired
string
actionrequired
Action
actionHashrequired
string
chainrequired
Mandate[]
decisionrequired
Decision
justificationoptional
string | undefined

The delegate's words (a model's, for an agent). Show them as such.

expiresAtrequired
string