@alicloud/winnexo20260512 1.8.0 → 1.9.1
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 +459 -279
- package/dist/client.js +821 -279
- package/dist/client.js.map +1 -1
- package/dist/models/BatchCancelTodosRequest.d.ts +1 -1
- package/dist/models/BatchCancelTodosShrinkRequest.d.ts +1 -1
- package/dist/models/CheckAppResourcePermissionRequest.d.ts +2 -2
- package/dist/models/CheckAppResourcePermissionResponseBody.d.ts +4 -4
- 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 +7 -7
- package/dist/models/CreateFreeExplorationWorkItemResponseBody.d.ts +13 -13
- package/dist/models/CreateFreeExplorationWorkItemShrinkRequest.d.ts +7 -7
- package/dist/models/CreateScheduledTaskRequest.d.ts +57 -67
- 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 +3 -3
- package/dist/models/CreateWorkflowTemplateDraftVersionResponseBody.d.ts +25 -21
- package/dist/models/CreateWorkflowTemplateDraftVersionResponseBody.js.map +1 -1
- package/dist/models/CreateWorkflowTemplateRequest.d.ts +2 -2
- package/dist/models/CreateWorkflowTemplateResponseBody.d.ts +12 -12
- package/dist/models/CreateWorkflowTemplateShrinkRequest.d.ts +2 -2
- package/dist/models/ExportWorkflowTemplateRequest.d.ts +1 -1
- package/dist/models/ExportWorkflowTemplateResponseBody.d.ts +15 -15
- package/dist/models/GenerateWorkflowTemplateDraftRequest.d.ts +2 -2
- package/dist/models/GenerateWorkflowTemplateDraftResponseBody.d.ts +11 -11
- package/dist/models/GenerateWorkflowTemplateDraftShrinkRequest.d.ts +2 -2
- package/dist/models/GetCollaborationGroupOutputItemPreviewRequest.d.ts +3 -3
- package/dist/models/GetCollaborationGroupOutputItemPreviewResponseBody.d.ts +13 -13
- 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 +5 -5
- package/dist/models/GetScheduledTaskExecutionRecordsResponseBody.d.ts +25 -9
- 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 +3 -3
- package/dist/models/GetWorkItemAuditResponseBody.d.ts +22 -22
- package/dist/models/GetWorkItemRunSummariesRequest.d.ts +4 -4
- package/dist/models/GetWorkItemRunSummariesResponseBody.d.ts +32 -32
- package/dist/models/GetWorkflowNodeConfigurationRequest.d.ts +4 -4
- package/dist/models/GetWorkflowNodeConfigurationResponseBody.d.ts +27 -27
- package/dist/models/GetWorkflowTemplateResponseBody.d.ts +11 -15
- package/dist/models/GetWorkflowTemplateResponseBody.js.map +1 -1
- package/dist/models/ImportWorkflowTemplateRequest.d.ts +1 -1
- package/dist/models/ImportWorkflowTemplateResponseBody.d.ts +19 -20
- package/dist/models/ImportWorkflowTemplateResponseBody.js.map +1 -1
- package/dist/models/ImportWorkflowTemplateShrinkRequest.d.ts +1 -1
- package/dist/models/ListCollaborationGroupMembersRequest.d.ts +6 -6
- package/dist/models/ListCollaborationGroupMembersResponseBody.d.ts +13 -13
- package/dist/models/ListCollaborationGroupsRequest.d.ts +5 -5
- package/dist/models/ListCollaborationGroupsResponseBody.d.ts +14 -14
- package/dist/models/ListOutputFilesRequest.d.ts +11 -3
- package/dist/models/ListOutputFilesRequest.js +2 -0
- package/dist/models/ListOutputFilesRequest.js.map +1 -1
- package/dist/models/ListOutputFilesResponseBody.d.ts +20 -20
- package/dist/models/ListOutputFilesShrinkRequest.d.ts +11 -3
- 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 +1 -1
- package/dist/models/ListWorkflowTemplatesResponseBody.d.ts +7 -9
- package/dist/models/ListWorkflowTemplatesResponseBody.js.map +1 -1
- 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/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 +4 -4
- package/dist/models/RerunWorkflowNodeResponseBody.d.ts +9 -9
- package/dist/models/ResetWorkflowNodeConfigurationRequest.d.ts +5 -5
- package/dist/models/ResetWorkflowNodeConfigurationResponseBody.d.ts +27 -27
- package/dist/models/SendAsyncChatMessageRequest.d.ts +244 -12
- package/dist/models/SendAsyncChatMessageRequest.js +109 -1
- package/dist/models/SendAsyncChatMessageRequest.js.map +1 -1
- package/dist/models/SendAsyncChatMessageResponseBody.d.ts +4 -4
- package/dist/models/SendAsyncChatMessageShrinkRequest.d.ts +45 -9
- package/dist/models/SendAsyncChatMessageShrinkRequest.js +8 -0
- package/dist/models/SendAsyncChatMessageShrinkRequest.js.map +1 -1
- package/dist/models/SendChatMessageRequest.d.ts +234 -6
- package/dist/models/SendChatMessageRequest.js +109 -1
- package/dist/models/SendChatMessageRequest.js.map +1 -1
- package/dist/models/SendChatMessageResponseBody.d.ts +3 -3
- package/dist/models/SendChatMessageShrinkRequest.d.ts +37 -5
- package/dist/models/SendChatMessageShrinkRequest.js +8 -0
- package/dist/models/SendChatMessageShrinkRequest.js.map +1 -1
- package/dist/models/SendWorkItemMessageRequest.d.ts +6 -6
- package/dist/models/SendWorkItemMessageResponseBody.d.ts +7 -7
- package/dist/models/SetWorkflowTemplateEffectiveVersionRequest.d.ts +1 -1
- package/dist/models/SetWorkflowTemplateEffectiveVersionResponseBody.d.ts +15 -19
- package/dist/models/SetWorkflowTemplateEffectiveVersionResponseBody.js.map +1 -1
- package/dist/models/TranscribeChatVoiceAdvanceRequest.d.ts +11 -5
- package/dist/models/TranscribeChatVoiceAdvanceRequest.js +2 -0
- package/dist/models/TranscribeChatVoiceAdvanceRequest.js.map +1 -1
- package/dist/models/TranscribeChatVoiceRequest.d.ts +11 -5
- package/dist/models/TranscribeChatVoiceRequest.js +2 -0
- package/dist/models/TranscribeChatVoiceRequest.js.map +1 -1
- package/dist/models/TranscribeChatVoiceResponseBody.d.ts +2 -2
- 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 +37 -29
- package/dist/models/UpdateScheduledTaskRequest.js +2 -0
- package/dist/models/UpdateScheduledTaskRequest.js.map +1 -1
- package/dist/models/UpdateScheduledTaskResponseBody.d.ts +5 -5
- package/dist/models/UpdateScheduledTaskShrinkRequest.d.ts +18 -10
- 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 +10 -10
- package/dist/models/UpdateWorkflowNodeConfigurationResponseBody.d.ts +27 -27
- package/dist/models/UpdateWorkflowNodeConfigurationShrinkRequest.d.ts +8 -8
- package/dist/models/UpdateWorkflowTemplateRequest.d.ts +8 -8
- package/dist/models/UpdateWorkflowTemplateResponseBody.d.ts +24 -24
- package/dist/models/UpdateWorkflowTemplateShrinkRequest.d.ts +8 -8
- 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 +31 -0
- package/dist/models/model.js +89 -26
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +906 -279
- package/src/models/BatchCancelTodosRequest.ts +1 -1
- package/src/models/BatchCancelTodosShrinkRequest.ts +1 -1
- package/src/models/CheckAppResourcePermissionRequest.ts +2 -2
- package/src/models/CheckAppResourcePermissionResponseBody.ts +4 -4
- 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 +7 -7
- package/src/models/CreateFreeExplorationWorkItemResponseBody.ts +13 -13
- package/src/models/CreateFreeExplorationWorkItemShrinkRequest.ts +7 -7
- package/src/models/CreateScheduledTaskRequest.ts +59 -67
- 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 +3 -3
- package/src/models/CreateWorkflowTemplateDraftVersionResponseBody.ts +25 -21
- package/src/models/CreateWorkflowTemplateRequest.ts +2 -2
- package/src/models/CreateWorkflowTemplateResponseBody.ts +12 -12
- package/src/models/CreateWorkflowTemplateShrinkRequest.ts +2 -2
- package/src/models/ExportWorkflowTemplateRequest.ts +1 -1
- package/src/models/ExportWorkflowTemplateResponseBody.ts +15 -15
- package/src/models/GenerateWorkflowTemplateDraftRequest.ts +2 -2
- package/src/models/GenerateWorkflowTemplateDraftResponseBody.ts +11 -11
- package/src/models/GenerateWorkflowTemplateDraftShrinkRequest.ts +2 -2
- package/src/models/GetCollaborationGroupOutputItemPreviewRequest.ts +3 -3
- package/src/models/GetCollaborationGroupOutputItemPreviewResponseBody.ts +13 -13
- 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 +5 -5
- package/src/models/GetScheduledTaskExecutionRecordsResponseBody.ts +29 -9
- 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 +3 -3
- package/src/models/GetWorkItemAuditResponseBody.ts +22 -22
- package/src/models/GetWorkItemRunSummariesRequest.ts +4 -4
- package/src/models/GetWorkItemRunSummariesResponseBody.ts +32 -32
- package/src/models/GetWorkflowNodeConfigurationRequest.ts +4 -4
- package/src/models/GetWorkflowNodeConfigurationResponseBody.ts +27 -27
- package/src/models/GetWorkflowTemplateResponseBody.ts +11 -15
- package/src/models/ImportWorkflowTemplateRequest.ts +1 -1
- package/src/models/ImportWorkflowTemplateResponseBody.ts +19 -20
- package/src/models/ImportWorkflowTemplateShrinkRequest.ts +1 -1
- package/src/models/ListCollaborationGroupMembersRequest.ts +6 -6
- package/src/models/ListCollaborationGroupMembersResponseBody.ts +13 -13
- package/src/models/ListCollaborationGroupsRequest.ts +5 -5
- package/src/models/ListCollaborationGroupsResponseBody.ts +14 -14
- package/src/models/ListOutputFilesRequest.ts +13 -3
- package/src/models/ListOutputFilesResponseBody.ts +20 -20
- package/src/models/ListOutputFilesShrinkRequest.ts +13 -3
- 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 +1 -1
- package/src/models/ListWorkflowTemplatesResponseBody.ts +7 -9
- 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/ReplaceManualMemoryRequest.ts +4 -2
- package/src/models/ReplaceManualMemoryResponseBody.ts +1 -1
- package/src/models/RerunWorkflowNodeRequest.ts +4 -4
- package/src/models/RerunWorkflowNodeResponseBody.ts +9 -9
- package/src/models/ResetWorkflowNodeConfigurationRequest.ts +5 -5
- package/src/models/ResetWorkflowNodeConfigurationResponseBody.ts +27 -27
- package/src/models/SendAsyncChatMessageRequest.ts +325 -12
- package/src/models/SendAsyncChatMessageResponseBody.ts +4 -4
- package/src/models/SendAsyncChatMessageShrinkRequest.ts +53 -9
- package/src/models/SendChatMessageRequest.ts +315 -6
- package/src/models/SendChatMessageResponseBody.ts +3 -3
- package/src/models/SendChatMessageShrinkRequest.ts +45 -5
- package/src/models/SendWorkItemMessageRequest.ts +6 -6
- package/src/models/SendWorkItemMessageResponseBody.ts +7 -7
- package/src/models/SetWorkflowTemplateEffectiveVersionRequest.ts +1 -1
- package/src/models/SetWorkflowTemplateEffectiveVersionResponseBody.ts +15 -19
- package/src/models/TranscribeChatVoiceAdvanceRequest.ts +13 -5
- package/src/models/TranscribeChatVoiceRequest.ts +13 -5
- package/src/models/TranscribeChatVoiceResponseBody.ts +2 -2
- package/src/models/UpdateMemoryAutoExtractionSwitchRequest.ts +5 -3
- package/src/models/UpdateMemoryAutoExtractionSwitchResponseBody.ts +2 -2
- package/src/models/UpdateScheduledTaskRequest.ts +39 -29
- package/src/models/UpdateScheduledTaskResponseBody.ts +5 -5
- package/src/models/UpdateScheduledTaskShrinkRequest.ts +20 -10
- package/src/models/UpdateUserGroupRequest.ts +10 -10
- package/src/models/UpdateUserGroupResponseBody.ts +5 -5
- package/src/models/UpdateWorkflowNodeConfigurationRequest.ts +10 -10
- package/src/models/UpdateWorkflowNodeConfigurationResponseBody.ts +27 -27
- package/src/models/UpdateWorkflowNodeConfigurationShrinkRequest.ts +8 -8
- package/src/models/UpdateWorkflowTemplateRequest.ts +8 -8
- package/src/models/UpdateWorkflowTemplateResponseBody.ts +24 -24
- package/src/models/UpdateWorkflowTemplateShrinkRequest.ts +8 -8
- 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 +31 -0
package/dist/client.d.ts
CHANGED
|
@@ -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,10 +156,10 @@ 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
|
|
@@ -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
|
+
* Converts a direct session to a work session.
|
|
284
|
+
*
|
|
285
|
+
* @remarks
|
|
286
|
+
* Freezes the currently valid and completed direct model history of the source session and performs replication into a new work session, while retaining the source session. For hybrid sessions, only the direct history is transformed, and ordinary work history or old history containing only display records is not included. The transform scope is not limited by directMaxHistoryRounds. The transform itself does not initiate a chat or run a skill. To query or continue the same transform, invoke the operation repeatedly for the same source session, producing at most one successful target. Upon success, the original target is always returned, and no automatic synchronization applies to subsequent messages in the source session. Only status=succeeded indicates that the target is ready for use. When the status is processing, continue querying with the same source sessionId. You cannot send messages to, fork, or share a target that is not yet ready. SourceBusy is returned if the source session is currently generating content. NoConvertibleHistory is returned if there is no valid model history. ConvertedTargetUnavailable is returned if a previously successful target is deleted or its history is unrecoverable, and the target is not rebuilt. Only ordinary sessions that the user can operate and that have work permissions are allowed. Access control rules deny restricted sources such as group_shared, task_follow_up, skill_follow_up, and skill_output_backfill. Background view permissions do not grant transform rights.
|
|
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
|
+
* Converts a direct session to a work session.
|
|
298
|
+
*
|
|
299
|
+
* @remarks
|
|
300
|
+
* Freezes the currently valid and completed direct model history of the source session and performs replication into a new work session, while retaining the source session. For hybrid sessions, only the direct history is transformed, and ordinary work history or old history containing only display records is not included. The transform scope is not limited by directMaxHistoryRounds. The transform itself does not initiate a chat or run a skill. To query or continue the same transform, invoke the operation repeatedly for the same source session, producing at most one successful target. Upon success, the original target is always returned, and no automatic synchronization applies to subsequent messages in the source session. Only status=succeeded indicates that the target is ready for use. When the status is processing, continue querying with the same source sessionId. You cannot send messages to, fork, or share a target that is not yet ready. SourceBusy is returned if the source session is currently generating content. NoConvertibleHistory is returned if there is no valid model history. ConvertedTargetUnavailable is returned if a previously successful target is deleted or its history is unrecoverable, and the target is not rebuilt. Only ordinary sessions that the user can operate and that have work permissions are allowed. Access control rules deny restricted sources such as group_shared, task_follow_up, skill_follow_up, and skill_output_backfill. Background view permissions do not grant transform rights.
|
|
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
|
*
|
|
@@ -390,10 +414,10 @@ export default class Client extends OpenApi {
|
|
|
390
414
|
*/
|
|
391
415
|
createCustomOrg(request: $_model.CreateCustomOrgRequest): Promise<$_model.CreateCustomOrgResponse>;
|
|
392
416
|
/**
|
|
393
|
-
*
|
|
417
|
+
* Creates a free exploration work item and a group topic that match the page settings, and configures digital workers and the visibility scope.
|
|
394
418
|
*
|
|
395
419
|
* @remarks
|
|
396
|
-
*
|
|
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.
|
|
397
421
|
*
|
|
398
422
|
* @param tmpReq - CreateFreeExplorationWorkItemRequest
|
|
399
423
|
* @param headers - map
|
|
@@ -404,10 +428,10 @@ export default class Client extends OpenApi {
|
|
|
404
428
|
[key: string]: string;
|
|
405
429
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.CreateFreeExplorationWorkItemResponse>;
|
|
406
430
|
/**
|
|
407
|
-
*
|
|
431
|
+
* Creates a free exploration work item and a group topic that match the page settings, and configures digital workers and the visibility scope.
|
|
408
432
|
*
|
|
409
433
|
* @remarks
|
|
410
|
-
*
|
|
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.
|
|
411
435
|
*
|
|
412
436
|
* @param request - CreateFreeExplorationWorkItemRequest
|
|
413
437
|
* @returns CreateFreeExplorationWorkItemResponse
|
|
@@ -1417,14 +1441,14 @@ export default class Client extends OpenApi {
|
|
|
1417
1441
|
* Creates a scheduled task.
|
|
1418
1442
|
*
|
|
1419
1443
|
* @remarks
|
|
1420
|
-
* ##
|
|
1421
|
-
* - This
|
|
1422
|
-
* - You must have the
|
|
1423
|
-
* -
|
|
1424
|
-
* - Optional parameters include the public access URL of the file and the original file name to enhance the completeness of file information.
|
|
1425
|
-
* - If
|
|
1426
|
-
* - You can add tags to resources by using
|
|
1427
|
-
* - This operation
|
|
1444
|
+
* ## Request description
|
|
1445
|
+
* - This API is used to upload files to the enterprise knowledge base.
|
|
1446
|
+
* - You must have the DEVELOPMENT_KB_MANAGE feature permission to call this API.
|
|
1447
|
+
* - When uploading a file, you must provide the OSS persistence address of the file (filePath).
|
|
1448
|
+
* - Optional parameters include the public access URL of the file 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, it is bound to the default root directory of the current digital employee by default.
|
|
1450
|
+
* - You can add tags to resources by using sourceTags for subsequent management and retrieval.
|
|
1451
|
+
* - This operation triggers a billing bill (UNSTRUCTURED_PARSE). Make sure your account balance is sufficient.
|
|
1428
1452
|
*
|
|
1429
1453
|
* @param tmpReq - CreateScheduledTaskRequest
|
|
1430
1454
|
* @param headers - map
|
|
@@ -1438,14 +1462,14 @@ export default class Client extends OpenApi {
|
|
|
1438
1462
|
* Creates a scheduled task.
|
|
1439
1463
|
*
|
|
1440
1464
|
* @remarks
|
|
1441
|
-
* ##
|
|
1442
|
-
* - This
|
|
1443
|
-
* - You must have the
|
|
1444
|
-
* -
|
|
1445
|
-
* - Optional parameters include the public access URL of the file and the original file name to enhance the completeness of file information.
|
|
1446
|
-
* - If
|
|
1447
|
-
* - You can add tags to resources by using
|
|
1448
|
-
* - This operation
|
|
1465
|
+
* ## Request description
|
|
1466
|
+
* - This API is used to upload files to the enterprise knowledge base.
|
|
1467
|
+
* - You must have the DEVELOPMENT_KB_MANAGE feature permission to call this API.
|
|
1468
|
+
* - When uploading a file, you must provide the OSS persistence address of the file (filePath).
|
|
1469
|
+
* - Optional parameters include the public access URL of the file 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, it is bound to the default root directory of the current digital employee by default.
|
|
1471
|
+
* - You can add tags to resources by using sourceTags for subsequent management and retrieval.
|
|
1472
|
+
* - This operation triggers a billing bill (UNSTRUCTURED_PARSE). Make sure your account balance is sufficient.
|
|
1449
1473
|
*
|
|
1450
1474
|
* @param request - CreateScheduledTaskRequest
|
|
1451
1475
|
* @returns CreateScheduledTaskResponse
|
|
@@ -1513,16 +1537,16 @@ export default class Client extends OpenApi {
|
|
|
1513
1537
|
* Creates a user and adds the user to a tenant.
|
|
1514
1538
|
*
|
|
1515
1539
|
* @remarks
|
|
1516
|
-
* Creates a user by
|
|
1540
|
+
* Creates a user by calling the API.
|
|
1517
1541
|
* Business orchestration:
|
|
1518
|
-
* 1. Parses roleCodes into role_ids (validates against system role
|
|
1542
|
+
* 1. Parses roleCodes into role_ids (validates against system role enums).
|
|
1519
1543
|
* 2. Checks whether the user already exists (used to return the isNewUser flag).
|
|
1520
|
-
* 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).
|
|
1521
1545
|
* 4. Returns the creation result (including the isNewUser flag).
|
|
1522
1546
|
* Error codes:
|
|
1523
|
-
* - 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.
|
|
1524
1548
|
* - ERR.User.AlreadyInTenant: The user is already an active member of the tenant.
|
|
1525
|
-
* - ERR.User.DisplayNameDuplicateInTenant: The display name is
|
|
1549
|
+
* - ERR.User.DisplayNameDuplicateInTenant: The display name is duplicated within the tenant.
|
|
1526
1550
|
*
|
|
1527
1551
|
* @param tmpReq - CreateUserRequest
|
|
1528
1552
|
* @param headers - map
|
|
@@ -1536,26 +1560,30 @@ export default class Client extends OpenApi {
|
|
|
1536
1560
|
* Creates a user and adds the user to a tenant.
|
|
1537
1561
|
*
|
|
1538
1562
|
* @remarks
|
|
1539
|
-
* Creates a user by
|
|
1563
|
+
* Creates a user by calling the API.
|
|
1540
1564
|
* Business orchestration:
|
|
1541
|
-
* 1. Parses roleCodes into role_ids (validates against system role
|
|
1565
|
+
* 1. Parses roleCodes into role_ids (validates against system role enums).
|
|
1542
1566
|
* 2. Checks whether the user already exists (used to return the isNewUser flag).
|
|
1543
|
-
* 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).
|
|
1544
1568
|
* 4. Returns the creation result (including the isNewUser flag).
|
|
1545
1569
|
* Error codes:
|
|
1546
|
-
* - 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.
|
|
1547
1571
|
* - ERR.User.AlreadyInTenant: The user is already an active member of the tenant.
|
|
1548
|
-
* - ERR.User.DisplayNameDuplicateInTenant: The display name is
|
|
1572
|
+
* - ERR.User.DisplayNameDuplicateInTenant: The display name is duplicated within the tenant.
|
|
1549
1573
|
*
|
|
1550
1574
|
* @param request - CreateUserRequest
|
|
1551
1575
|
* @returns CreateUserResponse
|
|
1552
1576
|
*/
|
|
1553
1577
|
createUser(request: $_model.CreateUserRequest): Promise<$_model.CreateUserResponse>;
|
|
1554
1578
|
/**
|
|
1555
|
-
* 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.
|
|
1556
1580
|
*
|
|
1557
1581
|
* @remarks
|
|
1558
|
-
*
|
|
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.
|
|
1559
1587
|
*
|
|
1560
1588
|
* @param request - CreateUserGroupRequest
|
|
1561
1589
|
* @param headers - map
|
|
@@ -1566,10 +1594,14 @@ export default class Client extends OpenApi {
|
|
|
1566
1594
|
[key: string]: string;
|
|
1567
1595
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.CreateUserGroupResponse>;
|
|
1568
1596
|
/**
|
|
1569
|
-
* 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.
|
|
1570
1598
|
*
|
|
1571
1599
|
* @remarks
|
|
1572
|
-
*
|
|
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.
|
|
1573
1605
|
*
|
|
1574
1606
|
* @param request - CreateUserGroupRequest
|
|
1575
1607
|
* @returns CreateUserGroupResponse
|
|
@@ -1691,7 +1723,7 @@ export default class Client extends OpenApi {
|
|
|
1691
1723
|
* Creates a draft of a workflow template.
|
|
1692
1724
|
*
|
|
1693
1725
|
* @remarks
|
|
1694
|
-
* Generates a draft version
|
|
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.
|
|
1695
1727
|
*
|
|
1696
1728
|
* @param request - CreateWorkflowTemplateDraftVersionRequest
|
|
1697
1729
|
* @param headers - map
|
|
@@ -1705,7 +1737,7 @@ export default class Client extends OpenApi {
|
|
|
1705
1737
|
* Creates a draft of a workflow template.
|
|
1706
1738
|
*
|
|
1707
1739
|
* @remarks
|
|
1708
|
-
* Generates a draft version
|
|
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.
|
|
1709
1741
|
*
|
|
1710
1742
|
* @param request - CreateWorkflowTemplateDraftVersionRequest
|
|
1711
1743
|
* @returns CreateWorkflowTemplateDraftVersionResponse
|
|
@@ -1982,10 +2014,10 @@ export default class Client extends OpenApi {
|
|
|
1982
2014
|
*/
|
|
1983
2015
|
enableToken(request: $_model.EnableTokenRequest): Promise<$_model.EnableTokenResponse>;
|
|
1984
2016
|
/**
|
|
1985
|
-
* Exports a simplified template definition that can be re-imported.
|
|
2017
|
+
* Exports a simplified template definition that can be re-imported by valid members.
|
|
1986
2018
|
*
|
|
1987
2019
|
* @remarks
|
|
1988
|
-
* Exports a simplified template definition that can be re-imported.
|
|
2020
|
+
* Exports a simplified template definition that can be re-imported by valid members.
|
|
1989
2021
|
*
|
|
1990
2022
|
* @param request - ExportWorkflowTemplateRequest
|
|
1991
2023
|
* @param headers - map
|
|
@@ -1996,20 +2028,20 @@ export default class Client extends OpenApi {
|
|
|
1996
2028
|
[key: string]: string;
|
|
1997
2029
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ExportWorkflowTemplateResponse>;
|
|
1998
2030
|
/**
|
|
1999
|
-
* Exports a simplified template definition that can be re-imported.
|
|
2031
|
+
* Exports a simplified template definition that can be re-imported by valid members.
|
|
2000
2032
|
*
|
|
2001
2033
|
* @remarks
|
|
2002
|
-
* Exports a simplified template definition that can be re-imported.
|
|
2034
|
+
* Exports a simplified template definition that can be re-imported by valid members.
|
|
2003
2035
|
*
|
|
2004
2036
|
* @param request - ExportWorkflowTemplateRequest
|
|
2005
2037
|
* @returns ExportWorkflowTemplateResponse
|
|
2006
2038
|
*/
|
|
2007
2039
|
exportWorkflowTemplate(request: $_model.ExportWorkflowTemplateRequest): Promise<$_model.ExportWorkflowTemplateResponse>;
|
|
2008
2040
|
/**
|
|
2009
|
-
* 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.
|
|
2010
2042
|
*
|
|
2011
2043
|
* @remarks
|
|
2012
|
-
* 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.
|
|
2013
2045
|
*
|
|
2014
2046
|
* @param tmpReq - GenerateWorkflowTemplateDraftRequest
|
|
2015
2047
|
* @param headers - map
|
|
@@ -2020,10 +2052,10 @@ export default class Client extends OpenApi {
|
|
|
2020
2052
|
[key: string]: string;
|
|
2021
2053
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GenerateWorkflowTemplateDraftResponse>;
|
|
2022
2054
|
/**
|
|
2023
|
-
* 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.
|
|
2024
2056
|
*
|
|
2025
2057
|
* @remarks
|
|
2026
|
-
* 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.
|
|
2027
2059
|
*
|
|
2028
2060
|
* @param request - GenerateWorkflowTemplateDraftRequest
|
|
2029
2061
|
* @returns GenerateWorkflowTemplateDraftResponse
|
|
@@ -2120,10 +2152,10 @@ export default class Client extends OpenApi {
|
|
|
2120
2152
|
*/
|
|
2121
2153
|
getChatSession(request: $_model.GetChatSessionRequest): Promise<$_model.GetChatSessionResponse>;
|
|
2122
2154
|
/**
|
|
2123
|
-
*
|
|
2155
|
+
* Retrieves the content, preview URL, or short-term download URL of a file generated during a digital employee conversation.
|
|
2124
2156
|
*
|
|
2125
2157
|
* @remarks
|
|
2126
|
-
*
|
|
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.
|
|
2127
2159
|
*
|
|
2128
2160
|
* @param request - GetCollaborationGroupOutputItemPreviewRequest
|
|
2129
2161
|
* @param headers - map
|
|
@@ -2134,10 +2166,10 @@ export default class Client extends OpenApi {
|
|
|
2134
2166
|
[key: string]: string;
|
|
2135
2167
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetCollaborationGroupOutputItemPreviewResponse>;
|
|
2136
2168
|
/**
|
|
2137
|
-
*
|
|
2169
|
+
* Retrieves the content, preview URL, or short-term download URL of a file generated during a digital employee conversation.
|
|
2138
2170
|
*
|
|
2139
2171
|
* @remarks
|
|
2140
|
-
*
|
|
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.
|
|
2141
2173
|
*
|
|
2142
2174
|
* @param request - GetCollaborationGroupOutputItemPreviewRequest
|
|
2143
2175
|
* @returns GetCollaborationGroupOutputItemPreviewResponse
|
|
@@ -2337,7 +2369,7 @@ export default class Client extends OpenApi {
|
|
|
2337
2369
|
* Queries the automatic memory collection switch.
|
|
2338
2370
|
*
|
|
2339
2371
|
* @remarks
|
|
2340
|
-
* 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.
|
|
2341
2373
|
*
|
|
2342
2374
|
* @param request - GetMemoryAutoExtractionSwitchRequest
|
|
2343
2375
|
* @param headers - map
|
|
@@ -2351,7 +2383,7 @@ export default class Client extends OpenApi {
|
|
|
2351
2383
|
* Queries the automatic memory collection switch.
|
|
2352
2384
|
*
|
|
2353
2385
|
* @remarks
|
|
2354
|
-
* 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.
|
|
2355
2387
|
*
|
|
2356
2388
|
* @param request - GetMemoryAutoExtractionSwitchRequest
|
|
2357
2389
|
* @returns GetMemoryAutoExtractionSwitchResponse
|
|
@@ -2405,18 +2437,56 @@ export default class Client extends OpenApi {
|
|
|
2405
2437
|
* @returns GetNodeDetailResponse
|
|
2406
2438
|
*/
|
|
2407
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>;
|
|
2408
2478
|
/**
|
|
2409
2479
|
* Retrieves the execution details of a scheduled task.
|
|
2410
2480
|
*
|
|
2411
2481
|
* @remarks
|
|
2412
|
-
* ##
|
|
2413
|
-
* - This
|
|
2414
|
-
* - You must have the `DEVELOPMENT_KB_MANAGE` permission to call this
|
|
2415
|
-
* -
|
|
2416
|
-
* - 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.
|
|
2417
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.
|
|
2418
2488
|
* - You can use `sourceTags` to add tags to resources for subsequent management and retrieval.
|
|
2419
|
-
* - This operation
|
|
2489
|
+
* - This operation triggers billing (UNSTRUCTURED_PARSE). Make sure that your account balance is sufficient.
|
|
2420
2490
|
*
|
|
2421
2491
|
* @param request - GetScheduledTaskExecutionDetailRequest
|
|
2422
2492
|
* @param headers - map
|
|
@@ -2430,14 +2500,14 @@ export default class Client extends OpenApi {
|
|
|
2430
2500
|
* Retrieves the execution details of a scheduled task.
|
|
2431
2501
|
*
|
|
2432
2502
|
* @remarks
|
|
2433
|
-
* ##
|
|
2434
|
-
* - This
|
|
2435
|
-
* - You must have the `DEVELOPMENT_KB_MANAGE` permission to call this
|
|
2436
|
-
* -
|
|
2437
|
-
* - 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.
|
|
2438
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.
|
|
2439
2509
|
* - You can use `sourceTags` to add tags to resources for subsequent management and retrieval.
|
|
2440
|
-
* - This operation
|
|
2510
|
+
* - This operation triggers billing (UNSTRUCTURED_PARSE). Make sure that your account balance is sufficient.
|
|
2441
2511
|
*
|
|
2442
2512
|
* @param request - GetScheduledTaskExecutionDetailRequest
|
|
2443
2513
|
* @returns GetScheduledTaskExecutionDetailResponse
|
|
@@ -2448,12 +2518,12 @@ export default class Client extends OpenApi {
|
|
|
2448
2518
|
*
|
|
2449
2519
|
* @remarks
|
|
2450
2520
|
* ## Request description
|
|
2451
|
-
* - This
|
|
2452
|
-
* - You must have the
|
|
2453
|
-
* -
|
|
2454
|
-
* - Optional parameters include the public access URL and original file name
|
|
2455
|
-
* - If
|
|
2456
|
-
* - You can use
|
|
2521
|
+
* - This operation uploads files to the enterprise knowledge base.
|
|
2522
|
+
* - You must have the DEVELOPMENT_KB_MANAGE feature permission to call this API operation.
|
|
2523
|
+
* - You must provide the OSS persistence address (filePath) of the file when uploading the file.
|
|
2524
|
+
* - Optional parameters include the public access URL and original file name to improve the completeness of the file information.
|
|
2525
|
+
* - If you specify directoryId, 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.
|
|
2457
2527
|
* - This operation generates a bill (UNSTRUCTURED_PARSE). Make sure that your account balance is sufficient.
|
|
2458
2528
|
*
|
|
2459
2529
|
* @param request - GetScheduledTaskExecutionRecordsRequest
|
|
@@ -2469,12 +2539,12 @@ export default class Client extends OpenApi {
|
|
|
2469
2539
|
*
|
|
2470
2540
|
* @remarks
|
|
2471
2541
|
* ## Request description
|
|
2472
|
-
* - This
|
|
2473
|
-
* - You must have the
|
|
2474
|
-
* -
|
|
2475
|
-
* - Optional parameters include the public access URL and original file name
|
|
2476
|
-
* - If
|
|
2477
|
-
* - You can use
|
|
2542
|
+
* - This operation uploads files to the enterprise knowledge base.
|
|
2543
|
+
* - You must have the DEVELOPMENT_KB_MANAGE feature permission to call this API operation.
|
|
2544
|
+
* - You must provide the OSS persistence address (filePath) of the file when uploading the file.
|
|
2545
|
+
* - Optional parameters include the public access URL and original file name to improve the completeness of the file information.
|
|
2546
|
+
* - If you specify directoryId, 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.
|
|
2478
2548
|
* - This operation generates a bill (UNSTRUCTURED_PARSE). Make sure that your account balance is sufficient.
|
|
2479
2549
|
*
|
|
2480
2550
|
* @param request - GetScheduledTaskExecutionRecordsRequest
|
|
@@ -2551,13 +2621,13 @@ export default class Client extends OpenApi {
|
|
|
2551
2621
|
* Retrieves the details of a skill.
|
|
2552
2622
|
*
|
|
2553
2623
|
* @remarks
|
|
2554
|
-
* ##
|
|
2624
|
+
* ## Request description
|
|
2555
2625
|
* Queries skill details by SkillCode or SkillName, including metadata, input parameter schema, and SKILL.md summary.
|
|
2556
|
-
* - **TenantId**: Optional common parameter passed through
|
|
2557
|
-
* - **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.
|
|
2558
2628
|
* - **SkillName**: Mutually exclusive with SkillCode. If the name is not unique within the tenant, `ERR.SkillHub.SkillNameAmbiguous` is returned.
|
|
2559
|
-
* - **ViewMode**: Optional.
|
|
2560
|
-
* - **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`.
|
|
2561
2631
|
*
|
|
2562
2632
|
* @param request - GetSkillRequest
|
|
2563
2633
|
* @param headers - map
|
|
@@ -2571,13 +2641,13 @@ export default class Client extends OpenApi {
|
|
|
2571
2641
|
* Retrieves the details of a skill.
|
|
2572
2642
|
*
|
|
2573
2643
|
* @remarks
|
|
2574
|
-
* ##
|
|
2644
|
+
* ## Request description
|
|
2575
2645
|
* Queries skill details by SkillCode or SkillName, including metadata, input parameter schema, and SKILL.md summary.
|
|
2576
|
-
* - **TenantId**: Optional common parameter passed through
|
|
2577
|
-
* - **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.
|
|
2578
2648
|
* - **SkillName**: Mutually exclusive with SkillCode. If the name is not unique within the tenant, `ERR.SkillHub.SkillNameAmbiguous` is returned.
|
|
2579
|
-
* - **ViewMode**: Optional.
|
|
2580
|
-
* - **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`.
|
|
2581
2651
|
*
|
|
2582
2652
|
* @param request - GetSkillRequest
|
|
2583
2653
|
* @returns GetSkillResponse
|
|
@@ -2588,11 +2658,11 @@ export default class Client extends OpenApi {
|
|
|
2588
2658
|
*
|
|
2589
2659
|
* @remarks
|
|
2590
2660
|
* ## Request description
|
|
2591
|
-
* 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.
|
|
2592
2662
|
* - **State machine**: Running (PENDING/RUNNING) → Succeeded / Failed / Cancelled
|
|
2593
|
-
* - **TenantId**:
|
|
2594
|
-
* - **IncludeLogs**: Optional. Specifies whether to return execution logs. Default value:
|
|
2595
|
-
*
|
|
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).
|
|
2596
2666
|
*
|
|
2597
2667
|
* @param request - GetSkillRunRequest
|
|
2598
2668
|
* @param headers - map
|
|
@@ -2607,24 +2677,24 @@ export default class Client extends OpenApi {
|
|
|
2607
2677
|
*
|
|
2608
2678
|
* @remarks
|
|
2609
2679
|
* ## Request description
|
|
2610
|
-
* 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.
|
|
2611
2681
|
* - **State machine**: Running (PENDING/RUNNING) → Succeeded / Failed / Cancelled
|
|
2612
|
-
* - **TenantId**:
|
|
2613
|
-
* - **IncludeLogs**: Optional. Specifies whether to return execution logs. Default value:
|
|
2614
|
-
*
|
|
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).
|
|
2615
2685
|
*
|
|
2616
2686
|
* @param request - GetSkillRunRequest
|
|
2617
2687
|
* @returns GetSkillRunResponse
|
|
2618
2688
|
*/
|
|
2619
2689
|
getSkillRun(request: $_model.GetSkillRunRequest): Promise<$_model.GetSkillRunResponse>;
|
|
2620
2690
|
/**
|
|
2621
|
-
* 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.
|
|
2622
2692
|
*
|
|
2623
2693
|
* @remarks
|
|
2624
|
-
* ##
|
|
2625
|
-
* - `tenant_id` is derived from the authenticated identity
|
|
2626
|
-
* -
|
|
2627
|
-
* -
|
|
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`.
|
|
2628
2698
|
*
|
|
2629
2699
|
* @param request - GetSourceRequest
|
|
2630
2700
|
* @param headers - map
|
|
@@ -2635,13 +2705,13 @@ export default class Client extends OpenApi {
|
|
|
2635
2705
|
[key: string]: string;
|
|
2636
2706
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetSourceResponse>;
|
|
2637
2707
|
/**
|
|
2638
|
-
* 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.
|
|
2639
2709
|
*
|
|
2640
2710
|
* @remarks
|
|
2641
|
-
* ##
|
|
2642
|
-
* - `tenant_id` is derived from the authenticated identity
|
|
2643
|
-
* -
|
|
2644
|
-
* -
|
|
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`.
|
|
2645
2715
|
*
|
|
2646
2716
|
* @param request - GetSourceRequest
|
|
2647
2717
|
* @returns GetSourceResponse
|
|
@@ -2806,15 +2876,15 @@ export default class Client extends OpenApi {
|
|
|
2806
2876
|
*/
|
|
2807
2877
|
getTokenInfo(request: $_model.GetTokenInfoRequest): Promise<$_model.GetTokenInfoResponse>;
|
|
2808
2878
|
/**
|
|
2809
|
-
* Queries
|
|
2879
|
+
* Queries the details of a user.
|
|
2810
2880
|
*
|
|
2811
2881
|
* @remarks
|
|
2812
|
-
* Queries
|
|
2882
|
+
* Queries the details of a user.
|
|
2813
2883
|
* Business orchestration:
|
|
2814
2884
|
* 1. Locate the user by wnUserId or accountId.
|
|
2815
|
-
* 2. Query the mapping information of the user in the current tenant, including status, join time, and last logon time.
|
|
2816
|
-
* 3. Query the
|
|
2817
|
-
* 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.
|
|
2818
2888
|
* 5. Assemble the response.
|
|
2819
2889
|
* Error codes:
|
|
2820
2890
|
* - ERR.User.NotFound: The user does not exist.
|
|
@@ -2829,15 +2899,15 @@ export default class Client extends OpenApi {
|
|
|
2829
2899
|
[key: string]: string;
|
|
2830
2900
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetUserResponse>;
|
|
2831
2901
|
/**
|
|
2832
|
-
* Queries
|
|
2902
|
+
* Queries the details of a user.
|
|
2833
2903
|
*
|
|
2834
2904
|
* @remarks
|
|
2835
|
-
* Queries
|
|
2905
|
+
* Queries the details of a user.
|
|
2836
2906
|
* Business orchestration:
|
|
2837
2907
|
* 1. Locate the user by wnUserId or accountId.
|
|
2838
|
-
* 2. Query the mapping information of the user in the current tenant, including status, join time, and last logon time.
|
|
2839
|
-
* 3. Query the
|
|
2840
|
-
* 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.
|
|
2841
2911
|
* 5. Assemble the response.
|
|
2842
2912
|
* Error codes:
|
|
2843
2913
|
* - ERR.User.NotFound: The user does not exist.
|
|
@@ -2916,16 +2986,14 @@ export default class Client extends OpenApi {
|
|
|
2916
2986
|
*/
|
|
2917
2987
|
getUserGroup(request: $_model.GetUserGroupRequest): Promise<$_model.GetUserGroupResponse>;
|
|
2918
2988
|
/**
|
|
2919
|
-
* Retrieves the complete information of
|
|
2989
|
+
* Retrieves the complete information of an authenticated user, including basic information and the tenant list.
|
|
2920
2990
|
*
|
|
2921
2991
|
* @remarks
|
|
2922
|
-
* ## Request description
|
|
2923
2992
|
* - This operation returns the detailed information of the current authenticated user.
|
|
2924
2993
|
* - If the tenant information is invalid, the corresponding error message is returned.
|
|
2925
|
-
* - tenantId is an optional parameter. If not provided, the default tenant ID of the caller is used.
|
|
2926
|
-
* -
|
|
2927
|
-
* -
|
|
2928
|
-
* - 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.
|
|
2929
2997
|
*
|
|
2930
2998
|
* @param request - GetUserInfoRequest
|
|
2931
2999
|
* @param headers - map
|
|
@@ -2936,16 +3004,14 @@ export default class Client extends OpenApi {
|
|
|
2936
3004
|
[key: string]: string;
|
|
2937
3005
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetUserInfoResponse>;
|
|
2938
3006
|
/**
|
|
2939
|
-
* Retrieves the complete information of
|
|
3007
|
+
* Retrieves the complete information of an authenticated user, including basic information and the tenant list.
|
|
2940
3008
|
*
|
|
2941
3009
|
* @remarks
|
|
2942
|
-
* ## Request description
|
|
2943
3010
|
* - This operation returns the detailed information of the current authenticated user.
|
|
2944
3011
|
* - If the tenant information is invalid, the corresponding error message is returned.
|
|
2945
|
-
* - tenantId is an optional parameter. If not provided, the default tenant ID of the caller is used.
|
|
2946
|
-
* -
|
|
2947
|
-
* -
|
|
2948
|
-
* - 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.
|
|
2949
3015
|
*
|
|
2950
3016
|
* @param request - GetUserInfoRequest
|
|
2951
3017
|
* @returns GetUserInfoResponse
|
|
@@ -3024,7 +3090,7 @@ export default class Client extends OpenApi {
|
|
|
3024
3090
|
*/
|
|
3025
3091
|
getWorkItemAttachmentAccess(request: $_model.GetWorkItemAttachmentAccessRequest): Promise<$_model.GetWorkItemAttachmentAccessResponse>;
|
|
3026
3092
|
/**
|
|
3027
|
-
*
|
|
3093
|
+
* Queries the complete audit event records of a work item.
|
|
3028
3094
|
*
|
|
3029
3095
|
* @param request - GetWorkItemAuditRequest
|
|
3030
3096
|
* @param headers - map
|
|
@@ -3035,14 +3101,17 @@ export default class Client extends OpenApi {
|
|
|
3035
3101
|
[key: string]: string;
|
|
3036
3102
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetWorkItemAuditResponse>;
|
|
3037
3103
|
/**
|
|
3038
|
-
*
|
|
3104
|
+
* Queries the complete audit event records of a work item.
|
|
3039
3105
|
*
|
|
3040
3106
|
* @param request - GetWorkItemAuditRequest
|
|
3041
3107
|
* @returns GetWorkItemAuditResponse
|
|
3042
3108
|
*/
|
|
3043
3109
|
getWorkItemAudit(request: $_model.GetWorkItemAuditRequest): Promise<$_model.GetWorkItemAuditResponse>;
|
|
3044
3110
|
/**
|
|
3045
|
-
*
|
|
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.
|
|
3046
3115
|
*
|
|
3047
3116
|
* @param request - GetWorkItemRunSummariesRequest
|
|
3048
3117
|
* @param headers - map
|
|
@@ -3053,7 +3122,10 @@ export default class Client extends OpenApi {
|
|
|
3053
3122
|
[key: string]: string;
|
|
3054
3123
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetWorkItemRunSummariesResponse>;
|
|
3055
3124
|
/**
|
|
3056
|
-
*
|
|
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.
|
|
3057
3129
|
*
|
|
3058
3130
|
* @param request - GetWorkItemRunSummariesRequest
|
|
3059
3131
|
* @returns GetWorkItemRunSummariesResponse
|
|
@@ -3084,7 +3156,7 @@ export default class Client extends OpenApi {
|
|
|
3084
3156
|
*/
|
|
3085
3157
|
getWorkflowInstance(request: $_model.GetWorkflowInstanceRequest): Promise<$_model.GetWorkflowInstanceResponse>;
|
|
3086
3158
|
/**
|
|
3087
|
-
*
|
|
3159
|
+
* Queries the current and effective configurations of a workflow node.
|
|
3088
3160
|
*
|
|
3089
3161
|
* @param request - GetWorkflowNodeConfigurationRequest
|
|
3090
3162
|
* @param headers - map
|
|
@@ -3095,7 +3167,7 @@ export default class Client extends OpenApi {
|
|
|
3095
3167
|
[key: string]: string;
|
|
3096
3168
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetWorkflowNodeConfigurationResponse>;
|
|
3097
3169
|
/**
|
|
3098
|
-
*
|
|
3170
|
+
* Queries the current and effective configurations of a workflow node.
|
|
3099
3171
|
*
|
|
3100
3172
|
* @param request - GetWorkflowNodeConfigurationRequest
|
|
3101
3173
|
* @returns GetWorkflowNodeConfigurationResponse
|
|
@@ -3162,10 +3234,10 @@ export default class Client extends OpenApi {
|
|
|
3162
3234
|
*/
|
|
3163
3235
|
grantAgentUsers(request: $_model.GrantAgentUsersRequest): Promise<$_model.GrantAgentUsersResponse>;
|
|
3164
3236
|
/**
|
|
3165
|
-
* Imports a portable template in JSON format and creates a new template regardless of
|
|
3237
|
+
* Imports a portable template in JSON format and creates a new template, regardless of whether a template with the same name exists.
|
|
3166
3238
|
*
|
|
3167
3239
|
* @remarks
|
|
3168
|
-
* Imports a portable template in JSON format and creates a new template regardless of
|
|
3240
|
+
* Imports a portable template in JSON format and creates a new template, regardless of whether a template with the same name exists.
|
|
3169
3241
|
*
|
|
3170
3242
|
* @param tmpReq - ImportWorkflowTemplateRequest
|
|
3171
3243
|
* @param headers - map
|
|
@@ -3176,10 +3248,10 @@ export default class Client extends OpenApi {
|
|
|
3176
3248
|
[key: string]: string;
|
|
3177
3249
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ImportWorkflowTemplateResponse>;
|
|
3178
3250
|
/**
|
|
3179
|
-
* Imports a portable template in JSON format and creates a new template regardless of
|
|
3251
|
+
* Imports a portable template in JSON format and creates a new template, regardless of whether a template with the same name exists.
|
|
3180
3252
|
*
|
|
3181
3253
|
* @remarks
|
|
3182
|
-
* Imports a portable template in JSON format and creates a new template regardless of
|
|
3254
|
+
* Imports a portable template in JSON format and creates a new template, regardless of whether a template with the same name exists.
|
|
3183
3255
|
*
|
|
3184
3256
|
* @param request - ImportWorkflowTemplateRequest
|
|
3185
3257
|
* @returns ImportWorkflowTemplateResponse
|
|
@@ -3562,10 +3634,10 @@ export default class Client extends OpenApi {
|
|
|
3562
3634
|
*/
|
|
3563
3635
|
listChatSessions(request: $_model.ListChatSessionsRequest): Promise<$_model.ListChatSessionsResponse>;
|
|
3564
3636
|
/**
|
|
3565
|
-
*
|
|
3637
|
+
* Performs a paged query with paging support on the list of members in a collaboration workspace.
|
|
3566
3638
|
*
|
|
3567
3639
|
* @remarks
|
|
3568
|
-
*
|
|
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.
|
|
3569
3641
|
*
|
|
3570
3642
|
* @param request - ListCollaborationGroupMembersRequest
|
|
3571
3643
|
* @param headers - map
|
|
@@ -3576,20 +3648,20 @@ export default class Client extends OpenApi {
|
|
|
3576
3648
|
[key: string]: string;
|
|
3577
3649
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListCollaborationGroupMembersResponse>;
|
|
3578
3650
|
/**
|
|
3579
|
-
*
|
|
3651
|
+
* Performs a paged query with paging support on the list of members in a collaboration workspace.
|
|
3580
3652
|
*
|
|
3581
3653
|
* @remarks
|
|
3582
|
-
*
|
|
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.
|
|
3583
3655
|
*
|
|
3584
3656
|
* @param request - ListCollaborationGroupMembersRequest
|
|
3585
3657
|
* @returns ListCollaborationGroupMembersResponse
|
|
3586
3658
|
*/
|
|
3587
3659
|
listCollaborationGroupMembers(request: $_model.ListCollaborationGroupMembersRequest): Promise<$_model.ListCollaborationGroupMembersResponse>;
|
|
3588
3660
|
/**
|
|
3589
|
-
*
|
|
3661
|
+
* Performs a paging query for the list of collaboration spaces visible to the current user.
|
|
3590
3662
|
*
|
|
3591
3663
|
* @remarks
|
|
3592
|
-
*
|
|
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.
|
|
3593
3665
|
*
|
|
3594
3666
|
* @param request - ListCollaborationGroupsRequest
|
|
3595
3667
|
* @param headers - map
|
|
@@ -3600,10 +3672,10 @@ export default class Client extends OpenApi {
|
|
|
3600
3672
|
[key: string]: string;
|
|
3601
3673
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListCollaborationGroupsResponse>;
|
|
3602
3674
|
/**
|
|
3603
|
-
*
|
|
3675
|
+
* Performs a paging query for the list of collaboration spaces visible to the current user.
|
|
3604
3676
|
*
|
|
3605
3677
|
* @remarks
|
|
3606
|
-
*
|
|
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.
|
|
3607
3679
|
*
|
|
3608
3680
|
* @param request - ListCollaborationGroupsRequest
|
|
3609
3681
|
* @returns ListCollaborationGroupsResponse
|
|
@@ -3840,14 +3912,14 @@ export default class Client extends OpenApi {
|
|
|
3840
3912
|
*/
|
|
3841
3913
|
listOperatingObjectFavorites(request: $_model.ListOperatingObjectFavoritesRequest): Promise<$_model.ListOperatingObjectFavoritesResponse>;
|
|
3842
3914
|
/**
|
|
3843
|
-
* Performs a paged query
|
|
3915
|
+
* Performs a paged query to retrieve the visible outputs and the latest published file versions for the current user or a specified collaboration workspace. Supports filtering by session, label, and business ID. Paging and the total count are calculated based on the primary output records.
|
|
3844
3916
|
*
|
|
3845
3917
|
* @remarks
|
|
3846
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.
|
|
3847
|
-
* The sessionId parameter
|
|
3848
|
-
* Tags and business IDs are derived from file registrations or workflow instance associations. Unregistered tags or business IDs are not inferred from titles. Pagination defaults to page 1 with 20
|
|
3849
|
-
* For versioned files, the latest published version is returned by default without expanding historical versions. This API does not currently support querying specific versions. Pagination and the total count are still based on the primary output records, deduplicated by outputId, and are not counted by the number of files or historical versions.
|
|
3850
|
-
* 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
|
|
3919
|
+
* The sessionId parameter requires an exact match for a regular session, skill session, or node execution session. The tags parameter requires all specified labels to match simultaneously. The bizId parameter requires an exact match for the business ID of a file registration or an associated workflow instance. 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 registrations or workflow instance associations. Unregistered tags or business IDs are not inferred from titles. Pagination defaults to page 1 with 20 entries per page, up to a maximum of 100 entries, 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 the 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 trigger an automatic switchover to other versions published later. Invoke this API operation again to obtain a new link after the current one expires. Historical files that have not yet formed a published version may not return download information.
|
|
3851
3923
|
*
|
|
3852
3924
|
* @param tmpReq - ListOutputFilesRequest
|
|
3853
3925
|
* @param headers - map
|
|
@@ -3858,14 +3930,14 @@ export default class Client extends OpenApi {
|
|
|
3858
3930
|
[key: string]: string;
|
|
3859
3931
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListOutputFilesResponse>;
|
|
3860
3932
|
/**
|
|
3861
|
-
* Performs a paged query
|
|
3933
|
+
* Performs a paged query to retrieve the visible outputs and the latest published file versions for the current user or a specified collaboration workspace. Supports filtering by session, label, and business ID. Paging and the total count are calculated based on the primary output records.
|
|
3862
3934
|
*
|
|
3863
3935
|
* @remarks
|
|
3864
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.
|
|
3865
|
-
* The sessionId parameter
|
|
3866
|
-
* Tags and business IDs are derived from file registrations or workflow instance associations. Unregistered tags or business IDs are not inferred from titles. Pagination defaults to page 1 with 20
|
|
3867
|
-
* For versioned files, the latest published version is returned by default without expanding historical versions. This API does not currently support querying specific versions. Pagination and the total count are still based on the primary output records, deduplicated by outputId, and are not counted by the number of files or historical versions.
|
|
3868
|
-
* 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
|
|
3937
|
+
* The sessionId parameter requires an exact match for a regular session, skill session, or node execution session. The tags parameter requires all specified labels to match simultaneously. The bizId parameter requires an exact match for the business ID of a file registration or an associated workflow instance. 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 registrations or workflow instance associations. Unregistered tags or business IDs are not inferred from titles. Pagination defaults to page 1 with 20 entries per page, up to a maximum of 100 entries, 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 the 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 trigger an automatic switchover to other versions published later. Invoke this API operation again to obtain a new link after the current one expires. Historical files that have not yet formed a published version may not return download information.
|
|
3869
3941
|
*
|
|
3870
3942
|
* @param request - ListOutputFilesRequest
|
|
3871
3943
|
* @returns ListOutputFilesResponse
|
|
@@ -3947,14 +4019,14 @@ export default class Client extends OpenApi {
|
|
|
3947
4019
|
* Retrieves a list of scheduled tasks.
|
|
3948
4020
|
*
|
|
3949
4021
|
* @remarks
|
|
3950
|
-
* ##
|
|
3951
|
-
* - This
|
|
3952
|
-
* -
|
|
3953
|
-
* -
|
|
3954
|
-
* - Optional parameters include the public access URL and original file name to enhance the completeness of file information.
|
|
3955
|
-
* - If
|
|
3956
|
-
* -
|
|
3957
|
-
* - 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.
|
|
3958
4030
|
*
|
|
3959
4031
|
* @param tmpReq - ListScheduledTasksRequest
|
|
3960
4032
|
* @param headers - map
|
|
@@ -3968,14 +4040,14 @@ export default class Client extends OpenApi {
|
|
|
3968
4040
|
* Retrieves a list of scheduled tasks.
|
|
3969
4041
|
*
|
|
3970
4042
|
* @remarks
|
|
3971
|
-
* ##
|
|
3972
|
-
* - This
|
|
3973
|
-
* -
|
|
3974
|
-
* -
|
|
3975
|
-
* - Optional parameters include the public access URL and original file name to enhance the completeness of file information.
|
|
3976
|
-
* - If
|
|
3977
|
-
* -
|
|
3978
|
-
* - 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.
|
|
3979
4051
|
*
|
|
3980
4052
|
* @param request - ListScheduledTasksRequest
|
|
3981
4053
|
* @returns ListScheduledTasksResponse
|
|
@@ -4030,15 +4102,39 @@ export default class Client extends OpenApi {
|
|
|
4030
4102
|
*/
|
|
4031
4103
|
listSkills(request: $_model.ListSkillsRequest): Promise<$_model.ListSkillsResponse>;
|
|
4032
4104
|
/**
|
|
4033
|
-
* Retrieves
|
|
4105
|
+
* Retrieves source retrieve and usage statistics through paged query and paging.
|
|
4034
4106
|
*
|
|
4035
4107
|
* @remarks
|
|
4036
|
-
*
|
|
4037
|
-
*
|
|
4038
|
-
*
|
|
4039
|
-
*
|
|
4040
|
-
*
|
|
4041
|
-
*
|
|
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).
|
|
4042
4138
|
*
|
|
4043
4139
|
* @param request - ListTenantDirectoryRequest
|
|
4044
4140
|
* @param headers - map
|
|
@@ -4049,15 +4145,15 @@ export default class Client extends OpenApi {
|
|
|
4049
4145
|
[key: string]: string;
|
|
4050
4146
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListTenantDirectoryResponse>;
|
|
4051
4147
|
/**
|
|
4052
|
-
* Retrieves
|
|
4148
|
+
* Retrieves a list of knowledge bases.
|
|
4053
4149
|
*
|
|
4054
4150
|
* @remarks
|
|
4055
|
-
* ##
|
|
4056
|
-
* - This API
|
|
4057
|
-
* -
|
|
4058
|
-
* - The
|
|
4059
|
-
* - If
|
|
4060
|
-
* - 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).
|
|
4061
4157
|
*
|
|
4062
4158
|
* @param request - ListTenantDirectoryRequest
|
|
4063
4159
|
* @returns ListTenantDirectoryResponse
|
|
@@ -4120,13 +4216,13 @@ export default class Client extends OpenApi {
|
|
|
4120
4216
|
*/
|
|
4121
4217
|
listUserGroups(request: $_model.ListUserGroupsRequest): Promise<$_model.ListUserGroupsResponse>;
|
|
4122
4218
|
/**
|
|
4123
|
-
* Queries the knowledge base directory
|
|
4219
|
+
* Queries the content of the knowledge base directory visible to the current OpenAPI user.
|
|
4124
4220
|
*
|
|
4125
4221
|
* @remarks
|
|
4126
|
-
* ##
|
|
4127
|
-
* - 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.
|
|
4128
4224
|
* - The user identity and directory visibility scope are derived from the OpenAPI authentication context.
|
|
4129
|
-
* -
|
|
4225
|
+
* - If `sourceTypes` is specified, only resources are returned. The `keyword` parameter only searches the current directory level.
|
|
4130
4226
|
*
|
|
4131
4227
|
* @param request - ListUserVisibleKnowledgeBaseContentsRequest
|
|
4132
4228
|
* @param headers - map
|
|
@@ -4137,13 +4233,13 @@ export default class Client extends OpenApi {
|
|
|
4137
4233
|
[key: string]: string;
|
|
4138
4234
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListUserVisibleKnowledgeBaseContentsResponse>;
|
|
4139
4235
|
/**
|
|
4140
|
-
* Queries the knowledge base directory
|
|
4236
|
+
* Queries the content of the knowledge base directory visible to the current OpenAPI user.
|
|
4141
4237
|
*
|
|
4142
4238
|
* @remarks
|
|
4143
|
-
* ##
|
|
4144
|
-
* - 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.
|
|
4145
4241
|
* - The user identity and directory visibility scope are derived from the OpenAPI authentication context.
|
|
4146
|
-
* -
|
|
4242
|
+
* - If `sourceTypes` is specified, only resources are returned. The `keyword` parameter only searches the current directory level.
|
|
4147
4243
|
*
|
|
4148
4244
|
* @param request - ListUserVisibleKnowledgeBaseContentsRequest
|
|
4149
4245
|
* @returns ListUserVisibleKnowledgeBaseContentsResponse
|
|
@@ -4180,16 +4276,16 @@ export default class Client extends OpenApi {
|
|
|
4180
4276
|
*/
|
|
4181
4277
|
listUserVisibleKnowledgeBases(request: $_model.ListUserVisibleKnowledgeBasesRequest): Promise<$_model.ListUserVisibleKnowledgeBasesResponse>;
|
|
4182
4278
|
/**
|
|
4183
|
-
*
|
|
4279
|
+
* Performs a paging query for the tenant member list.
|
|
4184
4280
|
*
|
|
4185
4281
|
* @remarks
|
|
4186
|
-
*
|
|
4187
|
-
*
|
|
4188
|
-
* 1. Parse filter conditions (roleCodes
|
|
4189
|
-
* 2.
|
|
4190
|
-
* 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.
|
|
4191
4287
|
* Error codes:
|
|
4192
|
-
* -
|
|
4288
|
+
* - Throws an error when the roleCode parameter is invalid.
|
|
4193
4289
|
*
|
|
4194
4290
|
* @param tmpReq - ListUsersRequest
|
|
4195
4291
|
* @param headers - map
|
|
@@ -4200,16 +4296,16 @@ export default class Client extends OpenApi {
|
|
|
4200
4296
|
[key: string]: string;
|
|
4201
4297
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListUsersResponse>;
|
|
4202
4298
|
/**
|
|
4203
|
-
*
|
|
4299
|
+
* Performs a paging query for the tenant member list.
|
|
4204
4300
|
*
|
|
4205
4301
|
* @remarks
|
|
4206
|
-
*
|
|
4207
|
-
*
|
|
4208
|
-
* 1. Parse filter conditions (roleCodes
|
|
4209
|
-
* 2.
|
|
4210
|
-
* 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.
|
|
4211
4307
|
* Error codes:
|
|
4212
|
-
* -
|
|
4308
|
+
* - Throws an error when the roleCode parameter is invalid.
|
|
4213
4309
|
*
|
|
4214
4310
|
* @param request - ListUsersRequest
|
|
4215
4311
|
* @returns ListUsersResponse
|
|
@@ -4372,10 +4468,10 @@ export default class Client extends OpenApi {
|
|
|
4372
4468
|
*/
|
|
4373
4469
|
listWorkflowTemplateVersions(request: $_model.ListWorkflowTemplateVersionsRequest): Promise<$_model.ListWorkflowTemplateVersionsResponse>;
|
|
4374
4470
|
/**
|
|
4375
|
-
* 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.
|
|
4376
4472
|
*
|
|
4377
4473
|
* @remarks
|
|
4378
|
-
*
|
|
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.
|
|
4379
4475
|
*
|
|
4380
4476
|
* @param request - ListWorkflowTemplatesRequest
|
|
4381
4477
|
* @param headers - map
|
|
@@ -4386,10 +4482,10 @@ export default class Client extends OpenApi {
|
|
|
4386
4482
|
[key: string]: string;
|
|
4387
4483
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListWorkflowTemplatesResponse>;
|
|
4388
4484
|
/**
|
|
4389
|
-
* 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.
|
|
4390
4486
|
*
|
|
4391
4487
|
* @remarks
|
|
4392
|
-
*
|
|
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.
|
|
4393
4489
|
*
|
|
4394
4490
|
* @param request - ListWorkflowTemplatesRequest
|
|
4395
4491
|
* @returns ListWorkflowTemplatesResponse
|
|
@@ -4735,6 +4831,54 @@ export default class Client extends OpenApi {
|
|
|
4735
4831
|
* @returns QuerySemanticKnowledgeResponse
|
|
4736
4832
|
*/
|
|
4737
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>;
|
|
4738
4882
|
/**
|
|
4739
4883
|
* Queries the result of an organization synchronization task.
|
|
4740
4884
|
*
|
|
@@ -5109,7 +5253,7 @@ export default class Client extends OpenApi {
|
|
|
5109
5253
|
* Overwrites or clears manual memory.
|
|
5110
5254
|
*
|
|
5111
5255
|
* @remarks
|
|
5112
|
-
* 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.
|
|
5113
5257
|
*
|
|
5114
5258
|
* @param request - ReplaceManualMemoryRequest
|
|
5115
5259
|
* @param headers - map
|
|
@@ -5123,7 +5267,7 @@ export default class Client extends OpenApi {
|
|
|
5123
5267
|
* Overwrites or clears manual memory.
|
|
5124
5268
|
*
|
|
5125
5269
|
* @remarks
|
|
5126
|
-
* 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.
|
|
5127
5271
|
*
|
|
5128
5272
|
* @param request - ReplaceManualMemoryRequest
|
|
5129
5273
|
* @returns ReplaceManualMemoryResponse
|
|
@@ -5218,10 +5362,10 @@ export default class Client extends OpenApi {
|
|
|
5218
5362
|
*/
|
|
5219
5363
|
rerunNodeAI(request: $_model.RerunNodeAIRequest): Promise<$_model.RerunNodeAIResponse>;
|
|
5220
5364
|
/**
|
|
5221
|
-
*
|
|
5365
|
+
* Reruns a workflow starting from a specified node of a work item.
|
|
5222
5366
|
*
|
|
5223
5367
|
* @remarks
|
|
5224
|
-
*
|
|
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.
|
|
5225
5369
|
*
|
|
5226
5370
|
* @param request - RerunWorkflowNodeRequest
|
|
5227
5371
|
* @param headers - map
|
|
@@ -5232,10 +5376,10 @@ export default class Client extends OpenApi {
|
|
|
5232
5376
|
[key: string]: string;
|
|
5233
5377
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.RerunWorkflowNodeResponse>;
|
|
5234
5378
|
/**
|
|
5235
|
-
*
|
|
5379
|
+
* Reruns a workflow starting from a specified node of a work item.
|
|
5236
5380
|
*
|
|
5237
5381
|
* @remarks
|
|
5238
|
-
*
|
|
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.
|
|
5239
5383
|
*
|
|
5240
5384
|
* @param request - RerunWorkflowNodeRequest
|
|
5241
5385
|
* @returns RerunWorkflowNodeResponse
|
|
@@ -5322,7 +5466,10 @@ export default class Client extends OpenApi {
|
|
|
5322
5466
|
*/
|
|
5323
5467
|
resetToken(request: $_model.ResetTokenRequest): Promise<$_model.ResetTokenResponse>;
|
|
5324
5468
|
/**
|
|
5325
|
-
*
|
|
5469
|
+
* Resets the workflow node configuration to the default values.
|
|
5470
|
+
*
|
|
5471
|
+
* @remarks
|
|
5472
|
+
* Resets the workflow node configuration to the default values.
|
|
5326
5473
|
*
|
|
5327
5474
|
* @param request - ResetWorkflowNodeConfigurationRequest
|
|
5328
5475
|
* @param headers - map
|
|
@@ -5333,7 +5480,10 @@ export default class Client extends OpenApi {
|
|
|
5333
5480
|
[key: string]: string;
|
|
5334
5481
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ResetWorkflowNodeConfigurationResponse>;
|
|
5335
5482
|
/**
|
|
5336
|
-
*
|
|
5483
|
+
* Resets the workflow node configuration to the default values.
|
|
5484
|
+
*
|
|
5485
|
+
* @remarks
|
|
5486
|
+
* Resets the workflow node configuration to the default values.
|
|
5337
5487
|
*
|
|
5338
5488
|
* @param request - ResetWorkflowNodeConfigurationRequest
|
|
5339
5489
|
* @returns ResetWorkflowNodeConfigurationResponse
|
|
@@ -5890,11 +6040,11 @@ export default class Client extends OpenApi {
|
|
|
5890
6040
|
*
|
|
5891
6041
|
* @remarks
|
|
5892
6042
|
* ## Request description
|
|
5893
|
-
* - This API
|
|
5894
|
-
* - The source_type is fixed to FILE, the scope is fixed to PERSONAL, and the platform is fixed to LOCAL.
|
|
5895
|
-
* -
|
|
5896
|
-
* - If
|
|
5897
|
-
* -
|
|
6043
|
+
* - This API operation uploads a file to the My Resources section of a specified digital employee.
|
|
6044
|
+
* - The source_type parameter is fixed to FILE, the scope parameter is fixed to PERSONAL, and the platform parameter is fixed to LOCAL.
|
|
6045
|
+
* - You must provide an OSS persistence address (filePath) for the file. Other information, such as the public access URL and the original file name, is optional.
|
|
6046
|
+
* - If you do not specify a target folder ID (directoryId), the file is automatically attached to the default root folder of the current digital employee. If you specify a folder ID, make sure that the folder belongs to the personal folder of the user who invokes the API.
|
|
6047
|
+
* - You can authenticate through multiple methods (such as AK, BearerToken, and APP) for security authentication.
|
|
5898
6048
|
* - The operation type is write, and operation logs are recorded for subsequent auditing.
|
|
5899
6049
|
*
|
|
5900
6050
|
* @param tmpReq - SendChatMessageRequest
|
|
@@ -5910,11 +6060,11 @@ export default class Client extends OpenApi {
|
|
|
5910
6060
|
*
|
|
5911
6061
|
* @remarks
|
|
5912
6062
|
* ## Request description
|
|
5913
|
-
* - This API
|
|
5914
|
-
* - The source_type is fixed to FILE, the scope is fixed to PERSONAL, and the platform is fixed to LOCAL.
|
|
5915
|
-
* -
|
|
5916
|
-
* - If
|
|
5917
|
-
* -
|
|
6063
|
+
* - This API operation uploads a file to the My Resources section of a specified digital employee.
|
|
6064
|
+
* - The source_type parameter is fixed to FILE, the scope parameter is fixed to PERSONAL, and the platform parameter is fixed to LOCAL.
|
|
6065
|
+
* - You must provide an OSS persistence address (filePath) for the file. Other information, such as the public access URL and the original file name, is optional.
|
|
6066
|
+
* - If you do not specify a target folder ID (directoryId), the file is automatically attached to the default root folder of the current digital employee. If you specify a folder ID, make sure that the folder belongs to the personal folder of the user who invokes the API.
|
|
6067
|
+
* - You can authenticate through multiple methods (such as AK, BearerToken, and APP) for security authentication.
|
|
5918
6068
|
* - The operation type is write, and operation logs are recorded for subsequent auditing.
|
|
5919
6069
|
*
|
|
5920
6070
|
* @param tmpReq - SendChatMessageRequest
|
|
@@ -5930,11 +6080,11 @@ export default class Client extends OpenApi {
|
|
|
5930
6080
|
*
|
|
5931
6081
|
* @remarks
|
|
5932
6082
|
* ## Request description
|
|
5933
|
-
* - This API
|
|
5934
|
-
* - The source_type is fixed to FILE, the scope is fixed to PERSONAL, and the platform is fixed to LOCAL.
|
|
5935
|
-
* -
|
|
5936
|
-
* - If
|
|
5937
|
-
* -
|
|
6083
|
+
* - This API operation uploads a file to the My Resources section of a specified digital employee.
|
|
6084
|
+
* - The source_type parameter is fixed to FILE, the scope parameter is fixed to PERSONAL, and the platform parameter is fixed to LOCAL.
|
|
6085
|
+
* - You must provide an OSS persistence address (filePath) for the file. Other information, such as the public access URL and the original file name, is optional.
|
|
6086
|
+
* - If you do not specify a target folder ID (directoryId), the file is automatically attached to the default root folder of the current digital employee. If you specify a folder ID, make sure that the folder belongs to the personal folder of the user who invokes the API.
|
|
6087
|
+
* - You can authenticate through multiple methods (such as AK, BearerToken, and APP) for security authentication.
|
|
5938
6088
|
* - The operation type is write, and operation logs are recorded for subsequent auditing.
|
|
5939
6089
|
*
|
|
5940
6090
|
* @param request - SendChatMessageRequest
|
|
@@ -5942,10 +6092,10 @@ export default class Client extends OpenApi {
|
|
|
5942
6092
|
*/
|
|
5943
6093
|
sendChatMessage(request: $_model.SendChatMessageRequest): Promise<$_model.SendChatMessageResponse>;
|
|
5944
6094
|
/**
|
|
5945
|
-
*
|
|
6095
|
+
* Sends a user message to a work item topic.
|
|
5946
6096
|
*
|
|
5947
6097
|
* @remarks
|
|
5948
|
-
*
|
|
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.
|
|
5949
6099
|
*
|
|
5950
6100
|
* @param request - SendWorkItemMessageRequest
|
|
5951
6101
|
* @param headers - map
|
|
@@ -5956,10 +6106,10 @@ export default class Client extends OpenApi {
|
|
|
5956
6106
|
[key: string]: string;
|
|
5957
6107
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.SendWorkItemMessageResponse>;
|
|
5958
6108
|
/**
|
|
5959
|
-
*
|
|
6109
|
+
* Sends a user message to a work item topic.
|
|
5960
6110
|
*
|
|
5961
6111
|
* @remarks
|
|
5962
|
-
*
|
|
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.
|
|
5963
6113
|
*
|
|
5964
6114
|
* @param request - SendWorkItemMessageRequest
|
|
5965
6115
|
* @returns SendWorkItemMessageResponse
|
|
@@ -5990,10 +6140,10 @@ export default class Client extends OpenApi {
|
|
|
5990
6140
|
*/
|
|
5991
6141
|
setWorkItemPinned(request: $_model.SetWorkItemPinnedRequest): Promise<$_model.SetWorkItemPinnedResponse>;
|
|
5992
6142
|
/**
|
|
5993
|
-
*
|
|
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.
|
|
5994
6144
|
*
|
|
5995
6145
|
* @remarks
|
|
5996
|
-
* The storage management administrator
|
|
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.
|
|
5997
6147
|
*
|
|
5998
6148
|
* @param request - SetWorkflowTemplateEffectiveVersionRequest
|
|
5999
6149
|
* @param headers - map
|
|
@@ -6004,10 +6154,10 @@ export default class Client extends OpenApi {
|
|
|
6004
6154
|
[key: string]: string;
|
|
6005
6155
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.SetWorkflowTemplateEffectiveVersionResponse>;
|
|
6006
6156
|
/**
|
|
6007
|
-
*
|
|
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.
|
|
6008
6158
|
*
|
|
6009
6159
|
* @remarks
|
|
6010
|
-
* The storage management administrator
|
|
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.
|
|
6011
6161
|
*
|
|
6012
6162
|
* @param request - SetWorkflowTemplateEffectiveVersionRequest
|
|
6013
6163
|
* @returns SetWorkflowTemplateEffectiveVersionResponse
|
|
@@ -6200,23 +6350,23 @@ export default class Client extends OpenApi {
|
|
|
6200
6350
|
*/
|
|
6201
6351
|
togglePrimaryObjectFavorite(request: $_model.TogglePrimaryObjectFavoriteRequest): Promise<$_model.TogglePrimaryObjectFavoriteResponse>;
|
|
6202
6352
|
/**
|
|
6203
|
-
*
|
|
6353
|
+
* Transcribes speech to text.
|
|
6204
6354
|
*
|
|
6205
6355
|
* @remarks
|
|
6206
6356
|
* ## Request description
|
|
6207
|
-
* This API
|
|
6357
|
+
* This API performs automatic speech recognition (ASR) and uses the **file transfer upload** mode (`fileTransfer`). Audio files are not transmitted in the request body. Instead, they are first uploaded to Object Storage Service (OSS). The OSS URL is then passed to the backend through the `FileUrl` request parameter. The backend retrieves the audio bytes from the URL and calls the ASR model to transcribe the audio into text.
|
|
6208
6358
|
* ### Call methods
|
|
6209
|
-
* - **Recommended**: Use the `TranscribeChatVoiceAdvance` method generated by the SDK
|
|
6210
|
-
* - **Direct upload**: Upload the audio file to an OSS
|
|
6359
|
+
* - **Recommended**: Use the `TranscribeChatVoiceAdvance` method generated by the SDK and pass in the local audio file stream. The SDK automatically completes the transfer upload and populates the `FileUrl` parameter.
|
|
6360
|
+
* - **Direct upload**: Upload the audio file to an OSS URL that is accessible by the server. Then, call this API directly and pass in the `FileUrl` parameter.
|
|
6211
6361
|
* ### Request parameters
|
|
6212
|
-
* - **FileUrl**: Required. The OSS
|
|
6213
|
-
* - **FileName**: Required. The original file name including the extension, such as `meeting.mp3`. The OSS
|
|
6214
|
-
* - **ContentType**: Optional. The MIME type of the audio, such as `audio/mpeg`. If
|
|
6215
|
-
* - Supported audio formats:
|
|
6362
|
+
* - **FileUrl**: Required. The OSS URL of the audio file. If you use the Advance method, the SDK automatically populates this parameter. You do not need to manually assign a value.
|
|
6363
|
+
* - **FileName**: Required. The original file name, including the extension, such as `meeting.mp3`. The OSS URL generated during the transfer does not contain the original file name. The backend determines the audio format based on this parameter. Therefore, you must explicitly pass it.
|
|
6364
|
+
* - **ContentType**: Optional. The MIME type of the audio, such as `audio/mpeg`. If you do not pass this parameter, the format is determined based on the file name extension.
|
|
6365
|
+
* - Supported audio formats: MP3, WAV, M4A, MP4, WebM, OGG, OGA, Opus, FLAC, and AMR. Maximum size: 25 MB.
|
|
6216
6366
|
* ### Response parameters
|
|
6217
|
-
* Returns the recognized text content `text
|
|
6218
|
-
* ###
|
|
6219
|
-
* The tenant must have
|
|
6367
|
+
* Returns the recognized text content in the `text` field.
|
|
6368
|
+
* ### Prerequisites
|
|
6369
|
+
* The tenant must have configured a speech recognition model (model_audio_flash). If the model is not configured, the `ERR.Robject.Chat.VoiceAudioNotConfigured` error is returned.
|
|
6220
6370
|
*
|
|
6221
6371
|
* @param request - TranscribeChatVoiceRequest
|
|
6222
6372
|
* @param headers - map
|
|
@@ -6227,23 +6377,23 @@ export default class Client extends OpenApi {
|
|
|
6227
6377
|
[key: string]: string;
|
|
6228
6378
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.TranscribeChatVoiceResponse>;
|
|
6229
6379
|
/**
|
|
6230
|
-
*
|
|
6380
|
+
* Transcribes speech to text.
|
|
6231
6381
|
*
|
|
6232
6382
|
* @remarks
|
|
6233
6383
|
* ## Request description
|
|
6234
|
-
* This API
|
|
6384
|
+
* This API performs automatic speech recognition (ASR) and uses the **file transfer upload** mode (`fileTransfer`). Audio files are not transmitted in the request body. Instead, they are first uploaded to Object Storage Service (OSS). The OSS URL is then passed to the backend through the `FileUrl` request parameter. The backend retrieves the audio bytes from the URL and calls the ASR model to transcribe the audio into text.
|
|
6235
6385
|
* ### Call methods
|
|
6236
|
-
* - **Recommended**: Use the `TranscribeChatVoiceAdvance` method generated by the SDK
|
|
6237
|
-
* - **Direct upload**: Upload the audio file to an OSS
|
|
6386
|
+
* - **Recommended**: Use the `TranscribeChatVoiceAdvance` method generated by the SDK and pass in the local audio file stream. The SDK automatically completes the transfer upload and populates the `FileUrl` parameter.
|
|
6387
|
+
* - **Direct upload**: Upload the audio file to an OSS URL that is accessible by the server. Then, call this API directly and pass in the `FileUrl` parameter.
|
|
6238
6388
|
* ### Request parameters
|
|
6239
|
-
* - **FileUrl**: Required. The OSS
|
|
6240
|
-
* - **FileName**: Required. The original file name including the extension, such as `meeting.mp3`. The OSS
|
|
6241
|
-
* - **ContentType**: Optional. The MIME type of the audio, such as `audio/mpeg`. If
|
|
6242
|
-
* - Supported audio formats:
|
|
6389
|
+
* - **FileUrl**: Required. The OSS URL of the audio file. If you use the Advance method, the SDK automatically populates this parameter. You do not need to manually assign a value.
|
|
6390
|
+
* - **FileName**: Required. The original file name, including the extension, such as `meeting.mp3`. The OSS URL generated during the transfer does not contain the original file name. The backend determines the audio format based on this parameter. Therefore, you must explicitly pass it.
|
|
6391
|
+
* - **ContentType**: Optional. The MIME type of the audio, such as `audio/mpeg`. If you do not pass this parameter, the format is determined based on the file name extension.
|
|
6392
|
+
* - Supported audio formats: MP3, WAV, M4A, MP4, WebM, OGG, OGA, Opus, FLAC, and AMR. Maximum size: 25 MB.
|
|
6243
6393
|
* ### Response parameters
|
|
6244
|
-
* Returns the recognized text content `text
|
|
6245
|
-
* ###
|
|
6246
|
-
* The tenant must have
|
|
6394
|
+
* Returns the recognized text content in the `text` field.
|
|
6395
|
+
* ### Prerequisites
|
|
6396
|
+
* The tenant must have configured a speech recognition model (model_audio_flash). If the model is not configured, the `ERR.Robject.Chat.VoiceAudioNotConfigured` error is returned.
|
|
6247
6397
|
*
|
|
6248
6398
|
* @param request - TranscribeChatVoiceRequest
|
|
6249
6399
|
* @returns TranscribeChatVoiceResponse
|
|
@@ -6567,10 +6717,10 @@ export default class Client extends OpenApi {
|
|
|
6567
6717
|
*/
|
|
6568
6718
|
updateKnowledgeBaseSourceTags(request: $_model.UpdateKnowledgeBaseSourceTagsRequest): Promise<$_model.UpdateKnowledgeBaseSourceTagsResponse>;
|
|
6569
6719
|
/**
|
|
6570
|
-
* Updates the automatic memory collection
|
|
6720
|
+
* Updates the automatic memory collection switch.
|
|
6571
6721
|
*
|
|
6572
6722
|
* @remarks
|
|
6573
|
-
* 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.
|
|
6574
6724
|
*
|
|
6575
6725
|
* @param request - UpdateMemoryAutoExtractionSwitchRequest
|
|
6576
6726
|
* @param headers - map
|
|
@@ -6581,10 +6731,10 @@ export default class Client extends OpenApi {
|
|
|
6581
6731
|
[key: string]: string;
|
|
6582
6732
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateMemoryAutoExtractionSwitchResponse>;
|
|
6583
6733
|
/**
|
|
6584
|
-
* Updates the automatic memory collection
|
|
6734
|
+
* Updates the automatic memory collection switch.
|
|
6585
6735
|
*
|
|
6586
6736
|
* @remarks
|
|
6587
|
-
* 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.
|
|
6588
6738
|
*
|
|
6589
6739
|
* @param request - UpdateMemoryAutoExtractionSwitchRequest
|
|
6590
6740
|
* @returns UpdateMemoryAutoExtractionSwitchResponse
|
|
@@ -6718,7 +6868,8 @@ export default class Client extends OpenApi {
|
|
|
6718
6868
|
* Updates the name, description, and parent relationship of a specified user group.
|
|
6719
6869
|
*
|
|
6720
6870
|
* @remarks
|
|
6721
|
-
*
|
|
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.
|
|
6722
6873
|
*
|
|
6723
6874
|
* @param request - UpdateUserGroupRequest
|
|
6724
6875
|
* @param headers - map
|
|
@@ -6732,7 +6883,8 @@ export default class Client extends OpenApi {
|
|
|
6732
6883
|
* Updates the name, description, and parent relationship of a specified user group.
|
|
6733
6884
|
*
|
|
6734
6885
|
* @remarks
|
|
6735
|
-
*
|
|
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.
|
|
6736
6888
|
*
|
|
6737
6889
|
* @param request - UpdateUserGroupRequest
|
|
6738
6890
|
* @returns UpdateUserGroupResponse
|
|
@@ -6799,7 +6951,7 @@ export default class Client extends OpenApi {
|
|
|
6799
6951
|
*/
|
|
6800
6952
|
updateWorkItem(request: $_model.UpdateWorkItemRequest): Promise<$_model.UpdateWorkItemResponse>;
|
|
6801
6953
|
/**
|
|
6802
|
-
*
|
|
6954
|
+
* Updates the executor and model configurations of a workflow node.
|
|
6803
6955
|
*
|
|
6804
6956
|
* @param tmpReq - UpdateWorkflowNodeConfigurationRequest
|
|
6805
6957
|
* @param headers - map
|
|
@@ -6810,17 +6962,17 @@ export default class Client extends OpenApi {
|
|
|
6810
6962
|
[key: string]: string;
|
|
6811
6963
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateWorkflowNodeConfigurationResponse>;
|
|
6812
6964
|
/**
|
|
6813
|
-
*
|
|
6965
|
+
* Updates the executor and model configurations of a workflow node.
|
|
6814
6966
|
*
|
|
6815
6967
|
* @param request - UpdateWorkflowNodeConfigurationRequest
|
|
6816
6968
|
* @returns UpdateWorkflowNodeConfigurationResponse
|
|
6817
6969
|
*/
|
|
6818
6970
|
updateWorkflowNodeConfiguration(request: $_model.UpdateWorkflowNodeConfigurationRequest): Promise<$_model.UpdateWorkflowNodeConfigurationResponse>;
|
|
6819
6971
|
/**
|
|
6820
|
-
*
|
|
6972
|
+
* Overwrites and updates a workflow template with valid members. The last save takes effect.
|
|
6821
6973
|
*
|
|
6822
6974
|
* @remarks
|
|
6823
|
-
*
|
|
6975
|
+
* Overwrites and updates a workflow template with valid members. The last save takes effect.
|
|
6824
6976
|
*
|
|
6825
6977
|
* @param tmpReq - UpdateWorkflowTemplateRequest
|
|
6826
6978
|
* @param headers - map
|
|
@@ -6831,10 +6983,10 @@ export default class Client extends OpenApi {
|
|
|
6831
6983
|
[key: string]: string;
|
|
6832
6984
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateWorkflowTemplateResponse>;
|
|
6833
6985
|
/**
|
|
6834
|
-
*
|
|
6986
|
+
* Overwrites and updates a workflow template with valid members. The last save takes effect.
|
|
6835
6987
|
*
|
|
6836
6988
|
* @remarks
|
|
6837
|
-
*
|
|
6989
|
+
* Overwrites and updates a workflow template with valid members. The last save takes effect.
|
|
6838
6990
|
*
|
|
6839
6991
|
* @param request - UpdateWorkflowTemplateRequest
|
|
6840
6992
|
* @returns UpdateWorkflowTemplateResponse
|
|
@@ -6857,6 +7009,8 @@ export default class Client extends OpenApi {
|
|
|
6857
7009
|
* ### Response parameters
|
|
6858
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.
|
|
6859
7011
|
*
|
|
7012
|
+
* @deprecated OpenAPI UploadChatFile is deprecated
|
|
7013
|
+
*
|
|
6860
7014
|
* @param request - UploadChatFileRequest
|
|
6861
7015
|
* @param headers - map
|
|
6862
7016
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6882,6 +7036,8 @@ export default class Client extends OpenApi {
|
|
|
6882
7036
|
* ### Response parameters
|
|
6883
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.
|
|
6884
7038
|
*
|
|
7039
|
+
* @deprecated OpenAPI UploadChatFile is deprecated
|
|
7040
|
+
*
|
|
6885
7041
|
* @param request - UploadChatFileRequest
|
|
6886
7042
|
* @returns UploadChatFileResponse
|
|
6887
7043
|
*/
|
|
@@ -6889,4 +7045,28 @@ export default class Client extends OpenApi {
|
|
|
6889
7045
|
uploadChatFileAdvance(request: $_model.UploadChatFileAdvanceRequest, headers: {
|
|
6890
7046
|
[key: string]: string;
|
|
6891
7047
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.UploadChatFileResponse>;
|
|
7048
|
+
/**
|
|
7049
|
+
* Uploads a session file in Base64 format.
|
|
7050
|
+
*
|
|
7051
|
+
* @remarks
|
|
7052
|
+
* Submits a local attachment by using standard Base64 encoding (the maximum decoding limit on the application side is 50 MiB) and returns the session file record 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
|
+
* Uploads a session file in Base64 format.
|
|
7064
|
+
*
|
|
7065
|
+
* @remarks
|
|
7066
|
+
* Submits a local attachment by using standard Base64 encoding (the maximum decoding limit on the application side is 50 MiB) and returns the session file record ID.
|
|
7067
|
+
*
|
|
7068
|
+
* @param request - UploadChatFileByBase64Request
|
|
7069
|
+
* @returns UploadChatFileByBase64Response
|
|
7070
|
+
*/
|
|
7071
|
+
uploadChatFileByBase64(request: $_model.UploadChatFileByBase64Request): Promise<$_model.UploadChatFileByBase64Response>;
|
|
6892
7072
|
}
|