@alicloud/winnexo20260512 1.4.0 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +641 -185
- package/dist/client.js +1490 -254
- package/dist/client.js.map +1 -1
- package/dist/models/CreateGroupAliDingDocRequest.d.ts +75 -0
- package/dist/models/CreateGroupAliDingDocRequest.js +70 -0
- package/dist/models/CreateGroupAliDingDocRequest.js.map +1 -0
- package/dist/models/CreateGroupAliDingDocResponse.d.ts +19 -0
- package/dist/models/CreateGroupAliDingDocResponse.js +69 -0
- package/dist/models/CreateGroupAliDingDocResponse.js.map +1 -0
- package/dist/models/CreateGroupAliDingDocResponseBody.d.ts +93 -0
- package/dist/models/CreateGroupAliDingDocResponseBody.js +76 -0
- package/dist/models/CreateGroupAliDingDocResponseBody.js.map +1 -0
- package/dist/models/CreateGroupDirectoryRequest.d.ts +57 -0
- package/dist/models/CreateGroupDirectoryRequest.js +66 -0
- package/dist/models/CreateGroupDirectoryRequest.js.map +1 -0
- package/dist/models/CreateGroupDirectoryResponse.d.ts +19 -0
- package/dist/models/CreateGroupDirectoryResponse.js +69 -0
- package/dist/models/CreateGroupDirectoryResponse.js.map +1 -0
- package/dist/models/CreateGroupDirectoryResponseBody.d.ts +93 -0
- package/dist/models/CreateGroupDirectoryResponseBody.js +76 -0
- package/dist/models/CreateGroupDirectoryResponseBody.js.map +1 -0
- package/dist/models/CreateGroupFeishuChatRequest.d.ts +130 -0
- package/dist/models/CreateGroupFeishuChatRequest.js +102 -0
- package/dist/models/CreateGroupFeishuChatRequest.js.map +1 -0
- package/dist/models/CreateGroupFeishuChatResponse.d.ts +19 -0
- package/dist/models/CreateGroupFeishuChatResponse.js +69 -0
- package/dist/models/CreateGroupFeishuChatResponse.js.map +1 -0
- package/dist/models/CreateGroupFeishuChatResponseBody.d.ts +101 -0
- package/dist/models/CreateGroupFeishuChatResponseBody.js +78 -0
- package/dist/models/CreateGroupFeishuChatResponseBody.js.map +1 -0
- package/dist/models/CreateGroupFeishuChatShrinkRequest.d.ts +94 -0
- package/dist/models/CreateGroupFeishuChatShrinkRequest.js +76 -0
- package/dist/models/CreateGroupFeishuChatShrinkRequest.js.map +1 -0
- package/dist/models/CreateGroupFileRequest.d.ts +75 -0
- package/dist/models/CreateGroupFileRequest.js +70 -0
- package/dist/models/CreateGroupFileRequest.js.map +1 -0
- package/dist/models/CreateGroupFileResponse.d.ts +19 -0
- package/dist/models/CreateGroupFileResponse.js +69 -0
- package/dist/models/CreateGroupFileResponse.js.map +1 -0
- package/dist/models/CreateGroupFileResponseBody.d.ts +93 -0
- package/dist/models/CreateGroupFileResponseBody.js +76 -0
- package/dist/models/CreateGroupFileResponseBody.js.map +1 -0
- package/dist/models/CreateGroupPublicUrlRequest.d.ts +89 -0
- package/dist/models/CreateGroupPublicUrlRequest.js +74 -0
- package/dist/models/CreateGroupPublicUrlRequest.js.map +1 -0
- package/dist/models/CreateGroupPublicUrlResponse.d.ts +19 -0
- package/dist/models/CreateGroupPublicUrlResponse.js +69 -0
- package/dist/models/CreateGroupPublicUrlResponse.js.map +1 -0
- package/dist/models/CreateGroupPublicUrlResponseBody.d.ts +107 -0
- package/dist/models/CreateGroupPublicUrlResponseBody.js +78 -0
- package/dist/models/CreateGroupPublicUrlResponseBody.js.map +1 -0
- package/dist/models/CreateGroupTextRequest.d.ts +75 -0
- package/dist/models/CreateGroupTextRequest.js +70 -0
- package/dist/models/CreateGroupTextRequest.js.map +1 -0
- package/dist/models/CreateGroupTextResponse.d.ts +19 -0
- package/dist/models/CreateGroupTextResponse.js +69 -0
- package/dist/models/CreateGroupTextResponse.js.map +1 -0
- package/dist/models/CreateGroupTextResponseBody.d.ts +93 -0
- package/dist/models/CreateGroupTextResponseBody.js +76 -0
- package/dist/models/CreateGroupTextResponseBody.js.map +1 -0
- package/dist/models/CreateKnowledgeBasePublicUrlRequest.d.ts +81 -0
- package/dist/models/CreateKnowledgeBasePublicUrlRequest.js +72 -0
- package/dist/models/CreateKnowledgeBasePublicUrlRequest.js.map +1 -0
- package/dist/models/CreateKnowledgeBasePublicUrlResponse.d.ts +19 -0
- package/dist/models/CreateKnowledgeBasePublicUrlResponse.js +69 -0
- package/dist/models/CreateKnowledgeBasePublicUrlResponse.js.map +1 -0
- package/dist/models/CreateKnowledgeBasePublicUrlResponseBody.d.ts +93 -0
- package/dist/models/CreateKnowledgeBasePublicUrlResponseBody.js +76 -0
- package/dist/models/CreateKnowledgeBasePublicUrlResponseBody.js.map +1 -0
- package/dist/models/CreatePersonalFileRequest.d.ts +5 -5
- package/dist/models/CreatePersonalFileResponseBody.d.ts +1 -1
- package/dist/models/CreatePersonalPublicUrlRequest.d.ts +79 -0
- package/dist/models/CreatePersonalPublicUrlRequest.js +72 -0
- package/dist/models/CreatePersonalPublicUrlRequest.js.map +1 -0
- package/dist/models/CreatePersonalPublicUrlResponse.d.ts +19 -0
- package/dist/models/CreatePersonalPublicUrlResponse.js +69 -0
- package/dist/models/CreatePersonalPublicUrlResponse.js.map +1 -0
- package/dist/models/CreatePersonalPublicUrlResponseBody.d.ts +93 -0
- package/dist/models/CreatePersonalPublicUrlResponseBody.js +76 -0
- package/dist/models/CreatePersonalPublicUrlResponseBody.js.map +1 -0
- package/dist/models/CreatePersonalTextRequest.d.ts +3 -3
- package/dist/models/CreatePersonalTextResponseBody.d.ts +6 -6
- package/dist/models/GetGroupSourceRequest.d.ts +41 -0
- package/dist/models/GetGroupSourceRequest.js +62 -0
- package/dist/models/GetGroupSourceRequest.js.map +1 -0
- package/dist/models/GetGroupSourceResponse.d.ts +19 -0
- package/dist/models/GetGroupSourceResponse.js +69 -0
- package/dist/models/GetGroupSourceResponse.js.map +1 -0
- package/dist/models/GetGroupSourceResponseBody.d.ts +125 -0
- package/dist/models/GetGroupSourceResponseBody.js +84 -0
- package/dist/models/GetGroupSourceResponseBody.js.map +1 -0
- package/dist/models/GetScheduledTaskExecutionDetailRequest.d.ts +1 -1
- package/dist/models/GetScheduledTaskExecutionDetailResponseBody.d.ts +3 -3
- package/dist/models/GetScheduledTaskPushOptionsRequest.d.ts +2 -2
- package/dist/models/GetScheduledTaskPushOptionsResponseBody.d.ts +6 -6
- package/dist/models/GetSkillRequest.d.ts +3 -3
- package/dist/models/GetSkillResponseBody.d.ts +8 -8
- package/dist/models/GetSourceRequest.d.ts +1 -1
- package/dist/models/GetSourceResponseBody.d.ts +12 -12
- package/dist/models/GetSourceUploadSignatureRequest.d.ts +13 -2
- package/dist/models/GetSourceUploadSignatureRequest.js +2 -0
- package/dist/models/GetSourceUploadSignatureRequest.js.map +1 -1
- package/dist/models/GetSourceUploadSignatureResponseBody.d.ts +5 -2
- package/dist/models/GetSourceUploadSignatureResponseBody.js.map +1 -1
- package/dist/models/GetUserGroupResponseBody.d.ts +5 -5
- package/dist/models/GetUserRequest.d.ts +1 -1
- package/dist/models/GetUserResponseBody.d.ts +2 -2
- package/dist/models/ListActiveAnnouncementsRequest.d.ts +1 -1
- package/dist/models/ListActiveAnnouncementsResponseBody.d.ts +8 -8
- package/dist/models/ListAuthorizedAgentsRequest.d.ts +1 -1
- package/dist/models/ListAuthorizedUsersRequest.d.ts +6 -2
- package/dist/models/ListAuthorizedUsersRequest.js.map +1 -1
- package/dist/models/ListAuthorizedUsersResponseBody.d.ts +13 -11
- package/dist/models/ListAuthorizedUsersResponseBody.js.map +1 -1
- package/dist/models/ListChatSessionsRequest.d.ts +1 -1
- package/dist/models/ListChatSessionsResponseBody.d.ts +2 -2
- package/dist/models/ListGraphSchemasRequest.d.ts +4 -4
- package/dist/models/ListGraphSchemasResponseBody.d.ts +16 -16
- package/dist/models/ListGraphSchemasShrinkRequest.d.ts +4 -4
- package/dist/models/ListGroupDirectoriesRequest.d.ts +55 -0
- package/dist/models/ListGroupDirectoriesRequest.js +66 -0
- package/dist/models/ListGroupDirectoriesRequest.js.map +1 -0
- package/dist/models/ListGroupDirectoriesResponse.d.ts +19 -0
- package/dist/models/ListGroupDirectoriesResponse.js +69 -0
- package/dist/models/ListGroupDirectoriesResponse.js.map +1 -0
- package/dist/models/ListGroupDirectoriesResponseBody.d.ts +113 -0
- package/dist/models/ListGroupDirectoriesResponseBody.js +98 -0
- package/dist/models/ListGroupDirectoriesResponseBody.js.map +1 -0
- package/dist/models/ListGroupDirectoryRequest.d.ts +87 -0
- package/dist/models/ListGroupDirectoryRequest.js +77 -0
- package/dist/models/ListGroupDirectoryRequest.js.map +1 -0
- package/dist/models/ListGroupDirectoryResponse.d.ts +19 -0
- package/dist/models/ListGroupDirectoryResponse.js +69 -0
- package/dist/models/ListGroupDirectoryResponse.js.map +1 -0
- package/dist/models/ListGroupDirectoryResponseBody.d.ts +245 -0
- package/dist/models/ListGroupDirectoryResponseBody.js +148 -0
- package/dist/models/ListGroupDirectoryResponseBody.js.map +1 -0
- package/dist/models/ListGroupDirectoryShrinkRequest.d.ts +87 -0
- package/dist/models/ListGroupDirectoryShrinkRequest.js +74 -0
- package/dist/models/ListGroupDirectoryShrinkRequest.js.map +1 -0
- package/dist/models/ListKnowledgeBaseDirectoriesRequest.d.ts +5 -5
- package/dist/models/ListOutputFilesRequest.d.ts +1 -1
- package/dist/models/ListOutputFilesResponseBody.d.ts +9 -9
- package/dist/models/ListRolesRequest.d.ts +1 -1
- package/dist/models/ListRolesResponseBody.d.ts +2 -2
- package/dist/models/ListScheduledTasksRequest.d.ts +3 -3
- package/dist/models/ListScheduledTasksResponseBody.d.ts +10 -10
- package/dist/models/ListScheduledTasksShrinkRequest.d.ts +3 -3
- package/dist/models/ListTenantDirectoryRequest.d.ts +1 -1
- package/dist/models/MoveGroupResourceRequest.d.ts +61 -0
- package/dist/models/MoveGroupResourceRequest.js +66 -0
- package/dist/models/MoveGroupResourceRequest.js.map +1 -0
- package/dist/models/MoveGroupResourceResponse.d.ts +19 -0
- package/dist/models/MoveGroupResourceResponse.js +69 -0
- package/dist/models/MoveGroupResourceResponse.js.map +1 -0
- package/dist/models/MoveGroupResourceResponseBody.d.ts +69 -0
- package/dist/models/MoveGroupResourceResponseBody.js +70 -0
- package/dist/models/MoveGroupResourceResponseBody.js.map +1 -0
- package/dist/models/PreviewGroupSourceRequest.d.ts +41 -0
- package/dist/models/PreviewGroupSourceRequest.js +62 -0
- package/dist/models/PreviewGroupSourceRequest.js.map +1 -0
- package/dist/models/PreviewGroupSourceResponse.d.ts +19 -0
- package/dist/models/PreviewGroupSourceResponse.js +69 -0
- package/dist/models/PreviewGroupSourceResponse.js.map +1 -0
- package/dist/models/PreviewGroupSourceResponseBody.d.ts +92 -0
- package/dist/models/PreviewGroupSourceResponseBody.js +76 -0
- package/dist/models/PreviewGroupSourceResponseBody.js.map +1 -0
- package/dist/models/ReparseGroupSourceRequest.d.ts +49 -0
- package/dist/models/ReparseGroupSourceRequest.js +64 -0
- package/dist/models/ReparseGroupSourceRequest.js.map +1 -0
- package/dist/models/ReparseGroupSourceResponse.d.ts +19 -0
- package/dist/models/ReparseGroupSourceResponse.js +69 -0
- package/dist/models/ReparseGroupSourceResponse.js.map +1 -0
- package/dist/models/ReparseGroupSourceResponseBody.d.ts +69 -0
- package/dist/models/ReparseGroupSourceResponseBody.js +70 -0
- package/dist/models/ReparseGroupSourceResponseBody.js.map +1 -0
- package/dist/models/ReplaceGroupSourceFileRequest.d.ts +87 -0
- package/dist/models/ReplaceGroupSourceFileRequest.js +72 -0
- package/dist/models/ReplaceGroupSourceFileRequest.js.map +1 -0
- package/dist/models/ReplaceGroupSourceFileResponse.d.ts +19 -0
- package/dist/models/ReplaceGroupSourceFileResponse.js +69 -0
- package/dist/models/ReplaceGroupSourceFileResponse.js.map +1 -0
- package/dist/models/ReplaceGroupSourceFileResponseBody.d.ts +93 -0
- package/dist/models/ReplaceGroupSourceFileResponseBody.js +76 -0
- package/dist/models/ReplaceGroupSourceFileResponseBody.js.map +1 -0
- package/dist/models/SaveGraphDraftBatchDefineRequest.d.ts +57 -0
- package/dist/models/SaveGraphDraftBatchDefineRequest.js +69 -0
- package/dist/models/SaveGraphDraftBatchDefineRequest.js.map +1 -0
- package/dist/models/SaveGraphDraftBatchDefineResponse.d.ts +19 -0
- package/dist/models/SaveGraphDraftBatchDefineResponse.js +69 -0
- package/dist/models/SaveGraphDraftBatchDefineResponse.js.map +1 -0
- package/dist/models/SaveGraphDraftBatchDefineResponseBody.d.ts +164 -0
- package/dist/models/SaveGraphDraftBatchDefineResponseBody.js +110 -0
- package/dist/models/SaveGraphDraftBatchDefineResponseBody.js.map +1 -0
- package/dist/models/SaveGraphDraftBatchDefineShrinkRequest.d.ts +57 -0
- package/dist/models/SaveGraphDraftBatchDefineShrinkRequest.js +66 -0
- package/dist/models/SaveGraphDraftBatchDefineShrinkRequest.js.map +1 -0
- package/dist/models/SaveGraphDraftResourceRequest.d.ts +9 -7
- package/dist/models/SaveGraphDraftResourceRequest.js.map +1 -1
- package/dist/models/SaveGraphDraftResourceResponseBody.d.ts +11 -11
- package/dist/models/SaveGroupOutputFileToPersonalResourceRequest.d.ts +2 -2
- package/dist/models/SaveGroupOutputFileToPersonalResourceResponseBody.d.ts +5 -5
- package/dist/models/SaveGroupOutputFileToPersonalResourceShrinkRequest.d.ts +2 -2
- package/dist/models/SaveOutputFileToResourceRequest.d.ts +1 -1
- package/dist/models/SaveOutputFileToResourceResponseBody.d.ts +6 -6
- package/dist/models/SaveOutputFileToResourceShrinkRequest.d.ts +1 -1
- package/dist/models/SendAsyncChatMessageRequest.d.ts +19 -5
- package/dist/models/SendAsyncChatMessageRequest.js +2 -0
- package/dist/models/SendAsyncChatMessageRequest.js.map +1 -1
- package/dist/models/SendAsyncChatMessageResponseBody.d.ts +17 -3
- package/dist/models/SendAsyncChatMessageResponseBody.js +2 -0
- package/dist/models/SendAsyncChatMessageResponseBody.js.map +1 -1
- package/dist/models/SendAsyncChatMessageShrinkRequest.d.ts +19 -5
- package/dist/models/SendAsyncChatMessageShrinkRequest.js +2 -0
- package/dist/models/SendAsyncChatMessageShrinkRequest.js.map +1 -1
- package/dist/models/SendChatMessageRequest.d.ts +16 -3
- package/dist/models/SendChatMessageRequest.js +2 -0
- package/dist/models/SendChatMessageRequest.js.map +1 -1
- package/dist/models/SendChatMessageResponseBody.d.ts +13 -0
- package/dist/models/SendChatMessageResponseBody.js +2 -0
- package/dist/models/SendChatMessageResponseBody.js.map +1 -1
- package/dist/models/SendChatMessageShrinkRequest.d.ts +16 -3
- package/dist/models/SendChatMessageShrinkRequest.js +2 -0
- package/dist/models/SendChatMessageShrinkRequest.js.map +1 -1
- package/dist/models/UpdateGraphInfoRequest.d.ts +6 -6
- package/dist/models/UpdateGraphInfoResponseBody.d.ts +9 -9
- package/dist/models/UpdateGroupDirectoryRequest.d.ts +57 -0
- package/dist/models/UpdateGroupDirectoryRequest.js +66 -0
- package/dist/models/UpdateGroupDirectoryRequest.js.map +1 -0
- package/dist/models/UpdateGroupDirectoryResponse.d.ts +19 -0
- package/dist/models/UpdateGroupDirectoryResponse.js +69 -0
- package/dist/models/UpdateGroupDirectoryResponse.js.map +1 -0
- package/dist/models/UpdateGroupDirectoryResponseBody.d.ts +93 -0
- package/dist/models/UpdateGroupDirectoryResponseBody.js +76 -0
- package/dist/models/UpdateGroupDirectoryResponseBody.js.map +1 -0
- package/dist/models/UpdateGroupSourceContentRequest.d.ts +59 -0
- package/dist/models/UpdateGroupSourceContentRequest.js +66 -0
- package/dist/models/UpdateGroupSourceContentRequest.js.map +1 -0
- package/dist/models/UpdateGroupSourceContentResponse.d.ts +19 -0
- package/dist/models/UpdateGroupSourceContentResponse.js +69 -0
- package/dist/models/UpdateGroupSourceContentResponse.js.map +1 -0
- package/dist/models/UpdateGroupSourceContentResponseBody.d.ts +69 -0
- package/dist/models/UpdateGroupSourceContentResponseBody.js +70 -0
- package/dist/models/UpdateGroupSourceContentResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +62 -0
- package/dist/models/model.js +137 -12
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +1733 -341
- package/src/models/CreateGroupAliDingDocRequest.ts +100 -0
- package/src/models/CreateGroupAliDingDocResponse.ts +40 -0
- package/src/models/CreateGroupAliDingDocResponseBody.ts +124 -0
- package/src/models/CreateGroupDirectoryRequest.ts +78 -0
- package/src/models/CreateGroupDirectoryResponse.ts +40 -0
- package/src/models/CreateGroupDirectoryResponseBody.ts +124 -0
- package/src/models/CreateGroupFeishuChatRequest.ts +178 -0
- package/src/models/CreateGroupFeishuChatResponse.ts +40 -0
- package/src/models/CreateGroupFeishuChatResponseBody.ts +134 -0
- package/src/models/CreateGroupFeishuChatShrinkRequest.ts +125 -0
- package/src/models/CreateGroupFileRequest.ts +100 -0
- package/src/models/CreateGroupFileResponse.ts +40 -0
- package/src/models/CreateGroupFileResponseBody.ts +124 -0
- package/src/models/CreateGroupPublicUrlRequest.ts +118 -0
- package/src/models/CreateGroupPublicUrlResponse.ts +40 -0
- package/src/models/CreateGroupPublicUrlResponseBody.ts +140 -0
- package/src/models/CreateGroupTextRequest.ts +100 -0
- package/src/models/CreateGroupTextResponse.ts +40 -0
- package/src/models/CreateGroupTextResponseBody.ts +124 -0
- package/src/models/CreateKnowledgeBasePublicUrlRequest.ts +108 -0
- package/src/models/CreateKnowledgeBasePublicUrlResponse.ts +40 -0
- package/src/models/CreateKnowledgeBasePublicUrlResponseBody.ts +124 -0
- package/src/models/CreatePersonalFileRequest.ts +5 -5
- package/src/models/CreatePersonalFileResponseBody.ts +1 -1
- package/src/models/CreatePersonalPublicUrlRequest.ts +106 -0
- package/src/models/CreatePersonalPublicUrlResponse.ts +40 -0
- package/src/models/CreatePersonalPublicUrlResponseBody.ts +124 -0
- package/src/models/CreatePersonalTextRequest.ts +3 -3
- package/src/models/CreatePersonalTextResponseBody.ts +6 -6
- package/src/models/GetGroupSourceRequest.ts +58 -0
- package/src/models/GetGroupSourceResponse.ts +40 -0
- package/src/models/GetGroupSourceResponseBody.ts +164 -0
- package/src/models/GetScheduledTaskExecutionDetailRequest.ts +1 -1
- package/src/models/GetScheduledTaskExecutionDetailResponseBody.ts +3 -3
- package/src/models/GetScheduledTaskPushOptionsRequest.ts +2 -2
- package/src/models/GetScheduledTaskPushOptionsResponseBody.ts +6 -6
- package/src/models/GetSkillRequest.ts +3 -3
- package/src/models/GetSkillResponseBody.ts +8 -8
- package/src/models/GetSourceRequest.ts +1 -1
- package/src/models/GetSourceResponseBody.ts +12 -12
- package/src/models/GetSourceUploadSignatureRequest.ts +15 -2
- package/src/models/GetSourceUploadSignatureResponseBody.ts +5 -2
- package/src/models/GetUserGroupResponseBody.ts +5 -5
- package/src/models/GetUserRequest.ts +1 -1
- package/src/models/GetUserResponseBody.ts +2 -2
- package/src/models/ListActiveAnnouncementsRequest.ts +1 -1
- package/src/models/ListActiveAnnouncementsResponseBody.ts +8 -8
- package/src/models/ListAuthorizedAgentsRequest.ts +1 -1
- package/src/models/ListAuthorizedUsersRequest.ts +6 -2
- package/src/models/ListAuthorizedUsersResponseBody.ts +13 -11
- package/src/models/ListChatSessionsRequest.ts +1 -1
- package/src/models/ListChatSessionsResponseBody.ts +2 -2
- package/src/models/ListGraphSchemasRequest.ts +4 -4
- package/src/models/ListGraphSchemasResponseBody.ts +16 -16
- package/src/models/ListGraphSchemasShrinkRequest.ts +4 -4
- package/src/models/ListGroupDirectoriesRequest.ts +76 -0
- package/src/models/ListGroupDirectoriesResponse.ts +40 -0
- package/src/models/ListGroupDirectoriesResponseBody.ts +157 -0
- package/src/models/ListGroupDirectoryRequest.ts +119 -0
- package/src/models/ListGroupDirectoryResponse.ts +40 -0
- package/src/models/ListGroupDirectoryResponseBody.ts +330 -0
- package/src/models/ListGroupDirectoryShrinkRequest.ts +116 -0
- package/src/models/ListKnowledgeBaseDirectoriesRequest.ts +5 -5
- package/src/models/ListOutputFilesRequest.ts +1 -1
- package/src/models/ListOutputFilesResponseBody.ts +9 -9
- package/src/models/ListRolesRequest.ts +1 -1
- package/src/models/ListRolesResponseBody.ts +2 -2
- package/src/models/ListScheduledTasksRequest.ts +3 -3
- package/src/models/ListScheduledTasksResponseBody.ts +10 -10
- package/src/models/ListScheduledTasksShrinkRequest.ts +3 -3
- package/src/models/ListTenantDirectoryRequest.ts +1 -1
- package/src/models/MoveGroupResourceRequest.ts +82 -0
- package/src/models/MoveGroupResourceResponse.ts +40 -0
- package/src/models/MoveGroupResourceResponseBody.ts +94 -0
- package/src/models/PreviewGroupSourceRequest.ts +58 -0
- package/src/models/PreviewGroupSourceResponse.ts +40 -0
- package/src/models/PreviewGroupSourceResponseBody.ts +123 -0
- package/src/models/ReparseGroupSourceRequest.ts +68 -0
- package/src/models/ReparseGroupSourceResponse.ts +40 -0
- package/src/models/ReparseGroupSourceResponseBody.ts +94 -0
- package/src/models/ReplaceGroupSourceFileRequest.ts +114 -0
- package/src/models/ReplaceGroupSourceFileResponse.ts +40 -0
- package/src/models/ReplaceGroupSourceFileResponseBody.ts +124 -0
- package/src/models/SaveGraphDraftBatchDefineRequest.ts +81 -0
- package/src/models/SaveGraphDraftBatchDefineResponse.ts +40 -0
- package/src/models/SaveGraphDraftBatchDefineResponseBody.ts +220 -0
- package/src/models/SaveGraphDraftBatchDefineShrinkRequest.ts +78 -0
- package/src/models/SaveGraphDraftResourceRequest.ts +9 -7
- package/src/models/SaveGraphDraftResourceResponseBody.ts +11 -11
- package/src/models/SaveGroupOutputFileToPersonalResourceRequest.ts +2 -2
- package/src/models/SaveGroupOutputFileToPersonalResourceResponseBody.ts +5 -5
- package/src/models/SaveGroupOutputFileToPersonalResourceShrinkRequest.ts +2 -2
- package/src/models/SaveOutputFileToResourceRequest.ts +1 -1
- package/src/models/SaveOutputFileToResourceResponseBody.ts +6 -6
- package/src/models/SaveOutputFileToResourceShrinkRequest.ts +1 -1
- package/src/models/SendAsyncChatMessageRequest.ts +21 -5
- package/src/models/SendAsyncChatMessageResponseBody.ts +19 -3
- package/src/models/SendAsyncChatMessageShrinkRequest.ts +21 -5
- package/src/models/SendChatMessageRequest.ts +18 -3
- package/src/models/SendChatMessageResponseBody.ts +15 -0
- package/src/models/SendChatMessageShrinkRequest.ts +18 -3
- package/src/models/UpdateGraphInfoRequest.ts +6 -6
- package/src/models/UpdateGraphInfoResponseBody.ts +9 -9
- package/src/models/UpdateGroupDirectoryRequest.ts +78 -0
- package/src/models/UpdateGroupDirectoryResponse.ts +40 -0
- package/src/models/UpdateGroupDirectoryResponseBody.ts +124 -0
- package/src/models/UpdateGroupSourceContentRequest.ts +80 -0
- package/src/models/UpdateGroupSourceContentResponse.ts +40 -0
- package/src/models/UpdateGroupSourceContentResponseBody.ts +94 -0
- package/src/models/model.ts +62 -0
package/dist/client.d.ts
CHANGED
|
@@ -277,6 +277,30 @@ export default class Client extends OpenApi {
|
|
|
277
277
|
* @returns CreateGroupAliDingChatResponse
|
|
278
278
|
*/
|
|
279
279
|
createGroupAliDingChat(request: $_model.CreateGroupAliDingChatRequest): Promise<$_model.CreateGroupAliDingChatResponse>;
|
|
280
|
+
/**
|
|
281
|
+
* Collects an Alibaba DingTalk online document to a collaborative share.
|
|
282
|
+
*
|
|
283
|
+
* @remarks
|
|
284
|
+
* An authorized member collects a document to a physical folder in the collaborative share. Uses the fixed ALI_DING/Vacuum channel and processes the request asynchronously. Query the resource status after submission.
|
|
285
|
+
*
|
|
286
|
+
* @param request - CreateGroupAliDingDocRequest
|
|
287
|
+
* @param headers - map
|
|
288
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
289
|
+
* @returns CreateGroupAliDingDocResponse
|
|
290
|
+
*/
|
|
291
|
+
createGroupAliDingDocWithOptions(request: $_model.CreateGroupAliDingDocRequest, headers: {
|
|
292
|
+
[key: string]: string;
|
|
293
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.CreateGroupAliDingDocResponse>;
|
|
294
|
+
/**
|
|
295
|
+
* Collects an Alibaba DingTalk online document to a collaborative share.
|
|
296
|
+
*
|
|
297
|
+
* @remarks
|
|
298
|
+
* An authorized member collects a document to a physical folder in the collaborative share. Uses the fixed ALI_DING/Vacuum channel and processes the request asynchronously. Query the resource status after submission.
|
|
299
|
+
*
|
|
300
|
+
* @param request - CreateGroupAliDingDocRequest
|
|
301
|
+
* @returns CreateGroupAliDingDocResponse
|
|
302
|
+
*/
|
|
303
|
+
createGroupAliDingDoc(request: $_model.CreateGroupAliDingDocRequest): Promise<$_model.CreateGroupAliDingDocResponse>;
|
|
280
304
|
/**
|
|
281
305
|
* Creates knowledge from a standard DingTalk group chat for a group.
|
|
282
306
|
*
|
|
@@ -311,6 +335,54 @@ export default class Client extends OpenApi {
|
|
|
311
335
|
* @returns CreateGroupDingtalkChatResponse
|
|
312
336
|
*/
|
|
313
337
|
createGroupDingtalkChat(request: $_model.CreateGroupDingtalkChatRequest): Promise<$_model.CreateGroupDingtalkChatResponse>;
|
|
338
|
+
/**
|
|
339
|
+
* Creates a folder in the collaborative share resource directory.
|
|
340
|
+
*
|
|
341
|
+
* @remarks
|
|
342
|
+
* Active space members can create physical subdirectories. If the parent folder is omitted or set to root, the internal root is used and lazily created on first access. The parent folder must belong to the current space.
|
|
343
|
+
*
|
|
344
|
+
* @param request - CreateGroupDirectoryRequest
|
|
345
|
+
* @param headers - map
|
|
346
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
347
|
+
* @returns CreateGroupDirectoryResponse
|
|
348
|
+
*/
|
|
349
|
+
createGroupDirectoryWithOptions(request: $_model.CreateGroupDirectoryRequest, headers: {
|
|
350
|
+
[key: string]: string;
|
|
351
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.CreateGroupDirectoryResponse>;
|
|
352
|
+
/**
|
|
353
|
+
* Creates a folder in the collaborative share resource directory.
|
|
354
|
+
*
|
|
355
|
+
* @remarks
|
|
356
|
+
* Active space members can create physical subdirectories. If the parent folder is omitted or set to root, the internal root is used and lazily created on first access. The parent folder must belong to the current space.
|
|
357
|
+
*
|
|
358
|
+
* @param request - CreateGroupDirectoryRequest
|
|
359
|
+
* @returns CreateGroupDirectoryResponse
|
|
360
|
+
*/
|
|
361
|
+
createGroupDirectory(request: $_model.CreateGroupDirectoryRequest): Promise<$_model.CreateGroupDirectoryResponse>;
|
|
362
|
+
/**
|
|
363
|
+
* 采集飞书群聊到协作空间
|
|
364
|
+
*
|
|
365
|
+
* @remarks
|
|
366
|
+
* 可信平台用户作为飞书连接器用户;空间鉴权通过后异步采集,前端通过详情查询实际状态。
|
|
367
|
+
*
|
|
368
|
+
* @param tmpReq - CreateGroupFeishuChatRequest
|
|
369
|
+
* @param headers - map
|
|
370
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
371
|
+
* @returns CreateGroupFeishuChatResponse
|
|
372
|
+
*/
|
|
373
|
+
createGroupFeishuChatWithOptions(tmpReq: $_model.CreateGroupFeishuChatRequest, headers: {
|
|
374
|
+
[key: string]: string;
|
|
375
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.CreateGroupFeishuChatResponse>;
|
|
376
|
+
/**
|
|
377
|
+
* 采集飞书群聊到协作空间
|
|
378
|
+
*
|
|
379
|
+
* @remarks
|
|
380
|
+
* 可信平台用户作为飞书连接器用户;空间鉴权通过后异步采集,前端通过详情查询实际状态。
|
|
381
|
+
*
|
|
382
|
+
* @param request - CreateGroupFeishuChatRequest
|
|
383
|
+
* @returns CreateGroupFeishuChatResponse
|
|
384
|
+
*/
|
|
385
|
+
createGroupFeishuChat(request: $_model.CreateGroupFeishuChatRequest): Promise<$_model.CreateGroupFeishuChatResponse>;
|
|
314
386
|
/**
|
|
315
387
|
* Creates a group knowledge resource from a single Lark online document using the current user\\"s Lark authorization.
|
|
316
388
|
*
|
|
@@ -335,6 +407,78 @@ export default class Client extends OpenApi {
|
|
|
335
407
|
* @returns CreateGroupFeishuDocResponse
|
|
336
408
|
*/
|
|
337
409
|
createGroupFeishuDoc(request: $_model.CreateGroupFeishuDocRequest): Promise<$_model.CreateGroupFeishuDocResponse>;
|
|
410
|
+
/**
|
|
411
|
+
* 上传本地文件到协作空间
|
|
412
|
+
*
|
|
413
|
+
* @remarks
|
|
414
|
+
* 先使用getSourceUploadSignature完成本地文件PUT,再提交当前租户本人SOURCE/OSS的fileRecordId。文件路径和名称由服务端读取,固定FILE/LOCAL/GROUP。有效成员可写空间物理目录,省略directoryId或root时使用空间根。返回创建结果,后续解析状态需查询。
|
|
415
|
+
*
|
|
416
|
+
* @param request - CreateGroupFileRequest
|
|
417
|
+
* @param headers - map
|
|
418
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
419
|
+
* @returns CreateGroupFileResponse
|
|
420
|
+
*/
|
|
421
|
+
createGroupFileWithOptions(request: $_model.CreateGroupFileRequest, headers: {
|
|
422
|
+
[key: string]: string;
|
|
423
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.CreateGroupFileResponse>;
|
|
424
|
+
/**
|
|
425
|
+
* 上传本地文件到协作空间
|
|
426
|
+
*
|
|
427
|
+
* @remarks
|
|
428
|
+
* 先使用getSourceUploadSignature完成本地文件PUT,再提交当前租户本人SOURCE/OSS的fileRecordId。文件路径和名称由服务端读取,固定FILE/LOCAL/GROUP。有效成员可写空间物理目录,省略directoryId或root时使用空间根。返回创建结果,后续解析状态需查询。
|
|
429
|
+
*
|
|
430
|
+
* @param request - CreateGroupFileRequest
|
|
431
|
+
* @returns CreateGroupFileResponse
|
|
432
|
+
*/
|
|
433
|
+
createGroupFile(request: $_model.CreateGroupFileRequest): Promise<$_model.CreateGroupFileResponse>;
|
|
434
|
+
/**
|
|
435
|
+
* Collects public web pages to a collaborative share.
|
|
436
|
+
*
|
|
437
|
+
* @remarks
|
|
438
|
+
* An active member collects web pages to a physical directory in the collaborative share. The type is fixed to PUBLIC_URL/GROUP. Use getGroupSource to query the background status.
|
|
439
|
+
*
|
|
440
|
+
* @param request - CreateGroupPublicUrlRequest
|
|
441
|
+
* @param headers - map
|
|
442
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
443
|
+
* @returns CreateGroupPublicUrlResponse
|
|
444
|
+
*/
|
|
445
|
+
createGroupPublicUrlWithOptions(request: $_model.CreateGroupPublicUrlRequest, headers: {
|
|
446
|
+
[key: string]: string;
|
|
447
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.CreateGroupPublicUrlResponse>;
|
|
448
|
+
/**
|
|
449
|
+
* Collects public web pages to a collaborative share.
|
|
450
|
+
*
|
|
451
|
+
* @remarks
|
|
452
|
+
* An active member collects web pages to a physical directory in the collaborative share. The type is fixed to PUBLIC_URL/GROUP. Use getGroupSource to query the background status.
|
|
453
|
+
*
|
|
454
|
+
* @param request - CreateGroupPublicUrlRequest
|
|
455
|
+
* @returns CreateGroupPublicUrlResponse
|
|
456
|
+
*/
|
|
457
|
+
createGroupPublicUrl(request: $_model.CreateGroupPublicUrlRequest): Promise<$_model.CreateGroupPublicUrlResponse>;
|
|
458
|
+
/**
|
|
459
|
+
* 上传纯文本到协作空间
|
|
460
|
+
*
|
|
461
|
+
* @remarks
|
|
462
|
+
* 有效空间成员上传纯文本到物理目录。固定TEXT/GROUP,省略directoryId或root时解析空间根。正文与最终名称沿用Provider处理规则,返回实际状态和真实目录,不代表解析完成。
|
|
463
|
+
*
|
|
464
|
+
* @param request - CreateGroupTextRequest
|
|
465
|
+
* @param headers - map
|
|
466
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
467
|
+
* @returns CreateGroupTextResponse
|
|
468
|
+
*/
|
|
469
|
+
createGroupTextWithOptions(request: $_model.CreateGroupTextRequest, headers: {
|
|
470
|
+
[key: string]: string;
|
|
471
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.CreateGroupTextResponse>;
|
|
472
|
+
/**
|
|
473
|
+
* 上传纯文本到协作空间
|
|
474
|
+
*
|
|
475
|
+
* @remarks
|
|
476
|
+
* 有效空间成员上传纯文本到物理目录。固定TEXT/GROUP,省略directoryId或root时解析空间根。正文与最终名称沿用Provider处理规则,返回实际状态和真实目录,不代表解析完成。
|
|
477
|
+
*
|
|
478
|
+
* @param request - CreateGroupTextRequest
|
|
479
|
+
* @returns CreateGroupTextResponse
|
|
480
|
+
*/
|
|
481
|
+
createGroupText(request: $_model.CreateGroupTextRequest): Promise<$_model.CreateGroupTextResponse>;
|
|
338
482
|
/**
|
|
339
483
|
* Uploads an AliDing online document to the enterprise knowledge base. Management permissions are required.
|
|
340
484
|
*
|
|
@@ -469,6 +613,30 @@ export default class Client extends OpenApi {
|
|
|
469
613
|
* @returns CreateKnowledgeBaseFileResponse
|
|
470
614
|
*/
|
|
471
615
|
createKnowledgeBaseFile(request: $_model.CreateKnowledgeBaseFileRequest): Promise<$_model.CreateKnowledgeBaseFileResponse>;
|
|
616
|
+
/**
|
|
617
|
+
* Collects a single public web page into the enterprise knowledge base of the current user.
|
|
618
|
+
*
|
|
619
|
+
* @remarks
|
|
620
|
+
* ## Operation description\\n\\nFixed to `PUBLIC_URL + TENANT`. The user is determined by the trusted OpenAPI identity. Creation only indicates acceptance. Invoke getKnowledgeBaseSource to query the background collection status. `directoryId` is required. The caller must have knowledge base management permissions on the destination knowledge base.
|
|
621
|
+
*
|
|
622
|
+
* @param request - CreateKnowledgeBasePublicUrlRequest
|
|
623
|
+
* @param headers - map
|
|
624
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
625
|
+
* @returns CreateKnowledgeBasePublicUrlResponse
|
|
626
|
+
*/
|
|
627
|
+
createKnowledgeBasePublicUrlWithOptions(request: $_model.CreateKnowledgeBasePublicUrlRequest, headers: {
|
|
628
|
+
[key: string]: string;
|
|
629
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.CreateKnowledgeBasePublicUrlResponse>;
|
|
630
|
+
/**
|
|
631
|
+
* Collects a single public web page into the enterprise knowledge base of the current user.
|
|
632
|
+
*
|
|
633
|
+
* @remarks
|
|
634
|
+
* ## Operation description\\n\\nFixed to `PUBLIC_URL + TENANT`. The user is determined by the trusted OpenAPI identity. Creation only indicates acceptance. Invoke getKnowledgeBaseSource to query the background collection status. `directoryId` is required. The caller must have knowledge base management permissions on the destination knowledge base.
|
|
635
|
+
*
|
|
636
|
+
* @param request - CreateKnowledgeBasePublicUrlRequest
|
|
637
|
+
* @returns CreateKnowledgeBasePublicUrlResponse
|
|
638
|
+
*/
|
|
639
|
+
createKnowledgeBasePublicUrl(request: $_model.CreateKnowledgeBasePublicUrlRequest): Promise<$_model.CreateKnowledgeBasePublicUrlResponse>;
|
|
472
640
|
/**
|
|
473
641
|
* Adds plain text content to a specified enterprise knowledge base.
|
|
474
642
|
*
|
|
@@ -907,10 +1075,9 @@ export default class Client extends OpenApi {
|
|
|
907
1075
|
* - This API is used to upload a file to the "My Resources" section of a specified digital employee.
|
|
908
1076
|
* - `source_type` is fixed to `FILE`, `scope` is fixed to `PERSONAL`, and `platform` is fixed to `LOCAL`.
|
|
909
1077
|
* - The file must include an OSS persistent address (`filePath`). Other information such as the public access URL and original file name is optional.
|
|
910
|
-
* - If the target folder ID (`directoryId`) is not specified, the file is automatically
|
|
911
|
-
* - Security authentication is supported through multiple
|
|
1078
|
+
* - If the target folder ID (`directoryId`) is not specified, the file is automatically bound to the default root folder of the current digital employee. If specified, ensure that the folder belongs to the personal folder of the caller.
|
|
1079
|
+
* - Security authentication is supported through multiple methods (AK, BearerToken, and APP).
|
|
912
1080
|
* - The operation type is write (`write`), and operation logs are recorded for subsequent auditing.
|
|
913
|
-
* To invoke this operation, you can use AK, BearerToken, or APP authentication.
|
|
914
1081
|
*
|
|
915
1082
|
* @param request - CreatePersonalFileRequest
|
|
916
1083
|
* @param headers - map
|
|
@@ -928,15 +1095,38 @@ export default class Client extends OpenApi {
|
|
|
928
1095
|
* - This API is used to upload a file to the "My Resources" section of a specified digital employee.
|
|
929
1096
|
* - `source_type` is fixed to `FILE`, `scope` is fixed to `PERSONAL`, and `platform` is fixed to `LOCAL`.
|
|
930
1097
|
* - The file must include an OSS persistent address (`filePath`). Other information such as the public access URL and original file name is optional.
|
|
931
|
-
* - If the target folder ID (`directoryId`) is not specified, the file is automatically
|
|
932
|
-
* - Security authentication is supported through multiple
|
|
1098
|
+
* - If the target folder ID (`directoryId`) is not specified, the file is automatically bound to the default root folder of the current digital employee. If specified, ensure that the folder belongs to the personal folder of the caller.
|
|
1099
|
+
* - Security authentication is supported through multiple methods (AK, BearerToken, and APP).
|
|
933
1100
|
* - The operation type is write (`write`), and operation logs are recorded for subsequent auditing.
|
|
934
|
-
* To invoke this operation, you can use AK, BearerToken, or APP authentication.
|
|
935
1101
|
*
|
|
936
1102
|
* @param request - CreatePersonalFileRequest
|
|
937
1103
|
* @returns CreatePersonalFileResponse
|
|
938
1104
|
*/
|
|
939
1105
|
createPersonalFile(request: $_model.CreatePersonalFileRequest): Promise<$_model.CreatePersonalFileResponse>;
|
|
1106
|
+
/**
|
|
1107
|
+
* Collects a single public web page into the current user\\"s personal knowledge base.
|
|
1108
|
+
*
|
|
1109
|
+
* @remarks
|
|
1110
|
+
* ## Request description\\n\\nFixed to `PUBLIC_URL + PERSONAL`. The user is determined by the trusted OpenAPI identity. Creation only indicates acceptance. Use getSource to query the background collection status. If `directoryId` is omitted, the current user\\"s default personal root directory is used.
|
|
1111
|
+
*
|
|
1112
|
+
* @param request - CreatePersonalPublicUrlRequest
|
|
1113
|
+
* @param headers - map
|
|
1114
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1115
|
+
* @returns CreatePersonalPublicUrlResponse
|
|
1116
|
+
*/
|
|
1117
|
+
createPersonalPublicUrlWithOptions(request: $_model.CreatePersonalPublicUrlRequest, headers: {
|
|
1118
|
+
[key: string]: string;
|
|
1119
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.CreatePersonalPublicUrlResponse>;
|
|
1120
|
+
/**
|
|
1121
|
+
* Collects a single public web page into the current user\\"s personal knowledge base.
|
|
1122
|
+
*
|
|
1123
|
+
* @remarks
|
|
1124
|
+
* ## Request description\\n\\nFixed to `PUBLIC_URL + PERSONAL`. The user is determined by the trusted OpenAPI identity. Creation only indicates acceptance. Use getSource to query the background collection status. If `directoryId` is omitted, the current user\\"s default personal root directory is used.
|
|
1125
|
+
*
|
|
1126
|
+
* @param request - CreatePersonalPublicUrlRequest
|
|
1127
|
+
* @returns CreatePersonalPublicUrlResponse
|
|
1128
|
+
*/
|
|
1129
|
+
createPersonalPublicUrl(request: $_model.CreatePersonalPublicUrlRequest): Promise<$_model.CreatePersonalPublicUrlResponse>;
|
|
940
1130
|
/**
|
|
941
1131
|
* Uploads plain text content to the personal resource library of the current digital employee.
|
|
942
1132
|
*
|
|
@@ -945,8 +1135,8 @@ export default class Client extends OpenApi {
|
|
|
945
1135
|
* - This API is used to add plain text content to the personal resources of a specified digital employee.
|
|
946
1136
|
* - `source_type` is fixed to `TEXT`, and `scope` is fixed to `PERSONAL`.
|
|
947
1137
|
* - If `directoryId` is not provided, the content is bound to the root directory of the current digital employee by default. If provided, it must be an existing personal directory of the caller under the digital employee.
|
|
948
|
-
* - `tenant_id` and `user_id` can only be obtained from the authentication identity information. These parameters are ignored if passed
|
|
949
|
-
* -
|
|
1138
|
+
* - `tenant_id` and `user_id` can only be obtained from the authentication identity information. These parameters are ignored if passed through the request body.
|
|
1139
|
+
* - A metering process is initiated during the call, and a corresponding `billing_id` is generated.
|
|
950
1140
|
* - The text content is written to `unstructured_docs`, and an initial resource record is generated.
|
|
951
1141
|
* - Any validation or execution failure throws a `RobjectException`, which is converted to a POP error code by the global middleware and returned to the caller.
|
|
952
1142
|
*
|
|
@@ -966,8 +1156,8 @@ export default class Client extends OpenApi {
|
|
|
966
1156
|
* - This API is used to add plain text content to the personal resources of a specified digital employee.
|
|
967
1157
|
* - `source_type` is fixed to `TEXT`, and `scope` is fixed to `PERSONAL`.
|
|
968
1158
|
* - If `directoryId` is not provided, the content is bound to the root directory of the current digital employee by default. If provided, it must be an existing personal directory of the caller under the digital employee.
|
|
969
|
-
* - `tenant_id` and `user_id` can only be obtained from the authentication identity information. These parameters are ignored if passed
|
|
970
|
-
* -
|
|
1159
|
+
* - `tenant_id` and `user_id` can only be obtained from the authentication identity information. These parameters are ignored if passed through the request body.
|
|
1160
|
+
* - A metering process is initiated during the call, and a corresponding `billing_id` is generated.
|
|
971
1161
|
* - The text content is written to `unstructured_docs`, and an initial resource record is generated.
|
|
972
1162
|
* - Any validation or execution failure throws a `RobjectException`, which is converted to a POP error code by the global middleware and returned to the caller.
|
|
973
1163
|
*
|
|
@@ -1521,6 +1711,30 @@ export default class Client extends OpenApi {
|
|
|
1521
1711
|
* @returns GetGraphSchemaDetailResponse
|
|
1522
1712
|
*/
|
|
1523
1713
|
getGraphSchemaDetail(request: $_model.GetGraphSchemaDetailRequest): Promise<$_model.GetGraphSchemaDetailResponse>;
|
|
1714
|
+
/**
|
|
1715
|
+
* 获取协作空间资料详情
|
|
1716
|
+
*
|
|
1717
|
+
* @remarks
|
|
1718
|
+
* 只读查询指定空间可见资料;未授权和无效引用拒绝读取,不初始化空间目录。
|
|
1719
|
+
*
|
|
1720
|
+
* @param request - GetGroupSourceRequest
|
|
1721
|
+
* @param headers - map
|
|
1722
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1723
|
+
* @returns GetGroupSourceResponse
|
|
1724
|
+
*/
|
|
1725
|
+
getGroupSourceWithOptions(request: $_model.GetGroupSourceRequest, headers: {
|
|
1726
|
+
[key: string]: string;
|
|
1727
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetGroupSourceResponse>;
|
|
1728
|
+
/**
|
|
1729
|
+
* 获取协作空间资料详情
|
|
1730
|
+
*
|
|
1731
|
+
* @remarks
|
|
1732
|
+
* 只读查询指定空间可见资料;未授权和无效引用拒绝读取,不初始化空间目录。
|
|
1733
|
+
*
|
|
1734
|
+
* @param request - GetGroupSourceRequest
|
|
1735
|
+
* @returns GetGroupSourceResponse
|
|
1736
|
+
*/
|
|
1737
|
+
getGroupSource(request: $_model.GetGroupSourceRequest): Promise<$_model.GetGroupSourceResponse>;
|
|
1524
1738
|
/**
|
|
1525
1739
|
* Queries the expiration time of the most recently created standard package instance for a tenant.
|
|
1526
1740
|
*
|
|
@@ -1597,14 +1811,14 @@ export default class Client extends OpenApi {
|
|
|
1597
1811
|
* Retrieves the execution details of a scheduled task.
|
|
1598
1812
|
*
|
|
1599
1813
|
* @remarks
|
|
1600
|
-
* ##
|
|
1814
|
+
* ## Description
|
|
1601
1815
|
* - This operation uploads a file to an enterprise knowledge base.
|
|
1602
|
-
* - You must have the `DEVELOPMENT_KB_MANAGE` permission to call this
|
|
1816
|
+
* - You must have the `DEVELOPMENT_KB_MANAGE` permission to call this operation.
|
|
1603
1817
|
* - You must provide the OSS persistent address (`filePath`) of the file when uploading.
|
|
1604
|
-
* - Optional parameters include the public access URL and original file name to enhance the completeness of file information.
|
|
1605
|
-
* - 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.
|
|
1606
|
-
* - You can
|
|
1607
|
-
* - This operation initiates a billing item (UNSTRUCTURED_PARSE). Make sure your account balance is sufficient.
|
|
1818
|
+
* - Optional parameters include the public access URL and original file name of the file to enhance the completeness of file information.
|
|
1819
|
+
* - 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.
|
|
1820
|
+
* - You can use `sourceTags` to add tags to resources for subsequent management and retrieval.
|
|
1821
|
+
* - This operation initiates a billing item (UNSTRUCTURED_PARSE). Make sure that your account balance is sufficient.
|
|
1608
1822
|
*
|
|
1609
1823
|
* @param request - GetScheduledTaskExecutionDetailRequest
|
|
1610
1824
|
* @param headers - map
|
|
@@ -1618,14 +1832,14 @@ export default class Client extends OpenApi {
|
|
|
1618
1832
|
* Retrieves the execution details of a scheduled task.
|
|
1619
1833
|
*
|
|
1620
1834
|
* @remarks
|
|
1621
|
-
* ##
|
|
1835
|
+
* ## Description
|
|
1622
1836
|
* - This operation uploads a file to an enterprise knowledge base.
|
|
1623
|
-
* - You must have the `DEVELOPMENT_KB_MANAGE` permission to call this
|
|
1837
|
+
* - You must have the `DEVELOPMENT_KB_MANAGE` permission to call this operation.
|
|
1624
1838
|
* - You must provide the OSS persistent address (`filePath`) of the file when uploading.
|
|
1625
|
-
* - Optional parameters include the public access URL and original file name to enhance the completeness of file information.
|
|
1626
|
-
* - 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.
|
|
1627
|
-
* - You can
|
|
1628
|
-
* - This operation initiates a billing item (UNSTRUCTURED_PARSE). Make sure your account balance is sufficient.
|
|
1839
|
+
* - Optional parameters include the public access URL and original file name of the file to enhance the completeness of file information.
|
|
1840
|
+
* - 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.
|
|
1841
|
+
* - You can use `sourceTags` to add tags to resources for subsequent management and retrieval.
|
|
1842
|
+
* - This operation initiates a billing item (UNSTRUCTURED_PARSE). Make sure that your account balance is sufficient.
|
|
1629
1843
|
*
|
|
1630
1844
|
* @param request - GetScheduledTaskExecutionDetailRequest
|
|
1631
1845
|
* @returns GetScheduledTaskExecutionDetailResponse
|
|
@@ -1736,15 +1950,15 @@ export default class Client extends OpenApi {
|
|
|
1736
1950
|
*/
|
|
1737
1951
|
getScheduledTaskUnderstandDetail(request: $_model.GetScheduledTaskUnderstandDetailRequest): Promise<$_model.GetScheduledTaskUnderstandDetailResponse>;
|
|
1738
1952
|
/**
|
|
1739
|
-
* Retrieves
|
|
1953
|
+
* Retrieves the details of a skill.
|
|
1740
1954
|
*
|
|
1741
1955
|
* @remarks
|
|
1742
|
-
* ##
|
|
1956
|
+
* ## Operation description
|
|
1743
1957
|
* Queries skill details by SkillCode or SkillName, including metadata, input parameter schema, and SKILL.md summary.
|
|
1744
1958
|
* - **TenantId**: Optional common parameter passed through by the gateway to the backend header. If not specified, the default tenant of the current caller is used.
|
|
1745
1959
|
* - **SkillCode**: Mutually exclusive with SkillName. If both are specified, SkillCode takes precedence.
|
|
1746
1960
|
* - **SkillName**: Mutually exclusive with SkillCode. If the name is not unique within the tenant, `ERR.SkillHub.SkillNameAmbiguous` is returned.
|
|
1747
|
-
* - **ViewMode**: Optional.
|
|
1961
|
+
* - **ViewMode**: Optional. Set to `draft` (draft/editing view) or `published` (published view, default).
|
|
1748
1962
|
* - **IncludeSkillFiles**: Optional. Specifies whether to return the complete skill file tree (SKILL.md / scripts / templates). Default value: `false`.
|
|
1749
1963
|
*
|
|
1750
1964
|
* @param request - GetSkillRequest
|
|
@@ -1756,15 +1970,15 @@ export default class Client extends OpenApi {
|
|
|
1756
1970
|
[key: string]: string;
|
|
1757
1971
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetSkillResponse>;
|
|
1758
1972
|
/**
|
|
1759
|
-
* Retrieves
|
|
1973
|
+
* Retrieves the details of a skill.
|
|
1760
1974
|
*
|
|
1761
1975
|
* @remarks
|
|
1762
|
-
* ##
|
|
1976
|
+
* ## Operation description
|
|
1763
1977
|
* Queries skill details by SkillCode or SkillName, including metadata, input parameter schema, and SKILL.md summary.
|
|
1764
1978
|
* - **TenantId**: Optional common parameter passed through by the gateway to the backend header. If not specified, the default tenant of the current caller is used.
|
|
1765
1979
|
* - **SkillCode**: Mutually exclusive with SkillName. If both are specified, SkillCode takes precedence.
|
|
1766
1980
|
* - **SkillName**: Mutually exclusive with SkillCode. If the name is not unique within the tenant, `ERR.SkillHub.SkillNameAmbiguous` is returned.
|
|
1767
|
-
* - **ViewMode**: Optional.
|
|
1981
|
+
* - **ViewMode**: Optional. Set to `draft` (draft/editing view) or `published` (published view, default).
|
|
1768
1982
|
* - **IncludeSkillFiles**: Optional. Specifies whether to return the complete skill file tree (SKILL.md / scripts / templates). Default value: `false`.
|
|
1769
1983
|
*
|
|
1770
1984
|
* @param request - GetSkillRequest
|
|
@@ -1810,9 +2024,9 @@ export default class Client extends OpenApi {
|
|
|
1810
2024
|
*
|
|
1811
2025
|
* @remarks
|
|
1812
2026
|
* ## Operation description
|
|
1813
|
-
* - `tenant_id` is derived from the authenticated identity only. Any value passed in the body is ignored.
|
|
1814
|
-
* - Response
|
|
1815
|
-
* - Set the `includeDetails` parameter to `True` to retrieve additional details including `settings`, `notes`, `structuredTables`, and `unstructuredDocs`.
|
|
2027
|
+
* - `tenant_id` is derived from the authenticated identity only. Any value passed in the request body is ignored.
|
|
2028
|
+
* - Response elements do not expose audit fields such as `creator` or `modifier`. The `unstructured_docs[ ].content` field is not returned by default to avoid large responses.
|
|
2029
|
+
* - Set the `includeDetails` parameter to `True` to retrieve additional details, including `settings`, `notes`, `structuredTables`, and `unstructuredDocs`.
|
|
1816
2030
|
*
|
|
1817
2031
|
* @param request - GetSourceRequest
|
|
1818
2032
|
* @param headers - map
|
|
@@ -1827,9 +2041,9 @@ export default class Client extends OpenApi {
|
|
|
1827
2041
|
*
|
|
1828
2042
|
* @remarks
|
|
1829
2043
|
* ## Operation description
|
|
1830
|
-
* - `tenant_id` is derived from the authenticated identity only. Any value passed in the body is ignored.
|
|
1831
|
-
* - Response
|
|
1832
|
-
* - Set the `includeDetails` parameter to `True` to retrieve additional details including `settings`, `notes`, `structuredTables`, and `unstructuredDocs`.
|
|
2044
|
+
* - `tenant_id` is derived from the authenticated identity only. Any value passed in the request body is ignored.
|
|
2045
|
+
* - Response elements do not expose audit fields such as `creator` or `modifier`. The `unstructured_docs[ ].content` field is not returned by default to avoid large responses.
|
|
2046
|
+
* - Set the `includeDetails` parameter to `True` to retrieve additional details, including `settings`, `notes`, `structuredTables`, and `unstructuredDocs`.
|
|
1833
2047
|
*
|
|
1834
2048
|
* @param request - GetSourceRequest
|
|
1835
2049
|
* @returns GetSourceResponse
|
|
@@ -1844,7 +2058,7 @@ export default class Client extends OpenApi {
|
|
|
1844
2058
|
* - **Security constraint**: `tenant_id`/`user_id` are derived only from the authenticated identity. Values provided in the request body are ignored.
|
|
1845
2059
|
* - **Default value**: If the `expires` parameter is not specified, the default expiration time is 3600 seconds (1 hour).
|
|
1846
2060
|
* - **Content-Type**: If `contentType` is not provided, the system attempts to automatically infer the file type.
|
|
1847
|
-
* - **Scope**: The `scope` parameter defines whether the data source belongs to a personal or enterprise knowledge base.
|
|
2061
|
+
* - **Scope**: The `scope` parameter defines whether the data source belongs to a personal or enterprise knowledge base. By default, this parameter may not need to be set.
|
|
1848
2062
|
*
|
|
1849
2063
|
* @param request - GetSourceUploadSignatureRequest
|
|
1850
2064
|
* @param headers - map
|
|
@@ -1863,7 +2077,7 @@ export default class Client extends OpenApi {
|
|
|
1863
2077
|
* - **Security constraint**: `tenant_id`/`user_id` are derived only from the authenticated identity. Values provided in the request body are ignored.
|
|
1864
2078
|
* - **Default value**: If the `expires` parameter is not specified, the default expiration time is 3600 seconds (1 hour).
|
|
1865
2079
|
* - **Content-Type**: If `contentType` is not provided, the system attempts to automatically infer the file type.
|
|
1866
|
-
* - **Scope**: The `scope` parameter defines whether the data source belongs to a personal or enterprise knowledge base.
|
|
2080
|
+
* - **Scope**: The `scope` parameter defines whether the data source belongs to a personal or enterprise knowledge base. By default, this parameter may not need to be set.
|
|
1867
2081
|
*
|
|
1868
2082
|
* @param request - GetSourceUploadSignatureRequest
|
|
1869
2083
|
* @returns GetSourceUploadSignatureResponse
|
|
@@ -1952,7 +2166,7 @@ export default class Client extends OpenApi {
|
|
|
1952
2166
|
* Queries user details through OpenAPI.
|
|
1953
2167
|
* Business orchestration:
|
|
1954
2168
|
* 1. Locate the user by wnUserId or accountId.
|
|
1955
|
-
* 2. Query the
|
|
2169
|
+
* 2. Query the mapping information of the user in the current tenant, including status, join time, and last logon time.
|
|
1956
2170
|
* 3. Query the role list of the user in the current tenant.
|
|
1957
2171
|
* 4. Query the user group list of the user in the current tenant.
|
|
1958
2172
|
* 5. Assemble the response.
|
|
@@ -1975,7 +2189,7 @@ export default class Client extends OpenApi {
|
|
|
1975
2189
|
* Queries user details through OpenAPI.
|
|
1976
2190
|
* Business orchestration:
|
|
1977
2191
|
* 1. Locate the user by wnUserId or accountId.
|
|
1978
|
-
* 2. Query the
|
|
2192
|
+
* 2. Query the mapping information of the user in the current tenant, including status, join time, and last logon time.
|
|
1979
2193
|
* 3. Query the role list of the user in the current tenant.
|
|
1980
2194
|
* 4. Query the user group list of the user in the current tenant.
|
|
1981
2195
|
* 5. Assemble the response.
|
|
@@ -2025,11 +2239,11 @@ export default class Client extends OpenApi {
|
|
|
2025
2239
|
* @remarks
|
|
2026
2240
|
* ## Operation description
|
|
2027
2241
|
* - This operation retrieves the details of a specified user group, including the basic information of the user group, parent user group information, direct child user group list, and direct member list.
|
|
2028
|
-
* - `userGroupId` is a required parameter
|
|
2242
|
+
* - `userGroupId` is a required parameter and must be provided in the request body.
|
|
2029
2243
|
* - `tenantId` is an optional parameter that can be passed through the query string.
|
|
2030
2244
|
* - The operation supports multiple authentication methods, including AK, BearerToken, and APP authentication.
|
|
2031
2245
|
* - The content type for both requests and responses is `application/json`.
|
|
2032
|
-
* -
|
|
2246
|
+
* - Make sure you have the required permissions (such as `winnexo:GetUserGroup`) before calling this operation.
|
|
2033
2247
|
*
|
|
2034
2248
|
* @param request - GetUserGroupRequest
|
|
2035
2249
|
* @param headers - map
|
|
@@ -2045,11 +2259,11 @@ export default class Client extends OpenApi {
|
|
|
2045
2259
|
* @remarks
|
|
2046
2260
|
* ## Operation description
|
|
2047
2261
|
* - This operation retrieves the details of a specified user group, including the basic information of the user group, parent user group information, direct child user group list, and direct member list.
|
|
2048
|
-
* - `userGroupId` is a required parameter
|
|
2262
|
+
* - `userGroupId` is a required parameter and must be provided in the request body.
|
|
2049
2263
|
* - `tenantId` is an optional parameter that can be passed through the query string.
|
|
2050
2264
|
* - The operation supports multiple authentication methods, including AK, BearerToken, and APP authentication.
|
|
2051
2265
|
* - The content type for both requests and responses is `application/json`.
|
|
2052
|
-
* -
|
|
2266
|
+
* - Make sure you have the required permissions (such as `winnexo:GetUserGroup`) before calling this operation.
|
|
2053
2267
|
*
|
|
2054
2268
|
* @param request - GetUserGroupRequest
|
|
2055
2269
|
* @returns GetUserGroupResponse
|
|
@@ -2132,7 +2346,7 @@ export default class Client extends OpenApi {
|
|
|
2132
2346
|
*
|
|
2133
2347
|
* @remarks
|
|
2134
2348
|
* ## Operation description
|
|
2135
|
-
* Performs a paging query for published platform announcements that are effective within the current database time window. The caller must be a real user in the system O&M tenant
|
|
2349
|
+
* Performs a paging query for published platform announcements that are effective within the current database time window. The caller must be a real user who has the announcement viewing permission in the system O&M tenant.
|
|
2136
2350
|
*
|
|
2137
2351
|
* @param request - ListActiveAnnouncementsRequest
|
|
2138
2352
|
* @param headers - map
|
|
@@ -2147,7 +2361,7 @@ export default class Client extends OpenApi {
|
|
|
2147
2361
|
*
|
|
2148
2362
|
* @remarks
|
|
2149
2363
|
* ## Operation description
|
|
2150
|
-
* Performs a paging query for published platform announcements that are effective within the current database time window. The caller must be a real user in the system O&M tenant
|
|
2364
|
+
* Performs a paging query for published platform announcements that are effective within the current database time window. The caller must be a real user who has the announcement viewing permission in the system O&M tenant.
|
|
2151
2365
|
*
|
|
2152
2366
|
* @param request - ListActiveAnnouncementsRequest
|
|
2153
2367
|
* @returns ListActiveAnnouncementsResponse
|
|
@@ -2286,14 +2500,14 @@ export default class Client extends OpenApi {
|
|
|
2286
2500
|
*/
|
|
2287
2501
|
listAliDingMinutes(request: $_model.ListAliDingMinutesRequest): Promise<$_model.ListAliDingMinutesResponse>;
|
|
2288
2502
|
/**
|
|
2289
|
-
* Queries the list of digital human names for which the caller has specified
|
|
2503
|
+
* Queries the list of digital human names for which the caller has the specified permission.
|
|
2290
2504
|
*
|
|
2291
2505
|
* @remarks
|
|
2292
|
-
* Queries the list of digital human names for which the current caller (or a specified target user) has specified
|
|
2506
|
+
* Queries the list of digital human names for which the current caller (or a specified target user) has the specified permission (USE/MANAGE).
|
|
2293
2507
|
* Business logic:
|
|
2294
2508
|
* 1. Constructs an AuthContext from the identity.
|
|
2295
2509
|
* 2. Delegates to AgentAuthorizationAuthorizedService.list_authorized_agents to execute the query.
|
|
2296
|
-
* 3. When skip_permission=True, returns all active agents
|
|
2510
|
+
* 3. When skip_permission=True, returns all active agents of the tenant.
|
|
2297
2511
|
* 4. Regular users are filtered based on authorization records and auth_mode.
|
|
2298
2512
|
* 5. When targetUserId is specified (querying on behalf of another user), the APPLICATION_AGENT_VIEW gate is required, and the query is restricted to the current tenant. If the target user is not a member of the current tenant, a USER_NOT_IN_TENANT error is thrown (an empty list is not silently returned).
|
|
2299
2513
|
*
|
|
@@ -2306,14 +2520,14 @@ export default class Client extends OpenApi {
|
|
|
2306
2520
|
[key: string]: string;
|
|
2307
2521
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListAuthorizedAgentsResponse>;
|
|
2308
2522
|
/**
|
|
2309
|
-
* Queries the list of digital human names for which the caller has specified
|
|
2523
|
+
* Queries the list of digital human names for which the caller has the specified permission.
|
|
2310
2524
|
*
|
|
2311
2525
|
* @remarks
|
|
2312
|
-
* Queries the list of digital human names for which the current caller (or a specified target user) has specified
|
|
2526
|
+
* Queries the list of digital human names for which the current caller (or a specified target user) has the specified permission (USE/MANAGE).
|
|
2313
2527
|
* Business logic:
|
|
2314
2528
|
* 1. Constructs an AuthContext from the identity.
|
|
2315
2529
|
* 2. Delegates to AgentAuthorizationAuthorizedService.list_authorized_agents to execute the query.
|
|
2316
|
-
* 3. When skip_permission=True, returns all active agents
|
|
2530
|
+
* 3. When skip_permission=True, returns all active agents of the tenant.
|
|
2317
2531
|
* 4. Regular users are filtered based on authorization records and auth_mode.
|
|
2318
2532
|
* 5. When targetUserId is specified (querying on behalf of another user), the APPLICATION_AGENT_VIEW gate is required, and the query is restricted to the current tenant. If the target user is not a member of the current tenant, a USER_NOT_IN_TENANT error is thrown (an empty list is not silently returned).
|
|
2319
2533
|
*
|
|
@@ -2330,7 +2544,7 @@ export default class Client extends OpenApi {
|
|
|
2330
2544
|
* 1. Constructs an AuthContext from the identity.
|
|
2331
2545
|
* 2. Delegates to AgentAuthorizationAuthorizedService.list_authorized_users to execute the query.
|
|
2332
2546
|
* 3. Permission verification is performed at the AuthorizedService layer by @require_permission(APPLICATION_AGENT_VIEW).
|
|
2333
|
-
* 4. When auth_mode
|
|
2547
|
+
* 4. When auth_mode is set to ALL_USERS, only records with the MANAGE permission are displayed.
|
|
2334
2548
|
*
|
|
2335
2549
|
* @param request - ListAuthorizedUsersRequest
|
|
2336
2550
|
* @param headers - map
|
|
@@ -2349,7 +2563,7 @@ export default class Client extends OpenApi {
|
|
|
2349
2563
|
* 1. Constructs an AuthContext from the identity.
|
|
2350
2564
|
* 2. Delegates to AgentAuthorizationAuthorizedService.list_authorized_users to execute the query.
|
|
2351
2565
|
* 3. Permission verification is performed at the AuthorizedService layer by @require_permission(APPLICATION_AGENT_VIEW).
|
|
2352
|
-
* 4. When auth_mode
|
|
2566
|
+
* 4. When auth_mode is set to ALL_USERS, only records with the MANAGE permission are displayed.
|
|
2353
2567
|
*
|
|
2354
2568
|
* @param request - ListAuthorizedUsersRequest
|
|
2355
2569
|
* @returns ListAuthorizedUsersResponse
|
|
@@ -2430,9 +2644,9 @@ export default class Client extends OpenApi {
|
|
|
2430
2644
|
*
|
|
2431
2645
|
* @remarks
|
|
2432
2646
|
* ## Operation description
|
|
2433
|
-
* - This API supports filtering and sorting by multiple parameters, including tenant ID, page size, pagination token, keyword search, digital employee name, and update time range.
|
|
2647
|
+
* - This API operation supports filtering and sorting by multiple parameters, including tenant ID, page size, pagination token, keyword search, digital employee name, and update time range.
|
|
2434
2648
|
* - By default, results are sorted in descending order by the `UpdatedAt` field.
|
|
2435
|
-
* - If an invalid `NextToken` is provided or `PageSize` exceeds the allowed range (1-100), the API returns a 400 error.
|
|
2649
|
+
* - If an invalid `NextToken` is provided or `PageSize` exceeds the allowed range (1-100), the API operation returns a 400 error.
|
|
2436
2650
|
*
|
|
2437
2651
|
* @param request - ListChatSessionsRequest
|
|
2438
2652
|
* @param headers - map
|
|
@@ -2447,9 +2661,9 @@ export default class Client extends OpenApi {
|
|
|
2447
2661
|
*
|
|
2448
2662
|
* @remarks
|
|
2449
2663
|
* ## Operation description
|
|
2450
|
-
* - This API supports filtering and sorting by multiple parameters, including tenant ID, page size, pagination token, keyword search, digital employee name, and update time range.
|
|
2664
|
+
* - This API operation supports filtering and sorting by multiple parameters, including tenant ID, page size, pagination token, keyword search, digital employee name, and update time range.
|
|
2451
2665
|
* - By default, results are sorted in descending order by the `UpdatedAt` field.
|
|
2452
|
-
* - If an invalid `NextToken` is provided or `PageSize` exceeds the allowed range (1-100), the API returns a 400 error.
|
|
2666
|
+
* - If an invalid `NextToken` is provided or `PageSize` exceeds the allowed range (1-100), the API operation returns a 400 error.
|
|
2453
2667
|
*
|
|
2454
2668
|
* @param request - ListChatSessionsRequest
|
|
2455
2669
|
* @returns ListChatSessionsResponse
|
|
@@ -2498,13 +2712,13 @@ export default class Client extends OpenApi {
|
|
|
2498
2712
|
*/
|
|
2499
2713
|
listGraphDraftResources(request: $_model.ListGraphDraftResourcesRequest): Promise<$_model.ListGraphDraftResourcesResponse>;
|
|
2500
2714
|
/**
|
|
2501
|
-
*
|
|
2715
|
+
* Queries the list of semantic graphs from the management perspective.
|
|
2502
2716
|
*
|
|
2503
2717
|
* @remarks
|
|
2504
|
-
* OpenAPI
|
|
2505
|
-
*
|
|
2506
|
-
* PUBLISHING
|
|
2507
|
-
* keyword
|
|
2718
|
+
* Queries the list of semantic graphs from the management perspective through OpenAPI, including graphs in draft or publishing status.
|
|
2719
|
+
* Returns tenant-level active graphs. graphStatus has three states: PUBLISHED, DEVELOPING (the current user has an active draft), and
|
|
2720
|
+
* PUBLISHING (the current user is publishing). Deploy-level or system-level tokens have no personal identity, so hasDraft is always false.
|
|
2721
|
+
* keyword matches graphName or displayName (case-insensitive). semanticTags retains a graph if any tag matches.
|
|
2508
2722
|
*
|
|
2509
2723
|
* @param tmpReq - ListGraphSchemasRequest
|
|
2510
2724
|
* @param headers - map
|
|
@@ -2515,13 +2729,13 @@ export default class Client extends OpenApi {
|
|
|
2515
2729
|
[key: string]: string;
|
|
2516
2730
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListGraphSchemasResponse>;
|
|
2517
2731
|
/**
|
|
2518
|
-
*
|
|
2732
|
+
* Queries the list of semantic graphs from the management perspective.
|
|
2519
2733
|
*
|
|
2520
2734
|
* @remarks
|
|
2521
|
-
* OpenAPI
|
|
2522
|
-
*
|
|
2523
|
-
* PUBLISHING
|
|
2524
|
-
* keyword
|
|
2735
|
+
* Queries the list of semantic graphs from the management perspective through OpenAPI, including graphs in draft or publishing status.
|
|
2736
|
+
* Returns tenant-level active graphs. graphStatus has three states: PUBLISHED, DEVELOPING (the current user has an active draft), and
|
|
2737
|
+
* PUBLISHING (the current user is publishing). Deploy-level or system-level tokens have no personal identity, so hasDraft is always false.
|
|
2738
|
+
* keyword matches graphName or displayName (case-insensitive). semanticTags retains a graph if any tag matches.
|
|
2525
2739
|
*
|
|
2526
2740
|
* @param request - ListGraphSchemasRequest
|
|
2527
2741
|
* @returns ListGraphSchemasResponse
|
|
@@ -2558,14 +2772,62 @@ export default class Client extends OpenApi {
|
|
|
2558
2772
|
*/
|
|
2559
2773
|
listGraphs(request: $_model.ListGraphsRequest): Promise<$_model.ListGraphsResponse>;
|
|
2560
2774
|
/**
|
|
2561
|
-
*
|
|
2775
|
+
* Lists the resource directories of a collaborative share.
|
|
2562
2776
|
*
|
|
2563
2777
|
* @remarks
|
|
2564
|
-
*
|
|
2565
|
-
*
|
|
2566
|
-
*
|
|
2567
|
-
*
|
|
2568
|
-
*
|
|
2778
|
+
* Valid members can list the query root itself and all its descendant directories, including visible referenced directories marked as readOnly. The results are not paginated and do not return resources. The first query reuses the existing service-initialized internal root.
|
|
2779
|
+
*
|
|
2780
|
+
* @param request - ListGroupDirectoriesRequest
|
|
2781
|
+
* @param headers - map
|
|
2782
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2783
|
+
* @returns ListGroupDirectoriesResponse
|
|
2784
|
+
*/
|
|
2785
|
+
listGroupDirectoriesWithOptions(request: $_model.ListGroupDirectoriesRequest, headers: {
|
|
2786
|
+
[key: string]: string;
|
|
2787
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListGroupDirectoriesResponse>;
|
|
2788
|
+
/**
|
|
2789
|
+
* Lists the resource directories of a collaborative share.
|
|
2790
|
+
*
|
|
2791
|
+
* @remarks
|
|
2792
|
+
* Valid members can list the query root itself and all its descendant directories, including visible referenced directories marked as readOnly. The results are not paginated and do not return resources. The first query reuses the existing service-initialized internal root.
|
|
2793
|
+
*
|
|
2794
|
+
* @param request - ListGroupDirectoriesRequest
|
|
2795
|
+
* @returns ListGroupDirectoriesResponse
|
|
2796
|
+
*/
|
|
2797
|
+
listGroupDirectories(request: $_model.ListGroupDirectoriesRequest): Promise<$_model.ListGroupDirectoriesResponse>;
|
|
2798
|
+
/**
|
|
2799
|
+
* Performs a paged query on the contents of a collaboration space folder.
|
|
2800
|
+
*
|
|
2801
|
+
* @remarks
|
|
2802
|
+
* Corresponds to the space list-resources operation. Active members can query immediate subdirectories and resources based on directory visibility scope. Results are paginated with directories listed first and include read-only references. If the directory is omitted or set to root, the existing root initialization is used. If sourceTypes has values, only resources are returned. sourceStatus follows the existing behavior where physical directories are retained and immediate reference directories are not returned.
|
|
2803
|
+
*
|
|
2804
|
+
* @param tmpReq - ListGroupDirectoryRequest
|
|
2805
|
+
* @param headers - map
|
|
2806
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2807
|
+
* @returns ListGroupDirectoryResponse
|
|
2808
|
+
*/
|
|
2809
|
+
listGroupDirectoryWithOptions(tmpReq: $_model.ListGroupDirectoryRequest, headers: {
|
|
2810
|
+
[key: string]: string;
|
|
2811
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListGroupDirectoryResponse>;
|
|
2812
|
+
/**
|
|
2813
|
+
* Performs a paged query on the contents of a collaboration space folder.
|
|
2814
|
+
*
|
|
2815
|
+
* @remarks
|
|
2816
|
+
* Corresponds to the space list-resources operation. Active members can query immediate subdirectories and resources based on directory visibility scope. Results are paginated with directories listed first and include read-only references. If the directory is omitted or set to root, the existing root initialization is used. If sourceTypes has values, only resources are returned. sourceStatus follows the existing behavior where physical directories are retained and immediate reference directories are not returned.
|
|
2817
|
+
*
|
|
2818
|
+
* @param request - ListGroupDirectoryRequest
|
|
2819
|
+
* @returns ListGroupDirectoryResponse
|
|
2820
|
+
*/
|
|
2821
|
+
listGroupDirectory(request: $_model.ListGroupDirectoryRequest): Promise<$_model.ListGroupDirectoryResponse>;
|
|
2822
|
+
/**
|
|
2823
|
+
* Queries the category directory tree of an enterprise knowledge base. Sorting by a specified field is supported.
|
|
2824
|
+
*
|
|
2825
|
+
* @remarks
|
|
2826
|
+
* ## Operation description
|
|
2827
|
+
* - This API operation retrieves the category list (subdirectory tree) of an enterprise knowledge base. You must have the knowledge base view permission.
|
|
2828
|
+
* - If the `directoryId` parameter is not specified, all category trees under the root directory of the enterprise knowledge base are returned. If `directoryId` is specified, the subdirectory tree rooted at the specified directory is returned.
|
|
2829
|
+
* - You can use the `sortField` and `sortOrder` parameters to sort the results. By default, results are sorted by creation time in descending order.
|
|
2830
|
+
* - Security constraint: `tenant_id` and `user_id` are derived only from the authenticated identity, and the caller must have the `DEVELOPMENT_KB_VIEW` feature permission.
|
|
2569
2831
|
*
|
|
2570
2832
|
* @param request - ListKnowledgeBaseDirectoriesRequest
|
|
2571
2833
|
* @param headers - map
|
|
@@ -2576,14 +2838,14 @@ export default class Client extends OpenApi {
|
|
|
2576
2838
|
[key: string]: string;
|
|
2577
2839
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListKnowledgeBaseDirectoriesResponse>;
|
|
2578
2840
|
/**
|
|
2579
|
-
* Queries the category directory tree of an enterprise knowledge base
|
|
2841
|
+
* Queries the category directory tree of an enterprise knowledge base. Sorting by a specified field is supported.
|
|
2580
2842
|
*
|
|
2581
2843
|
* @remarks
|
|
2582
|
-
* ##
|
|
2583
|
-
* - This API retrieves the category list (subdirectory tree) of an enterprise knowledge base. You must have the knowledge base view permission.
|
|
2584
|
-
* - If the `directoryId` parameter is not
|
|
2585
|
-
* - You can
|
|
2586
|
-
* - Security
|
|
2844
|
+
* ## Operation description
|
|
2845
|
+
* - This API operation retrieves the category list (subdirectory tree) of an enterprise knowledge base. You must have the knowledge base view permission.
|
|
2846
|
+
* - If the `directoryId` parameter is not specified, all category trees under the root directory of the enterprise knowledge base are returned. If `directoryId` is specified, the subdirectory tree rooted at the specified directory is returned.
|
|
2847
|
+
* - You can use the `sortField` and `sortOrder` parameters to sort the results. By default, results are sorted by creation time in descending order.
|
|
2848
|
+
* - Security constraint: `tenant_id` and `user_id` are derived only from the authenticated identity, and the caller must have the `DEVELOPMENT_KB_VIEW` feature permission.
|
|
2587
2849
|
*
|
|
2588
2850
|
* @param request - ListKnowledgeBaseDirectoriesRequest
|
|
2589
2851
|
* @returns ListKnowledgeBaseDirectoriesResponse
|
|
@@ -2614,17 +2876,17 @@ export default class Client extends OpenApi {
|
|
|
2614
2876
|
*/
|
|
2615
2877
|
listOperatingObjectFavorites(request: $_model.ListOperatingObjectFavoritesRequest): Promise<$_model.ListOperatingObjectFavoritesResponse>;
|
|
2616
2878
|
/**
|
|
2617
|
-
* Queries the output list of the current user
|
|
2879
|
+
* Queries the output list of the current user. Filtering by conditions and pagination are supported.
|
|
2618
2880
|
*
|
|
2619
2881
|
* @remarks
|
|
2620
2882
|
* ## Operation description
|
|
2621
2883
|
* - This API operation queries the output list of the current logged-in user.
|
|
2622
2884
|
* - `tenantId` is a common parameter. If not specified, the default tenant of the caller is used.
|
|
2623
|
-
* -
|
|
2885
|
+
* - Filtering is supported through parameters such as `operatingObjectName`, `itemType`, and `keyword`.
|
|
2624
2886
|
* - Set `sharedOnly` to `true` to display only outputs with sharing enabled.
|
|
2625
|
-
* - Pagination is controlled by `page` (page number) and `pageSize` (number of items per page). By default,
|
|
2887
|
+
* - Pagination is controlled by `page` (page number) and `pageSize` (number of items per page). By default, the first page is returned with 20 records per page.
|
|
2626
2888
|
* - Results are sorted by update time in descending order by default.
|
|
2627
|
-
* - The `tenant_id` or `user_id` passed in the request body by the caller
|
|
2889
|
+
* - The `tenant_id` or `user_id` values passed in the request body by the caller are ignored. This information is derived only from the authenticated identity.
|
|
2628
2890
|
*
|
|
2629
2891
|
* @param request - ListOutputFilesRequest
|
|
2630
2892
|
* @param headers - map
|
|
@@ -2635,17 +2897,17 @@ export default class Client extends OpenApi {
|
|
|
2635
2897
|
[key: string]: string;
|
|
2636
2898
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListOutputFilesResponse>;
|
|
2637
2899
|
/**
|
|
2638
|
-
* Queries the output list of the current user
|
|
2900
|
+
* Queries the output list of the current user. Filtering by conditions and pagination are supported.
|
|
2639
2901
|
*
|
|
2640
2902
|
* @remarks
|
|
2641
2903
|
* ## Operation description
|
|
2642
2904
|
* - This API operation queries the output list of the current logged-in user.
|
|
2643
2905
|
* - `tenantId` is a common parameter. If not specified, the default tenant of the caller is used.
|
|
2644
|
-
* -
|
|
2906
|
+
* - Filtering is supported through parameters such as `operatingObjectName`, `itemType`, and `keyword`.
|
|
2645
2907
|
* - Set `sharedOnly` to `true` to display only outputs with sharing enabled.
|
|
2646
|
-
* - Pagination is controlled by `page` (page number) and `pageSize` (number of items per page). By default,
|
|
2908
|
+
* - Pagination is controlled by `page` (page number) and `pageSize` (number of items per page). By default, the first page is returned with 20 records per page.
|
|
2647
2909
|
* - Results are sorted by update time in descending order by default.
|
|
2648
|
-
* - The `tenant_id` or `user_id` passed in the request body by the caller
|
|
2910
|
+
* - The `tenant_id` or `user_id` values passed in the request body by the caller are ignored. This information is derived only from the authenticated identity.
|
|
2649
2911
|
*
|
|
2650
2912
|
* @param request - ListOutputFilesRequest
|
|
2651
2913
|
* @returns ListOutputFilesResponse
|
|
@@ -2693,8 +2955,8 @@ export default class Client extends OpenApi {
|
|
|
2693
2955
|
* @remarks
|
|
2694
2956
|
* Queries the list of system built-in roles.
|
|
2695
2957
|
* Business logic:
|
|
2696
|
-
* 1. Constructs AuthContext from identity.
|
|
2697
|
-
* 2. Delegates to UserManagementAuthorizedService.list_system_roles
|
|
2958
|
+
* 1. Constructs an AuthContext from the identity.
|
|
2959
|
+
* 2. Delegates to UserManagementAuthorizedService.list_system_roles to perform permission verification (PLATFORM_USER_VIEW).
|
|
2698
2960
|
* 3. Renders role names and descriptions based on the request Accept-Language header.
|
|
2699
2961
|
* 4. Returns a fixed set of 7 system built-in roles.
|
|
2700
2962
|
* The returned roleCode field can be directly used as the roleCodes parameter for createUser or updateUser.
|
|
@@ -2713,8 +2975,8 @@ export default class Client extends OpenApi {
|
|
|
2713
2975
|
* @remarks
|
|
2714
2976
|
* Queries the list of system built-in roles.
|
|
2715
2977
|
* Business logic:
|
|
2716
|
-
* 1. Constructs AuthContext from identity.
|
|
2717
|
-
* 2. Delegates to UserManagementAuthorizedService.list_system_roles
|
|
2978
|
+
* 1. Constructs an AuthContext from the identity.
|
|
2979
|
+
* 2. Delegates to UserManagementAuthorizedService.list_system_roles to perform permission verification (PLATFORM_USER_VIEW).
|
|
2718
2980
|
* 3. Renders role names and descriptions based on the request Accept-Language header.
|
|
2719
2981
|
* 4. Returns a fixed set of 7 system built-in roles.
|
|
2720
2982
|
* The returned roleCode field can be directly used as the roleCodes parameter for createUser or updateUser.
|
|
@@ -2728,12 +2990,12 @@ export default class Client extends OpenApi {
|
|
|
2728
2990
|
*
|
|
2729
2991
|
* @remarks
|
|
2730
2992
|
* ## Operation description
|
|
2731
|
-
* - This operation
|
|
2732
|
-
* -
|
|
2733
|
-
* -
|
|
2993
|
+
* - This operation is used to upload files to an enterprise knowledge base.
|
|
2994
|
+
* - You must have the `DEVELOPMENT_KB_MANAGE` permission to call this operation.
|
|
2995
|
+
* - Provide the OSS persistent address (`filePath`) of the file when uploading.
|
|
2734
2996
|
* - Optional parameters include the public access URL and original file name to enhance the completeness of file information.
|
|
2735
2997
|
* - 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.
|
|
2736
|
-
* - You can
|
|
2998
|
+
* - You can use `sourceTags` to add tags to resources for subsequent management and retrieval.
|
|
2737
2999
|
* - This operation initiates a billing item (UNSTRUCTURED_PARSE). Make sure your account balance is sufficient.
|
|
2738
3000
|
*
|
|
2739
3001
|
* @param tmpReq - ListScheduledTasksRequest
|
|
@@ -2749,12 +3011,12 @@ export default class Client extends OpenApi {
|
|
|
2749
3011
|
*
|
|
2750
3012
|
* @remarks
|
|
2751
3013
|
* ## Operation description
|
|
2752
|
-
* - This operation
|
|
2753
|
-
* -
|
|
2754
|
-
* -
|
|
3014
|
+
* - This operation is used to upload files to an enterprise knowledge base.
|
|
3015
|
+
* - You must have the `DEVELOPMENT_KB_MANAGE` permission to call this operation.
|
|
3016
|
+
* - Provide the OSS persistent address (`filePath`) of the file when uploading.
|
|
2755
3017
|
* - Optional parameters include the public access URL and original file name to enhance the completeness of file information.
|
|
2756
3018
|
* - 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.
|
|
2757
|
-
* - You can
|
|
3019
|
+
* - You can use `sourceTags` to add tags to resources for subsequent management and retrieval.
|
|
2758
3020
|
* - This operation initiates a billing item (UNSTRUCTURED_PARSE). Make sure your account balance is sufficient.
|
|
2759
3021
|
*
|
|
2760
3022
|
* @param request - ListScheduledTasksRequest
|
|
@@ -2813,11 +3075,11 @@ export default class Client extends OpenApi {
|
|
|
2813
3075
|
* Retrieves the list of knowledge bases.
|
|
2814
3076
|
*
|
|
2815
3077
|
* @remarks
|
|
2816
|
-
* ##
|
|
2817
|
-
* - This API is used
|
|
2818
|
-
* - Multiple parameters are supported for filtering and sorting, such as `directoryId`, `page`, `pageSize`, `sortField`, `sortOrder`, and
|
|
3078
|
+
* ## Operation description
|
|
3079
|
+
* - This API is used for paging query of folder content and resources in an enterprise knowledge base.
|
|
3080
|
+
* - Multiple parameters are supported for filtering and sorting, such as `directoryId`, `page`, `pageSize`, `sortField`, `sortOrder`, and more.
|
|
2819
3081
|
* - The `sourceTypes` parameter allows you to filter by resource type. Separate multiple types with commas.
|
|
2820
|
-
* -
|
|
3082
|
+
* - If `directoryId` is not specified or is set to `root`, the root folder list of the knowledge base is queried by default.
|
|
2821
3083
|
* - The default sort field is `name`, and the default sort order is ascending (`asc`).
|
|
2822
3084
|
*
|
|
2823
3085
|
* @param request - ListTenantDirectoryRequest
|
|
@@ -2832,11 +3094,11 @@ export default class Client extends OpenApi {
|
|
|
2832
3094
|
* Retrieves the list of knowledge bases.
|
|
2833
3095
|
*
|
|
2834
3096
|
* @remarks
|
|
2835
|
-
* ##
|
|
2836
|
-
* - This API is used
|
|
2837
|
-
* - Multiple parameters are supported for filtering and sorting, such as `directoryId`, `page`, `pageSize`, `sortField`, `sortOrder`, and
|
|
3097
|
+
* ## Operation description
|
|
3098
|
+
* - This API is used for paging query of folder content and resources in an enterprise knowledge base.
|
|
3099
|
+
* - Multiple parameters are supported for filtering and sorting, such as `directoryId`, `page`, `pageSize`, `sortField`, `sortOrder`, and more.
|
|
2838
3100
|
* - The `sourceTypes` parameter allows you to filter by resource type. Separate multiple types with commas.
|
|
2839
|
-
* -
|
|
3101
|
+
* - If `directoryId` is not specified or is set to `root`, the root folder list of the knowledge base is queried by default.
|
|
2840
3102
|
* - The default sort field is `name`, and the default sort order is ascending (`asc`).
|
|
2841
3103
|
*
|
|
2842
3104
|
* @param request - ListTenantDirectoryRequest
|
|
@@ -3031,6 +3293,30 @@ export default class Client extends OpenApi {
|
|
|
3031
3293
|
* @returns ListVisibleKnowledgeBasesResponse
|
|
3032
3294
|
*/
|
|
3033
3295
|
listVisibleKnowledgeBases(request: $_model.ListVisibleKnowledgeBasesRequest): Promise<$_model.ListVisibleKnowledgeBasesResponse>;
|
|
3296
|
+
/**
|
|
3297
|
+
* 移动协作空间资料
|
|
3298
|
+
*
|
|
3299
|
+
* @remarks
|
|
3300
|
+
* 有效成员且为资料创建者或空间管理员才能在同一空间物理目录树内移动资料。源目标必须是真实且不同的目录ID,资料必须在源目录。引用资料只读。保持sourceId,不重新解析;本地绑定成功不保证下游路径已同步。重复请求可能报资料不在源目录,请先查询位置。
|
|
3301
|
+
*
|
|
3302
|
+
* @param request - MoveGroupResourceRequest
|
|
3303
|
+
* @param headers - map
|
|
3304
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3305
|
+
* @returns MoveGroupResourceResponse
|
|
3306
|
+
*/
|
|
3307
|
+
moveGroupResourceWithOptions(request: $_model.MoveGroupResourceRequest, headers: {
|
|
3308
|
+
[key: string]: string;
|
|
3309
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.MoveGroupResourceResponse>;
|
|
3310
|
+
/**
|
|
3311
|
+
* 移动协作空间资料
|
|
3312
|
+
*
|
|
3313
|
+
* @remarks
|
|
3314
|
+
* 有效成员且为资料创建者或空间管理员才能在同一空间物理目录树内移动资料。源目标必须是真实且不同的目录ID,资料必须在源目录。引用资料只读。保持sourceId,不重新解析;本地绑定成功不保证下游路径已同步。重复请求可能报资料不在源目录,请先查询位置。
|
|
3315
|
+
*
|
|
3316
|
+
* @param request - MoveGroupResourceRequest
|
|
3317
|
+
* @returns MoveGroupResourceResponse
|
|
3318
|
+
*/
|
|
3319
|
+
moveGroupResource(request: $_model.MoveGroupResourceRequest): Promise<$_model.MoveGroupResourceResponse>;
|
|
3034
3320
|
/**
|
|
3035
3321
|
* Moves a specified resource between enterprise knowledge base directories. Management permissions are required.
|
|
3036
3322
|
*
|
|
@@ -3143,6 +3429,30 @@ export default class Client extends OpenApi {
|
|
|
3143
3429
|
* @returns OfflineAnnouncementResponse
|
|
3144
3430
|
*/
|
|
3145
3431
|
offlineAnnouncement(request: $_model.OfflineAnnouncementRequest): Promise<$_model.OfflineAnnouncementResponse>;
|
|
3432
|
+
/**
|
|
3433
|
+
* Previews a resource in a collaborative workspace.
|
|
3434
|
+
*
|
|
3435
|
+
* @remarks
|
|
3436
|
+
* Active members can preview physical or referenced resources in a specified workspace. Requests to read resources that are cross-workspace, de-referenced, or invisible are rejected.
|
|
3437
|
+
*
|
|
3438
|
+
* @param request - PreviewGroupSourceRequest
|
|
3439
|
+
* @param headers - map
|
|
3440
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3441
|
+
* @returns PreviewGroupSourceResponse
|
|
3442
|
+
*/
|
|
3443
|
+
previewGroupSourceWithOptions(request: $_model.PreviewGroupSourceRequest, headers: {
|
|
3444
|
+
[key: string]: string;
|
|
3445
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.PreviewGroupSourceResponse>;
|
|
3446
|
+
/**
|
|
3447
|
+
* Previews a resource in a collaborative workspace.
|
|
3448
|
+
*
|
|
3449
|
+
* @remarks
|
|
3450
|
+
* Active members can preview physical or referenced resources in a specified workspace. Requests to read resources that are cross-workspace, de-referenced, or invisible are rejected.
|
|
3451
|
+
*
|
|
3452
|
+
* @param request - PreviewGroupSourceRequest
|
|
3453
|
+
* @returns PreviewGroupSourceResponse
|
|
3454
|
+
*/
|
|
3455
|
+
previewGroupSource(request: $_model.PreviewGroupSourceRequest): Promise<$_model.PreviewGroupSourceResponse>;
|
|
3146
3456
|
/**
|
|
3147
3457
|
* Previews the knowledge content in a specified enterprise knowledge base.
|
|
3148
3458
|
*
|
|
@@ -3487,6 +3797,30 @@ export default class Client extends OpenApi {
|
|
|
3487
3797
|
* @returns RenameSourceResponse
|
|
3488
3798
|
*/
|
|
3489
3799
|
renameSource(request: $_model.RenameSourceRequest): Promise<$_model.RenameSourceResponse>;
|
|
3800
|
+
/**
|
|
3801
|
+
* 重新解析协作空间资料
|
|
3802
|
+
*
|
|
3803
|
+
* @remarks
|
|
3804
|
+
* 有效成员且为创建者或空间管理员可重新解析物理资料;引用只读。默认异步;forceSync仅等待不等于强制重抓,在线文档未变化可能直接返回。
|
|
3805
|
+
*
|
|
3806
|
+
* @param request - ReparseGroupSourceRequest
|
|
3807
|
+
* @param headers - map
|
|
3808
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3809
|
+
* @returns ReparseGroupSourceResponse
|
|
3810
|
+
*/
|
|
3811
|
+
reparseGroupSourceWithOptions(request: $_model.ReparseGroupSourceRequest, headers: {
|
|
3812
|
+
[key: string]: string;
|
|
3813
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.ReparseGroupSourceResponse>;
|
|
3814
|
+
/**
|
|
3815
|
+
* 重新解析协作空间资料
|
|
3816
|
+
*
|
|
3817
|
+
* @remarks
|
|
3818
|
+
* 有效成员且为创建者或空间管理员可重新解析物理资料;引用只读。默认异步;forceSync仅等待不等于强制重抓,在线文档未变化可能直接返回。
|
|
3819
|
+
*
|
|
3820
|
+
* @param request - ReparseGroupSourceRequest
|
|
3821
|
+
* @returns ReparseGroupSourceResponse
|
|
3822
|
+
*/
|
|
3823
|
+
reparseGroupSource(request: $_model.ReparseGroupSourceRequest): Promise<$_model.ReparseGroupSourceResponse>;
|
|
3490
3824
|
/**
|
|
3491
3825
|
* Re-parses a resource.
|
|
3492
3826
|
*
|
|
@@ -3517,6 +3851,30 @@ export default class Client extends OpenApi {
|
|
|
3517
3851
|
* @returns ReparseSourceResponse
|
|
3518
3852
|
*/
|
|
3519
3853
|
reparseSource(request: $_model.ReparseSourceRequest): Promise<$_model.ReparseSourceResponse>;
|
|
3854
|
+
/**
|
|
3855
|
+
* 替换协作空间资料文件
|
|
3856
|
+
*
|
|
3857
|
+
* @remarks
|
|
3858
|
+
* 有效成员且为创建者或空间管理员可替换物理GROUP资料;引用只读。先上传新文件再提交上传结果,仅FILE。保留SourceID并触发解析,默认异步。空操作结果可能发生在写入之后,返回执行错误而非不存在。
|
|
3859
|
+
*
|
|
3860
|
+
* @param request - ReplaceGroupSourceFileRequest
|
|
3861
|
+
* @param headers - map
|
|
3862
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3863
|
+
* @returns ReplaceGroupSourceFileResponse
|
|
3864
|
+
*/
|
|
3865
|
+
replaceGroupSourceFileWithOptions(request: $_model.ReplaceGroupSourceFileRequest, headers: {
|
|
3866
|
+
[key: string]: string;
|
|
3867
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.ReplaceGroupSourceFileResponse>;
|
|
3868
|
+
/**
|
|
3869
|
+
* 替换协作空间资料文件
|
|
3870
|
+
*
|
|
3871
|
+
* @remarks
|
|
3872
|
+
* 有效成员且为创建者或空间管理员可替换物理GROUP资料;引用只读。先上传新文件再提交上传结果,仅FILE。保留SourceID并触发解析,默认异步。空操作结果可能发生在写入之后,返回执行错误而非不存在。
|
|
3873
|
+
*
|
|
3874
|
+
* @param request - ReplaceGroupSourceFileRequest
|
|
3875
|
+
* @returns ReplaceGroupSourceFileResponse
|
|
3876
|
+
*/
|
|
3877
|
+
replaceGroupSourceFile(request: $_model.ReplaceGroupSourceFileRequest): Promise<$_model.ReplaceGroupSourceFileResponse>;
|
|
3520
3878
|
/**
|
|
3521
3879
|
* Replaces a FILE resource in a specified enterprise knowledge base and triggers re-parsing.
|
|
3522
3880
|
*
|
|
@@ -3886,20 +4244,70 @@ export default class Client extends OpenApi {
|
|
|
3886
4244
|
*/
|
|
3887
4245
|
runSkill(request: $_model.RunSkillRequest): Promise<$_model.RunSkillResponse>;
|
|
3888
4246
|
/**
|
|
3889
|
-
*
|
|
4247
|
+
* Batch saves personal semantic drafts.
|
|
3890
4248
|
*
|
|
3891
4249
|
* @remarks
|
|
3892
|
-
* OpenAPI
|
|
3893
|
-
*
|
|
3894
|
-
* 1.
|
|
3895
|
-
*
|
|
3896
|
-
* 2.
|
|
3897
|
-
*
|
|
3898
|
-
*
|
|
3899
|
-
*
|
|
3900
|
-
*
|
|
3901
|
-
* - ERR.
|
|
3902
|
-
* - ERR.Robject.Global.
|
|
4250
|
+
* Batch saves personal semantic drafts through OpenAPI (personal token only).
|
|
4251
|
+
* Business orchestration:
|
|
4252
|
+
* 1. Draft domain identity verification (personal token only; deployment/system-level tokens are rejected)
|
|
4253
|
+
* and semantic management permission verification.
|
|
4254
|
+
* 2. saveMode dispatch: FULL_YAML (default) performs full-graph YAML differential save,
|
|
4255
|
+
* including invalidated draft discard and order collection write permission verification.
|
|
4256
|
+
* PARTIAL_YAML performs partial YAML save scoped by draftChangeIds.
|
|
4257
|
+
* 3. The diff baseline is always read from the online active version by the backend (the base input parameter is not trusted).
|
|
4258
|
+
* Error codes:
|
|
4259
|
+
* - ERR.User.TokenUserOnly: Personal drafts support only user tokens.
|
|
4260
|
+
* - ERR.Robject.Global.InvalidParameter: Invalid saveMode / draftChangeIds not provided for PARTIAL_YAML.
|
|
4261
|
+
* - ERR.GraphSchema.*: Graph does not exist / YAML structure validation failed / Custom physical table contract is invalid.
|
|
4262
|
+
* - ERR.Robject.Global.BusinessStateConflict: Related resources are being published.
|
|
4263
|
+
* - ERR.Robject.Permission.*: Order collection write permission verification failed.
|
|
4264
|
+
*
|
|
4265
|
+
* @param tmpReq - SaveGraphDraftBatchDefineRequest
|
|
4266
|
+
* @param headers - map
|
|
4267
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4268
|
+
* @returns SaveGraphDraftBatchDefineResponse
|
|
4269
|
+
*/
|
|
4270
|
+
saveGraphDraftBatchDefineWithOptions(tmpReq: $_model.SaveGraphDraftBatchDefineRequest, headers: {
|
|
4271
|
+
[key: string]: string;
|
|
4272
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.SaveGraphDraftBatchDefineResponse>;
|
|
4273
|
+
/**
|
|
4274
|
+
* Batch saves personal semantic drafts.
|
|
4275
|
+
*
|
|
4276
|
+
* @remarks
|
|
4277
|
+
* Batch saves personal semantic drafts through OpenAPI (personal token only).
|
|
4278
|
+
* Business orchestration:
|
|
4279
|
+
* 1. Draft domain identity verification (personal token only; deployment/system-level tokens are rejected)
|
|
4280
|
+
* and semantic management permission verification.
|
|
4281
|
+
* 2. saveMode dispatch: FULL_YAML (default) performs full-graph YAML differential save,
|
|
4282
|
+
* including invalidated draft discard and order collection write permission verification.
|
|
4283
|
+
* PARTIAL_YAML performs partial YAML save scoped by draftChangeIds.
|
|
4284
|
+
* 3. The diff baseline is always read from the online active version by the backend (the base input parameter is not trusted).
|
|
4285
|
+
* Error codes:
|
|
4286
|
+
* - ERR.User.TokenUserOnly: Personal drafts support only user tokens.
|
|
4287
|
+
* - ERR.Robject.Global.InvalidParameter: Invalid saveMode / draftChangeIds not provided for PARTIAL_YAML.
|
|
4288
|
+
* - ERR.GraphSchema.*: Graph does not exist / YAML structure validation failed / Custom physical table contract is invalid.
|
|
4289
|
+
* - ERR.Robject.Global.BusinessStateConflict: Related resources are being published.
|
|
4290
|
+
* - ERR.Robject.Permission.*: Order collection write permission verification failed.
|
|
4291
|
+
*
|
|
4292
|
+
* @param request - SaveGraphDraftBatchDefineRequest
|
|
4293
|
+
* @returns SaveGraphDraftBatchDefineResponse
|
|
4294
|
+
*/
|
|
4295
|
+
saveGraphDraftBatchDefine(request: $_model.SaveGraphDraftBatchDefineRequest): Promise<$_model.SaveGraphDraftBatchDefineResponse>;
|
|
4296
|
+
/**
|
|
4297
|
+
* Saves a single semantic resource draft.
|
|
4298
|
+
*
|
|
4299
|
+
* @remarks
|
|
4300
|
+
* Saves a single semantic resource draft through OpenAPI (personal token only).
|
|
4301
|
+
* Business orchestration:
|
|
4302
|
+
* 1. Draft domain identity verification (personal token only; deployment/system-level tokens are rejected)
|
|
4303
|
+
* and semantic management permission verification.
|
|
4304
|
+
* 2. Delegates to the personal draft service for saving (source is fixed YAML). The underlying layer includes resource-level write permission verification.
|
|
4305
|
+
* If the content is identical to the online version, the database write is skipped and the summary field returns null.
|
|
4306
|
+
* Error codes:
|
|
4307
|
+
* - ERR.User.TokenUserOnly: Personal drafts support only user tokens.
|
|
4308
|
+
* - ERR.Robject.Global.InvalidParameter: The resourceType/elementType combination is invalid.
|
|
4309
|
+
* - ERR.GraphSchema.*: The graph does not exist, or resource naming and ownership verification failed.
|
|
4310
|
+
* - ERR.Robject.Global.ResourceNotFound: The resource does not exist or other underlying verification failed.
|
|
3903
4311
|
*
|
|
3904
4312
|
* @param request - SaveGraphDraftResourceRequest
|
|
3905
4313
|
* @param headers - map
|
|
@@ -3910,20 +4318,20 @@ export default class Client extends OpenApi {
|
|
|
3910
4318
|
[key: string]: string;
|
|
3911
4319
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.SaveGraphDraftResourceResponse>;
|
|
3912
4320
|
/**
|
|
3913
|
-
*
|
|
4321
|
+
* Saves a single semantic resource draft.
|
|
3914
4322
|
*
|
|
3915
4323
|
* @remarks
|
|
3916
|
-
* OpenAPI
|
|
3917
|
-
*
|
|
3918
|
-
* 1.
|
|
3919
|
-
*
|
|
3920
|
-
* 2.
|
|
3921
|
-
*
|
|
3922
|
-
*
|
|
3923
|
-
* - ERR.User.TokenUserOnly:
|
|
3924
|
-
* - ERR.Robject.Global.InvalidParameter: resourceType/elementType
|
|
3925
|
-
* - ERR.GraphSchema.*:
|
|
3926
|
-
* - ERR.Robject.Global.ResourceNotFound:
|
|
4324
|
+
* Saves a single semantic resource draft through OpenAPI (personal token only).
|
|
4325
|
+
* Business orchestration:
|
|
4326
|
+
* 1. Draft domain identity verification (personal token only; deployment/system-level tokens are rejected)
|
|
4327
|
+
* and semantic management permission verification.
|
|
4328
|
+
* 2. Delegates to the personal draft service for saving (source is fixed YAML). The underlying layer includes resource-level write permission verification.
|
|
4329
|
+
* If the content is identical to the online version, the database write is skipped and the summary field returns null.
|
|
4330
|
+
* Error codes:
|
|
4331
|
+
* - ERR.User.TokenUserOnly: Personal drafts support only user tokens.
|
|
4332
|
+
* - ERR.Robject.Global.InvalidParameter: The resourceType/elementType combination is invalid.
|
|
4333
|
+
* - ERR.GraphSchema.*: The graph does not exist, or resource naming and ownership verification failed.
|
|
4334
|
+
* - ERR.Robject.Global.ResourceNotFound: The resource does not exist or other underlying verification failed.
|
|
3927
4335
|
*
|
|
3928
4336
|
* @param request - SaveGraphDraftResourceRequest
|
|
3929
4337
|
* @returns SaveGraphDraftResourceResponse
|
|
@@ -3966,15 +4374,15 @@ export default class Client extends OpenApi {
|
|
|
3966
4374
|
*/
|
|
3967
4375
|
saveGroupOutputFileToGroupResource(request: $_model.SaveGroupOutputFileToGroupResourceRequest): Promise<$_model.SaveGroupOutputFileToGroupResourceResponse>;
|
|
3968
4376
|
/**
|
|
3969
|
-
* Batch saves group outputs to the
|
|
4377
|
+
* Batch saves group outputs to the personal knowledge base of the current operator.
|
|
3970
4378
|
*
|
|
3971
4379
|
* @remarks
|
|
3972
|
-
* ##
|
|
3973
|
-
* - Saves specified group outputs to the
|
|
3974
|
-
* -
|
|
3975
|
-
* - The caller must be a member of the target group who is associated with a platform user. Regular members can only
|
|
3976
|
-
* - If `directoryId` is not specified, the
|
|
3977
|
-
* - A maximum of 50 outputs can be processed per batch. All entries are validated before saving.
|
|
4380
|
+
* ## Operation description
|
|
4381
|
+
* - Saves specified group outputs to the personal knowledge base of the current operator.
|
|
4382
|
+
* - Two modes are supported: `link` (maintains the association with the output) and `copy` (creates an independent snapshot).
|
|
4383
|
+
* - The caller must be a member of the target group who is associated with a platform user. Regular members can archive only outputs they created. Group administrators can archive visible outputs of other members. The personal ownership is always derived from the gateway authentication identity.
|
|
4384
|
+
* - If `directoryId` is not specified, the default personal directory of the current operator is used.
|
|
4385
|
+
* - A maximum of 50 outputs can be processed per batch. All entries are validated before saving. If any entry does not exist, is not visible, or cannot be operated on, the entire batch fails.
|
|
3978
4386
|
* - After unified validation passes, entries are saved one by one. The response results maintain the same order as `itemIds`. A failure to save a single entry does not affect other entries.
|
|
3979
4387
|
*
|
|
3980
4388
|
* @param tmpReq - SaveGroupOutputFileToPersonalResourceRequest
|
|
@@ -3986,15 +4394,15 @@ export default class Client extends OpenApi {
|
|
|
3986
4394
|
[key: string]: string;
|
|
3987
4395
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.SaveGroupOutputFileToPersonalResourceResponse>;
|
|
3988
4396
|
/**
|
|
3989
|
-
* Batch saves group outputs to the
|
|
4397
|
+
* Batch saves group outputs to the personal knowledge base of the current operator.
|
|
3990
4398
|
*
|
|
3991
4399
|
* @remarks
|
|
3992
|
-
* ##
|
|
3993
|
-
* - Saves specified group outputs to the
|
|
3994
|
-
* -
|
|
3995
|
-
* - The caller must be a member of the target group who is associated with a platform user. Regular members can only
|
|
3996
|
-
* - If `directoryId` is not specified, the
|
|
3997
|
-
* - A maximum of 50 outputs can be processed per batch. All entries are validated before saving.
|
|
4400
|
+
* ## Operation description
|
|
4401
|
+
* - Saves specified group outputs to the personal knowledge base of the current operator.
|
|
4402
|
+
* - Two modes are supported: `link` (maintains the association with the output) and `copy` (creates an independent snapshot).
|
|
4403
|
+
* - The caller must be a member of the target group who is associated with a platform user. Regular members can archive only outputs they created. Group administrators can archive visible outputs of other members. The personal ownership is always derived from the gateway authentication identity.
|
|
4404
|
+
* - If `directoryId` is not specified, the default personal directory of the current operator is used.
|
|
4405
|
+
* - A maximum of 50 outputs can be processed per batch. All entries are validated before saving. If any entry does not exist, is not visible, or cannot be operated on, the entire batch fails.
|
|
3998
4406
|
* - After unified validation passes, entries are saved one by one. The response results maintain the same order as `itemIds`. A failure to save a single entry does not affect other entries.
|
|
3999
4407
|
*
|
|
4000
4408
|
* @param request - SaveGroupOutputFileToPersonalResourceRequest
|
|
@@ -4002,14 +4410,14 @@ export default class Client extends OpenApi {
|
|
|
4002
4410
|
*/
|
|
4003
4411
|
saveGroupOutputFileToPersonalResource(request: $_model.SaveGroupOutputFileToPersonalResourceRequest): Promise<$_model.SaveGroupOutputFileToPersonalResourceResponse>;
|
|
4004
4412
|
/**
|
|
4005
|
-
* Saves output details in
|
|
4413
|
+
* Saves output details in batches as personal resources. Supports link or copy mode.
|
|
4006
4414
|
*
|
|
4007
4415
|
* @remarks
|
|
4008
4416
|
* ## Operation description
|
|
4009
|
-
* - This API saves a batch of output details as personal resources for
|
|
4417
|
+
* - This API saves a batch of output details as personal resources for a user.
|
|
4010
4418
|
* - Two save modes are supported: `link` and `copy`. When `link` is selected, edits to the output are synchronized to the resource. When `copy` is selected, a snapshot is created with no limit on the number of copies.
|
|
4011
4419
|
* - `tenant_id` and `user_id` are derived only from the authenticated identity.
|
|
4012
|
-
* - If `operating_object` values
|
|
4420
|
+
* - If the `operating_object` values within the batch are inconsistent and `directoryId` is not specified, the entire batch fails with a pre-check error.
|
|
4013
4421
|
* - The processing result of a single record does not affect other records. Failure information for individual records is returned in the response.
|
|
4014
4422
|
* - A maximum of 50 records are supported per batch operation.
|
|
4015
4423
|
* - Batch-level pre-check failures are returned in a POP-compatible error format by the global exception middleware.
|
|
@@ -4023,14 +4431,14 @@ export default class Client extends OpenApi {
|
|
|
4023
4431
|
[key: string]: string;
|
|
4024
4432
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.SaveOutputFileToResourceResponse>;
|
|
4025
4433
|
/**
|
|
4026
|
-
* Saves output details in
|
|
4434
|
+
* Saves output details in batches as personal resources. Supports link or copy mode.
|
|
4027
4435
|
*
|
|
4028
4436
|
* @remarks
|
|
4029
4437
|
* ## Operation description
|
|
4030
|
-
* - This API saves a batch of output details as personal resources for
|
|
4438
|
+
* - This API saves a batch of output details as personal resources for a user.
|
|
4031
4439
|
* - Two save modes are supported: `link` and `copy`. When `link` is selected, edits to the output are synchronized to the resource. When `copy` is selected, a snapshot is created with no limit on the number of copies.
|
|
4032
4440
|
* - `tenant_id` and `user_id` are derived only from the authenticated identity.
|
|
4033
|
-
* - If `operating_object` values
|
|
4441
|
+
* - If the `operating_object` values within the batch are inconsistent and `directoryId` is not specified, the entire batch fails with a pre-check error.
|
|
4034
4442
|
* - The processing result of a single record does not affect other records. Failure information for individual records is returned in the response.
|
|
4035
4443
|
* - A maximum of 50 records are supported per batch operation.
|
|
4036
4444
|
* - Batch-level pre-check failures are returned in a POP-compatible error format by the global exception middleware.
|
|
@@ -4070,10 +4478,10 @@ export default class Client extends OpenApi {
|
|
|
4070
4478
|
*/
|
|
4071
4479
|
searchAliDingGroupChats(request: $_model.SearchAliDingGroupChatsRequest): Promise<$_model.SearchAliDingGroupChatsResponse>;
|
|
4072
4480
|
/**
|
|
4073
|
-
*
|
|
4481
|
+
* Sends a session message asynchronously.
|
|
4074
4482
|
*
|
|
4075
4483
|
* @remarks
|
|
4076
|
-
*
|
|
4484
|
+
* Sends a session message asynchronously.
|
|
4077
4485
|
*
|
|
4078
4486
|
* @param tmpReq - SendAsyncChatMessageRequest
|
|
4079
4487
|
* @param headers - map
|
|
@@ -4084,10 +4492,10 @@ export default class Client extends OpenApi {
|
|
|
4084
4492
|
[key: string]: string;
|
|
4085
4493
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.SendAsyncChatMessageResponse>;
|
|
4086
4494
|
/**
|
|
4087
|
-
*
|
|
4495
|
+
* Sends a session message asynchronously.
|
|
4088
4496
|
*
|
|
4089
4497
|
* @remarks
|
|
4090
|
-
*
|
|
4498
|
+
* Sends a session message asynchronously.
|
|
4091
4499
|
*
|
|
4092
4500
|
* @param request - SendAsyncChatMessageRequest
|
|
4093
4501
|
* @returns SendAsyncChatMessageResponse
|
|
@@ -4098,12 +4506,12 @@ export default class Client extends OpenApi {
|
|
|
4098
4506
|
*
|
|
4099
4507
|
* @remarks
|
|
4100
4508
|
* ## Operation description
|
|
4101
|
-
* - This API
|
|
4509
|
+
* - This API is used to upload a file to the "My Resources" section of a specified digital employee.
|
|
4102
4510
|
* - `source_type` is fixed to `FILE`, `scope` is fixed to `PERSONAL`, and `platform` is fixed to `LOCAL`.
|
|
4103
|
-
* -
|
|
4104
|
-
* - If
|
|
4105
|
-
* - Multiple authentication methods (AK, BearerToken, APP) are supported for security authentication.
|
|
4106
|
-
* - The operation type is write
|
|
4511
|
+
* - You must provide an OSS persistent address (`filePath`) for the file. Other information such as the public access URL and original file name is optional.
|
|
4512
|
+
* - 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 the folder belongs to the invoker\\"s personal folder.
|
|
4513
|
+
* - Multiple authentication methods (AK, BearerToken, and APP) are supported for security authentication.
|
|
4514
|
+
* - The operation type is write, and operation logs are recorded for subsequent auditing.
|
|
4107
4515
|
*
|
|
4108
4516
|
* @param tmpReq - SendChatMessageRequest
|
|
4109
4517
|
* @param headers - map
|
|
@@ -4118,12 +4526,12 @@ export default class Client extends OpenApi {
|
|
|
4118
4526
|
*
|
|
4119
4527
|
* @remarks
|
|
4120
4528
|
* ## Operation description
|
|
4121
|
-
* - This API
|
|
4529
|
+
* - This API is used to upload a file to the "My Resources" section of a specified digital employee.
|
|
4122
4530
|
* - `source_type` is fixed to `FILE`, `scope` is fixed to `PERSONAL`, and `platform` is fixed to `LOCAL`.
|
|
4123
|
-
* -
|
|
4124
|
-
* - If
|
|
4125
|
-
* - Multiple authentication methods (AK, BearerToken, APP) are supported for security authentication.
|
|
4126
|
-
* - The operation type is write
|
|
4531
|
+
* - You must provide an OSS persistent address (`filePath`) for the file. Other information such as the public access URL and original file name is optional.
|
|
4532
|
+
* - 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 the folder belongs to the invoker\\"s personal folder.
|
|
4533
|
+
* - Multiple authentication methods (AK, BearerToken, and APP) are supported for security authentication.
|
|
4534
|
+
* - The operation type is write, and operation logs are recorded for subsequent auditing.
|
|
4127
4535
|
*
|
|
4128
4536
|
* @param tmpReq - SendChatMessageRequest
|
|
4129
4537
|
* @param headers - map
|
|
@@ -4138,12 +4546,12 @@ export default class Client extends OpenApi {
|
|
|
4138
4546
|
*
|
|
4139
4547
|
* @remarks
|
|
4140
4548
|
* ## Operation description
|
|
4141
|
-
* - This API
|
|
4549
|
+
* - This API is used to upload a file to the "My Resources" section of a specified digital employee.
|
|
4142
4550
|
* - `source_type` is fixed to `FILE`, `scope` is fixed to `PERSONAL`, and `platform` is fixed to `LOCAL`.
|
|
4143
|
-
* -
|
|
4144
|
-
* - If
|
|
4145
|
-
* - Multiple authentication methods (AK, BearerToken, APP) are supported for security authentication.
|
|
4146
|
-
* - The operation type is write
|
|
4551
|
+
* - You must provide an OSS persistent address (`filePath`) for the file. Other information such as the public access URL and original file name is optional.
|
|
4552
|
+
* - 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 the folder belongs to the invoker\\"s personal folder.
|
|
4553
|
+
* - Multiple authentication methods (AK, BearerToken, and APP) are supported for security authentication.
|
|
4554
|
+
* - The operation type is write, and operation logs are recorded for subsequent auditing.
|
|
4147
4555
|
*
|
|
4148
4556
|
* @param request - SendChatMessageRequest
|
|
4149
4557
|
* @returns SendChatMessageResponse
|
|
@@ -4443,16 +4851,16 @@ export default class Client extends OpenApi {
|
|
|
4443
4851
|
*/
|
|
4444
4852
|
updateDirectory(request: $_model.UpdateDirectoryRequest): Promise<$_model.UpdateDirectoryResponse>;
|
|
4445
4853
|
/**
|
|
4446
|
-
*
|
|
4854
|
+
* Updates the basic information of a knowledge graph.
|
|
4447
4855
|
*
|
|
4448
4856
|
* @remarks
|
|
4449
|
-
*
|
|
4450
|
-
* displayName
|
|
4451
|
-
*
|
|
4452
|
-
* - ERR.GraphSchema.QuickUpdateNoFieldsToUpdate:
|
|
4453
|
-
* - ERR.GraphSchema.GraphNameInvalid:
|
|
4454
|
-
* - ERR.GraphSchema.GraphSchemaNotFound:
|
|
4455
|
-
* - ERR.GraphSchema.DisplayNameInvalid:
|
|
4857
|
+
* Updates the metadata of a knowledge graph (displayName / businessProfile) through OpenAPI and synchronously updates the active record.
|
|
4858
|
+
* At least one of displayName and businessProfile must be specified. Otherwise, ERR.GraphSchema.QuickUpdateNoFieldsToUpdate is returned.
|
|
4859
|
+
* Error codes:
|
|
4860
|
+
* - ERR.GraphSchema.QuickUpdateNoFieldsToUpdate: No updatable fields are specified.
|
|
4861
|
+
* - ERR.GraphSchema.GraphNameInvalid: The graph name is invalid.
|
|
4862
|
+
* - ERR.GraphSchema.GraphSchemaNotFound: The graph does not exist.
|
|
4863
|
+
* - ERR.GraphSchema.DisplayNameInvalid: The display name is invalid or duplicate.
|
|
4456
4864
|
*
|
|
4457
4865
|
* @param request - UpdateGraphInfoRequest
|
|
4458
4866
|
* @param headers - map
|
|
@@ -4463,21 +4871,69 @@ export default class Client extends OpenApi {
|
|
|
4463
4871
|
[key: string]: string;
|
|
4464
4872
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateGraphInfoResponse>;
|
|
4465
4873
|
/**
|
|
4466
|
-
*
|
|
4874
|
+
* Updates the basic information of a knowledge graph.
|
|
4467
4875
|
*
|
|
4468
4876
|
* @remarks
|
|
4469
|
-
*
|
|
4470
|
-
* displayName
|
|
4471
|
-
*
|
|
4472
|
-
* - ERR.GraphSchema.QuickUpdateNoFieldsToUpdate:
|
|
4473
|
-
* - ERR.GraphSchema.GraphNameInvalid:
|
|
4474
|
-
* - ERR.GraphSchema.GraphSchemaNotFound:
|
|
4475
|
-
* - ERR.GraphSchema.DisplayNameInvalid:
|
|
4877
|
+
* Updates the metadata of a knowledge graph (displayName / businessProfile) through OpenAPI and synchronously updates the active record.
|
|
4878
|
+
* At least one of displayName and businessProfile must be specified. Otherwise, ERR.GraphSchema.QuickUpdateNoFieldsToUpdate is returned.
|
|
4879
|
+
* Error codes:
|
|
4880
|
+
* - ERR.GraphSchema.QuickUpdateNoFieldsToUpdate: No updatable fields are specified.
|
|
4881
|
+
* - ERR.GraphSchema.GraphNameInvalid: The graph name is invalid.
|
|
4882
|
+
* - ERR.GraphSchema.GraphSchemaNotFound: The graph does not exist.
|
|
4883
|
+
* - ERR.GraphSchema.DisplayNameInvalid: The display name is invalid or duplicate.
|
|
4476
4884
|
*
|
|
4477
4885
|
* @param request - UpdateGraphInfoRequest
|
|
4478
4886
|
* @returns UpdateGraphInfoResponse
|
|
4479
4887
|
*/
|
|
4480
4888
|
updateGraphInfo(request: $_model.UpdateGraphInfoRequest): Promise<$_model.UpdateGraphInfoResponse>;
|
|
4889
|
+
/**
|
|
4890
|
+
* Modifies a folder in the materials section of a collaborative share.
|
|
4891
|
+
*
|
|
4892
|
+
* @remarks
|
|
4893
|
+
* The folder creator or a storage management administrator who is an active member can modify the folder. Modifying the internal root folder or reference folders is prohibited. If description is set to an empty character string, the description is cleared. If description is set to null or omitted, the description remains unchanged. At least one of name or description must be non-null.
|
|
4894
|
+
*
|
|
4895
|
+
* @param request - UpdateGroupDirectoryRequest
|
|
4896
|
+
* @param headers - map
|
|
4897
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4898
|
+
* @returns UpdateGroupDirectoryResponse
|
|
4899
|
+
*/
|
|
4900
|
+
updateGroupDirectoryWithOptions(request: $_model.UpdateGroupDirectoryRequest, headers: {
|
|
4901
|
+
[key: string]: string;
|
|
4902
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateGroupDirectoryResponse>;
|
|
4903
|
+
/**
|
|
4904
|
+
* Modifies a folder in the materials section of a collaborative share.
|
|
4905
|
+
*
|
|
4906
|
+
* @remarks
|
|
4907
|
+
* The folder creator or a storage management administrator who is an active member can modify the folder. Modifying the internal root folder or reference folders is prohibited. If description is set to an empty character string, the description is cleared. If description is set to null or omitted, the description remains unchanged. At least one of name or description must be non-null.
|
|
4908
|
+
*
|
|
4909
|
+
* @param request - UpdateGroupDirectoryRequest
|
|
4910
|
+
* @returns UpdateGroupDirectoryResponse
|
|
4911
|
+
*/
|
|
4912
|
+
updateGroupDirectory(request: $_model.UpdateGroupDirectoryRequest): Promise<$_model.UpdateGroupDirectoryResponse>;
|
|
4913
|
+
/**
|
|
4914
|
+
* 修改协作空间资料正文
|
|
4915
|
+
*
|
|
4916
|
+
* @remarks
|
|
4917
|
+
* 有效成员且为创建者或空间管理员可编辑物理资料;引用只读。通常支持TEXT及本地txt/md;TEXT去首尾空白,已有skip_parse资料沿用免解析和本地文件扩展名规则。
|
|
4918
|
+
*
|
|
4919
|
+
* @param request - UpdateGroupSourceContentRequest
|
|
4920
|
+
* @param headers - map
|
|
4921
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4922
|
+
* @returns UpdateGroupSourceContentResponse
|
|
4923
|
+
*/
|
|
4924
|
+
updateGroupSourceContentWithOptions(request: $_model.UpdateGroupSourceContentRequest, headers: {
|
|
4925
|
+
[key: string]: string;
|
|
4926
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateGroupSourceContentResponse>;
|
|
4927
|
+
/**
|
|
4928
|
+
* 修改协作空间资料正文
|
|
4929
|
+
*
|
|
4930
|
+
* @remarks
|
|
4931
|
+
* 有效成员且为创建者或空间管理员可编辑物理资料;引用只读。通常支持TEXT及本地txt/md;TEXT去首尾空白,已有skip_parse资料沿用免解析和本地文件扩展名规则。
|
|
4932
|
+
*
|
|
4933
|
+
* @param request - UpdateGroupSourceContentRequest
|
|
4934
|
+
* @returns UpdateGroupSourceContentResponse
|
|
4935
|
+
*/
|
|
4936
|
+
updateGroupSourceContent(request: $_model.UpdateGroupSourceContentRequest): Promise<$_model.UpdateGroupSourceContentResponse>;
|
|
4481
4937
|
/**
|
|
4482
4938
|
* Updates the information of a specified enterprise knowledge base directory, including the name, description, and parent directory.
|
|
4483
4939
|
*
|