refactor: add agent_id to various interfaces and improve field organization
This commit is contained in:
@@ -11,12 +11,20 @@ import type { AgentUpdateIdentityProfile } from "./agentUpdateIdentityProfile";
|
||||
* Payload for patching an existing agent.
|
||||
*/
|
||||
export interface AgentUpdate {
|
||||
/** Optional new board assignment. */
|
||||
board_id?: string | null;
|
||||
heartbeat_config?: AgentUpdateHeartbeatConfig;
|
||||
identity_profile?: AgentUpdateIdentityProfile;
|
||||
identity_template?: string | null;
|
||||
/** Whether this agent is treated as the board gateway main. */
|
||||
is_gateway_main?: boolean | null;
|
||||
/** Optional replacement display name. */
|
||||
name?: string | null;
|
||||
soul_template?: string | null;
|
||||
/** Optional replacement lifecycle status. */
|
||||
status?: string | null;
|
||||
/** Optional heartbeat policy override. */
|
||||
heartbeat_config?: AgentUpdateHeartbeatConfig;
|
||||
/** Optional identity profile update values. */
|
||||
identity_profile?: AgentUpdateIdentityProfile;
|
||||
/** Optional replacement identity template. */
|
||||
identity_template?: string | null;
|
||||
/** Optional replacement soul template. */
|
||||
soul_template?: string | null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user