import * as $dara from '@darabonba/typescript'; import OpenApi from '@alicloud/openapi-core'; import { $OpenApiUtil } from '@alicloud/openapi-core'; import * as $_model from './models/model'; export * from './models/model'; export default class Client extends OpenApi { constructor(config: $OpenApiUtil.Config); getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: { [key: string]: string; }, endpoint: string): string; /** * Activates the `MCP service` for a `sandbox` `template`. This enables a client to access the `sandbox` using the MCP protocol. * * @remarks * After activation, the platform automatically deploys the `MCP service` `function` for the specified `sandbox` `template`. The `MCP service` ensures a unique mapping between an `mcp-session-id` and a `SandboxID`. When an MCP `client` invokes a `tool`, the `MCP service` automatically creates a `sandbox`. * * @param request - ActivateTemplateMCPRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns ActivateTemplateMCPResponse */ activateTemplateMCPWithOptions(templateName: string, request: $_model.ActivateTemplateMCPRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.ActivateTemplateMCPResponse>; /** * Activates the `MCP service` for a `sandbox` `template`. This enables a client to access the `sandbox` using the MCP protocol. * * @remarks * After activation, the platform automatically deploys the `MCP service` `function` for the specified `sandbox` `template`. The `MCP service` ensures a unique mapping between an `mcp-session-id` and a `SandboxID`. When an MCP `client` invokes a `tool`, the `MCP service` automatically creates a `sandbox`. * * @param request - ActivateTemplateMCPRequest * @returns ActivateTemplateMCPResponse */ activateTemplateMCP(templateName: string, request: $_model.ActivateTemplateMCPRequest): Promise<$_model.ActivateTemplateMCPResponse>; /** * Converts a Flow DSL. * * @remarks * This operation converts a third-party workflow DSL, such as Dify or n8n, into an AgentRun Flow definition. It performs compatibility checks, identifies plugins, and extracts metadata. The operation runs in dry-run mode, returning the converted Flow configuration, a compatibility analysis report, and the required Toolset installation configuration without creating a Flow resource. * * @param request - ConvertFlowDSLRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns ConvertFlowDSLResponse */ convertFlowDSLWithOptions(request: $_model.ConvertFlowDSLRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.ConvertFlowDSLResponse>; /** * Converts a Flow DSL. * * @remarks * This operation converts a third-party workflow DSL, such as Dify or n8n, into an AgentRun Flow definition. It performs compatibility checks, identifies plugins, and extracts metadata. The operation runs in dry-run mode, returning the converted Flow configuration, a compatibility analysis report, and the required Toolset installation configuration without creating a Flow resource. * * @param request - ConvertFlowDSLRequest * @returns ConvertFlowDSLResponse */ convertFlowDSL(request: $_model.ConvertFlowDSLRequest): Promise<$_model.ConvertFlowDSLResponse>; /** * Creates an agent runtime. * * @remarks * 创建一个新的智能体运行时实例,用于执行AI代理任务。智能体运行时是AgentRun服务的核心组件,提供代码执行、浏览器操作、内存管理等能力。 * * @param request - CreateAgentRuntimeRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns CreateAgentRuntimeResponse */ createAgentRuntimeWithOptions(request: $_model.CreateAgentRuntimeRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.CreateAgentRuntimeResponse>; /** * Creates an agent runtime. * * @remarks * 创建一个新的智能体运行时实例,用于执行AI代理任务。智能体运行时是AgentRun服务的核心组件,提供代码执行、浏览器操作、内存管理等能力。 * * @param request - CreateAgentRuntimeRequest * @returns CreateAgentRuntimeResponse */ createAgentRuntime(request: $_model.CreateAgentRuntimeRequest): Promise<$_model.CreateAgentRuntimeResponse>; /** * Create an access endpoint for an agent runtime * * @remarks * Creates a new endpoint for the specified agent runtime, used for external access and invocation. An endpoint serves as the entry point through which an agent runtime provides services externally. * * @param request - CreateAgentRuntimeEndpointRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns CreateAgentRuntimeEndpointResponse */ createAgentRuntimeEndpointWithOptions(agentRuntimeId: string, request: $_model.CreateAgentRuntimeEndpointRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.CreateAgentRuntimeEndpointResponse>; /** * Create an access endpoint for an agent runtime * * @remarks * Creates a new endpoint for the specified agent runtime, used for external access and invocation. An endpoint serves as the entry point through which an agent runtime provides services externally. * * @param request - CreateAgentRuntimeEndpointRequest * @returns CreateAgentRuntimeEndpointResponse */ createAgentRuntimeEndpoint(agentRuntimeId: string, request: $_model.CreateAgentRuntimeEndpointRequest): Promise<$_model.CreateAgentRuntimeEndpointResponse>; /** * Create Browser Sandbox * * @remarks * Create a new browser instance for executing web automation tasks. The browser instance provides features such as web browsing, element manipulation, and screenshot recording. * * @param request - CreateBrowserRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns CreateBrowserResponse */ createBrowserWithOptions(request: $_model.CreateBrowserRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.CreateBrowserResponse>; /** * Create Browser Sandbox * * @remarks * Create a new browser instance for executing web automation tasks. The browser instance provides features such as web browsing, element manipulation, and screenshot recording. * * @param request - CreateBrowserRequest * @returns CreateBrowserResponse */ createBrowser(request: $_model.CreateBrowserRequest): Promise<$_model.CreateBrowserResponse>; /** * Creates a code interpreter. * * @remarks * 创建一个新的代码解释器实例,用于执行代码解释和运行任务。代码解释器提供Python代码执行、数据处理、机器学习等功能。 * * @param request - CreateCodeInterpreterRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns CreateCodeInterpreterResponse */ createCodeInterpreterWithOptions(request: $_model.CreateCodeInterpreterRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.CreateCodeInterpreterResponse>; /** * Creates a code interpreter. * * @remarks * 创建一个新的代码解释器实例,用于执行代码解释和运行任务。代码解释器提供Python代码执行、数据处理、机器学习等功能。 * * @param request - CreateCodeInterpreterRequest * @returns CreateCodeInterpreterResponse */ createCodeInterpreter(request: $_model.CreateCodeInterpreterRequest): Promise<$_model.CreateCodeInterpreterResponse>; /** * Creates a new credential. * * @remarks * This operation creates a credential for an agent. * * @param request - CreateCredentialRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns CreateCredentialResponse */ createCredentialWithOptions(request: $_model.CreateCredentialRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.CreateCredentialResponse>; /** * Creates a new credential. * * @remarks * This operation creates a credential for an agent. * * @param request - CreateCredentialRequest * @returns CreateCredentialResponse */ createCredential(request: $_model.CreateCredentialRequest): Promise<$_model.CreateCredentialResponse>; /** * Creates a custom domain. * * @param request - CreateCustomDomainRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns CreateCustomDomainResponse */ createCustomDomainWithOptions(request: $_model.CreateCustomDomainRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.CreateCustomDomainResponse>; /** * Creates a custom domain. * * @param request - CreateCustomDomainRequest * @returns CreateCustomDomainResponse */ createCustomDomain(request: $_model.CreateCustomDomainRequest): Promise<$_model.CreateCustomDomainResponse>; /** * Creates a workflow. * * @remarks * Creates a flow orchestration agent. Flow orchestration is a core component of the AgentRun service that supports visual orchestration and version management. * * @param request - CreateFlowRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns CreateFlowResponse */ createFlowWithOptions(request: $_model.CreateFlowRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.CreateFlowResponse>; /** * Creates a workflow. * * @remarks * Creates a flow orchestration agent. Flow orchestration is a core component of the AgentRun service that supports visual orchestration and version management. * * @param request - CreateFlowRequest * @returns CreateFlowResponse */ createFlow(request: $_model.CreateFlowRequest): Promise<$_model.CreateFlowResponse>; /** * Creates a flow endpoint. * * @remarks * 为指定工作流创建一个新的端点,用于对外提供服务访问。 * * @param request - CreateFlowEndpointRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns CreateFlowEndpointResponse */ createFlowEndpointWithOptions(flowName: string, request: $_model.CreateFlowEndpointRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.CreateFlowEndpointResponse>; /** * Creates a flow endpoint. * * @remarks * 为指定工作流创建一个新的端点,用于对外提供服务访问。 * * @param request - CreateFlowEndpointRequest * @returns CreateFlowEndpointResponse */ createFlowEndpoint(flowName: string, request: $_model.CreateFlowEndpointRequest): Promise<$_model.CreateFlowEndpointResponse>; /** * Creates an IM Bot. * * @remarks * A successful request returns an HTTP 201 status code. Once created, an IM Bot\\"s status is always `running`. The response is in a standard format, and its `data` field contains an `IMBotInfo` object. * * @param request - CreateIMBotRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns CreateIMBotResponse */ createIMBotWithOptions(request: $_model.CreateIMBotRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.CreateIMBotResponse>; /** * Creates an IM Bot. * * @remarks * A successful request returns an HTTP 201 status code. Once created, an IM Bot\\"s status is always `running`. The response is in a standard format, and its `data` field contains an `IMBotInfo` object. * * @param request - CreateIMBotRequest * @returns CreateIMBotResponse */ createIMBot(request: $_model.CreateIMBotRequest): Promise<$_model.CreateIMBotResponse>; /** * Creates a knowledge base. * * @param request - CreateKnowledgeBaseRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns CreateKnowledgeBaseResponse */ createKnowledgeBaseWithOptions(request: $_model.CreateKnowledgeBaseRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.CreateKnowledgeBaseResponse>; /** * Creates a knowledge base. * * @param request - CreateKnowledgeBaseRequest * @returns CreateKnowledgeBaseResponse */ createKnowledgeBase(request: $_model.CreateKnowledgeBaseRequest): Promise<$_model.CreateKnowledgeBaseResponse>; /** * Creates a memory collection. * * @param request - CreateMemoryCollectionRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns CreateMemoryCollectionResponse */ createMemoryCollectionWithOptions(request: $_model.CreateMemoryCollectionRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.CreateMemoryCollectionResponse>; /** * Creates a memory collection. * * @param request - CreateMemoryCollectionRequest * @returns CreateMemoryCollectionResponse */ createMemoryCollection(request: $_model.CreateMemoryCollectionRequest): Promise<$_model.CreateMemoryCollectionResponse>; /** * Creates a Model Proxy. * * @remarks * This operation creates a Model Proxy based on the specified configuration. * * @param request - CreateModelProxyRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns CreateModelProxyResponse */ createModelProxyWithOptions(request: $_model.CreateModelProxyRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.CreateModelProxyResponse>; /** * Creates a Model Proxy. * * @remarks * This operation creates a Model Proxy based on the specified configuration. * * @param request - CreateModelProxyRequest * @returns CreateModelProxyResponse */ createModelProxy(request: $_model.CreateModelProxyRequest): Promise<$_model.CreateModelProxyResponse>; /** * Creates a model service. * * @remarks * This operation creates a model service, such as a code interpreter, based on the specified configuration. * * @param request - CreateModelServiceRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns CreateModelServiceResponse */ createModelServiceWithOptions(request: $_model.CreateModelServiceRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.CreateModelServiceResponse>; /** * Creates a model service. * * @remarks * This operation creates a model service, such as a code interpreter, based on the specified configuration. * * @param request - CreateModelServiceRequest * @returns CreateModelServiceResponse */ createModelService(request: $_model.CreateModelServiceRequest): Promise<$_model.CreateModelServiceResponse>; /** * Creates a sandbox. * * @remarks * Creates a new sandbox instance from a specified template. A sandbox provides an isolated execution environment to run code or launch a browser. * * @param request - CreateSandboxRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns CreateSandboxResponse */ createSandboxWithOptions(request: $_model.CreateSandboxRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.CreateSandboxResponse>; /** * Creates a sandbox. * * @remarks * Creates a new sandbox instance from a specified template. A sandbox provides an isolated execution environment to run code or launch a browser. * * @param request - CreateSandboxRequest * @returns CreateSandboxResponse */ createSandbox(request: $_model.CreateSandboxRequest): Promise<$_model.CreateSandboxResponse>; /** * Creates a template. * * @remarks * Creates a template for launching sandboxes. A template defines the runtime environment, resource configuration, and other settings for a sandbox. * * @param request - CreateTemplateRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns CreateTemplateResponse */ createTemplateWithOptions(request: $_model.CreateTemplateRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.CreateTemplateResponse>; /** * Creates a template. * * @remarks * Creates a template for launching sandboxes. A template defines the runtime environment, resource configuration, and other settings for a sandbox. * * @param request - CreateTemplateRequest * @returns CreateTemplateResponse */ createTemplate(request: $_model.CreateTemplateRequest): Promise<$_model.CreateTemplateResponse>; /** * Creates a tool. * * @remarks * This operation creates various types of tools, such as MCP, function call, and skill. An Agent can then call a tool to extend its capabilities. * * @param request - CreateToolRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns CreateToolResponse */ createToolWithOptions(request: $_model.CreateToolRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.CreateToolResponse>; /** * Creates a tool. * * @remarks * This operation creates various types of tools, such as MCP, function call, and skill. An Agent can then call a tool to extend its capabilities. * * @param request - CreateToolRequest * @returns CreateToolResponse */ createTool(request: $_model.CreateToolRequest): Promise<$_model.CreateToolResponse>; /** * Creates a workspace. * * @remarks * Creates a workspace. * * @param request - CreateWorkspaceRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns CreateWorkspaceResponse */ createWorkspaceWithOptions(request: $_model.CreateWorkspaceRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.CreateWorkspaceResponse>; /** * Creates a workspace. * * @remarks * Creates a workspace. * * @param request - CreateWorkspaceRequest * @returns CreateWorkspaceResponse */ createWorkspace(request: $_model.CreateWorkspaceRequest): Promise<$_model.CreateWorkspaceResponse>; /** * Delete Agent Runtime * * @remarks * Deletes a specified agent runtime instance, including all associated resources and data. This operation is irreversible. Proceed with caution. * * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteAgentRuntimeResponse */ deleteAgentRuntimeWithOptions(agentRuntimeId: string, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteAgentRuntimeResponse>; /** * Delete Agent Runtime * * @remarks * Deletes a specified agent runtime instance, including all associated resources and data. This operation is irreversible. Proceed with caution. * @returns DeleteAgentRuntimeResponse */ deleteAgentRuntime(agentRuntimeId: string): Promise<$_model.DeleteAgentRuntimeResponse>; /** * Delete Agent Runtime Endpoint * * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteAgentRuntimeEndpointResponse */ deleteAgentRuntimeEndpointWithOptions(agentRuntimeId: string, agentRuntimeEndpointId: string, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteAgentRuntimeEndpointResponse>; /** * Delete Agent Runtime Endpoint * @returns DeleteAgentRuntimeEndpointResponse */ deleteAgentRuntimeEndpoint(agentRuntimeId: string, agentRuntimeEndpointId: string): Promise<$_model.DeleteAgentRuntimeEndpointResponse>; /** * Delete Browser Sandbox * * @remarks * Delete the specified browser instance, including all its associated resources and data. The deletion is irreversible. Please proceed with caution. * * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteBrowserResponse */ deleteBrowserWithOptions(browserId: string, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteBrowserResponse>; /** * Delete Browser Sandbox * * @remarks * Delete the specified browser instance, including all its associated resources and data. The deletion is irreversible. Please proceed with caution. * @returns DeleteBrowserResponse */ deleteBrowser(browserId: string): Promise<$_model.DeleteBrowserResponse>; /** * Delete Code Interpreter * * @remarks * Delete a specified code interpreter instance, including all its associated resources and data. This operation is irreversible. Please proceed with caution. * * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteCodeInterpreterResponse */ deleteCodeInterpreterWithOptions(codeInterpreterId: string, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteCodeInterpreterResponse>; /** * Delete Code Interpreter * * @remarks * Delete a specified code interpreter instance, including all its associated resources and data. This operation is irreversible. Please proceed with caution. * @returns DeleteCodeInterpreterResponse */ deleteCodeInterpreter(codeInterpreterId: string): Promise<$_model.DeleteCodeInterpreterResponse>; /** * Deletes the specified credential. * * @remarks * This operation deletes the specified credential. This action cannot be undone. * * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteCredentialResponse */ deleteCredentialWithOptions(credentialName: string, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteCredentialResponse>; /** * Deletes the specified credential. * * @remarks * This operation deletes the specified credential. This action cannot be undone. * @returns DeleteCredentialResponse */ deleteCredential(credentialName: string): Promise<$_model.DeleteCredentialResponse>; /** * Deletes a custom domain. * * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteCustomDomainResponse */ deleteCustomDomainWithOptions(domainName: string, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteCustomDomainResponse>; /** * Deletes a custom domain. * @returns DeleteCustomDomainResponse */ deleteCustomDomain(domainName: string): Promise<$_model.DeleteCustomDomainResponse>; /** * Deletes a flow. * * @remarks * Deletes a specified flow instance, along with all its related resources and data. This operation is irreversible and cannot be undone. Use with caution. * * @param request - DeleteFlowRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteFlowResponse */ deleteFlowWithOptions(flowName: string, request: $_model.DeleteFlowRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteFlowResponse>; /** * Deletes a flow. * * @remarks * Deletes a specified flow instance, along with all its related resources and data. This operation is irreversible and cannot be undone. Use with caution. * * @param request - DeleteFlowRequest * @returns DeleteFlowResponse */ deleteFlow(flowName: string, request: $_model.DeleteFlowRequest): Promise<$_model.DeleteFlowResponse>; /** * Deletes a flow endpoint. * * @remarks * Deletes the specified flow endpoint. This operation is irreversible. Proceed with caution. * * @param request - DeleteFlowEndpointRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteFlowEndpointResponse */ deleteFlowEndpointWithOptions(flowName: string, flowEndpointName: string, request: $_model.DeleteFlowEndpointRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteFlowEndpointResponse>; /** * Deletes a flow endpoint. * * @remarks * Deletes the specified flow endpoint. This operation is irreversible. Proceed with caution. * * @param request - DeleteFlowEndpointRequest * @returns DeleteFlowEndpointResponse */ deleteFlowEndpoint(flowName: string, flowEndpointName: string, request: $_model.DeleteFlowEndpointRequest): Promise<$_model.DeleteFlowEndpointResponse>; /** * Deletes a workflow version. * * @remarks * Deletes a specified version of a workflow. This operation is irreversible. Proceed with caution. * * @param request - DeleteFlowVersionRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteFlowVersionResponse */ deleteFlowVersionWithOptions(flowName: string, flowVersion: string, request: $_model.DeleteFlowVersionRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteFlowVersionResponse>; /** * Deletes a workflow version. * * @remarks * Deletes a specified version of a workflow. This operation is irreversible. Proceed with caution. * * @param request - DeleteFlowVersionRequest * @returns DeleteFlowVersionResponse */ deleteFlowVersion(flowName: string, flowVersion: string, request: $_model.DeleteFlowVersionRequest): Promise<$_model.DeleteFlowVersionResponse>; /** * Deletes an IM bot. * * @remarks * This operation deletes an IM bot via a `DELETE` request to the `/2025-09-10/agents/im-bots/{imBotId}` endpoint. A successful request returns an HTTP `204 No Content` status code and an empty response body. * * @param request - DeleteIMBotRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteIMBotResponse */ deleteIMBotWithOptions(imBotId: string, request: $_model.DeleteIMBotRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteIMBotResponse>; /** * Deletes an IM bot. * * @remarks * This operation deletes an IM bot via a `DELETE` request to the `/2025-09-10/agents/im-bots/{imBotId}` endpoint. A successful request returns an HTTP `204 No Content` status code and an empty response body. * * @param request - DeleteIMBotRequest * @returns DeleteIMBotResponse */ deleteIMBot(imBotId: string, request: $_model.DeleteIMBotRequest): Promise<$_model.DeleteIMBotResponse>; /** * Deletes a knowledge base. * > This operation is permanent and cannot be undone. * * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteKnowledgeBaseResponse */ deleteKnowledgeBaseWithOptions(knowledgeBaseName: string, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteKnowledgeBaseResponse>; /** * Deletes a knowledge base. * > This operation is permanent and cannot be undone. * @returns DeleteKnowledgeBaseResponse */ deleteKnowledgeBase(knowledgeBaseName: string): Promise<$_model.DeleteKnowledgeBaseResponse>; /** * Deletes a memory collection. * * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteMemoryCollectionResponse */ deleteMemoryCollectionWithOptions(memoryCollectionName: string, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteMemoryCollectionResponse>; /** * Deletes a memory collection. * @returns DeleteMemoryCollectionResponse */ deleteMemoryCollection(memoryCollectionName: string): Promise<$_model.DeleteMemoryCollectionResponse>; /** * Deletes a model proxy. * * @remarks * This operation deletes the specified model proxy configuration without deleting the underlying models or related resources. * * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteModelProxyResponse */ deleteModelProxyWithOptions(modelProxyName: string, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteModelProxyResponse>; /** * Deletes a model proxy. * * @remarks * This operation deletes the specified model proxy configuration without deleting the underlying models or related resources. * @returns DeleteModelProxyResponse */ deleteModelProxy(modelProxyName: string): Promise<$_model.DeleteModelProxyResponse>; /** * Deletes a model service. * * @remarks * This operation deletes a model service. You must specify the name of the service to delete. * * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteModelServiceResponse */ deleteModelServiceWithOptions(modelServiceName: string, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteModelServiceResponse>; /** * Deletes a model service. * * @remarks * This operation deletes a model service. You must specify the name of the service to delete. * @returns DeleteModelServiceResponse */ deleteModelService(modelServiceName: string): Promise<$_model.DeleteModelServiceResponse>; /** * Deletes a sandbox instance. * * @remarks * Deletes a sandbox instance. * * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteSandboxResponse */ deleteSandboxWithOptions(sandboxId: string, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteSandboxResponse>; /** * Deletes a sandbox instance. * * @remarks * Deletes a sandbox instance. * @returns DeleteSandboxResponse */ deleteSandbox(sandboxId: string): Promise<$_model.DeleteSandboxResponse>; /** * Deletes a template. * * @remarks * Deletes the specified template. After you delete a template, you can no longer use it to create new sandboxes. * * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteTemplateResponse */ deleteTemplateWithOptions(templateName: string, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteTemplateResponse>; /** * Deletes a template. * * @remarks * Deletes the specified template. After you delete a template, you can no longer use it to create new sandboxes. * @returns DeleteTemplateResponse */ deleteTemplate(templateName: string): Promise<$_model.DeleteTemplateResponse>; /** * Delete a tool * * @remarks * Delete the specified tool. The delete operation is irreversible. Proceed with caution. After the tool is deleted, all Agents that reference this tool will no longer be able to use it. * * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteToolResponse */ deleteToolWithOptions(toolName: string, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteToolResponse>; /** * Delete a tool * * @remarks * Delete the specified tool. The delete operation is irreversible. Proceed with caution. After the tool is deleted, all Agents that reference this tool will no longer be able to use it. * @returns DeleteToolResponse */ deleteTool(toolName: string): Promise<$_model.DeleteToolResponse>; /** * Deletes a workspace. * * @remarks * Deletes the specified workspace. * * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteWorkspaceResponse */ deleteWorkspaceWithOptions(workspaceId: string, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteWorkspaceResponse>; /** * Deletes a workspace. * * @remarks * Deletes the specified workspace. * @returns DeleteWorkspaceResponse */ deleteWorkspace(workspaceId: string): Promise<$_model.DeleteWorkspaceResponse>; /** * Obtains an access token. * * @remarks * Obtains a temporary accessToken that is used to authenticate subsequent API requests. * * @param request - GetAccessTokenRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns GetAccessTokenResponse */ getAccessTokenWithOptions(request: $_model.GetAccessTokenRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.GetAccessTokenResponse>; /** * Obtains an access token. * * @remarks * Obtains a temporary accessToken that is used to authenticate subsequent API requests. * * @param request - GetAccessTokenRequest * @returns GetAccessTokenResponse */ getAccessToken(request: $_model.GetAccessTokenRequest): Promise<$_model.GetAccessTokenResponse>; /** * Get Agent Runtime * * @remarks * Retrieves detailed information about a specified agent runtime by its agent runtime ID, including configuration, status, resource usage, and more. * * @param request - GetAgentRuntimeRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns GetAgentRuntimeResponse */ getAgentRuntimeWithOptions(agentRuntimeId: string, request: $_model.GetAgentRuntimeRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.GetAgentRuntimeResponse>; /** * Get Agent Runtime * * @remarks * Retrieves detailed information about a specified agent runtime by its agent runtime ID, including configuration, status, resource usage, and more. * * @param request - GetAgentRuntimeRequest * @returns GetAgentRuntimeResponse */ getAgentRuntime(agentRuntimeId: string, request: $_model.GetAgentRuntimeRequest): Promise<$_model.GetAgentRuntimeResponse>; /** * Get Agent Runtime Access Endpoint * * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns GetAgentRuntimeEndpointResponse */ getAgentRuntimeEndpointWithOptions(agentRuntimeId: string, agentRuntimeEndpointId: string, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.GetAgentRuntimeEndpointResponse>; /** * Get Agent Runtime Access Endpoint * @returns GetAgentRuntimeEndpointResponse */ getAgentRuntimeEndpoint(agentRuntimeId: string, agentRuntimeEndpointId: string): Promise<$_model.GetAgentRuntimeEndpointResponse>; /** * GetBrowserSandbox * * @remarks * Retrieves detailed information about a specified browser instance by browser ID, including configuration, status, resource usage, and more. * * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns GetBrowserResponse */ getBrowserWithOptions(browserId: string, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.GetBrowserResponse>; /** * GetBrowserSandbox * * @remarks * Retrieves detailed information about a specified browser instance by browser ID, including configuration, status, resource usage, and more. * @returns GetBrowserResponse */ getBrowser(browserId: string): Promise<$_model.GetBrowserResponse>; /** * Retrieves an interpreter. * * @remarks * 根据代码解释器ID获取指定代码解释器实例的详细信息,包括配置、状态、资源使用情况等。 * * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns GetCodeInterpreterResponse */ getCodeInterpreterWithOptions(codeInterpreterId: string, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.GetCodeInterpreterResponse>; /** * Retrieves an interpreter. * * @remarks * 根据代码解释器ID获取指定代码解释器实例的详细信息,包括配置、状态、资源使用情况等。 * @returns GetCodeInterpreterResponse */ getCodeInterpreter(codeInterpreterId: string): Promise<$_model.GetCodeInterpreterResponse>; /** * Retrieves information about a specific credential. * * @remarks * Retrieves detailed information about a specified credential, including its configuration, metadata, and related resources. * * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns GetCredentialResponse */ getCredentialWithOptions(credentialName: string, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.GetCredentialResponse>; /** * Retrieves information about a specific credential. * * @remarks * Retrieves detailed information about a specified credential, including its configuration, metadata, and related resources. * @returns GetCredentialResponse */ getCredential(credentialName: string): Promise<$_model.GetCredentialResponse>; /** * Retrieves the configuration of a custom domain. * * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns GetCustomDomainResponse */ getCustomDomainWithOptions(domainName: string, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.GetCustomDomainResponse>; /** * Retrieves the configuration of a custom domain. * @returns GetCustomDomainResponse */ getCustomDomain(domainName: string): Promise<$_model.GetCustomDomainResponse>; /** * Get flow details * * @remarks * 根据工作流ID获取指定工作流的详细信息,包括配置、定义、版本信息等。 * * @param request - GetFlowRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns GetFlowResponse */ getFlowWithOptions(flowName: string, request: $_model.GetFlowRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.GetFlowResponse>; /** * Get flow details * * @remarks * 根据工作流ID获取指定工作流的详细信息,包括配置、定义、版本信息等。 * * @param request - GetFlowRequest * @returns GetFlowResponse */ getFlow(flowName: string, request: $_model.GetFlowRequest): Promise<$_model.GetFlowResponse>; /** * Get the workflow draft. * * @remarks * 获取指定工作流的草稿版本,返回草稿中的配置信息。 * * @param request - GetFlowDraftRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns GetFlowDraftResponse */ getFlowDraftWithOptions(flowName: string, request: $_model.GetFlowDraftRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.GetFlowDraftResponse>; /** * Get the workflow draft. * * @remarks * 获取指定工作流的草稿版本,返回草稿中的配置信息。 * * @param request - GetFlowDraftRequest * @returns GetFlowDraftResponse */ getFlowDraft(flowName: string, request: $_model.GetFlowDraftRequest): Promise<$_model.GetFlowDraftResponse>; /** * Retrieves the details of a workflow endpoint. * * @remarks * 根据工作流ID和端点ID获取指定工作流端点的详细信息。 * * @param request - GetFlowEndpointRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns GetFlowEndpointResponse */ getFlowEndpointWithOptions(flowName: string, flowEndpointName: string, request: $_model.GetFlowEndpointRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.GetFlowEndpointResponse>; /** * Retrieves the details of a workflow endpoint. * * @remarks * 根据工作流ID和端点ID获取指定工作流端点的详细信息。 * * @param request - GetFlowEndpointRequest * @returns GetFlowEndpointResponse */ getFlowEndpoint(flowName: string, flowEndpointName: string, request: $_model.GetFlowEndpointRequest): Promise<$_model.GetFlowEndpointResponse>; /** * Retrieves the details of a workflow version. * * @remarks * Retrieves the details of a specific workflow version, including a complete configuration snapshot of its definition, environment variables, tracing configuration, and logging configuration. * * @param request - GetFlowVersionRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns GetFlowVersionResponse */ getFlowVersionWithOptions(flowName: string, flowVersion: string, request: $_model.GetFlowVersionRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.GetFlowVersionResponse>; /** * Retrieves the details of a workflow version. * * @remarks * Retrieves the details of a specific workflow version, including a complete configuration snapshot of its definition, environment variables, tracing configuration, and logging configuration. * * @param request - GetFlowVersionRequest * @returns GetFlowVersionResponse */ getFlowVersion(flowName: string, flowVersion: string, request: $_model.GetFlowVersionRequest): Promise<$_model.GetFlowVersionResponse>; /** * Gets the details of a specific IM Bot. * * @remarks * GET /2025-09-10/agents/im-bots/{imBotId};200 OK,Body 标准包装,data 为 IMBotInfo * * @param request - GetIMBotRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns GetIMBotResponse */ getIMBotWithOptions(imBotId: string, request: $_model.GetIMBotRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.GetIMBotResponse>; /** * Gets the details of a specific IM Bot. * * @remarks * GET /2025-09-10/agents/im-bots/{imBotId};200 OK,Body 标准包装,data 为 IMBotInfo * * @param request - GetIMBotRequest * @returns GetIMBotResponse */ getIMBot(imBotId: string, request: $_model.GetIMBotRequest): Promise<$_model.GetIMBotResponse>; /** * Gets information about a knowledge base. * * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns GetKnowledgeBaseResponse */ getKnowledgeBaseWithOptions(knowledgeBaseName: string, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.GetKnowledgeBaseResponse>; /** * Gets information about a knowledge base. * @returns GetKnowledgeBaseResponse */ getKnowledgeBase(knowledgeBaseName: string): Promise<$_model.GetKnowledgeBaseResponse>; /** * Retrieves details for a specific memory collection. * * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns GetMemoryCollectionResponse */ getMemoryCollectionWithOptions(memoryCollectionName: string, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.GetMemoryCollectionResponse>; /** * Retrieves details for a specific memory collection. * @returns GetMemoryCollectionResponse */ getMemoryCollection(memoryCollectionName: string): Promise<$_model.GetMemoryCollectionResponse>; /** * Retrieves model governance information. * * @remarks * This operation retrieves the configuration details of a specific model proxy. * * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns GetModelProxyResponse */ getModelProxyWithOptions(modelProxyName: string, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.GetModelProxyResponse>; /** * Retrieves model governance information. * * @remarks * This operation retrieves the configuration details of a specific model proxy. * @returns GetModelProxyResponse */ getModelProxy(modelProxyName: string): Promise<$_model.GetModelProxyResponse>; /** * Retrieves the details of a specified model service. * * @remarks * Retrieves the details of a specified model service. * * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns GetModelServiceResponse */ getModelServiceWithOptions(modelServiceName: string, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.GetModelServiceResponse>; /** * Retrieves the details of a specified model service. * * @remarks * Retrieves the details of a specified model service. * @returns GetModelServiceResponse */ getModelService(modelServiceName: string): Promise<$_model.GetModelServiceResponse>; /** * Retrieves the details of a specific sandbox. * * @remarks * Retrieves the details of a specific sandbox by its `sandboxId`, including its status and configuration. * * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns GetSandboxResponse */ getSandboxWithOptions(sandboxId: string, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.GetSandboxResponse>; /** * Retrieves the details of a specific sandbox. * * @remarks * Retrieves the details of a specific sandbox by its `sandboxId`, including its status and configuration. * @returns GetSandboxResponse */ getSandbox(sandboxId: string): Promise<$_model.GetSandboxResponse>; /** * Retrieves a template. * * @remarks * Retrieves the details of a template by its name. The response includes the template\\"s configuration and status. * * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns GetTemplateResponse */ getTemplateWithOptions(templateName: string, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.GetTemplateResponse>; /** * Retrieves a template. * * @remarks * Retrieves the details of a template by its name. The response includes the template\\"s configuration and status. * @returns GetTemplateResponse */ getTemplate(templateName: string): Promise<$_model.GetTemplateResponse>; /** * Get a tool * * @remarks * Obtain the complete configuration information of a tool by its name, including basic information, resource configuration, network configuration, running status, and all other detailed information. * * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns GetToolResponse */ getToolWithOptions(toolName: string, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.GetToolResponse>; /** * Get a tool * * @remarks * Obtain the complete configuration information of a tool by its name, including basic information, resource configuration, network configuration, running status, and all other detailed information. * @returns GetToolResponse */ getTool(toolName: string): Promise<$_model.GetToolResponse>; /** * Retrieves the details of a specific workspace. * * @remarks * Retrieves the details of a specific workspace. * * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns GetWorkspaceResponse */ getWorkspaceWithOptions(workspaceId: string, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.GetWorkspaceResponse>; /** * Retrieves the details of a specific workspace. * * @remarks * Retrieves the details of a specific workspace. * @returns GetWorkspaceResponse */ getWorkspace(workspaceId: string): Promise<$_model.GetWorkspaceResponse>; /** * Gets the discovery endpoints for a workspace. * * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns GetWorkspaceDiscoveryEndpointsResponse */ getWorkspaceDiscoveryEndpointsWithOptions(workspaceId: string, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.GetWorkspaceDiscoveryEndpointsResponse>; /** * Gets the discovery endpoints for a workspace. * @returns GetWorkspaceDiscoveryEndpointsResponse */ getWorkspaceDiscoveryEndpoints(workspaceId: string): Promise<$_model.GetWorkspaceDiscoveryEndpointsResponse>; /** * List Agent Runtime Endpoints * * @remarks * 获取指定智能体运行时的所有端点列表,支持按名称过滤和分页查询。端点用于外部系统访问智能体运行时服务。 * * @param request - ListAgentRuntimeEndpointsRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns ListAgentRuntimeEndpointsResponse */ listAgentRuntimeEndpointsWithOptions(agentRuntimeId: string, request: $_model.ListAgentRuntimeEndpointsRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.ListAgentRuntimeEndpointsResponse>; /** * List Agent Runtime Endpoints * * @remarks * 获取指定智能体运行时的所有端点列表,支持按名称过滤和分页查询。端点用于外部系统访问智能体运行时服务。 * * @param request - ListAgentRuntimeEndpointsRequest * @returns ListAgentRuntimeEndpointsResponse */ listAgentRuntimeEndpoints(agentRuntimeId: string, request: $_model.ListAgentRuntimeEndpointsRequest): Promise<$_model.ListAgentRuntimeEndpointsResponse>; /** * Retrieves agent runtime versions. * * @param request - ListAgentRuntimeVersionsRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns ListAgentRuntimeVersionsResponse */ listAgentRuntimeVersionsWithOptions(agentRuntimeId: string, request: $_model.ListAgentRuntimeVersionsRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.ListAgentRuntimeVersionsResponse>; /** * Retrieves agent runtime versions. * * @param request - ListAgentRuntimeVersionsRequest * @returns ListAgentRuntimeVersionsResponse */ listAgentRuntimeVersions(agentRuntimeId: string, request: $_model.ListAgentRuntimeVersionsRequest): Promise<$_model.ListAgentRuntimeVersionsResponse>; /** * Retrieves a list of agent runtimes. * * @remarks * Retrieves a list of agent runtimes for the current user. You can filter the results based on criteria such as name and tags. This operation supports pagination. * * @param request - ListAgentRuntimesRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns ListAgentRuntimesResponse */ listAgentRuntimesWithOptions(request: $_model.ListAgentRuntimesRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.ListAgentRuntimesResponse>; /** * Retrieves a list of agent runtimes. * * @remarks * Retrieves a list of agent runtimes for the current user. You can filter the results based on criteria such as name and tags. This operation supports pagination. * * @param request - ListAgentRuntimesRequest * @returns ListAgentRuntimesResponse */ listAgentRuntimes(request: $_model.ListAgentRuntimesRequest): Promise<$_model.ListAgentRuntimesResponse>; /** * List Browser Sandboxes * * @remarks * Retrieves a list of all browser instances for the current user. Supports filtering by conditions such as name and status, and supports paginated queries. * * @param request - ListBrowsersRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns ListBrowsersResponse */ listBrowsersWithOptions(request: $_model.ListBrowsersRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.ListBrowsersResponse>; /** * List Browser Sandboxes * * @remarks * Retrieves a list of all browser instances for the current user. Supports filtering by conditions such as name and status, and supports paginated queries. * * @param request - ListBrowsersRequest * @returns ListBrowsersResponse */ listBrowsers(request: $_model.ListBrowsersRequest): Promise<$_model.ListBrowsersResponse>; /** * List Code Interpreters * * @remarks * Retrieve a list of all code interpreter instances for the current user, with support for filtering by name and pagination. * * @param request - ListCodeInterpretersRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns ListCodeInterpretersResponse */ listCodeInterpretersWithOptions(request: $_model.ListCodeInterpretersRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.ListCodeInterpretersResponse>; /** * List Code Interpreters * * @remarks * Retrieve a list of all code interpreter instances for the current user, with support for filtering by name and pagination. * * @param request - ListCodeInterpretersRequest * @returns ListCodeInterpretersResponse */ listCodeInterpreters(request: $_model.ListCodeInterpretersRequest): Promise<$_model.ListCodeInterpretersResponse>; /** * Lists all credentials. * * @remarks * Lists the credentials in your account. This operation supports filtering and pagination. * * @param request - ListCredentialsRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns ListCredentialsResponse */ listCredentialsWithOptions(request: $_model.ListCredentialsRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.ListCredentialsResponse>; /** * Lists all credentials. * * @remarks * Lists the credentials in your account. This operation supports filtering and pagination. * * @param request - ListCredentialsRequest * @returns ListCredentialsResponse */ listCredentials(request: $_model.ListCredentialsRequest): Promise<$_model.ListCredentialsResponse>; /** * Lists custom domains. * * @param request - ListCustomDomainsRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns ListCustomDomainsResponse */ listCustomDomainsWithOptions(request: $_model.ListCustomDomainsRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.ListCustomDomainsResponse>; /** * Lists custom domains. * * @param request - ListCustomDomainsRequest * @returns ListCustomDomainsResponse */ listCustomDomains(request: $_model.ListCustomDomainsRequest): Promise<$_model.ListCustomDomainsResponse>; /** * List workflow endpoints. * * @remarks * Retrieve all endpoints for a specified workflow, with pagination support. * * @param request - ListFlowEndpointsRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns ListFlowEndpointsResponse */ listFlowEndpointsWithOptions(flowId: string, request: $_model.ListFlowEndpointsRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.ListFlowEndpointsResponse>; /** * List workflow endpoints. * * @remarks * Retrieve all endpoints for a specified workflow, with pagination support. * * @param request - ListFlowEndpointsRequest * @returns ListFlowEndpointsResponse */ listFlowEndpoints(flowId: string, request: $_model.ListFlowEndpointsRequest): Promise<$_model.ListFlowEndpointsResponse>; /** * Lists the versions of a flow. * * @remarks * Returns a paginated list of all versions for a specified flow. * * @param request - ListFlowVersionsRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns ListFlowVersionsResponse */ listFlowVersionsWithOptions(flowName: string, request: $_model.ListFlowVersionsRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.ListFlowVersionsResponse>; /** * Lists the versions of a flow. * * @remarks * Returns a paginated list of all versions for a specified flow. * * @param request - ListFlowVersionsRequest * @returns ListFlowVersionsResponse */ listFlowVersions(flowName: string, request: $_model.ListFlowVersionsRequest): Promise<$_model.ListFlowVersionsResponse>; /** * List flows * * @remarks * 获取当前用户的工作流列表,支持按名称、工作空间等条件过滤,支持分页查询。 * * @param request - ListFlowsRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns ListFlowsResponse */ listFlowsWithOptions(request: $_model.ListFlowsRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.ListFlowsResponse>; /** * List flows * * @remarks * 获取当前用户的工作流列表,支持按名称、工作空间等条件过滤,支持分页查询。 * * @param request - ListFlowsRequest * @returns ListFlowsResponse */ listFlows(request: $_model.ListFlowsRequest): Promise<$_model.ListFlowsResponse>; /** * Retrieves a paginated list of IM bots. * * @remarks * Send a GET request to the `/2025-09-10/agents/im-bots` endpoint to retrieve a paginated list of IM bots. Use the `botName`, `agentRuntimeId`, `botBizType`, and `status` query parameters to filter the results. For pagination, the `pageNumber` defaults to 1 and the `pageSize` defaults to 20, with a maximum of 100. * * @param request - ListIMBotsRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns ListIMBotsResponse */ listIMBotsWithOptions(request: $_model.ListIMBotsRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.ListIMBotsResponse>; /** * Retrieves a paginated list of IM bots. * * @remarks * Send a GET request to the `/2025-09-10/agents/im-bots` endpoint to retrieve a paginated list of IM bots. Use the `botName`, `agentRuntimeId`, `botBizType`, and `status` query parameters to filter the results. For pagination, the `pageNumber` defaults to 1 and the `pageSize` defaults to 20, with a maximum of 100. * * @param request - ListIMBotsRequest * @returns ListIMBotsResponse */ listIMBots(request: $_model.ListIMBotsRequest): Promise<$_model.ListIMBotsResponse>; /** * Lists the knowledge bases in your account. * * @param request - ListKnowledgeBasesRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns ListKnowledgeBasesResponse */ listKnowledgeBasesWithOptions(request: $_model.ListKnowledgeBasesRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.ListKnowledgeBasesResponse>; /** * Lists the knowledge bases in your account. * * @param request - ListKnowledgeBasesRequest * @returns ListKnowledgeBasesResponse */ listKnowledgeBases(request: $_model.ListKnowledgeBasesRequest): Promise<$_model.ListKnowledgeBasesResponse>; /** * Returns a paginated list of memory collections. * * @param request - ListMemoryCollectionsRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns ListMemoryCollectionsResponse */ listMemoryCollectionsWithOptions(request: $_model.ListMemoryCollectionsRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.ListMemoryCollectionsResponse>; /** * Returns a paginated list of memory collections. * * @param request - ListMemoryCollectionsRequest * @returns ListMemoryCollectionsResponse */ listMemoryCollections(request: $_model.ListMemoryCollectionsRequest): Promise<$_model.ListMemoryCollectionsResponse>; /** * Lists all model providers. * * @remarks * Lists the available model providers. This operation supports filtering and pagination. * * @param request - ListModelProvidersRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns ListModelProvidersResponse */ listModelProvidersWithOptions(request: $_model.ListModelProvidersRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.ListModelProvidersResponse>; /** * Lists all model providers. * * @remarks * Lists the available model providers. This operation supports filtering and pagination. * * @param request - ListModelProvidersRequest * @returns ListModelProvidersResponse */ listModelProviders(request: $_model.ListModelProvidersRequest): Promise<$_model.ListModelProvidersResponse>; /** * Lists all Model Proxies. * * @remarks * Retrieves a paginated list of all Model Proxies for the current user. You can filter the list by status. * * @param request - ListModelProxiesRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns ListModelProxiesResponse */ listModelProxiesWithOptions(request: $_model.ListModelProxiesRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.ListModelProxiesResponse>; /** * Lists all Model Proxies. * * @remarks * Retrieves a paginated list of all Model Proxies for the current user. You can filter the list by status. * * @param request - ListModelProxiesRequest * @returns ListModelProxiesResponse */ listModelProxies(request: $_model.ListModelProxiesRequest): Promise<$_model.ListModelProxiesResponse>; /** * Lists all models. * * @remarks * Retrieves a list of all models for the current user. You can filter the models by type and paginate the results. * * @param request - ListModelServicesRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns ListModelServicesResponse */ listModelServicesWithOptions(request: $_model.ListModelServicesRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.ListModelServicesResponse>; /** * Lists all models. * * @remarks * Retrieves a list of all models for the current user. You can filter the models by type and paginate the results. * * @param request - ListModelServicesRequest * @returns ListModelServicesResponse */ listModelServices(request: $_model.ListModelServicesRequest): Promise<$_model.ListModelServicesResponse>; /** * Returns a list of sandboxes. * * @remarks * Retrieves a list of sandboxes for the current user. You can filter the results by template name, template type, or status. This operation supports pagination. * * @param request - ListSandboxesRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns ListSandboxesResponse */ listSandboxesWithOptions(request: $_model.ListSandboxesRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.ListSandboxesResponse>; /** * Returns a list of sandboxes. * * @remarks * Retrieves a list of sandboxes for the current user. You can filter the results by template name, template type, or status. This operation supports pagination. * * @param request - ListSandboxesRequest * @returns ListSandboxesResponse */ listSandboxes(request: $_model.ListSandboxesRequest): Promise<$_model.ListSandboxesResponse>; /** * Lists templates. * * @remarks * Lists all templates for the current user. You can filter the results by template type and use pagination. * * @param request - ListTemplatesRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns ListTemplatesResponse */ listTemplatesWithOptions(request: $_model.ListTemplatesRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.ListTemplatesResponse>; /** * Lists templates. * * @remarks * Lists all templates for the current user. You can filter the results by template type and use pagination. * * @param request - ListTemplatesRequest * @returns ListTemplatesResponse */ listTemplates(request: $_model.ListTemplatesRequest): Promise<$_model.ListTemplatesResponse>; /** * List tools * * @remarks * Query the tool list. Support paged query and conditional filtering by tool type, workspace, and other criteria. Return the list of tools that meet the conditions and paging information. * * @param request - ListToolsRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns ListToolsResponse */ listToolsWithOptions(request: $_model.ListToolsRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.ListToolsResponse>; /** * List tools * * @remarks * Query the tool list. Support paged query and conditional filtering by tool type, workspace, and other criteria. Return the list of tools that meet the conditions and paging information. * * @param request - ListToolsRequest * @returns ListToolsResponse */ listTools(request: $_model.ListToolsRequest): Promise<$_model.ListToolsResponse>; /** * Lists all workspaces in your account. * * @remarks * Lists all workspaces. * * @param request - ListWorkspacesRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns ListWorkspacesResponse */ listWorkspacesWithOptions(request: $_model.ListWorkspacesRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.ListWorkspacesResponse>; /** * Lists all workspaces in your account. * * @remarks * Lists all workspaces. * * @param request - ListWorkspacesRequest * @returns ListWorkspacesResponse */ listWorkspaces(request: $_model.ListWorkspacesRequest): Promise<$_model.ListWorkspacesResponse>; /** * Pause the sandbox and retain snapshots of its memory and file system. The sandbox enters the PAUSED state so that it can be recovered later. * * @remarks * This API is used to pause a sandbox. When invoked, the system takes a snapshot of the sandbox, capturing and persisting the memory and disk states. The user can recover the sandbox at a later time. * Note that sandbox snapshots are retained for only 30 days. After 30 days, recovery becomes unavailable. * * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns PauseSandboxResponse */ pauseSandboxWithOptions(sandboxId: string, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.PauseSandboxResponse>; /** * Pause the sandbox and retain snapshots of its memory and file system. The sandbox enters the PAUSED state so that it can be recovered later. * * @remarks * This API is used to pause a sandbox. When invoked, the system takes a snapshot of the sandbox, capturing and persisting the memory and disk states. The user can recover the sandbox at a later time. * Note that sandbox snapshots are retained for only 30 days. After 30 days, recovery becomes unavailable. * @returns PauseSandboxResponse */ pauseSandbox(sandboxId: string): Promise<$_model.PauseSandboxResponse>; /** * Publishes a workflow version. * * @remarks * Publishes a new version of a specified workflow. This operation supports version management and rollbacks. * * @param request - PublishFlowVersionRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns PublishFlowVersionResponse */ publishFlowVersionWithOptions(flowName: string, request: $_model.PublishFlowVersionRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.PublishFlowVersionResponse>; /** * Publishes a workflow version. * * @remarks * Publishes a new version of a specified workflow. This operation supports version management and rollbacks. * * @param request - PublishFlowVersionRequest * @returns PublishFlowVersionResponse */ publishFlowVersion(flowName: string, request: $_model.PublishFlowVersionRequest): Promise<$_model.PublishFlowVersionResponse>; /** * Publishes a new version of an agent runtime. * * @remarks * Publishes a new version for a specified agent runtime for version management and deployment. The new version can include code updates, configuration changes, and other content. * * @param request - PublishRuntimeVersionRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns PublishRuntimeVersionResponse */ publishRuntimeVersionWithOptions(agentRuntimeId: string, request: $_model.PublishRuntimeVersionRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.PublishRuntimeVersionResponse>; /** * Publishes a new version of an agent runtime. * * @remarks * Publishes a new version for a specified agent runtime for version management and deployment. The new version can include code updates, configuration changes, and other content. * * @param request - PublishRuntimeVersionRequest * @returns PublishRuntimeVersionResponse */ publishRuntimeVersion(agentRuntimeId: string, request: $_model.PublishRuntimeVersionRequest): Promise<$_model.PublishRuntimeVersionResponse>; /** * Resume a paused sandbox instance to restore it from the PAUSED state to the READY (running) state. * * @remarks * This API resumes a sandbox instance from the paused state to the ready state, allowing the user to invoke it and restore it to the state it was in before being paused. * * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns ResumeSandboxResponse */ resumeSandboxWithOptions(sandboxId: string, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.ResumeSandboxResponse>; /** * Resume a paused sandbox instance to restore it from the PAUSED state to the READY (running) state. * * @remarks * This API resumes a sandbox instance from the paused state to the ready state, allowing the user to invoke it and restore it to the state it was in before being paused. * @returns ResumeSandboxResponse */ resumeSandbox(sandboxId: string): Promise<$_model.ResumeSandboxResponse>; /** * Stops a sandbox. * * @remarks * Stops the specified sandbox instance. After the operation, the sandbox enters the TERMINATED state. * * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns StopSandboxResponse */ stopSandboxWithOptions(sandboxId: string, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.StopSandboxResponse>; /** * Stops a sandbox. * * @remarks * Stops the specified sandbox instance. After the operation, the sandbox enters the TERMINATED state. * @returns StopSandboxResponse */ stopSandbox(sandboxId: string): Promise<$_model.StopSandboxResponse>; /** * Stops the TemplateMCP service. * * @remarks * Stopping the MCP service deletes the associated MCP resources and makes the endpoint inaccessible. * * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns StopTemplateMCPResponse */ stopTemplateMCPWithOptions(templateName: string, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.StopTemplateMCPResponse>; /** * Stops the TemplateMCP service. * * @remarks * Stopping the MCP service deletes the associated MCP resources and makes the endpoint inaccessible. * @returns StopTemplateMCPResponse */ stopTemplateMCP(templateName: string): Promise<$_model.StopTemplateMCPResponse>; /** * UpdateAgentRuntime * * @remarks * Updates the configuration of a specified agent runtime, including resource allocation, network configuration, and environment variables. The update operation triggers a runtime restart. * * @param request - UpdateAgentRuntimeRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateAgentRuntimeResponse */ updateAgentRuntimeWithOptions(agentRuntimeId: string, request: $_model.UpdateAgentRuntimeRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateAgentRuntimeResponse>; /** * UpdateAgentRuntime * * @remarks * Updates the configuration of a specified agent runtime, including resource allocation, network configuration, and environment variables. The update operation triggers a runtime restart. * * @param request - UpdateAgentRuntimeRequest * @returns UpdateAgentRuntimeResponse */ updateAgentRuntime(agentRuntimeId: string, request: $_model.UpdateAgentRuntimeRequest): Promise<$_model.UpdateAgentRuntimeResponse>; /** * Update Agent Runtime Endpoint * * @param request - UpdateAgentRuntimeEndpointRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateAgentRuntimeEndpointResponse */ updateAgentRuntimeEndpointWithOptions(agentRuntimeId: string, agentRuntimeEndpointId: string, request: $_model.UpdateAgentRuntimeEndpointRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateAgentRuntimeEndpointResponse>; /** * Update Agent Runtime Endpoint * * @param request - UpdateAgentRuntimeEndpointRequest * @returns UpdateAgentRuntimeEndpointResponse */ updateAgentRuntimeEndpoint(agentRuntimeId: string, agentRuntimeEndpointId: string, request: $_model.UpdateAgentRuntimeEndpointRequest): Promise<$_model.UpdateAgentRuntimeEndpointResponse>; /** * Updates a credential. * * @remarks * Updates the configuration of a specified credential. * * @param request - UpdateCredentialRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateCredentialResponse */ updateCredentialWithOptions(credentialName: string, request: $_model.UpdateCredentialRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateCredentialResponse>; /** * Updates a credential. * * @remarks * Updates the configuration of a specified credential. * * @param request - UpdateCredentialRequest * @returns UpdateCredentialResponse */ updateCredential(credentialName: string, request: $_model.UpdateCredentialRequest): Promise<$_model.UpdateCredentialResponse>; /** * Updates a custom domain. * * @param request - UpdateCustomDomainRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateCustomDomainResponse */ updateCustomDomainWithOptions(domainName: string, request: $_model.UpdateCustomDomainRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateCustomDomainResponse>; /** * Updates a custom domain. * * @param request - UpdateCustomDomainRequest * @returns UpdateCustomDomainResponse */ updateCustomDomain(domainName: string, request: $_model.UpdateCustomDomainRequest): Promise<$_model.UpdateCustomDomainResponse>; /** * Updates a workflow. * * @remarks * Updates the configuration of a specified workflow, including the definition, execution mode, and environment variables. * * @param request - UpdateFlowRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateFlowResponse */ updateFlowWithOptions(flowName: string, request: $_model.UpdateFlowRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateFlowResponse>; /** * Updates a workflow. * * @remarks * Updates the configuration of a specified workflow, including the definition, execution mode, and environment variables. * * @param request - UpdateFlowRequest * @returns UpdateFlowResponse */ updateFlow(flowName: string, request: $_model.UpdateFlowRequest): Promise<$_model.UpdateFlowResponse>; /** * Update a flow draft. * * @remarks * 更新指定工作流的草稿版本,草稿更新不影响已发布的工作流版本。 * * @param request - UpdateFlowDraftRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateFlowDraftResponse */ updateFlowDraftWithOptions(flowName: string, request: $_model.UpdateFlowDraftRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateFlowDraftResponse>; /** * Update a flow draft. * * @remarks * 更新指定工作流的草稿版本,草稿更新不影响已发布的工作流版本。 * * @param request - UpdateFlowDraftRequest * @returns UpdateFlowDraftResponse */ updateFlowDraft(flowName: string, request: $_model.UpdateFlowDraftRequest): Promise<$_model.UpdateFlowDraftResponse>; /** * Update Flow Endpoint * * @remarks * 更新指定工作流端点的配置信息,包括目标版本、路由配置等。 * * @param request - UpdateFlowEndpointRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateFlowEndpointResponse */ updateFlowEndpointWithOptions(flowName: string, flowEndpointName: string, request: $_model.UpdateFlowEndpointRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateFlowEndpointResponse>; /** * Update Flow Endpoint * * @remarks * 更新指定工作流端点的配置信息,包括目标版本、路由配置等。 * * @param request - UpdateFlowEndpointRequest * @returns UpdateFlowEndpointResponse */ updateFlowEndpoint(flowName: string, flowEndpointName: string, request: $_model.UpdateFlowEndpointRequest): Promise<$_model.UpdateFlowEndpointResponse>; /** * Updates an IM bot. * * @remarks * PUT /2025-09-10/agents/im-bots/{imBotId};成功建议 HTTP 202,Body 标准包装,data 为更新后 IMBotInfo * * @param request - UpdateIMBotRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateIMBotResponse */ updateIMBotWithOptions(imBotId: string, request: $_model.UpdateIMBotRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateIMBotResponse>; /** * Updates an IM bot. * * @remarks * PUT /2025-09-10/agents/im-bots/{imBotId};成功建议 HTTP 202,Body 标准包装,data 为更新后 IMBotInfo * * @param request - UpdateIMBotRequest * @returns UpdateIMBotResponse */ updateIMBot(imBotId: string, request: $_model.UpdateIMBotRequest): Promise<$_model.UpdateIMBotResponse>; /** * Updates the configuration of a knowledge base. * * @param request - UpdateKnowledgeBaseRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateKnowledgeBaseResponse */ updateKnowledgeBaseWithOptions(knowledgeBaseName: string, request: $_model.UpdateKnowledgeBaseRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateKnowledgeBaseResponse>; /** * Updates the configuration of a knowledge base. * * @param request - UpdateKnowledgeBaseRequest * @returns UpdateKnowledgeBaseResponse */ updateKnowledgeBase(knowledgeBaseName: string, request: $_model.UpdateKnowledgeBaseRequest): Promise<$_model.UpdateKnowledgeBaseResponse>; /** * Modifies a memory collection. * * @param request - UpdateMemoryCollectionRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateMemoryCollectionResponse */ updateMemoryCollectionWithOptions(memoryCollectionName: string, request: $_model.UpdateMemoryCollectionRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateMemoryCollectionResponse>; /** * Modifies a memory collection. * * @param request - UpdateMemoryCollectionRequest * @returns UpdateMemoryCollectionResponse */ updateMemoryCollection(memoryCollectionName: string, request: $_model.UpdateMemoryCollectionRequest): Promise<$_model.UpdateMemoryCollectionResponse>; /** * Updates the configuration of a model proxy. * * @remarks * Use this operation to update the configuration of a specific model proxy. * * @param request - UpdateModelProxyRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateModelProxyResponse */ updateModelProxyWithOptions(modelProxyName: string, request: $_model.UpdateModelProxyRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateModelProxyResponse>; /** * Updates the configuration of a model proxy. * * @remarks * Use this operation to update the configuration of a specific model proxy. * * @param request - UpdateModelProxyRequest * @returns UpdateModelProxyResponse */ updateModelProxy(modelProxyName: string, request: $_model.UpdateModelProxyRequest): Promise<$_model.UpdateModelProxyResponse>; /** * Updates a model service. * * @remarks * This operation modifies the configuration of an existing model service. * * @param request - UpdateModelServiceRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateModelServiceResponse */ updateModelServiceWithOptions(modelServiceName: string, request: $_model.UpdateModelServiceRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateModelServiceResponse>; /** * Updates a model service. * * @remarks * This operation modifies the configuration of an existing model service. * * @param request - UpdateModelServiceRequest * @returns UpdateModelServiceResponse */ updateModelService(modelServiceName: string, request: $_model.UpdateModelServiceRequest): Promise<$_model.UpdateModelServiceResponse>; /** * Updates a template. * * @remarks * Updates a template\\"s configuration, including its resource configuration, network configuration, and environment variables. * * @param request - UpdateTemplateRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateTemplateResponse */ updateTemplateWithOptions(templateName: string, request: $_model.UpdateTemplateRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateTemplateResponse>; /** * Updates a template. * * @remarks * Updates a template\\"s configuration, including its resource configuration, network configuration, and environment variables. * * @param request - UpdateTemplateRequest * @returns UpdateTemplateResponse */ updateTemplate(templateName: string, request: $_model.UpdateTemplateRequest): Promise<$_model.UpdateTemplateResponse>; /** * Updates a tool. * * @remarks * Updates the configuration of an existing tool. You can modify its description, resource configuration, network configuration, and more. This operation supports partial updates. You only need to specify the fields that you want to modify. * * @param request - UpdateToolRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateToolResponse */ updateToolWithOptions(toolName: string, request: $_model.UpdateToolRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateToolResponse>; /** * Updates a tool. * * @remarks * Updates the configuration of an existing tool. You can modify its description, resource configuration, network configuration, and more. This operation supports partial updates. You only need to specify the fields that you want to modify. * * @param request - UpdateToolRequest * @returns UpdateToolResponse */ updateTool(toolName: string, request: $_model.UpdateToolRequest): Promise<$_model.UpdateToolResponse>; /** * Updates a workspace. * * @remarks * Updates the properties of a workspace. * * @param request - UpdateWorkspaceRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateWorkspaceResponse */ updateWorkspaceWithOptions(workspaceId: string, request: $_model.UpdateWorkspaceRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateWorkspaceResponse>; /** * Updates a workspace. * * @remarks * Updates the properties of a workspace. * * @param request - UpdateWorkspaceRequest * @returns UpdateWorkspaceResponse */ updateWorkspace(workspaceId: string, request: $_model.UpdateWorkspaceRequest): Promise<$_model.UpdateWorkspaceResponse>; /** * Updates the discovery endpoint configuration for a specified workspace. * * @param request - UpdateWorkspaceDiscoveryEndpointsRequest * @param headers - map * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateWorkspaceDiscoveryEndpointsResponse */ updateWorkspaceDiscoveryEndpointsWithOptions(workspaceId: string, request: $_model.UpdateWorkspaceDiscoveryEndpointsRequest, headers: { [key: string]: string; }, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateWorkspaceDiscoveryEndpointsResponse>; /** * Updates the discovery endpoint configuration for a specified workspace. * * @param request - UpdateWorkspaceDiscoveryEndpointsRequest * @returns UpdateWorkspaceDiscoveryEndpointsResponse */ updateWorkspaceDiscoveryEndpoints(workspaceId: string, request: $_model.UpdateWorkspaceDiscoveryEndpointsRequest): Promise<$_model.UpdateWorkspaceDiscoveryEndpointsResponse>; }