@lingya-ai/agents-sdk 0.4.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +63 -5
- package/dist/apis/ChatApi.d.ts +193 -15
- package/dist/apis/ChatApi.js +455 -22
- package/dist/apis/ConfigurationApi.d.ts +29 -7
- package/dist/apis/ConfigurationApi.js +73 -8
- package/dist/apis/ConversationsApi.d.ts +170 -88
- package/dist/apis/ConversationsApi.js +359 -113
- package/dist/apis/EventsApi.d.ts +9 -7
- package/dist/apis/EventsApi.js +18 -9
- package/dist/apis/FilesApi.d.ts +21 -15
- package/dist/apis/FilesApi.js +48 -23
- package/dist/apis/InteractionsApi.d.ts +43 -11
- package/dist/apis/InteractionsApi.js +100 -16
- package/dist/apis/KnowledgeApi.d.ts +9 -7
- package/dist/apis/KnowledgeApi.js +18 -9
- package/dist/apis/MessagesApi.d.ts +271 -13
- package/dist/apis/MessagesApi.js +550 -18
- package/dist/apis/SQLApi.d.ts +10 -9
- package/dist/apis/SQLApi.js +21 -10
- package/dist/apis/WorkspaceApi.d.ts +8 -7
- package/dist/apis/WorkspaceApi.js +16 -8
- package/dist/bound.d.ts +302 -57
- package/dist/bound.js +293 -122
- package/dist/browser.d.ts +14 -0
- package/dist/browser.js +67 -0
- package/dist/client-core.d.ts +101 -0
- package/dist/client-core.js +158 -0
- package/dist/client.d.ts +27 -125
- package/dist/client.js +112 -158
- package/dist/esm/apis/ChatApi.d.ts +193 -15
- package/dist/esm/apis/ChatApi.js +455 -22
- package/dist/esm/apis/ConfigurationApi.d.ts +29 -7
- package/dist/esm/apis/ConfigurationApi.js +73 -8
- package/dist/esm/apis/ConversationsApi.d.ts +170 -88
- package/dist/esm/apis/ConversationsApi.js +358 -112
- package/dist/esm/apis/EventsApi.d.ts +9 -7
- package/dist/esm/apis/EventsApi.js +18 -9
- package/dist/esm/apis/FilesApi.d.ts +21 -15
- package/dist/esm/apis/FilesApi.js +48 -23
- package/dist/esm/apis/InteractionsApi.d.ts +43 -11
- package/dist/esm/apis/InteractionsApi.js +100 -16
- package/dist/esm/apis/KnowledgeApi.d.ts +9 -7
- package/dist/esm/apis/KnowledgeApi.js +18 -9
- package/dist/esm/apis/MessagesApi.d.ts +271 -13
- package/dist/esm/apis/MessagesApi.js +549 -17
- package/dist/esm/apis/SQLApi.d.ts +10 -9
- package/dist/esm/apis/SQLApi.js +21 -10
- package/dist/esm/apis/WorkspaceApi.d.ts +8 -7
- package/dist/esm/apis/WorkspaceApi.js +16 -8
- package/dist/esm/bound.d.ts +302 -57
- package/dist/esm/bound.js +293 -122
- package/dist/esm/browser.d.ts +14 -0
- package/dist/esm/browser.js +47 -0
- package/dist/esm/client-core.d.ts +101 -0
- package/dist/esm/client-core.js +142 -0
- package/dist/esm/client.d.ts +27 -125
- package/dist/esm/client.js +98 -159
- package/dist/esm/events.js +1 -1
- package/dist/esm/hmac.d.ts +1 -1
- package/dist/esm/hmac.js +3 -2
- package/dist/esm/lifecycle.d.ts +55 -0
- package/dist/esm/lifecycle.js +163 -0
- package/dist/esm/models/AgentAsyncTaskSync.d.ts +48 -0
- package/dist/esm/models/AgentAsyncTaskSync.js +61 -0
- package/dist/esm/models/AgentFile.d.ts +2 -2
- package/dist/esm/models/AgentFile.js +2 -2
- package/dist/esm/models/AgentGoal.d.ts +117 -0
- package/dist/esm/models/AgentGoal.js +127 -0
- package/dist/esm/models/AgentGoalConfig.d.ts +34 -0
- package/dist/esm/models/AgentGoalConfig.js +47 -0
- package/dist/esm/models/AgentGoalHistory.d.ts +43 -0
- package/dist/esm/models/AgentGoalHistory.js +56 -0
- package/dist/esm/models/AgentGoalRefInput.d.ts +34 -0
- package/dist/esm/models/AgentGoalRefInput.js +47 -0
- package/dist/esm/models/AgentGoalView.d.ts +31 -0
- package/dist/esm/models/AgentGoalView.js +44 -0
- package/dist/esm/models/AgentsConfig.d.ts +7 -2
- package/dist/esm/models/AgentsConfig.js +5 -2
- package/dist/esm/models/AiChatAwaitingInputBriefEvent.d.ts +2 -2
- package/dist/esm/models/AiChatAwaitingInputBriefEvent.js +2 -2
- package/dist/esm/models/AiChatBriefEvent.d.ts +2 -8
- package/dist/esm/models/AiChatBriefEvent.js +2 -12
- package/dist/esm/models/AiChatBriefEventList.d.ts +2 -2
- package/dist/esm/models/AiChatBriefEventList.js +2 -2
- package/dist/esm/models/AiChatCompactorWarningBriefEvent.d.ts +2 -2
- package/dist/esm/models/AiChatCompactorWarningBriefEvent.js +2 -2
- package/dist/esm/models/AiChatCompressorContextEndBriefEvent.d.ts +2 -2
- package/dist/esm/models/AiChatCompressorContextEndBriefEvent.js +2 -2
- package/dist/esm/models/AiChatCompressorContextStartBriefEvent.d.ts +2 -2
- package/dist/esm/models/AiChatCompressorContextStartBriefEvent.js +2 -2
- package/dist/esm/models/AiChatEndBriefEvent.d.ts +2 -2
- package/dist/esm/models/AiChatEndBriefEvent.js +2 -2
- package/dist/esm/models/AiChatErrorBriefEvent.d.ts +2 -2
- package/dist/esm/models/AiChatErrorBriefEvent.js +2 -2
- package/dist/esm/models/AiChatEventsBatch.d.ts +2 -2
- package/dist/esm/models/AiChatEventsBatch.js +2 -2
- package/dist/esm/models/AiChatEventsBatchInput.d.ts +2 -2
- package/dist/esm/models/AiChatEventsBatchInput.js +2 -2
- package/dist/esm/models/AiChatEventsBatchSkipped.d.ts +2 -2
- package/dist/esm/models/AiChatEventsBatchSkipped.js +2 -2
- package/dist/esm/models/AiChatFileRef.d.ts +2 -2
- package/dist/esm/models/AiChatFileRef.js +2 -2
- package/dist/esm/models/AiChatInput.d.ts +10 -2
- package/dist/esm/models/AiChatInput.js +6 -2
- package/dist/esm/models/AiChatManualInterruptBriefEvent.d.ts +2 -2
- package/dist/esm/models/AiChatManualInterruptBriefEvent.js +2 -2
- package/dist/esm/models/AiChatMessageBriefEvent.d.ts +2 -2
- package/dist/esm/models/AiChatMessageBriefEvent.js +2 -2
- package/dist/esm/models/AiChatMessageEvent.d.ts +2 -2
- package/dist/esm/models/AiChatMessageEvent.js +2 -2
- package/dist/esm/models/AiChatStartBriefEvent.d.ts +2 -2
- package/dist/esm/models/AiChatStartBriefEvent.js +2 -2
- package/dist/esm/models/AiChatStreamInput.d.ts +2 -2
- package/dist/esm/models/AiChatStreamInput.js +2 -2
- package/dist/esm/models/AiChatSubAgentCallBriefEvent.d.ts +2 -2
- package/dist/esm/models/AiChatSubAgentCallBriefEvent.js +2 -2
- package/dist/esm/models/AiChatSubmission.d.ts +2 -2
- package/dist/esm/models/AiChatSubmission.js +2 -2
- package/dist/esm/models/AiChatThinkBriefEvent.d.ts +2 -2
- package/dist/esm/models/AiChatThinkBriefEvent.js +2 -2
- package/dist/esm/models/AiChatToolExecutionBriefEvent.d.ts +2 -2
- package/dist/esm/models/AiChatToolExecutionBriefEvent.js +2 -2
- package/dist/esm/models/AiChatUserQueryBriefEvent.d.ts +2 -2
- package/dist/esm/models/AiChatUserQueryBriefEvent.js +2 -2
- package/dist/esm/models/ArtifactInfo.d.ts +2 -2
- package/dist/esm/models/ArtifactInfo.js +2 -2
- package/dist/esm/models/AskUserQuestionExtensionContent.d.ts +2 -2
- package/dist/esm/models/AskUserQuestionExtensionContent.js +2 -2
- package/dist/esm/models/AskUserQuestionExtensionToolExtension.d.ts +2 -2
- package/dist/esm/models/AskUserQuestionExtensionToolExtension.js +2 -2
- package/dist/esm/models/AskUserQuestionOption.d.ts +2 -2
- package/dist/esm/models/AskUserQuestionOption.js +2 -2
- package/dist/esm/models/AsyncTask.d.ts +2 -2
- package/dist/esm/models/AsyncTask.js +2 -2
- package/dist/esm/models/AsyncTaskPage.d.ts +2 -2
- package/dist/esm/models/AsyncTaskPage.js +2 -2
- package/dist/esm/models/AttachmentExtension.d.ts +2 -2
- package/dist/esm/models/AttachmentExtension.js +2 -2
- package/dist/esm/models/BooleanChartColumn.d.ts +2 -2
- package/dist/esm/models/BooleanChartColumn.js +2 -2
- package/dist/esm/models/ChartColumnData.d.ts +2 -2
- package/dist/esm/models/ChartColumnData.js +2 -2
- package/dist/esm/models/ChartNumberFormat.d.ts +2 -2
- package/dist/esm/models/ChartNumberFormat.js +2 -2
- package/dist/esm/models/ChartQualitySummary.d.ts +2 -2
- package/dist/esm/models/ChartQualitySummary.js +2 -2
- package/dist/esm/models/ChartSeries.d.ts +2 -2
- package/dist/esm/models/ChartSeries.js +2 -2
- package/dist/esm/models/ChartSpec.d.ts +2 -2
- package/dist/esm/models/ChartSpec.js +2 -2
- package/dist/esm/models/ChartTimeContext.d.ts +2 -2
- package/dist/esm/models/ChartTimeContext.js +2 -2
- package/dist/esm/models/ChatModelConfig.d.ts +2 -2
- package/dist/esm/models/ChatModelConfig.js +2 -2
- package/dist/esm/models/ChatModelSpec.d.ts +2 -2
- package/dist/esm/models/ChatModelSpec.js +2 -2
- package/dist/esm/models/ChatStreamProbeEvent.d.ts +2 -2
- package/dist/esm/models/ChatStreamProbeEvent.js +2 -2
- package/dist/esm/models/ChatStreamProbeInput.d.ts +2 -2
- package/dist/esm/models/ChatStreamProbeInput.js +2 -2
- package/dist/esm/models/CitationMetadata.d.ts +2 -2
- package/dist/esm/models/CitationMetadata.js +2 -2
- package/dist/esm/models/CitationMetadataList.d.ts +2 -2
- package/dist/esm/models/CitationMetadataList.js +2 -2
- package/dist/esm/models/CodeMessage.d.ts +2 -2
- package/dist/esm/models/CodeMessage.js +2 -2
- package/dist/esm/models/ConfirmUploadInput.d.ts +2 -2
- package/dist/esm/models/ConfirmUploadInput.js +2 -2
- package/dist/esm/models/ConversationActivity.d.ts +2 -2
- package/dist/esm/models/ConversationActivity.js +2 -2
- package/dist/esm/models/ConversationActivityBatchInput.d.ts +2 -2
- package/dist/esm/models/ConversationActivityBatchInput.js +2 -2
- package/dist/esm/models/ConversationActivityList.d.ts +2 -2
- package/dist/esm/models/ConversationActivityList.js +2 -2
- package/dist/esm/models/ConversationConfig.d.ts +7 -3
- package/dist/esm/models/ConversationConfig.js +9 -3
- package/dist/esm/models/ConversationContextUsage.d.ts +2 -2
- package/dist/esm/models/ConversationContextUsage.js +2 -2
- package/dist/esm/models/ConversationGroup.d.ts +42 -0
- package/dist/esm/models/ConversationGroup.js +56 -0
- package/dist/esm/models/ConversationGroupDeleted.d.ts +34 -0
- package/dist/esm/models/ConversationGroupDeleted.js +47 -0
- package/dist/esm/models/ConversationGroupList.d.ts +31 -0
- package/dist/esm/models/ConversationGroupList.js +44 -0
- package/dist/esm/models/ConversationGroupNameInput.d.ts +30 -0
- package/dist/esm/models/ConversationGroupNameInput.js +43 -0
- package/dist/esm/models/ConversationIds.d.ts +2 -2
- package/dist/esm/models/ConversationIds.js +2 -2
- package/dist/esm/models/ConversationMessage.d.ts +2 -2
- package/dist/esm/models/ConversationMessage.js +2 -2
- package/dist/esm/models/ConversationMessagePage.d.ts +2 -2
- package/dist/esm/models/ConversationMessagePage.js +2 -2
- package/dist/esm/models/ConversationMessageSync.d.ts +39 -0
- package/dist/esm/models/ConversationMessageSync.js +52 -0
- package/dist/esm/models/ConversationMetadata.d.ts +63 -0
- package/dist/esm/models/ConversationMetadata.js +76 -0
- package/dist/esm/models/ConversationReadReceipt.d.ts +2 -2
- package/dist/esm/models/ConversationReadReceipt.js +2 -2
- package/dist/esm/models/ConversationReadReceiptInput.d.ts +2 -2
- package/dist/esm/models/ConversationReadReceiptInput.js +2 -2
- package/dist/esm/models/ConversationStats.d.ts +2 -2
- package/dist/esm/models/ConversationStats.js +2 -2
- package/dist/esm/models/ConversationStatusInput.d.ts +2 -2
- package/dist/esm/models/ConversationStatusInput.js +2 -2
- package/dist/esm/models/ConversationSummary.d.ts +10 -2
- package/dist/esm/models/ConversationSummary.js +6 -2
- package/dist/esm/models/ConversationSummaryList.d.ts +7 -2
- package/dist/esm/models/ConversationSummaryList.js +7 -2
- package/dist/esm/models/ConversationTitle.d.ts +2 -2
- package/dist/esm/models/ConversationTitle.js +2 -2
- package/dist/esm/models/ConversationTitleInput.d.ts +2 -2
- package/dist/esm/models/ConversationTitleInput.js +2 -2
- package/dist/esm/models/ConversationUserMessage.d.ts +8 -6
- package/dist/esm/models/ConversationUserMessage.js +6 -4
- package/dist/esm/models/CreateFileInput.d.ts +2 -2
- package/dist/esm/models/CreateFileInput.js +2 -2
- package/dist/esm/models/DecimalChartColumn.d.ts +2 -2
- package/dist/esm/models/DecimalChartColumn.js +2 -2
- package/dist/esm/models/DefaultModel.d.ts +2 -2
- package/dist/esm/models/DefaultModel.js +2 -2
- package/dist/esm/models/DoubleChartColumn.d.ts +2 -2
- package/dist/esm/models/DoubleChartColumn.js +2 -2
- package/dist/esm/models/EditAgentGoalInput.d.ts +38 -0
- package/dist/esm/models/EditAgentGoalInput.js +51 -0
- package/dist/esm/models/FieldError.d.ts +2 -2
- package/dist/esm/models/FieldError.js +2 -2
- package/dist/esm/models/FileExists.d.ts +2 -2
- package/dist/esm/models/FileExists.js +2 -2
- package/dist/esm/models/GeneratePreSignedUrlInput.d.ts +2 -2
- package/dist/esm/models/GeneratePreSignedUrlInput.js +2 -2
- package/dist/esm/models/GeneratePreSignedUrlOutput.d.ts +2 -2
- package/dist/esm/models/GeneratePreSignedUrlOutput.js +2 -2
- package/dist/esm/models/ImageGenerationExtensionContent.d.ts +2 -2
- package/dist/esm/models/ImageGenerationExtensionContent.js +2 -2
- package/dist/esm/models/ImageGenerationExtensionToolExtension.d.ts +2 -2
- package/dist/esm/models/ImageGenerationExtensionToolExtension.js +2 -2
- package/dist/esm/models/InputTokenBreakdown.d.ts +2 -2
- package/dist/esm/models/InputTokenBreakdown.js +2 -2
- package/dist/esm/models/InstantChartColumn.d.ts +2 -2
- package/dist/esm/models/InstantChartColumn.js +2 -2
- package/dist/esm/models/IntegerChartColumn.d.ts +2 -2
- package/dist/esm/models/IntegerChartColumn.js +2 -2
- package/dist/esm/models/JsRunScriptExtensionContent.d.ts +2 -2
- package/dist/esm/models/JsRunScriptExtensionContent.js +2 -2
- package/dist/esm/models/JsRunScriptExtensionToolExtension.d.ts +2 -2
- package/dist/esm/models/JsRunScriptExtensionToolExtension.js +2 -2
- package/dist/esm/models/JsRunScriptResultExtensionContent.d.ts +2 -2
- package/dist/esm/models/JsRunScriptResultExtensionContent.js +2 -2
- package/dist/esm/models/JsRunScriptResultExtensionToolExtension.d.ts +2 -2
- package/dist/esm/models/JsRunScriptResultExtensionToolExtension.js +2 -2
- package/dist/esm/models/LocalDateChartColumn.d.ts +2 -2
- package/dist/esm/models/LocalDateChartColumn.js +2 -2
- package/dist/esm/models/LocalDateTimeChartColumn.d.ts +2 -2
- package/dist/esm/models/LocalDateTimeChartColumn.js +2 -2
- package/dist/esm/models/LocalTimeChartColumn.d.ts +2 -2
- package/dist/esm/models/LocalTimeChartColumn.js +2 -2
- package/dist/esm/models/MathFormulaExtensionContent.d.ts +2 -2
- package/dist/esm/models/MathFormulaExtensionContent.js +2 -2
- package/dist/esm/models/MathFormulaExtensionToolExtension.d.ts +2 -2
- package/dist/esm/models/MathFormulaExtensionToolExtension.js +2 -2
- package/dist/esm/models/MathResultExtensionContent.d.ts +2 -2
- package/dist/esm/models/MathResultExtensionContent.js +2 -2
- package/dist/esm/models/MathResultExtensionToolExtension.d.ts +2 -2
- package/dist/esm/models/MathResultExtensionToolExtension.js +2 -2
- package/dist/esm/models/MediaAttachment.d.ts +2 -2
- package/dist/esm/models/MediaAttachment.js +2 -2
- package/dist/esm/models/ModelConfig.d.ts +2 -2
- package/dist/esm/models/ModelConfig.js +2 -2
- package/dist/esm/models/ModelKeyGroup.d.ts +2 -2
- package/dist/esm/models/ModelKeyGroup.js +2 -2
- package/dist/esm/models/MultimodalMediaAttachment.d.ts +2 -2
- package/dist/esm/models/MultimodalMediaAttachment.js +2 -2
- package/dist/esm/models/OpenApiToken.d.ts +34 -0
- package/dist/esm/models/OpenApiToken.js +48 -0
- package/dist/esm/models/OperationResult.d.ts +2 -2
- package/dist/esm/models/OperationResult.js +2 -2
- package/dist/esm/models/PageInfo.d.ts +2 -2
- package/dist/esm/models/PageInfo.js +2 -2
- package/dist/esm/models/PlanApprovalExtensionContent.d.ts +2 -2
- package/dist/esm/models/PlanApprovalExtensionContent.js +2 -2
- package/dist/esm/models/PlanApprovalExtensionToolExtension.d.ts +2 -2
- package/dist/esm/models/PlanApprovalExtensionToolExtension.js +2 -2
- package/dist/esm/models/PlanApprovalInput.d.ts +2 -2
- package/dist/esm/models/PlanApprovalInput.js +2 -2
- package/dist/esm/models/PlanStatus.d.ts +2 -2
- package/dist/esm/models/PlanStatus.js +2 -2
- package/dist/esm/models/PreSignedReadUrl.d.ts +2 -2
- package/dist/esm/models/PreSignedReadUrl.js +2 -2
- package/dist/esm/models/ReturnedReference.d.ts +2 -2
- package/dist/esm/models/ReturnedReference.js +2 -2
- package/dist/esm/models/SkillResourceExtensionContent.d.ts +2 -2
- package/dist/esm/models/SkillResourceExtensionContent.js +2 -2
- package/dist/esm/models/SkillResourceExtensionToolExtension.d.ts +2 -2
- package/dist/esm/models/SkillResourceExtensionToolExtension.js +2 -2
- package/dist/esm/models/SqlChartDataset.d.ts +2 -2
- package/dist/esm/models/SqlChartDataset.js +2 -2
- package/dist/esm/models/SqlChartResultExtensionContent.d.ts +2 -2
- package/dist/esm/models/SqlChartResultExtensionContent.js +2 -2
- package/dist/esm/models/SqlChartResultExtensionToolExtension.d.ts +2 -2
- package/dist/esm/models/SqlChartResultExtensionToolExtension.js +2 -2
- package/dist/esm/models/SqlQueryExtensionContent.d.ts +2 -2
- package/dist/esm/models/SqlQueryExtensionContent.js +2 -2
- package/dist/esm/models/SqlQueryExtensionToolExtension.d.ts +2 -2
- package/dist/esm/models/SqlQueryExtensionToolExtension.js +2 -2
- package/dist/esm/models/SqlQueryResultExtensionContent.d.ts +2 -2
- package/dist/esm/models/SqlQueryResultExtensionContent.js +2 -2
- package/dist/esm/models/SqlQueryResultExtensionToolExtension.d.ts +2 -2
- package/dist/esm/models/SqlQueryResultExtensionToolExtension.js +2 -2
- package/dist/esm/models/SqlQueryResultPage.d.ts +2 -2
- package/dist/esm/models/SqlQueryResultPage.js +2 -2
- package/dist/esm/models/SqlQueryResultRow.d.ts +2 -2
- package/dist/esm/models/SqlQueryResultRow.js +2 -2
- package/dist/esm/models/SqlResultColumnSchema.d.ts +2 -2
- package/dist/esm/models/SqlResultColumnSchema.js +2 -2
- package/dist/esm/models/StringChartColumn.d.ts +2 -2
- package/dist/esm/models/StringChartColumn.js +2 -2
- package/dist/esm/models/SubagentTask.d.ts +106 -0
- package/dist/esm/models/SubagentTask.js +104 -0
- package/dist/esm/models/SubagentTaskArtifact.d.ts +69 -0
- package/dist/esm/models/SubagentTaskArtifact.js +75 -0
- package/dist/esm/models/SubagentTaskPage.d.ts +36 -0
- package/dist/esm/models/SubagentTaskPage.js +49 -0
- package/dist/esm/models/SubagentTaskResult.d.ts +53 -0
- package/dist/esm/models/SubagentTaskResult.js +64 -0
- package/dist/esm/models/SubagentTaskSync.d.ts +47 -0
- package/dist/esm/models/SubagentTaskSync.js +60 -0
- package/dist/esm/models/TaskProgressExtensionContent.d.ts +2 -2
- package/dist/esm/models/TaskProgressExtensionContent.js +2 -2
- package/dist/esm/models/TaskProgressExtensionToolExtension.d.ts +2 -2
- package/dist/esm/models/TaskProgressExtensionToolExtension.js +2 -2
- package/dist/esm/models/TaskSummary.d.ts +2 -2
- package/dist/esm/models/TaskSummary.js +2 -2
- package/dist/esm/models/ToolExtension.d.ts +2 -2
- package/dist/esm/models/ToolExtension.js +2 -2
- package/dist/esm/models/UnknownAiChatBriefEvent.d.ts +2 -2
- package/dist/esm/models/UnknownAiChatBriefEvent.js +2 -2
- package/dist/esm/models/UnknownToolExtension.d.ts +2 -2
- package/dist/esm/models/UnknownToolExtension.js +2 -2
- package/dist/esm/models/UpdateConversationGroupInput.d.ts +30 -0
- package/dist/esm/models/UpdateConversationGroupInput.js +43 -0
- package/dist/esm/models/Usage.d.ts +2 -2
- package/dist/esm/models/Usage.js +2 -2
- package/dist/esm/models/UserInputAnswerInput.d.ts +2 -2
- package/dist/esm/models/UserInputAnswerInput.js +2 -2
- package/dist/esm/models/UserInputStatus.d.ts +2 -2
- package/dist/esm/models/UserInputStatus.js +2 -2
- package/dist/esm/models/ValidationError.d.ts +2 -2
- package/dist/esm/models/ValidationError.js +2 -2
- package/dist/esm/models/VariableBinding.d.ts +2 -2
- package/dist/esm/models/VariableBinding.js +2 -2
- package/dist/esm/models/WorkspaceArtifactList.d.ts +2 -2
- package/dist/esm/models/WorkspaceArtifactList.js +2 -2
- package/dist/esm/models/WorkspaceFile.d.ts +2 -2
- package/dist/esm/models/WorkspaceFile.js +2 -2
- package/dist/esm/models/WorkspaceFilePage.d.ts +2 -2
- package/dist/esm/models/WorkspaceFilePage.js +2 -2
- package/dist/esm/models/WorkspaceNonFileArtifact.d.ts +4 -4
- package/dist/esm/models/WorkspaceNonFileArtifact.js +5 -3
- package/dist/esm/models/index.d.ts +148 -3519
- package/dist/esm/models/index.js +150 -307
- package/dist/esm/runtime.d.ts +3 -2
- package/dist/esm/runtime.js +24 -14
- package/dist/esm/sse.d.ts +2 -8
- package/dist/esm/sse.js +37 -26
- package/dist/esm/subscription.d.ts +72 -0
- package/dist/esm/subscription.js +282 -0
- package/dist/esm/token.d.ts +20 -0
- package/dist/esm/token.js +38 -0
- package/dist/events.js +1 -1
- package/dist/hmac.d.ts +1 -1
- package/dist/hmac.js +3 -2
- package/dist/lifecycle.d.ts +55 -0
- package/dist/lifecycle.js +175 -0
- package/dist/models/AgentAsyncTaskSync.d.ts +48 -0
- package/dist/models/AgentAsyncTaskSync.js +68 -0
- package/dist/models/AgentFile.d.ts +2 -2
- package/dist/models/AgentFile.js +2 -2
- package/dist/models/AgentGoal.d.ts +117 -0
- package/dist/models/AgentGoal.js +135 -0
- package/dist/models/AgentGoalConfig.d.ts +34 -0
- package/dist/models/AgentGoalConfig.js +54 -0
- package/dist/models/AgentGoalHistory.d.ts +43 -0
- package/dist/models/AgentGoalHistory.js +63 -0
- package/dist/models/AgentGoalRefInput.d.ts +34 -0
- package/dist/models/AgentGoalRefInput.js +54 -0
- package/dist/models/AgentGoalView.d.ts +31 -0
- package/dist/models/AgentGoalView.js +51 -0
- package/dist/models/AgentsConfig.d.ts +7 -2
- package/dist/models/AgentsConfig.js +5 -2
- package/dist/models/AiChatAwaitingInputBriefEvent.d.ts +2 -2
- package/dist/models/AiChatAwaitingInputBriefEvent.js +2 -2
- package/dist/models/AiChatBriefEvent.d.ts +2 -8
- package/dist/models/AiChatBriefEvent.js +2 -12
- package/dist/models/AiChatBriefEventList.d.ts +2 -2
- package/dist/models/AiChatBriefEventList.js +2 -2
- package/dist/models/AiChatCompactorWarningBriefEvent.d.ts +2 -2
- package/dist/models/AiChatCompactorWarningBriefEvent.js +2 -2
- package/dist/models/AiChatCompressorContextEndBriefEvent.d.ts +2 -2
- package/dist/models/AiChatCompressorContextEndBriefEvent.js +2 -2
- package/dist/models/AiChatCompressorContextStartBriefEvent.d.ts +2 -2
- package/dist/models/AiChatCompressorContextStartBriefEvent.js +2 -2
- package/dist/models/AiChatEndBriefEvent.d.ts +2 -2
- package/dist/models/AiChatEndBriefEvent.js +2 -2
- package/dist/models/AiChatErrorBriefEvent.d.ts +2 -2
- package/dist/models/AiChatErrorBriefEvent.js +2 -2
- package/dist/models/AiChatEventsBatch.d.ts +2 -2
- package/dist/models/AiChatEventsBatch.js +2 -2
- package/dist/models/AiChatEventsBatchInput.d.ts +2 -2
- package/dist/models/AiChatEventsBatchInput.js +2 -2
- package/dist/models/AiChatEventsBatchSkipped.d.ts +2 -2
- package/dist/models/AiChatEventsBatchSkipped.js +2 -2
- package/dist/models/AiChatFileRef.d.ts +2 -2
- package/dist/models/AiChatFileRef.js +2 -2
- package/dist/models/AiChatInput.d.ts +10 -2
- package/dist/models/AiChatInput.js +6 -2
- package/dist/models/AiChatManualInterruptBriefEvent.d.ts +2 -2
- package/dist/models/AiChatManualInterruptBriefEvent.js +2 -2
- package/dist/models/AiChatMessageBriefEvent.d.ts +2 -2
- package/dist/models/AiChatMessageBriefEvent.js +2 -2
- package/dist/models/AiChatMessageEvent.d.ts +2 -2
- package/dist/models/AiChatMessageEvent.js +2 -2
- package/dist/models/AiChatStartBriefEvent.d.ts +2 -2
- package/dist/models/AiChatStartBriefEvent.js +2 -2
- package/dist/models/AiChatStreamInput.d.ts +2 -2
- package/dist/models/AiChatStreamInput.js +2 -2
- package/dist/models/AiChatSubAgentCallBriefEvent.d.ts +2 -2
- package/dist/models/AiChatSubAgentCallBriefEvent.js +2 -2
- package/dist/models/AiChatSubmission.d.ts +2 -2
- package/dist/models/AiChatSubmission.js +2 -2
- package/dist/models/AiChatThinkBriefEvent.d.ts +2 -2
- package/dist/models/AiChatThinkBriefEvent.js +2 -2
- package/dist/models/AiChatToolExecutionBriefEvent.d.ts +2 -2
- package/dist/models/AiChatToolExecutionBriefEvent.js +2 -2
- package/dist/models/AiChatUserQueryBriefEvent.d.ts +2 -2
- package/dist/models/AiChatUserQueryBriefEvent.js +2 -2
- package/dist/models/ArtifactInfo.d.ts +2 -2
- package/dist/models/ArtifactInfo.js +2 -2
- package/dist/models/AskUserQuestionExtensionContent.d.ts +2 -2
- package/dist/models/AskUserQuestionExtensionContent.js +2 -2
- package/dist/models/AskUserQuestionExtensionToolExtension.d.ts +2 -2
- package/dist/models/AskUserQuestionExtensionToolExtension.js +2 -2
- package/dist/models/AskUserQuestionOption.d.ts +2 -2
- package/dist/models/AskUserQuestionOption.js +2 -2
- package/dist/models/AsyncTask.d.ts +2 -2
- package/dist/models/AsyncTask.js +2 -2
- package/dist/models/AsyncTaskPage.d.ts +2 -2
- package/dist/models/AsyncTaskPage.js +2 -2
- package/dist/models/AttachmentExtension.d.ts +2 -2
- package/dist/models/AttachmentExtension.js +2 -2
- package/dist/models/BooleanChartColumn.d.ts +2 -2
- package/dist/models/BooleanChartColumn.js +2 -2
- package/dist/models/ChartColumnData.d.ts +2 -2
- package/dist/models/ChartColumnData.js +2 -2
- package/dist/models/ChartNumberFormat.d.ts +2 -2
- package/dist/models/ChartNumberFormat.js +2 -2
- package/dist/models/ChartQualitySummary.d.ts +2 -2
- package/dist/models/ChartQualitySummary.js +2 -2
- package/dist/models/ChartSeries.d.ts +2 -2
- package/dist/models/ChartSeries.js +2 -2
- package/dist/models/ChartSpec.d.ts +2 -2
- package/dist/models/ChartSpec.js +2 -2
- package/dist/models/ChartTimeContext.d.ts +2 -2
- package/dist/models/ChartTimeContext.js +2 -2
- package/dist/models/ChatModelConfig.d.ts +2 -2
- package/dist/models/ChatModelConfig.js +2 -2
- package/dist/models/ChatModelSpec.d.ts +2 -2
- package/dist/models/ChatModelSpec.js +2 -2
- package/dist/models/ChatStreamProbeEvent.d.ts +2 -2
- package/dist/models/ChatStreamProbeEvent.js +2 -2
- package/dist/models/ChatStreamProbeInput.d.ts +2 -2
- package/dist/models/ChatStreamProbeInput.js +2 -2
- package/dist/models/CitationMetadata.d.ts +2 -2
- package/dist/models/CitationMetadata.js +2 -2
- package/dist/models/CitationMetadataList.d.ts +2 -2
- package/dist/models/CitationMetadataList.js +2 -2
- package/dist/models/CodeMessage.d.ts +2 -2
- package/dist/models/CodeMessage.js +2 -2
- package/dist/models/ConfirmUploadInput.d.ts +2 -2
- package/dist/models/ConfirmUploadInput.js +2 -2
- package/dist/models/ConversationActivity.d.ts +2 -2
- package/dist/models/ConversationActivity.js +2 -2
- package/dist/models/ConversationActivityBatchInput.d.ts +2 -2
- package/dist/models/ConversationActivityBatchInput.js +2 -2
- package/dist/models/ConversationActivityList.d.ts +2 -2
- package/dist/models/ConversationActivityList.js +2 -2
- package/dist/models/ConversationConfig.d.ts +7 -3
- package/dist/models/ConversationConfig.js +9 -3
- package/dist/models/ConversationContextUsage.d.ts +2 -2
- package/dist/models/ConversationContextUsage.js +2 -2
- package/dist/models/ConversationGroup.d.ts +42 -0
- package/dist/models/ConversationGroup.js +63 -0
- package/dist/models/ConversationGroupDeleted.d.ts +34 -0
- package/dist/models/ConversationGroupDeleted.js +54 -0
- package/dist/models/ConversationGroupList.d.ts +31 -0
- package/dist/models/ConversationGroupList.js +51 -0
- package/dist/models/ConversationGroupNameInput.d.ts +30 -0
- package/dist/models/ConversationGroupNameInput.js +50 -0
- package/dist/models/ConversationIds.d.ts +2 -2
- package/dist/models/ConversationIds.js +2 -2
- package/dist/models/ConversationMessage.d.ts +2 -2
- package/dist/models/ConversationMessage.js +2 -2
- package/dist/models/ConversationMessagePage.d.ts +2 -2
- package/dist/models/ConversationMessagePage.js +2 -2
- package/dist/models/ConversationMessageSync.d.ts +39 -0
- package/dist/models/ConversationMessageSync.js +59 -0
- package/dist/models/ConversationMetadata.d.ts +63 -0
- package/dist/models/ConversationMetadata.js +84 -0
- package/dist/models/ConversationReadReceipt.d.ts +2 -2
- package/dist/models/ConversationReadReceipt.js +2 -2
- package/dist/models/ConversationReadReceiptInput.d.ts +2 -2
- package/dist/models/ConversationReadReceiptInput.js +2 -2
- package/dist/models/ConversationStats.d.ts +2 -2
- package/dist/models/ConversationStats.js +2 -2
- package/dist/models/ConversationStatusInput.d.ts +2 -2
- package/dist/models/ConversationStatusInput.js +2 -2
- package/dist/models/ConversationSummary.d.ts +10 -2
- package/dist/models/ConversationSummary.js +6 -2
- package/dist/models/ConversationSummaryList.d.ts +7 -2
- package/dist/models/ConversationSummaryList.js +7 -2
- package/dist/models/ConversationTitle.d.ts +2 -2
- package/dist/models/ConversationTitle.js +2 -2
- package/dist/models/ConversationTitleInput.d.ts +2 -2
- package/dist/models/ConversationTitleInput.js +2 -2
- package/dist/models/ConversationUserMessage.d.ts +8 -6
- package/dist/models/ConversationUserMessage.js +6 -4
- package/dist/models/CreateFileInput.d.ts +2 -2
- package/dist/models/CreateFileInput.js +2 -2
- package/dist/models/DecimalChartColumn.d.ts +2 -2
- package/dist/models/DecimalChartColumn.js +2 -2
- package/dist/models/DefaultModel.d.ts +2 -2
- package/dist/models/DefaultModel.js +2 -2
- package/dist/models/DoubleChartColumn.d.ts +2 -2
- package/dist/models/DoubleChartColumn.js +2 -2
- package/dist/models/EditAgentGoalInput.d.ts +38 -0
- package/dist/models/EditAgentGoalInput.js +58 -0
- package/dist/models/FieldError.d.ts +2 -2
- package/dist/models/FieldError.js +2 -2
- package/dist/models/FileExists.d.ts +2 -2
- package/dist/models/FileExists.js +2 -2
- package/dist/models/GeneratePreSignedUrlInput.d.ts +2 -2
- package/dist/models/GeneratePreSignedUrlInput.js +2 -2
- package/dist/models/GeneratePreSignedUrlOutput.d.ts +2 -2
- package/dist/models/GeneratePreSignedUrlOutput.js +2 -2
- package/dist/models/ImageGenerationExtensionContent.d.ts +2 -2
- package/dist/models/ImageGenerationExtensionContent.js +2 -2
- package/dist/models/ImageGenerationExtensionToolExtension.d.ts +2 -2
- package/dist/models/ImageGenerationExtensionToolExtension.js +2 -2
- package/dist/models/InputTokenBreakdown.d.ts +2 -2
- package/dist/models/InputTokenBreakdown.js +2 -2
- package/dist/models/InstantChartColumn.d.ts +2 -2
- package/dist/models/InstantChartColumn.js +2 -2
- package/dist/models/IntegerChartColumn.d.ts +2 -2
- package/dist/models/IntegerChartColumn.js +2 -2
- package/dist/models/JsRunScriptExtensionContent.d.ts +2 -2
- package/dist/models/JsRunScriptExtensionContent.js +2 -2
- package/dist/models/JsRunScriptExtensionToolExtension.d.ts +2 -2
- package/dist/models/JsRunScriptExtensionToolExtension.js +2 -2
- package/dist/models/JsRunScriptResultExtensionContent.d.ts +2 -2
- package/dist/models/JsRunScriptResultExtensionContent.js +2 -2
- package/dist/models/JsRunScriptResultExtensionToolExtension.d.ts +2 -2
- package/dist/models/JsRunScriptResultExtensionToolExtension.js +2 -2
- package/dist/models/LocalDateChartColumn.d.ts +2 -2
- package/dist/models/LocalDateChartColumn.js +2 -2
- package/dist/models/LocalDateTimeChartColumn.d.ts +2 -2
- package/dist/models/LocalDateTimeChartColumn.js +2 -2
- package/dist/models/LocalTimeChartColumn.d.ts +2 -2
- package/dist/models/LocalTimeChartColumn.js +2 -2
- package/dist/models/MathFormulaExtensionContent.d.ts +2 -2
- package/dist/models/MathFormulaExtensionContent.js +2 -2
- package/dist/models/MathFormulaExtensionToolExtension.d.ts +2 -2
- package/dist/models/MathFormulaExtensionToolExtension.js +2 -2
- package/dist/models/MathResultExtensionContent.d.ts +2 -2
- package/dist/models/MathResultExtensionContent.js +2 -2
- package/dist/models/MathResultExtensionToolExtension.d.ts +2 -2
- package/dist/models/MathResultExtensionToolExtension.js +2 -2
- package/dist/models/MediaAttachment.d.ts +2 -2
- package/dist/models/MediaAttachment.js +2 -2
- package/dist/models/ModelConfig.d.ts +2 -2
- package/dist/models/ModelConfig.js +2 -2
- package/dist/models/ModelKeyGroup.d.ts +2 -2
- package/dist/models/ModelKeyGroup.js +2 -2
- package/dist/models/MultimodalMediaAttachment.d.ts +2 -2
- package/dist/models/MultimodalMediaAttachment.js +2 -2
- package/dist/models/OpenApiToken.d.ts +34 -0
- package/dist/models/OpenApiToken.js +55 -0
- package/dist/models/OperationResult.d.ts +2 -2
- package/dist/models/OperationResult.js +2 -2
- package/dist/models/PageInfo.d.ts +2 -2
- package/dist/models/PageInfo.js +2 -2
- package/dist/models/PlanApprovalExtensionContent.d.ts +2 -2
- package/dist/models/PlanApprovalExtensionContent.js +2 -2
- package/dist/models/PlanApprovalExtensionToolExtension.d.ts +2 -2
- package/dist/models/PlanApprovalExtensionToolExtension.js +2 -2
- package/dist/models/PlanApprovalInput.d.ts +2 -2
- package/dist/models/PlanApprovalInput.js +2 -2
- package/dist/models/PlanStatus.d.ts +2 -2
- package/dist/models/PlanStatus.js +2 -2
- package/dist/models/PreSignedReadUrl.d.ts +2 -2
- package/dist/models/PreSignedReadUrl.js +2 -2
- package/dist/models/ReturnedReference.d.ts +2 -2
- package/dist/models/ReturnedReference.js +2 -2
- package/dist/models/SkillResourceExtensionContent.d.ts +2 -2
- package/dist/models/SkillResourceExtensionContent.js +2 -2
- package/dist/models/SkillResourceExtensionToolExtension.d.ts +2 -2
- package/dist/models/SkillResourceExtensionToolExtension.js +2 -2
- package/dist/models/SqlChartDataset.d.ts +2 -2
- package/dist/models/SqlChartDataset.js +2 -2
- package/dist/models/SqlChartResultExtensionContent.d.ts +2 -2
- package/dist/models/SqlChartResultExtensionContent.js +2 -2
- package/dist/models/SqlChartResultExtensionToolExtension.d.ts +2 -2
- package/dist/models/SqlChartResultExtensionToolExtension.js +2 -2
- package/dist/models/SqlQueryExtensionContent.d.ts +2 -2
- package/dist/models/SqlQueryExtensionContent.js +2 -2
- package/dist/models/SqlQueryExtensionToolExtension.d.ts +2 -2
- package/dist/models/SqlQueryExtensionToolExtension.js +2 -2
- package/dist/models/SqlQueryResultExtensionContent.d.ts +2 -2
- package/dist/models/SqlQueryResultExtensionContent.js +2 -2
- package/dist/models/SqlQueryResultExtensionToolExtension.d.ts +2 -2
- package/dist/models/SqlQueryResultExtensionToolExtension.js +2 -2
- package/dist/models/SqlQueryResultPage.d.ts +2 -2
- package/dist/models/SqlQueryResultPage.js +2 -2
- package/dist/models/SqlQueryResultRow.d.ts +2 -2
- package/dist/models/SqlQueryResultRow.js +2 -2
- package/dist/models/SqlResultColumnSchema.d.ts +2 -2
- package/dist/models/SqlResultColumnSchema.js +2 -2
- package/dist/models/StringChartColumn.d.ts +2 -2
- package/dist/models/StringChartColumn.js +2 -2
- package/dist/models/SubagentTask.d.ts +106 -0
- package/dist/models/SubagentTask.js +111 -0
- package/dist/models/SubagentTaskArtifact.d.ts +69 -0
- package/dist/models/SubagentTaskArtifact.js +83 -0
- package/dist/models/SubagentTaskPage.d.ts +36 -0
- package/dist/models/SubagentTaskPage.js +56 -0
- package/dist/models/SubagentTaskResult.d.ts +53 -0
- package/dist/models/SubagentTaskResult.js +71 -0
- package/dist/models/SubagentTaskSync.d.ts +47 -0
- package/dist/models/SubagentTaskSync.js +67 -0
- package/dist/models/TaskProgressExtensionContent.d.ts +2 -2
- package/dist/models/TaskProgressExtensionContent.js +2 -2
- package/dist/models/TaskProgressExtensionToolExtension.d.ts +2 -2
- package/dist/models/TaskProgressExtensionToolExtension.js +2 -2
- package/dist/models/TaskSummary.d.ts +2 -2
- package/dist/models/TaskSummary.js +2 -2
- package/dist/models/ToolExtension.d.ts +2 -2
- package/dist/models/ToolExtension.js +2 -2
- package/dist/models/UnknownAiChatBriefEvent.d.ts +2 -2
- package/dist/models/UnknownAiChatBriefEvent.js +2 -2
- package/dist/models/UnknownToolExtension.d.ts +2 -2
- package/dist/models/UnknownToolExtension.js +2 -2
- package/dist/models/UpdateConversationGroupInput.d.ts +30 -0
- package/dist/models/UpdateConversationGroupInput.js +50 -0
- package/dist/models/Usage.d.ts +2 -2
- package/dist/models/Usage.js +2 -2
- package/dist/models/UserInputAnswerInput.d.ts +2 -2
- package/dist/models/UserInputAnswerInput.js +2 -2
- package/dist/models/UserInputStatus.d.ts +2 -2
- package/dist/models/UserInputStatus.js +2 -2
- package/dist/models/ValidationError.d.ts +2 -2
- package/dist/models/ValidationError.js +2 -2
- package/dist/models/VariableBinding.d.ts +2 -2
- package/dist/models/VariableBinding.js +2 -2
- package/dist/models/WorkspaceArtifactList.d.ts +2 -2
- package/dist/models/WorkspaceArtifactList.js +2 -2
- package/dist/models/WorkspaceFile.d.ts +2 -2
- package/dist/models/WorkspaceFile.js +2 -2
- package/dist/models/WorkspaceFilePage.d.ts +2 -2
- package/dist/models/WorkspaceFilePage.js +2 -2
- package/dist/models/WorkspaceNonFileArtifact.d.ts +4 -4
- package/dist/models/WorkspaceNonFileArtifact.js +5 -3
- package/dist/models/index.d.ts +148 -3519
- package/dist/models/index.js +164 -308
- package/dist/runtime.d.ts +3 -2
- package/dist/runtime.js +28 -18
- package/dist/sse.d.ts +2 -8
- package/dist/sse.js +37 -26
- package/dist/subscription.d.ts +72 -0
- package/dist/subscription.js +287 -0
- package/dist/token.d.ts +20 -0
- package/dist/token.js +41 -0
- package/package.json +21 -5
- package/dist/esm/models/AiChatRequestBriefEvent.d.ts +0 -47
- package/dist/esm/models/AiChatRequestBriefEvent.js +0 -59
- package/dist/esm/models/AiChatResponseBriefEvent.d.ts +0 -47
- package/dist/esm/models/AiChatResponseBriefEvent.js +0 -61
- package/dist/esm/models/AssistantChatMessage.d.ts +0 -54
- package/dist/esm/models/AssistantChatMessage.js +0 -62
- package/dist/esm/models/ChatMessage.d.ts +0 -33
- package/dist/esm/models/ChatMessage.js +0 -57
- package/dist/esm/models/ChatOptions.d.ts +0 -54
- package/dist/esm/models/ChatOptions.js +0 -53
- package/dist/esm/models/ConversationShareCreated.d.ts +0 -46
- package/dist/esm/models/ConversationShareCreated.js +0 -58
- package/dist/esm/models/ConversationShareInput.d.ts +0 -34
- package/dist/esm/models/ConversationShareInput.js +0 -44
- package/dist/esm/models/ConversationShareList.d.ts +0 -31
- package/dist/esm/models/ConversationShareList.js +0 -44
- package/dist/esm/models/ConversationShareRecord.d.ts +0 -58
- package/dist/esm/models/ConversationShareRecord.js +0 -70
- package/dist/esm/models/ConversationShareRevoked.d.ts +0 -30
- package/dist/esm/models/ConversationShareRevoked.js +0 -43
- package/dist/esm/models/SystemChatMessage.d.ts +0 -45
- package/dist/esm/models/SystemChatMessage.js +0 -57
- package/dist/esm/models/ToolCall.d.ts +0 -42
- package/dist/esm/models/ToolCall.js +0 -55
- package/dist/esm/models/ToolResponse.d.ts +0 -46
- package/dist/esm/models/ToolResponse.js +0 -59
- package/dist/esm/models/ToolResponseChatMessage.d.ts +0 -46
- package/dist/esm/models/ToolResponseChatMessage.js +0 -58
- package/dist/esm/models/UserChatMessage.d.ts +0 -55
- package/dist/esm/models/UserChatMessage.js +0 -63
- package/dist/models/AiChatRequestBriefEvent.d.ts +0 -47
- package/dist/models/AiChatRequestBriefEvent.js +0 -67
- package/dist/models/AiChatResponseBriefEvent.d.ts +0 -47
- package/dist/models/AiChatResponseBriefEvent.js +0 -69
- package/dist/models/AssistantChatMessage.d.ts +0 -54
- package/dist/models/AssistantChatMessage.js +0 -70
- package/dist/models/ChatMessage.d.ts +0 -33
- package/dist/models/ChatMessage.js +0 -63
- package/dist/models/ChatOptions.d.ts +0 -54
- package/dist/models/ChatOptions.js +0 -60
- package/dist/models/ConversationShareCreated.d.ts +0 -46
- package/dist/models/ConversationShareCreated.js +0 -65
- package/dist/models/ConversationShareInput.d.ts +0 -34
- package/dist/models/ConversationShareInput.js +0 -51
- package/dist/models/ConversationShareList.d.ts +0 -31
- package/dist/models/ConversationShareList.js +0 -51
- package/dist/models/ConversationShareRecord.d.ts +0 -58
- package/dist/models/ConversationShareRecord.js +0 -77
- package/dist/models/ConversationShareRevoked.d.ts +0 -30
- package/dist/models/ConversationShareRevoked.js +0 -50
- package/dist/models/SystemChatMessage.d.ts +0 -45
- package/dist/models/SystemChatMessage.js +0 -65
- package/dist/models/ToolCall.d.ts +0 -42
- package/dist/models/ToolCall.js +0 -62
- package/dist/models/ToolResponse.d.ts +0 -46
- package/dist/models/ToolResponse.js +0 -66
- package/dist/models/ToolResponseChatMessage.d.ts +0 -46
- package/dist/models/ToolResponseChatMessage.js +0 -66
- package/dist/models/UserChatMessage.d.ts +0 -55
- package/dist/models/UserChatMessage.js +0 -71
package/dist/esm/bound.d.ts
CHANGED
|
@@ -1,33 +1,137 @@
|
|
|
1
|
-
import { ConfigurationApi as GeneratedConfigurationApi, ChatApi as GeneratedChatApi, ConversationsApi as GeneratedConversationsApi, SQLApi as GeneratedSQLApi, MessagesApi as GeneratedMessagesApi, EventsApi as GeneratedEventsApi, InteractionsApi as GeneratedInteractionsApi, FilesApi as GeneratedFilesApi, KnowledgeApi as GeneratedKnowledgeApi, WorkspaceApi as GeneratedWorkspaceApi, type GetConversationConfigRequest, type CreateChatRequest, type ContinueChatRequest, type DeleteConversationRequest, type StreamChatEventsRequest, type ProbeEventStreamRequest, type InterruptConversationRequest, type CompactConversationRequest, type GetConversationContextUsageRequest, type ListConversationsRequest, type QueryConversationActivitiesRequest, type MarkConversationReadRequest, type GetConversationTitleRequest, type UpdateConversationTitleRequest, type UpdateConversationStatusRequest, type GetSqlQueryResultRequest, type GetSqlQueryChartDataRequest, type ExportSqlQueryResultRequest, type ListConversationMessagesRequest, type GetConversationMessageRequest, type ListConversationAsyncTasksRequest, type GetConversationAsyncTaskRequest, type
|
|
1
|
+
import { ConfigurationApi as GeneratedConfigurationApi, ChatApi as GeneratedChatApi, ConversationsApi as GeneratedConversationsApi, SQLApi as GeneratedSQLApi, MessagesApi as GeneratedMessagesApi, EventsApi as GeneratedEventsApi, InteractionsApi as GeneratedInteractionsApi, FilesApi as GeneratedFilesApi, KnowledgeApi as GeneratedKnowledgeApi, WorkspaceApi as GeneratedWorkspaceApi, type GetAgentsConfigRequest, type GetConversationConfigRequest, type CreateChatRequest, type ContinueChatRequest, type DeleteConversationRequest, type GetConversationSummaryRequest, type StreamChatEventsRequest, type ProbeEventStreamRequest, type InterruptConversationRequest, type CompactConversationRequest, type GetConversationContextUsageRequest, type ListConversationsRequest, type ListActiveConversationsRequest, type ListUnreadConversationsRequest, type QueryConversationActivitiesRequest, type MarkConversationReadRequest, type GetConversationStatsRequest, type GetConversationTitleRequest, type UpdateConversationTitleRequest, type UpdateConversationStatusRequest, type GetSqlQueryResultRequest, type GetSqlQueryChartDataRequest, type ExportSqlQueryResultRequest, type ListConversationMessagesRequest, type GetConversationMessageRequest, type ListConversationAsyncTasksRequest, type SyncConversationAsyncTasksRequest, type GetConversationAsyncTaskRequest, type ListConversationSubagentsRequest, type SyncConversationSubagentsRequest, type GetConversationSubagentRequest, type CancelConversationSubagentRequest, type GetConversationSubagentResultRequest, type CancelQueuedMessageRequest, type GetChatEventsRequest, type GetChatEventsBatchRequest, type ApprovePlanRequest, type GetPlanStatusRequest, type GetUserInputStatusRequest, type AnswerUserInputRequest, type CreatePreSignedUploadRequest, type ConfirmPreSignedUploadRequest, type CreateFileByContentMd5Request, type FileExistsByContentMd5Request, type GetConversationFilePreviewRequest, type GetPlanIntermediateFilePreviewRequest, type GetCitationMetadataBatchRequest, type GetCitationMetadataRequest, type ListWorkspaceArtifactsRequest, type GetWorkspaceFilePreviewRequest, type CreateOpenApiTokenRequest, type ListConversationGroupsRequest, type CreateConversationGroupRequest, type RenameConversationGroupRequest, type DeleteConversationGroupRequest, type MoveConversationToGroupRequest, type SyncConversationMessagesRequest, type GetMessagePlanStatusRequest, type GetGoalRequest, type EditGoalRequest, type GetGoalHistoryRequest, type PauseGoalRequest, type ResumeGoalRequest, type ClearGoalRequest } from './apis';
|
|
2
2
|
import { type ChatStreamProbeEvent } from './models/ChatStreamProbeEvent';
|
|
3
3
|
import { type AiChatBriefEvent } from './events';
|
|
4
|
-
|
|
4
|
+
import { type DownloadResponse, type RequestOptions } from './lifecycle';
|
|
5
|
+
import { type ChatSubscription, type StreamOptions } from './subscription';
|
|
6
|
+
type BoundRawRequest = (method: string, suffix: string, bodyJson: string | undefined, query: URLSearchParams | undefined, accept: string, requestId?: string, signal?: AbortSignal) => Promise<Response>;
|
|
5
7
|
/** Query values and optional request headers that are not bound by the client. */
|
|
6
|
-
export type
|
|
8
|
+
export type GetAgentsConfigOptions = Omit<GetAgentsConfigRequest, 'channelId'> & RequestOptions;
|
|
7
9
|
/** Query values and optional request headers that are not bound by the client. */
|
|
8
|
-
export type
|
|
10
|
+
export type GetConversationConfigOptions = Omit<GetConversationConfigRequest, 'channelId' | 'conversationId'> & RequestOptions;
|
|
9
11
|
/** Query values and optional request headers that are not bound by the client. */
|
|
10
|
-
export type
|
|
12
|
+
export type CreateChatOptions = Omit<CreateChatRequest, 'channelId' | 'aiChatInput'> & RequestOptions;
|
|
11
13
|
/** Query values and optional request headers that are not bound by the client. */
|
|
12
|
-
export type
|
|
14
|
+
export type ContinueChatOptions = Omit<ContinueChatRequest, 'channelId' | 'conversationId' | 'aiChatInput'> & RequestOptions;
|
|
13
15
|
/** Query values and optional request headers that are not bound by the client. */
|
|
14
|
-
export type
|
|
16
|
+
export type DeleteConversationOptions = Omit<DeleteConversationRequest, 'channelId' | 'conversationId'> & RequestOptions;
|
|
15
17
|
/** Query values and optional request headers that are not bound by the client. */
|
|
16
|
-
export type
|
|
18
|
+
export type GetConversationSummaryOptions = Omit<GetConversationSummaryRequest, 'channelId' | 'conversationId'> & RequestOptions;
|
|
17
19
|
/** Query values and optional request headers that are not bound by the client. */
|
|
18
|
-
export type
|
|
20
|
+
export type StreamChatEventsOptions = Omit<StreamChatEventsRequest, 'channelId' | 'conversationId' | 'aiChatStreamInput'> & StreamOptions;
|
|
19
21
|
/** Query values and optional request headers that are not bound by the client. */
|
|
20
|
-
export type
|
|
22
|
+
export type ProbeEventStreamOptions = Omit<ProbeEventStreamRequest, 'channelId' | 'chatStreamProbeInput'> & StreamOptions;
|
|
21
23
|
/** Query values and optional request headers that are not bound by the client. */
|
|
22
|
-
export type
|
|
24
|
+
export type InterruptConversationOptions = Omit<InterruptConversationRequest, 'channelId' | 'conversationId'> & RequestOptions;
|
|
23
25
|
/** Query values and optional request headers that are not bound by the client. */
|
|
24
|
-
export type
|
|
26
|
+
export type CompactConversationOptions = Omit<CompactConversationRequest, 'channelId' | 'conversationId'> & RequestOptions;
|
|
25
27
|
/** Query values and optional request headers that are not bound by the client. */
|
|
26
|
-
export type
|
|
28
|
+
export type GetConversationContextUsageOptions = Omit<GetConversationContextUsageRequest, 'channelId' | 'conversationId'> & RequestOptions;
|
|
27
29
|
/** Query values and optional request headers that are not bound by the client. */
|
|
28
|
-
export type
|
|
30
|
+
export type ListConversationsOptions = Omit<ListConversationsRequest, 'channelId'> & RequestOptions;
|
|
29
31
|
/** Query values and optional request headers that are not bound by the client. */
|
|
30
|
-
export type
|
|
32
|
+
export type ListActiveConversationsOptions = Omit<ListActiveConversationsRequest, 'channelId'> & RequestOptions;
|
|
33
|
+
/** Query values and optional request headers that are not bound by the client. */
|
|
34
|
+
export type ListUnreadConversationsOptions = Omit<ListUnreadConversationsRequest, 'channelId'> & RequestOptions;
|
|
35
|
+
/** Query values and optional request headers that are not bound by the client. */
|
|
36
|
+
export type QueryConversationActivitiesOptions = Omit<QueryConversationActivitiesRequest, 'channelId' | 'conversationActivityBatchInput'> & RequestOptions;
|
|
37
|
+
/** Query values and optional request headers that are not bound by the client. */
|
|
38
|
+
export type MarkConversationReadOptions = Omit<MarkConversationReadRequest, 'channelId' | 'conversationId' | 'conversationReadReceiptInput'> & RequestOptions;
|
|
39
|
+
/** Query values and optional request headers that are not bound by the client. */
|
|
40
|
+
export type GetConversationStatsOptions = Omit<GetConversationStatsRequest, 'channelId'> & RequestOptions;
|
|
41
|
+
/** Query values and optional request headers that are not bound by the client. */
|
|
42
|
+
export type GetConversationTitleOptions = Omit<GetConversationTitleRequest, 'channelId' | 'conversationId'> & RequestOptions;
|
|
43
|
+
/** Query values and optional request headers that are not bound by the client. */
|
|
44
|
+
export type UpdateConversationTitleOptions = Omit<UpdateConversationTitleRequest, 'channelId' | 'conversationId' | 'conversationTitleInput'> & RequestOptions;
|
|
45
|
+
/** Query values and optional request headers that are not bound by the client. */
|
|
46
|
+
export type UpdateConversationStatusOptions = Omit<UpdateConversationStatusRequest, 'channelId' | 'conversationId' | 'conversationStatusInput'> & RequestOptions;
|
|
47
|
+
/** Query values and optional request headers that are not bound by the client. */
|
|
48
|
+
export type GetSqlQueryResultOptions = Omit<GetSqlQueryResultRequest, 'channelId' | 'conversationId' | 'resultId'> & RequestOptions;
|
|
49
|
+
/** Query values and optional request headers that are not bound by the client. */
|
|
50
|
+
export type GetSqlQueryChartDataOptions = Omit<GetSqlQueryChartDataRequest, 'channelId' | 'conversationId' | 'resultId'> & RequestOptions;
|
|
51
|
+
/** Query values and optional request headers that are not bound by the client. */
|
|
52
|
+
export type ExportSqlQueryResultOptions = Omit<ExportSqlQueryResultRequest, 'channelId' | 'conversationId' | 'resultId'> & RequestOptions;
|
|
53
|
+
/** Query values and optional request headers that are not bound by the client. */
|
|
54
|
+
export type ListConversationMessagesOptions = Omit<ListConversationMessagesRequest, 'channelId' | 'conversationId'> & RequestOptions;
|
|
55
|
+
/** Query values and optional request headers that are not bound by the client. */
|
|
56
|
+
export type GetConversationMessageOptions = Omit<GetConversationMessageRequest, 'channelId' | 'conversationId' | 'messageId'> & RequestOptions;
|
|
57
|
+
/** Query values and optional request headers that are not bound by the client. */
|
|
58
|
+
export type ListConversationAsyncTasksOptions = Omit<ListConversationAsyncTasksRequest, 'channelId' | 'conversationId'> & RequestOptions;
|
|
59
|
+
/** Query values and optional request headers that are not bound by the client. */
|
|
60
|
+
export type SyncConversationAsyncTasksOptions = Omit<SyncConversationAsyncTasksRequest, 'channelId' | 'conversationId'> & RequestOptions;
|
|
61
|
+
/** Query values and optional request headers that are not bound by the client. */
|
|
62
|
+
export type GetConversationAsyncTaskOptions = Omit<GetConversationAsyncTaskRequest, 'channelId' | 'conversationId' | 'asyncTaskId'> & RequestOptions;
|
|
63
|
+
/** Query values and optional request headers that are not bound by the client. */
|
|
64
|
+
export type ListConversationSubagentsOptions = Omit<ListConversationSubagentsRequest, 'channelId' | 'conversationId'> & RequestOptions;
|
|
65
|
+
/** Query values and optional request headers that are not bound by the client. */
|
|
66
|
+
export type SyncConversationSubagentsOptions = Omit<SyncConversationSubagentsRequest, 'channelId' | 'conversationId'> & RequestOptions;
|
|
67
|
+
/** Query values and optional request headers that are not bound by the client. */
|
|
68
|
+
export type GetConversationSubagentOptions = Omit<GetConversationSubagentRequest, 'channelId' | 'conversationId' | 'subagentTaskId'> & RequestOptions;
|
|
69
|
+
/** Query values and optional request headers that are not bound by the client. */
|
|
70
|
+
export type CancelConversationSubagentOptions = Omit<CancelConversationSubagentRequest, 'channelId' | 'conversationId' | 'subagentTaskId'> & RequestOptions;
|
|
71
|
+
/** Query values and optional request headers that are not bound by the client. */
|
|
72
|
+
export type GetConversationSubagentResultOptions = Omit<GetConversationSubagentResultRequest, 'channelId' | 'conversationId' | 'subagentTaskId'> & RequestOptions;
|
|
73
|
+
/** Query values and optional request headers that are not bound by the client. */
|
|
74
|
+
export type CancelQueuedMessageOptions = Omit<CancelQueuedMessageRequest, 'channelId' | 'conversationId' | 'messageId'> & RequestOptions;
|
|
75
|
+
/** Query values and optional request headers that are not bound by the client. */
|
|
76
|
+
export type GetChatEventsOptions = Omit<GetChatEventsRequest, 'channelId'> & RequestOptions;
|
|
77
|
+
/** Query values and optional request headers that are not bound by the client. */
|
|
78
|
+
export type GetChatEventsBatchOptions = Omit<GetChatEventsBatchRequest, 'channelId' | 'aiChatEventsBatchInput'> & RequestOptions;
|
|
79
|
+
/** Query values and optional request headers that are not bound by the client. */
|
|
80
|
+
export type ApprovePlanOptions = Omit<ApprovePlanRequest, 'channelId' | 'planApprovalInput'> & RequestOptions;
|
|
81
|
+
/** Query values and optional request headers that are not bound by the client. */
|
|
82
|
+
export type GetPlanStatusOptions = Omit<GetPlanStatusRequest, 'channelId' | 'planId'> & RequestOptions;
|
|
83
|
+
/** Query values and optional request headers that are not bound by the client. */
|
|
84
|
+
export type GetUserInputStatusOptions = Omit<GetUserInputStatusRequest, 'channelId' | 'questionId'> & RequestOptions;
|
|
85
|
+
/** Query values and optional request headers that are not bound by the client. */
|
|
86
|
+
export type AnswerUserInputOptions = Omit<AnswerUserInputRequest, 'channelId' | 'userInputAnswerInput'> & RequestOptions;
|
|
87
|
+
/** Query values and optional request headers that are not bound by the client. */
|
|
88
|
+
export type CreatePreSignedUploadOptions = Omit<CreatePreSignedUploadRequest, 'channelId' | 'generatePreSignedUrlInput'> & RequestOptions;
|
|
89
|
+
/** Query values and optional request headers that are not bound by the client. */
|
|
90
|
+
export type ConfirmPreSignedUploadOptions = Omit<ConfirmPreSignedUploadRequest, 'channelId' | 'confirmUploadInput'> & RequestOptions;
|
|
91
|
+
/** Query values and optional request headers that are not bound by the client. */
|
|
92
|
+
export type CreateFileByContentMd5Options = Omit<CreateFileByContentMd5Request, 'channelId' | 'createFileInput'> & RequestOptions;
|
|
93
|
+
/** Query values and optional request headers that are not bound by the client. */
|
|
94
|
+
export type FileExistsByContentMd5Options = Omit<FileExistsByContentMd5Request, 'channelId'> & RequestOptions;
|
|
95
|
+
/** Query values and optional request headers that are not bound by the client. */
|
|
96
|
+
export type GetConversationFilePreviewOptions = Omit<GetConversationFilePreviewRequest, 'channelId' | 'conversationId' | 'fileId'> & RequestOptions;
|
|
97
|
+
/** Query values and optional request headers that are not bound by the client. */
|
|
98
|
+
export type GetPlanIntermediateFilePreviewOptions = Omit<GetPlanIntermediateFilePreviewRequest, 'channelId' | 'conversationId' | 'messageId' | 'fileId'> & RequestOptions;
|
|
99
|
+
/** Query values and optional request headers that are not bound by the client. */
|
|
100
|
+
export type GetCitationMetadataBatchOptions = Omit<GetCitationMetadataBatchRequest, 'channelId' | 'returnedReference'> & RequestOptions;
|
|
101
|
+
/** Query values and optional request headers that are not bound by the client. */
|
|
102
|
+
export type GetCitationMetadataOptions = Omit<GetCitationMetadataRequest, 'channelId' | 'citationType' | 'referenceId'> & RequestOptions;
|
|
103
|
+
/** Query values and optional request headers that are not bound by the client. */
|
|
104
|
+
export type ListWorkspaceArtifactsOptions = Omit<ListWorkspaceArtifactsRequest, 'channelId' | 'conversationId'> & RequestOptions;
|
|
105
|
+
/** Query values and optional request headers that are not bound by the client. */
|
|
106
|
+
export type GetWorkspaceFilePreviewOptions = Omit<GetWorkspaceFilePreviewRequest, 'channelId' | 'conversationId'> & RequestOptions;
|
|
107
|
+
/** Query values and optional request headers that are not bound by the client. */
|
|
108
|
+
export type CreateOpenApiTokenOptions = Omit<CreateOpenApiTokenRequest, 'channelId'> & RequestOptions;
|
|
109
|
+
/** Query values and optional request headers that are not bound by the client. */
|
|
110
|
+
export type ListConversationGroupsOptions = Omit<ListConversationGroupsRequest, 'channelId'> & RequestOptions;
|
|
111
|
+
/** Query values and optional request headers that are not bound by the client. */
|
|
112
|
+
export type CreateConversationGroupOptions = Omit<CreateConversationGroupRequest, 'channelId' | 'conversationGroupNameInput'> & RequestOptions;
|
|
113
|
+
/** Query values and optional request headers that are not bound by the client. */
|
|
114
|
+
export type RenameConversationGroupOptions = Omit<RenameConversationGroupRequest, 'channelId' | 'groupId' | 'conversationGroupNameInput'> & RequestOptions;
|
|
115
|
+
/** Query values and optional request headers that are not bound by the client. */
|
|
116
|
+
export type DeleteConversationGroupOptions = Omit<DeleteConversationGroupRequest, 'channelId' | 'groupId'> & RequestOptions;
|
|
117
|
+
/** Query values and optional request headers that are not bound by the client. */
|
|
118
|
+
export type MoveConversationToGroupOptions = Omit<MoveConversationToGroupRequest, 'channelId' | 'conversationId' | 'updateConversationGroupInput'> & RequestOptions;
|
|
119
|
+
/** Query values and optional request headers that are not bound by the client. */
|
|
120
|
+
export type SyncConversationMessagesOptions = Omit<SyncConversationMessagesRequest, 'channelId' | 'conversationId'> & RequestOptions;
|
|
121
|
+
/** Query values and optional request headers that are not bound by the client. */
|
|
122
|
+
export type GetMessagePlanStatusOptions = Omit<GetMessagePlanStatusRequest, 'channelId' | 'conversationId' | 'messageId'> & RequestOptions;
|
|
123
|
+
/** Query values and optional request headers that are not bound by the client. */
|
|
124
|
+
export type GetGoalOptions = Omit<GetGoalRequest, 'channelId' | 'conversationId'> & RequestOptions;
|
|
125
|
+
/** Query values and optional request headers that are not bound by the client. */
|
|
126
|
+
export type EditGoalOptions = Omit<EditGoalRequest, 'channelId' | 'conversationId' | 'editAgentGoalInput'> & RequestOptions;
|
|
127
|
+
/** Query values and optional request headers that are not bound by the client. */
|
|
128
|
+
export type GetGoalHistoryOptions = Omit<GetGoalHistoryRequest, 'channelId' | 'conversationId'> & RequestOptions;
|
|
129
|
+
/** Query values and optional request headers that are not bound by the client. */
|
|
130
|
+
export type PauseGoalOptions = Omit<PauseGoalRequest, 'channelId' | 'conversationId' | 'agentGoalRefInput'> & RequestOptions;
|
|
131
|
+
/** Query values and optional request headers that are not bound by the client. */
|
|
132
|
+
export type ResumeGoalOptions = Omit<ResumeGoalRequest, 'channelId' | 'conversationId' | 'agentGoalRefInput'> & RequestOptions;
|
|
133
|
+
/** Query values and optional request headers that are not bound by the client. */
|
|
134
|
+
export type ClearGoalOptions = Omit<ClearGoalRequest, 'channelId' | 'conversationId' | 'agentGoalRefInput'> & RequestOptions;
|
|
31
135
|
/** Generated APIs retained as an explicit compatibility escape hatch until 1.0. */
|
|
32
136
|
export declare class AgentsLowLevelApis {
|
|
33
137
|
readonly configuration: GeneratedConfigurationApi;
|
|
@@ -46,34 +150,42 @@ export declare class AgentsLowLevelApis {
|
|
|
46
150
|
export declare class ConfigurationApi {
|
|
47
151
|
private readonly channelId;
|
|
48
152
|
private readonly delegate;
|
|
49
|
-
|
|
153
|
+
private readonly tokenAuth;
|
|
154
|
+
constructor(channelId: string, delegate: GeneratedConfigurationApi, tokenAuth?: boolean);
|
|
50
155
|
/**
|
|
51
156
|
* 读取 Agent 配置 / Get Agent configuration
|
|
52
157
|
*
|
|
53
158
|
* @returns 契约定义的强类型响应。 / The typed response defined by the contract.
|
|
54
159
|
*/
|
|
55
|
-
getAgentsConfig(): ReturnType<GeneratedConfigurationApi['getAgentsConfig']>;
|
|
160
|
+
getAgentsConfig(options?: GetAgentsConfigOptions): ReturnType<GeneratedConfigurationApi['getAgentsConfig']>;
|
|
56
161
|
/**
|
|
57
162
|
* 读取会话配置 / Get conversation configuration
|
|
58
163
|
*
|
|
59
164
|
* @param conversationId - 会话 ID;必须属于当前外部用户。 / Conversation ID owned by the current external user.
|
|
60
165
|
* @returns 契约定义的强类型响应。 / The typed response defined by the contract.
|
|
61
166
|
*/
|
|
62
|
-
getConversationConfig(conversationId: GetConversationConfigRequest['conversationId']): ReturnType<GeneratedConfigurationApi['getConversationConfig']>;
|
|
167
|
+
getConversationConfig(conversationId: GetConversationConfigRequest['conversationId'], options?: GetConversationConfigOptions): ReturnType<GeneratedConfigurationApi['getConversationConfig']>;
|
|
168
|
+
/**
|
|
169
|
+
* 签发一次性短期渠道令牌 / Create a single-use short-lived channel token
|
|
170
|
+
*
|
|
171
|
+
* @returns 契约定义的强类型响应。 / The typed response defined by the contract.
|
|
172
|
+
*/
|
|
173
|
+
createOpenApiToken(options?: CreateOpenApiTokenOptions): ReturnType<GeneratedConfigurationApi['createOpenApiToken']>;
|
|
63
174
|
}
|
|
64
175
|
/** Channel-bound chat operations for one external user. */
|
|
65
176
|
export declare class ChatApi {
|
|
66
177
|
private readonly channelId;
|
|
67
178
|
private readonly delegate;
|
|
68
179
|
private readonly rawRequest;
|
|
69
|
-
|
|
180
|
+
private readonly subscribe;
|
|
181
|
+
constructor(channelId: string, delegate: GeneratedChatApi, rawRequest: BoundRawRequest, subscribe: (conversationId: string, input: StreamChatEventsRequest['aiChatStreamInput'], options: StreamChatEventsOptions) => ChatSubscription);
|
|
70
182
|
/**
|
|
71
183
|
* 创建会话并提交消息 / Create a conversation and submit a message
|
|
72
184
|
*
|
|
73
185
|
* @param input - 创建会话并提交消息 / Create a conversation and submit a message 的强类型请求体。 / Typed request body for createChat.
|
|
74
186
|
* @returns 契约定义的强类型响应。 / The typed response defined by the contract.
|
|
75
187
|
*/
|
|
76
|
-
createChat(input: CreateChatRequest['aiChatInput']): ReturnType<GeneratedChatApi['createChat']>;
|
|
188
|
+
createChat(input: CreateChatRequest['aiChatInput'], options?: CreateChatOptions): ReturnType<GeneratedChatApi['createChat']>;
|
|
77
189
|
/**
|
|
78
190
|
* 向已有会话提交消息 / Submit a message to an existing conversation
|
|
79
191
|
*
|
|
@@ -81,7 +193,7 @@ export declare class ChatApi {
|
|
|
81
193
|
* @param input - 向已有会话提交消息 / Submit a message to an existing conversation 的强类型请求体。 / Typed request body for continueChat.
|
|
82
194
|
* @returns 契约定义的强类型响应。 / The typed response defined by the contract.
|
|
83
195
|
*/
|
|
84
|
-
continueChat(conversationId: ContinueChatRequest['conversationId'], input: ContinueChatRequest['aiChatInput']): ReturnType<GeneratedChatApi['continueChat']>;
|
|
196
|
+
continueChat(conversationId: ContinueChatRequest['conversationId'], input: ContinueChatRequest['aiChatInput'], options?: ContinueChatOptions): ReturnType<GeneratedChatApi['continueChat']>;
|
|
85
197
|
/**
|
|
86
198
|
* 订阅消息事件流 / Stream message events
|
|
87
199
|
*
|
|
@@ -105,7 +217,7 @@ export declare class ChatApi {
|
|
|
105
217
|
* @param conversationId - 会话 ID;必须属于当前外部用户。 / Conversation ID owned by the current external user.
|
|
106
218
|
* @returns 契约定义的强类型响应。 / The typed response defined by the contract.
|
|
107
219
|
*/
|
|
108
|
-
interruptConversation(conversationId: InterruptConversationRequest['conversationId']): ReturnType<GeneratedChatApi['interruptConversation']>;
|
|
220
|
+
interruptConversation(conversationId: InterruptConversationRequest['conversationId'], options?: InterruptConversationOptions): ReturnType<GeneratedChatApi['interruptConversation']>;
|
|
109
221
|
/**
|
|
110
222
|
* 压缩会话上下文 / Compact conversation context
|
|
111
223
|
*
|
|
@@ -114,6 +226,54 @@ export declare class ChatApi {
|
|
|
114
226
|
* @returns 契约定义的强类型响应。 / The typed response defined by the contract.
|
|
115
227
|
*/
|
|
116
228
|
compactConversation(conversationId: CompactConversationRequest['conversationId'], options?: CompactConversationOptions): ReturnType<GeneratedChatApi['compactConversation']>;
|
|
229
|
+
/**
|
|
230
|
+
* 读取当前目标 / Get current goal
|
|
231
|
+
*
|
|
232
|
+
* @param conversationId - 会话 ID;必须属于当前外部用户。 / Conversation ID owned by the current external user.
|
|
233
|
+
* @returns 契约定义的强类型响应。 / The typed response defined by the contract.
|
|
234
|
+
*/
|
|
235
|
+
getGoal(conversationId: GetGoalRequest['conversationId'], options?: GetGoalOptions): ReturnType<GeneratedChatApi['getGoal']>;
|
|
236
|
+
/**
|
|
237
|
+
* 编辑目标 / Edit goal
|
|
238
|
+
*
|
|
239
|
+
* @param conversationId - 会话 ID;必须属于当前外部用户。 / Conversation ID owned by the current external user.
|
|
240
|
+
* @param input - 编辑目标 / Edit goal 的强类型请求体。 / Typed request body for editGoal.
|
|
241
|
+
* @returns 契约定义的强类型响应。 / The typed response defined by the contract.
|
|
242
|
+
*/
|
|
243
|
+
editGoal(conversationId: EditGoalRequest['conversationId'], input: EditGoalRequest['editAgentGoalInput'], options?: EditGoalOptions): ReturnType<GeneratedChatApi['editGoal']>;
|
|
244
|
+
/**
|
|
245
|
+
* 查询目标历史 / Get goal history
|
|
246
|
+
*
|
|
247
|
+
* @param conversationId - 会话 ID;必须属于当前外部用户。 / Conversation ID owned by the current external user.
|
|
248
|
+
* @param options - 查询参数与可选请求头。 / Query parameters and optional request headers.
|
|
249
|
+
* @returns 契约定义的强类型响应。 / The typed response defined by the contract.
|
|
250
|
+
*/
|
|
251
|
+
getGoalHistory(conversationId: GetGoalHistoryRequest['conversationId'], options?: GetGoalHistoryOptions): ReturnType<GeneratedChatApi['getGoalHistory']>;
|
|
252
|
+
/**
|
|
253
|
+
* 暂停目标 / Pause goal
|
|
254
|
+
*
|
|
255
|
+
* @param conversationId - 会话 ID;必须属于当前外部用户。 / Conversation ID owned by the current external user.
|
|
256
|
+
* @param input - 暂停目标 / Pause goal 的强类型请求体。 / Typed request body for pauseGoal.
|
|
257
|
+
* @returns 契约定义的强类型响应。 / The typed response defined by the contract.
|
|
258
|
+
*/
|
|
259
|
+
pauseGoal(conversationId: PauseGoalRequest['conversationId'], input: PauseGoalRequest['agentGoalRefInput'], options?: PauseGoalOptions): ReturnType<GeneratedChatApi['pauseGoal']>;
|
|
260
|
+
/**
|
|
261
|
+
* 恢复目标 / Resume goal
|
|
262
|
+
*
|
|
263
|
+
* @param conversationId - 会话 ID;必须属于当前外部用户。 / Conversation ID owned by the current external user.
|
|
264
|
+
* @param input - 恢复目标 / Resume goal 的强类型请求体。 / Typed request body for resumeGoal.
|
|
265
|
+
* @returns 契约定义的强类型响应。 / The typed response defined by the contract.
|
|
266
|
+
*/
|
|
267
|
+
resumeGoal(conversationId: ResumeGoalRequest['conversationId'], input: ResumeGoalRequest['agentGoalRefInput'], options?: ResumeGoalOptions): ReturnType<GeneratedChatApi['resumeGoal']>;
|
|
268
|
+
/**
|
|
269
|
+
* 清除目标 / Clear goal
|
|
270
|
+
*
|
|
271
|
+
* @param conversationId - 会话 ID;必须属于当前外部用户。 / Conversation ID owned by the current external user.
|
|
272
|
+
* @param input - 清除目标 / Clear goal 的强类型请求体。 / Typed request body for clearGoal.
|
|
273
|
+
* @returns 契约定义的强类型响应。 / The typed response defined by the contract.
|
|
274
|
+
*/
|
|
275
|
+
clearGoal(conversationId: ClearGoalRequest['conversationId'], input: ClearGoalRequest['agentGoalRefInput'], options?: ClearGoalOptions): ReturnType<GeneratedChatApi['clearGoal']>;
|
|
276
|
+
subscribeChatEvents(conversationId: string, input: StreamChatEventsRequest['aiChatStreamInput'], options?: StreamChatEventsOptions): ChatSubscription;
|
|
117
277
|
}
|
|
118
278
|
/** Channel-bound conversations operations for one external user. */
|
|
119
279
|
export declare class ConversationsApi {
|
|
@@ -126,14 +286,21 @@ export declare class ConversationsApi {
|
|
|
126
286
|
* @param conversationId - 会话 ID;必须属于当前外部用户。 / Conversation ID owned by the current external user.
|
|
127
287
|
* @returns 契约定义的强类型响应。 / The typed response defined by the contract.
|
|
128
288
|
*/
|
|
129
|
-
deleteConversation(conversationId: DeleteConversationRequest['conversationId']): ReturnType<GeneratedConversationsApi['deleteConversation']>;
|
|
289
|
+
deleteConversation(conversationId: DeleteConversationRequest['conversationId'], options?: DeleteConversationOptions): ReturnType<GeneratedConversationsApi['deleteConversation']>;
|
|
290
|
+
/**
|
|
291
|
+
* 读取会话摘要 / Get conversation summary
|
|
292
|
+
*
|
|
293
|
+
* @param conversationId - 会话 ID;必须属于当前外部用户。 / Conversation ID owned by the current external user.
|
|
294
|
+
* @returns 契约定义的强类型响应。 / The typed response defined by the contract.
|
|
295
|
+
*/
|
|
296
|
+
getConversationSummary(conversationId: GetConversationSummaryRequest['conversationId'], options?: GetConversationSummaryOptions): ReturnType<GeneratedConversationsApi['getConversationSummary']>;
|
|
130
297
|
/**
|
|
131
298
|
* 读取上下文占用 / Get context usage
|
|
132
299
|
*
|
|
133
300
|
* @param conversationId - 会话 ID;必须属于当前外部用户。 / Conversation ID owned by the current external user.
|
|
134
301
|
* @returns 契约定义的强类型响应。 / The typed response defined by the contract.
|
|
135
302
|
*/
|
|
136
|
-
getConversationContextUsage(conversationId: GetConversationContextUsageRequest['conversationId']): ReturnType<GeneratedConversationsApi['getConversationContextUsage']>;
|
|
303
|
+
getConversationContextUsage(conversationId: GetConversationContextUsageRequest['conversationId'], options?: GetConversationContextUsageOptions): ReturnType<GeneratedConversationsApi['getConversationContextUsage']>;
|
|
137
304
|
/**
|
|
138
305
|
* 分页查询会话 / List conversations
|
|
139
306
|
*
|
|
@@ -146,20 +313,20 @@ export declare class ConversationsApi {
|
|
|
146
313
|
*
|
|
147
314
|
* @returns 契约定义的强类型响应。 / The typed response defined by the contract.
|
|
148
315
|
*/
|
|
149
|
-
listActiveConversations(): ReturnType<GeneratedConversationsApi['listActiveConversations']>;
|
|
316
|
+
listActiveConversations(options?: ListActiveConversationsOptions): ReturnType<GeneratedConversationsApi['listActiveConversations']>;
|
|
150
317
|
/**
|
|
151
318
|
* 查询未读会话 / List unread conversations
|
|
152
319
|
*
|
|
153
320
|
* @returns 契约定义的强类型响应。 / The typed response defined by the contract.
|
|
154
321
|
*/
|
|
155
|
-
listUnreadConversations(): ReturnType<GeneratedConversationsApi['listUnreadConversations']>;
|
|
322
|
+
listUnreadConversations(options?: ListUnreadConversationsOptions): ReturnType<GeneratedConversationsApi['listUnreadConversations']>;
|
|
156
323
|
/**
|
|
157
324
|
* 批量查询会话活动 / Query conversation activities
|
|
158
325
|
*
|
|
159
326
|
* @param input - 批量查询会话活动 / Query conversation activities 的强类型请求体。 / Typed request body for queryConversationActivities.
|
|
160
327
|
* @returns 契约定义的强类型响应。 / The typed response defined by the contract.
|
|
161
328
|
*/
|
|
162
|
-
queryConversationActivities(input: QueryConversationActivitiesRequest['conversationActivityBatchInput']): ReturnType<GeneratedConversationsApi['queryConversationActivities']>;
|
|
329
|
+
queryConversationActivities(input: QueryConversationActivitiesRequest['conversationActivityBatchInput'], options?: QueryConversationActivitiesOptions): ReturnType<GeneratedConversationsApi['queryConversationActivities']>;
|
|
163
330
|
/**
|
|
164
331
|
* 推进会话已读游标 / Mark a conversation as read
|
|
165
332
|
*
|
|
@@ -167,20 +334,20 @@ export declare class ConversationsApi {
|
|
|
167
334
|
* @param input - 推进会话已读游标 / Mark a conversation as read 的强类型请求体。 / Typed request body for markConversationRead.
|
|
168
335
|
* @returns 契约定义的强类型响应。 / The typed response defined by the contract.
|
|
169
336
|
*/
|
|
170
|
-
markConversationRead(conversationId: MarkConversationReadRequest['conversationId'], input: MarkConversationReadRequest['conversationReadReceiptInput']): ReturnType<GeneratedConversationsApi['markConversationRead']>;
|
|
337
|
+
markConversationRead(conversationId: MarkConversationReadRequest['conversationId'], input: MarkConversationReadRequest['conversationReadReceiptInput'], options?: MarkConversationReadOptions): ReturnType<GeneratedConversationsApi['markConversationRead']>;
|
|
171
338
|
/**
|
|
172
339
|
* 读取会话统计 / Get conversation statistics
|
|
173
340
|
*
|
|
174
341
|
* @returns 契约定义的强类型响应。 / The typed response defined by the contract.
|
|
175
342
|
*/
|
|
176
|
-
getConversationStats(): ReturnType<GeneratedConversationsApi['getConversationStats']>;
|
|
343
|
+
getConversationStats(options?: GetConversationStatsOptions): ReturnType<GeneratedConversationsApi['getConversationStats']>;
|
|
177
344
|
/**
|
|
178
345
|
* 读取会话标题 / Get conversation title
|
|
179
346
|
*
|
|
180
347
|
* @param conversationId - 会话 ID;必须属于当前外部用户。 / Conversation ID owned by the current external user.
|
|
181
348
|
* @returns 契约定义的强类型响应。 / The typed response defined by the contract.
|
|
182
349
|
*/
|
|
183
|
-
getConversationTitle(conversationId: GetConversationTitleRequest['conversationId']): ReturnType<GeneratedConversationsApi['getConversationTitle']>;
|
|
350
|
+
getConversationTitle(conversationId: GetConversationTitleRequest['conversationId'], options?: GetConversationTitleOptions): ReturnType<GeneratedConversationsApi['getConversationTitle']>;
|
|
184
351
|
/**
|
|
185
352
|
* 更新会话标题 / Update conversation title
|
|
186
353
|
*
|
|
@@ -188,7 +355,7 @@ export declare class ConversationsApi {
|
|
|
188
355
|
* @param input - 更新会话标题 / Update conversation title 的强类型请求体。 / Typed request body for updateConversationTitle.
|
|
189
356
|
* @returns 契约定义的强类型响应。 / The typed response defined by the contract.
|
|
190
357
|
*/
|
|
191
|
-
updateConversationTitle(conversationId: UpdateConversationTitleRequest['conversationId'], input: UpdateConversationTitleRequest['conversationTitleInput']): ReturnType<GeneratedConversationsApi['updateConversationTitle']>;
|
|
358
|
+
updateConversationTitle(conversationId: UpdateConversationTitleRequest['conversationId'], input: UpdateConversationTitleRequest['conversationTitleInput'], options?: UpdateConversationTitleOptions): ReturnType<GeneratedConversationsApi['updateConversationTitle']>;
|
|
192
359
|
/**
|
|
193
360
|
* 更新会话状态 / Update conversation status
|
|
194
361
|
*
|
|
@@ -196,30 +363,43 @@ export declare class ConversationsApi {
|
|
|
196
363
|
* @param input - 更新会话状态 / Update conversation status 的强类型请求体。 / Typed request body for updateConversationStatus.
|
|
197
364
|
* @returns 契约定义的强类型响应。 / The typed response defined by the contract.
|
|
198
365
|
*/
|
|
199
|
-
updateConversationStatus(conversationId: UpdateConversationStatusRequest['conversationId'], input: UpdateConversationStatusRequest['conversationStatusInput']): ReturnType<GeneratedConversationsApi['updateConversationStatus']>;
|
|
366
|
+
updateConversationStatus(conversationId: UpdateConversationStatusRequest['conversationId'], input: UpdateConversationStatusRequest['conversationStatusInput'], options?: UpdateConversationStatusOptions): ReturnType<GeneratedConversationsApi['updateConversationStatus']>;
|
|
200
367
|
/**
|
|
201
|
-
*
|
|
368
|
+
* 查询会话分组 / List conversation groups
|
|
202
369
|
*
|
|
203
|
-
* @param conversationId - 会话 ID;必须属于当前外部用户。 / Conversation ID owned by the current external user.
|
|
204
370
|
* @returns 契约定义的强类型响应。 / The typed response defined by the contract.
|
|
205
371
|
*/
|
|
206
|
-
|
|
372
|
+
listConversationGroups(options?: ListConversationGroupsOptions): ReturnType<GeneratedConversationsApi['listConversationGroups']>;
|
|
207
373
|
/**
|
|
208
|
-
*
|
|
374
|
+
* 创建会话分组 / Create conversation group
|
|
209
375
|
*
|
|
210
|
-
* @param
|
|
211
|
-
* @
|
|
376
|
+
* @param input - 创建会话分组 / Create conversation group 的强类型请求体。 / Typed request body for createConversationGroup.
|
|
377
|
+
* @returns 契约定义的强类型响应。 / The typed response defined by the contract.
|
|
378
|
+
*/
|
|
379
|
+
createConversationGroup(input: CreateConversationGroupRequest['conversationGroupNameInput'], options?: CreateConversationGroupOptions): ReturnType<GeneratedConversationsApi['createConversationGroup']>;
|
|
380
|
+
/**
|
|
381
|
+
* 重命名会话分组 / Rename conversation group
|
|
382
|
+
*
|
|
383
|
+
* @param groupId - 字段 groupId / group id field。
|
|
384
|
+
* @param input - 重命名会话分组 / Rename conversation group 的强类型请求体。 / Typed request body for renameConversationGroup.
|
|
385
|
+
* @returns 契约定义的强类型响应。 / The typed response defined by the contract.
|
|
386
|
+
*/
|
|
387
|
+
renameConversationGroup(groupId: RenameConversationGroupRequest['groupId'], input: RenameConversationGroupRequest['conversationGroupNameInput'], options?: RenameConversationGroupOptions): ReturnType<GeneratedConversationsApi['renameConversationGroup']>;
|
|
388
|
+
/**
|
|
389
|
+
* 删除会话分组 / Delete conversation group
|
|
390
|
+
*
|
|
391
|
+
* @param groupId - 字段 groupId / group id field。
|
|
212
392
|
* @returns 契约定义的强类型响应。 / The typed response defined by the contract.
|
|
213
393
|
*/
|
|
214
|
-
|
|
394
|
+
deleteConversationGroup(groupId: DeleteConversationGroupRequest['groupId'], options?: DeleteConversationGroupOptions): ReturnType<GeneratedConversationsApi['deleteConversationGroup']>;
|
|
215
395
|
/**
|
|
216
|
-
*
|
|
396
|
+
* 移动会话分组 / Move conversation to group
|
|
217
397
|
*
|
|
218
398
|
* @param conversationId - 会话 ID;必须属于当前外部用户。 / Conversation ID owned by the current external user.
|
|
219
|
-
* @param
|
|
399
|
+
* @param input - 移动会话分组 / Move conversation to group 的强类型请求体。 / Typed request body for moveConversationToGroup.
|
|
220
400
|
* @returns 契约定义的强类型响应。 / The typed response defined by the contract.
|
|
221
401
|
*/
|
|
222
|
-
|
|
402
|
+
moveConversationToGroup(conversationId: MoveConversationToGroupRequest['conversationId'], input: MoveConversationToGroupRequest['updateConversationGroupInput'], options?: MoveConversationToGroupOptions): ReturnType<GeneratedConversationsApi['moveConversationToGroup']>;
|
|
223
403
|
}
|
|
224
404
|
/** Channel-bound sql operations for one external user. */
|
|
225
405
|
export declare class SqlApi {
|
|
@@ -242,7 +422,7 @@ export declare class SqlApi {
|
|
|
242
422
|
* @param resultId - SQL 查询结果 ID。 / SQL query-result ID.
|
|
243
423
|
* @returns 契约定义的强类型响应。 / The typed response defined by the contract.
|
|
244
424
|
*/
|
|
245
|
-
getSqlQueryChartData(conversationId: GetSqlQueryChartDataRequest['conversationId'], resultId: GetSqlQueryChartDataRequest['resultId']): ReturnType<GeneratedSQLApi['getSqlQueryChartData']>;
|
|
425
|
+
getSqlQueryChartData(conversationId: GetSqlQueryChartDataRequest['conversationId'], resultId: GetSqlQueryChartDataRequest['resultId'], options?: GetSqlQueryChartDataOptions): ReturnType<GeneratedSQLApi['getSqlQueryChartData']>;
|
|
246
426
|
/**
|
|
247
427
|
* 导出 SQL 结果 / Export SQL results
|
|
248
428
|
*
|
|
@@ -252,6 +432,7 @@ export declare class SqlApi {
|
|
|
252
432
|
* @returns 契约定义的强类型响应。 / The typed response defined by the contract.
|
|
253
433
|
*/
|
|
254
434
|
exportSqlQueryResult(conversationId: ExportSqlQueryResultRequest['conversationId'], resultId: ExportSqlQueryResultRequest['resultId'], options: ExportSqlQueryResultOptions): Promise<Uint8Array>;
|
|
435
|
+
exportSqlQueryResultWithMetadata(conversationId: ExportSqlQueryResultRequest['conversationId'], resultId: ExportSqlQueryResultRequest['resultId'], options: ExportSqlQueryResultOptions): Promise<DownloadResponse>;
|
|
255
436
|
}
|
|
256
437
|
/** Channel-bound messages operations for one external user. */
|
|
257
438
|
export declare class MessagesApi {
|
|
@@ -273,7 +454,7 @@ export declare class MessagesApi {
|
|
|
273
454
|
* @param messageId - 用户消息 ID;必须属于指定会话。 / User-message ID owned by the specified conversation.
|
|
274
455
|
* @returns 契约定义的强类型响应。 / The typed response defined by the contract.
|
|
275
456
|
*/
|
|
276
|
-
getConversationMessage(conversationId: GetConversationMessageRequest['conversationId'], messageId: GetConversationMessageRequest['messageId']): ReturnType<GeneratedMessagesApi['getConversationMessage']>;
|
|
457
|
+
getConversationMessage(conversationId: GetConversationMessageRequest['conversationId'], messageId: GetConversationMessageRequest['messageId'], options?: GetConversationMessageOptions): ReturnType<GeneratedMessagesApi['getConversationMessage']>;
|
|
277
458
|
/**
|
|
278
459
|
* 分页查询异步任务 / List asynchronous tasks
|
|
279
460
|
*
|
|
@@ -282,6 +463,14 @@ export declare class MessagesApi {
|
|
|
282
463
|
* @returns 契约定义的强类型响应。 / The typed response defined by the contract.
|
|
283
464
|
*/
|
|
284
465
|
listConversationAsyncTasks(conversationId: ListConversationAsyncTasksRequest['conversationId'], options?: ListConversationAsyncTasksOptions): ReturnType<GeneratedMessagesApi['listConversationAsyncTasks']>;
|
|
466
|
+
/**
|
|
467
|
+
* 增量同步异步任务 / Sync asynchronous task updates
|
|
468
|
+
*
|
|
469
|
+
* @param conversationId - 会话 ID;必须属于当前外部用户。 / Conversation ID owned by the current external user.
|
|
470
|
+
* @param options - 查询参数与可选请求头。 / Query parameters and optional request headers.
|
|
471
|
+
* @returns 契约定义的强类型响应。 / The typed response defined by the contract.
|
|
472
|
+
*/
|
|
473
|
+
syncConversationAsyncTasks(conversationId: SyncConversationAsyncTasksRequest['conversationId'], options?: SyncConversationAsyncTasksOptions): ReturnType<GeneratedMessagesApi['syncConversationAsyncTasks']>;
|
|
285
474
|
/**
|
|
286
475
|
* 读取异步任务 / Get an asynchronous task
|
|
287
476
|
*
|
|
@@ -289,7 +478,47 @@ export declare class MessagesApi {
|
|
|
289
478
|
* @param asyncTaskId - 异步任务 ID。 / Asynchronous task ID.
|
|
290
479
|
* @returns 契约定义的强类型响应。 / The typed response defined by the contract.
|
|
291
480
|
*/
|
|
292
|
-
getConversationAsyncTask(conversationId: GetConversationAsyncTaskRequest['conversationId'], asyncTaskId: GetConversationAsyncTaskRequest['asyncTaskId']): ReturnType<GeneratedMessagesApi['getConversationAsyncTask']>;
|
|
481
|
+
getConversationAsyncTask(conversationId: GetConversationAsyncTaskRequest['conversationId'], asyncTaskId: GetConversationAsyncTaskRequest['asyncTaskId'], options?: GetConversationAsyncTaskOptions): ReturnType<GeneratedMessagesApi['getConversationAsyncTask']>;
|
|
482
|
+
/**
|
|
483
|
+
* 分页查询子 Agent 任务 / List subagent tasks
|
|
484
|
+
*
|
|
485
|
+
* @param conversationId - 会话 ID;必须属于当前外部用户。 / Conversation ID owned by the current external user.
|
|
486
|
+
* @param options - 查询参数与可选请求头。 / Query parameters and optional request headers.
|
|
487
|
+
* @returns 契约定义的强类型响应。 / The typed response defined by the contract.
|
|
488
|
+
*/
|
|
489
|
+
listConversationSubagents(conversationId: ListConversationSubagentsRequest['conversationId'], options?: ListConversationSubagentsOptions): ReturnType<GeneratedMessagesApi['listConversationSubagents']>;
|
|
490
|
+
/**
|
|
491
|
+
* 增量同步子 Agent 状态 / Sync subagent task updates
|
|
492
|
+
*
|
|
493
|
+
* @param conversationId - 会话 ID;必须属于当前外部用户。 / Conversation ID owned by the current external user.
|
|
494
|
+
* @param options - 查询参数与可选请求头。 / Query parameters and optional request headers.
|
|
495
|
+
* @returns 契约定义的强类型响应。 / The typed response defined by the contract.
|
|
496
|
+
*/
|
|
497
|
+
syncConversationSubagents(conversationId: SyncConversationSubagentsRequest['conversationId'], options?: SyncConversationSubagentsOptions): ReturnType<GeneratedMessagesApi['syncConversationSubagents']>;
|
|
498
|
+
/**
|
|
499
|
+
* 读取子 Agent 状态 / Get a subagent task
|
|
500
|
+
*
|
|
501
|
+
* @param conversationId - 会话 ID;必须属于当前外部用户。 / Conversation ID owned by the current external user.
|
|
502
|
+
* @param subagentTaskId - 子 Agent 任务 ID。 / Subagent task ID.
|
|
503
|
+
* @returns 契约定义的强类型响应。 / The typed response defined by the contract.
|
|
504
|
+
*/
|
|
505
|
+
getConversationSubagent(conversationId: GetConversationSubagentRequest['conversationId'], subagentTaskId: GetConversationSubagentRequest['subagentTaskId'], options?: GetConversationSubagentOptions): ReturnType<GeneratedMessagesApi['getConversationSubagent']>;
|
|
506
|
+
/**
|
|
507
|
+
* 取消子 Agent 任务 / Cancel a subagent task
|
|
508
|
+
*
|
|
509
|
+
* @param conversationId - 会话 ID;必须属于当前外部用户。 / Conversation ID owned by the current external user.
|
|
510
|
+
* @param subagentTaskId - 子 Agent 任务 ID。 / Subagent task ID.
|
|
511
|
+
* @returns 契约定义的强类型响应。 / The typed response defined by the contract.
|
|
512
|
+
*/
|
|
513
|
+
cancelConversationSubagent(conversationId: CancelConversationSubagentRequest['conversationId'], subagentTaskId: CancelConversationSubagentRequest['subagentTaskId'], options?: CancelConversationSubagentOptions): ReturnType<GeneratedMessagesApi['cancelConversationSubagent']>;
|
|
514
|
+
/**
|
|
515
|
+
* 读取子 Agent 结果 / Get a subagent result
|
|
516
|
+
*
|
|
517
|
+
* @param conversationId - 会话 ID;必须属于当前外部用户。 / Conversation ID owned by the current external user.
|
|
518
|
+
* @param subagentTaskId - 子 Agent 任务 ID。 / Subagent task ID.
|
|
519
|
+
* @returns 契约定义的强类型响应。 / The typed response defined by the contract.
|
|
520
|
+
*/
|
|
521
|
+
getConversationSubagentResult(conversationId: GetConversationSubagentResultRequest['conversationId'], subagentTaskId: GetConversationSubagentResultRequest['subagentTaskId'], options?: GetConversationSubagentResultOptions): ReturnType<GeneratedMessagesApi['getConversationSubagentResult']>;
|
|
293
522
|
/**
|
|
294
523
|
* 取消排队消息 / Cancel a queued message
|
|
295
524
|
*
|
|
@@ -297,7 +526,15 @@ export declare class MessagesApi {
|
|
|
297
526
|
* @param messageId - 用户消息 ID;必须属于指定会话。 / User-message ID owned by the specified conversation.
|
|
298
527
|
* @returns 契约定义的强类型响应。 / The typed response defined by the contract.
|
|
299
528
|
*/
|
|
300
|
-
cancelQueuedMessage(conversationId: CancelQueuedMessageRequest['conversationId'], messageId: CancelQueuedMessageRequest['messageId']): ReturnType<GeneratedMessagesApi['cancelQueuedMessage']>;
|
|
529
|
+
cancelQueuedMessage(conversationId: CancelQueuedMessageRequest['conversationId'], messageId: CancelQueuedMessageRequest['messageId'], options?: CancelQueuedMessageOptions): ReturnType<GeneratedMessagesApi['cancelQueuedMessage']>;
|
|
530
|
+
/**
|
|
531
|
+
* 增量同步消息 / Sync conversation messages
|
|
532
|
+
*
|
|
533
|
+
* @param conversationId - 会话 ID;必须属于当前外部用户。 / Conversation ID owned by the current external user.
|
|
534
|
+
* @param options - 查询参数与可选请求头。 / Query parameters and optional request headers.
|
|
535
|
+
* @returns 契约定义的强类型响应。 / The typed response defined by the contract.
|
|
536
|
+
*/
|
|
537
|
+
syncConversationMessages(conversationId: SyncConversationMessagesRequest['conversationId'], options?: SyncConversationMessagesOptions): ReturnType<GeneratedMessagesApi['syncConversationMessages']>;
|
|
301
538
|
}
|
|
302
539
|
/** Channel-bound events operations for one external user. */
|
|
303
540
|
export declare class EventsApi {
|
|
@@ -317,7 +554,7 @@ export declare class EventsApi {
|
|
|
317
554
|
* @param input - 批量读取消息事件 / Get message events in batch 的强类型请求体。 / Typed request body for getChatEventsBatch.
|
|
318
555
|
* @returns 契约定义的强类型响应。 / The typed response defined by the contract.
|
|
319
556
|
*/
|
|
320
|
-
getChatEventsBatch(input: GetChatEventsBatchRequest['aiChatEventsBatchInput']): ReturnType<GeneratedEventsApi['getChatEventsBatch']>;
|
|
557
|
+
getChatEventsBatch(input: GetChatEventsBatchRequest['aiChatEventsBatchInput'], options?: GetChatEventsBatchOptions): ReturnType<GeneratedEventsApi['getChatEventsBatch']>;
|
|
321
558
|
}
|
|
322
559
|
/** Channel-bound interactions operations for one external user. */
|
|
323
560
|
export declare class InteractionsApi {
|
|
@@ -330,14 +567,14 @@ export declare class InteractionsApi {
|
|
|
330
567
|
* @param input - 提交计划审批 / Submit plan approval 的强类型请求体。 / Typed request body for approvePlan.
|
|
331
568
|
* @returns 契约定义的强类型响应。 / The typed response defined by the contract.
|
|
332
569
|
*/
|
|
333
|
-
approvePlan(input: ApprovePlanRequest['planApprovalInput']): ReturnType<GeneratedInteractionsApi['approvePlan']>;
|
|
570
|
+
approvePlan(input: ApprovePlanRequest['planApprovalInput'], options?: ApprovePlanOptions): ReturnType<GeneratedInteractionsApi['approvePlan']>;
|
|
334
571
|
/**
|
|
335
572
|
* 查询计划审批状态 / Get plan approval status
|
|
336
573
|
*
|
|
337
574
|
* @param planId - 等待审批的计划 ID。 / Pending plan-approval ID.
|
|
338
575
|
* @returns 契约定义的强类型响应。 / The typed response defined by the contract.
|
|
339
576
|
*/
|
|
340
|
-
getPlanStatus(planId: GetPlanStatusRequest['planId']): ReturnType<GeneratedInteractionsApi['getPlanStatus']>;
|
|
577
|
+
getPlanStatus(planId: GetPlanStatusRequest['planId'], options?: GetPlanStatusOptions): ReturnType<GeneratedInteractionsApi['getPlanStatus']>;
|
|
341
578
|
/**
|
|
342
579
|
* 查询用户问答状态 / Get user-input status
|
|
343
580
|
*
|
|
@@ -352,7 +589,15 @@ export declare class InteractionsApi {
|
|
|
352
589
|
* @param input - 提交用户回答 / Submit a user answer 的强类型请求体。 / Typed request body for answerUserInput.
|
|
353
590
|
* @returns 契约定义的强类型响应。 / The typed response defined by the contract.
|
|
354
591
|
*/
|
|
355
|
-
answerUserInput(input: AnswerUserInputRequest['userInputAnswerInput']): ReturnType<GeneratedInteractionsApi['answerUserInput']>;
|
|
592
|
+
answerUserInput(input: AnswerUserInputRequest['userInputAnswerInput'], options?: AnswerUserInputOptions): ReturnType<GeneratedInteractionsApi['answerUserInput']>;
|
|
593
|
+
/**
|
|
594
|
+
* 查询消息计划审批状态 / Get message plan status
|
|
595
|
+
*
|
|
596
|
+
* @param conversationId - 会话 ID;必须属于当前外部用户。 / Conversation ID owned by the current external user.
|
|
597
|
+
* @param messageId - 用户消息 ID;必须属于指定会话。 / User-message ID owned by the specified conversation.
|
|
598
|
+
* @returns 契约定义的强类型响应。 / The typed response defined by the contract.
|
|
599
|
+
*/
|
|
600
|
+
getMessagePlanStatus(conversationId: GetMessagePlanStatusRequest['conversationId'], messageId: GetMessagePlanStatusRequest['messageId'], options?: GetMessagePlanStatusOptions): ReturnType<GeneratedInteractionsApi['getMessagePlanStatus']>;
|
|
356
601
|
}
|
|
357
602
|
/** Channel-bound files operations for one external user. */
|
|
358
603
|
export declare class FilesApi {
|
|
@@ -365,21 +610,21 @@ export declare class FilesApi {
|
|
|
365
610
|
* @param input - 创建预签名上传地址 / Create a presigned upload URL 的强类型请求体。 / Typed request body for createPreSignedUpload.
|
|
366
611
|
* @returns 契约定义的强类型响应。 / The typed response defined by the contract.
|
|
367
612
|
*/
|
|
368
|
-
createPreSignedUpload(input: CreatePreSignedUploadRequest['generatePreSignedUrlInput']): ReturnType<GeneratedFilesApi['createPreSignedUpload']>;
|
|
613
|
+
createPreSignedUpload(input: CreatePreSignedUploadRequest['generatePreSignedUrlInput'], options?: CreatePreSignedUploadOptions): ReturnType<GeneratedFilesApi['createPreSignedUpload']>;
|
|
369
614
|
/**
|
|
370
615
|
* 确认预签名上传 / Confirm a presigned upload
|
|
371
616
|
*
|
|
372
617
|
* @param input - 确认预签名上传 / Confirm a presigned upload 的强类型请求体。 / Typed request body for confirmPreSignedUpload.
|
|
373
618
|
* @returns 契约定义的强类型响应。 / The typed response defined by the contract.
|
|
374
619
|
*/
|
|
375
|
-
confirmPreSignedUpload(input: ConfirmPreSignedUploadRequest['confirmUploadInput']): ReturnType<GeneratedFilesApi['confirmPreSignedUpload']>;
|
|
620
|
+
confirmPreSignedUpload(input: ConfirmPreSignedUploadRequest['confirmUploadInput'], options?: ConfirmPreSignedUploadOptions): ReturnType<GeneratedFilesApi['confirmPreSignedUpload']>;
|
|
376
621
|
/**
|
|
377
622
|
* 按 MD5 复用文件 / Reuse a file by MD5
|
|
378
623
|
*
|
|
379
624
|
* @param input - 按 MD5 复用文件 / Reuse a file by MD5 的强类型请求体。 / Typed request body for createFileByContentMd5.
|
|
380
625
|
* @returns 契约定义的强类型响应。 / The typed response defined by the contract.
|
|
381
626
|
*/
|
|
382
|
-
createFileByContentMd5(input: CreateFileByContentMd5Request['createFileInput']): ReturnType<GeneratedFilesApi['createFileByContentMd5']>;
|
|
627
|
+
createFileByContentMd5(input: CreateFileByContentMd5Request['createFileInput'], options?: CreateFileByContentMd5Options): ReturnType<GeneratedFilesApi['createFileByContentMd5']>;
|
|
383
628
|
/**
|
|
384
629
|
* 检查 MD5 文件是否存在 / Check file existence by MD5
|
|
385
630
|
*
|
|
@@ -394,7 +639,7 @@ export declare class FilesApi {
|
|
|
394
639
|
* @param fileId - 文件记录 ID。 / File record ID.
|
|
395
640
|
* @returns 契约定义的强类型响应。 / The typed response defined by the contract.
|
|
396
641
|
*/
|
|
397
|
-
getConversationFilePreview(conversationId: GetConversationFilePreviewRequest['conversationId'], fileId: GetConversationFilePreviewRequest['fileId']): ReturnType<GeneratedFilesApi['getConversationFilePreview']>;
|
|
642
|
+
getConversationFilePreview(conversationId: GetConversationFilePreviewRequest['conversationId'], fileId: GetConversationFilePreviewRequest['fileId'], options?: GetConversationFilePreviewOptions): ReturnType<GeneratedFilesApi['getConversationFilePreview']>;
|
|
398
643
|
/**
|
|
399
644
|
* 创建计划快照预览地址 / Create a plan snapshot preview URL
|
|
400
645
|
*
|
|
@@ -403,7 +648,7 @@ export declare class FilesApi {
|
|
|
403
648
|
* @param fileId - 文件记录 ID。 / File record ID.
|
|
404
649
|
* @returns 契约定义的强类型响应。 / The typed response defined by the contract.
|
|
405
650
|
*/
|
|
406
|
-
getPlanIntermediateFilePreview(conversationId: GetPlanIntermediateFilePreviewRequest['conversationId'], messageId: GetPlanIntermediateFilePreviewRequest['messageId'], fileId: GetPlanIntermediateFilePreviewRequest['fileId']): ReturnType<GeneratedFilesApi['getPlanIntermediateFilePreview']>;
|
|
651
|
+
getPlanIntermediateFilePreview(conversationId: GetPlanIntermediateFilePreviewRequest['conversationId'], messageId: GetPlanIntermediateFilePreviewRequest['messageId'], fileId: GetPlanIntermediateFilePreviewRequest['fileId'], options?: GetPlanIntermediateFilePreviewOptions): ReturnType<GeneratedFilesApi['getPlanIntermediateFilePreview']>;
|
|
407
652
|
}
|
|
408
653
|
/** Channel-bound knowledge operations for one external user. */
|
|
409
654
|
export declare class KnowledgeApi {
|
|
@@ -416,7 +661,7 @@ export declare class KnowledgeApi {
|
|
|
416
661
|
* @param input - 批量读取引用元数据 / Get citation metadata in batch 的强类型请求体。 / Typed request body for getCitationMetadataBatch.
|
|
417
662
|
* @returns 契约定义的强类型响应。 / The typed response defined by the contract.
|
|
418
663
|
*/
|
|
419
|
-
getCitationMetadataBatch(input: GetCitationMetadataBatchRequest['returnedReference']): ReturnType<GeneratedKnowledgeApi['getCitationMetadataBatch']>;
|
|
664
|
+
getCitationMetadataBatch(input: GetCitationMetadataBatchRequest['returnedReference'], options?: GetCitationMetadataBatchOptions): ReturnType<GeneratedKnowledgeApi['getCitationMetadataBatch']>;
|
|
420
665
|
/**
|
|
421
666
|
* 读取引用元数据 / Get citation metadata
|
|
422
667
|
*
|
|
@@ -424,7 +669,7 @@ export declare class KnowledgeApi {
|
|
|
424
669
|
* @param referenceId - 知识引用记录 ID。 / Knowledge-reference record ID.
|
|
425
670
|
* @returns 契约定义的强类型响应。 / The typed response defined by the contract.
|
|
426
671
|
*/
|
|
427
|
-
getCitationMetadata(citationType: GetCitationMetadataRequest['citationType'], referenceId: GetCitationMetadataRequest['referenceId']): ReturnType<GeneratedKnowledgeApi['getCitationMetadata']>;
|
|
672
|
+
getCitationMetadata(citationType: GetCitationMetadataRequest['citationType'], referenceId: GetCitationMetadataRequest['referenceId'], options?: GetCitationMetadataOptions): ReturnType<GeneratedKnowledgeApi['getCitationMetadata']>;
|
|
428
673
|
}
|
|
429
674
|
/** Channel-bound workspace operations for one external user. */
|
|
430
675
|
export declare class WorkspaceApi {
|