TypeAlias.ApprovedIntent
type ApprovedIntent = {
amountNative: string;
amountRef: string;
approvedAmountRef?: string | null;
asset: string;
consumedAt?: string | null;
createdAt: string;
currentAmountRef?: string | null;
decidedAt?: string | null;
decidedBy?: string | null;
events: {
amountRef: string;
at: string;
kind: | "expired"
| "consumed"
| "created"
| "human_approved"
| "human_declined"
| "agent_abandoned"
| "revalidated"
| "revalidation_required"
| "settlement_failed";
}[];
expiresAt?: string | null;
hash: string;
id: string;
kind: string;
missionRun: | {
id: string;
kind: "trial" | "regular";
missionId: string;
missionTitle: string;
}
| null;
recipient: string;
resource?: string | null;
standingApproval: "granted" | "ignored_superseded" | null;
state: | "failed"
| "expired"
| "declined"
| "abandoned"
| "approved"
| "consumed"
| "pending_human_approval";
updatedAt: string;
};
What became of « authorize every next time » on an approval.