(body: { email: string; name?: string })
| 111 | // verified owned domain, or an email on the shared domain. slug/agent_mode/ |
| 112 | // webhook_url are gone. Returns the full AgentView. |
| 113 | createAgent(body: { email: string; name?: string }): Promise<AgentView> { |
| 114 | return this.sdk.agents.create(body); |
| 115 | } |
| 116 | |
| 117 | // Consume the generated UpdateAgentRequest directly (no hand-declared |
| 118 | // duplicate, no cast): a field removed/renamed at the API layer is a compile |
no test coverage detected