@alicloud/winnexo20260512 1.7.0 → 1.9.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/dist/client.d.ts +676 -258
- package/dist/client.js +1503 -294
- package/dist/client.js.map +1 -1
- package/dist/models/BatchCancelTodosRequest.d.ts +3 -3
- package/dist/models/BatchCancelTodosResponseBody.d.ts +1 -1
- package/dist/models/BatchCancelTodosShrinkRequest.d.ts +3 -3
- package/dist/models/CheckAppResourcePermissionRequest.d.ts +2 -2
- package/dist/models/CheckAppResourcePermissionResponseBody.d.ts +4 -4
- package/dist/models/CheckAppResourcePermissionsBatchRequest.d.ts +6 -6
- package/dist/models/CheckAppResourcePermissionsBatchResponseBody.d.ts +4 -4
- package/dist/models/CheckAppResourcePermissionsBatchShrinkRequest.d.ts +5 -5
- package/dist/models/ClearAutoMemoryRequest.d.ts +3 -5
- package/dist/models/ClearAutoMemoryRequest.js.map +1 -1
- package/dist/models/ConvertDirectConversationToWorkRequest.d.ts +31 -0
- package/dist/models/ConvertDirectConversationToWorkRequest.js +60 -0
- package/dist/models/ConvertDirectConversationToWorkRequest.js.map +1 -0
- package/dist/models/ConvertDirectConversationToWorkResponse.d.ts +19 -0
- package/dist/models/ConvertDirectConversationToWorkResponse.js +69 -0
- package/dist/models/ConvertDirectConversationToWorkResponse.js.map +1 -0
- package/dist/models/ConvertDirectConversationToWorkResponseBody.d.ts +117 -0
- package/dist/models/ConvertDirectConversationToWorkResponseBody.js +82 -0
- package/dist/models/ConvertDirectConversationToWorkResponseBody.js.map +1 -0
- package/dist/models/CreateConversationResponseBody.d.ts +3 -0
- package/dist/models/CreateConversationResponseBody.js.map +1 -1
- package/dist/models/CreateFreeExplorationWorkItemRequest.d.ts +67 -0
- package/dist/models/CreateFreeExplorationWorkItemRequest.js +74 -0
- package/dist/models/CreateFreeExplorationWorkItemRequest.js.map +1 -0
- package/dist/models/CreateFreeExplorationWorkItemResponse.d.ts +19 -0
- package/dist/models/CreateFreeExplorationWorkItemResponse.js +69 -0
- package/dist/models/CreateFreeExplorationWorkItemResponse.js.map +1 -0
- package/dist/models/CreateFreeExplorationWorkItemResponseBody.d.ts +101 -0
- package/dist/models/CreateFreeExplorationWorkItemResponseBody.js +84 -0
- package/dist/models/CreateFreeExplorationWorkItemResponseBody.js.map +1 -0
- package/dist/models/CreateFreeExplorationWorkItemShrinkRequest.d.ts +67 -0
- package/dist/models/CreateFreeExplorationWorkItemShrinkRequest.js +68 -0
- package/dist/models/CreateFreeExplorationWorkItemShrinkRequest.js.map +1 -0
- package/dist/models/CreateScheduledTaskRequest.d.ts +46 -47
- package/dist/models/CreateScheduledTaskRequest.js +2 -0
- package/dist/models/CreateScheduledTaskRequest.js.map +1 -1
- package/dist/models/CreateScheduledTaskResponseBody.d.ts +1 -1
- package/dist/models/CreateScheduledTaskShrinkRequest.d.ts +18 -19
- package/dist/models/CreateScheduledTaskShrinkRequest.js +2 -0
- package/dist/models/CreateScheduledTaskShrinkRequest.js.map +1 -1
- package/dist/models/CreateUserGroupRequest.d.ts +2 -2
- package/dist/models/CreateUserGroupResponseBody.d.ts +5 -5
- package/dist/models/CreateUserRequest.d.ts +7 -7
- package/dist/models/CreateUserResponseBody.d.ts +2 -2
- package/dist/models/CreateUserShrinkRequest.d.ts +7 -7
- package/dist/models/CreateWorkflowTemplateDraftVersionRequest.d.ts +6 -6
- package/dist/models/CreateWorkflowTemplateDraftVersionResponseBody.d.ts +64 -24
- package/dist/models/CreateWorkflowTemplateDraftVersionResponseBody.js +14 -0
- package/dist/models/CreateWorkflowTemplateDraftVersionResponseBody.js.map +1 -1
- package/dist/models/CreateWorkflowTemplateRequest.d.ts +6 -3
- package/dist/models/CreateWorkflowTemplateRequest.js.map +1 -1
- package/dist/models/CreateWorkflowTemplateResponseBody.d.ts +59 -19
- package/dist/models/CreateWorkflowTemplateResponseBody.js +14 -0
- package/dist/models/CreateWorkflowTemplateResponseBody.js.map +1 -1
- package/dist/models/CreateWorkflowTemplateShrinkRequest.d.ts +6 -3
- package/dist/models/CreateWorkflowTemplateShrinkRequest.js.map +1 -1
- package/dist/models/DeleteAppResourcePermissionsRequest.d.ts +8 -8
- package/dist/models/DeleteAppResourcePermissionsResponseBody.d.ts +2 -2
- package/dist/models/DeleteAppResourcePermissionsShrinkRequest.d.ts +3 -3
- package/dist/models/ExportWorkflowTemplateRequest.d.ts +3 -3
- package/dist/models/ExportWorkflowTemplateResponseBody.d.ts +45 -9
- package/dist/models/ExportWorkflowTemplateResponseBody.js +14 -0
- package/dist/models/ExportWorkflowTemplateResponseBody.js.map +1 -1
- package/dist/models/GenerateWorkflowTemplateDraftRequest.d.ts +3 -3
- package/dist/models/GenerateWorkflowTemplateDraftResponseBody.d.ts +52 -14
- package/dist/models/GenerateWorkflowTemplateDraftResponseBody.js +14 -0
- package/dist/models/GenerateWorkflowTemplateDraftResponseBody.js.map +1 -1
- package/dist/models/GenerateWorkflowTemplateDraftShrinkRequest.d.ts +3 -3
- package/dist/models/GetAgentWorkLogRequest.d.ts +1 -1
- package/dist/models/GetAgentWorkLogResponseBody.d.ts +7 -7
- package/dist/models/GetCollaborationGroupOutputItemPreviewRequest.d.ts +41 -0
- package/dist/models/GetCollaborationGroupOutputItemPreviewRequest.js +62 -0
- package/dist/models/GetCollaborationGroupOutputItemPreviewRequest.js.map +1 -0
- package/dist/models/GetCollaborationGroupOutputItemPreviewResponse.d.ts +19 -0
- package/dist/models/GetCollaborationGroupOutputItemPreviewResponse.js +69 -0
- package/dist/models/GetCollaborationGroupOutputItemPreviewResponse.js.map +1 -0
- package/dist/models/GetCollaborationGroupOutputItemPreviewResponseBody.d.ts +101 -0
- package/dist/models/GetCollaborationGroupOutputItemPreviewResponseBody.js +78 -0
- package/dist/models/GetCollaborationGroupOutputItemPreviewResponseBody.js.map +1 -0
- package/dist/models/GetMemoryAutoExtractionSwitchRequest.d.ts +1 -1
- package/dist/models/GetScheduledTaskConversationRecordsRequest.d.ts +61 -0
- package/dist/models/GetScheduledTaskConversationRecordsRequest.js +68 -0
- package/dist/models/GetScheduledTaskConversationRecordsRequest.js.map +1 -0
- package/dist/models/GetScheduledTaskConversationRecordsResponse.d.ts +19 -0
- package/dist/models/GetScheduledTaskConversationRecordsResponse.js +69 -0
- package/dist/models/GetScheduledTaskConversationRecordsResponse.js.map +1 -0
- package/dist/models/GetScheduledTaskConversationRecordsResponseBody.d.ts +233 -0
- package/dist/models/GetScheduledTaskConversationRecordsResponseBody.js +144 -0
- package/dist/models/GetScheduledTaskConversationRecordsResponseBody.js.map +1 -0
- package/dist/models/GetScheduledTaskExecutionDetailRequest.d.ts +1 -1
- package/dist/models/GetScheduledTaskExecutionDetailResponseBody.d.ts +26 -10
- package/dist/models/GetScheduledTaskExecutionDetailResponseBody.js +4 -0
- package/dist/models/GetScheduledTaskExecutionDetailResponseBody.js.map +1 -1
- package/dist/models/GetScheduledTaskExecutionRecordsRequest.d.ts +6 -14
- package/dist/models/GetScheduledTaskExecutionRecordsRequest.js.map +1 -1
- package/dist/models/GetScheduledTaskExecutionRecordsResponseBody.d.ts +27 -14
- package/dist/models/GetScheduledTaskExecutionRecordsResponseBody.js +4 -0
- package/dist/models/GetScheduledTaskExecutionRecordsResponseBody.js.map +1 -1
- package/dist/models/GetSkillRequest.d.ts +3 -3
- package/dist/models/GetSkillResponseBody.d.ts +18 -18
- package/dist/models/GetSkillRunRequest.d.ts +2 -2
- package/dist/models/GetSkillRunResponseBody.d.ts +12 -6
- package/dist/models/GetSkillRunResponseBody.js.map +1 -1
- package/dist/models/GetSourceRequest.d.ts +1 -1
- package/dist/models/GetSourceResponseBody.d.ts +25 -24
- package/dist/models/GetSourceResponseBody.js.map +1 -1
- package/dist/models/GetUserInfoResponseBody.d.ts +11 -11
- package/dist/models/GetUserRequest.d.ts +2 -2
- package/dist/models/GetUserResponseBody.d.ts +6 -6
- package/dist/models/GetWorkItemAuditRequest.d.ts +41 -0
- package/dist/models/GetWorkItemAuditRequest.js +62 -0
- package/dist/models/GetWorkItemAuditRequest.js.map +1 -0
- package/dist/models/GetWorkItemAuditResponse.d.ts +19 -0
- package/dist/models/GetWorkItemAuditResponse.js +69 -0
- package/dist/models/GetWorkItemAuditResponse.js.map +1 -0
- package/dist/models/GetWorkItemAuditResponseBody.d.ts +153 -0
- package/dist/models/GetWorkItemAuditResponseBody.js +111 -0
- package/dist/models/GetWorkItemAuditResponseBody.js.map +1 -0
- package/dist/models/GetWorkItemRunSummariesRequest.d.ts +49 -0
- package/dist/models/GetWorkItemRunSummariesRequest.js +64 -0
- package/dist/models/GetWorkItemRunSummariesRequest.js.map +1 -0
- package/dist/models/GetWorkItemRunSummariesResponse.d.ts +19 -0
- package/dist/models/GetWorkItemRunSummariesResponse.js +69 -0
- package/dist/models/GetWorkItemRunSummariesResponse.js.map +1 -0
- package/dist/models/GetWorkItemRunSummariesResponseBody.d.ts +237 -0
- package/dist/models/GetWorkItemRunSummariesResponseBody.js +149 -0
- package/dist/models/GetWorkItemRunSummariesResponseBody.js.map +1 -0
- package/dist/models/GetWorkflowNodeConfigurationRequest.d.ts +51 -0
- package/dist/models/GetWorkflowNodeConfigurationRequest.js +64 -0
- package/dist/models/GetWorkflowNodeConfigurationRequest.js.map +1 -0
- package/dist/models/GetWorkflowNodeConfigurationResponse.d.ts +19 -0
- package/dist/models/GetWorkflowNodeConfigurationResponse.js +69 -0
- package/dist/models/GetWorkflowNodeConfigurationResponse.js.map +1 -0
- package/dist/models/GetWorkflowNodeConfigurationResponseBody.d.ts +269 -0
- package/dist/models/GetWorkflowNodeConfigurationResponseBody.js +197 -0
- package/dist/models/GetWorkflowNodeConfigurationResponseBody.js.map +1 -0
- package/dist/models/GetWorkflowTemplateRequest.d.ts +2 -2
- package/dist/models/GetWorkflowTemplateResponseBody.d.ts +53 -21
- package/dist/models/GetWorkflowTemplateResponseBody.js +14 -0
- package/dist/models/GetWorkflowTemplateResponseBody.js.map +1 -1
- package/dist/models/ImportWorkflowTemplateRequest.d.ts +5 -5
- package/dist/models/ImportWorkflowTemplateResponseBody.d.ts +58 -23
- package/dist/models/ImportWorkflowTemplateResponseBody.js +14 -0
- package/dist/models/ImportWorkflowTemplateResponseBody.js.map +1 -1
- package/dist/models/ImportWorkflowTemplateShrinkRequest.d.ts +5 -5
- package/dist/models/ListAppResourcePermissionRecordsRequest.d.ts +9 -9
- package/dist/models/ListAppResourcePermissionRecordsResponseBody.d.ts +9 -9
- package/dist/models/ListAppResourcePermissionRecordsShrinkRequest.d.ts +9 -9
- package/dist/models/ListAppResourceUserPermissionsRequest.d.ts +9 -9
- package/dist/models/ListAppResourceUserPermissionsResponseBody.d.ts +6 -6
- package/dist/models/ListAppResourceUserPermissionsShrinkRequest.d.ts +9 -9
- package/dist/models/ListCollaborationGroupMembersRequest.d.ts +55 -0
- package/dist/models/ListCollaborationGroupMembersRequest.js +66 -0
- package/dist/models/ListCollaborationGroupMembersRequest.js.map +1 -0
- package/dist/models/ListCollaborationGroupMembersResponse.d.ts +19 -0
- package/dist/models/ListCollaborationGroupMembersResponse.js +69 -0
- package/dist/models/ListCollaborationGroupMembersResponse.js.map +1 -0
- package/dist/models/ListCollaborationGroupMembersResponseBody.d.ts +113 -0
- package/dist/models/ListCollaborationGroupMembersResponseBody.js +98 -0
- package/dist/models/ListCollaborationGroupMembersResponseBody.js.map +1 -0
- package/dist/models/ListCollaborationGroupsRequest.d.ts +45 -0
- package/dist/models/ListCollaborationGroupsRequest.js +64 -0
- package/dist/models/ListCollaborationGroupsRequest.js.map +1 -0
- package/dist/models/ListCollaborationGroupsResponse.d.ts +19 -0
- package/dist/models/ListCollaborationGroupsResponse.js +69 -0
- package/dist/models/ListCollaborationGroupsResponse.js.map +1 -0
- package/dist/models/ListCollaborationGroupsResponseBody.d.ts +113 -0
- package/dist/models/ListCollaborationGroupsResponseBody.js +98 -0
- package/dist/models/ListCollaborationGroupsResponseBody.js.map +1 -0
- package/dist/models/ListInstanceNodesRequest.d.ts +1 -1
- package/dist/models/ListInstanceNodesResponseBody.d.ts +10 -10
- package/dist/models/ListOutputFilesRequest.d.ts +15 -7
- package/dist/models/ListOutputFilesRequest.js +2 -0
- package/dist/models/ListOutputFilesRequest.js.map +1 -1
- package/dist/models/ListOutputFilesResponseBody.d.ts +26 -26
- package/dist/models/ListOutputFilesShrinkRequest.d.ts +15 -7
- package/dist/models/ListOutputFilesShrinkRequest.js +2 -0
- package/dist/models/ListOutputFilesShrinkRequest.js.map +1 -1
- package/dist/models/ListScheduledTasksRequest.d.ts +11 -16
- package/dist/models/ListScheduledTasksRequest.js.map +1 -1
- package/dist/models/ListScheduledTasksResponseBody.d.ts +26 -25
- package/dist/models/ListScheduledTasksResponseBody.js +2 -0
- package/dist/models/ListScheduledTasksResponseBody.js.map +1 -1
- package/dist/models/ListScheduledTasksShrinkRequest.d.ts +11 -16
- package/dist/models/ListScheduledTasksShrinkRequest.js.map +1 -1
- package/dist/models/ListSourceUsageStatisticsRequest.d.ts +123 -0
- package/dist/models/ListSourceUsageStatisticsRequest.js +88 -0
- package/dist/models/ListSourceUsageStatisticsRequest.js.map +1 -0
- package/dist/models/ListSourceUsageStatisticsResponse.d.ts +19 -0
- package/dist/models/ListSourceUsageStatisticsResponse.js +69 -0
- package/dist/models/ListSourceUsageStatisticsResponse.js.map +1 -0
- package/dist/models/ListSourceUsageStatisticsResponseBody.d.ts +137 -0
- package/dist/models/ListSourceUsageStatisticsResponseBody.js +104 -0
- package/dist/models/ListSourceUsageStatisticsResponseBody.js.map +1 -0
- package/dist/models/ListSourceUsageStatisticsShrinkRequest.d.ts +123 -0
- package/dist/models/ListSourceUsageStatisticsShrinkRequest.js +82 -0
- package/dist/models/ListSourceUsageStatisticsShrinkRequest.js.map +1 -0
- package/dist/models/ListTenantDirectoryRequest.d.ts +7 -7
- package/dist/models/ListTenantDirectoryResponseBody.d.ts +8 -8
- package/dist/models/ListUserVisibleKnowledgeBaseContentsRequest.d.ts +8 -8
- package/dist/models/ListUserVisibleKnowledgeBaseContentsResponseBody.d.ts +19 -19
- package/dist/models/ListUsersRequest.d.ts +10 -10
- package/dist/models/ListUsersResponseBody.d.ts +5 -6
- package/dist/models/ListUsersResponseBody.js.map +1 -1
- package/dist/models/ListUsersShrinkRequest.d.ts +10 -10
- package/dist/models/ListWorkflowTemplatesRequest.d.ts +4 -4
- package/dist/models/ListWorkflowTemplatesResponseBody.d.ts +14 -16
- package/dist/models/ListWorkflowTemplatesResponseBody.js.map +1 -1
- package/dist/models/MarkTodosReadRequest.d.ts +3 -3
- package/dist/models/MarkTodosReadResponseBody.d.ts +2 -2
- package/dist/models/MarkTodosReadShrinkRequest.d.ts +3 -3
- package/dist/models/QuerySourceUsageSummaryRequest.d.ts +87 -0
- package/dist/models/QuerySourceUsageSummaryRequest.js +80 -0
- package/dist/models/QuerySourceUsageSummaryRequest.js.map +1 -0
- package/dist/models/QuerySourceUsageSummaryResponse.d.ts +19 -0
- package/dist/models/QuerySourceUsageSummaryResponse.js +69 -0
- package/dist/models/QuerySourceUsageSummaryResponse.js.map +1 -0
- package/dist/models/QuerySourceUsageSummaryResponseBody.d.ts +77 -0
- package/dist/models/QuerySourceUsageSummaryResponseBody.js +72 -0
- package/dist/models/QuerySourceUsageSummaryResponseBody.js.map +1 -0
- package/dist/models/QuerySourceUsageSummaryShrinkRequest.d.ts +87 -0
- package/dist/models/QuerySourceUsageSummaryShrinkRequest.js +74 -0
- package/dist/models/QuerySourceUsageSummaryShrinkRequest.js.map +1 -0
- package/dist/models/QuerySourceUsageTrendRequest.d.ts +109 -0
- package/dist/models/QuerySourceUsageTrendRequest.js +84 -0
- package/dist/models/QuerySourceUsageTrendRequest.js.map +1 -0
- package/dist/models/QuerySourceUsageTrendResponse.d.ts +19 -0
- package/dist/models/QuerySourceUsageTrendResponse.js +69 -0
- package/dist/models/QuerySourceUsageTrendResponse.js.map +1 -0
- package/dist/models/QuerySourceUsageTrendResponseBody.d.ts +105 -0
- package/dist/models/QuerySourceUsageTrendResponseBody.js +96 -0
- package/dist/models/QuerySourceUsageTrendResponseBody.js.map +1 -0
- package/dist/models/QuerySourceUsageTrendShrinkRequest.d.ts +109 -0
- package/dist/models/QuerySourceUsageTrendShrinkRequest.js +78 -0
- package/dist/models/QuerySourceUsageTrendShrinkRequest.js.map +1 -0
- package/dist/models/RegisterAppResourcePermissionsRequest.d.ts +6 -6
- package/dist/models/RegisterAppResourcePermissionsResponseBody.d.ts +7 -7
- package/dist/models/RegisterAppResourcePermissionsShrinkRequest.d.ts +3 -3
- package/dist/models/ReplaceManualMemoryRequest.d.ts +4 -2
- package/dist/models/ReplaceManualMemoryRequest.js.map +1 -1
- package/dist/models/ReplaceManualMemoryResponseBody.d.ts +1 -1
- package/dist/models/RerunWorkflowNodeRequest.d.ts +51 -0
- package/dist/models/RerunWorkflowNodeRequest.js +64 -0
- package/dist/models/RerunWorkflowNodeRequest.js.map +1 -0
- package/dist/models/RerunWorkflowNodeResponse.d.ts +19 -0
- package/dist/models/RerunWorkflowNodeResponse.js +69 -0
- package/dist/models/RerunWorkflowNodeResponse.js.map +1 -0
- package/dist/models/RerunWorkflowNodeResponseBody.d.ts +77 -0
- package/dist/models/RerunWorkflowNodeResponseBody.js +75 -0
- package/dist/models/RerunWorkflowNodeResponseBody.js.map +1 -0
- package/dist/models/ResetWorkflowNodeConfigurationRequest.d.ts +61 -0
- package/dist/models/ResetWorkflowNodeConfigurationRequest.js +66 -0
- package/dist/models/ResetWorkflowNodeConfigurationRequest.js.map +1 -0
- package/dist/models/ResetWorkflowNodeConfigurationResponse.d.ts +19 -0
- package/dist/models/ResetWorkflowNodeConfigurationResponse.js +69 -0
- package/dist/models/ResetWorkflowNodeConfigurationResponse.js.map +1 -0
- package/dist/models/ResetWorkflowNodeConfigurationResponseBody.d.ts +269 -0
- package/dist/models/ResetWorkflowNodeConfigurationResponseBody.js +197 -0
- package/dist/models/ResetWorkflowNodeConfigurationResponseBody.js.map +1 -0
- package/dist/models/SendAsyncChatMessageRequest.d.ts +228 -0
- package/dist/models/SendAsyncChatMessageRequest.js +109 -1
- package/dist/models/SendAsyncChatMessageRequest.js.map +1 -1
- package/dist/models/SendAsyncChatMessageShrinkRequest.d.ts +32 -0
- package/dist/models/SendAsyncChatMessageShrinkRequest.js +8 -0
- package/dist/models/SendAsyncChatMessageShrinkRequest.js.map +1 -1
- package/dist/models/SendChatMessageRequest.d.ts +240 -17
- package/dist/models/SendChatMessageRequest.js +109 -1
- package/dist/models/SendChatMessageRequest.js.map +1 -1
- package/dist/models/SendChatMessageResponseBody.d.ts +2 -7
- package/dist/models/SendChatMessageResponseBody.js.map +1 -1
- package/dist/models/SendChatMessageShrinkRequest.d.ts +41 -14
- package/dist/models/SendChatMessageShrinkRequest.js +8 -0
- package/dist/models/SendChatMessageShrinkRequest.js.map +1 -1
- package/dist/models/SendWorkItemMessageRequest.d.ts +57 -0
- package/dist/models/SendWorkItemMessageRequest.js +66 -0
- package/dist/models/SendWorkItemMessageRequest.js.map +1 -0
- package/dist/models/SendWorkItemMessageResponse.d.ts +19 -0
- package/dist/models/SendWorkItemMessageResponse.js +69 -0
- package/dist/models/SendWorkItemMessageResponse.js.map +1 -0
- package/dist/models/SendWorkItemMessageResponseBody.d.ts +69 -0
- package/dist/models/SendWorkItemMessageResponseBody.js +70 -0
- package/dist/models/SendWorkItemMessageResponseBody.js.map +1 -0
- package/dist/models/SetWorkflowTemplateEffectiveVersionRequest.d.ts +6 -6
- package/dist/models/SetWorkflowTemplateEffectiveVersionResponseBody.d.ts +61 -29
- package/dist/models/SetWorkflowTemplateEffectiveVersionResponseBody.js +14 -0
- package/dist/models/SetWorkflowTemplateEffectiveVersionResponseBody.js.map +1 -1
- package/dist/models/SubmitTodoRequest.d.ts +4 -4
- package/dist/models/SubmitTodoResponseBody.d.ts +6 -6
- package/dist/models/SubmitTodoShrinkRequest.d.ts +3 -3
- package/dist/models/TranscribeChatVoiceAdvanceRequest.d.ts +8 -2
- package/dist/models/TranscribeChatVoiceAdvanceRequest.js +2 -0
- package/dist/models/TranscribeChatVoiceAdvanceRequest.js.map +1 -1
- package/dist/models/TranscribeChatVoiceRequest.d.ts +8 -2
- package/dist/models/TranscribeChatVoiceRequest.js +2 -0
- package/dist/models/TranscribeChatVoiceRequest.js.map +1 -1
- package/dist/models/TransferTodoRequest.d.ts +4 -4
- package/dist/models/TransferTodoResponseBody.d.ts +2 -2
- package/dist/models/TransferTodoShrinkRequest.d.ts +4 -4
- package/dist/models/UpdateMemoryAutoExtractionSwitchRequest.d.ts +5 -3
- package/dist/models/UpdateMemoryAutoExtractionSwitchRequest.js.map +1 -1
- package/dist/models/UpdateMemoryAutoExtractionSwitchResponseBody.d.ts +2 -2
- package/dist/models/UpdateScheduledTaskRequest.d.ts +8 -0
- package/dist/models/UpdateScheduledTaskRequest.js +2 -0
- package/dist/models/UpdateScheduledTaskRequest.js.map +1 -1
- package/dist/models/UpdateScheduledTaskShrinkRequest.d.ts +8 -0
- package/dist/models/UpdateScheduledTaskShrinkRequest.js +2 -0
- package/dist/models/UpdateScheduledTaskShrinkRequest.js.map +1 -1
- package/dist/models/UpdateUserGroupRequest.d.ts +10 -10
- package/dist/models/UpdateUserGroupResponseBody.d.ts +5 -5
- package/dist/models/UpdateWorkflowNodeConfigurationRequest.d.ts +117 -0
- package/dist/models/UpdateWorkflowNodeConfigurationRequest.js +99 -0
- package/dist/models/UpdateWorkflowNodeConfigurationRequest.js.map +1 -0
- package/dist/models/UpdateWorkflowNodeConfigurationResponse.d.ts +19 -0
- package/dist/models/UpdateWorkflowNodeConfigurationResponse.js +69 -0
- package/dist/models/UpdateWorkflowNodeConfigurationResponse.js.map +1 -0
- package/dist/models/UpdateWorkflowNodeConfigurationResponseBody.d.ts +269 -0
- package/dist/models/UpdateWorkflowNodeConfigurationResponseBody.js +197 -0
- package/dist/models/UpdateWorkflowNodeConfigurationResponseBody.js.map +1 -0
- package/dist/models/UpdateWorkflowNodeConfigurationShrinkRequest.d.ts +85 -0
- package/dist/models/UpdateWorkflowNodeConfigurationShrinkRequest.js +72 -0
- package/dist/models/UpdateWorkflowNodeConfigurationShrinkRequest.js.map +1 -0
- package/dist/models/UpdateWorkflowTemplateRequest.d.ts +12 -12
- package/dist/models/UpdateWorkflowTemplateResponseBody.d.ts +50 -14
- package/dist/models/UpdateWorkflowTemplateResponseBody.js +14 -0
- package/dist/models/UpdateWorkflowTemplateResponseBody.js.map +1 -1
- package/dist/models/UpdateWorkflowTemplateShrinkRequest.d.ts +12 -12
- package/dist/models/UploadChatFileByBase64request.d.ts +49 -0
- package/dist/models/UploadChatFileByBase64request.js +64 -0
- package/dist/models/UploadChatFileByBase64request.js.map +1 -0
- package/dist/models/UploadChatFileByBase64response.d.ts +19 -0
- package/dist/models/UploadChatFileByBase64response.js +69 -0
- package/dist/models/UploadChatFileByBase64response.js.map +1 -0
- package/dist/models/UploadChatFileByBase64responseBody.d.ts +45 -0
- package/dist/models/UploadChatFileByBase64responseBody.js +64 -0
- package/dist/models/UploadChatFileByBase64responseBody.js.map +1 -0
- package/dist/models/model.d.ts +84 -0
- package/dist/models/model.js +195 -25
- package/dist/models/model.js.map +1 -1
- package/package.json +2 -1
- package/src/client.ts +1643 -275
- package/src/models/BatchCancelTodosRequest.ts +3 -3
- package/src/models/BatchCancelTodosResponseBody.ts +1 -1
- package/src/models/BatchCancelTodosShrinkRequest.ts +3 -3
- package/src/models/CheckAppResourcePermissionRequest.ts +2 -2
- package/src/models/CheckAppResourcePermissionResponseBody.ts +4 -4
- package/src/models/CheckAppResourcePermissionsBatchRequest.ts +6 -6
- package/src/models/CheckAppResourcePermissionsBatchResponseBody.ts +4 -4
- package/src/models/CheckAppResourcePermissionsBatchShrinkRequest.ts +5 -5
- package/src/models/ClearAutoMemoryRequest.ts +3 -5
- package/src/models/ConvertDirectConversationToWorkRequest.ts +46 -0
- package/src/models/ConvertDirectConversationToWorkResponse.ts +40 -0
- package/src/models/ConvertDirectConversationToWorkResponseBody.ts +154 -0
- package/src/models/CreateConversationResponseBody.ts +3 -0
- package/src/models/CreateFreeExplorationWorkItemRequest.ts +96 -0
- package/src/models/CreateFreeExplorationWorkItemResponse.ts +40 -0
- package/src/models/CreateFreeExplorationWorkItemResponseBody.ts +140 -0
- package/src/models/CreateFreeExplorationWorkItemShrinkRequest.ts +90 -0
- package/src/models/CreateScheduledTaskRequest.ts +49 -48
- package/src/models/CreateScheduledTaskResponseBody.ts +1 -1
- package/src/models/CreateScheduledTaskShrinkRequest.ts +20 -19
- package/src/models/CreateUserGroupRequest.ts +2 -2
- package/src/models/CreateUserGroupResponseBody.ts +5 -5
- package/src/models/CreateUserRequest.ts +7 -7
- package/src/models/CreateUserResponseBody.ts +2 -2
- package/src/models/CreateUserShrinkRequest.ts +7 -7
- package/src/models/CreateWorkflowTemplateDraftVersionRequest.ts +6 -6
- package/src/models/CreateWorkflowTemplateDraftVersionResponseBody.ts +74 -24
- package/src/models/CreateWorkflowTemplateRequest.ts +6 -3
- package/src/models/CreateWorkflowTemplateResponseBody.ts +69 -19
- package/src/models/CreateWorkflowTemplateShrinkRequest.ts +6 -3
- package/src/models/DeleteAppResourcePermissionsRequest.ts +8 -8
- package/src/models/DeleteAppResourcePermissionsResponseBody.ts +2 -2
- package/src/models/DeleteAppResourcePermissionsShrinkRequest.ts +3 -3
- package/src/models/ExportWorkflowTemplateRequest.ts +3 -3
- package/src/models/ExportWorkflowTemplateResponseBody.ts +55 -9
- package/src/models/GenerateWorkflowTemplateDraftRequest.ts +3 -3
- package/src/models/GenerateWorkflowTemplateDraftResponseBody.ts +62 -14
- package/src/models/GenerateWorkflowTemplateDraftShrinkRequest.ts +3 -3
- package/src/models/GetAgentWorkLogRequest.ts +1 -1
- package/src/models/GetAgentWorkLogResponseBody.ts +7 -7
- package/src/models/GetCollaborationGroupOutputItemPreviewRequest.ts +58 -0
- package/src/models/GetCollaborationGroupOutputItemPreviewResponse.ts +40 -0
- package/src/models/GetCollaborationGroupOutputItemPreviewResponseBody.ts +134 -0
- package/src/models/GetMemoryAutoExtractionSwitchRequest.ts +1 -1
- package/src/models/GetScheduledTaskConversationRecordsRequest.ts +84 -0
- package/src/models/GetScheduledTaskConversationRecordsResponse.ts +40 -0
- package/src/models/GetScheduledTaskConversationRecordsResponseBody.ts +314 -0
- package/src/models/GetScheduledTaskExecutionDetailRequest.ts +1 -1
- package/src/models/GetScheduledTaskExecutionDetailResponseBody.ts +30 -10
- package/src/models/GetScheduledTaskExecutionRecordsRequest.ts +6 -14
- package/src/models/GetScheduledTaskExecutionRecordsResponseBody.ts +31 -14
- package/src/models/GetSkillRequest.ts +3 -3
- package/src/models/GetSkillResponseBody.ts +18 -18
- package/src/models/GetSkillRunRequest.ts +2 -2
- package/src/models/GetSkillRunResponseBody.ts +12 -6
- package/src/models/GetSourceRequest.ts +1 -1
- package/src/models/GetSourceResponseBody.ts +25 -24
- package/src/models/GetUserInfoResponseBody.ts +11 -11
- package/src/models/GetUserRequest.ts +2 -2
- package/src/models/GetUserResponseBody.ts +6 -6
- package/src/models/GetWorkItemAuditRequest.ts +58 -0
- package/src/models/GetWorkItemAuditResponse.ts +40 -0
- package/src/models/GetWorkItemAuditResponseBody.ts +210 -0
- package/src/models/GetWorkItemRunSummariesRequest.ts +68 -0
- package/src/models/GetWorkItemRunSummariesResponse.ts +40 -0
- package/src/models/GetWorkItemRunSummariesResponseBody.ts +323 -0
- package/src/models/GetWorkflowNodeConfigurationRequest.ts +70 -0
- package/src/models/GetWorkflowNodeConfigurationResponse.ts +40 -0
- package/src/models/GetWorkflowNodeConfigurationResponseBody.ts +385 -0
- package/src/models/GetWorkflowTemplateRequest.ts +2 -2
- package/src/models/GetWorkflowTemplateResponseBody.ts +63 -21
- package/src/models/ImportWorkflowTemplateRequest.ts +5 -5
- package/src/models/ImportWorkflowTemplateResponseBody.ts +68 -23
- package/src/models/ImportWorkflowTemplateShrinkRequest.ts +5 -5
- package/src/models/ListAppResourcePermissionRecordsRequest.ts +9 -9
- package/src/models/ListAppResourcePermissionRecordsResponseBody.ts +9 -9
- package/src/models/ListAppResourcePermissionRecordsShrinkRequest.ts +9 -9
- package/src/models/ListAppResourceUserPermissionsRequest.ts +9 -9
- package/src/models/ListAppResourceUserPermissionsResponseBody.ts +6 -6
- package/src/models/ListAppResourceUserPermissionsShrinkRequest.ts +9 -9
- package/src/models/ListCollaborationGroupMembersRequest.ts +76 -0
- package/src/models/ListCollaborationGroupMembersResponse.ts +40 -0
- package/src/models/ListCollaborationGroupMembersResponseBody.ts +157 -0
- package/src/models/ListCollaborationGroupsRequest.ts +64 -0
- package/src/models/ListCollaborationGroupsResponse.ts +40 -0
- package/src/models/ListCollaborationGroupsResponseBody.ts +157 -0
- package/src/models/ListInstanceNodesRequest.ts +1 -1
- package/src/models/ListInstanceNodesResponseBody.ts +10 -10
- package/src/models/ListOutputFilesRequest.ts +17 -7
- package/src/models/ListOutputFilesResponseBody.ts +26 -26
- package/src/models/ListOutputFilesShrinkRequest.ts +17 -7
- package/src/models/ListScheduledTasksRequest.ts +11 -16
- package/src/models/ListScheduledTasksResponseBody.ts +28 -25
- package/src/models/ListScheduledTasksShrinkRequest.ts +11 -16
- package/src/models/ListSourceUsageStatisticsRequest.ts +166 -0
- package/src/models/ListSourceUsageStatisticsResponse.ts +40 -0
- package/src/models/ListSourceUsageStatisticsResponseBody.ts +187 -0
- package/src/models/ListSourceUsageStatisticsShrinkRequest.ts +160 -0
- package/src/models/ListTenantDirectoryRequest.ts +7 -7
- package/src/models/ListTenantDirectoryResponseBody.ts +8 -8
- package/src/models/ListUserVisibleKnowledgeBaseContentsRequest.ts +8 -8
- package/src/models/ListUserVisibleKnowledgeBaseContentsResponseBody.ts +19 -19
- package/src/models/ListUsersRequest.ts +10 -10
- package/src/models/ListUsersResponseBody.ts +5 -6
- package/src/models/ListUsersShrinkRequest.ts +10 -10
- package/src/models/ListWorkflowTemplatesRequest.ts +4 -4
- package/src/models/ListWorkflowTemplatesResponseBody.ts +14 -16
- package/src/models/MarkTodosReadRequest.ts +3 -3
- package/src/models/MarkTodosReadResponseBody.ts +2 -2
- package/src/models/MarkTodosReadShrinkRequest.ts +3 -3
- package/src/models/QuerySourceUsageSummaryRequest.ts +122 -0
- package/src/models/QuerySourceUsageSummaryResponse.ts +40 -0
- package/src/models/QuerySourceUsageSummaryResponseBody.ts +104 -0
- package/src/models/QuerySourceUsageSummaryShrinkRequest.ts +116 -0
- package/src/models/QuerySourceUsageTrendRequest.ts +148 -0
- package/src/models/QuerySourceUsageTrendResponse.ts +40 -0
- package/src/models/QuerySourceUsageTrendResponseBody.ts +147 -0
- package/src/models/QuerySourceUsageTrendShrinkRequest.ts +142 -0
- package/src/models/RegisterAppResourcePermissionsRequest.ts +6 -6
- package/src/models/RegisterAppResourcePermissionsResponseBody.ts +7 -7
- package/src/models/RegisterAppResourcePermissionsShrinkRequest.ts +3 -3
- package/src/models/ReplaceManualMemoryRequest.ts +4 -2
- package/src/models/ReplaceManualMemoryResponseBody.ts +1 -1
- package/src/models/RerunWorkflowNodeRequest.ts +70 -0
- package/src/models/RerunWorkflowNodeResponse.ts +40 -0
- package/src/models/RerunWorkflowNodeResponseBody.ts +107 -0
- package/src/models/ResetWorkflowNodeConfigurationRequest.ts +82 -0
- package/src/models/ResetWorkflowNodeConfigurationResponse.ts +40 -0
- package/src/models/ResetWorkflowNodeConfigurationResponseBody.ts +385 -0
- package/src/models/SendAsyncChatMessageRequest.ts +309 -0
- package/src/models/SendAsyncChatMessageShrinkRequest.ts +40 -0
- package/src/models/SendChatMessageRequest.ts +321 -17
- package/src/models/SendChatMessageResponseBody.ts +2 -7
- package/src/models/SendChatMessageShrinkRequest.ts +49 -14
- package/src/models/SendWorkItemMessageRequest.ts +78 -0
- package/src/models/SendWorkItemMessageResponse.ts +40 -0
- package/src/models/SendWorkItemMessageResponseBody.ts +94 -0
- package/src/models/SetWorkflowTemplateEffectiveVersionRequest.ts +6 -6
- package/src/models/SetWorkflowTemplateEffectiveVersionResponseBody.ts +71 -29
- package/src/models/SubmitTodoRequest.ts +4 -4
- package/src/models/SubmitTodoResponseBody.ts +6 -6
- package/src/models/SubmitTodoShrinkRequest.ts +3 -3
- package/src/models/TranscribeChatVoiceAdvanceRequest.ts +10 -2
- package/src/models/TranscribeChatVoiceRequest.ts +10 -2
- package/src/models/TransferTodoRequest.ts +4 -4
- package/src/models/TransferTodoResponseBody.ts +2 -2
- package/src/models/TransferTodoShrinkRequest.ts +4 -4
- package/src/models/UpdateMemoryAutoExtractionSwitchRequest.ts +5 -3
- package/src/models/UpdateMemoryAutoExtractionSwitchResponseBody.ts +2 -2
- package/src/models/UpdateScheduledTaskRequest.ts +10 -0
- package/src/models/UpdateScheduledTaskShrinkRequest.ts +10 -0
- package/src/models/UpdateUserGroupRequest.ts +10 -10
- package/src/models/UpdateUserGroupResponseBody.ts +5 -5
- package/src/models/UpdateWorkflowNodeConfigurationRequest.ts +162 -0
- package/src/models/UpdateWorkflowNodeConfigurationResponse.ts +40 -0
- package/src/models/UpdateWorkflowNodeConfigurationResponseBody.ts +385 -0
- package/src/models/UpdateWorkflowNodeConfigurationShrinkRequest.ts +112 -0
- package/src/models/UpdateWorkflowTemplateRequest.ts +12 -12
- package/src/models/UpdateWorkflowTemplateResponseBody.ts +60 -14
- package/src/models/UpdateWorkflowTemplateShrinkRequest.ts +12 -12
- package/src/models/UploadChatFileByBase64request.ts +68 -0
- package/src/models/UploadChatFileByBase64response.ts +40 -0
- package/src/models/UploadChatFileByBase64responseBody.ts +64 -0
- package/src/models/model.ts +84 -0
package/dist/client.d.ts
CHANGED
|
@@ -46,10 +46,10 @@ export default class Client extends OpenApi {
|
|
|
46
46
|
*/
|
|
47
47
|
addUserGroupMembers(request: $_model.AddUserGroupMembersRequest): Promise<$_model.AddUserGroupMembersResponse>;
|
|
48
48
|
/**
|
|
49
|
-
* Cancels to-do items
|
|
49
|
+
* Cancels multiple to-do items.
|
|
50
50
|
*
|
|
51
51
|
* @remarks
|
|
52
|
-
* Cancels to-do items
|
|
52
|
+
* Cancels multiple to-do items based on a list of IDs. This operation is idempotent and does not return errors for completed or non-existent items.
|
|
53
53
|
*
|
|
54
54
|
* @param tmpReq - BatchCancelTodosRequest
|
|
55
55
|
* @param headers - map
|
|
@@ -60,10 +60,10 @@ export default class Client extends OpenApi {
|
|
|
60
60
|
[key: string]: string;
|
|
61
61
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.BatchCancelTodosResponse>;
|
|
62
62
|
/**
|
|
63
|
-
* Cancels to-do items
|
|
63
|
+
* Cancels multiple to-do items.
|
|
64
64
|
*
|
|
65
65
|
* @remarks
|
|
66
|
-
* Cancels to-do items
|
|
66
|
+
* Cancels multiple to-do items based on a list of IDs. This operation is idempotent and does not return errors for completed or non-existent items.
|
|
67
67
|
*
|
|
68
68
|
* @param request - BatchCancelTodosRequest
|
|
69
69
|
* @returns BatchCancelTodosResponse
|
|
@@ -142,10 +142,10 @@ export default class Client extends OpenApi {
|
|
|
142
142
|
*/
|
|
143
143
|
cancelTodo(request: $_model.CancelTodoRequest): Promise<$_model.CancelTodoResponse>;
|
|
144
144
|
/**
|
|
145
|
-
* Checks resource permissions within an application.
|
|
145
|
+
* Checks the resource permissions within an application.
|
|
146
146
|
*
|
|
147
147
|
* @remarks
|
|
148
|
-
* Requires the APP/VIEW permission
|
|
148
|
+
* Requires the APP/VIEW permission for checking your own permissions and the APP/MANAGE permission for checking permissions on behalf of others.
|
|
149
149
|
*
|
|
150
150
|
* @param request - CheckAppResourcePermissionRequest
|
|
151
151
|
* @param headers - map
|
|
@@ -156,20 +156,20 @@ export default class Client extends OpenApi {
|
|
|
156
156
|
[key: string]: string;
|
|
157
157
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.CheckAppResourcePermissionResponse>;
|
|
158
158
|
/**
|
|
159
|
-
* Checks resource permissions within an application.
|
|
159
|
+
* Checks the resource permissions within an application.
|
|
160
160
|
*
|
|
161
161
|
* @remarks
|
|
162
|
-
* Requires the APP/VIEW permission
|
|
162
|
+
* Requires the APP/VIEW permission for checking your own permissions and the APP/MANAGE permission for checking permissions on behalf of others.
|
|
163
163
|
*
|
|
164
164
|
* @param request - CheckAppResourcePermissionRequest
|
|
165
165
|
* @returns CheckAppResourcePermissionResponse
|
|
166
166
|
*/
|
|
167
167
|
checkAppResourcePermission(request: $_model.CheckAppResourcePermissionRequest): Promise<$_model.CheckAppResourcePermissionResponse>;
|
|
168
168
|
/**
|
|
169
|
-
* Checks
|
|
169
|
+
* Checks the permissions of resources within applications in batches.
|
|
170
170
|
*
|
|
171
171
|
* @remarks
|
|
172
|
-
*
|
|
172
|
+
* Authenticates applications in batches and reuses constant-time service queries.
|
|
173
173
|
*
|
|
174
174
|
* @param tmpReq - CheckAppResourcePermissionsBatchRequest
|
|
175
175
|
* @param headers - map
|
|
@@ -180,10 +180,10 @@ export default class Client extends OpenApi {
|
|
|
180
180
|
[key: string]: string;
|
|
181
181
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.CheckAppResourcePermissionsBatchResponse>;
|
|
182
182
|
/**
|
|
183
|
-
* Checks
|
|
183
|
+
* Checks the permissions of resources within applications in batches.
|
|
184
184
|
*
|
|
185
185
|
* @remarks
|
|
186
|
-
*
|
|
186
|
+
* Authenticates applications in batches and reuses constant-time service queries.
|
|
187
187
|
*
|
|
188
188
|
* @param request - CheckAppResourcePermissionsBatchRequest
|
|
189
189
|
* @returns CheckAppResourcePermissionsBatchResponse
|
|
@@ -211,7 +211,7 @@ export default class Client extends OpenApi {
|
|
|
211
211
|
* Clears automatic memory.
|
|
212
212
|
*
|
|
213
213
|
* @remarks
|
|
214
|
-
* Manages personal or specified writing workspace memory based on the authenticated user. The workspace mode inherits
|
|
214
|
+
* Manages personal or specified writing collaboration workspace memory based on the authenticated user. The workspace mode inherits active member permissions.
|
|
215
215
|
*
|
|
216
216
|
* @param request - ClearAutoMemoryRequest
|
|
217
217
|
* @param headers - map
|
|
@@ -225,7 +225,7 @@ export default class Client extends OpenApi {
|
|
|
225
225
|
* Clears automatic memory.
|
|
226
226
|
*
|
|
227
227
|
* @remarks
|
|
228
|
-
* Manages personal or specified writing workspace memory based on the authenticated user. The workspace mode inherits
|
|
228
|
+
* Manages personal or specified writing collaboration workspace memory based on the authenticated user. The workspace mode inherits active member permissions.
|
|
229
229
|
*
|
|
230
230
|
* @param request - ClearAutoMemoryRequest
|
|
231
231
|
* @returns ClearAutoMemoryResponse
|
|
@@ -279,6 +279,30 @@ export default class Client extends OpenApi {
|
|
|
279
279
|
* @returns CloseWorkflowTodosResponse
|
|
280
280
|
*/
|
|
281
281
|
closeWorkflowTodos(request: $_model.CloseWorkflowTodosRequest): Promise<$_model.CloseWorkflowTodosResponse>;
|
|
282
|
+
/**
|
|
283
|
+
* 将 direct 会话转换为 work 会话
|
|
284
|
+
*
|
|
285
|
+
* @remarks
|
|
286
|
+
* 将源会话当前有效、已完成的 direct 模型历史冻结并复制为新的 work 会话,源会话保留。混合会话仅转换 direct 历史,不补入普通 work 历史或只有展示记录的旧历史;转换范围不受 directMaxHistoryRounds 限制。转换本身不发起聊天或运行 Skill。对同一源会话重复调用用于查询或继续同一转换,最多产生一个成功目标,成功后始终返回原目标,源后续消息不自动同步。仅 status=succeeded 表示目标已可使用;processing 时继续使用同一源 sessionId 查询,不能向尚未就绪的目标发送消息、Fork 或分享。源正在生成时返回 SourceBusy,无有效模型历史时返回 NoConvertibleHistory,已成功的目标被删除或历史不可恢复时返回 ConvertedTargetUnavailable,不重建目标。仅允许本人可操作且具备 work 权限的普通会话,拒绝 group_shared、task_follow_up、skill_follow_up、skill_output_backfill 等受限来源;后台查看权不授予转换权。
|
|
287
|
+
*
|
|
288
|
+
* @param request - ConvertDirectConversationToWorkRequest
|
|
289
|
+
* @param headers - map
|
|
290
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
291
|
+
* @returns ConvertDirectConversationToWorkResponse
|
|
292
|
+
*/
|
|
293
|
+
convertDirectConversationToWorkWithOptions(request: $_model.ConvertDirectConversationToWorkRequest, headers: {
|
|
294
|
+
[key: string]: string;
|
|
295
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.ConvertDirectConversationToWorkResponse>;
|
|
296
|
+
/**
|
|
297
|
+
* 将 direct 会话转换为 work 会话
|
|
298
|
+
*
|
|
299
|
+
* @remarks
|
|
300
|
+
* 将源会话当前有效、已完成的 direct 模型历史冻结并复制为新的 work 会话,源会话保留。混合会话仅转换 direct 历史,不补入普通 work 历史或只有展示记录的旧历史;转换范围不受 directMaxHistoryRounds 限制。转换本身不发起聊天或运行 Skill。对同一源会话重复调用用于查询或继续同一转换,最多产生一个成功目标,成功后始终返回原目标,源后续消息不自动同步。仅 status=succeeded 表示目标已可使用;processing 时继续使用同一源 sessionId 查询,不能向尚未就绪的目标发送消息、Fork 或分享。源正在生成时返回 SourceBusy,无有效模型历史时返回 NoConvertibleHistory,已成功的目标被删除或历史不可恢复时返回 ConvertedTargetUnavailable,不重建目标。仅允许本人可操作且具备 work 权限的普通会话,拒绝 group_shared、task_follow_up、skill_follow_up、skill_output_backfill 等受限来源;后台查看权不授予转换权。
|
|
301
|
+
*
|
|
302
|
+
* @param request - ConvertDirectConversationToWorkRequest
|
|
303
|
+
* @returns ConvertDirectConversationToWorkResponse
|
|
304
|
+
*/
|
|
305
|
+
convertDirectConversationToWork(request: $_model.ConvertDirectConversationToWorkRequest): Promise<$_model.ConvertDirectConversationToWorkResponse>;
|
|
282
306
|
/**
|
|
283
307
|
* Retrieves the to-do badge statistics.
|
|
284
308
|
*
|
|
@@ -389,6 +413,30 @@ export default class Client extends OpenApi {
|
|
|
389
413
|
* @returns CreateCustomOrgResponse
|
|
390
414
|
*/
|
|
391
415
|
createCustomOrg(request: $_model.CreateCustomOrgRequest): Promise<$_model.CreateCustomOrgResponse>;
|
|
416
|
+
/**
|
|
417
|
+
* Creates a free exploration work item and a group topic that match the page settings, and configures digital workers and the visibility scope.
|
|
418
|
+
*
|
|
419
|
+
* @remarks
|
|
420
|
+
* Creates a free exploration work item and a group topic that match the page settings, and configures digital workers and the visibility scope. This operation does not send messages or execute automatically. It is not idempotent. If a timeout occurs, call queryWorkItemFeed first.
|
|
421
|
+
*
|
|
422
|
+
* @param tmpReq - CreateFreeExplorationWorkItemRequest
|
|
423
|
+
* @param headers - map
|
|
424
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
425
|
+
* @returns CreateFreeExplorationWorkItemResponse
|
|
426
|
+
*/
|
|
427
|
+
createFreeExplorationWorkItemWithOptions(tmpReq: $_model.CreateFreeExplorationWorkItemRequest, headers: {
|
|
428
|
+
[key: string]: string;
|
|
429
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.CreateFreeExplorationWorkItemResponse>;
|
|
430
|
+
/**
|
|
431
|
+
* Creates a free exploration work item and a group topic that match the page settings, and configures digital workers and the visibility scope.
|
|
432
|
+
*
|
|
433
|
+
* @remarks
|
|
434
|
+
* Creates a free exploration work item and a group topic that match the page settings, and configures digital workers and the visibility scope. This operation does not send messages or execute automatically. It is not idempotent. If a timeout occurs, call queryWorkItemFeed first.
|
|
435
|
+
*
|
|
436
|
+
* @param request - CreateFreeExplorationWorkItemRequest
|
|
437
|
+
* @returns CreateFreeExplorationWorkItemResponse
|
|
438
|
+
*/
|
|
439
|
+
createFreeExplorationWorkItem(request: $_model.CreateFreeExplorationWorkItemRequest): Promise<$_model.CreateFreeExplorationWorkItemResponse>;
|
|
392
440
|
/**
|
|
393
441
|
* Creates a semantic graph and associates a data source.
|
|
394
442
|
*
|
|
@@ -1393,14 +1441,14 @@ export default class Client extends OpenApi {
|
|
|
1393
1441
|
* Creates a scheduled task.
|
|
1394
1442
|
*
|
|
1395
1443
|
* @remarks
|
|
1396
|
-
* ##
|
|
1397
|
-
* - This operation is used to upload files to
|
|
1398
|
-
* - You must have the
|
|
1399
|
-
* - You must provide the OSS
|
|
1400
|
-
* - Optional parameters include the public access URL
|
|
1401
|
-
* - If
|
|
1402
|
-
* - You can add tags to resources
|
|
1403
|
-
* - This operation
|
|
1444
|
+
* ## Request description
|
|
1445
|
+
* - This API operation is used to upload files to the enterprise knowledge base.
|
|
1446
|
+
* - You must have the DEVELOPMENT_KB_MANAGE feature permission to call this API operation.
|
|
1447
|
+
* - You must provide the persistent OSS URL (filePath) of the file when uploading the file.
|
|
1448
|
+
* - Optional parameters include the public access URL and the original file name to enhance the completeness of the file information.
|
|
1449
|
+
* - If directoryId is specified, the file is placed in the corresponding enterprise knowledge base directory. Otherwise, the file is bound to the default root directory of the current digital employee by default.
|
|
1450
|
+
* - You can use sourceTags to add tags to resources for subsequent management and retrieval.
|
|
1451
|
+
* - This operation starts a billing bill (UNSTRUCTURED_PARSE). Make sure that your account balance is sufficient.
|
|
1404
1452
|
*
|
|
1405
1453
|
* @param tmpReq - CreateScheduledTaskRequest
|
|
1406
1454
|
* @param headers - map
|
|
@@ -1414,14 +1462,14 @@ export default class Client extends OpenApi {
|
|
|
1414
1462
|
* Creates a scheduled task.
|
|
1415
1463
|
*
|
|
1416
1464
|
* @remarks
|
|
1417
|
-
* ##
|
|
1418
|
-
* - This operation is used to upload files to
|
|
1419
|
-
* - You must have the
|
|
1420
|
-
* - You must provide the OSS
|
|
1421
|
-
* - Optional parameters include the public access URL
|
|
1422
|
-
* - If
|
|
1423
|
-
* - You can add tags to resources
|
|
1424
|
-
* - This operation
|
|
1465
|
+
* ## Request description
|
|
1466
|
+
* - This API operation is used to upload files to the enterprise knowledge base.
|
|
1467
|
+
* - You must have the DEVELOPMENT_KB_MANAGE feature permission to call this API operation.
|
|
1468
|
+
* - You must provide the persistent OSS URL (filePath) of the file when uploading the file.
|
|
1469
|
+
* - Optional parameters include the public access URL and the original file name to enhance the completeness of the file information.
|
|
1470
|
+
* - If directoryId is specified, the file is placed in the corresponding enterprise knowledge base directory. Otherwise, the file is bound to the default root directory of the current digital employee by default.
|
|
1471
|
+
* - You can use sourceTags to add tags to resources for subsequent management and retrieval.
|
|
1472
|
+
* - This operation starts a billing bill (UNSTRUCTURED_PARSE). Make sure that your account balance is sufficient.
|
|
1425
1473
|
*
|
|
1426
1474
|
* @param request - CreateScheduledTaskRequest
|
|
1427
1475
|
* @returns CreateScheduledTaskResponse
|
|
@@ -1489,16 +1537,16 @@ export default class Client extends OpenApi {
|
|
|
1489
1537
|
* Creates a user and adds the user to a tenant.
|
|
1490
1538
|
*
|
|
1491
1539
|
* @remarks
|
|
1492
|
-
* Creates a user by
|
|
1540
|
+
* Creates a user by calling the API.
|
|
1493
1541
|
* Business orchestration:
|
|
1494
|
-
* 1. Parses roleCodes into role_ids (validates against system role
|
|
1542
|
+
* 1. Parses roleCodes into role_ids (validates against system role enums).
|
|
1495
1543
|
* 2. Checks whether the user already exists (used to return the isNewUser flag).
|
|
1496
|
-
* 3. Calls UserManagementService.add_tenant_member to
|
|
1544
|
+
* 3. Calls UserManagementService.add_tenant_member to complete the creation or addition process (the password must be passed as an RSA ciphertext by the caller).
|
|
1497
1545
|
* 4. Returns the creation result (including the isNewUser flag).
|
|
1498
1546
|
* Error codes:
|
|
1499
|
-
* - ERR.User.DeactivatedInTenant: The user is deactivated in the tenant. Use updateUser to
|
|
1547
|
+
* - ERR.User.DeactivatedInTenant: The user is deactivated in the tenant. Use updateUser to resume the user.
|
|
1500
1548
|
* - ERR.User.AlreadyInTenant: The user is already an active member of the tenant.
|
|
1501
|
-
* - ERR.User.DisplayNameDuplicateInTenant: The display name is
|
|
1549
|
+
* - ERR.User.DisplayNameDuplicateInTenant: The display name is duplicated within the tenant.
|
|
1502
1550
|
*
|
|
1503
1551
|
* @param tmpReq - CreateUserRequest
|
|
1504
1552
|
* @param headers - map
|
|
@@ -1512,26 +1560,30 @@ export default class Client extends OpenApi {
|
|
|
1512
1560
|
* Creates a user and adds the user to a tenant.
|
|
1513
1561
|
*
|
|
1514
1562
|
* @remarks
|
|
1515
|
-
* Creates a user by
|
|
1563
|
+
* Creates a user by calling the API.
|
|
1516
1564
|
* Business orchestration:
|
|
1517
|
-
* 1. Parses roleCodes into role_ids (validates against system role
|
|
1565
|
+
* 1. Parses roleCodes into role_ids (validates against system role enums).
|
|
1518
1566
|
* 2. Checks whether the user already exists (used to return the isNewUser flag).
|
|
1519
|
-
* 3. Calls UserManagementService.add_tenant_member to
|
|
1567
|
+
* 3. Calls UserManagementService.add_tenant_member to complete the creation or addition process (the password must be passed as an RSA ciphertext by the caller).
|
|
1520
1568
|
* 4. Returns the creation result (including the isNewUser flag).
|
|
1521
1569
|
* Error codes:
|
|
1522
|
-
* - ERR.User.DeactivatedInTenant: The user is deactivated in the tenant. Use updateUser to
|
|
1570
|
+
* - ERR.User.DeactivatedInTenant: The user is deactivated in the tenant. Use updateUser to resume the user.
|
|
1523
1571
|
* - ERR.User.AlreadyInTenant: The user is already an active member of the tenant.
|
|
1524
|
-
* - ERR.User.DisplayNameDuplicateInTenant: The display name is
|
|
1572
|
+
* - ERR.User.DisplayNameDuplicateInTenant: The display name is duplicated within the tenant.
|
|
1525
1573
|
*
|
|
1526
1574
|
* @param request - CreateUserRequest
|
|
1527
1575
|
* @returns CreateUserResponse
|
|
1528
1576
|
*/
|
|
1529
1577
|
createUser(request: $_model.CreateUserRequest): Promise<$_model.CreateUserResponse>;
|
|
1530
1578
|
/**
|
|
1531
|
-
* Creates a user group under the tenant to which the authenticated identity belongs.
|
|
1579
|
+
* Creates a new user group under the tenant to which the authenticated identity belongs.
|
|
1532
1580
|
*
|
|
1533
1581
|
* @remarks
|
|
1534
|
-
*
|
|
1582
|
+
* ## Request description
|
|
1583
|
+
* You can use this API operation to create a new user group within a specified tenant. The user group name must be unique under the same parent node. If the `parentId` parameter is not provided, the user group is created under the root node by default. You can also add a description for the new user group.
|
|
1584
|
+
* ### Important notes
|
|
1585
|
+
* - As a common parameter, `tenantId` can be explicitly passed by using the `--tenant-id` option in winnexo-cli.
|
|
1586
|
+
* - After the user group is created, the returned details include but are not limited to the user group ID, name, and level.
|
|
1535
1587
|
*
|
|
1536
1588
|
* @param request - CreateUserGroupRequest
|
|
1537
1589
|
* @param headers - map
|
|
@@ -1542,10 +1594,14 @@ export default class Client extends OpenApi {
|
|
|
1542
1594
|
[key: string]: string;
|
|
1543
1595
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.CreateUserGroupResponse>;
|
|
1544
1596
|
/**
|
|
1545
|
-
* Creates a user group under the tenant to which the authenticated identity belongs.
|
|
1597
|
+
* Creates a new user group under the tenant to which the authenticated identity belongs.
|
|
1546
1598
|
*
|
|
1547
1599
|
* @remarks
|
|
1548
|
-
*
|
|
1600
|
+
* ## Request description
|
|
1601
|
+
* You can use this API operation to create a new user group within a specified tenant. The user group name must be unique under the same parent node. If the `parentId` parameter is not provided, the user group is created under the root node by default. You can also add a description for the new user group.
|
|
1602
|
+
* ### Important notes
|
|
1603
|
+
* - As a common parameter, `tenantId` can be explicitly passed by using the `--tenant-id` option in winnexo-cli.
|
|
1604
|
+
* - After the user group is created, the returned details include but are not limited to the user group ID, name, and level.
|
|
1549
1605
|
*
|
|
1550
1606
|
* @param request - CreateUserGroupRequest
|
|
1551
1607
|
* @returns CreateUserGroupResponse
|
|
@@ -1667,7 +1723,7 @@ export default class Client extends OpenApi {
|
|
|
1667
1723
|
* Creates a draft of a workflow template.
|
|
1668
1724
|
*
|
|
1669
1725
|
* @remarks
|
|
1670
|
-
* Generates a draft version of a workflow template for
|
|
1726
|
+
* Generates a draft version of a workflow template for storage management administrators. If the selected version is a draft, the original version is returned without creating a new version, ensuring idempotency. If the selected version is committed, content generation creates a v(maximum version number + 1) draft through replication of the original content. The effective version remains unchanged. You can subsequently use UpdateWorkflowTemplate and pass the returned version to save or commit the draft.
|
|
1671
1727
|
*
|
|
1672
1728
|
* @param request - CreateWorkflowTemplateDraftVersionRequest
|
|
1673
1729
|
* @param headers - map
|
|
@@ -1681,17 +1737,17 @@ export default class Client extends OpenApi {
|
|
|
1681
1737
|
* Creates a draft of a workflow template.
|
|
1682
1738
|
*
|
|
1683
1739
|
* @remarks
|
|
1684
|
-
* Generates a draft version of a workflow template for
|
|
1740
|
+
* Generates a draft version of a workflow template for storage management administrators. If the selected version is a draft, the original version is returned without creating a new version, ensuring idempotency. If the selected version is committed, content generation creates a v(maximum version number + 1) draft through replication of the original content. The effective version remains unchanged. You can subsequently use UpdateWorkflowTemplate and pass the returned version to save or commit the draft.
|
|
1685
1741
|
*
|
|
1686
1742
|
* @param request - CreateWorkflowTemplateDraftVersionRequest
|
|
1687
1743
|
* @returns CreateWorkflowTemplateDraftVersionResponse
|
|
1688
1744
|
*/
|
|
1689
1745
|
createWorkflowTemplateDraftVersion(request: $_model.CreateWorkflowTemplateDraftVersionRequest): Promise<$_model.CreateWorkflowTemplateDraftVersionResponse>;
|
|
1690
1746
|
/**
|
|
1691
|
-
* Deletes
|
|
1747
|
+
* Deletes resource permissions within applications in batches.
|
|
1692
1748
|
*
|
|
1693
1749
|
* @remarks
|
|
1694
|
-
*
|
|
1750
|
+
* Invokes the original atomic deletion capability after passing MANAGE verification for each application.
|
|
1695
1751
|
*
|
|
1696
1752
|
* @param tmpReq - DeleteAppResourcePermissionsRequest
|
|
1697
1753
|
* @param headers - map
|
|
@@ -1702,10 +1758,10 @@ export default class Client extends OpenApi {
|
|
|
1702
1758
|
[key: string]: string;
|
|
1703
1759
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteAppResourcePermissionsResponse>;
|
|
1704
1760
|
/**
|
|
1705
|
-
* Deletes
|
|
1761
|
+
* Deletes resource permissions within applications in batches.
|
|
1706
1762
|
*
|
|
1707
1763
|
* @remarks
|
|
1708
|
-
*
|
|
1764
|
+
* Invokes the original atomic deletion capability after passing MANAGE verification for each application.
|
|
1709
1765
|
*
|
|
1710
1766
|
* @param request - DeleteAppResourcePermissionsRequest
|
|
1711
1767
|
* @returns DeleteAppResourcePermissionsResponse
|
|
@@ -1982,10 +2038,10 @@ export default class Client extends OpenApi {
|
|
|
1982
2038
|
*/
|
|
1983
2039
|
exportWorkflowTemplate(request: $_model.ExportWorkflowTemplateRequest): Promise<$_model.ExportWorkflowTemplateResponse>;
|
|
1984
2040
|
/**
|
|
1985
|
-
* Generates a non-persistent template draft by calling a large language model (LLM)
|
|
2041
|
+
* Generates a non-persistent template draft by calling a large language model (LLM). This operation consumes the LLM quota of the tenant and requires the caller to be a valid member.
|
|
1986
2042
|
*
|
|
1987
2043
|
* @remarks
|
|
1988
|
-
* Generates a non-persistent template draft by calling a large language model (LLM)
|
|
2044
|
+
* Generates a non-persistent template draft by calling a large language model (LLM). This operation consumes the LLM quota of the tenant and requires the caller to be a valid member.
|
|
1989
2045
|
*
|
|
1990
2046
|
* @param tmpReq - GenerateWorkflowTemplateDraftRequest
|
|
1991
2047
|
* @param headers - map
|
|
@@ -1996,10 +2052,10 @@ export default class Client extends OpenApi {
|
|
|
1996
2052
|
[key: string]: string;
|
|
1997
2053
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GenerateWorkflowTemplateDraftResponse>;
|
|
1998
2054
|
/**
|
|
1999
|
-
* Generates a non-persistent template draft by calling a large language model (LLM)
|
|
2055
|
+
* Generates a non-persistent template draft by calling a large language model (LLM). This operation consumes the LLM quota of the tenant and requires the caller to be a valid member.
|
|
2000
2056
|
*
|
|
2001
2057
|
* @remarks
|
|
2002
|
-
* Generates a non-persistent template draft by calling a large language model (LLM)
|
|
2058
|
+
* Generates a non-persistent template draft by calling a large language model (LLM). This operation consumes the LLM quota of the tenant and requires the caller to be a valid member.
|
|
2003
2059
|
*
|
|
2004
2060
|
* @param request - GenerateWorkflowTemplateDraftRequest
|
|
2005
2061
|
* @returns GenerateWorkflowTemplateDraftResponse
|
|
@@ -2095,6 +2151,30 @@ export default class Client extends OpenApi {
|
|
|
2095
2151
|
* @returns GetChatSessionResponse
|
|
2096
2152
|
*/
|
|
2097
2153
|
getChatSession(request: $_model.GetChatSessionRequest): Promise<$_model.GetChatSessionResponse>;
|
|
2154
|
+
/**
|
|
2155
|
+
* Retrieves the content, preview URL, or short-term download URL of a file generated during a digital employee conversation.
|
|
2156
|
+
*
|
|
2157
|
+
* @remarks
|
|
2158
|
+
* Retrieves the content, preview URL, or short-term download URL of a file generated during a digital employee conversation. This operation supports USER_OUTPUT_ITEM file references in workflow nodes. The caller must pass permission checks for the tenant, space member, and file source. You do not need to register the file as a work item artifact. This operation does not accept artifactId.
|
|
2159
|
+
*
|
|
2160
|
+
* @param request - GetCollaborationGroupOutputItemPreviewRequest
|
|
2161
|
+
* @param headers - map
|
|
2162
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2163
|
+
* @returns GetCollaborationGroupOutputItemPreviewResponse
|
|
2164
|
+
*/
|
|
2165
|
+
getCollaborationGroupOutputItemPreviewWithOptions(request: $_model.GetCollaborationGroupOutputItemPreviewRequest, headers: {
|
|
2166
|
+
[key: string]: string;
|
|
2167
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetCollaborationGroupOutputItemPreviewResponse>;
|
|
2168
|
+
/**
|
|
2169
|
+
* Retrieves the content, preview URL, or short-term download URL of a file generated during a digital employee conversation.
|
|
2170
|
+
*
|
|
2171
|
+
* @remarks
|
|
2172
|
+
* Retrieves the content, preview URL, or short-term download URL of a file generated during a digital employee conversation. This operation supports USER_OUTPUT_ITEM file references in workflow nodes. The caller must pass permission checks for the tenant, space member, and file source. You do not need to register the file as a work item artifact. This operation does not accept artifactId.
|
|
2173
|
+
*
|
|
2174
|
+
* @param request - GetCollaborationGroupOutputItemPreviewRequest
|
|
2175
|
+
* @returns GetCollaborationGroupOutputItemPreviewResponse
|
|
2176
|
+
*/
|
|
2177
|
+
getCollaborationGroupOutputItemPreview(request: $_model.GetCollaborationGroupOutputItemPreviewRequest): Promise<$_model.GetCollaborationGroupOutputItemPreviewResponse>;
|
|
2098
2178
|
/**
|
|
2099
2179
|
* Retrieves the full schema after merging the active schema with personal drafts.
|
|
2100
2180
|
*
|
|
@@ -2289,7 +2369,7 @@ export default class Client extends OpenApi {
|
|
|
2289
2369
|
* Queries the automatic memory collection switch.
|
|
2290
2370
|
*
|
|
2291
2371
|
* @remarks
|
|
2292
|
-
* Manages personal or specified
|
|
2372
|
+
* Manages the memory of a personal or specified writing collaboration workspace based on the authenticated user. The workspace mode inherits active member permissions.
|
|
2293
2373
|
*
|
|
2294
2374
|
* @param request - GetMemoryAutoExtractionSwitchRequest
|
|
2295
2375
|
* @param headers - map
|
|
@@ -2303,7 +2383,7 @@ export default class Client extends OpenApi {
|
|
|
2303
2383
|
* Queries the automatic memory collection switch.
|
|
2304
2384
|
*
|
|
2305
2385
|
* @remarks
|
|
2306
|
-
* Manages personal or specified
|
|
2386
|
+
* Manages the memory of a personal or specified writing collaboration workspace based on the authenticated user. The workspace mode inherits active member permissions.
|
|
2307
2387
|
*
|
|
2308
2388
|
* @param request - GetMemoryAutoExtractionSwitchRequest
|
|
2309
2389
|
* @returns GetMemoryAutoExtractionSwitchResponse
|
|
@@ -2357,18 +2437,56 @@ export default class Client extends OpenApi {
|
|
|
2357
2437
|
* @returns GetNodeDetailResponse
|
|
2358
2438
|
*/
|
|
2359
2439
|
getNodeDetail(request: $_model.GetNodeDetailRequest): Promise<$_model.GetNodeDetailResponse>;
|
|
2440
|
+
/**
|
|
2441
|
+
* Queries the sessions of personal scheduled tasks.
|
|
2442
|
+
*
|
|
2443
|
+
* @remarks
|
|
2444
|
+
* ## Request description
|
|
2445
|
+
* - This operation uploads a file to the enterprise knowledge base.
|
|
2446
|
+
* - You must have the DEVELOPMENT_KB_MANAGE feature permission to call this API.
|
|
2447
|
+
* - You must provide the OSS persistence URL (filePath) of the file when uploading a file.
|
|
2448
|
+
* - Optional parameters include the public access URL and original file name to enhance the completeness of file information.
|
|
2449
|
+
* - If you specify directoryId, the file is placed in the specified enterprise knowledge base directory. Otherwise, the file is placed in the default root directory of the current digital employee.
|
|
2450
|
+
* - You can use sourceTags to add tags to resources for subsequent management and retrieval.
|
|
2451
|
+
* - This operation generates a bill for UNSTRUCTURED_PARSE. Make sure that your account balance is sufficient.
|
|
2452
|
+
*
|
|
2453
|
+
* @param request - GetScheduledTaskConversationRecordsRequest
|
|
2454
|
+
* @param headers - map
|
|
2455
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2456
|
+
* @returns GetScheduledTaskConversationRecordsResponse
|
|
2457
|
+
*/
|
|
2458
|
+
getScheduledTaskConversationRecordsWithOptions(request: $_model.GetScheduledTaskConversationRecordsRequest, headers: {
|
|
2459
|
+
[key: string]: string;
|
|
2460
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetScheduledTaskConversationRecordsResponse>;
|
|
2461
|
+
/**
|
|
2462
|
+
* Queries the sessions of personal scheduled tasks.
|
|
2463
|
+
*
|
|
2464
|
+
* @remarks
|
|
2465
|
+
* ## Request description
|
|
2466
|
+
* - This operation uploads a file to the enterprise knowledge base.
|
|
2467
|
+
* - You must have the DEVELOPMENT_KB_MANAGE feature permission to call this API.
|
|
2468
|
+
* - You must provide the OSS persistence URL (filePath) of the file when uploading a file.
|
|
2469
|
+
* - Optional parameters include the public access URL and original file name to enhance the completeness of file information.
|
|
2470
|
+
* - If you specify directoryId, the file is placed in the specified enterprise knowledge base directory. Otherwise, the file is placed in the default root directory of the current digital employee.
|
|
2471
|
+
* - You can use sourceTags to add tags to resources for subsequent management and retrieval.
|
|
2472
|
+
* - This operation generates a bill for UNSTRUCTURED_PARSE. Make sure that your account balance is sufficient.
|
|
2473
|
+
*
|
|
2474
|
+
* @param request - GetScheduledTaskConversationRecordsRequest
|
|
2475
|
+
* @returns GetScheduledTaskConversationRecordsResponse
|
|
2476
|
+
*/
|
|
2477
|
+
getScheduledTaskConversationRecords(request: $_model.GetScheduledTaskConversationRecordsRequest): Promise<$_model.GetScheduledTaskConversationRecordsResponse>;
|
|
2360
2478
|
/**
|
|
2361
2479
|
* Retrieves the execution details of a scheduled task.
|
|
2362
2480
|
*
|
|
2363
2481
|
* @remarks
|
|
2364
|
-
* ##
|
|
2365
|
-
* - This
|
|
2366
|
-
* - You must have the `DEVELOPMENT_KB_MANAGE` permission to call this
|
|
2367
|
-
* -
|
|
2368
|
-
* - Optional parameters include the public access URL and original file name of the file to enhance the completeness of file information.
|
|
2482
|
+
* ## Request description
|
|
2483
|
+
* - This API is used to upload files to the enterprise knowledge base.
|
|
2484
|
+
* - You must have the `DEVELOPMENT_KB_MANAGE` feature permission to call this API.
|
|
2485
|
+
* - When uploading a file, you must provide the OSS persistent address (`filePath`) of the file.
|
|
2486
|
+
* - Optional parameters include the public access URL and original file name of the file to enhance the completeness of the file information.
|
|
2369
2487
|
* - If `directoryId` is specified, the file is placed in the corresponding enterprise knowledge base directory. Otherwise, the file is bound to the default root directory of the current digital employee by default.
|
|
2370
2488
|
* - You can use `sourceTags` to add tags to resources for subsequent management and retrieval.
|
|
2371
|
-
* - This operation
|
|
2489
|
+
* - This operation triggers billing (UNSTRUCTURED_PARSE). Make sure that your account balance is sufficient.
|
|
2372
2490
|
*
|
|
2373
2491
|
* @param request - GetScheduledTaskExecutionDetailRequest
|
|
2374
2492
|
* @param headers - map
|
|
@@ -2382,31 +2500,31 @@ export default class Client extends OpenApi {
|
|
|
2382
2500
|
* Retrieves the execution details of a scheduled task.
|
|
2383
2501
|
*
|
|
2384
2502
|
* @remarks
|
|
2385
|
-
* ##
|
|
2386
|
-
* - This
|
|
2387
|
-
* - You must have the `DEVELOPMENT_KB_MANAGE` permission to call this
|
|
2388
|
-
* -
|
|
2389
|
-
* - Optional parameters include the public access URL and original file name of the file to enhance the completeness of file information.
|
|
2503
|
+
* ## Request description
|
|
2504
|
+
* - This API is used to upload files to the enterprise knowledge base.
|
|
2505
|
+
* - You must have the `DEVELOPMENT_KB_MANAGE` feature permission to call this API.
|
|
2506
|
+
* - When uploading a file, you must provide the OSS persistent address (`filePath`) of the file.
|
|
2507
|
+
* - Optional parameters include the public access URL and original file name of the file to enhance the completeness of the file information.
|
|
2390
2508
|
* - If `directoryId` is specified, the file is placed in the corresponding enterprise knowledge base directory. Otherwise, the file is bound to the default root directory of the current digital employee by default.
|
|
2391
2509
|
* - You can use `sourceTags` to add tags to resources for subsequent management and retrieval.
|
|
2392
|
-
* - This operation
|
|
2510
|
+
* - This operation triggers billing (UNSTRUCTURED_PARSE). Make sure that your account balance is sufficient.
|
|
2393
2511
|
*
|
|
2394
2512
|
* @param request - GetScheduledTaskExecutionDetailRequest
|
|
2395
2513
|
* @returns GetScheduledTaskExecutionDetailResponse
|
|
2396
2514
|
*/
|
|
2397
2515
|
getScheduledTaskExecutionDetail(request: $_model.GetScheduledTaskExecutionDetailRequest): Promise<$_model.GetScheduledTaskExecutionDetailResponse>;
|
|
2398
2516
|
/**
|
|
2399
|
-
* Retrieves execution records of scheduled tasks.
|
|
2517
|
+
* Retrieves the execution records of scheduled tasks.
|
|
2400
2518
|
*
|
|
2401
2519
|
* @remarks
|
|
2402
|
-
* ##
|
|
2403
|
-
* - This operation uploads files to
|
|
2404
|
-
* - You must have the `DEVELOPMENT_KB_MANAGE` feature permission to call this operation.
|
|
2405
|
-
* -
|
|
2406
|
-
* - Optional parameters include the public access URL and original file name to enhance the completeness of file information.
|
|
2407
|
-
* - If `directoryId` is specified, the file is placed in the corresponding enterprise knowledge base
|
|
2408
|
-
* - You can add tags to resources
|
|
2409
|
-
* - This operation
|
|
2520
|
+
* ## Request description
|
|
2521
|
+
* - This API operation uploads files to the enterprise knowledge base.
|
|
2522
|
+
* - You must have the `DEVELOPMENT_KB_MANAGE` feature permission to call this API operation.
|
|
2523
|
+
* - When uploading a file, you must provide the OSS persistence address (`filePath`) of the file.
|
|
2524
|
+
* - Optional parameters include the public access URL and original file name of the file to enhance the completeness of the file information.
|
|
2525
|
+
* - If `directoryId` is specified, the file is placed in the corresponding enterprise knowledge base directory. Otherwise, the file is bound to the default root directory of the current digital employee.
|
|
2526
|
+
* - You can use `sourceTags` to add tags to resources for subsequent management and retrieval.
|
|
2527
|
+
* - This operation generates a bill (UNSTRUCTURED_PARSE). Make sure that your account balance is sufficient.
|
|
2410
2528
|
*
|
|
2411
2529
|
* @param request - GetScheduledTaskExecutionRecordsRequest
|
|
2412
2530
|
* @param headers - map
|
|
@@ -2417,17 +2535,17 @@ export default class Client extends OpenApi {
|
|
|
2417
2535
|
[key: string]: string;
|
|
2418
2536
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetScheduledTaskExecutionRecordsResponse>;
|
|
2419
2537
|
/**
|
|
2420
|
-
* Retrieves execution records of scheduled tasks.
|
|
2538
|
+
* Retrieves the execution records of scheduled tasks.
|
|
2421
2539
|
*
|
|
2422
2540
|
* @remarks
|
|
2423
|
-
* ##
|
|
2424
|
-
* - This operation uploads files to
|
|
2425
|
-
* - You must have the `DEVELOPMENT_KB_MANAGE` feature permission to call this operation.
|
|
2426
|
-
* -
|
|
2427
|
-
* - Optional parameters include the public access URL and original file name to enhance the completeness of file information.
|
|
2428
|
-
* - If `directoryId` is specified, the file is placed in the corresponding enterprise knowledge base
|
|
2429
|
-
* - You can add tags to resources
|
|
2430
|
-
* - This operation
|
|
2541
|
+
* ## Request description
|
|
2542
|
+
* - This API operation uploads files to the enterprise knowledge base.
|
|
2543
|
+
* - You must have the `DEVELOPMENT_KB_MANAGE` feature permission to call this API operation.
|
|
2544
|
+
* - When uploading a file, you must provide the OSS persistence address (`filePath`) of the file.
|
|
2545
|
+
* - Optional parameters include the public access URL and original file name of the file to enhance the completeness of the file information.
|
|
2546
|
+
* - If `directoryId` is specified, the file is placed in the corresponding enterprise knowledge base directory. Otherwise, the file is bound to the default root directory of the current digital employee.
|
|
2547
|
+
* - You can use `sourceTags` to add tags to resources for subsequent management and retrieval.
|
|
2548
|
+
* - This operation generates a bill (UNSTRUCTURED_PARSE). Make sure that your account balance is sufficient.
|
|
2431
2549
|
*
|
|
2432
2550
|
* @param request - GetScheduledTaskExecutionRecordsRequest
|
|
2433
2551
|
* @returns GetScheduledTaskExecutionRecordsResponse
|
|
@@ -2503,13 +2621,13 @@ export default class Client extends OpenApi {
|
|
|
2503
2621
|
* Retrieves the details of a skill.
|
|
2504
2622
|
*
|
|
2505
2623
|
* @remarks
|
|
2506
|
-
* ##
|
|
2624
|
+
* ## Request description
|
|
2507
2625
|
* Queries skill details by SkillCode or SkillName, including metadata, input parameter schema, and SKILL.md summary.
|
|
2508
|
-
* - **TenantId**: Optional common parameter passed through
|
|
2509
|
-
* - **SkillCode**: Mutually exclusive with SkillName. If both are
|
|
2626
|
+
* - **TenantId**: Optional common parameter passed through to the backend header by the gateway. If not specified, the default tenant of the current caller is used.
|
|
2627
|
+
* - **SkillCode**: Mutually exclusive with SkillName. If both are provided, SkillCode takes precedence.
|
|
2510
2628
|
* - **SkillName**: Mutually exclusive with SkillCode. If the name is not unique within the tenant, `ERR.SkillHub.SkillNameAmbiguous` is returned.
|
|
2511
|
-
* - **ViewMode**: Optional.
|
|
2512
|
-
* - **IncludeSkillFiles**: Optional. Specifies whether to return the complete skill file tree (SKILL.md
|
|
2629
|
+
* - **ViewMode**: Optional. Valid values: `draft` (draft or edit view) and `published` (published view, default).
|
|
2630
|
+
* - **IncludeSkillFiles**: Optional. Specifies whether to return the complete skill file tree (SKILL.md, scripts, and templates). Default value: `false`.
|
|
2513
2631
|
*
|
|
2514
2632
|
* @param request - GetSkillRequest
|
|
2515
2633
|
* @param headers - map
|
|
@@ -2523,13 +2641,13 @@ export default class Client extends OpenApi {
|
|
|
2523
2641
|
* Retrieves the details of a skill.
|
|
2524
2642
|
*
|
|
2525
2643
|
* @remarks
|
|
2526
|
-
* ##
|
|
2644
|
+
* ## Request description
|
|
2527
2645
|
* Queries skill details by SkillCode or SkillName, including metadata, input parameter schema, and SKILL.md summary.
|
|
2528
|
-
* - **TenantId**: Optional common parameter passed through
|
|
2529
|
-
* - **SkillCode**: Mutually exclusive with SkillName. If both are
|
|
2646
|
+
* - **TenantId**: Optional common parameter passed through to the backend header by the gateway. If not specified, the default tenant of the current caller is used.
|
|
2647
|
+
* - **SkillCode**: Mutually exclusive with SkillName. If both are provided, SkillCode takes precedence.
|
|
2530
2648
|
* - **SkillName**: Mutually exclusive with SkillCode. If the name is not unique within the tenant, `ERR.SkillHub.SkillNameAmbiguous` is returned.
|
|
2531
|
-
* - **ViewMode**: Optional.
|
|
2532
|
-
* - **IncludeSkillFiles**: Optional. Specifies whether to return the complete skill file tree (SKILL.md
|
|
2649
|
+
* - **ViewMode**: Optional. Valid values: `draft` (draft or edit view) and `published` (published view, default).
|
|
2650
|
+
* - **IncludeSkillFiles**: Optional. Specifies whether to return the complete skill file tree (SKILL.md, scripts, and templates). Default value: `false`.
|
|
2533
2651
|
*
|
|
2534
2652
|
* @param request - GetSkillRequest
|
|
2535
2653
|
* @returns GetSkillResponse
|
|
@@ -2540,11 +2658,11 @@ export default class Client extends OpenApi {
|
|
|
2540
2658
|
*
|
|
2541
2659
|
* @remarks
|
|
2542
2660
|
* ## Request description
|
|
2543
|
-
* Queries the current status and result of an asynchronous task by
|
|
2661
|
+
* Queries the current status and result of an asynchronous task by using RunId.
|
|
2544
2662
|
* - **State machine**: Running (PENDING/RUNNING) → Succeeded / Failed / Cancelled
|
|
2545
|
-
* - **TenantId**:
|
|
2546
|
-
* - **IncludeLogs**: Optional. Specifies whether to return execution logs. Default value:
|
|
2547
|
-
*
|
|
2663
|
+
* - **TenantId**: Optional common parameter passed through by the gateway. The backend verifies that RunId belongs to the current tenant. Otherwise, it uniformly returns ERR.SkillHub.RunNotFound to avoid leaking resource existence.
|
|
2664
|
+
* - **IncludeLogs**: Optional. Specifies whether to return execution logs. Default value: false.
|
|
2665
|
+
* If the execution is successful, Result.Content[] is an array of MCP-style content blocks (Text / File / Image).
|
|
2548
2666
|
*
|
|
2549
2667
|
* @param request - GetSkillRunRequest
|
|
2550
2668
|
* @param headers - map
|
|
@@ -2559,24 +2677,24 @@ export default class Client extends OpenApi {
|
|
|
2559
2677
|
*
|
|
2560
2678
|
* @remarks
|
|
2561
2679
|
* ## Request description
|
|
2562
|
-
* Queries the current status and result of an asynchronous task by
|
|
2680
|
+
* Queries the current status and result of an asynchronous task by using RunId.
|
|
2563
2681
|
* - **State machine**: Running (PENDING/RUNNING) → Succeeded / Failed / Cancelled
|
|
2564
|
-
* - **TenantId**:
|
|
2565
|
-
* - **IncludeLogs**: Optional. Specifies whether to return execution logs. Default value:
|
|
2566
|
-
*
|
|
2682
|
+
* - **TenantId**: Optional common parameter passed through by the gateway. The backend verifies that RunId belongs to the current tenant. Otherwise, it uniformly returns ERR.SkillHub.RunNotFound to avoid leaking resource existence.
|
|
2683
|
+
* - **IncludeLogs**: Optional. Specifies whether to return execution logs. Default value: false.
|
|
2684
|
+
* If the execution is successful, Result.Content[] is an array of MCP-style content blocks (Text / File / Image).
|
|
2567
2685
|
*
|
|
2568
2686
|
* @param request - GetSkillRunRequest
|
|
2569
2687
|
* @returns GetSkillRunResponse
|
|
2570
2688
|
*/
|
|
2571
2689
|
getSkillRun(request: $_model.GetSkillRunRequest): Promise<$_model.GetSkillRunResponse>;
|
|
2572
2690
|
/**
|
|
2573
|
-
* Queries the details of a specified resource (knowledge)
|
|
2691
|
+
* Queries the details of a specified resource (knowledge) and supports returning large detail fields on demand.
|
|
2574
2692
|
*
|
|
2575
2693
|
* @remarks
|
|
2576
|
-
* ##
|
|
2577
|
-
* - `tenant_id` is derived from the authenticated identity
|
|
2578
|
-
* -
|
|
2579
|
-
* -
|
|
2694
|
+
* ## Request description
|
|
2695
|
+
* - `tenant_id` is derived only from the authenticated identity. If the caller passes it in the request body, it is ignored.
|
|
2696
|
+
* - The response does not expose audit fields such as `creator` or `modifier`. The `unstructured_docs[ ].content` field is not returned by default to avoid large response payloads.
|
|
2697
|
+
* - You can obtain more detailed information, including `settings`, `notes`, `structuredTables`, and `unstructuredDocs`, by setting the `includeDetails` parameter to `true`.
|
|
2580
2698
|
*
|
|
2581
2699
|
* @param request - GetSourceRequest
|
|
2582
2700
|
* @param headers - map
|
|
@@ -2587,13 +2705,13 @@ export default class Client extends OpenApi {
|
|
|
2587
2705
|
[key: string]: string;
|
|
2588
2706
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetSourceResponse>;
|
|
2589
2707
|
/**
|
|
2590
|
-
* Queries the details of a specified resource (knowledge)
|
|
2708
|
+
* Queries the details of a specified resource (knowledge) and supports returning large detail fields on demand.
|
|
2591
2709
|
*
|
|
2592
2710
|
* @remarks
|
|
2593
|
-
* ##
|
|
2594
|
-
* - `tenant_id` is derived from the authenticated identity
|
|
2595
|
-
* -
|
|
2596
|
-
* -
|
|
2711
|
+
* ## Request description
|
|
2712
|
+
* - `tenant_id` is derived only from the authenticated identity. If the caller passes it in the request body, it is ignored.
|
|
2713
|
+
* - The response does not expose audit fields such as `creator` or `modifier`. The `unstructured_docs[ ].content` field is not returned by default to avoid large response payloads.
|
|
2714
|
+
* - You can obtain more detailed information, including `settings`, `notes`, `structuredTables`, and `unstructuredDocs`, by setting the `includeDetails` parameter to `true`.
|
|
2597
2715
|
*
|
|
2598
2716
|
* @param request - GetSourceRequest
|
|
2599
2717
|
* @returns GetSourceResponse
|
|
@@ -2758,15 +2876,15 @@ export default class Client extends OpenApi {
|
|
|
2758
2876
|
*/
|
|
2759
2877
|
getTokenInfo(request: $_model.GetTokenInfoRequest): Promise<$_model.GetTokenInfoResponse>;
|
|
2760
2878
|
/**
|
|
2761
|
-
* Queries
|
|
2879
|
+
* Queries the details of a user.
|
|
2762
2880
|
*
|
|
2763
2881
|
* @remarks
|
|
2764
|
-
* Queries
|
|
2882
|
+
* Queries the details of a user.
|
|
2765
2883
|
* Business orchestration:
|
|
2766
2884
|
* 1. Locate the user by wnUserId or accountId.
|
|
2767
|
-
* 2. Query the mapping information of the user in the current tenant, including status, join time, and last logon time.
|
|
2768
|
-
* 3. Query the
|
|
2769
|
-
* 4. Query the user
|
|
2885
|
+
* 2. Query the mapping information of the user in the current tenant, including the status, join time, and last logon time.
|
|
2886
|
+
* 3. Query the roles of the user in the current tenant.
|
|
2887
|
+
* 4. Query the user groups to which the user belongs in the current tenant.
|
|
2770
2888
|
* 5. Assemble the response.
|
|
2771
2889
|
* Error codes:
|
|
2772
2890
|
* - ERR.User.NotFound: The user does not exist.
|
|
@@ -2781,15 +2899,15 @@ export default class Client extends OpenApi {
|
|
|
2781
2899
|
[key: string]: string;
|
|
2782
2900
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetUserResponse>;
|
|
2783
2901
|
/**
|
|
2784
|
-
* Queries
|
|
2902
|
+
* Queries the details of a user.
|
|
2785
2903
|
*
|
|
2786
2904
|
* @remarks
|
|
2787
|
-
* Queries
|
|
2905
|
+
* Queries the details of a user.
|
|
2788
2906
|
* Business orchestration:
|
|
2789
2907
|
* 1. Locate the user by wnUserId or accountId.
|
|
2790
|
-
* 2. Query the mapping information of the user in the current tenant, including status, join time, and last logon time.
|
|
2791
|
-
* 3. Query the
|
|
2792
|
-
* 4. Query the user
|
|
2908
|
+
* 2. Query the mapping information of the user in the current tenant, including the status, join time, and last logon time.
|
|
2909
|
+
* 3. Query the roles of the user in the current tenant.
|
|
2910
|
+
* 4. Query the user groups to which the user belongs in the current tenant.
|
|
2793
2911
|
* 5. Assemble the response.
|
|
2794
2912
|
* Error codes:
|
|
2795
2913
|
* - ERR.User.NotFound: The user does not exist.
|
|
@@ -2868,16 +2986,14 @@ export default class Client extends OpenApi {
|
|
|
2868
2986
|
*/
|
|
2869
2987
|
getUserGroup(request: $_model.GetUserGroupRequest): Promise<$_model.GetUserGroupResponse>;
|
|
2870
2988
|
/**
|
|
2871
|
-
* Retrieves the complete information of
|
|
2989
|
+
* Retrieves the complete information of an authenticated user, including basic information and the tenant list.
|
|
2872
2990
|
*
|
|
2873
2991
|
* @remarks
|
|
2874
|
-
* ## Request description
|
|
2875
2992
|
* - This operation returns the detailed information of the current authenticated user.
|
|
2876
2993
|
* - If the tenant information is invalid, the corresponding error message is returned.
|
|
2877
|
-
* - tenantId is an optional parameter. If not provided, the default tenant ID of the caller is used.
|
|
2878
|
-
* -
|
|
2879
|
-
* -
|
|
2880
|
-
* - Note that if the current logon tenant is a system tenant (tenantId=10000), this is explicitly indicated in the response.
|
|
2994
|
+
* - tenantId is an optional parameter. If it is not provided, the default tenant ID of the caller is used.
|
|
2995
|
+
* - The returned data includes the user profile (such as the username and avatar URL), role preference settings, and details of all affiliated tenants.
|
|
2996
|
+
* - Note that if the currently logged-on tenant is the system tenant (that is, tenantId=10000), it is explicitly identified in the response.
|
|
2881
2997
|
*
|
|
2882
2998
|
* @param request - GetUserInfoRequest
|
|
2883
2999
|
* @param headers - map
|
|
@@ -2888,16 +3004,14 @@ export default class Client extends OpenApi {
|
|
|
2888
3004
|
[key: string]: string;
|
|
2889
3005
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetUserInfoResponse>;
|
|
2890
3006
|
/**
|
|
2891
|
-
* Retrieves the complete information of
|
|
3007
|
+
* Retrieves the complete information of an authenticated user, including basic information and the tenant list.
|
|
2892
3008
|
*
|
|
2893
3009
|
* @remarks
|
|
2894
|
-
* ## Request description
|
|
2895
3010
|
* - This operation returns the detailed information of the current authenticated user.
|
|
2896
3011
|
* - If the tenant information is invalid, the corresponding error message is returned.
|
|
2897
|
-
* - tenantId is an optional parameter. If not provided, the default tenant ID of the caller is used.
|
|
2898
|
-
* -
|
|
2899
|
-
* -
|
|
2900
|
-
* - Note that if the current logon tenant is a system tenant (tenantId=10000), this is explicitly indicated in the response.
|
|
3012
|
+
* - tenantId is an optional parameter. If it is not provided, the default tenant ID of the caller is used.
|
|
3013
|
+
* - The returned data includes the user profile (such as the username and avatar URL), role preference settings, and details of all affiliated tenants.
|
|
3014
|
+
* - Note that if the currently logged-on tenant is the system tenant (that is, tenantId=10000), it is explicitly identified in the response.
|
|
2901
3015
|
*
|
|
2902
3016
|
* @param request - GetUserInfoRequest
|
|
2903
3017
|
* @returns GetUserInfoResponse
|
|
@@ -2975,6 +3089,48 @@ export default class Client extends OpenApi {
|
|
|
2975
3089
|
* @returns GetWorkItemAttachmentAccessResponse
|
|
2976
3090
|
*/
|
|
2977
3091
|
getWorkItemAttachmentAccess(request: $_model.GetWorkItemAttachmentAccessRequest): Promise<$_model.GetWorkItemAttachmentAccessResponse>;
|
|
3092
|
+
/**
|
|
3093
|
+
* Queries the complete audit event records of a work item.
|
|
3094
|
+
*
|
|
3095
|
+
* @param request - GetWorkItemAuditRequest
|
|
3096
|
+
* @param headers - map
|
|
3097
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3098
|
+
* @returns GetWorkItemAuditResponse
|
|
3099
|
+
*/
|
|
3100
|
+
getWorkItemAuditWithOptions(request: $_model.GetWorkItemAuditRequest, headers: {
|
|
3101
|
+
[key: string]: string;
|
|
3102
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetWorkItemAuditResponse>;
|
|
3103
|
+
/**
|
|
3104
|
+
* Queries the complete audit event records of a work item.
|
|
3105
|
+
*
|
|
3106
|
+
* @param request - GetWorkItemAuditRequest
|
|
3107
|
+
* @returns GetWorkItemAuditResponse
|
|
3108
|
+
*/
|
|
3109
|
+
getWorkItemAudit(request: $_model.GetWorkItemAuditRequest): Promise<$_model.GetWorkItemAuditResponse>;
|
|
3110
|
+
/**
|
|
3111
|
+
* Queries the execution summaries of all nodes in a work item.
|
|
3112
|
+
*
|
|
3113
|
+
* @remarks
|
|
3114
|
+
* Queries the execution summaries of all nodes in a work item.
|
|
3115
|
+
*
|
|
3116
|
+
* @param request - GetWorkItemRunSummariesRequest
|
|
3117
|
+
* @param headers - map
|
|
3118
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3119
|
+
* @returns GetWorkItemRunSummariesResponse
|
|
3120
|
+
*/
|
|
3121
|
+
getWorkItemRunSummariesWithOptions(request: $_model.GetWorkItemRunSummariesRequest, headers: {
|
|
3122
|
+
[key: string]: string;
|
|
3123
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetWorkItemRunSummariesResponse>;
|
|
3124
|
+
/**
|
|
3125
|
+
* Queries the execution summaries of all nodes in a work item.
|
|
3126
|
+
*
|
|
3127
|
+
* @remarks
|
|
3128
|
+
* Queries the execution summaries of all nodes in a work item.
|
|
3129
|
+
*
|
|
3130
|
+
* @param request - GetWorkItemRunSummariesRequest
|
|
3131
|
+
* @returns GetWorkItemRunSummariesResponse
|
|
3132
|
+
*/
|
|
3133
|
+
getWorkItemRunSummaries(request: $_model.GetWorkItemRunSummariesRequest): Promise<$_model.GetWorkItemRunSummariesResponse>;
|
|
2978
3134
|
/**
|
|
2979
3135
|
* Queries the current running, review, and pause statuses of a work item, along with the actual active nodes and execution progress, by using a stable logical instance ID.
|
|
2980
3136
|
*
|
|
@@ -2999,6 +3155,24 @@ export default class Client extends OpenApi {
|
|
|
2999
3155
|
* @returns GetWorkflowInstanceResponse
|
|
3000
3156
|
*/
|
|
3001
3157
|
getWorkflowInstance(request: $_model.GetWorkflowInstanceRequest): Promise<$_model.GetWorkflowInstanceResponse>;
|
|
3158
|
+
/**
|
|
3159
|
+
* Queries the current and effective configurations of a workflow node.
|
|
3160
|
+
*
|
|
3161
|
+
* @param request - GetWorkflowNodeConfigurationRequest
|
|
3162
|
+
* @param headers - map
|
|
3163
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3164
|
+
* @returns GetWorkflowNodeConfigurationResponse
|
|
3165
|
+
*/
|
|
3166
|
+
getWorkflowNodeConfigurationWithOptions(request: $_model.GetWorkflowNodeConfigurationRequest, headers: {
|
|
3167
|
+
[key: string]: string;
|
|
3168
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetWorkflowNodeConfigurationResponse>;
|
|
3169
|
+
/**
|
|
3170
|
+
* Queries the current and effective configurations of a workflow node.
|
|
3171
|
+
*
|
|
3172
|
+
* @param request - GetWorkflowNodeConfigurationRequest
|
|
3173
|
+
* @returns GetWorkflowNodeConfigurationResponse
|
|
3174
|
+
*/
|
|
3175
|
+
getWorkflowNodeConfiguration(request: $_model.GetWorkflowNodeConfigurationRequest): Promise<$_model.GetWorkflowNodeConfigurationResponse>;
|
|
3002
3176
|
/**
|
|
3003
3177
|
* Retrieves the current configuration of a workflow template in a collaboration workspace.
|
|
3004
3178
|
*
|
|
@@ -3060,10 +3234,10 @@ export default class Client extends OpenApi {
|
|
|
3060
3234
|
*/
|
|
3061
3235
|
grantAgentUsers(request: $_model.GrantAgentUsersRequest): Promise<$_model.GrantAgentUsersResponse>;
|
|
3062
3236
|
/**
|
|
3063
|
-
* Imports a portable template JSON and creates a new template
|
|
3237
|
+
* Imports a portable template in JSON format and creates a new template, regardless of whether a template with the same name exists.
|
|
3064
3238
|
*
|
|
3065
3239
|
* @remarks
|
|
3066
|
-
* Imports a portable template JSON and creates a new template
|
|
3240
|
+
* Imports a portable template in JSON format and creates a new template, regardless of whether a template with the same name exists.
|
|
3067
3241
|
*
|
|
3068
3242
|
* @param tmpReq - ImportWorkflowTemplateRequest
|
|
3069
3243
|
* @param headers - map
|
|
@@ -3074,10 +3248,10 @@ export default class Client extends OpenApi {
|
|
|
3074
3248
|
[key: string]: string;
|
|
3075
3249
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ImportWorkflowTemplateResponse>;
|
|
3076
3250
|
/**
|
|
3077
|
-
* Imports a portable template JSON and creates a new template
|
|
3251
|
+
* Imports a portable template in JSON format and creates a new template, regardless of whether a template with the same name exists.
|
|
3078
3252
|
*
|
|
3079
3253
|
* @remarks
|
|
3080
|
-
* Imports a portable template JSON and creates a new template
|
|
3254
|
+
* Imports a portable template in JSON format and creates a new template, regardless of whether a template with the same name exists.
|
|
3081
3255
|
*
|
|
3082
3256
|
* @param request - ImportWorkflowTemplateRequest
|
|
3083
3257
|
* @returns ImportWorkflowTemplateResponse
|
|
@@ -3245,7 +3419,7 @@ export default class Client extends OpenApi {
|
|
|
3245
3419
|
* Queries the resource authorization records within an application.
|
|
3246
3420
|
*
|
|
3247
3421
|
* @remarks
|
|
3248
|
-
* Pages
|
|
3422
|
+
* Pages the resource authorization records by secure application prefix after APP/MANAGE authorization.
|
|
3249
3423
|
*
|
|
3250
3424
|
* @param tmpReq - ListAppResourcePermissionRecordsRequest
|
|
3251
3425
|
* @param headers - map
|
|
@@ -3259,17 +3433,17 @@ export default class Client extends OpenApi {
|
|
|
3259
3433
|
* Queries the resource authorization records within an application.
|
|
3260
3434
|
*
|
|
3261
3435
|
* @remarks
|
|
3262
|
-
* Pages
|
|
3436
|
+
* Pages the resource authorization records by secure application prefix after APP/MANAGE authorization.
|
|
3263
3437
|
*
|
|
3264
3438
|
* @param request - ListAppResourcePermissionRecordsRequest
|
|
3265
3439
|
* @returns ListAppResourcePermissionRecordsResponse
|
|
3266
3440
|
*/
|
|
3267
3441
|
listAppResourcePermissionRecords(request: $_model.ListAppResourcePermissionRecordsRequest): Promise<$_model.ListAppResourcePermissionRecordsResponse>;
|
|
3268
3442
|
/**
|
|
3269
|
-
* Queries the
|
|
3443
|
+
* Queries the effective resource permissions of a user within an application.
|
|
3270
3444
|
*
|
|
3271
3445
|
* @remarks
|
|
3272
|
-
*
|
|
3446
|
+
* Enforces the application prefix. The VIEW permission is required for querying your own resources, and the MANAGE permission is required for querying resources on behalf of others.
|
|
3273
3447
|
*
|
|
3274
3448
|
* @param tmpReq - ListAppResourceUserPermissionsRequest
|
|
3275
3449
|
* @param headers - map
|
|
@@ -3280,10 +3454,10 @@ export default class Client extends OpenApi {
|
|
|
3280
3454
|
[key: string]: string;
|
|
3281
3455
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListAppResourceUserPermissionsResponse>;
|
|
3282
3456
|
/**
|
|
3283
|
-
* Queries the
|
|
3457
|
+
* Queries the effective resource permissions of a user within an application.
|
|
3284
3458
|
*
|
|
3285
3459
|
* @remarks
|
|
3286
|
-
*
|
|
3460
|
+
* Enforces the application prefix. The VIEW permission is required for querying your own resources, and the MANAGE permission is required for querying resources on behalf of others.
|
|
3287
3461
|
*
|
|
3288
3462
|
* @param request - ListAppResourceUserPermissionsRequest
|
|
3289
3463
|
* @returns ListAppResourceUserPermissionsResponse
|
|
@@ -3459,6 +3633,54 @@ export default class Client extends OpenApi {
|
|
|
3459
3633
|
* @returns ListChatSessionsResponse
|
|
3460
3634
|
*/
|
|
3461
3635
|
listChatSessions(request: $_model.ListChatSessionsRequest): Promise<$_model.ListChatSessionsResponse>;
|
|
3636
|
+
/**
|
|
3637
|
+
* Performs a paged query with paging support on the list of members in a collaboration workspace.
|
|
3638
|
+
*
|
|
3639
|
+
* @remarks
|
|
3640
|
+
* Performs a paged query with paging support on the active members of a specified workspace, and supports searching by member display name. To invoke this API, you must be an active member of the workspace in the current tenant. The isActive field indicates the enabling status of the tenant account, not the employment status.
|
|
3641
|
+
*
|
|
3642
|
+
* @param request - ListCollaborationGroupMembersRequest
|
|
3643
|
+
* @param headers - map
|
|
3644
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3645
|
+
* @returns ListCollaborationGroupMembersResponse
|
|
3646
|
+
*/
|
|
3647
|
+
listCollaborationGroupMembersWithOptions(request: $_model.ListCollaborationGroupMembersRequest, headers: {
|
|
3648
|
+
[key: string]: string;
|
|
3649
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListCollaborationGroupMembersResponse>;
|
|
3650
|
+
/**
|
|
3651
|
+
* Performs a paged query with paging support on the list of members in a collaboration workspace.
|
|
3652
|
+
*
|
|
3653
|
+
* @remarks
|
|
3654
|
+
* Performs a paged query with paging support on the active members of a specified workspace, and supports searching by member display name. To invoke this API, you must be an active member of the workspace in the current tenant. The isActive field indicates the enabling status of the tenant account, not the employment status.
|
|
3655
|
+
*
|
|
3656
|
+
* @param request - ListCollaborationGroupMembersRequest
|
|
3657
|
+
* @returns ListCollaborationGroupMembersResponse
|
|
3658
|
+
*/
|
|
3659
|
+
listCollaborationGroupMembers(request: $_model.ListCollaborationGroupMembersRequest): Promise<$_model.ListCollaborationGroupMembersResponse>;
|
|
3660
|
+
/**
|
|
3661
|
+
* Performs a paging query for the list of collaboration spaces visible to the current user.
|
|
3662
|
+
*
|
|
3663
|
+
* @remarks
|
|
3664
|
+
* Performs a paging query for the collaboration spaces that the invoking user has validly joined in the current tenant. You can search for spaces by name. Only ACTIVE spaces are returned. The identity used to invoke the operation must be associated with a platform user, and deployment credentials without a user identity are not supported.
|
|
3665
|
+
*
|
|
3666
|
+
* @param request - ListCollaborationGroupsRequest
|
|
3667
|
+
* @param headers - map
|
|
3668
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3669
|
+
* @returns ListCollaborationGroupsResponse
|
|
3670
|
+
*/
|
|
3671
|
+
listCollaborationGroupsWithOptions(request: $_model.ListCollaborationGroupsRequest, headers: {
|
|
3672
|
+
[key: string]: string;
|
|
3673
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListCollaborationGroupsResponse>;
|
|
3674
|
+
/**
|
|
3675
|
+
* Performs a paging query for the list of collaboration spaces visible to the current user.
|
|
3676
|
+
*
|
|
3677
|
+
* @remarks
|
|
3678
|
+
* Performs a paging query for the collaboration spaces that the invoking user has validly joined in the current tenant. You can search for spaces by name. Only ACTIVE spaces are returned. The identity used to invoke the operation must be associated with a platform user, and deployment credentials without a user identity are not supported.
|
|
3679
|
+
*
|
|
3680
|
+
* @param request - ListCollaborationGroupsRequest
|
|
3681
|
+
* @returns ListCollaborationGroupsResponse
|
|
3682
|
+
*/
|
|
3683
|
+
listCollaborationGroups(request: $_model.ListCollaborationGroupsRequest): Promise<$_model.ListCollaborationGroupsResponse>;
|
|
3462
3684
|
/**
|
|
3463
3685
|
* Lists personal draft changes for a semantic graph.
|
|
3464
3686
|
*
|
|
@@ -3690,12 +3912,14 @@ export default class Client extends OpenApi {
|
|
|
3690
3912
|
*/
|
|
3691
3913
|
listOperatingObjectFavorites(request: $_model.ListOperatingObjectFavoritesRequest): Promise<$_model.ListOperatingObjectFavoritesResponse>;
|
|
3692
3914
|
/**
|
|
3693
|
-
* Performs a paged query
|
|
3915
|
+
* Performs a paged query for the visible outputs and the latest published file versions of the current user or a specified collaboration workspace. Supports filtering by session, label, and business ID. Calculates paging and total counts based on primary output records.
|
|
3694
3916
|
*
|
|
3695
3917
|
* @remarks
|
|
3696
|
-
* If collaborationGroupId is not provided, queries the personal outputs of the current
|
|
3697
|
-
* sessionId requires an exact match for
|
|
3698
|
-
*
|
|
3918
|
+
* If collaborationGroupId is not provided, queries the personal outputs of the current caller. If provided, queries the outputs of the specified collaboration workspace and verifies the real-time access permissions of the current workspace members and source resources. The caller identity and tenant permissions are determined by the authentication context.
|
|
3919
|
+
* The sessionId parameter requires an exact match for regular sessions, skill sessions, or node execution sessions. The tags parameter requires all labels to match simultaneously. The bizId parameter requires an exact match for the business ID of file registration or associated workflow instances. The new conditions are combined with the existing operatingObjectName, itemType, keyword, and sharedOnly conditions using the AND operator, and are executed before counting and paging.
|
|
3920
|
+
* Tags and business IDs are derived from file registration or workflow instance associations. Unregistered tags or business IDs are not inferred from titles. Pagination defaults to page 1 with 20 items per page, up to a maximum of 100 items, sorted in descending order by update time. The response structure remains compatible with the original API operation.
|
|
3921
|
+
* For versioned files, the latest published version is returned by default without expanding historical versions. This API operation does not currently support querying specific versions. Pagination and the total count are still based on primary output records, deduplicated by outputId, and are not counted by the number of files or historical versions.
|
|
3922
|
+
* For versioned files, fileInfo.path is a time-sensitive download link attached to the published version and content revisions selected during the query. Downloads do not perform automatic switchover to other versions published later. Invoke this API operation again to obtain a new link after the current link expires. Historical files that have not yet formed a published version may not return download information.
|
|
3699
3923
|
*
|
|
3700
3924
|
* @param tmpReq - ListOutputFilesRequest
|
|
3701
3925
|
* @param headers - map
|
|
@@ -3706,12 +3930,14 @@ export default class Client extends OpenApi {
|
|
|
3706
3930
|
[key: string]: string;
|
|
3707
3931
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListOutputFilesResponse>;
|
|
3708
3932
|
/**
|
|
3709
|
-
* Performs a paged query
|
|
3933
|
+
* Performs a paged query for the visible outputs and the latest published file versions of the current user or a specified collaboration workspace. Supports filtering by session, label, and business ID. Calculates paging and total counts based on primary output records.
|
|
3710
3934
|
*
|
|
3711
3935
|
* @remarks
|
|
3712
|
-
* If collaborationGroupId is not provided, queries the personal outputs of the current
|
|
3713
|
-
* sessionId requires an exact match for
|
|
3714
|
-
*
|
|
3936
|
+
* If collaborationGroupId is not provided, queries the personal outputs of the current caller. If provided, queries the outputs of the specified collaboration workspace and verifies the real-time access permissions of the current workspace members and source resources. The caller identity and tenant permissions are determined by the authentication context.
|
|
3937
|
+
* The sessionId parameter requires an exact match for regular sessions, skill sessions, or node execution sessions. The tags parameter requires all labels to match simultaneously. The bizId parameter requires an exact match for the business ID of file registration or associated workflow instances. The new conditions are combined with the existing operatingObjectName, itemType, keyword, and sharedOnly conditions using the AND operator, and are executed before counting and paging.
|
|
3938
|
+
* Tags and business IDs are derived from file registration or workflow instance associations. Unregistered tags or business IDs are not inferred from titles. Pagination defaults to page 1 with 20 items per page, up to a maximum of 100 items, sorted in descending order by update time. The response structure remains compatible with the original API operation.
|
|
3939
|
+
* For versioned files, the latest published version is returned by default without expanding historical versions. This API operation does not currently support querying specific versions. Pagination and the total count are still based on primary output records, deduplicated by outputId, and are not counted by the number of files or historical versions.
|
|
3940
|
+
* For versioned files, fileInfo.path is a time-sensitive download link attached to the published version and content revisions selected during the query. Downloads do not perform automatic switchover to other versions published later. Invoke this API operation again to obtain a new link after the current link expires. Historical files that have not yet formed a published version may not return download information.
|
|
3715
3941
|
*
|
|
3716
3942
|
* @param request - ListOutputFilesRequest
|
|
3717
3943
|
* @returns ListOutputFilesResponse
|
|
@@ -3793,14 +4019,14 @@ export default class Client extends OpenApi {
|
|
|
3793
4019
|
* Retrieves a list of scheduled tasks.
|
|
3794
4020
|
*
|
|
3795
4021
|
* @remarks
|
|
3796
|
-
* ##
|
|
3797
|
-
* - This
|
|
3798
|
-
* -
|
|
3799
|
-
* -
|
|
3800
|
-
* - Optional parameters include the public access URL and original file name to enhance the completeness of file information.
|
|
3801
|
-
* - If
|
|
3802
|
-
* -
|
|
3803
|
-
* - This operation
|
|
4022
|
+
* ## Request description
|
|
4023
|
+
* - This API is used to upload files to the enterprise knowledge base.
|
|
4024
|
+
* - The DEVELOPMENT_KB_MANAGE feature permission is required to call this API.
|
|
4025
|
+
* - The OSS persistence URL (filePath) of the file must be provided during file upload.
|
|
4026
|
+
* - Optional parameters include the public access URL and original file name of the file to enhance the completeness of file information.
|
|
4027
|
+
* - If directoryId is specified, the file is placed in the corresponding enterprise knowledge base directory. Otherwise, it is bound to the default root directory of the current digital employee by default.
|
|
4028
|
+
* - Tags can be added to resources through sourceTags to facilitate subsequent management and retrieval.
|
|
4029
|
+
* - This operation generates a bill (UNSTRUCTURED_PARSE). Ensure that your account balance is sufficient.
|
|
3804
4030
|
*
|
|
3805
4031
|
* @param tmpReq - ListScheduledTasksRequest
|
|
3806
4032
|
* @param headers - map
|
|
@@ -3814,14 +4040,14 @@ export default class Client extends OpenApi {
|
|
|
3814
4040
|
* Retrieves a list of scheduled tasks.
|
|
3815
4041
|
*
|
|
3816
4042
|
* @remarks
|
|
3817
|
-
* ##
|
|
3818
|
-
* - This
|
|
3819
|
-
* -
|
|
3820
|
-
* -
|
|
3821
|
-
* - Optional parameters include the public access URL and original file name to enhance the completeness of file information.
|
|
3822
|
-
* - If
|
|
3823
|
-
* -
|
|
3824
|
-
* - This operation
|
|
4043
|
+
* ## Request description
|
|
4044
|
+
* - This API is used to upload files to the enterprise knowledge base.
|
|
4045
|
+
* - The DEVELOPMENT_KB_MANAGE feature permission is required to call this API.
|
|
4046
|
+
* - The OSS persistence URL (filePath) of the file must be provided during file upload.
|
|
4047
|
+
* - Optional parameters include the public access URL and original file name of the file to enhance the completeness of file information.
|
|
4048
|
+
* - If directoryId is specified, the file is placed in the corresponding enterprise knowledge base directory. Otherwise, it is bound to the default root directory of the current digital employee by default.
|
|
4049
|
+
* - Tags can be added to resources through sourceTags to facilitate subsequent management and retrieval.
|
|
4050
|
+
* - This operation generates a bill (UNSTRUCTURED_PARSE). Ensure that your account balance is sufficient.
|
|
3825
4051
|
*
|
|
3826
4052
|
* @param request - ListScheduledTasksRequest
|
|
3827
4053
|
* @returns ListScheduledTasksResponse
|
|
@@ -3876,15 +4102,39 @@ export default class Client extends OpenApi {
|
|
|
3876
4102
|
*/
|
|
3877
4103
|
listSkills(request: $_model.ListSkillsRequest): Promise<$_model.ListSkillsResponse>;
|
|
3878
4104
|
/**
|
|
3879
|
-
* Retrieves
|
|
4105
|
+
* Retrieves source retrieve and usage statistics through paged query and paging.
|
|
3880
4106
|
*
|
|
3881
4107
|
* @remarks
|
|
3882
|
-
*
|
|
3883
|
-
*
|
|
3884
|
-
*
|
|
3885
|
-
*
|
|
3886
|
-
*
|
|
3887
|
-
*
|
|
4108
|
+
* Retrieves source retrieve and usage statistics through paged query and paging. Returns only the data for the current query purpose, without other report sections. For enterprises, only the knowledge base super administrator is allowed. For a single workspace, the storage management administrator or the SUPER_ADMIN of the current tenant platform is allowed. For all workspaces, only the platform SUPER_ADMIN is allowed. This feature is not available for individual users, and group credentials cannot be used across workspaces. The time refers to the reporting and ingestion time, which is left-closed and right-open, with a maximum span of 366 days. Knowledge bases are filtered based on the current attach settings. The three APIs do not guarantee the same snapshot across requests.
|
|
4109
|
+
*
|
|
4110
|
+
* @param tmpReq - ListSourceUsageStatisticsRequest
|
|
4111
|
+
* @param headers - map
|
|
4112
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4113
|
+
* @returns ListSourceUsageStatisticsResponse
|
|
4114
|
+
*/
|
|
4115
|
+
listSourceUsageStatisticsWithOptions(tmpReq: $_model.ListSourceUsageStatisticsRequest, headers: {
|
|
4116
|
+
[key: string]: string;
|
|
4117
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListSourceUsageStatisticsResponse>;
|
|
4118
|
+
/**
|
|
4119
|
+
* Retrieves source retrieve and usage statistics through paged query and paging.
|
|
4120
|
+
*
|
|
4121
|
+
* @remarks
|
|
4122
|
+
* Retrieves source retrieve and usage statistics through paged query and paging. Returns only the data for the current query purpose, without other report sections. For enterprises, only the knowledge base super administrator is allowed. For a single workspace, the storage management administrator or the SUPER_ADMIN of the current tenant platform is allowed. For all workspaces, only the platform SUPER_ADMIN is allowed. This feature is not available for individual users, and group credentials cannot be used across workspaces. The time refers to the reporting and ingestion time, which is left-closed and right-open, with a maximum span of 366 days. Knowledge bases are filtered based on the current attach settings. The three APIs do not guarantee the same snapshot across requests.
|
|
4123
|
+
*
|
|
4124
|
+
* @param request - ListSourceUsageStatisticsRequest
|
|
4125
|
+
* @returns ListSourceUsageStatisticsResponse
|
|
4126
|
+
*/
|
|
4127
|
+
listSourceUsageStatistics(request: $_model.ListSourceUsageStatisticsRequest): Promise<$_model.ListSourceUsageStatisticsResponse>;
|
|
4128
|
+
/**
|
|
4129
|
+
* Retrieves a list of knowledge bases.
|
|
4130
|
+
*
|
|
4131
|
+
* @remarks
|
|
4132
|
+
* ## Request description
|
|
4133
|
+
* - This API performs a paging query of folder contents and resources in an enterprise knowledge base.
|
|
4134
|
+
* - It supports filtering and sorting by various parameters, such as directoryId, page, pageSize, sortField, and sortOrder.
|
|
4135
|
+
* - The sourceTypes parameter allows you to filter by resource type. Separate multiple types with commas.
|
|
4136
|
+
* - If directoryId is not specified or is set to root, the root folder list of the knowledge base is queried by default.
|
|
4137
|
+
* - The default sort field is name, and the default sort order is ascending (asc).
|
|
3888
4138
|
*
|
|
3889
4139
|
* @param request - ListTenantDirectoryRequest
|
|
3890
4140
|
* @param headers - map
|
|
@@ -3895,15 +4145,15 @@ export default class Client extends OpenApi {
|
|
|
3895
4145
|
[key: string]: string;
|
|
3896
4146
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListTenantDirectoryResponse>;
|
|
3897
4147
|
/**
|
|
3898
|
-
* Retrieves
|
|
4148
|
+
* Retrieves a list of knowledge bases.
|
|
3899
4149
|
*
|
|
3900
4150
|
* @remarks
|
|
3901
|
-
* ##
|
|
3902
|
-
* - This API
|
|
3903
|
-
* -
|
|
3904
|
-
* - The
|
|
3905
|
-
* - If
|
|
3906
|
-
* - The default sort field is
|
|
4151
|
+
* ## Request description
|
|
4152
|
+
* - This API performs a paging query of folder contents and resources in an enterprise knowledge base.
|
|
4153
|
+
* - It supports filtering and sorting by various parameters, such as directoryId, page, pageSize, sortField, and sortOrder.
|
|
4154
|
+
* - The sourceTypes parameter allows you to filter by resource type. Separate multiple types with commas.
|
|
4155
|
+
* - If directoryId is not specified or is set to root, the root folder list of the knowledge base is queried by default.
|
|
4156
|
+
* - The default sort field is name, and the default sort order is ascending (asc).
|
|
3907
4157
|
*
|
|
3908
4158
|
* @param request - ListTenantDirectoryRequest
|
|
3909
4159
|
* @returns ListTenantDirectoryResponse
|
|
@@ -3966,13 +4216,13 @@ export default class Client extends OpenApi {
|
|
|
3966
4216
|
*/
|
|
3967
4217
|
listUserGroups(request: $_model.ListUserGroupsRequest): Promise<$_model.ListUserGroupsResponse>;
|
|
3968
4218
|
/**
|
|
3969
|
-
* Queries the knowledge base directory
|
|
4219
|
+
* Queries the content of the knowledge base directory visible to the current OpenAPI user.
|
|
3970
4220
|
*
|
|
3971
4221
|
* @remarks
|
|
3972
|
-
* ##
|
|
3973
|
-
* - This operation returns subdirectories and READY resources
|
|
4222
|
+
* ## Request description
|
|
4223
|
+
* - This operation returns the subdirectories and READY resources of a specified directory based on the frontend specifications of the enterprise knowledge base.
|
|
3974
4224
|
* - The user identity and directory visibility scope are derived from the OpenAPI authentication context.
|
|
3975
|
-
* -
|
|
4225
|
+
* - If `sourceTypes` is specified, only resources are returned. The `keyword` parameter only searches the current directory level.
|
|
3976
4226
|
*
|
|
3977
4227
|
* @param request - ListUserVisibleKnowledgeBaseContentsRequest
|
|
3978
4228
|
* @param headers - map
|
|
@@ -3983,13 +4233,13 @@ export default class Client extends OpenApi {
|
|
|
3983
4233
|
[key: string]: string;
|
|
3984
4234
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListUserVisibleKnowledgeBaseContentsResponse>;
|
|
3985
4235
|
/**
|
|
3986
|
-
* Queries the knowledge base directory
|
|
4236
|
+
* Queries the content of the knowledge base directory visible to the current OpenAPI user.
|
|
3987
4237
|
*
|
|
3988
4238
|
* @remarks
|
|
3989
|
-
* ##
|
|
3990
|
-
* - This operation returns subdirectories and READY resources
|
|
4239
|
+
* ## Request description
|
|
4240
|
+
* - This operation returns the subdirectories and READY resources of a specified directory based on the frontend specifications of the enterprise knowledge base.
|
|
3991
4241
|
* - The user identity and directory visibility scope are derived from the OpenAPI authentication context.
|
|
3992
|
-
* -
|
|
4242
|
+
* - If `sourceTypes` is specified, only resources are returned. The `keyword` parameter only searches the current directory level.
|
|
3993
4243
|
*
|
|
3994
4244
|
* @param request - ListUserVisibleKnowledgeBaseContentsRequest
|
|
3995
4245
|
* @returns ListUserVisibleKnowledgeBaseContentsResponse
|
|
@@ -4026,16 +4276,16 @@ export default class Client extends OpenApi {
|
|
|
4026
4276
|
*/
|
|
4027
4277
|
listUserVisibleKnowledgeBases(request: $_model.ListUserVisibleKnowledgeBasesRequest): Promise<$_model.ListUserVisibleKnowledgeBasesResponse>;
|
|
4028
4278
|
/**
|
|
4029
|
-
*
|
|
4279
|
+
* Performs a paging query for the tenant member list.
|
|
4030
4280
|
*
|
|
4031
4281
|
* @remarks
|
|
4032
|
-
*
|
|
4033
|
-
*
|
|
4034
|
-
* 1. Parse filter conditions (roleCodes
|
|
4035
|
-
* 2.
|
|
4036
|
-
* 3. Convert role_id in the
|
|
4282
|
+
* Performs a paging query for the tenant member list by using OpenAPI.
|
|
4283
|
+
* Workflow:
|
|
4284
|
+
* 1. Parse filter conditions (roleCodes to role_ids).
|
|
4285
|
+
* 2. Invoke UserTenantMappingRepository.query_paged_tenant_members to perform a paging query.
|
|
4286
|
+
* 3. Convert role_id in the result to roleCode and assemble the response.
|
|
4037
4287
|
* Error codes:
|
|
4038
|
-
* -
|
|
4288
|
+
* - Throws an error when the roleCode parameter is invalid.
|
|
4039
4289
|
*
|
|
4040
4290
|
* @param tmpReq - ListUsersRequest
|
|
4041
4291
|
* @param headers - map
|
|
@@ -4046,16 +4296,16 @@ export default class Client extends OpenApi {
|
|
|
4046
4296
|
[key: string]: string;
|
|
4047
4297
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListUsersResponse>;
|
|
4048
4298
|
/**
|
|
4049
|
-
*
|
|
4299
|
+
* Performs a paging query for the tenant member list.
|
|
4050
4300
|
*
|
|
4051
4301
|
* @remarks
|
|
4052
|
-
*
|
|
4053
|
-
*
|
|
4054
|
-
* 1. Parse filter conditions (roleCodes
|
|
4055
|
-
* 2.
|
|
4056
|
-
* 3. Convert role_id in the
|
|
4302
|
+
* Performs a paging query for the tenant member list by using OpenAPI.
|
|
4303
|
+
* Workflow:
|
|
4304
|
+
* 1. Parse filter conditions (roleCodes to role_ids).
|
|
4305
|
+
* 2. Invoke UserTenantMappingRepository.query_paged_tenant_members to perform a paging query.
|
|
4306
|
+
* 3. Convert role_id in the result to roleCode and assemble the response.
|
|
4057
4307
|
* Error codes:
|
|
4058
|
-
* -
|
|
4308
|
+
* - Throws an error when the roleCode parameter is invalid.
|
|
4059
4309
|
*
|
|
4060
4310
|
* @param request - ListUsersRequest
|
|
4061
4311
|
* @returns ListUsersResponse
|
|
@@ -4218,10 +4468,10 @@ export default class Client extends OpenApi {
|
|
|
4218
4468
|
*/
|
|
4219
4469
|
listWorkflowTemplateVersions(request: $_model.ListWorkflowTemplateVersionsRequest): Promise<$_model.ListWorkflowTemplateVersionsResponse>;
|
|
4220
4470
|
/**
|
|
4221
|
-
* Queries valid templates in the current collaboration space
|
|
4471
|
+
* Queries the valid templates in the current collaboration space by using pagination. If both page/pageSize and nextToken/maxResults are specified, the token takes precedence.
|
|
4222
4472
|
*
|
|
4223
4473
|
* @remarks
|
|
4224
|
-
* Searches for valid templates in the current collaboration space
|
|
4474
|
+
* Searches for valid templates in the current collaboration space by using pagination. If both page/pageSize and nextToken/maxResults are specified, the token takes precedence.
|
|
4225
4475
|
*
|
|
4226
4476
|
* @param request - ListWorkflowTemplatesRequest
|
|
4227
4477
|
* @param headers - map
|
|
@@ -4232,10 +4482,10 @@ export default class Client extends OpenApi {
|
|
|
4232
4482
|
[key: string]: string;
|
|
4233
4483
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListWorkflowTemplatesResponse>;
|
|
4234
4484
|
/**
|
|
4235
|
-
* Queries valid templates in the current collaboration space
|
|
4485
|
+
* Queries the valid templates in the current collaboration space by using pagination. If both page/pageSize and nextToken/maxResults are specified, the token takes precedence.
|
|
4236
4486
|
*
|
|
4237
4487
|
* @remarks
|
|
4238
|
-
* Searches for valid templates in the current collaboration space
|
|
4488
|
+
* Searches for valid templates in the current collaboration space by using pagination. If both page/pageSize and nextToken/maxResults are specified, the token takes precedence.
|
|
4239
4489
|
*
|
|
4240
4490
|
* @param request - ListWorkflowTemplatesRequest
|
|
4241
4491
|
* @returns ListWorkflowTemplatesResponse
|
|
@@ -4245,7 +4495,7 @@ export default class Client extends OpenApi {
|
|
|
4245
4495
|
* Marks to-do items as read.
|
|
4246
4496
|
*
|
|
4247
4497
|
* @remarks
|
|
4248
|
-
* Marks the to-do items of the current user as read. The markAllRead parameter takes precedence over
|
|
4498
|
+
* Marks the to-do items of the current user as read. The markAllRead parameter takes precedence over todoIds. No error is reported if both are empty.
|
|
4249
4499
|
*
|
|
4250
4500
|
* @param tmpReq - MarkTodosReadRequest
|
|
4251
4501
|
* @param headers - map
|
|
@@ -4259,7 +4509,7 @@ export default class Client extends OpenApi {
|
|
|
4259
4509
|
* Marks to-do items as read.
|
|
4260
4510
|
*
|
|
4261
4511
|
* @remarks
|
|
4262
|
-
* Marks the to-do items of the current user as read. The markAllRead parameter takes precedence over
|
|
4512
|
+
* Marks the to-do items of the current user as read. The markAllRead parameter takes precedence over todoIds. No error is reported if both are empty.
|
|
4263
4513
|
*
|
|
4264
4514
|
* @param request - MarkTodosReadRequest
|
|
4265
4515
|
* @returns MarkTodosReadResponse
|
|
@@ -4581,6 +4831,54 @@ export default class Client extends OpenApi {
|
|
|
4581
4831
|
* @returns QuerySemanticKnowledgeResponse
|
|
4582
4832
|
*/
|
|
4583
4833
|
querySemanticKnowledge(request: $_model.QuerySemanticKnowledgeRequest): Promise<$_model.QuerySemanticKnowledgeResponse>;
|
|
4834
|
+
/**
|
|
4835
|
+
* Queries the overview of source retrieval and usage.
|
|
4836
|
+
*
|
|
4837
|
+
* @remarks
|
|
4838
|
+
* Queries the overview of source retrieve and usage. Returns only the data for the current query purpose, without other report sections. For enterprises, only the knowledge base super administrator is allowed. For a single workspace, the storage management administrator or the SUPER_ADMIN of the current tenant platform is allowed. For all workspaces, only the platform SUPER_ADMIN is allowed. This feature is not available for individual users, and group credentials cannot be used across workspaces. The time refers to the reporting and ingestion time, which is left-closed and right-open, with a maximum span of 366 days. Knowledge bases are filtered based on the attach configuration. The three APIs do not guarantee the same snapshot across requests.
|
|
4839
|
+
*
|
|
4840
|
+
* @param tmpReq - QuerySourceUsageSummaryRequest
|
|
4841
|
+
* @param headers - map
|
|
4842
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4843
|
+
* @returns QuerySourceUsageSummaryResponse
|
|
4844
|
+
*/
|
|
4845
|
+
querySourceUsageSummaryWithOptions(tmpReq: $_model.QuerySourceUsageSummaryRequest, headers: {
|
|
4846
|
+
[key: string]: string;
|
|
4847
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.QuerySourceUsageSummaryResponse>;
|
|
4848
|
+
/**
|
|
4849
|
+
* Queries the overview of source retrieval and usage.
|
|
4850
|
+
*
|
|
4851
|
+
* @remarks
|
|
4852
|
+
* Queries the overview of source retrieve and usage. Returns only the data for the current query purpose, without other report sections. For enterprises, only the knowledge base super administrator is allowed. For a single workspace, the storage management administrator or the SUPER_ADMIN of the current tenant platform is allowed. For all workspaces, only the platform SUPER_ADMIN is allowed. This feature is not available for individual users, and group credentials cannot be used across workspaces. The time refers to the reporting and ingestion time, which is left-closed and right-open, with a maximum span of 366 days. Knowledge bases are filtered based on the attach configuration. The three APIs do not guarantee the same snapshot across requests.
|
|
4853
|
+
*
|
|
4854
|
+
* @param request - QuerySourceUsageSummaryRequest
|
|
4855
|
+
* @returns QuerySourceUsageSummaryResponse
|
|
4856
|
+
*/
|
|
4857
|
+
querySourceUsageSummary(request: $_model.QuerySourceUsageSummaryRequest): Promise<$_model.QuerySourceUsageSummaryResponse>;
|
|
4858
|
+
/**
|
|
4859
|
+
* Queries the retrieval and usage time trends of sources.
|
|
4860
|
+
*
|
|
4861
|
+
* @remarks
|
|
4862
|
+
* Queries the trends of source retrieval and usage over time. Returns only the data relevant to the current query and does not include other report sections. For enterprises, only knowledge base super administrators are authorized. For a single workspace, workspace administrators or the SUPER_ADMIN of the current tenant are authorized. For all workspaces, only the platform SUPER_ADMIN is authorized. This feature is unavailable for individual users, and group credentials cannot be used across workspaces. The time parameter refers to the time when data is reported and ingested. The time range is inclusive of the start time and exclusive of the end time, and can span up to 366 days. Knowledge bases are filtered based on current bindings. The three APIs do not guarantee data snapshot consistency across requests.
|
|
4863
|
+
*
|
|
4864
|
+
* @param tmpReq - QuerySourceUsageTrendRequest
|
|
4865
|
+
* @param headers - map
|
|
4866
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4867
|
+
* @returns QuerySourceUsageTrendResponse
|
|
4868
|
+
*/
|
|
4869
|
+
querySourceUsageTrendWithOptions(tmpReq: $_model.QuerySourceUsageTrendRequest, headers: {
|
|
4870
|
+
[key: string]: string;
|
|
4871
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.QuerySourceUsageTrendResponse>;
|
|
4872
|
+
/**
|
|
4873
|
+
* Queries the retrieval and usage time trends of sources.
|
|
4874
|
+
*
|
|
4875
|
+
* @remarks
|
|
4876
|
+
* Queries the trends of source retrieval and usage over time. Returns only the data relevant to the current query and does not include other report sections. For enterprises, only knowledge base super administrators are authorized. For a single workspace, workspace administrators or the SUPER_ADMIN of the current tenant are authorized. For all workspaces, only the platform SUPER_ADMIN is authorized. This feature is unavailable for individual users, and group credentials cannot be used across workspaces. The time parameter refers to the time when data is reported and ingested. The time range is inclusive of the start time and exclusive of the end time, and can span up to 366 days. Knowledge bases are filtered based on current bindings. The three APIs do not guarantee data snapshot consistency across requests.
|
|
4877
|
+
*
|
|
4878
|
+
* @param request - QuerySourceUsageTrendRequest
|
|
4879
|
+
* @returns QuerySourceUsageTrendResponse
|
|
4880
|
+
*/
|
|
4881
|
+
querySourceUsageTrend(request: $_model.QuerySourceUsageTrendRequest): Promise<$_model.QuerySourceUsageTrendResponse>;
|
|
4584
4882
|
/**
|
|
4585
4883
|
* Queries the result of an organization synchronization task.
|
|
4586
4884
|
*
|
|
@@ -4670,10 +4968,10 @@ export default class Client extends OpenApi {
|
|
|
4670
4968
|
*/
|
|
4671
4969
|
recommendNextActions(request: $_model.RecommendNextActionsRequest): Promise<$_model.RecommendNextActionsResponse>;
|
|
4672
4970
|
/**
|
|
4673
|
-
* Registers in-app
|
|
4971
|
+
* Registers permissions for in-app resources in batches.
|
|
4674
4972
|
*
|
|
4675
4973
|
* @remarks
|
|
4676
|
-
* Checks the MANAGE
|
|
4974
|
+
* Checks the MANAGE permissions for all applications and then performs an atomic batch registration.
|
|
4677
4975
|
*
|
|
4678
4976
|
* @param tmpReq - RegisterAppResourcePermissionsRequest
|
|
4679
4977
|
* @param headers - map
|
|
@@ -4684,10 +4982,10 @@ export default class Client extends OpenApi {
|
|
|
4684
4982
|
[key: string]: string;
|
|
4685
4983
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.RegisterAppResourcePermissionsResponse>;
|
|
4686
4984
|
/**
|
|
4687
|
-
* Registers in-app
|
|
4985
|
+
* Registers permissions for in-app resources in batches.
|
|
4688
4986
|
*
|
|
4689
4987
|
* @remarks
|
|
4690
|
-
* Checks the MANAGE
|
|
4988
|
+
* Checks the MANAGE permissions for all applications and then performs an atomic batch registration.
|
|
4691
4989
|
*
|
|
4692
4990
|
* @param request - RegisterAppResourcePermissionsRequest
|
|
4693
4991
|
* @returns RegisterAppResourcePermissionsResponse
|
|
@@ -4955,7 +5253,7 @@ export default class Client extends OpenApi {
|
|
|
4955
5253
|
* Overwrites or clears manual memory.
|
|
4956
5254
|
*
|
|
4957
5255
|
* @remarks
|
|
4958
|
-
* Manages personal
|
|
5256
|
+
* Manages personal or specified writing workspace memory based on the authenticated user. In workspace mode, the permissions of active members are inherited.
|
|
4959
5257
|
*
|
|
4960
5258
|
* @param request - ReplaceManualMemoryRequest
|
|
4961
5259
|
* @param headers - map
|
|
@@ -4969,7 +5267,7 @@ export default class Client extends OpenApi {
|
|
|
4969
5267
|
* Overwrites or clears manual memory.
|
|
4970
5268
|
*
|
|
4971
5269
|
* @remarks
|
|
4972
|
-
* Manages personal
|
|
5270
|
+
* Manages personal or specified writing workspace memory based on the authenticated user. In workspace mode, the permissions of active members are inherited.
|
|
4973
5271
|
*
|
|
4974
5272
|
* @param request - ReplaceManualMemoryRequest
|
|
4975
5273
|
* @returns ReplaceManualMemoryResponse
|
|
@@ -5063,6 +5361,30 @@ export default class Client extends OpenApi {
|
|
|
5063
5361
|
* @returns RerunNodeAIResponse
|
|
5064
5362
|
*/
|
|
5065
5363
|
rerunNodeAI(request: $_model.RerunNodeAIRequest): Promise<$_model.RerunNodeAIResponse>;
|
|
5364
|
+
/**
|
|
5365
|
+
* Reruns a workflow starting from a specified node of a work item.
|
|
5366
|
+
*
|
|
5367
|
+
* @remarks
|
|
5368
|
+
* Reruns a workflow starting from a specified node of a work item. This operation retains business permissions and status checks. Acceptance of the command does not indicate that the asynchronous execution is complete.
|
|
5369
|
+
*
|
|
5370
|
+
* @param request - RerunWorkflowNodeRequest
|
|
5371
|
+
* @param headers - map
|
|
5372
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5373
|
+
* @returns RerunWorkflowNodeResponse
|
|
5374
|
+
*/
|
|
5375
|
+
rerunWorkflowNodeWithOptions(request: $_model.RerunWorkflowNodeRequest, headers: {
|
|
5376
|
+
[key: string]: string;
|
|
5377
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.RerunWorkflowNodeResponse>;
|
|
5378
|
+
/**
|
|
5379
|
+
* Reruns a workflow starting from a specified node of a work item.
|
|
5380
|
+
*
|
|
5381
|
+
* @remarks
|
|
5382
|
+
* Reruns a workflow starting from a specified node of a work item. This operation retains business permissions and status checks. Acceptance of the command does not indicate that the asynchronous execution is complete.
|
|
5383
|
+
*
|
|
5384
|
+
* @param request - RerunWorkflowNodeRequest
|
|
5385
|
+
* @returns RerunWorkflowNodeResponse
|
|
5386
|
+
*/
|
|
5387
|
+
rerunWorkflowNode(request: $_model.RerunWorkflowNodeRequest): Promise<$_model.RerunWorkflowNodeResponse>;
|
|
5066
5388
|
/**
|
|
5067
5389
|
* Resets the password of a user.
|
|
5068
5390
|
*
|
|
@@ -5143,6 +5465,30 @@ export default class Client extends OpenApi {
|
|
|
5143
5465
|
* @returns ResetTokenResponse
|
|
5144
5466
|
*/
|
|
5145
5467
|
resetToken(request: $_model.ResetTokenRequest): Promise<$_model.ResetTokenResponse>;
|
|
5468
|
+
/**
|
|
5469
|
+
* Resets the workflow node configuration to the default values.
|
|
5470
|
+
*
|
|
5471
|
+
* @remarks
|
|
5472
|
+
* Resets the workflow node configuration to the default values.
|
|
5473
|
+
*
|
|
5474
|
+
* @param request - ResetWorkflowNodeConfigurationRequest
|
|
5475
|
+
* @param headers - map
|
|
5476
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5477
|
+
* @returns ResetWorkflowNodeConfigurationResponse
|
|
5478
|
+
*/
|
|
5479
|
+
resetWorkflowNodeConfigurationWithOptions(request: $_model.ResetWorkflowNodeConfigurationRequest, headers: {
|
|
5480
|
+
[key: string]: string;
|
|
5481
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.ResetWorkflowNodeConfigurationResponse>;
|
|
5482
|
+
/**
|
|
5483
|
+
* Resets the workflow node configuration to the default values.
|
|
5484
|
+
*
|
|
5485
|
+
* @remarks
|
|
5486
|
+
* Resets the workflow node configuration to the default values.
|
|
5487
|
+
*
|
|
5488
|
+
* @param request - ResetWorkflowNodeConfigurationRequest
|
|
5489
|
+
* @returns ResetWorkflowNodeConfigurationResponse
|
|
5490
|
+
*/
|
|
5491
|
+
resetWorkflowNodeConfiguration(request: $_model.ResetWorkflowNodeConfigurationRequest): Promise<$_model.ResetWorkflowNodeConfigurationResponse>;
|
|
5146
5492
|
/**
|
|
5147
5493
|
* Retrieves the short-term signed download URL for a work item artifact.
|
|
5148
5494
|
*
|
|
@@ -5693,12 +6039,12 @@ export default class Client extends OpenApi {
|
|
|
5693
6039
|
* Sends a message.
|
|
5694
6040
|
*
|
|
5695
6041
|
* @remarks
|
|
5696
|
-
* ##
|
|
5697
|
-
* - This API is used to upload a file to
|
|
5698
|
-
* -
|
|
5699
|
-
* -
|
|
5700
|
-
* - If
|
|
5701
|
-
* - Multiple
|
|
6042
|
+
* ## Request description
|
|
6043
|
+
* - This API is used to upload a file to My Resources of a specified digital employee.
|
|
6044
|
+
* - The source_type is fixed to FILE, the scope is fixed to PERSONAL, and the platform is fixed to LOCAL.
|
|
6045
|
+
* - The file must be provided with an OSS persistence address (filePath). Other information, such as the public access URL and original file name, is optional.
|
|
6046
|
+
* - If the destination folder ID (directoryId) is not specified, the file is automatically attached to the default root folder of the current digital employee. If it is specified, ensure that the folder belongs to the personal folder of the invoker.
|
|
6047
|
+
* - Multiple methods to authenticate (such as AK, BearerToken, and APP) are supported for security authentication.
|
|
5702
6048
|
* - The operation type is write, and operation logs are recorded for subsequent auditing.
|
|
5703
6049
|
*
|
|
5704
6050
|
* @param tmpReq - SendChatMessageRequest
|
|
@@ -5713,12 +6059,12 @@ export default class Client extends OpenApi {
|
|
|
5713
6059
|
* Sends a message.
|
|
5714
6060
|
*
|
|
5715
6061
|
* @remarks
|
|
5716
|
-
* ##
|
|
5717
|
-
* - This API is used to upload a file to
|
|
5718
|
-
* -
|
|
5719
|
-
* -
|
|
5720
|
-
* - If
|
|
5721
|
-
* - Multiple
|
|
6062
|
+
* ## Request description
|
|
6063
|
+
* - This API is used to upload a file to My Resources of a specified digital employee.
|
|
6064
|
+
* - The source_type is fixed to FILE, the scope is fixed to PERSONAL, and the platform is fixed to LOCAL.
|
|
6065
|
+
* - The file must be provided with an OSS persistence address (filePath). Other information, such as the public access URL and original file name, is optional.
|
|
6066
|
+
* - If the destination folder ID (directoryId) is not specified, the file is automatically attached to the default root folder of the current digital employee. If it is specified, ensure that the folder belongs to the personal folder of the invoker.
|
|
6067
|
+
* - Multiple methods to authenticate (such as AK, BearerToken, and APP) are supported for security authentication.
|
|
5722
6068
|
* - The operation type is write, and operation logs are recorded for subsequent auditing.
|
|
5723
6069
|
*
|
|
5724
6070
|
* @param tmpReq - SendChatMessageRequest
|
|
@@ -5733,18 +6079,42 @@ export default class Client extends OpenApi {
|
|
|
5733
6079
|
* Sends a message.
|
|
5734
6080
|
*
|
|
5735
6081
|
* @remarks
|
|
5736
|
-
* ##
|
|
5737
|
-
* - This API is used to upload a file to
|
|
5738
|
-
* -
|
|
5739
|
-
* -
|
|
5740
|
-
* - If
|
|
5741
|
-
* - Multiple
|
|
6082
|
+
* ## Request description
|
|
6083
|
+
* - This API is used to upload a file to My Resources of a specified digital employee.
|
|
6084
|
+
* - The source_type is fixed to FILE, the scope is fixed to PERSONAL, and the platform is fixed to LOCAL.
|
|
6085
|
+
* - The file must be provided with an OSS persistence address (filePath). Other information, such as the public access URL and original file name, is optional.
|
|
6086
|
+
* - If the destination folder ID (directoryId) is not specified, the file is automatically attached to the default root folder of the current digital employee. If it is specified, ensure that the folder belongs to the personal folder of the invoker.
|
|
6087
|
+
* - Multiple methods to authenticate (such as AK, BearerToken, and APP) are supported for security authentication.
|
|
5742
6088
|
* - The operation type is write, and operation logs are recorded for subsequent auditing.
|
|
5743
6089
|
*
|
|
5744
6090
|
* @param request - SendChatMessageRequest
|
|
5745
6091
|
* @returns SendChatMessageResponse
|
|
5746
6092
|
*/
|
|
5747
6093
|
sendChatMessage(request: $_model.SendChatMessageRequest): Promise<$_model.SendChatMessageResponse>;
|
|
6094
|
+
/**
|
|
6095
|
+
* Sends a user message to a work item topic.
|
|
6096
|
+
*
|
|
6097
|
+
* @remarks
|
|
6098
|
+
* Sends a text message to an existing free exploration session within the current tenant and specified collaboration space. Returns a message submission receipt immediately, and the AI reply is generated asynchronously in the background. The caller must be associated with a platform user and have the permission to send messages to topics. You must specify at least one of workItemId and conversationId. If both are specified, they must point to the same session. This operation does not create a new session and does not support workflow node topics or Master topics.
|
|
6099
|
+
*
|
|
6100
|
+
* @param request - SendWorkItemMessageRequest
|
|
6101
|
+
* @param headers - map
|
|
6102
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6103
|
+
* @returns SendWorkItemMessageResponse
|
|
6104
|
+
*/
|
|
6105
|
+
sendWorkItemMessageWithOptions(request: $_model.SendWorkItemMessageRequest, headers: {
|
|
6106
|
+
[key: string]: string;
|
|
6107
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.SendWorkItemMessageResponse>;
|
|
6108
|
+
/**
|
|
6109
|
+
* Sends a user message to a work item topic.
|
|
6110
|
+
*
|
|
6111
|
+
* @remarks
|
|
6112
|
+
* Sends a text message to an existing free exploration session within the current tenant and specified collaboration space. Returns a message submission receipt immediately, and the AI reply is generated asynchronously in the background. The caller must be associated with a platform user and have the permission to send messages to topics. You must specify at least one of workItemId and conversationId. If both are specified, they must point to the same session. This operation does not create a new session and does not support workflow node topics or Master topics.
|
|
6113
|
+
*
|
|
6114
|
+
* @param request - SendWorkItemMessageRequest
|
|
6115
|
+
* @returns SendWorkItemMessageResponse
|
|
6116
|
+
*/
|
|
6117
|
+
sendWorkItemMessage(request: $_model.SendWorkItemMessageRequest): Promise<$_model.SendWorkItemMessageResponse>;
|
|
5748
6118
|
/**
|
|
5749
6119
|
* Sets the personal pin status of a work item for a valid member.
|
|
5750
6120
|
*
|
|
@@ -5770,10 +6140,10 @@ export default class Client extends OpenApi {
|
|
|
5770
6140
|
*/
|
|
5771
6141
|
setWorkItemPinned(request: $_model.SetWorkItemPinnedRequest): Promise<$_model.SetWorkItemPinnedResponse>;
|
|
5772
6142
|
/**
|
|
5773
|
-
*
|
|
6143
|
+
* The storage management administrator updates the Settings for the effective version of a workflow template. Only versions that you commit are allowed, and each template can have only one effective version. Before taking effect, the version is revalidated against the current workspace members, digital employees, and capabilities. Existing work items use their own snapshots to execute and remain unaffected.
|
|
5774
6144
|
*
|
|
5775
6145
|
* @remarks
|
|
5776
|
-
* The
|
|
6146
|
+
* The storage management administrator updates the Settings for the effective version of a workflow template. Only versions that you commit are allowed, and each template can have only one effective version. Before taking effect, the version is revalidated against the current workspace members, digital employees, and capabilities. Existing work items use their own snapshots to execute and remain unaffected.
|
|
5777
6147
|
*
|
|
5778
6148
|
* @param request - SetWorkflowTemplateEffectiveVersionRequest
|
|
5779
6149
|
* @param headers - map
|
|
@@ -5784,10 +6154,10 @@ export default class Client extends OpenApi {
|
|
|
5784
6154
|
[key: string]: string;
|
|
5785
6155
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.SetWorkflowTemplateEffectiveVersionResponse>;
|
|
5786
6156
|
/**
|
|
5787
|
-
*
|
|
6157
|
+
* The storage management administrator updates the Settings for the effective version of a workflow template. Only versions that you commit are allowed, and each template can have only one effective version. Before taking effect, the version is revalidated against the current workspace members, digital employees, and capabilities. Existing work items use their own snapshots to execute and remain unaffected.
|
|
5788
6158
|
*
|
|
5789
6159
|
* @remarks
|
|
5790
|
-
* The
|
|
6160
|
+
* The storage management administrator updates the Settings for the effective version of a workflow template. Only versions that you commit are allowed, and each template can have only one effective version. Before taking effect, the version is revalidated against the current workspace members, digital employees, and capabilities. Existing work items use their own snapshots to execute and remain unaffected.
|
|
5791
6161
|
*
|
|
5792
6162
|
* @param request - SetWorkflowTemplateEffectiveVersionRequest
|
|
5793
6163
|
* @returns SetWorkflowTemplateEffectiveVersionResponse
|
|
@@ -5850,10 +6220,10 @@ export default class Client extends OpenApi {
|
|
|
5850
6220
|
*/
|
|
5851
6221
|
streamChatMessage(messageId: string, request: $_model.StreamChatMessageRequest): Promise<$_model.StreamChatMessageResponse>;
|
|
5852
6222
|
/**
|
|
5853
|
-
* Submits answers for a to-do
|
|
6223
|
+
* Submits the answers for a to-do task.
|
|
5854
6224
|
*
|
|
5855
6225
|
* @remarks
|
|
5856
|
-
* Submits the answers for a to-do
|
|
6226
|
+
* Submits the answers for a to-do task. If the same user submits the answers repeatedly, the operation is idempotent and returns the first result. If another user completes the task first, a 409 AlreadyCompleted error is returned.
|
|
5857
6227
|
*
|
|
5858
6228
|
* @param tmpReq - SubmitTodoRequest
|
|
5859
6229
|
* @param headers - map
|
|
@@ -5864,10 +6234,10 @@ export default class Client extends OpenApi {
|
|
|
5864
6234
|
[key: string]: string;
|
|
5865
6235
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.SubmitTodoResponse>;
|
|
5866
6236
|
/**
|
|
5867
|
-
* Submits answers for a to-do
|
|
6237
|
+
* Submits the answers for a to-do task.
|
|
5868
6238
|
*
|
|
5869
6239
|
* @remarks
|
|
5870
|
-
* Submits the answers for a to-do
|
|
6240
|
+
* Submits the answers for a to-do task. If the same user submits the answers repeatedly, the operation is idempotent and returns the first result. If another user completes the task first, a 409 AlreadyCompleted error is returned.
|
|
5871
6241
|
*
|
|
5872
6242
|
* @param request - SubmitTodoRequest
|
|
5873
6243
|
* @returns SubmitTodoResponse
|
|
@@ -6033,10 +6403,10 @@ export default class Client extends OpenApi {
|
|
|
6033
6403
|
[key: string]: string;
|
|
6034
6404
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.TranscribeChatVoiceResponse>;
|
|
6035
6405
|
/**
|
|
6036
|
-
*
|
|
6406
|
+
* Transfers a to-do item.
|
|
6037
6407
|
*
|
|
6038
6408
|
* @remarks
|
|
6039
|
-
*
|
|
6409
|
+
* Transfers a to-do item to specified users, excludes the operator from the targets, and performs atomic validation for the entire task.
|
|
6040
6410
|
*
|
|
6041
6411
|
* @param tmpReq - TransferTodoRequest
|
|
6042
6412
|
* @param headers - map
|
|
@@ -6047,10 +6417,10 @@ export default class Client extends OpenApi {
|
|
|
6047
6417
|
[key: string]: string;
|
|
6048
6418
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.TransferTodoResponse>;
|
|
6049
6419
|
/**
|
|
6050
|
-
*
|
|
6420
|
+
* Transfers a to-do item.
|
|
6051
6421
|
*
|
|
6052
6422
|
* @remarks
|
|
6053
|
-
*
|
|
6423
|
+
* Transfers a to-do item to specified users, excludes the operator from the targets, and performs atomic validation for the entire task.
|
|
6054
6424
|
*
|
|
6055
6425
|
* @param request - TransferTodoRequest
|
|
6056
6426
|
* @returns TransferTodoResponse
|
|
@@ -6347,10 +6717,10 @@ export default class Client extends OpenApi {
|
|
|
6347
6717
|
*/
|
|
6348
6718
|
updateKnowledgeBaseSourceTags(request: $_model.UpdateKnowledgeBaseSourceTagsRequest): Promise<$_model.UpdateKnowledgeBaseSourceTagsResponse>;
|
|
6349
6719
|
/**
|
|
6350
|
-
* Updates the automatic memory collection
|
|
6720
|
+
* Updates the automatic memory collection switch.
|
|
6351
6721
|
*
|
|
6352
6722
|
* @remarks
|
|
6353
|
-
* Manages personal
|
|
6723
|
+
* Manages personal or specified writing collaboration workspace memory based on the authenticated user. The workspace mode inherits the permissions of active members.
|
|
6354
6724
|
*
|
|
6355
6725
|
* @param request - UpdateMemoryAutoExtractionSwitchRequest
|
|
6356
6726
|
* @param headers - map
|
|
@@ -6361,10 +6731,10 @@ export default class Client extends OpenApi {
|
|
|
6361
6731
|
[key: string]: string;
|
|
6362
6732
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateMemoryAutoExtractionSwitchResponse>;
|
|
6363
6733
|
/**
|
|
6364
|
-
* Updates the automatic memory collection
|
|
6734
|
+
* Updates the automatic memory collection switch.
|
|
6365
6735
|
*
|
|
6366
6736
|
* @remarks
|
|
6367
|
-
* Manages personal
|
|
6737
|
+
* Manages personal or specified writing collaboration workspace memory based on the authenticated user. The workspace mode inherits the permissions of active members.
|
|
6368
6738
|
*
|
|
6369
6739
|
* @param request - UpdateMemoryAutoExtractionSwitchRequest
|
|
6370
6740
|
* @returns UpdateMemoryAutoExtractionSwitchResponse
|
|
@@ -6498,7 +6868,8 @@ export default class Client extends OpenApi {
|
|
|
6498
6868
|
* Updates the name, description, and parent relationship of a specified user group.
|
|
6499
6869
|
*
|
|
6500
6870
|
* @remarks
|
|
6501
|
-
*
|
|
6871
|
+
* ## Request description
|
|
6872
|
+
* This operation supports atomic updates to user group information, including but not limited to the user group name, description, and its position in the organizational structure (by setting a new parent user group ID or moving to the root node). Note that when attempting to move a user group to the root node, you must not provide a non-null `parentId` value at the same time. Additionally, if you do not want to modify certain fields such as `userGroupName` or `description`, you can omit these parameters.
|
|
6502
6873
|
*
|
|
6503
6874
|
* @param request - UpdateUserGroupRequest
|
|
6504
6875
|
* @param headers - map
|
|
@@ -6512,7 +6883,8 @@ export default class Client extends OpenApi {
|
|
|
6512
6883
|
* Updates the name, description, and parent relationship of a specified user group.
|
|
6513
6884
|
*
|
|
6514
6885
|
* @remarks
|
|
6515
|
-
*
|
|
6886
|
+
* ## Request description
|
|
6887
|
+
* This operation supports atomic updates to user group information, including but not limited to the user group name, description, and its position in the organizational structure (by setting a new parent user group ID or moving to the root node). Note that when attempting to move a user group to the root node, you must not provide a non-null `parentId` value at the same time. Additionally, if you do not want to modify certain fields such as `userGroupName` or `description`, you can omit these parameters.
|
|
6516
6888
|
*
|
|
6517
6889
|
* @param request - UpdateUserGroupRequest
|
|
6518
6890
|
* @returns UpdateUserGroupResponse
|
|
@@ -6579,10 +6951,28 @@ export default class Client extends OpenApi {
|
|
|
6579
6951
|
*/
|
|
6580
6952
|
updateWorkItem(request: $_model.UpdateWorkItemRequest): Promise<$_model.UpdateWorkItemResponse>;
|
|
6581
6953
|
/**
|
|
6582
|
-
*
|
|
6954
|
+
* Updates the executor and model configurations of a workflow node.
|
|
6955
|
+
*
|
|
6956
|
+
* @param tmpReq - UpdateWorkflowNodeConfigurationRequest
|
|
6957
|
+
* @param headers - map
|
|
6958
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6959
|
+
* @returns UpdateWorkflowNodeConfigurationResponse
|
|
6960
|
+
*/
|
|
6961
|
+
updateWorkflowNodeConfigurationWithOptions(tmpReq: $_model.UpdateWorkflowNodeConfigurationRequest, headers: {
|
|
6962
|
+
[key: string]: string;
|
|
6963
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateWorkflowNodeConfigurationResponse>;
|
|
6964
|
+
/**
|
|
6965
|
+
* Updates the executor and model configurations of a workflow node.
|
|
6966
|
+
*
|
|
6967
|
+
* @param request - UpdateWorkflowNodeConfigurationRequest
|
|
6968
|
+
* @returns UpdateWorkflowNodeConfigurationResponse
|
|
6969
|
+
*/
|
|
6970
|
+
updateWorkflowNodeConfiguration(request: $_model.UpdateWorkflowNodeConfigurationRequest): Promise<$_model.UpdateWorkflowNodeConfigurationResponse>;
|
|
6971
|
+
/**
|
|
6972
|
+
* Overwrites and updates a workflow template with valid members. The last save takes effect.
|
|
6583
6973
|
*
|
|
6584
6974
|
* @remarks
|
|
6585
|
-
* Overwrites and updates a workflow template. The last save takes effect.
|
|
6975
|
+
* Overwrites and updates a workflow template with valid members. The last save takes effect.
|
|
6586
6976
|
*
|
|
6587
6977
|
* @param tmpReq - UpdateWorkflowTemplateRequest
|
|
6588
6978
|
* @param headers - map
|
|
@@ -6593,10 +6983,10 @@ export default class Client extends OpenApi {
|
|
|
6593
6983
|
[key: string]: string;
|
|
6594
6984
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateWorkflowTemplateResponse>;
|
|
6595
6985
|
/**
|
|
6596
|
-
* Overwrites and updates a workflow template. The last save takes effect.
|
|
6986
|
+
* Overwrites and updates a workflow template with valid members. The last save takes effect.
|
|
6597
6987
|
*
|
|
6598
6988
|
* @remarks
|
|
6599
|
-
* Overwrites and updates a workflow template. The last save takes effect.
|
|
6989
|
+
* Overwrites and updates a workflow template with valid members. The last save takes effect.
|
|
6600
6990
|
*
|
|
6601
6991
|
* @param request - UpdateWorkflowTemplateRequest
|
|
6602
6992
|
* @returns UpdateWorkflowTemplateResponse
|
|
@@ -6619,6 +7009,8 @@ export default class Client extends OpenApi {
|
|
|
6619
7009
|
* ### Response parameters
|
|
6620
7010
|
* The response includes the OSS object path `objectName`, the storage address `fileUrl`, the publicly accessible address `filePublicUrl` (valid for 1 hour), and the file record ID `fileRecordId`. The `uploadSignatureUrl` parameter is always empty in this mode.
|
|
6621
7011
|
*
|
|
7012
|
+
* @deprecated OpenAPI UploadChatFile is deprecated
|
|
7013
|
+
*
|
|
6622
7014
|
* @param request - UploadChatFileRequest
|
|
6623
7015
|
* @param headers - map
|
|
6624
7016
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6644,6 +7036,8 @@ export default class Client extends OpenApi {
|
|
|
6644
7036
|
* ### Response parameters
|
|
6645
7037
|
* The response includes the OSS object path `objectName`, the storage address `fileUrl`, the publicly accessible address `filePublicUrl` (valid for 1 hour), and the file record ID `fileRecordId`. The `uploadSignatureUrl` parameter is always empty in this mode.
|
|
6646
7038
|
*
|
|
7039
|
+
* @deprecated OpenAPI UploadChatFile is deprecated
|
|
7040
|
+
*
|
|
6647
7041
|
* @param request - UploadChatFileRequest
|
|
6648
7042
|
* @returns UploadChatFileResponse
|
|
6649
7043
|
*/
|
|
@@ -6651,4 +7045,28 @@ export default class Client extends OpenApi {
|
|
|
6651
7045
|
uploadChatFileAdvance(request: $_model.UploadChatFileAdvanceRequest, headers: {
|
|
6652
7046
|
[key: string]: string;
|
|
6653
7047
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.UploadChatFileResponse>;
|
|
7048
|
+
/**
|
|
7049
|
+
* Base64 上传会话文件
|
|
7050
|
+
*
|
|
7051
|
+
* @remarks
|
|
7052
|
+
* 使用标准 Base64 提交本地附件(应用侧解码上限 50 MiB),返回会话文件记录 ID。
|
|
7053
|
+
*
|
|
7054
|
+
* @param request - UploadChatFileByBase64Request
|
|
7055
|
+
* @param headers - map
|
|
7056
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7057
|
+
* @returns UploadChatFileByBase64Response
|
|
7058
|
+
*/
|
|
7059
|
+
uploadChatFileByBase64WithOptions(request: $_model.UploadChatFileByBase64Request, headers: {
|
|
7060
|
+
[key: string]: string;
|
|
7061
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.UploadChatFileByBase64Response>;
|
|
7062
|
+
/**
|
|
7063
|
+
* Base64 上传会话文件
|
|
7064
|
+
*
|
|
7065
|
+
* @remarks
|
|
7066
|
+
* 使用标准 Base64 提交本地附件(应用侧解码上限 50 MiB),返回会话文件记录 ID。
|
|
7067
|
+
*
|
|
7068
|
+
* @param request - UploadChatFileByBase64Request
|
|
7069
|
+
* @returns UploadChatFileByBase64Response
|
|
7070
|
+
*/
|
|
7071
|
+
uploadChatFileByBase64(request: $_model.UploadChatFileByBase64Request): Promise<$_model.UploadChatFileByBase64Response>;
|
|
6654
7072
|
}
|