ProposeAuthorityGrantChangeInput = {Defined in: typescript/src/models/authority-grant.ts:85 What proposeAuthorityGrantChange() sends.action:"grant";callerId:string;capability:string;limits?:AuthorityGrantLimits;validFrom?:string;validUntil:string;reason:string; } | {action:"revoke";callerId:string;capability:string;reason:string; }
Union Members
Type Literal
{action: "grant"; callerId: string; capability: string; limits?: AuthorityGrantLimits; validFrom?: string; validUntil: string; reason: string; }
action
readonlyaction:"grant"
callerId
The callerId of the agent’s API key. Not your own.readonlycallerId:string
capability
namespace:verb.readonlycapability:string
limits?
readonlyoptionallimits?:AuthorityGrantLimits
validFrom?
ISO 8601. Defaults to the approval time.readonlyoptionalvalidFrom?:string
validUntil
ISO 8601, in the future, at most 366 days after validFrom.readonlyvalidUntil:string
reason
readonlyreason:string
Type Literal
{action: "revoke"; callerId: string; capability: string; reason: string; }