@alicloud/winnexo20260512 1.2.0 → 1.4.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 +791 -238
- package/dist/client.js +1508 -279
- package/dist/client.js.map +1 -1
- package/dist/models/BatchRemoveOperatingObjectFavoritesRequest.d.ts +61 -0
- package/dist/models/BatchRemoveOperatingObjectFavoritesRequest.js +69 -0
- package/dist/models/BatchRemoveOperatingObjectFavoritesRequest.js.map +1 -0
- package/dist/models/BatchRemoveOperatingObjectFavoritesResponse.d.ts +19 -0
- package/dist/models/BatchRemoveOperatingObjectFavoritesResponse.js +69 -0
- package/dist/models/BatchRemoveOperatingObjectFavoritesResponse.js.map +1 -0
- package/dist/models/BatchRemoveOperatingObjectFavoritesResponseBody.d.ts +128 -0
- package/dist/models/BatchRemoveOperatingObjectFavoritesResponseBody.js +104 -0
- package/dist/models/BatchRemoveOperatingObjectFavoritesResponseBody.js.map +1 -0
- package/dist/models/BatchRemoveOperatingObjectFavoritesShrinkRequest.d.ts +61 -0
- package/dist/models/BatchRemoveOperatingObjectFavoritesShrinkRequest.js +66 -0
- package/dist/models/BatchRemoveOperatingObjectFavoritesShrinkRequest.js.map +1 -0
- package/dist/models/CheckHealthResponseBody.d.ts +3 -3
- package/dist/models/ClearOperatingObjectFavoritesRequest.d.ts +51 -0
- package/dist/models/ClearOperatingObjectFavoritesRequest.js +64 -0
- package/dist/models/ClearOperatingObjectFavoritesRequest.js.map +1 -0
- package/dist/models/ClearOperatingObjectFavoritesResponse.d.ts +19 -0
- package/dist/models/ClearOperatingObjectFavoritesResponse.js +69 -0
- package/dist/models/ClearOperatingObjectFavoritesResponse.js.map +1 -0
- package/dist/models/ClearOperatingObjectFavoritesResponseBody.d.ts +85 -0
- package/dist/models/ClearOperatingObjectFavoritesResponseBody.js +74 -0
- package/dist/models/ClearOperatingObjectFavoritesResponseBody.js.map +1 -0
- package/dist/models/CreateAnnouncementRequest.d.ts +2 -2
- package/dist/models/CreateAnnouncementResponseBody.d.ts +3 -3
- package/dist/models/CreateAnnouncementShrinkRequest.d.ts +2 -2
- package/dist/models/CreateConversationResponseBody.d.ts +3 -3
- package/dist/models/CreateGraphRequest.d.ts +57 -0
- package/dist/models/CreateGraphRequest.js +66 -0
- package/dist/models/CreateGraphRequest.js.map +1 -0
- package/dist/models/CreateGraphResponse.d.ts +19 -0
- package/dist/models/CreateGraphResponse.js +69 -0
- package/dist/models/CreateGraphResponse.js.map +1 -0
- package/dist/models/CreateGraphResponseBody.d.ts +69 -0
- package/dist/models/CreateGraphResponseBody.js +70 -0
- package/dist/models/CreateGraphResponseBody.js.map +1 -0
- package/dist/models/CreateGroupAliDingChatRequest.d.ts +0 -2
- package/dist/models/CreateGroupAliDingChatRequest.js +0 -2
- package/dist/models/CreateGroupAliDingChatRequest.js.map +1 -1
- package/dist/models/CreateGroupDingtalkChatRequest.d.ts +6 -6
- package/dist/models/CreateGroupDingtalkChatResponseBody.d.ts +4 -4
- package/dist/models/CreateGroupDingtalkChatShrinkRequest.d.ts +6 -6
- package/dist/models/CreateGroupFeishuDocRequest.d.ts +2 -2
- package/dist/models/CreateGroupFeishuDocResponseBody.d.ts +3 -3
- package/dist/models/CreateGroupFeishuDocShrinkRequest.d.ts +2 -2
- package/dist/models/CreateKnowledgeBaseAliDingDocResponseBody.d.ts +1 -1
- package/dist/models/CreatePersonalAliDingMeetingRequest.d.ts +8 -0
- package/dist/models/CreatePersonalAliDingMeetingRequest.js +2 -0
- package/dist/models/CreatePersonalAliDingMeetingRequest.js.map +1 -1
- package/dist/models/CreatePersonalAliDingMeetingResponseBody.d.ts +0 -1
- package/dist/models/CreatePersonalAliDingMeetingResponseBody.js.map +1 -1
- package/dist/models/CreatePersonalAlidingDocRequest.d.ts +8 -0
- package/dist/models/CreatePersonalAlidingDocRequest.js +2 -0
- package/dist/models/CreatePersonalAlidingDocRequest.js.map +1 -1
- package/dist/models/CreatePersonalAlidingDocResponseBody.d.ts +4 -3
- package/dist/models/CreatePersonalAlidingDocResponseBody.js.map +1 -1
- package/dist/models/CreatePersonalAlidingKnowledgeBaseRequest.d.ts +9 -1
- package/dist/models/CreatePersonalAlidingKnowledgeBaseRequest.js +2 -0
- package/dist/models/CreatePersonalAlidingKnowledgeBaseRequest.js.map +1 -1
- package/dist/models/CreatePersonalAlidingKnowledgeBaseResponseBody.d.ts +3 -3
- package/dist/models/CreatePersonalAlidingKnowledgeBaseShrinkRequest.d.ts +8 -0
- package/dist/models/CreatePersonalAlidingKnowledgeBaseShrinkRequest.js +2 -0
- package/dist/models/CreatePersonalAlidingKnowledgeBaseShrinkRequest.js.map +1 -1
- package/dist/models/CreatePersonalDingtalkMeetingResponseBody.d.ts +1 -1
- package/dist/models/CreatePersonalDingtalkMinutesRequest.d.ts +10 -2
- package/dist/models/CreatePersonalDingtalkMinutesRequest.js +2 -0
- package/dist/models/CreatePersonalDingtalkMinutesRequest.js.map +1 -1
- package/dist/models/CreatePersonalDingtalkMinutesResponseBody.d.ts +1 -1
- package/dist/models/CreatePersonalDirectoryRequest.d.ts +2 -2
- package/dist/models/CreatePersonalDirectoryResponseBody.d.ts +4 -4
- package/dist/models/CreatePersonalFeishuMinuteRequest.d.ts +10 -2
- package/dist/models/CreatePersonalFeishuMinuteRequest.js +2 -0
- package/dist/models/CreatePersonalFeishuMinuteRequest.js.map +1 -1
- package/dist/models/CreatePersonalFeishuMinuteResponseBody.d.ts +1 -1
- package/dist/models/CreatePersonalFileRequest.d.ts +8 -0
- package/dist/models/CreatePersonalFileRequest.js +2 -0
- package/dist/models/CreatePersonalFileRequest.js.map +1 -1
- package/dist/models/CreatePersonalTextRequest.d.ts +8 -0
- package/dist/models/CreatePersonalTextRequest.js +2 -0
- package/dist/models/CreatePersonalTextRequest.js.map +1 -1
- package/dist/models/CreatePersonalVoiceMeetingRequest.d.ts +8 -0
- package/dist/models/CreatePersonalVoiceMeetingRequest.js +2 -0
- package/dist/models/CreatePersonalVoiceMeetingRequest.js.map +1 -1
- package/dist/models/CreatePersonalVoiceMeetingResponseBody.d.ts +2 -2
- package/dist/models/CreateTenantDirectoryRequest.d.ts +1 -1
- package/dist/models/CreateTenantDirectoryResponseBody.d.ts +3 -3
- package/dist/models/CreateUserRequest.d.ts +10 -2
- package/dist/models/CreateUserRequest.js +2 -0
- package/dist/models/CreateUserRequest.js.map +1 -1
- package/dist/models/CreateUserShrinkRequest.d.ts +10 -2
- package/dist/models/CreateUserShrinkRequest.js +2 -0
- package/dist/models/CreateUserShrinkRequest.js.map +1 -1
- package/dist/models/CreateUserWithGroupsRequest.d.ts +7 -7
- package/dist/models/CreateUserWithGroupsResponseBody.d.ts +7 -7
- package/dist/models/CreateUserWithGroupsShrinkRequest.d.ts +7 -7
- package/dist/models/DeleteChatSessionRequest.d.ts +2 -2
- package/dist/models/GetAliDingMinutesContentRequest.d.ts +31 -0
- package/dist/models/GetAliDingMinutesContentRequest.js +60 -0
- package/dist/models/GetAliDingMinutesContentRequest.js.map +1 -0
- package/dist/models/GetAliDingMinutesContentResponse.d.ts +19 -0
- package/dist/models/GetAliDingMinutesContentResponse.js +69 -0
- package/dist/models/GetAliDingMinutesContentResponse.js.map +1 -0
- package/dist/models/GetAliDingMinutesContentResponseBody.d.ts +126 -0
- package/dist/models/GetAliDingMinutesContentResponseBody.js +102 -0
- package/dist/models/GetAliDingMinutesContentResponseBody.js.map +1 -0
- package/dist/models/GetChatSessionRequest.d.ts +1 -1
- package/dist/models/GetChatSessionResponseBody.d.ts +6 -6
- package/dist/models/GetGraphDraftAssembledRequest.d.ts +31 -0
- package/dist/models/GetGraphDraftAssembledRequest.js +60 -0
- package/dist/models/GetGraphDraftAssembledRequest.js.map +1 -0
- package/dist/models/GetGraphDraftAssembledResponse.d.ts +19 -0
- package/dist/models/GetGraphDraftAssembledResponse.js +69 -0
- package/dist/models/GetGraphDraftAssembledResponse.js.map +1 -0
- package/dist/models/GetGraphDraftAssembledResponseBody.d.ts +63 -0
- package/dist/models/GetGraphDraftAssembledResponseBody.js +68 -0
- package/dist/models/GetGraphDraftAssembledResponseBody.js.map +1 -0
- package/dist/models/GetGraphSchemaDetailRequest.d.ts +31 -0
- package/dist/models/GetGraphSchemaDetailRequest.js +60 -0
- package/dist/models/GetGraphSchemaDetailRequest.js.map +1 -0
- package/dist/models/GetGraphSchemaDetailResponse.d.ts +19 -0
- package/dist/models/GetGraphSchemaDetailResponse.js +69 -0
- package/dist/models/GetGraphSchemaDetailResponse.js.map +1 -0
- package/dist/models/GetGraphSchemaDetailResponseBody.d.ts +127 -0
- package/dist/models/GetGraphSchemaDetailResponseBody.js +84 -0
- package/dist/models/GetGraphSchemaDetailResponseBody.js.map +1 -0
- package/dist/models/GetScheduledTaskExecutionRecordsRequest.d.ts +11 -11
- package/dist/models/GetScheduledTaskExecutionRecordsResponseBody.d.ts +7 -7
- package/dist/models/GetScheduledTaskUnderstandDetailRequest.d.ts +2 -2
- package/dist/models/GetScheduledTaskUnderstandDetailResponseBody.d.ts +3 -3
- package/dist/models/GetScheduledTaskUnderstandDetailShrinkRequest.d.ts +1 -1
- package/dist/models/GetSkillRunResponseBody.d.ts +2 -2
- package/dist/models/GetSourceRequest.d.ts +1 -1
- package/dist/models/GetSourceResponseBody.d.ts +4 -4
- package/dist/models/GetUserInfoResponseBody.d.ts +4 -4
- package/dist/models/ListActiveAnnouncementsRequest.d.ts +3 -3
- package/dist/models/ListActiveAnnouncementsResponseBody.d.ts +7 -7
- package/dist/models/ListAdminKnowledgeBasesResponseBody.d.ts +10 -10
- package/dist/models/ListAliDingGroupMessagesRequest.d.ts +60 -0
- package/dist/models/ListAliDingGroupMessagesRequest.js +66 -0
- package/dist/models/ListAliDingGroupMessagesRequest.js.map +1 -0
- package/dist/models/ListAliDingGroupMessagesResponse.d.ts +19 -0
- package/dist/models/ListAliDingGroupMessagesResponse.js +69 -0
- package/dist/models/ListAliDingGroupMessagesResponse.js.map +1 -0
- package/dist/models/ListAliDingGroupMessagesResponseBody.d.ts +203 -0
- package/dist/models/ListAliDingGroupMessagesResponseBody.js +138 -0
- package/dist/models/ListAliDingGroupMessagesResponseBody.js.map +1 -0
- package/dist/models/ListAliDingMinutesRequest.d.ts +57 -0
- package/dist/models/ListAliDingMinutesRequest.js +66 -0
- package/dist/models/ListAliDingMinutesRequest.js.map +1 -0
- package/dist/models/ListAliDingMinutesResponse.d.ts +19 -0
- package/dist/models/ListAliDingMinutesResponse.js +69 -0
- package/dist/models/ListAliDingMinutesResponse.js.map +1 -0
- package/dist/models/ListAliDingMinutesResponseBody.d.ts +126 -0
- package/dist/models/ListAliDingMinutesResponseBody.js +102 -0
- package/dist/models/ListAliDingMinutesResponseBody.js.map +1 -0
- package/dist/models/ListAvailableConfigsRequest.d.ts +1 -1
- package/dist/models/ListAvailableConfigsResponseBody.d.ts +3 -3
- package/dist/models/ListBillingRequest.d.ts +8 -8
- package/dist/models/ListBillingResponseBody.d.ts +5 -5
- package/dist/models/ListGraphDraftResourcesRequest.d.ts +31 -0
- package/dist/models/ListGraphDraftResourcesRequest.js +60 -0
- package/dist/models/ListGraphDraftResourcesRequest.js.map +1 -0
- package/dist/models/ListGraphDraftResourcesResponse.d.ts +19 -0
- package/dist/models/ListGraphDraftResourcesResponse.js +69 -0
- package/dist/models/ListGraphDraftResourcesResponse.js.map +1 -0
- package/dist/models/ListGraphDraftResourcesResponseBody.d.ts +184 -0
- package/dist/models/ListGraphDraftResourcesResponseBody.js +114 -0
- package/dist/models/ListGraphDraftResourcesResponseBody.js.map +1 -0
- package/dist/models/ListGraphSchemasRequest.d.ts +37 -0
- package/dist/models/ListGraphSchemasRequest.js +65 -0
- package/dist/models/ListGraphSchemasRequest.js.map +1 -0
- package/dist/models/ListGraphSchemasResponse.d.ts +19 -0
- package/dist/models/ListGraphSchemasResponse.js +69 -0
- package/dist/models/ListGraphSchemasResponse.js.map +1 -0
- package/dist/models/ListGraphSchemasResponseBody.d.ts +145 -0
- package/dist/models/ListGraphSchemasResponseBody.js +107 -0
- package/dist/models/ListGraphSchemasResponseBody.js.map +1 -0
- package/dist/models/ListGraphSchemasShrinkRequest.d.ts +37 -0
- package/dist/models/ListGraphSchemasShrinkRequest.js +62 -0
- package/dist/models/ListGraphSchemasShrinkRequest.js.map +1 -0
- package/dist/models/ListOperatingObjectFavoritesRequest.d.ts +67 -0
- package/dist/models/ListOperatingObjectFavoritesRequest.js +68 -0
- package/dist/models/ListOperatingObjectFavoritesRequest.js.map +1 -0
- package/dist/models/ListOperatingObjectFavoritesResponse.d.ts +19 -0
- package/dist/models/ListOperatingObjectFavoritesResponse.js +69 -0
- package/dist/models/ListOperatingObjectFavoritesResponse.js.map +1 -0
- package/dist/models/ListOperatingObjectFavoritesResponseBody.d.ts +158 -0
- package/dist/models/ListOperatingObjectFavoritesResponseBody.js +110 -0
- package/dist/models/ListOperatingObjectFavoritesResponseBody.js.map +1 -0
- package/dist/models/ListOutputFilesRequest.d.ts +3 -3
- package/dist/models/ListOutputFilesResponseBody.d.ts +2 -2
- package/dist/models/ListPersonalDirectoryContentsRequest.d.ts +5 -5
- package/dist/models/ListPersonalDirectoryContentsResponseBody.d.ts +6 -6
- package/dist/models/ListPersonalDirectoryContentsShrinkRequest.d.ts +5 -5
- package/dist/models/ListScheduledTasksRequest.d.ts +3 -3
- package/dist/models/ListScheduledTasksResponseBody.d.ts +7 -7
- package/dist/models/ListScheduledTasksShrinkRequest.d.ts +3 -3
- package/dist/models/ListSkillsRequest.d.ts +2 -2
- package/dist/models/ListSkillsResponseBody.d.ts +3 -3
- package/dist/models/ListSkillsShrinkRequest.d.ts +2 -2
- package/dist/models/ListUserVisibleKnowledgeBasesRequest.d.ts +3 -3
- package/dist/models/ListUserVisibleKnowledgeBasesResponseBody.d.ts +6 -6
- package/dist/models/ListVisibleKnowledgeBasesHeaders.d.ts +1 -1
- package/dist/models/ListVisibleKnowledgeBasesResponseBody.d.ts +7 -7
- package/dist/models/OfflineAnnouncementRequest.d.ts +1 -1
- package/dist/models/OfflineAnnouncementResponseBody.d.ts +1 -1
- package/dist/models/QueryPrimaryObjectDataRequest.d.ts +4 -4
- package/dist/models/QueryPrimaryObjectDataResponseBody.d.ts +2 -2
- package/dist/models/RecommendNextActionsRequest.d.ts +2 -2
- package/dist/models/RecommendNextActionsResponseBody.d.ts +3 -3
- package/dist/models/RetryDirectoryFailedSourcesRequest.d.ts +1 -1
- package/dist/models/RetryDirectoryFailedSourcesResponseBody.d.ts +2 -2
- package/dist/models/RetryKnowledgeBaseFailedSourcesResponseBody.d.ts +4 -4
- package/dist/models/RevertGraphDraftResourceRequest.d.ts +39 -0
- package/dist/models/RevertGraphDraftResourceRequest.js +62 -0
- package/dist/models/RevertGraphDraftResourceRequest.js.map +1 -0
- package/dist/models/RevertGraphDraftResourceResponse.d.ts +19 -0
- package/dist/models/RevertGraphDraftResourceResponse.js +69 -0
- package/dist/models/RevertGraphDraftResourceResponse.js.map +1 -0
- package/dist/models/RevertGraphDraftResourceResponseBody.d.ts +47 -0
- package/dist/models/RevertGraphDraftResourceResponseBody.js +64 -0
- package/dist/models/RevertGraphDraftResourceResponseBody.js.map +1 -0
- package/dist/models/SaveGraphDraftResourceRequest.d.ts +71 -0
- package/dist/models/SaveGraphDraftResourceRequest.js +68 -0
- package/dist/models/SaveGraphDraftResourceRequest.js.map +1 -0
- package/dist/models/SaveGraphDraftResourceResponse.d.ts +19 -0
- package/dist/models/SaveGraphDraftResourceResponse.js +69 -0
- package/dist/models/SaveGraphDraftResourceResponse.js.map +1 -0
- package/dist/models/SaveGraphDraftResourceResponseBody.d.ts +101 -0
- package/dist/models/SaveGraphDraftResourceResponseBody.js +78 -0
- package/dist/models/SaveGraphDraftResourceResponseBody.js.map +1 -0
- package/dist/models/SearchAliDingGroupChatsRequest.d.ts +55 -0
- package/dist/models/SearchAliDingGroupChatsRequest.js +66 -0
- package/dist/models/SearchAliDingGroupChatsRequest.js.map +1 -0
- package/dist/models/SearchAliDingGroupChatsResponse.d.ts +19 -0
- package/dist/models/SearchAliDingGroupChatsResponse.js +69 -0
- package/dist/models/SearchAliDingGroupChatsResponse.js.map +1 -0
- package/dist/models/SearchAliDingGroupChatsResponseBody.d.ts +98 -0
- package/dist/models/SearchAliDingGroupChatsResponseBody.js +96 -0
- package/dist/models/SearchAliDingGroupChatsResponseBody.js.map +1 -0
- package/dist/models/SendAsyncChatMessageRequest.d.ts +8 -0
- package/dist/models/SendAsyncChatMessageRequest.js +2 -0
- package/dist/models/SendAsyncChatMessageRequest.js.map +1 -1
- package/dist/models/SendAsyncChatMessageResponseBody.d.ts +1 -1
- package/dist/models/SendAsyncChatMessageShrinkRequest.d.ts +8 -0
- package/dist/models/SendAsyncChatMessageShrinkRequest.js +2 -0
- package/dist/models/SendAsyncChatMessageShrinkRequest.js.map +1 -1
- package/dist/models/SendChatMessageRequest.d.ts +11 -3
- package/dist/models/SendChatMessageRequest.js +2 -0
- package/dist/models/SendChatMessageRequest.js.map +1 -1
- package/dist/models/SendChatMessageShrinkRequest.d.ts +11 -3
- package/dist/models/SendChatMessageShrinkRequest.js +2 -0
- package/dist/models/SendChatMessageShrinkRequest.js.map +1 -1
- package/dist/models/StreamChatMessageRequest.d.ts +2 -2
- package/dist/models/StreamChatMessageResponseBody.d.ts +17 -1
- package/dist/models/StreamChatMessageResponseBody.js +4 -0
- package/dist/models/StreamChatMessageResponseBody.js.map +1 -1
- package/dist/models/TranscribeChatVoiceAdvanceRequest.d.ts +60 -0
- package/dist/models/TranscribeChatVoiceAdvanceRequest.js +63 -0
- package/dist/models/TranscribeChatVoiceAdvanceRequest.js.map +1 -0
- package/dist/models/TranscribeChatVoiceRequest.d.ts +59 -0
- package/dist/models/TranscribeChatVoiceRequest.js +64 -0
- package/dist/models/TranscribeChatVoiceRequest.js.map +1 -0
- package/dist/models/TranscribeChatVoiceResponse.d.ts +19 -0
- package/dist/models/TranscribeChatVoiceResponse.js +69 -0
- package/dist/models/TranscribeChatVoiceResponse.js.map +1 -0
- package/dist/models/TranscribeChatVoiceResponseBody.d.ts +45 -0
- package/dist/models/TranscribeChatVoiceResponseBody.js +64 -0
- package/dist/models/TranscribeChatVoiceResponseBody.js.map +1 -0
- package/dist/models/UpdateChatSessionResponseBody.d.ts +1 -1
- package/dist/models/UpdateGraphInfoRequest.d.ts +47 -0
- package/dist/models/UpdateGraphInfoRequest.js +64 -0
- package/dist/models/UpdateGraphInfoRequest.js.map +1 -0
- package/dist/models/UpdateGraphInfoResponse.d.ts +19 -0
- package/dist/models/UpdateGraphInfoResponse.js +69 -0
- package/dist/models/UpdateGraphInfoResponse.js.map +1 -0
- package/dist/models/UpdateGraphInfoResponseBody.d.ts +69 -0
- package/dist/models/UpdateGraphInfoResponseBody.js +70 -0
- package/dist/models/UpdateGraphInfoResponseBody.js.map +1 -0
- package/dist/models/UpdateUserInfoRequest.d.ts +3 -3
- package/dist/models/UpdateUserInfoResponseBody.d.ts +10 -10
- package/dist/models/UploadChatFileAdvanceRequest.d.ts +13 -13
- package/dist/models/UploadChatFileRequest.d.ts +13 -13
- package/dist/models/UploadChatFileResponseBody.d.ts +13 -13
- package/dist/models/model.d.ts +60 -0
- package/dist/models/model.js +132 -11
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +1664 -321
- package/src/models/BatchRemoveOperatingObjectFavoritesRequest.ts +85 -0
- package/src/models/BatchRemoveOperatingObjectFavoritesResponse.ts +40 -0
- package/src/models/BatchRemoveOperatingObjectFavoritesResponseBody.ts +176 -0
- package/src/models/BatchRemoveOperatingObjectFavoritesShrinkRequest.ts +82 -0
- package/src/models/CheckHealthResponseBody.ts +3 -3
- package/src/models/ClearOperatingObjectFavoritesRequest.ts +70 -0
- package/src/models/ClearOperatingObjectFavoritesResponse.ts +40 -0
- package/src/models/ClearOperatingObjectFavoritesResponseBody.ts +114 -0
- package/src/models/CreateAnnouncementRequest.ts +2 -2
- package/src/models/CreateAnnouncementResponseBody.ts +3 -3
- package/src/models/CreateAnnouncementShrinkRequest.ts +2 -2
- package/src/models/CreateConversationResponseBody.ts +3 -3
- package/src/models/CreateGraphRequest.ts +78 -0
- package/src/models/CreateGraphResponse.ts +40 -0
- package/src/models/CreateGraphResponseBody.ts +94 -0
- package/src/models/CreateGroupAliDingChatRequest.ts +0 -2
- package/src/models/CreateGroupDingtalkChatRequest.ts +6 -6
- package/src/models/CreateGroupDingtalkChatResponseBody.ts +4 -4
- package/src/models/CreateGroupDingtalkChatShrinkRequest.ts +6 -6
- package/src/models/CreateGroupFeishuDocRequest.ts +2 -2
- package/src/models/CreateGroupFeishuDocResponseBody.ts +3 -3
- package/src/models/CreateGroupFeishuDocShrinkRequest.ts +2 -2
- package/src/models/CreateKnowledgeBaseAliDingDocResponseBody.ts +1 -1
- package/src/models/CreatePersonalAliDingMeetingRequest.ts +10 -0
- package/src/models/CreatePersonalAliDingMeetingResponseBody.ts +0 -1
- package/src/models/CreatePersonalAlidingDocRequest.ts +10 -0
- package/src/models/CreatePersonalAlidingDocResponseBody.ts +4 -3
- package/src/models/CreatePersonalAlidingKnowledgeBaseRequest.ts +11 -1
- package/src/models/CreatePersonalAlidingKnowledgeBaseResponseBody.ts +3 -3
- package/src/models/CreatePersonalAlidingKnowledgeBaseShrinkRequest.ts +10 -0
- package/src/models/CreatePersonalDingtalkMeetingResponseBody.ts +1 -1
- package/src/models/CreatePersonalDingtalkMinutesRequest.ts +12 -2
- package/src/models/CreatePersonalDingtalkMinutesResponseBody.ts +1 -1
- package/src/models/CreatePersonalDirectoryRequest.ts +2 -2
- package/src/models/CreatePersonalDirectoryResponseBody.ts +4 -4
- package/src/models/CreatePersonalFeishuMinuteRequest.ts +12 -2
- package/src/models/CreatePersonalFeishuMinuteResponseBody.ts +1 -1
- package/src/models/CreatePersonalFileRequest.ts +10 -0
- package/src/models/CreatePersonalTextRequest.ts +10 -0
- package/src/models/CreatePersonalVoiceMeetingRequest.ts +10 -0
- package/src/models/CreatePersonalVoiceMeetingResponseBody.ts +2 -2
- package/src/models/CreateTenantDirectoryRequest.ts +1 -1
- package/src/models/CreateTenantDirectoryResponseBody.ts +3 -3
- package/src/models/CreateUserRequest.ts +12 -2
- package/src/models/CreateUserShrinkRequest.ts +12 -2
- package/src/models/CreateUserWithGroupsRequest.ts +7 -7
- package/src/models/CreateUserWithGroupsResponseBody.ts +7 -7
- package/src/models/CreateUserWithGroupsShrinkRequest.ts +7 -7
- package/src/models/DeleteChatSessionRequest.ts +2 -2
- package/src/models/GetAliDingMinutesContentRequest.ts +46 -0
- package/src/models/GetAliDingMinutesContentResponse.ts +40 -0
- package/src/models/GetAliDingMinutesContentResponseBody.ts +174 -0
- package/src/models/GetChatSessionRequest.ts +1 -1
- package/src/models/GetChatSessionResponseBody.ts +6 -6
- package/src/models/GetGraphDraftAssembledRequest.ts +46 -0
- package/src/models/GetGraphDraftAssembledResponse.ts +40 -0
- package/src/models/GetGraphDraftAssembledResponseBody.ts +86 -0
- package/src/models/GetGraphSchemaDetailRequest.ts +46 -0
- package/src/models/GetGraphSchemaDetailResponse.ts +40 -0
- package/src/models/GetGraphSchemaDetailResponseBody.ts +166 -0
- package/src/models/GetScheduledTaskExecutionRecordsRequest.ts +11 -11
- package/src/models/GetScheduledTaskExecutionRecordsResponseBody.ts +7 -7
- package/src/models/GetScheduledTaskUnderstandDetailRequest.ts +2 -2
- package/src/models/GetScheduledTaskUnderstandDetailResponseBody.ts +3 -3
- package/src/models/GetScheduledTaskUnderstandDetailShrinkRequest.ts +1 -1
- package/src/models/GetSkillRunResponseBody.ts +2 -2
- package/src/models/GetSourceRequest.ts +1 -1
- package/src/models/GetSourceResponseBody.ts +4 -4
- package/src/models/GetUserInfoResponseBody.ts +4 -4
- package/src/models/ListActiveAnnouncementsRequest.ts +3 -3
- package/src/models/ListActiveAnnouncementsResponseBody.ts +7 -7
- package/src/models/ListAdminKnowledgeBasesResponseBody.ts +10 -10
- package/src/models/ListAliDingGroupMessagesRequest.ts +81 -0
- package/src/models/ListAliDingGroupMessagesResponse.ts +40 -0
- package/src/models/ListAliDingGroupMessagesResponseBody.ts +278 -0
- package/src/models/ListAliDingMinutesRequest.ts +78 -0
- package/src/models/ListAliDingMinutesResponse.ts +40 -0
- package/src/models/ListAliDingMinutesResponseBody.ts +174 -0
- package/src/models/ListAvailableConfigsRequest.ts +1 -1
- package/src/models/ListAvailableConfigsResponseBody.ts +3 -3
- package/src/models/ListBillingRequest.ts +8 -8
- package/src/models/ListBillingResponseBody.ts +5 -5
- package/src/models/ListGraphDraftResourcesRequest.ts +46 -0
- package/src/models/ListGraphDraftResourcesResponse.ts +40 -0
- package/src/models/ListGraphDraftResourcesResponseBody.ts +244 -0
- package/src/models/ListGraphSchemasRequest.ts +57 -0
- package/src/models/ListGraphSchemasResponse.ts +40 -0
- package/src/models/ListGraphSchemasResponseBody.ts +198 -0
- package/src/models/ListGraphSchemasShrinkRequest.ts +54 -0
- package/src/models/ListOperatingObjectFavoritesRequest.ts +90 -0
- package/src/models/ListOperatingObjectFavoritesResponse.ts +40 -0
- package/src/models/ListOperatingObjectFavoritesResponseBody.ts +214 -0
- package/src/models/ListOutputFilesRequest.ts +3 -3
- package/src/models/ListOutputFilesResponseBody.ts +2 -2
- package/src/models/ListPersonalDirectoryContentsRequest.ts +5 -5
- package/src/models/ListPersonalDirectoryContentsResponseBody.ts +6 -6
- package/src/models/ListPersonalDirectoryContentsShrinkRequest.ts +5 -5
- package/src/models/ListScheduledTasksRequest.ts +3 -3
- package/src/models/ListScheduledTasksResponseBody.ts +7 -7
- package/src/models/ListScheduledTasksShrinkRequest.ts +3 -3
- package/src/models/ListSkillsRequest.ts +2 -2
- package/src/models/ListSkillsResponseBody.ts +3 -3
- package/src/models/ListSkillsShrinkRequest.ts +2 -2
- package/src/models/ListUserVisibleKnowledgeBasesRequest.ts +3 -3
- package/src/models/ListUserVisibleKnowledgeBasesResponseBody.ts +6 -6
- package/src/models/ListVisibleKnowledgeBasesHeaders.ts +1 -1
- package/src/models/ListVisibleKnowledgeBasesResponseBody.ts +7 -7
- package/src/models/OfflineAnnouncementRequest.ts +1 -1
- package/src/models/OfflineAnnouncementResponseBody.ts +1 -1
- package/src/models/QueryPrimaryObjectDataRequest.ts +4 -4
- package/src/models/QueryPrimaryObjectDataResponseBody.ts +2 -2
- package/src/models/RecommendNextActionsRequest.ts +2 -2
- package/src/models/RecommendNextActionsResponseBody.ts +3 -3
- package/src/models/RetryDirectoryFailedSourcesRequest.ts +1 -1
- package/src/models/RetryDirectoryFailedSourcesResponseBody.ts +2 -2
- package/src/models/RetryKnowledgeBaseFailedSourcesResponseBody.ts +4 -4
- package/src/models/RevertGraphDraftResourceRequest.ts +56 -0
- package/src/models/RevertGraphDraftResourceResponse.ts +40 -0
- package/src/models/RevertGraphDraftResourceResponseBody.ts +66 -0
- package/src/models/SaveGraphDraftResourceRequest.ts +94 -0
- package/src/models/SaveGraphDraftResourceResponse.ts +40 -0
- package/src/models/SaveGraphDraftResourceResponseBody.ts +134 -0
- package/src/models/SearchAliDingGroupChatsRequest.ts +76 -0
- package/src/models/SearchAliDingGroupChatsResponse.ts +40 -0
- package/src/models/SearchAliDingGroupChatsResponseBody.ts +140 -0
- package/src/models/SendAsyncChatMessageRequest.ts +10 -0
- package/src/models/SendAsyncChatMessageResponseBody.ts +1 -1
- package/src/models/SendAsyncChatMessageShrinkRequest.ts +10 -0
- package/src/models/SendChatMessageRequest.ts +13 -3
- package/src/models/SendChatMessageShrinkRequest.ts +13 -3
- package/src/models/StreamChatMessageRequest.ts +2 -2
- package/src/models/StreamChatMessageResponseBody.ts +21 -1
- package/src/models/TranscribeChatVoiceAdvanceRequest.ts +79 -0
- package/src/models/TranscribeChatVoiceRequest.ts +78 -0
- package/src/models/TranscribeChatVoiceResponse.ts +40 -0
- package/src/models/TranscribeChatVoiceResponseBody.ts +64 -0
- package/src/models/UpdateChatSessionResponseBody.ts +1 -1
- package/src/models/UpdateGraphInfoRequest.ts +66 -0
- package/src/models/UpdateGraphInfoResponse.ts +40 -0
- package/src/models/UpdateGraphInfoResponseBody.ts +94 -0
- package/src/models/UpdateUserInfoRequest.ts +3 -3
- package/src/models/UpdateUserInfoResponseBody.ts +10 -10
- package/src/models/UploadChatFileAdvanceRequest.ts +13 -13
- package/src/models/UploadChatFileRequest.ts +13 -13
- package/src/models/UploadChatFileResponseBody.ts +13 -13
- package/src/models/model.ts +60 -0
package/dist/client.d.ts
CHANGED
|
@@ -45,6 +45,30 @@ export default class Client extends OpenApi {
|
|
|
45
45
|
* @returns AddUserGroupMembersResponse
|
|
46
46
|
*/
|
|
47
47
|
addUserGroupMembers(request: $_model.AddUserGroupMembersRequest): Promise<$_model.AddUserGroupMembersResponse>;
|
|
48
|
+
/**
|
|
49
|
+
* Batch cancels digital employee precise object type subscriptions.
|
|
50
|
+
*
|
|
51
|
+
* @remarks
|
|
52
|
+
* Idempotently cancels subscriptions along three independent dimensions: graphName, operatingObjectName, and objectType. The input array accepts 1 to 200 items per request. Each item must be a non-empty string with a maximum length of 128 characters. After server-side validation, items are deduplicated while preserving order. Non-string values, values that exceed the length limit, or arrays that exceed the size limit are rejected. The delete operation, per-item status tracking, and remaining valid count are completed within a single transaction. To safely cancel all subscriptions, you must also invoke ClearOperatingObjectFavorites to clean up historical, MISSING, or permission-hidden records that are invisible in the list, and then read back to confirm that total is 0.
|
|
53
|
+
*
|
|
54
|
+
* @param tmpReq - BatchRemoveOperatingObjectFavoritesRequest
|
|
55
|
+
* @param headers - map
|
|
56
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
57
|
+
* @returns BatchRemoveOperatingObjectFavoritesResponse
|
|
58
|
+
*/
|
|
59
|
+
batchRemoveOperatingObjectFavoritesWithOptions(tmpReq: $_model.BatchRemoveOperatingObjectFavoritesRequest, headers: {
|
|
60
|
+
[key: string]: string;
|
|
61
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.BatchRemoveOperatingObjectFavoritesResponse>;
|
|
62
|
+
/**
|
|
63
|
+
* Batch cancels digital employee precise object type subscriptions.
|
|
64
|
+
*
|
|
65
|
+
* @remarks
|
|
66
|
+
* Idempotently cancels subscriptions along three independent dimensions: graphName, operatingObjectName, and objectType. The input array accepts 1 to 200 items per request. Each item must be a non-empty string with a maximum length of 128 characters. After server-side validation, items are deduplicated while preserving order. Non-string values, values that exceed the length limit, or arrays that exceed the size limit are rejected. The delete operation, per-item status tracking, and remaining valid count are completed within a single transaction. To safely cancel all subscriptions, you must also invoke ClearOperatingObjectFavorites to clean up historical, MISSING, or permission-hidden records that are invisible in the list, and then read back to confirm that total is 0.
|
|
67
|
+
*
|
|
68
|
+
* @param request - BatchRemoveOperatingObjectFavoritesRequest
|
|
69
|
+
* @returns BatchRemoveOperatingObjectFavoritesResponse
|
|
70
|
+
*/
|
|
71
|
+
batchRemoveOperatingObjectFavorites(request: $_model.BatchRemoveOperatingObjectFavoritesRequest): Promise<$_model.BatchRemoveOperatingObjectFavoritesResponse>;
|
|
48
72
|
/**
|
|
49
73
|
* Performs a service health check.
|
|
50
74
|
*
|
|
@@ -63,15 +87,39 @@ export default class Client extends OpenApi {
|
|
|
63
87
|
* @returns CheckHealthResponse
|
|
64
88
|
*/
|
|
65
89
|
checkHealth(request: $_model.CheckHealthRequest): Promise<$_model.CheckHealthResponse>;
|
|
90
|
+
/**
|
|
91
|
+
* Clears all follows of a specific object type for a digital employee.
|
|
92
|
+
*
|
|
93
|
+
* @remarks
|
|
94
|
+
* Clears all persisted follows for the current calling user across three independent dimensions: graphName, operatingObjectName, and objectType. This includes historical records, MISSING records, and permission-hidden records that are not visible in the list. The operation does not return invisible object IDs and verifies that the remaining physical record count is zero within the same transaction.
|
|
95
|
+
*
|
|
96
|
+
* @param request - ClearOperatingObjectFavoritesRequest
|
|
97
|
+
* @param headers - map
|
|
98
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
99
|
+
* @returns ClearOperatingObjectFavoritesResponse
|
|
100
|
+
*/
|
|
101
|
+
clearOperatingObjectFavoritesWithOptions(request: $_model.ClearOperatingObjectFavoritesRequest, headers: {
|
|
102
|
+
[key: string]: string;
|
|
103
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.ClearOperatingObjectFavoritesResponse>;
|
|
104
|
+
/**
|
|
105
|
+
* Clears all follows of a specific object type for a digital employee.
|
|
106
|
+
*
|
|
107
|
+
* @remarks
|
|
108
|
+
* Clears all persisted follows for the current calling user across three independent dimensions: graphName, operatingObjectName, and objectType. This includes historical records, MISSING records, and permission-hidden records that are not visible in the list. The operation does not return invisible object IDs and verifies that the remaining physical record count is zero within the same transaction.
|
|
109
|
+
*
|
|
110
|
+
* @param request - ClearOperatingObjectFavoritesRequest
|
|
111
|
+
* @returns ClearOperatingObjectFavoritesResponse
|
|
112
|
+
*/
|
|
113
|
+
clearOperatingObjectFavorites(request: $_model.ClearOperatingObjectFavoritesRequest): Promise<$_model.ClearOperatingObjectFavoritesResponse>;
|
|
66
114
|
/**
|
|
67
115
|
* Creates a service notice.
|
|
68
116
|
*
|
|
69
117
|
* @remarks
|
|
70
|
-
* ##
|
|
71
|
-
* Creates a service notice. The caller
|
|
118
|
+
* ## Request description
|
|
119
|
+
* Creates a service notice. The caller must be mapped to a real platform user in the system O&M tenant and must have announcement management permissions.
|
|
72
120
|
* - `priority`: The importance level of the notice. Valid values: URGENT, IMPORTANT, and GENERAL.
|
|
73
121
|
* - `targetTenantIds` / `targetRoleCodes`: Used only when the corresponding target mode is set to SPECIFIED. Pass values as a JSON array.
|
|
74
|
-
* - `effectiveStart` / `effectiveEnd`: ISO 8601
|
|
122
|
+
* - `effectiveStart` / `effectiveEnd`: ISO 8601 time with time zone.
|
|
75
123
|
* - `publishNow`: If set to true, the notice is published immediately after creation. Otherwise, it is saved as a draft.
|
|
76
124
|
*
|
|
77
125
|
* @param tmpReq - CreateAnnouncementRequest
|
|
@@ -86,11 +134,11 @@ export default class Client extends OpenApi {
|
|
|
86
134
|
* Creates a service notice.
|
|
87
135
|
*
|
|
88
136
|
* @remarks
|
|
89
|
-
* ##
|
|
90
|
-
* Creates a service notice. The caller
|
|
137
|
+
* ## Request description
|
|
138
|
+
* Creates a service notice. The caller must be mapped to a real platform user in the system O&M tenant and must have announcement management permissions.
|
|
91
139
|
* - `priority`: The importance level of the notice. Valid values: URGENT, IMPORTANT, and GENERAL.
|
|
92
140
|
* - `targetTenantIds` / `targetRoleCodes`: Used only when the corresponding target mode is set to SPECIFIED. Pass values as a JSON array.
|
|
93
|
-
* - `effectiveStart` / `effectiveEnd`: ISO 8601
|
|
141
|
+
* - `effectiveStart` / `effectiveEnd`: ISO 8601 time with time zone.
|
|
94
142
|
* - `publishNow`: If set to true, the notice is published immediately after creation. Otherwise, it is saved as a draft.
|
|
95
143
|
*
|
|
96
144
|
* @param request - CreateAnnouncementRequest
|
|
@@ -149,6 +197,52 @@ export default class Client extends OpenApi {
|
|
|
149
197
|
* @returns CreateCustomOrgResponse
|
|
150
198
|
*/
|
|
151
199
|
createCustomOrg(request: $_model.CreateCustomOrgRequest): Promise<$_model.CreateCustomOrgResponse>;
|
|
200
|
+
/**
|
|
201
|
+
* 创建语义图谱并绑定数据源
|
|
202
|
+
*
|
|
203
|
+
* @remarks
|
|
204
|
+
* OpenAPI 创建语义图谱(同步快建占位记录 0.0.0)并在创建时绑定数据源。
|
|
205
|
+
* 内容编辑走个人草稿接口,正式发布走产品控制台。
|
|
206
|
+
* 业务编排:
|
|
207
|
+
* 1. 权限校验(个人 Token 校验语义管理权限;部署/系统级 Token 放行)
|
|
208
|
+
* 2. 同步落库 active 占位记录(schemaVersion 固定 0.0.0)并绑定数据源;
|
|
209
|
+
* 不写 history、不触发 runtime 重建
|
|
210
|
+
* 3. 图谱内容后续经个人草稿编辑,在控制台正式发布
|
|
211
|
+
* 错误码:
|
|
212
|
+
* - ERR.GraphSchema.GraphNameInvalid: 图谱名称不合法
|
|
213
|
+
* - ERR.GraphSchema.GraphNameDuplicated: 图谱名称已存在
|
|
214
|
+
* - ERR.GraphSchema.DisplayNameInvalid: 展示名不合法或重复
|
|
215
|
+
* - ERR.GraphDataSource.*: 数据源不存在 / 非 RDB 类不可绑定
|
|
216
|
+
*
|
|
217
|
+
* @param request - CreateGraphRequest
|
|
218
|
+
* @param headers - map
|
|
219
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
220
|
+
* @returns CreateGraphResponse
|
|
221
|
+
*/
|
|
222
|
+
createGraphWithOptions(request: $_model.CreateGraphRequest, headers: {
|
|
223
|
+
[key: string]: string;
|
|
224
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.CreateGraphResponse>;
|
|
225
|
+
/**
|
|
226
|
+
* 创建语义图谱并绑定数据源
|
|
227
|
+
*
|
|
228
|
+
* @remarks
|
|
229
|
+
* OpenAPI 创建语义图谱(同步快建占位记录 0.0.0)并在创建时绑定数据源。
|
|
230
|
+
* 内容编辑走个人草稿接口,正式发布走产品控制台。
|
|
231
|
+
* 业务编排:
|
|
232
|
+
* 1. 权限校验(个人 Token 校验语义管理权限;部署/系统级 Token 放行)
|
|
233
|
+
* 2. 同步落库 active 占位记录(schemaVersion 固定 0.0.0)并绑定数据源;
|
|
234
|
+
* 不写 history、不触发 runtime 重建
|
|
235
|
+
* 3. 图谱内容后续经个人草稿编辑,在控制台正式发布
|
|
236
|
+
* 错误码:
|
|
237
|
+
* - ERR.GraphSchema.GraphNameInvalid: 图谱名称不合法
|
|
238
|
+
* - ERR.GraphSchema.GraphNameDuplicated: 图谱名称已存在
|
|
239
|
+
* - ERR.GraphSchema.DisplayNameInvalid: 展示名不合法或重复
|
|
240
|
+
* - ERR.GraphDataSource.*: 数据源不存在 / 非 RDB 类不可绑定
|
|
241
|
+
*
|
|
242
|
+
* @param request - CreateGraphRequest
|
|
243
|
+
* @returns CreateGraphResponse
|
|
244
|
+
*/
|
|
245
|
+
createGraph(request: $_model.CreateGraphRequest): Promise<$_model.CreateGraphResponse>;
|
|
152
246
|
/**
|
|
153
247
|
* Creates a DingTalk group chat knowledge resource in a group.
|
|
154
248
|
*
|
|
@@ -184,15 +278,15 @@ export default class Client extends OpenApi {
|
|
|
184
278
|
*/
|
|
185
279
|
createGroupAliDingChat(request: $_model.CreateGroupAliDingChatRequest): Promise<$_model.CreateGroupAliDingChatResponse>;
|
|
186
280
|
/**
|
|
187
|
-
* Creates a
|
|
281
|
+
* Creates knowledge from a standard DingTalk group chat for a group.
|
|
188
282
|
*
|
|
189
283
|
* @remarks
|
|
190
|
-
* ##
|
|
191
|
-
* - Connects a specified DingTalk chat to the knowledge base
|
|
284
|
+
* ## Request description
|
|
285
|
+
* - Connects a specified standard DingTalk group chat to the group knowledge base that the caller has joined.
|
|
192
286
|
* - The resource type is fixed to DINGTALK, the scope is fixed to GROUP, and the owning user is parsed from the gateway authentication identity.
|
|
193
287
|
* - groupId, chatId, and historyStartTime are required.
|
|
194
|
-
* - updateFrequency can be configured
|
|
195
|
-
* - The server verifies the caller\\"s group
|
|
288
|
+
* - updateFrequency can be configured through preset or a five-segment cron expression for subsequent synchronization frequency.
|
|
289
|
+
* - The server verifies the caller\\"s group member identity and target group directory permissions. The same group chat can be created as different Sources.
|
|
196
290
|
*
|
|
197
291
|
* @param tmpReq - CreateGroupDingtalkChatRequest
|
|
198
292
|
* @param headers - map
|
|
@@ -203,15 +297,15 @@ export default class Client extends OpenApi {
|
|
|
203
297
|
[key: string]: string;
|
|
204
298
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.CreateGroupDingtalkChatResponse>;
|
|
205
299
|
/**
|
|
206
|
-
* Creates a
|
|
300
|
+
* Creates knowledge from a standard DingTalk group chat for a group.
|
|
207
301
|
*
|
|
208
302
|
* @remarks
|
|
209
|
-
* ##
|
|
210
|
-
* - Connects a specified DingTalk chat to the knowledge base
|
|
303
|
+
* ## Request description
|
|
304
|
+
* - Connects a specified standard DingTalk group chat to the group knowledge base that the caller has joined.
|
|
211
305
|
* - The resource type is fixed to DINGTALK, the scope is fixed to GROUP, and the owning user is parsed from the gateway authentication identity.
|
|
212
306
|
* - groupId, chatId, and historyStartTime are required.
|
|
213
|
-
* - updateFrequency can be configured
|
|
214
|
-
* - The server verifies the caller\\"s group
|
|
307
|
+
* - updateFrequency can be configured through preset or a five-segment cron expression for subsequent synchronization frequency.
|
|
308
|
+
* - The server verifies the caller\\"s group member identity and target group directory permissions. The same group chat can be created as different Sources.
|
|
215
309
|
*
|
|
216
310
|
* @param request - CreateGroupDingtalkChatRequest
|
|
217
311
|
* @returns CreateGroupDingtalkChatResponse
|
|
@@ -486,12 +580,13 @@ export default class Client extends OpenApi {
|
|
|
486
580
|
*
|
|
487
581
|
* @remarks
|
|
488
582
|
* ## Request description
|
|
489
|
-
* - This API
|
|
583
|
+
* - This API operation adds an AliDing online document to the "My Resources" section of a specified digital employee.
|
|
490
584
|
* - Fixed parameters include `source_type=ONLINE_DOC`, `platform=ALI_DING`, and `scope=PERSONAL`.
|
|
491
|
-
* - If `directoryId` is not provided, the document is attached to the root folder of the current digital employee by default. If provided,
|
|
585
|
+
* - If `directoryId` is not provided, the document is attached to the root folder of the current digital employee by default. If `directoryId` is provided, make sure that the folder belongs to the current user and exists under the current digital employee.
|
|
492
586
|
* - During the invoke process, metering is started and related operation logs are recorded.
|
|
493
587
|
* - For security purposes, `tenant_id` and `user_id` are obtained only from the authentication identity. Values provided by the caller for these fields are ignored.
|
|
494
|
-
* - Any validation or execute failure
|
|
588
|
+
* - Any validation or execute failure throws an exception through the service and is transformed to a POP error code returned to the caller.
|
|
589
|
+
* ## Related operations
|
|
495
590
|
*
|
|
496
591
|
* @param request - CreatePersonalAlidingDocRequest
|
|
497
592
|
* @param headers - map
|
|
@@ -506,28 +601,29 @@ export default class Client extends OpenApi {
|
|
|
506
601
|
*
|
|
507
602
|
* @remarks
|
|
508
603
|
* ## Request description
|
|
509
|
-
* - This API
|
|
604
|
+
* - This API operation adds an AliDing online document to the "My Resources" section of a specified digital employee.
|
|
510
605
|
* - Fixed parameters include `source_type=ONLINE_DOC`, `platform=ALI_DING`, and `scope=PERSONAL`.
|
|
511
|
-
* - If `directoryId` is not provided, the document is attached to the root folder of the current digital employee by default. If provided,
|
|
606
|
+
* - If `directoryId` is not provided, the document is attached to the root folder of the current digital employee by default. If `directoryId` is provided, make sure that the folder belongs to the current user and exists under the current digital employee.
|
|
512
607
|
* - During the invoke process, metering is started and related operation logs are recorded.
|
|
513
608
|
* - For security purposes, `tenant_id` and `user_id` are obtained only from the authentication identity. Values provided by the caller for these fields are ignored.
|
|
514
|
-
* - Any validation or execute failure
|
|
609
|
+
* - Any validation or execute failure throws an exception through the service and is transformed to a POP error code returned to the caller.
|
|
610
|
+
* ## Related operations
|
|
515
611
|
*
|
|
516
612
|
* @param request - CreatePersonalAlidingDocRequest
|
|
517
613
|
* @returns CreatePersonalAlidingDocResponse
|
|
518
614
|
*/
|
|
519
615
|
createPersonalAlidingDoc(request: $_model.CreatePersonalAlidingDocRequest): Promise<$_model.CreatePersonalAlidingDocResponse>;
|
|
520
616
|
/**
|
|
521
|
-
* Adds
|
|
617
|
+
* Adds the entire AliDing knowledge base to the personal resources of the current digital employee.
|
|
522
618
|
*
|
|
523
619
|
* @remarks
|
|
524
620
|
* ## Request description
|
|
525
|
-
* - This API creates an AliDing knowledge base and mounts it
|
|
621
|
+
* - This API creates an AliDing knowledge base and mounts it under the personal resource directory of the specified digital employee.
|
|
526
622
|
* - `platform` is fixed to `ALI_DING`, and `directory_type` is fixed to `PERSONAL`.
|
|
527
623
|
* - If `directoryId` is provided, the system verifies that the directory exists and belongs to the current tenant and is of the personal type.
|
|
528
624
|
* - During creation, the knowledge base root directory is initialized (with the status set to `RUNNING`), and background tasks are dispatched based on the provided synchronization configuration to pull the remote directory tree and create child nodes.
|
|
529
625
|
* - For security purposes, `tenant_id` and `user_id` are obtained only from the authenticated identity. These fields in the request body are ignored.
|
|
530
|
-
* - The synchronization configuration is optional. If enabled, a cron expression
|
|
626
|
+
* - The synchronization configuration is optional. If enabled, a cron expression is required. If not provided or disabled, scheduled synchronization is not performed by default.
|
|
531
627
|
* - The knowledge base name can be customized. If not provided, it is automatically populated after background synchronization.
|
|
532
628
|
* - Multi-value object binding is supported. Related information is serialized and stored in the knowledge base metadata.
|
|
533
629
|
*
|
|
@@ -540,16 +636,16 @@ export default class Client extends OpenApi {
|
|
|
540
636
|
[key: string]: string;
|
|
541
637
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.CreatePersonalAlidingKnowledgeBaseResponse>;
|
|
542
638
|
/**
|
|
543
|
-
* Adds
|
|
639
|
+
* Adds the entire AliDing knowledge base to the personal resources of the current digital employee.
|
|
544
640
|
*
|
|
545
641
|
* @remarks
|
|
546
642
|
* ## Request description
|
|
547
|
-
* - This API creates an AliDing knowledge base and mounts it
|
|
643
|
+
* - This API creates an AliDing knowledge base and mounts it under the personal resource directory of the specified digital employee.
|
|
548
644
|
* - `platform` is fixed to `ALI_DING`, and `directory_type` is fixed to `PERSONAL`.
|
|
549
645
|
* - If `directoryId` is provided, the system verifies that the directory exists and belongs to the current tenant and is of the personal type.
|
|
550
646
|
* - During creation, the knowledge base root directory is initialized (with the status set to `RUNNING`), and background tasks are dispatched based on the provided synchronization configuration to pull the remote directory tree and create child nodes.
|
|
551
647
|
* - For security purposes, `tenant_id` and `user_id` are obtained only from the authenticated identity. These fields in the request body are ignored.
|
|
552
|
-
* - The synchronization configuration is optional. If enabled, a cron expression
|
|
648
|
+
* - The synchronization configuration is optional. If enabled, a cron expression is required. If not provided or disabled, scheduled synchronization is not performed by default.
|
|
553
649
|
* - The knowledge base name can be customized. If not provided, it is automatically populated after background synchronization.
|
|
554
650
|
* - Multi-value object binding is supported. Related information is serialized and stored in the knowledge base metadata.
|
|
555
651
|
*
|
|
@@ -630,13 +726,13 @@ export default class Client extends OpenApi {
|
|
|
630
726
|
*/
|
|
631
727
|
createPersonalDingtalkMeeting(request: $_model.CreatePersonalDingtalkMeetingRequest): Promise<$_model.CreatePersonalDingtalkMeetingResponse>;
|
|
632
728
|
/**
|
|
633
|
-
* Uploads a meeting to the current user\\"s personal knowledge base by using a standard DingTalk Shanji
|
|
729
|
+
* Uploads a meeting to the current user\\"s personal knowledge base by using the URL of a standard DingTalk Shanji note.
|
|
634
730
|
*
|
|
635
731
|
* @remarks
|
|
636
732
|
* ## Request description
|
|
637
|
-
* - This API creates a meeting resource by using a standard DingTalk Shanji link. The collection method is fixed to the DWS corresponding to personal OAuth.
|
|
733
|
+
* - This API creates a meeting resource by using a standard DingTalk Shanji note link. The collection method is fixed to the DWS corresponding to personal OAuth.
|
|
638
734
|
* - `source_type` is fixed to `DINGTALK_MEETING`, and `scope` is fixed to `PERSONAL`.
|
|
639
|
-
* - You must provide a standard DingTalk Shanji link or taskUuid (`shanjiUrl`).
|
|
735
|
+
* - You must provide a standard DingTalk Shanji note link or taskUuid (`shanjiUrl`).
|
|
640
736
|
* - Optionally specify a target personal directory ID (`directoryId`). If not specified, the default root directory of the current digital employee is used.
|
|
641
737
|
* - You can add a resource description (`description`) and meeting notes (`notes`).
|
|
642
738
|
* - This operation supports one of the following authentication methods: AK, BearerToken, or APP.
|
|
@@ -650,13 +746,13 @@ export default class Client extends OpenApi {
|
|
|
650
746
|
[key: string]: string;
|
|
651
747
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.CreatePersonalDingtalkMinutesResponse>;
|
|
652
748
|
/**
|
|
653
|
-
* Uploads a meeting to the current user\\"s personal knowledge base by using a standard DingTalk Shanji
|
|
749
|
+
* Uploads a meeting to the current user\\"s personal knowledge base by using the URL of a standard DingTalk Shanji note.
|
|
654
750
|
*
|
|
655
751
|
* @remarks
|
|
656
752
|
* ## Request description
|
|
657
|
-
* - This API creates a meeting resource by using a standard DingTalk Shanji link. The collection method is fixed to the DWS corresponding to personal OAuth.
|
|
753
|
+
* - This API creates a meeting resource by using a standard DingTalk Shanji note link. The collection method is fixed to the DWS corresponding to personal OAuth.
|
|
658
754
|
* - `source_type` is fixed to `DINGTALK_MEETING`, and `scope` is fixed to `PERSONAL`.
|
|
659
|
-
* - You must provide a standard DingTalk Shanji link or taskUuid (`shanjiUrl`).
|
|
755
|
+
* - You must provide a standard DingTalk Shanji note link or taskUuid (`shanjiUrl`).
|
|
660
756
|
* - Optionally specify a target personal directory ID (`directoryId`). If not specified, the default root directory of the current digital employee is used.
|
|
661
757
|
* - You can add a resource description (`description`) and meeting notes (`notes`).
|
|
662
758
|
* - This operation supports one of the following authentication methods: AK, BearerToken, or APP.
|
|
@@ -671,9 +767,9 @@ export default class Client extends OpenApi {
|
|
|
671
767
|
* @remarks
|
|
672
768
|
* ## Request description
|
|
673
769
|
* - This API is used to create a personal folder (category) under "My Resources".
|
|
674
|
-
* - If `parentDirectoryId` is not specified, the system automatically uses or creates the default root folder of the current digital
|
|
675
|
-
* - If `parentDirectoryId` is specified, it must be an existing personal folder of the current user under the current digital
|
|
676
|
-
* - `tenant_id` and `user_id` are derived from the
|
|
770
|
+
* - If `parentDirectoryId` is not specified, the system automatically uses or creates the default root folder of the current digital employee as the parent folder.
|
|
771
|
+
* - If `parentDirectoryId` is specified, it must be an existing personal folder of the current user under the current digital employee.
|
|
772
|
+
* - `tenant_id` and `user_id` are derived from the authenticated identity only. These fields are ignored if passed in the request body.
|
|
677
773
|
*
|
|
678
774
|
* @param request - CreatePersonalDirectoryRequest
|
|
679
775
|
* @param headers - map
|
|
@@ -689,9 +785,9 @@ export default class Client extends OpenApi {
|
|
|
689
785
|
* @remarks
|
|
690
786
|
* ## Request description
|
|
691
787
|
* - This API is used to create a personal folder (category) under "My Resources".
|
|
692
|
-
* - If `parentDirectoryId` is not specified, the system automatically uses or creates the default root folder of the current digital
|
|
693
|
-
* - If `parentDirectoryId` is specified, it must be an existing personal folder of the current user under the current digital
|
|
694
|
-
* - `tenant_id` and `user_id` are derived from the
|
|
788
|
+
* - If `parentDirectoryId` is not specified, the system automatically uses or creates the default root folder of the current digital employee as the parent folder.
|
|
789
|
+
* - If `parentDirectoryId` is specified, it must be an existing personal folder of the current user under the current digital employee.
|
|
790
|
+
* - `tenant_id` and `user_id` are derived from the authenticated identity only. These fields are ignored if passed in the request body.
|
|
695
791
|
*
|
|
696
792
|
* @param request - CreatePersonalDirectoryRequest
|
|
697
793
|
* @returns CreatePersonalDirectoryResponse
|
|
@@ -769,7 +865,7 @@ export default class Client extends OpenApi {
|
|
|
769
865
|
* - `name`: The display name of the uploaded resource in the system.
|
|
770
866
|
* - `minuteToken`: The unique identifier of the meeting from the Lark Minutes platform.
|
|
771
867
|
* - `credentialId`: The ID associated with specific authentication information, used to verify the validity of the request.
|
|
772
|
-
* - `directoryId` (optional): The ID of the target personal directory
|
|
868
|
+
* - `directoryId` (optional): The ID of the target personal directory in which to store the resource. If this field is omitted, the resource is automatically placed in the default location.
|
|
773
869
|
* - `description` (optional): A brief description or note about the uploaded resource.
|
|
774
870
|
* Precautions:
|
|
775
871
|
* - Ensure that the provided `minuteToken` and `credentialId` are valid.
|
|
@@ -793,7 +889,7 @@ export default class Client extends OpenApi {
|
|
|
793
889
|
* - `name`: The display name of the uploaded resource in the system.
|
|
794
890
|
* - `minuteToken`: The unique identifier of the meeting from the Lark Minutes platform.
|
|
795
891
|
* - `credentialId`: The ID associated with specific authentication information, used to verify the validity of the request.
|
|
796
|
-
* - `directoryId` (optional): The ID of the target personal directory
|
|
892
|
+
* - `directoryId` (optional): The ID of the target personal directory in which to store the resource. If this field is omitted, the resource is automatically placed in the default location.
|
|
797
893
|
* - `description` (optional): A brief description or note about the uploaded resource.
|
|
798
894
|
* Precautions:
|
|
799
895
|
* - Ensure that the provided `minuteToken` and `credentialId` are valid.
|
|
@@ -884,7 +980,7 @@ export default class Client extends OpenApi {
|
|
|
884
980
|
*
|
|
885
981
|
* @remarks
|
|
886
982
|
* ## Operation description
|
|
887
|
-
* - This API operation uploads an offline meeting audio file to the
|
|
983
|
+
* - This API operation uploads an offline meeting audio file to the My Resources section of a specified digital employee.
|
|
888
984
|
* - `source_type` is fixed to `VOICE_MEETING`, `scope` is fixed to `PERSONAL`, and `voice_meeting_type` is fixed to `OFFLINE`.
|
|
889
985
|
* - If `directoryId` is not provided in the request body, the resource is automatically bound to the default root directory. If `directoryId` is provided, it must be an existing personal directory of the current user under the current digital employee.
|
|
890
986
|
* - Calling this operation starts a background process to transcribe the audio file and returns information about the newly created resource.
|
|
@@ -902,7 +998,7 @@ export default class Client extends OpenApi {
|
|
|
902
998
|
*
|
|
903
999
|
* @remarks
|
|
904
1000
|
* ## Operation description
|
|
905
|
-
* - This API operation uploads an offline meeting audio file to the
|
|
1001
|
+
* - This API operation uploads an offline meeting audio file to the My Resources section of a specified digital employee.
|
|
906
1002
|
* - `source_type` is fixed to `VOICE_MEETING`, `scope` is fixed to `PERSONAL`, and `voice_meeting_type` is fixed to `OFFLINE`.
|
|
907
1003
|
* - If `directoryId` is not provided in the request body, the resource is automatically bound to the default root directory. If `directoryId` is provided, it must be an existing personal directory of the current user under the current digital employee.
|
|
908
1004
|
* - Calling this operation starts a background process to transcribe the audio file and returns information about the newly created resource.
|
|
@@ -956,11 +1052,11 @@ export default class Client extends OpenApi {
|
|
|
956
1052
|
*
|
|
957
1053
|
* @remarks
|
|
958
1054
|
* ## Request description
|
|
959
|
-
* - This API is used to create a new enterprise knowledge base
|
|
960
|
-
* - You can
|
|
961
|
-
* - The `path` parameter is optional. If this parameter is not specified, the system automatically calculates the path based on the parent
|
|
1055
|
+
* - This API is used to create a new enterprise knowledge base folder under a specified tenant.
|
|
1056
|
+
* - You can set the `parentId` parameter to specify the parent folder of the new folder. If this parameter is not specified, the folder is created as a root folder by default.
|
|
1057
|
+
* - The `path` parameter is optional. If this parameter is not specified, the system automatically calculates the path based on the parent folder.
|
|
962
1058
|
* - Calling this operation requires the corresponding permissions. Multiple authentication methods are supported, including AK, BearerToken, and APP authentication.
|
|
963
|
-
* - After the
|
|
1059
|
+
* - After the folder is created, the related information about the new folder is returned, such as the folder ID and name.
|
|
964
1060
|
*
|
|
965
1061
|
* @param request - CreateTenantDirectoryRequest
|
|
966
1062
|
* @param headers - map
|
|
@@ -975,11 +1071,11 @@ export default class Client extends OpenApi {
|
|
|
975
1071
|
*
|
|
976
1072
|
* @remarks
|
|
977
1073
|
* ## Request description
|
|
978
|
-
* - This API is used to create a new enterprise knowledge base
|
|
979
|
-
* - You can
|
|
980
|
-
* - The `path` parameter is optional. If this parameter is not specified, the system automatically calculates the path based on the parent
|
|
1074
|
+
* - This API is used to create a new enterprise knowledge base folder under a specified tenant.
|
|
1075
|
+
* - You can set the `parentId` parameter to specify the parent folder of the new folder. If this parameter is not specified, the folder is created as a root folder by default.
|
|
1076
|
+
* - The `path` parameter is optional. If this parameter is not specified, the system automatically calculates the path based on the parent folder.
|
|
981
1077
|
* - Calling this operation requires the corresponding permissions. Multiple authentication methods are supported, including AK, BearerToken, and APP authentication.
|
|
982
|
-
* - After the
|
|
1078
|
+
* - After the folder is created, the related information about the new folder is returned, such as the folder ID and name.
|
|
983
1079
|
*
|
|
984
1080
|
* @param request - CreateTenantDirectoryRequest
|
|
985
1081
|
* @returns CreateTenantDirectoryResponse
|
|
@@ -991,12 +1087,12 @@ export default class Client extends OpenApi {
|
|
|
991
1087
|
* @remarks
|
|
992
1088
|
* Creates a user by using OpenAPI.
|
|
993
1089
|
* Business orchestration:
|
|
994
|
-
* 1. Parses roleCodes
|
|
1090
|
+
* 1. Parses roleCodes into role_ids (validates against system role enumerations).
|
|
995
1091
|
* 2. Checks whether the user already exists (used to return the isNewUser flag).
|
|
996
|
-
* 3. Calls UserManagementService.add_tenant_member to create or add the user (the password must be passed
|
|
1092
|
+
* 3. Calls UserManagementService.add_tenant_member to create or add the user (the password must be passed by the caller as an RSA ciphertext).
|
|
997
1093
|
* 4. Returns the creation result (including the isNewUser flag).
|
|
998
1094
|
* Error codes:
|
|
999
|
-
* - ERR.User.DeactivatedInTenant: The user is deactivated in the tenant. Use updateUser to
|
|
1095
|
+
* - ERR.User.DeactivatedInTenant: The user is deactivated in the tenant. Use updateUser to restore the user.
|
|
1000
1096
|
* - ERR.User.AlreadyInTenant: The user is already an active member of the tenant.
|
|
1001
1097
|
* - ERR.User.DisplayNameDuplicateInTenant: The display name is duplicate within the tenant.
|
|
1002
1098
|
*
|
|
@@ -1014,12 +1110,12 @@ export default class Client extends OpenApi {
|
|
|
1014
1110
|
* @remarks
|
|
1015
1111
|
* Creates a user by using OpenAPI.
|
|
1016
1112
|
* Business orchestration:
|
|
1017
|
-
* 1. Parses roleCodes
|
|
1113
|
+
* 1. Parses roleCodes into role_ids (validates against system role enumerations).
|
|
1018
1114
|
* 2. Checks whether the user already exists (used to return the isNewUser flag).
|
|
1019
|
-
* 3. Calls UserManagementService.add_tenant_member to create or add the user (the password must be passed
|
|
1115
|
+
* 3. Calls UserManagementService.add_tenant_member to create or add the user (the password must be passed by the caller as an RSA ciphertext).
|
|
1020
1116
|
* 4. Returns the creation result (including the isNewUser flag).
|
|
1021
1117
|
* Error codes:
|
|
1022
|
-
* - ERR.User.DeactivatedInTenant: The user is deactivated in the tenant. Use updateUser to
|
|
1118
|
+
* - ERR.User.DeactivatedInTenant: The user is deactivated in the tenant. Use updateUser to restore the user.
|
|
1023
1119
|
* - ERR.User.AlreadyInTenant: The user is already an active member of the tenant.
|
|
1024
1120
|
* - ERR.User.DisplayNameDuplicateInTenant: The display name is duplicate within the tenant.
|
|
1025
1121
|
*
|
|
@@ -1055,16 +1151,15 @@ export default class Client extends OpenApi {
|
|
|
1055
1151
|
* Creates a WINNEXO user in the current tenant and assigns roles and user groups to the user.
|
|
1056
1152
|
*
|
|
1057
1153
|
* @remarks
|
|
1058
|
-
*
|
|
1059
|
-
*
|
|
1060
|
-
*
|
|
1061
|
-
*
|
|
1062
|
-
*
|
|
1063
|
-
*
|
|
1064
|
-
*
|
|
1065
|
-
*
|
|
1066
|
-
*
|
|
1067
|
-
* - ERR.User.DisplayNameDuplicateInTenant: The display name is duplicate within the tenant.
|
|
1154
|
+
* ## Request description
|
|
1155
|
+
* - This operation creates a WINNEXO user under a specified tenant and optionally assigns system roles and user groups to the user.
|
|
1156
|
+
* - The `accountId` parameter serves as the logon account for the user and must be unique.
|
|
1157
|
+
* - The `displayName` parameter specifies the display name of the user, which must also be unique within the tenant and cannot exceed 100 characters in length.
|
|
1158
|
+
* - The optional `roleCodes` parameter specifies a list of roles for the user. By default, the `APPLICATION_USER` role is assigned.
|
|
1159
|
+
* - The `userGroupIds` parameter allows you to add up to 100 user group IDs to the new user. Make sure that all specified user groups belong to the same tenant.
|
|
1160
|
+
* - The password must be encrypted by using the RSA-OAEP-SHA256 algorithm and submitted in Base64 format.
|
|
1161
|
+
* - This operation supports calls over HTTPS and requires the request body in JSON format.
|
|
1162
|
+
* - For security authentication, AK, BearerToken, and APP are supported.
|
|
1068
1163
|
*
|
|
1069
1164
|
* @param tmpReq - CreateUserWithGroupsRequest
|
|
1070
1165
|
* @param headers - map
|
|
@@ -1078,16 +1173,15 @@ export default class Client extends OpenApi {
|
|
|
1078
1173
|
* Creates a WINNEXO user in the current tenant and assigns roles and user groups to the user.
|
|
1079
1174
|
*
|
|
1080
1175
|
* @remarks
|
|
1081
|
-
*
|
|
1082
|
-
*
|
|
1083
|
-
*
|
|
1084
|
-
*
|
|
1085
|
-
*
|
|
1086
|
-
*
|
|
1087
|
-
*
|
|
1088
|
-
*
|
|
1089
|
-
*
|
|
1090
|
-
* - ERR.User.DisplayNameDuplicateInTenant: The display name is duplicate within the tenant.
|
|
1176
|
+
* ## Request description
|
|
1177
|
+
* - This operation creates a WINNEXO user under a specified tenant and optionally assigns system roles and user groups to the user.
|
|
1178
|
+
* - The `accountId` parameter serves as the logon account for the user and must be unique.
|
|
1179
|
+
* - The `displayName` parameter specifies the display name of the user, which must also be unique within the tenant and cannot exceed 100 characters in length.
|
|
1180
|
+
* - The optional `roleCodes` parameter specifies a list of roles for the user. By default, the `APPLICATION_USER` role is assigned.
|
|
1181
|
+
* - The `userGroupIds` parameter allows you to add up to 100 user group IDs to the new user. Make sure that all specified user groups belong to the same tenant.
|
|
1182
|
+
* - The password must be encrypted by using the RSA-OAEP-SHA256 algorithm and submitted in Base64 format.
|
|
1183
|
+
* - This operation supports calls over HTTPS and requires the request body in JSON format.
|
|
1184
|
+
* - For security authentication, AK, BearerToken, and APP are supported.
|
|
1091
1185
|
*
|
|
1092
1186
|
* @param request - CreateUserWithGroupsRequest
|
|
1093
1187
|
* @returns CreateUserWithGroupsResponse
|
|
@@ -1101,8 +1195,8 @@ export default class Client extends OpenApi {
|
|
|
1101
1195
|
* - This API is used to upload a file to the "My Resources" section of a specified digital employee.
|
|
1102
1196
|
* - `source_type` is fixed to `FILE`, `scope` is fixed to `PERSONAL`, and `platform` is fixed to `LOCAL`.
|
|
1103
1197
|
* - The file must include an OSS persistent address (`filePath`). Other information such as the public access URL and original file name is optional.
|
|
1104
|
-
* - If the target directory ID (`directoryId`) is not specified, the file is automatically
|
|
1105
|
-
* -
|
|
1198
|
+
* - If the target directory ID (`directoryId`) is not specified, the file is automatically bound to the default root directory of the current digital employee. If specified, ensure that the directory belongs to the caller\\"s personal directory.
|
|
1199
|
+
* - Multiple authentication methods (AK, BearerToken, APP) are supported for security authentication.
|
|
1106
1200
|
* - The operation type is write (`write`), and operation logs are recorded for subsequent auditing.
|
|
1107
1201
|
*
|
|
1108
1202
|
* @param request - DeleteChatSessionRequest
|
|
@@ -1121,8 +1215,8 @@ export default class Client extends OpenApi {
|
|
|
1121
1215
|
* - This API is used to upload a file to the "My Resources" section of a specified digital employee.
|
|
1122
1216
|
* - `source_type` is fixed to `FILE`, `scope` is fixed to `PERSONAL`, and `platform` is fixed to `LOCAL`.
|
|
1123
1217
|
* - The file must include an OSS persistent address (`filePath`). Other information such as the public access URL and original file name is optional.
|
|
1124
|
-
* - If the target directory ID (`directoryId`) is not specified, the file is automatically
|
|
1125
|
-
* -
|
|
1218
|
+
* - If the target directory ID (`directoryId`) is not specified, the file is automatically bound to the default root directory of the current digital employee. If specified, ensure that the directory belongs to the caller\\"s personal directory.
|
|
1219
|
+
* - Multiple authentication methods (AK, BearerToken, APP) are supported for security authentication.
|
|
1126
1220
|
* - The operation type is write (`write`), and operation logs are recorded for subsequent auditing.
|
|
1127
1221
|
*
|
|
1128
1222
|
* @param request - DeleteChatSessionRequest
|
|
@@ -1268,15 +1362,45 @@ export default class Client extends OpenApi {
|
|
|
1268
1362
|
*/
|
|
1269
1363
|
enableToken(request: $_model.EnableTokenRequest): Promise<$_model.EnableTokenResponse>;
|
|
1270
1364
|
/**
|
|
1271
|
-
* Retrieves
|
|
1365
|
+
* Retrieves DingTalk meeting minutes content for the Winnexo Lite Workbench.
|
|
1366
|
+
*
|
|
1367
|
+
* @remarks
|
|
1368
|
+
* ## Request description
|
|
1369
|
+
* - This API is exclusively for the Winnexo Lite Workbench.
|
|
1370
|
+
* - Retrieves the title, meeting summary, to-do items, and full transcription based on a DingTalk minutes ID.
|
|
1371
|
+
* - Audio and video files are not downloaded. If any content fails to be read, the entire request fails.
|
|
1372
|
+
*
|
|
1373
|
+
* @param request - GetAliDingMinutesContentRequest
|
|
1374
|
+
* @param headers - map
|
|
1375
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1376
|
+
* @returns GetAliDingMinutesContentResponse
|
|
1377
|
+
*/
|
|
1378
|
+
getAliDingMinutesContentWithOptions(request: $_model.GetAliDingMinutesContentRequest, headers: {
|
|
1379
|
+
[key: string]: string;
|
|
1380
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetAliDingMinutesContentResponse>;
|
|
1381
|
+
/**
|
|
1382
|
+
* Retrieves DingTalk meeting minutes content for the Winnexo Lite Workbench.
|
|
1272
1383
|
*
|
|
1273
1384
|
* @remarks
|
|
1274
1385
|
* ## Request description
|
|
1275
|
-
* - This API
|
|
1386
|
+
* - This API is exclusively for the Winnexo Lite Workbench.
|
|
1387
|
+
* - Retrieves the title, meeting summary, to-do items, and full transcription based on a DingTalk minutes ID.
|
|
1388
|
+
* - Audio and video files are not downloaded. If any content fails to be read, the entire request fails.
|
|
1389
|
+
*
|
|
1390
|
+
* @param request - GetAliDingMinutesContentRequest
|
|
1391
|
+
* @returns GetAliDingMinutesContentResponse
|
|
1392
|
+
*/
|
|
1393
|
+
getAliDingMinutesContent(request: $_model.GetAliDingMinutesContentRequest): Promise<$_model.GetAliDingMinutesContentResponse>;
|
|
1394
|
+
/**
|
|
1395
|
+
* Retrieves session details.
|
|
1396
|
+
*
|
|
1397
|
+
* @remarks
|
|
1398
|
+
* ## Operation description
|
|
1399
|
+
* - This API is used to upload files to the "My Resources" section of a specified digital employee.
|
|
1276
1400
|
* - `source_type` is fixed to `FILE`, `scope` is fixed to `PERSONAL`, and `platform` is fixed to `LOCAL`.
|
|
1277
1401
|
* - The file must include an OSS persistent address (`filePath`). Other information such as the public access URL and original file name is optional.
|
|
1278
|
-
* - If
|
|
1279
|
-
* -
|
|
1402
|
+
* - If the target folder ID (`directoryId`) is not specified, the file is automatically attached to the default root folder of the current digital employee. If specified, ensure that the folder belongs to the invoker\\"s personal folder.
|
|
1403
|
+
* - Multiple authentication methods (AK, BearerToken, APP) are supported to authenticate requests.
|
|
1280
1404
|
* - The operation type is write (`write`), and operation logs are recorded for subsequent auditing.
|
|
1281
1405
|
*
|
|
1282
1406
|
* @param request - GetChatSessionRequest
|
|
@@ -1291,18 +1415,58 @@ export default class Client extends OpenApi {
|
|
|
1291
1415
|
* Retrieves session details.
|
|
1292
1416
|
*
|
|
1293
1417
|
* @remarks
|
|
1294
|
-
* ##
|
|
1295
|
-
* - This API
|
|
1418
|
+
* ## Operation description
|
|
1419
|
+
* - This API is used to upload files to the "My Resources" section of a specified digital employee.
|
|
1296
1420
|
* - `source_type` is fixed to `FILE`, `scope` is fixed to `PERSONAL`, and `platform` is fixed to `LOCAL`.
|
|
1297
1421
|
* - The file must include an OSS persistent address (`filePath`). Other information such as the public access URL and original file name is optional.
|
|
1298
|
-
* - If
|
|
1299
|
-
* -
|
|
1422
|
+
* - If the target folder ID (`directoryId`) is not specified, the file is automatically attached to the default root folder of the current digital employee. If specified, ensure that the folder belongs to the invoker\\"s personal folder.
|
|
1423
|
+
* - Multiple authentication methods (AK, BearerToken, APP) are supported to authenticate requests.
|
|
1300
1424
|
* - The operation type is write (`write`), and operation logs are recorded for subsequent auditing.
|
|
1301
1425
|
*
|
|
1302
1426
|
* @param request - GetChatSessionRequest
|
|
1303
1427
|
* @returns GetChatSessionResponse
|
|
1304
1428
|
*/
|
|
1305
1429
|
getChatSession(request: $_model.GetChatSessionRequest): Promise<$_model.GetChatSessionResponse>;
|
|
1430
|
+
/**
|
|
1431
|
+
* Retrieves the full schema after merging the active schema with personal drafts.
|
|
1432
|
+
*
|
|
1433
|
+
* @remarks
|
|
1434
|
+
* Retrieves the full schema YAML by merging the active schema with the current user\\"s draft via OpenAPI (personal token only).
|
|
1435
|
+
* Business orchestration:
|
|
1436
|
+
* 1. Draft domain identity verification (personal token only. Deploy/system-level tokens are rejected)
|
|
1437
|
+
* and semantic view permission verification.
|
|
1438
|
+
* 2. If no personal draft exists, the full active YAML is returned (underlying short path).
|
|
1439
|
+
* If a draft exists, the merged full YAML is returned for editor rendering and pre-publish preview.
|
|
1440
|
+
* Error codes:
|
|
1441
|
+
* - ERR.User.TokenUserOnly: Personal drafts support only user tokens.
|
|
1442
|
+
* - ERR.GraphSchema.*: The knowledge graph does not exist.
|
|
1443
|
+
*
|
|
1444
|
+
* @param request - GetGraphDraftAssembledRequest
|
|
1445
|
+
* @param headers - map
|
|
1446
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1447
|
+
* @returns GetGraphDraftAssembledResponse
|
|
1448
|
+
*/
|
|
1449
|
+
getGraphDraftAssembledWithOptions(request: $_model.GetGraphDraftAssembledRequest, headers: {
|
|
1450
|
+
[key: string]: string;
|
|
1451
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetGraphDraftAssembledResponse>;
|
|
1452
|
+
/**
|
|
1453
|
+
* Retrieves the full schema after merging the active schema with personal drafts.
|
|
1454
|
+
*
|
|
1455
|
+
* @remarks
|
|
1456
|
+
* Retrieves the full schema YAML by merging the active schema with the current user\\"s draft via OpenAPI (personal token only).
|
|
1457
|
+
* Business orchestration:
|
|
1458
|
+
* 1. Draft domain identity verification (personal token only. Deploy/system-level tokens are rejected)
|
|
1459
|
+
* and semantic view permission verification.
|
|
1460
|
+
* 2. If no personal draft exists, the full active YAML is returned (underlying short path).
|
|
1461
|
+
* If a draft exists, the merged full YAML is returned for editor rendering and pre-publish preview.
|
|
1462
|
+
* Error codes:
|
|
1463
|
+
* - ERR.User.TokenUserOnly: Personal drafts support only user tokens.
|
|
1464
|
+
* - ERR.GraphSchema.*: The knowledge graph does not exist.
|
|
1465
|
+
*
|
|
1466
|
+
* @param request - GetGraphDraftAssembledRequest
|
|
1467
|
+
* @returns GetGraphDraftAssembledResponse
|
|
1468
|
+
*/
|
|
1469
|
+
getGraphDraftAssembled(request: $_model.GetGraphDraftAssembledRequest): Promise<$_model.GetGraphDraftAssembledResponse>;
|
|
1306
1470
|
/**
|
|
1307
1471
|
* Retrieves the active Graph Schema readable by the current user.
|
|
1308
1472
|
*
|
|
@@ -1327,6 +1491,36 @@ export default class Client extends OpenApi {
|
|
|
1327
1491
|
* @returns GetGraphSchemaResponse
|
|
1328
1492
|
*/
|
|
1329
1493
|
getGraphSchema(request: $_model.GetGraphSchemaRequest): Promise<$_model.GetGraphSchemaResponse>;
|
|
1494
|
+
/**
|
|
1495
|
+
* Retrieves the complete schema of a semantic graph from the management perspective.
|
|
1496
|
+
*
|
|
1497
|
+
* @remarks
|
|
1498
|
+
* Retrieves the complete active schema of a graph from the OpenAPI management perspective. This operation does not perform resource-level permission trimming, but requires semantic view permission at the entry point.
|
|
1499
|
+
* graphStatus and hasDraft reflect the personal draft and publish status from the current caller\\"s perspective. Deployment or system-level tokens have no personal identity, so hasDraft is always false.
|
|
1500
|
+
* Error codes:
|
|
1501
|
+
* - ERR.GraphSchema.GraphSchemaNotFound: The graph does not exist.
|
|
1502
|
+
*
|
|
1503
|
+
* @param request - GetGraphSchemaDetailRequest
|
|
1504
|
+
* @param headers - map
|
|
1505
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1506
|
+
* @returns GetGraphSchemaDetailResponse
|
|
1507
|
+
*/
|
|
1508
|
+
getGraphSchemaDetailWithOptions(request: $_model.GetGraphSchemaDetailRequest, headers: {
|
|
1509
|
+
[key: string]: string;
|
|
1510
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetGraphSchemaDetailResponse>;
|
|
1511
|
+
/**
|
|
1512
|
+
* Retrieves the complete schema of a semantic graph from the management perspective.
|
|
1513
|
+
*
|
|
1514
|
+
* @remarks
|
|
1515
|
+
* Retrieves the complete active schema of a graph from the OpenAPI management perspective. This operation does not perform resource-level permission trimming, but requires semantic view permission at the entry point.
|
|
1516
|
+
* graphStatus and hasDraft reflect the personal draft and publish status from the current caller\\"s perspective. Deployment or system-level tokens have no personal identity, so hasDraft is always false.
|
|
1517
|
+
* Error codes:
|
|
1518
|
+
* - ERR.GraphSchema.GraphSchemaNotFound: The graph does not exist.
|
|
1519
|
+
*
|
|
1520
|
+
* @param request - GetGraphSchemaDetailRequest
|
|
1521
|
+
* @returns GetGraphSchemaDetailResponse
|
|
1522
|
+
*/
|
|
1523
|
+
getGraphSchemaDetail(request: $_model.GetGraphSchemaDetailRequest): Promise<$_model.GetGraphSchemaDetailResponse>;
|
|
1330
1524
|
/**
|
|
1331
1525
|
* Queries the expiration time of the most recently created standard package instance for a tenant.
|
|
1332
1526
|
*
|
|
@@ -1442,13 +1636,13 @@ export default class Client extends OpenApi {
|
|
|
1442
1636
|
*
|
|
1443
1637
|
* @remarks
|
|
1444
1638
|
* ## Operation description
|
|
1445
|
-
* - This operation uploads
|
|
1446
|
-
* -
|
|
1639
|
+
* - This operation uploads files to an enterprise knowledge base.
|
|
1640
|
+
* - You must have the `DEVELOPMENT_KB_MANAGE` feature permission to call this operation.
|
|
1447
1641
|
* - You must provide the OSS persistent address (`filePath`) of the file when uploading.
|
|
1448
1642
|
* - Optional parameters include the public access URL and original file name to enhance the completeness of file information.
|
|
1449
|
-
* - If `directoryId` is specified, the file is placed in the corresponding enterprise knowledge base
|
|
1450
|
-
* - You can add tags to
|
|
1451
|
-
* - This operation initiates a billing item (UNSTRUCTURED_PARSE).
|
|
1643
|
+
* - If `directoryId` is specified, the file is placed in the corresponding enterprise knowledge base folder. Otherwise, the file is bound to the default root folder of the current digital employee.
|
|
1644
|
+
* - You can add tags to resources by using `sourceTags` for subsequent management and retrieval.
|
|
1645
|
+
* - This operation initiates a billing item (UNSTRUCTURED_PARSE). Make sure that your account balance is sufficient.
|
|
1452
1646
|
*
|
|
1453
1647
|
* @param request - GetScheduledTaskExecutionRecordsRequest
|
|
1454
1648
|
* @param headers - map
|
|
@@ -1463,13 +1657,13 @@ export default class Client extends OpenApi {
|
|
|
1463
1657
|
*
|
|
1464
1658
|
* @remarks
|
|
1465
1659
|
* ## Operation description
|
|
1466
|
-
* - This operation uploads
|
|
1467
|
-
* -
|
|
1660
|
+
* - This operation uploads files to an enterprise knowledge base.
|
|
1661
|
+
* - You must have the `DEVELOPMENT_KB_MANAGE` feature permission to call this operation.
|
|
1468
1662
|
* - You must provide the OSS persistent address (`filePath`) of the file when uploading.
|
|
1469
1663
|
* - Optional parameters include the public access URL and original file name to enhance the completeness of file information.
|
|
1470
|
-
* - If `directoryId` is specified, the file is placed in the corresponding enterprise knowledge base
|
|
1471
|
-
* - You can add tags to
|
|
1472
|
-
* - This operation initiates a billing item (UNSTRUCTURED_PARSE).
|
|
1664
|
+
* - If `directoryId` is specified, the file is placed in the corresponding enterprise knowledge base folder. Otherwise, the file is bound to the default root folder of the current digital employee.
|
|
1665
|
+
* - You can add tags to resources by using `sourceTags` for subsequent management and retrieval.
|
|
1666
|
+
* - This operation initiates a billing item (UNSTRUCTURED_PARSE). Make sure that your account balance is sufficient.
|
|
1473
1667
|
*
|
|
1474
1668
|
* @param request - GetScheduledTaskExecutionRecordsRequest
|
|
1475
1669
|
* @returns GetScheduledTaskExecutionRecordsResponse
|
|
@@ -1505,12 +1699,12 @@ export default class Client extends OpenApi {
|
|
|
1505
1699
|
* @remarks
|
|
1506
1700
|
* ## Request description
|
|
1507
1701
|
* - This operation uploads a file to the enterprise knowledge base.
|
|
1508
|
-
* - You must have the `DEVELOPMENT_KB_MANAGE` permission to call this
|
|
1702
|
+
* - You must have the `DEVELOPMENT_KB_MANAGE` permission to call this operation.
|
|
1509
1703
|
* - You must provide the OSS persistent address (`filePath`) of the file when uploading.
|
|
1510
|
-
* - Optional parameters include the public access URL
|
|
1704
|
+
* - Optional parameters include the public access URL and original file name of the file to enhance the completeness of file information.
|
|
1511
1705
|
* - 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.
|
|
1512
1706
|
* - You can add tags to the resource by using `sourceTags` for subsequent management and retrieval.
|
|
1513
|
-
* - This operation initiates a billing item (UNSTRUCTURED_PARSE).
|
|
1707
|
+
* - This operation initiates a billing item (UNSTRUCTURED_PARSE). Make sure that your account balance is sufficient.
|
|
1514
1708
|
*
|
|
1515
1709
|
* @deprecated OpenAPI GetScheduledTaskUnderstandDetail is deprecated
|
|
1516
1710
|
*
|
|
@@ -1528,12 +1722,12 @@ export default class Client extends OpenApi {
|
|
|
1528
1722
|
* @remarks
|
|
1529
1723
|
* ## Request description
|
|
1530
1724
|
* - This operation uploads a file to the enterprise knowledge base.
|
|
1531
|
-
* - You must have the `DEVELOPMENT_KB_MANAGE` permission to call this
|
|
1725
|
+
* - You must have the `DEVELOPMENT_KB_MANAGE` permission to call this operation.
|
|
1532
1726
|
* - You must provide the OSS persistent address (`filePath`) of the file when uploading.
|
|
1533
|
-
* - Optional parameters include the public access URL
|
|
1727
|
+
* - Optional parameters include the public access URL and original file name of the file to enhance the completeness of file information.
|
|
1534
1728
|
* - 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.
|
|
1535
1729
|
* - You can add tags to the resource by using `sourceTags` for subsequent management and retrieval.
|
|
1536
|
-
* - This operation initiates a billing item (UNSTRUCTURED_PARSE).
|
|
1730
|
+
* - This operation initiates a billing item (UNSTRUCTURED_PARSE). Make sure that your account balance is sufficient.
|
|
1537
1731
|
*
|
|
1538
1732
|
* @deprecated OpenAPI GetScheduledTaskUnderstandDetail is deprecated
|
|
1539
1733
|
*
|
|
@@ -1868,10 +2062,10 @@ export default class Client extends OpenApi {
|
|
|
1868
2062
|
* ## Request description
|
|
1869
2063
|
* - This operation returns the detailed information of the current authenticated user.
|
|
1870
2064
|
* - If the tenant information is invalid, the corresponding error message is returned.
|
|
1871
|
-
* -
|
|
1872
|
-
* - Multiple authentication methods are supported:
|
|
2065
|
+
* - tenantId is an optional parameter. If not provided, the default tenant ID of the caller is used.
|
|
2066
|
+
* - Multiple authentication methods are supported: AccessKey, BearerToken, and APP authentication.
|
|
1873
2067
|
* - The returned data includes the user profile (such as username and profile picture URL), role preference settings, and details of all tenants to which the user belongs.
|
|
1874
|
-
* -
|
|
2068
|
+
* - Note that if the current logon tenant is a system tenant (tenantId=10000), this is explicitly indicated in the response.
|
|
1875
2069
|
*
|
|
1876
2070
|
* @param request - GetUserInfoRequest
|
|
1877
2071
|
* @param headers - map
|
|
@@ -1888,10 +2082,10 @@ export default class Client extends OpenApi {
|
|
|
1888
2082
|
* ## Request description
|
|
1889
2083
|
* - This operation returns the detailed information of the current authenticated user.
|
|
1890
2084
|
* - If the tenant information is invalid, the corresponding error message is returned.
|
|
1891
|
-
* -
|
|
1892
|
-
* - Multiple authentication methods are supported:
|
|
2085
|
+
* - tenantId is an optional parameter. If not provided, the default tenant ID of the caller is used.
|
|
2086
|
+
* - Multiple authentication methods are supported: AccessKey, BearerToken, and APP authentication.
|
|
1893
2087
|
* - The returned data includes the user profile (such as username and profile picture URL), role preference settings, and details of all tenants to which the user belongs.
|
|
1894
|
-
* -
|
|
2088
|
+
* - Note that if the current logon tenant is a system tenant (tenantId=10000), this is explicitly indicated in the response.
|
|
1895
2089
|
*
|
|
1896
2090
|
* @param request - GetUserInfoRequest
|
|
1897
2091
|
* @returns GetUserInfoResponse
|
|
@@ -1937,8 +2131,8 @@ export default class Client extends OpenApi {
|
|
|
1937
2131
|
* Queries currently effective service notices.
|
|
1938
2132
|
*
|
|
1939
2133
|
* @remarks
|
|
1940
|
-
* ##
|
|
1941
|
-
* Performs a paging query for published platform
|
|
2134
|
+
* ## 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 who has the permission to view announcements.
|
|
1942
2136
|
*
|
|
1943
2137
|
* @param request - ListActiveAnnouncementsRequest
|
|
1944
2138
|
* @param headers - map
|
|
@@ -1952,8 +2146,8 @@ export default class Client extends OpenApi {
|
|
|
1952
2146
|
* Queries currently effective service notices.
|
|
1953
2147
|
*
|
|
1954
2148
|
* @remarks
|
|
1955
|
-
* ##
|
|
1956
|
-
* Performs a paging query for published platform
|
|
2149
|
+
* ## 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 who has the permission to view announcements.
|
|
1957
2151
|
*
|
|
1958
2152
|
* @param request - ListActiveAnnouncementsRequest
|
|
1959
2153
|
* @returns ListActiveAnnouncementsResponse
|
|
@@ -1965,10 +2159,10 @@ export default class Client extends OpenApi {
|
|
|
1965
2159
|
* @remarks
|
|
1966
2160
|
* ## Operation description
|
|
1967
2161
|
* - This API supports two modes: when `directoryId` is empty or set to \\"root\\", the top-level knowledge base list is returned. When `directoryId` has a specific value, a drill-down operation is performed to return subdirectories and resources under the specified directory.
|
|
1968
|
-
* - `tenantId` is a common parameter. If not provided, the
|
|
1969
|
-
* - In drill-down mode (when `directoryId` is not empty), use the `sourceTypes` parameter to filter resources
|
|
2162
|
+
* - `tenantId` is a common parameter. If not provided, the tenant ID of the caller is used by default.
|
|
2163
|
+
* - In drill-down mode (when `directoryId` is not empty), use the `sourceTypes` parameter to filter resources of specific types.
|
|
1970
2164
|
* - The sort field (`sortField`) and sort order (`sortOrder`) can be customized. Invalid values are reset to default settings.
|
|
1971
|
-
* - The search feature is only
|
|
2165
|
+
* - The search feature is effective only when retrieving the top-level list and supports only fuzzy matching on names or descriptions.
|
|
1972
2166
|
* - For security purposes, `tenant_id` is strictly obtained from the authenticated identity and cannot be passed through the request body.
|
|
1973
2167
|
*
|
|
1974
2168
|
* @param tmpReq - ListAdminKnowledgeBasesRequest
|
|
@@ -1985,10 +2179,10 @@ export default class Client extends OpenApi {
|
|
|
1985
2179
|
* @remarks
|
|
1986
2180
|
* ## Operation description
|
|
1987
2181
|
* - This API supports two modes: when `directoryId` is empty or set to \\"root\\", the top-level knowledge base list is returned. When `directoryId` has a specific value, a drill-down operation is performed to return subdirectories and resources under the specified directory.
|
|
1988
|
-
* - `tenantId` is a common parameter. If not provided, the
|
|
1989
|
-
* - In drill-down mode (when `directoryId` is not empty), use the `sourceTypes` parameter to filter resources
|
|
2182
|
+
* - `tenantId` is a common parameter. If not provided, the tenant ID of the caller is used by default.
|
|
2183
|
+
* - In drill-down mode (when `directoryId` is not empty), use the `sourceTypes` parameter to filter resources of specific types.
|
|
1990
2184
|
* - The sort field (`sortField`) and sort order (`sortOrder`) can be customized. Invalid values are reset to default settings.
|
|
1991
|
-
* - The search feature is only
|
|
2185
|
+
* - The search feature is effective only when retrieving the top-level list and supports only fuzzy matching on names or descriptions.
|
|
1992
2186
|
* - For security purposes, `tenant_id` is strictly obtained from the authenticated identity and cannot be passed through the request body.
|
|
1993
2187
|
*
|
|
1994
2188
|
* @param request - ListAdminKnowledgeBasesRequest
|
|
@@ -2001,9 +2195,9 @@ export default class Client extends OpenApi {
|
|
|
2001
2195
|
* @remarks
|
|
2002
2196
|
* Queries the full list of digital employees under a tenant, including deactivated ones.
|
|
2003
2197
|
* Business logic:
|
|
2004
|
-
* 1. Constructs AuthContext from identity.
|
|
2005
|
-
* 2. Delegates to AgentAuthorizationAuthorizedService.list_agents to
|
|
2006
|
-
* 3. Returns rich fields for all digital employees of the tenant (operatingObjectName
|
|
2198
|
+
* 1. Constructs an AuthContext from the identity.
|
|
2199
|
+
* 2. Delegates to AgentAuthorizationAuthorizedService.list_agents to perform permission verification (APPLICATION_AGENT_VIEW).
|
|
2200
|
+
* 3. Returns rich fields for all digital employees of the tenant (operatingObjectName, displayName, authMode, and isActive).
|
|
2007
2201
|
* 4. System-level tokens are automatically allowed through ctx.skip_permission.
|
|
2008
2202
|
* Difference from listAuthorizedAgents: This operation returns all digital employees of the tenant (including deactivated ones, without authorization filtering) and includes rich fields such as displayName and isActive for management console display.
|
|
2009
2203
|
*
|
|
@@ -2021,9 +2215,9 @@ export default class Client extends OpenApi {
|
|
|
2021
2215
|
* @remarks
|
|
2022
2216
|
* Queries the full list of digital employees under a tenant, including deactivated ones.
|
|
2023
2217
|
* Business logic:
|
|
2024
|
-
* 1. Constructs AuthContext from identity.
|
|
2025
|
-
* 2. Delegates to AgentAuthorizationAuthorizedService.list_agents to
|
|
2026
|
-
* 3. Returns rich fields for all digital employees of the tenant (operatingObjectName
|
|
2218
|
+
* 1. Constructs an AuthContext from the identity.
|
|
2219
|
+
* 2. Delegates to AgentAuthorizationAuthorizedService.list_agents to perform permission verification (APPLICATION_AGENT_VIEW).
|
|
2220
|
+
* 3. Returns rich fields for all digital employees of the tenant (operatingObjectName, displayName, authMode, and isActive).
|
|
2027
2221
|
* 4. System-level tokens are automatically allowed through ctx.skip_permission.
|
|
2028
2222
|
* Difference from listAuthorizedAgents: This operation returns all digital employees of the tenant (including deactivated ones, without authorization filtering) and includes rich fields such as displayName and isActive for management console display.
|
|
2029
2223
|
*
|
|
@@ -2031,6 +2225,66 @@ export default class Client extends OpenApi {
|
|
|
2031
2225
|
* @returns ListAgentsResponse
|
|
2032
2226
|
*/
|
|
2033
2227
|
listAgents(request: $_model.ListAgentsRequest): Promise<$_model.ListAgentsResponse>;
|
|
2228
|
+
/**
|
|
2229
|
+
* Retrieves DingTalk group chat records for the Winnexo lightweight workbench.
|
|
2230
|
+
*
|
|
2231
|
+
* @remarks
|
|
2232
|
+
* ## Operation description
|
|
2233
|
+
* - This operation is exclusively for the Winnexo lightweight workbench.
|
|
2234
|
+
* - Uses the existing time, direction, and pageSize time-watermark protocol to read messages from a specified group chat.
|
|
2235
|
+
* - Does not introduce start or end time ranges. The response does not include raw DWS objects, attachment locators, or temporary download URLs.
|
|
2236
|
+
*
|
|
2237
|
+
* @param request - ListAliDingGroupMessagesRequest
|
|
2238
|
+
* @param headers - map
|
|
2239
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2240
|
+
* @returns ListAliDingGroupMessagesResponse
|
|
2241
|
+
*/
|
|
2242
|
+
listAliDingGroupMessagesWithOptions(request: $_model.ListAliDingGroupMessagesRequest, headers: {
|
|
2243
|
+
[key: string]: string;
|
|
2244
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListAliDingGroupMessagesResponse>;
|
|
2245
|
+
/**
|
|
2246
|
+
* Retrieves DingTalk group chat records for the Winnexo lightweight workbench.
|
|
2247
|
+
*
|
|
2248
|
+
* @remarks
|
|
2249
|
+
* ## Operation description
|
|
2250
|
+
* - This operation is exclusively for the Winnexo lightweight workbench.
|
|
2251
|
+
* - Uses the existing time, direction, and pageSize time-watermark protocol to read messages from a specified group chat.
|
|
2252
|
+
* - Does not introduce start or end time ranges. The response does not include raw DWS objects, attachment locators, or temporary download URLs.
|
|
2253
|
+
*
|
|
2254
|
+
* @param request - ListAliDingGroupMessagesRequest
|
|
2255
|
+
* @returns ListAliDingGroupMessagesResponse
|
|
2256
|
+
*/
|
|
2257
|
+
listAliDingGroupMessages(request: $_model.ListAliDingGroupMessagesRequest): Promise<$_model.ListAliDingGroupMessagesResponse>;
|
|
2258
|
+
/**
|
|
2259
|
+
* Retrieves the list of DingTalk meeting minutes for the Winnexo lightweight workbench.
|
|
2260
|
+
*
|
|
2261
|
+
* @remarks
|
|
2262
|
+
* ## Operation description
|
|
2263
|
+
* - This operation is exclusively for the Winnexo lightweight workbench.
|
|
2264
|
+
* - Queries DingTalk meeting transcripts that the current platform user has access to, based on the startTime and endTime provided by the caller.
|
|
2265
|
+
* - The time must include a time zone. This operation does not use recentDays and does not determine the time range on behalf of the caller.
|
|
2266
|
+
*
|
|
2267
|
+
* @param request - ListAliDingMinutesRequest
|
|
2268
|
+
* @param headers - map
|
|
2269
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2270
|
+
* @returns ListAliDingMinutesResponse
|
|
2271
|
+
*/
|
|
2272
|
+
listAliDingMinutesWithOptions(request: $_model.ListAliDingMinutesRequest, headers: {
|
|
2273
|
+
[key: string]: string;
|
|
2274
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListAliDingMinutesResponse>;
|
|
2275
|
+
/**
|
|
2276
|
+
* Retrieves the list of DingTalk meeting minutes for the Winnexo lightweight workbench.
|
|
2277
|
+
*
|
|
2278
|
+
* @remarks
|
|
2279
|
+
* ## Operation description
|
|
2280
|
+
* - This operation is exclusively for the Winnexo lightweight workbench.
|
|
2281
|
+
* - Queries DingTalk meeting transcripts that the current platform user has access to, based on the startTime and endTime provided by the caller.
|
|
2282
|
+
* - The time must include a time zone. This operation does not use recentDays and does not determine the time range on behalf of the caller.
|
|
2283
|
+
*
|
|
2284
|
+
* @param request - ListAliDingMinutesRequest
|
|
2285
|
+
* @returns ListAliDingMinutesResponse
|
|
2286
|
+
*/
|
|
2287
|
+
listAliDingMinutes(request: $_model.ListAliDingMinutesRequest): Promise<$_model.ListAliDingMinutesResponse>;
|
|
2034
2288
|
/**
|
|
2035
2289
|
* Queries the list of digital human names for which the caller has specified permissions.
|
|
2036
2290
|
*
|
|
@@ -2138,15 +2392,15 @@ export default class Client extends OpenApi {
|
|
|
2138
2392
|
*/
|
|
2139
2393
|
listAvailableConfigs(request: $_model.ListAvailableConfigsRequest): Promise<$_model.ListAvailableConfigsResponse>;
|
|
2140
2394
|
/**
|
|
2141
|
-
* Queries and filters
|
|
2395
|
+
* Queries and filters a bill list by using OpenAPI. Multiple filter conditions are supported.
|
|
2142
2396
|
*
|
|
2143
2397
|
* @remarks
|
|
2144
|
-
* ##
|
|
2398
|
+
* ## Request description
|
|
2145
2399
|
* - This operation queries the bill list based on specified conditions.
|
|
2146
|
-
* -
|
|
2147
|
-
* -
|
|
2400
|
+
* - Filtering is supported by tenant, user, operation type, status, time range, business source, and other conditions.
|
|
2401
|
+
* - Bill data is returned in pages. By default, 20 records are displayed per page.
|
|
2148
2402
|
* - You can choose whether to filter out bills with zero credit consumption. By default, such bills are filtered out.
|
|
2149
|
-
* -
|
|
2403
|
+
* - Provide the required authentication information (such as AccessKey pair, BearerToken, or APP authentication) when you send a request.
|
|
2150
2404
|
*
|
|
2151
2405
|
* @param request - ListBillingRequest
|
|
2152
2406
|
* @param headers - map
|
|
@@ -2157,15 +2411,15 @@ export default class Client extends OpenApi {
|
|
|
2157
2411
|
[key: string]: string;
|
|
2158
2412
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListBillingResponse>;
|
|
2159
2413
|
/**
|
|
2160
|
-
* Queries and filters
|
|
2414
|
+
* Queries and filters a bill list by using OpenAPI. Multiple filter conditions are supported.
|
|
2161
2415
|
*
|
|
2162
2416
|
* @remarks
|
|
2163
|
-
* ##
|
|
2417
|
+
* ## Request description
|
|
2164
2418
|
* - This operation queries the bill list based on specified conditions.
|
|
2165
|
-
* -
|
|
2166
|
-
* -
|
|
2419
|
+
* - Filtering is supported by tenant, user, operation type, status, time range, business source, and other conditions.
|
|
2420
|
+
* - Bill data is returned in pages. By default, 20 records are displayed per page.
|
|
2167
2421
|
* - You can choose whether to filter out bills with zero credit consumption. By default, such bills are filtered out.
|
|
2168
|
-
* -
|
|
2422
|
+
* - Provide the required authentication information (such as AccessKey pair, BearerToken, or APP authentication) when you send a request.
|
|
2169
2423
|
*
|
|
2170
2424
|
* @param request - ListBillingRequest
|
|
2171
2425
|
* @returns ListBillingResponse
|
|
@@ -2201,6 +2455,78 @@ export default class Client extends OpenApi {
|
|
|
2201
2455
|
* @returns ListChatSessionsResponse
|
|
2202
2456
|
*/
|
|
2203
2457
|
listChatSessions(request: $_model.ListChatSessionsRequest): Promise<$_model.ListChatSessionsResponse>;
|
|
2458
|
+
/**
|
|
2459
|
+
* Lists personal draft changes for a semantic graph.
|
|
2460
|
+
*
|
|
2461
|
+
* @remarks
|
|
2462
|
+
* Queries the list of personal draft changes for the current user under a specified graph (personal token only).
|
|
2463
|
+
* Business orchestration:
|
|
2464
|
+
* 1. Draft domain identity verification (personal token only. Deployment/system-level tokens are rejected)
|
|
2465
|
+
* and semantic view permission verification.
|
|
2466
|
+
* 2. Returns the active drafts of the current user (with online change risks).
|
|
2467
|
+
* In permission revocation scenarios, the system also cleans up unauthorized drafts (existing behavior).
|
|
2468
|
+
* Online risk aggregation (riskCode / riskMessage) is serialized as risk JSON text.
|
|
2469
|
+
* Error codes:
|
|
2470
|
+
* - ERR.User.TokenUserOnly: Personal drafts support only user tokens.
|
|
2471
|
+
* - ERR.GraphSchema.*: The graph does not exist.
|
|
2472
|
+
*
|
|
2473
|
+
* @param request - ListGraphDraftResourcesRequest
|
|
2474
|
+
* @param headers - map
|
|
2475
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2476
|
+
* @returns ListGraphDraftResourcesResponse
|
|
2477
|
+
*/
|
|
2478
|
+
listGraphDraftResourcesWithOptions(request: $_model.ListGraphDraftResourcesRequest, headers: {
|
|
2479
|
+
[key: string]: string;
|
|
2480
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListGraphDraftResourcesResponse>;
|
|
2481
|
+
/**
|
|
2482
|
+
* Lists personal draft changes for a semantic graph.
|
|
2483
|
+
*
|
|
2484
|
+
* @remarks
|
|
2485
|
+
* Queries the list of personal draft changes for the current user under a specified graph (personal token only).
|
|
2486
|
+
* Business orchestration:
|
|
2487
|
+
* 1. Draft domain identity verification (personal token only. Deployment/system-level tokens are rejected)
|
|
2488
|
+
* and semantic view permission verification.
|
|
2489
|
+
* 2. Returns the active drafts of the current user (with online change risks).
|
|
2490
|
+
* In permission revocation scenarios, the system also cleans up unauthorized drafts (existing behavior).
|
|
2491
|
+
* Online risk aggregation (riskCode / riskMessage) is serialized as risk JSON text.
|
|
2492
|
+
* Error codes:
|
|
2493
|
+
* - ERR.User.TokenUserOnly: Personal drafts support only user tokens.
|
|
2494
|
+
* - ERR.GraphSchema.*: The graph does not exist.
|
|
2495
|
+
*
|
|
2496
|
+
* @param request - ListGraphDraftResourcesRequest
|
|
2497
|
+
* @returns ListGraphDraftResourcesResponse
|
|
2498
|
+
*/
|
|
2499
|
+
listGraphDraftResources(request: $_model.ListGraphDraftResourcesRequest): Promise<$_model.ListGraphDraftResourcesResponse>;
|
|
2500
|
+
/**
|
|
2501
|
+
* 管理视角图谱列表
|
|
2502
|
+
*
|
|
2503
|
+
* @remarks
|
|
2504
|
+
* OpenAPI 管理视角图谱列表(含草稿/发布中状态)。
|
|
2505
|
+
* 返回租户级 active 图谱;graphStatus 三态:PUBLISHED / DEVELOPING(当前用户有活动草稿)/
|
|
2506
|
+
* PUBLISHING(当前用户发布中);部署/系统级 Token 无个人身份,hasDraft 恒 false。
|
|
2507
|
+
* keyword 匹配 graphName / displayName(忽略大小写);semanticTags 命中任一标签即保留。
|
|
2508
|
+
*
|
|
2509
|
+
* @param tmpReq - ListGraphSchemasRequest
|
|
2510
|
+
* @param headers - map
|
|
2511
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2512
|
+
* @returns ListGraphSchemasResponse
|
|
2513
|
+
*/
|
|
2514
|
+
listGraphSchemasWithOptions(tmpReq: $_model.ListGraphSchemasRequest, headers: {
|
|
2515
|
+
[key: string]: string;
|
|
2516
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListGraphSchemasResponse>;
|
|
2517
|
+
/**
|
|
2518
|
+
* 管理视角图谱列表
|
|
2519
|
+
*
|
|
2520
|
+
* @remarks
|
|
2521
|
+
* OpenAPI 管理视角图谱列表(含草稿/发布中状态)。
|
|
2522
|
+
* 返回租户级 active 图谱;graphStatus 三态:PUBLISHED / DEVELOPING(当前用户有活动草稿)/
|
|
2523
|
+
* PUBLISHING(当前用户发布中);部署/系统级 Token 无个人身份,hasDraft 恒 false。
|
|
2524
|
+
* keyword 匹配 graphName / displayName(忽略大小写);semanticTags 命中任一标签即保留。
|
|
2525
|
+
*
|
|
2526
|
+
* @param request - ListGraphSchemasRequest
|
|
2527
|
+
* @returns ListGraphSchemasResponse
|
|
2528
|
+
*/
|
|
2529
|
+
listGraphSchemas(request: $_model.ListGraphSchemasRequest): Promise<$_model.ListGraphSchemasResponse>;
|
|
2204
2530
|
/**
|
|
2205
2531
|
* Queries the list of knowledge graphs available for semantic queries under a tenant.
|
|
2206
2532
|
*
|
|
@@ -2264,17 +2590,41 @@ export default class Client extends OpenApi {
|
|
|
2264
2590
|
*/
|
|
2265
2591
|
listKnowledgeBaseDirectories(request: $_model.ListKnowledgeBaseDirectoriesRequest): Promise<$_model.ListKnowledgeBaseDirectoriesResponse>;
|
|
2266
2592
|
/**
|
|
2267
|
-
* Queries the
|
|
2593
|
+
* Queries the precise object type follows of a digital employee by page.
|
|
2594
|
+
*
|
|
2595
|
+
* @remarks
|
|
2596
|
+
* Queries follows by three independent dimensions: graphName, operatingObjectName, and objectType. Supports primary objects and explicit first-level associated objects. Uses opaque cursor pagination and is not limited by the 1000-item display window of the follow panel.
|
|
2597
|
+
*
|
|
2598
|
+
* @param request - ListOperatingObjectFavoritesRequest
|
|
2599
|
+
* @param headers - map
|
|
2600
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2601
|
+
* @returns ListOperatingObjectFavoritesResponse
|
|
2602
|
+
*/
|
|
2603
|
+
listOperatingObjectFavoritesWithOptions(request: $_model.ListOperatingObjectFavoritesRequest, headers: {
|
|
2604
|
+
[key: string]: string;
|
|
2605
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListOperatingObjectFavoritesResponse>;
|
|
2606
|
+
/**
|
|
2607
|
+
* Queries the precise object type follows of a digital employee by page.
|
|
2608
|
+
*
|
|
2609
|
+
* @remarks
|
|
2610
|
+
* Queries follows by three independent dimensions: graphName, operatingObjectName, and objectType. Supports primary objects and explicit first-level associated objects. Uses opaque cursor pagination and is not limited by the 1000-item display window of the follow panel.
|
|
2611
|
+
*
|
|
2612
|
+
* @param request - ListOperatingObjectFavoritesRequest
|
|
2613
|
+
* @returns ListOperatingObjectFavoritesResponse
|
|
2614
|
+
*/
|
|
2615
|
+
listOperatingObjectFavorites(request: $_model.ListOperatingObjectFavoritesRequest): Promise<$_model.ListOperatingObjectFavoritesResponse>;
|
|
2616
|
+
/**
|
|
2617
|
+
* Queries the output list of the current user, with support for conditional filtering and pagination.
|
|
2268
2618
|
*
|
|
2269
2619
|
* @remarks
|
|
2270
2620
|
* ## Operation description
|
|
2271
|
-
* - This API operation queries the output list of the current
|
|
2272
|
-
* - `tenantId` is a common parameter. If
|
|
2273
|
-
* -
|
|
2274
|
-
* - Set `sharedOnly` to `true` to display only
|
|
2275
|
-
* - Pagination is controlled by `page` (page number) and `pageSize` (number of
|
|
2621
|
+
* - This API operation queries the output list of the current logged-in user.
|
|
2622
|
+
* - `tenantId` is a common parameter. If not specified, the default tenant of the caller is used.
|
|
2623
|
+
* - Supports filtering by parameters such as `operatingObjectName`, `itemType`, and `keyword`.
|
|
2624
|
+
* - 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, results start from page 1 with 20 records per page.
|
|
2276
2626
|
* - Results are sorted by update time in descending order by default.
|
|
2277
|
-
* - The `tenant_id` or `user_id`
|
|
2627
|
+
* - The `tenant_id` or `user_id` passed in the request body by the caller is ignored. This information is derived only from the authenticated identity.
|
|
2278
2628
|
*
|
|
2279
2629
|
* @param request - ListOutputFilesRequest
|
|
2280
2630
|
* @param headers - map
|
|
@@ -2285,32 +2635,32 @@ export default class Client extends OpenApi {
|
|
|
2285
2635
|
[key: string]: string;
|
|
2286
2636
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListOutputFilesResponse>;
|
|
2287
2637
|
/**
|
|
2288
|
-
* Queries the output list of the current user with support for conditional filtering and pagination.
|
|
2638
|
+
* Queries the output list of the current user, with support for conditional filtering and pagination.
|
|
2289
2639
|
*
|
|
2290
2640
|
* @remarks
|
|
2291
2641
|
* ## Operation description
|
|
2292
|
-
* - This API operation queries the output list of the current
|
|
2293
|
-
* - `tenantId` is a common parameter. If
|
|
2294
|
-
* -
|
|
2295
|
-
* - Set `sharedOnly` to `true` to display only
|
|
2296
|
-
* - Pagination is controlled by `page` (page number) and `pageSize` (number of
|
|
2642
|
+
* - This API operation queries the output list of the current logged-in user.
|
|
2643
|
+
* - `tenantId` is a common parameter. If not specified, the default tenant of the caller is used.
|
|
2644
|
+
* - Supports filtering by parameters such as `operatingObjectName`, `itemType`, and `keyword`.
|
|
2645
|
+
* - 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, results start from page 1 with 20 records per page.
|
|
2297
2647
|
* - Results are sorted by update time in descending order by default.
|
|
2298
|
-
* - The `tenant_id` or `user_id`
|
|
2648
|
+
* - The `tenant_id` or `user_id` passed in the request body by the caller is ignored. This information is derived only from the authenticated identity.
|
|
2299
2649
|
*
|
|
2300
2650
|
* @param request - ListOutputFilesRequest
|
|
2301
2651
|
* @returns ListOutputFilesResponse
|
|
2302
2652
|
*/
|
|
2303
2653
|
listOutputFiles(request: $_model.ListOutputFilesRequest): Promise<$_model.ListOutputFilesResponse>;
|
|
2304
2654
|
/**
|
|
2305
|
-
* Queries subdirectories and resources under a specified digital employee resource directory.
|
|
2655
|
+
* Queries the subdirectories and resources under a specified digital employee resource directory.
|
|
2306
2656
|
*
|
|
2307
2657
|
* @remarks
|
|
2308
2658
|
* ## Operation description
|
|
2309
|
-
* - This API is used to drill down and query subdirectories and resources under the "My Resources" directory.
|
|
2659
|
+
* - This API is used to drill down and query the subdirectories and resources under the "My Resources" directory.
|
|
2310
2660
|
* - When `directoryId` is set to \\"root\\", the service automatically resolves and returns the content under the current digital employee\\"s default root directory. If a specific directory ID is provided, the subdirectories and resources under that directory are returned.
|
|
2311
2661
|
* - Security constraint: `tenant_id` and `user_id` can only come from the authenticated identity information. These fields provided by the caller in the request body are ignored.
|
|
2312
2662
|
* - You can use the `sourceTypes` parameter to filter resources of specific types. When this parameter has a value, only resources that match the type condition are returned, and subdirectories are not included.
|
|
2313
|
-
* - Sorting
|
|
2663
|
+
* - Sorting is supported by name (`name`), creation time (`gmt_create`), or modification time (`gmt_modified`) in ascending or descending order.
|
|
2314
2664
|
* - The pagination feature allows you to customize the number of items displayed per page (maximum 100) and the current page number.
|
|
2315
2665
|
*
|
|
2316
2666
|
* @param tmpReq - ListPersonalDirectoryContentsRequest
|
|
@@ -2322,15 +2672,15 @@ export default class Client extends OpenApi {
|
|
|
2322
2672
|
[key: string]: string;
|
|
2323
2673
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListPersonalDirectoryContentsResponse>;
|
|
2324
2674
|
/**
|
|
2325
|
-
* Queries subdirectories and resources under a specified digital employee resource directory.
|
|
2675
|
+
* Queries the subdirectories and resources under a specified digital employee resource directory.
|
|
2326
2676
|
*
|
|
2327
2677
|
* @remarks
|
|
2328
2678
|
* ## Operation description
|
|
2329
|
-
* - This API is used to drill down and query subdirectories and resources under the "My Resources" directory.
|
|
2679
|
+
* - This API is used to drill down and query the subdirectories and resources under the "My Resources" directory.
|
|
2330
2680
|
* - When `directoryId` is set to \\"root\\", the service automatically resolves and returns the content under the current digital employee\\"s default root directory. If a specific directory ID is provided, the subdirectories and resources under that directory are returned.
|
|
2331
2681
|
* - Security constraint: `tenant_id` and `user_id` can only come from the authenticated identity information. These fields provided by the caller in the request body are ignored.
|
|
2332
2682
|
* - You can use the `sourceTypes` parameter to filter resources of specific types. When this parameter has a value, only resources that match the type condition are returned, and subdirectories are not included.
|
|
2333
|
-
* - Sorting
|
|
2683
|
+
* - Sorting is supported by name (`name`), creation time (`gmt_create`), or modification time (`gmt_modified`) in ascending or descending order.
|
|
2334
2684
|
* - The pagination feature allows you to customize the number of items displayed per page (maximum 100) and the current page number.
|
|
2335
2685
|
*
|
|
2336
2686
|
* @param request - ListPersonalDirectoryContentsRequest
|
|
@@ -2379,7 +2729,7 @@ export default class Client extends OpenApi {
|
|
|
2379
2729
|
* @remarks
|
|
2380
2730
|
* ## Operation description
|
|
2381
2731
|
* - This operation uploads a file to an enterprise knowledge base.
|
|
2382
|
-
* - The
|
|
2732
|
+
* - The DEVELOPMENT_KB_MANAGE permission is required to call this operation.
|
|
2383
2733
|
* - You must provide the OSS persistent address (`filePath`) of the file when uploading.
|
|
2384
2734
|
* - Optional parameters include the public access URL and original file name to enhance the completeness of file information.
|
|
2385
2735
|
* - 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.
|
|
@@ -2400,7 +2750,7 @@ export default class Client extends OpenApi {
|
|
|
2400
2750
|
* @remarks
|
|
2401
2751
|
* ## Operation description
|
|
2402
2752
|
* - This operation uploads a file to an enterprise knowledge base.
|
|
2403
|
-
* - The
|
|
2753
|
+
* - The DEVELOPMENT_KB_MANAGE permission is required to call this operation.
|
|
2404
2754
|
* - You must provide the OSS persistent address (`filePath`) of the file when uploading.
|
|
2405
2755
|
* - Optional parameters include the public access URL and original file name to enhance the completeness of file information.
|
|
2406
2756
|
* - 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.
|
|
@@ -2420,14 +2770,14 @@ export default class Client extends OpenApi {
|
|
|
2420
2770
|
* ### Request parameters
|
|
2421
2771
|
* - **TenantId**: Optional. A common parameter passed through by the gateway to the backend header. If not specified, the default tenant of the current caller is used.
|
|
2422
2772
|
* - **FilterType**: Optional. The skill filtering dimension. Valid values: `ALL` (all published), `BUILTIN` (built-in published), `CUSTOM` (custom published), `DRAFT` (drafts, including published skills with unpublished modifications). Default value: `ALL`.
|
|
2423
|
-
* - **Tags**: Optional. Filters by tags. A match
|
|
2424
|
-
* - **Keyword**: Optional. Performs fuzzy
|
|
2773
|
+
* - **Tags**: Optional. Filters by tags. A match is returned if any tag in the array is hit.
|
|
2774
|
+
* - **Keyword**: Optional. Performs a fuzzy match on the skill name or description.
|
|
2425
2775
|
* - **Page**: Optional. The page number. Minimum value: 1. Default value: 1.
|
|
2426
|
-
* - **PageSize**: Optional. The number of entries per page.
|
|
2427
|
-
* - **OperatingObjectName**: Optional. The digital employee
|
|
2776
|
+
* - **PageSize**: Optional. The number of entries per page. Valid values: 1 to 100. Default value: 20.
|
|
2777
|
+
* - **OperatingObjectName**: Optional. The name of the digital employee. If specified, results are filtered by binding relationship. Must be used together with `BindStatus`.
|
|
2428
2778
|
* - **BindStatus**: Optional. The binding status. Valid values: `BOUND` (bound), `UNBOUND` (unbound global skills).
|
|
2429
2779
|
* ### Response parameters
|
|
2430
|
-
* The response contains the skill list `items`, total count `total`, current page `page`, and page
|
|
2780
|
+
* The response contains the skill list `items`, the total count `total`, the current page `page`, and the number of entries per page `pageSize`.
|
|
2431
2781
|
*
|
|
2432
2782
|
* @param tmpReq - ListSkillsRequest
|
|
2433
2783
|
* @param headers - map
|
|
@@ -2446,14 +2796,14 @@ export default class Client extends OpenApi {
|
|
|
2446
2796
|
* ### Request parameters
|
|
2447
2797
|
* - **TenantId**: Optional. A common parameter passed through by the gateway to the backend header. If not specified, the default tenant of the current caller is used.
|
|
2448
2798
|
* - **FilterType**: Optional. The skill filtering dimension. Valid values: `ALL` (all published), `BUILTIN` (built-in published), `CUSTOM` (custom published), `DRAFT` (drafts, including published skills with unpublished modifications). Default value: `ALL`.
|
|
2449
|
-
* - **Tags**: Optional. Filters by tags. A match
|
|
2450
|
-
* - **Keyword**: Optional. Performs fuzzy
|
|
2799
|
+
* - **Tags**: Optional. Filters by tags. A match is returned if any tag in the array is hit.
|
|
2800
|
+
* - **Keyword**: Optional. Performs a fuzzy match on the skill name or description.
|
|
2451
2801
|
* - **Page**: Optional. The page number. Minimum value: 1. Default value: 1.
|
|
2452
|
-
* - **PageSize**: Optional. The number of entries per page.
|
|
2453
|
-
* - **OperatingObjectName**: Optional. The digital employee
|
|
2802
|
+
* - **PageSize**: Optional. The number of entries per page. Valid values: 1 to 100. Default value: 20.
|
|
2803
|
+
* - **OperatingObjectName**: Optional. The name of the digital employee. If specified, results are filtered by binding relationship. Must be used together with `BindStatus`.
|
|
2454
2804
|
* - **BindStatus**: Optional. The binding status. Valid values: `BOUND` (bound), `UNBOUND` (unbound global skills).
|
|
2455
2805
|
* ### Response parameters
|
|
2456
|
-
* The response contains the skill list `items`, total count `total`, current page `page`, and page
|
|
2806
|
+
* The response contains the skill list `items`, the total count `total`, the current page `page`, and the number of entries per page `pageSize`.
|
|
2457
2807
|
*
|
|
2458
2808
|
* @param request - ListSkillsRequest
|
|
2459
2809
|
* @returns ListSkillsResponse
|
|
@@ -2766,11 +3116,11 @@ export default class Client extends OpenApi {
|
|
|
2766
3116
|
*/
|
|
2767
3117
|
moveResource(request: $_model.MoveResourceRequest): Promise<$_model.MoveResourceResponse>;
|
|
2768
3118
|
/**
|
|
2769
|
-
*
|
|
3119
|
+
* Takes a service notice offline.
|
|
2770
3120
|
*
|
|
2771
3121
|
* @remarks
|
|
2772
|
-
* ##
|
|
2773
|
-
* Idempotently
|
|
3122
|
+
* ## Operation description
|
|
3123
|
+
* Idempotently takes a platform announcement offline by announcement ID. Returns `changed=true` when a PUBLISHED announcement is taken offline for the first time. Returns `changed=false` when the announcement is already offline or expired.
|
|
2774
3124
|
* The caller must belong to the system operations tenant and have announcement management permissions.
|
|
2775
3125
|
*
|
|
2776
3126
|
* @param request - OfflineAnnouncementRequest
|
|
@@ -2782,11 +3132,11 @@ export default class Client extends OpenApi {
|
|
|
2782
3132
|
[key: string]: string;
|
|
2783
3133
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.OfflineAnnouncementResponse>;
|
|
2784
3134
|
/**
|
|
2785
|
-
*
|
|
3135
|
+
* Takes a service notice offline.
|
|
2786
3136
|
*
|
|
2787
3137
|
* @remarks
|
|
2788
|
-
* ##
|
|
2789
|
-
* Idempotently
|
|
3138
|
+
* ## Operation description
|
|
3139
|
+
* Idempotently takes a platform announcement offline by announcement ID. Returns `changed=true` when a PUBLISHED announcement is taken offline for the first time. Returns `changed=false` when the announcement is already offline or expired.
|
|
2790
3140
|
* The caller must belong to the system operations tenant and have announcement management permissions.
|
|
2791
3141
|
*
|
|
2792
3142
|
* @param request - OfflineAnnouncementRequest
|
|
@@ -2858,15 +3208,15 @@ export default class Client extends OpenApi {
|
|
|
2858
3208
|
*/
|
|
2859
3209
|
previewPersonalSource(request: $_model.PreviewPersonalSourceRequest): Promise<$_model.PreviewPersonalSourceResponse>;
|
|
2860
3210
|
/**
|
|
2861
|
-
* Queries primary object data by operating object name with
|
|
3211
|
+
* Queries primary object data with paging by operating object name, with support for filtering and search.
|
|
2862
3212
|
*
|
|
2863
3213
|
* @remarks
|
|
2864
3214
|
* ## Operation description
|
|
2865
|
-
* - This API queries primary object data by a specified operating object name (such as `customer_1`)
|
|
2866
|
-
* -
|
|
2867
|
-
* -
|
|
3215
|
+
* - This API operation queries primary object data with paging by a specified operating object name (such as `customer_1`).
|
|
3216
|
+
* - You can search by keyword and specify whether to return only objects marked as favorites.
|
|
3217
|
+
* - You can use complex filter conditions to further narrow results, including but not limited to operators such as equal to, not equal to, greater than, and less than.
|
|
2868
3218
|
* - If no primary object type is configured, an empty result set is returned.
|
|
2869
|
-
* -
|
|
3219
|
+
* - The data in the request is subject to authentication and filtering to ensure security and accuracy.
|
|
2870
3220
|
*
|
|
2871
3221
|
* @param request - QueryPrimaryObjectDataRequest
|
|
2872
3222
|
* @param headers - map
|
|
@@ -2877,15 +3227,15 @@ export default class Client extends OpenApi {
|
|
|
2877
3227
|
[key: string]: string;
|
|
2878
3228
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.QueryPrimaryObjectDataResponse>;
|
|
2879
3229
|
/**
|
|
2880
|
-
* Queries primary object data by operating object name with
|
|
3230
|
+
* Queries primary object data with paging by operating object name, with support for filtering and search.
|
|
2881
3231
|
*
|
|
2882
3232
|
* @remarks
|
|
2883
3233
|
* ## Operation description
|
|
2884
|
-
* - This API queries primary object data by a specified operating object name (such as `customer_1`)
|
|
2885
|
-
* -
|
|
2886
|
-
* -
|
|
3234
|
+
* - This API operation queries primary object data with paging by a specified operating object name (such as `customer_1`).
|
|
3235
|
+
* - You can search by keyword and specify whether to return only objects marked as favorites.
|
|
3236
|
+
* - You can use complex filter conditions to further narrow results, including but not limited to operators such as equal to, not equal to, greater than, and less than.
|
|
2887
3237
|
* - If no primary object type is configured, an empty result set is returned.
|
|
2888
|
-
* -
|
|
3238
|
+
* - The data in the request is subject to authentication and filtering to ensure security and accuracy.
|
|
2889
3239
|
*
|
|
2890
3240
|
* @param request - QueryPrimaryObjectDataRequest
|
|
2891
3241
|
* @returns QueryPrimaryObjectDataResponse
|
|
@@ -2958,12 +3308,12 @@ export default class Client extends OpenApi {
|
|
|
2958
3308
|
*
|
|
2959
3309
|
* @remarks
|
|
2960
3310
|
* ## Request description
|
|
2961
|
-
* Based on the most recent N messages in a session and the skills attached to the agent,
|
|
3311
|
+
* Based on the most recent N messages in a session and the skills attached to the agent, invokes an LLM to generate 0 to 3 next-step recommendations (follow-up questions or recommended skills to execute).
|
|
2962
3312
|
* - `sessionId`: The session ID. Required. Only sessions that the currently authenticated user has permission to access are allowed.
|
|
2963
|
-
* - `recentMessageCount`: The number of recent messages used to assemble contextual information. Valid values: 1 to 30. Default value: 10 (approximately 5 rounds of user+assistant conversation).
|
|
2964
|
-
* - `customPrompt`: A custom recommendation instruction (up to 10,000 characters). This is injected into the default recommendation template
|
|
2965
|
-
* - `outputType`:
|
|
2966
|
-
* Unlike internal endpoints, API calls are not restricted by the next-step recommendation toggle in user personal settings and always
|
|
3313
|
+
* - `recentMessageCount`: The number of recent messages used to assemble the contextual information. Valid values: 1 to 30. Default value: 10 (approximately 5 rounds of user+assistant conversation).
|
|
3314
|
+
* - `customPrompt`: A custom recommendation instruction (up to 10,000 characters). This instruction is injected into the default recommendation template before the output format constraints. The output is still subject to the JSON format and type constraints of the template.
|
|
3315
|
+
* - `outputType`: Filters the output type. followUpOnly = follow-up question recommendations only (default). skillOnly = skill recommendations only. both = generates both types.
|
|
3316
|
+
* Unlike internal endpoints, API calls are not restricted by the next-step recommendation toggle in user personal settings and always perform recommendation generation.
|
|
2967
3317
|
*
|
|
2968
3318
|
* @param request - RecommendNextActionsRequest
|
|
2969
3319
|
* @param headers - map
|
|
@@ -2978,12 +3328,12 @@ export default class Client extends OpenApi {
|
|
|
2978
3328
|
*
|
|
2979
3329
|
* @remarks
|
|
2980
3330
|
* ## Request description
|
|
2981
|
-
* Based on the most recent N messages in a session and the skills attached to the agent,
|
|
3331
|
+
* Based on the most recent N messages in a session and the skills attached to the agent, invokes an LLM to generate 0 to 3 next-step recommendations (follow-up questions or recommended skills to execute).
|
|
2982
3332
|
* - `sessionId`: The session ID. Required. Only sessions that the currently authenticated user has permission to access are allowed.
|
|
2983
|
-
* - `recentMessageCount`: The number of recent messages used to assemble contextual information. Valid values: 1 to 30. Default value: 10 (approximately 5 rounds of user+assistant conversation).
|
|
2984
|
-
* - `customPrompt`: A custom recommendation instruction (up to 10,000 characters). This is injected into the default recommendation template
|
|
2985
|
-
* - `outputType`:
|
|
2986
|
-
* Unlike internal endpoints, API calls are not restricted by the next-step recommendation toggle in user personal settings and always
|
|
3333
|
+
* - `recentMessageCount`: The number of recent messages used to assemble the contextual information. Valid values: 1 to 30. Default value: 10 (approximately 5 rounds of user+assistant conversation).
|
|
3334
|
+
* - `customPrompt`: A custom recommendation instruction (up to 10,000 characters). This instruction is injected into the default recommendation template before the output format constraints. The output is still subject to the JSON format and type constraints of the template.
|
|
3335
|
+
* - `outputType`: Filters the output type. followUpOnly = follow-up question recommendations only (default). skillOnly = skill recommendations only. both = generates both types.
|
|
3336
|
+
* Unlike internal endpoints, API calls are not restricted by the next-step recommendation toggle in user personal settings and always perform recommendation generation.
|
|
2987
3337
|
*
|
|
2988
3338
|
* @param request - RecommendNextActionsRequest
|
|
2989
3339
|
* @returns RecommendNextActionsResponse
|
|
@@ -3355,7 +3705,7 @@ export default class Client extends OpenApi {
|
|
|
3355
3705
|
* - Ensure that `tenantId` and `userId` come from verified identity information.
|
|
3356
3706
|
* ### Precautions
|
|
3357
3707
|
* - `directoryId` is a required parameter that specifies the target folder in which to check and retry failed data sources.
|
|
3358
|
-
* - If `tenantId` is not provided, the tenant ID
|
|
3708
|
+
* - If `tenantId` is not provided, the caller\\"s tenant ID is used by default.
|
|
3359
3709
|
* - The API supports multiple authentication methods, including AccessKey, BearerToken, and APP authentication.
|
|
3360
3710
|
*
|
|
3361
3711
|
* @param request - RetryDirectoryFailedSourcesRequest
|
|
@@ -3378,7 +3728,7 @@ export default class Client extends OpenApi {
|
|
|
3378
3728
|
* - Ensure that `tenantId` and `userId` come from verified identity information.
|
|
3379
3729
|
* ### Precautions
|
|
3380
3730
|
* - `directoryId` is a required parameter that specifies the target folder in which to check and retry failed data sources.
|
|
3381
|
-
* - If `tenantId` is not provided, the tenant ID
|
|
3731
|
+
* - If `tenantId` is not provided, the caller\\"s tenant ID is used by default.
|
|
3382
3732
|
* - The API supports multiple authentication methods, including AccessKey, BearerToken, and APP authentication.
|
|
3383
3733
|
*
|
|
3384
3734
|
* @param request - RetryDirectoryFailedSourcesRequest
|
|
@@ -3389,14 +3739,14 @@ export default class Client extends OpenApi {
|
|
|
3389
3739
|
* Retries all data sources in failed status under a specified directory in batch.
|
|
3390
3740
|
*
|
|
3391
3741
|
* @remarks
|
|
3392
|
-
* ##
|
|
3742
|
+
* ## Operation description
|
|
3393
3743
|
* This API retrieves and retries all data sources in FAILED status under a specified enterprise knowledge base directory (including its subdirectories). The request returns immediately, and the actual retry operations are executed asynchronously in the background.
|
|
3394
|
-
* - **Authentication**: In addition to basic authentication, the
|
|
3744
|
+
* - **Authentication**: In addition to basic authentication, the DEVELOPMENT_KB_MANAGE permission is required.
|
|
3395
3745
|
* - **Security constraints**: Only callers with the corresponding tenant and user identity are allowed access, and KB management permission is required. Administrators can initiate retries for failed resources of any user.
|
|
3396
3746
|
* - **Parameters**:
|
|
3397
3747
|
* - `directoryId` (required): The ID of the enterprise knowledge base directory for which to check and retry failed data sources.
|
|
3398
3748
|
* - `tenantId` (optional): The tenant ID. The default tenant of the caller is used if this parameter is not specified.
|
|
3399
|
-
* - **Response**: On success,
|
|
3749
|
+
* - **Response**: On success, the response includes the number of data sources enqueued for retry and their details.
|
|
3400
3750
|
*
|
|
3401
3751
|
* @param request - RetryKnowledgeBaseFailedSourcesRequest
|
|
3402
3752
|
* @param headers - map
|
|
@@ -3410,19 +3760,59 @@ export default class Client extends OpenApi {
|
|
|
3410
3760
|
* Retries all data sources in failed status under a specified directory in batch.
|
|
3411
3761
|
*
|
|
3412
3762
|
* @remarks
|
|
3413
|
-
* ##
|
|
3763
|
+
* ## Operation description
|
|
3414
3764
|
* This API retrieves and retries all data sources in FAILED status under a specified enterprise knowledge base directory (including its subdirectories). The request returns immediately, and the actual retry operations are executed asynchronously in the background.
|
|
3415
|
-
* - **Authentication**: In addition to basic authentication, the
|
|
3765
|
+
* - **Authentication**: In addition to basic authentication, the DEVELOPMENT_KB_MANAGE permission is required.
|
|
3416
3766
|
* - **Security constraints**: Only callers with the corresponding tenant and user identity are allowed access, and KB management permission is required. Administrators can initiate retries for failed resources of any user.
|
|
3417
3767
|
* - **Parameters**:
|
|
3418
3768
|
* - `directoryId` (required): The ID of the enterprise knowledge base directory for which to check and retry failed data sources.
|
|
3419
3769
|
* - `tenantId` (optional): The tenant ID. The default tenant of the caller is used if this parameter is not specified.
|
|
3420
|
-
* - **Response**: On success,
|
|
3770
|
+
* - **Response**: On success, the response includes the number of data sources enqueued for retry and their details.
|
|
3421
3771
|
*
|
|
3422
3772
|
* @param request - RetryKnowledgeBaseFailedSourcesRequest
|
|
3423
3773
|
* @returns RetryKnowledgeBaseFailedSourcesResponse
|
|
3424
3774
|
*/
|
|
3425
3775
|
retryKnowledgeBaseFailedSources(request: $_model.RetryKnowledgeBaseFailedSourcesRequest): Promise<$_model.RetryKnowledgeBaseFailedSourcesResponse>;
|
|
3776
|
+
/**
|
|
3777
|
+
* Revokes a single semantic resource draft.
|
|
3778
|
+
*
|
|
3779
|
+
* @remarks
|
|
3780
|
+
* Revokes a single semantic resource draft via OpenAPI (personal token only).
|
|
3781
|
+
* Business orchestration:
|
|
3782
|
+
* 1. Draft domain identity verification (personal token only. Deploy/system-level tokens are rejected)
|
|
3783
|
+
* and semantic management permission verification.
|
|
3784
|
+
* 2. When graphName is provided, verifies draft ownership consistency (prevents accidental cross-knowledge-graph deletion).
|
|
3785
|
+
* If the draft no longer exists, returns reverted=false (idempotent semantics, no error is reported).
|
|
3786
|
+
* Error codes:
|
|
3787
|
+
* - ERR.User.TokenUserOnly: Personal drafts support only user tokens.
|
|
3788
|
+
* - ERR.Robject.Global.InvalidParameter: draftChangeId does not belong to the specified knowledge graph.
|
|
3789
|
+
*
|
|
3790
|
+
* @param request - RevertGraphDraftResourceRequest
|
|
3791
|
+
* @param headers - map
|
|
3792
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3793
|
+
* @returns RevertGraphDraftResourceResponse
|
|
3794
|
+
*/
|
|
3795
|
+
revertGraphDraftResourceWithOptions(request: $_model.RevertGraphDraftResourceRequest, headers: {
|
|
3796
|
+
[key: string]: string;
|
|
3797
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.RevertGraphDraftResourceResponse>;
|
|
3798
|
+
/**
|
|
3799
|
+
* Revokes a single semantic resource draft.
|
|
3800
|
+
*
|
|
3801
|
+
* @remarks
|
|
3802
|
+
* Revokes a single semantic resource draft via OpenAPI (personal token only).
|
|
3803
|
+
* Business orchestration:
|
|
3804
|
+
* 1. Draft domain identity verification (personal token only. Deploy/system-level tokens are rejected)
|
|
3805
|
+
* and semantic management permission verification.
|
|
3806
|
+
* 2. When graphName is provided, verifies draft ownership consistency (prevents accidental cross-knowledge-graph deletion).
|
|
3807
|
+
* If the draft no longer exists, returns reverted=false (idempotent semantics, no error is reported).
|
|
3808
|
+
* Error codes:
|
|
3809
|
+
* - ERR.User.TokenUserOnly: Personal drafts support only user tokens.
|
|
3810
|
+
* - ERR.Robject.Global.InvalidParameter: draftChangeId does not belong to the specified knowledge graph.
|
|
3811
|
+
*
|
|
3812
|
+
* @param request - RevertGraphDraftResourceRequest
|
|
3813
|
+
* @returns RevertGraphDraftResourceResponse
|
|
3814
|
+
*/
|
|
3815
|
+
revertGraphDraftResource(request: $_model.RevertGraphDraftResourceRequest): Promise<$_model.RevertGraphDraftResourceResponse>;
|
|
3426
3816
|
/**
|
|
3427
3817
|
* Revokes the usage permissions of a user or user group on a digital human.
|
|
3428
3818
|
*
|
|
@@ -3495,6 +3885,50 @@ export default class Client extends OpenApi {
|
|
|
3495
3885
|
* @returns RunSkillResponse
|
|
3496
3886
|
*/
|
|
3497
3887
|
runSkill(request: $_model.RunSkillRequest): Promise<$_model.RunSkillResponse>;
|
|
3888
|
+
/**
|
|
3889
|
+
* 保存单个语义资源草稿
|
|
3890
|
+
*
|
|
3891
|
+
* @remarks
|
|
3892
|
+
* OpenAPI 保存单个语义资源草稿(仅个人 Token)。
|
|
3893
|
+
* 业务编排:
|
|
3894
|
+
* 1. 草稿域身份校验(仅个人 Token;部署/系统级 Token 被拒绝)
|
|
3895
|
+
* 与语义管理权限校验
|
|
3896
|
+
* 2. 委托个人草稿服务保存(来源固定 YAML),底层含资源级写权限校验;
|
|
3897
|
+
* 内容与在线完全一致时跳过落库,摘要字段返回 null
|
|
3898
|
+
* 错误码:
|
|
3899
|
+
* - ERR.User.TokenUserOnly: 个人草稿仅支持用户 Token
|
|
3900
|
+
* - ERR.Robject.Global.InvalidParameter: resourceType/elementType 组合不合法
|
|
3901
|
+
* - ERR.GraphSchema.*: 图谱不存在 / 资源命名与归属校验失败
|
|
3902
|
+
* - ERR.Robject.Global.ResourceNotFound: 资源不存在等底层校验失败
|
|
3903
|
+
*
|
|
3904
|
+
* @param request - SaveGraphDraftResourceRequest
|
|
3905
|
+
* @param headers - map
|
|
3906
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3907
|
+
* @returns SaveGraphDraftResourceResponse
|
|
3908
|
+
*/
|
|
3909
|
+
saveGraphDraftResourceWithOptions(request: $_model.SaveGraphDraftResourceRequest, headers: {
|
|
3910
|
+
[key: string]: string;
|
|
3911
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.SaveGraphDraftResourceResponse>;
|
|
3912
|
+
/**
|
|
3913
|
+
* 保存单个语义资源草稿
|
|
3914
|
+
*
|
|
3915
|
+
* @remarks
|
|
3916
|
+
* OpenAPI 保存单个语义资源草稿(仅个人 Token)。
|
|
3917
|
+
* 业务编排:
|
|
3918
|
+
* 1. 草稿域身份校验(仅个人 Token;部署/系统级 Token 被拒绝)
|
|
3919
|
+
* 与语义管理权限校验
|
|
3920
|
+
* 2. 委托个人草稿服务保存(来源固定 YAML),底层含资源级写权限校验;
|
|
3921
|
+
* 内容与在线完全一致时跳过落库,摘要字段返回 null
|
|
3922
|
+
* 错误码:
|
|
3923
|
+
* - ERR.User.TokenUserOnly: 个人草稿仅支持用户 Token
|
|
3924
|
+
* - ERR.Robject.Global.InvalidParameter: resourceType/elementType 组合不合法
|
|
3925
|
+
* - ERR.GraphSchema.*: 图谱不存在 / 资源命名与归属校验失败
|
|
3926
|
+
* - ERR.Robject.Global.ResourceNotFound: 资源不存在等底层校验失败
|
|
3927
|
+
*
|
|
3928
|
+
* @param request - SaveGraphDraftResourceRequest
|
|
3929
|
+
* @returns SaveGraphDraftResourceResponse
|
|
3930
|
+
*/
|
|
3931
|
+
saveGraphDraftResource(request: $_model.SaveGraphDraftResourceRequest): Promise<$_model.SaveGraphDraftResourceResponse>;
|
|
3498
3932
|
/**
|
|
3499
3933
|
* Saves group outputs in batches to the collaboration group repository.
|
|
3500
3934
|
*
|
|
@@ -3605,6 +4039,36 @@ export default class Client extends OpenApi {
|
|
|
3605
4039
|
* @returns SaveOutputFileToResourceResponse
|
|
3606
4040
|
*/
|
|
3607
4041
|
saveOutputFileToResource(request: $_model.SaveOutputFileToResourceRequest): Promise<$_model.SaveOutputFileToResourceResponse>;
|
|
4042
|
+
/**
|
|
4043
|
+
* Winnexo 轻量工作台搜索阿里钉群聊。
|
|
4044
|
+
*
|
|
4045
|
+
* @remarks
|
|
4046
|
+
* ## 请求说明
|
|
4047
|
+
* - 仅供 Winnexo 轻量工作台使用。
|
|
4048
|
+
* - 按关键词分页搜索当前平台用户可见的阿里钉群聊。
|
|
4049
|
+
* - 响应不包含 DWS 原始对象。
|
|
4050
|
+
*
|
|
4051
|
+
* @param request - SearchAliDingGroupChatsRequest
|
|
4052
|
+
* @param headers - map
|
|
4053
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4054
|
+
* @returns SearchAliDingGroupChatsResponse
|
|
4055
|
+
*/
|
|
4056
|
+
searchAliDingGroupChatsWithOptions(request: $_model.SearchAliDingGroupChatsRequest, headers: {
|
|
4057
|
+
[key: string]: string;
|
|
4058
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.SearchAliDingGroupChatsResponse>;
|
|
4059
|
+
/**
|
|
4060
|
+
* Winnexo 轻量工作台搜索阿里钉群聊。
|
|
4061
|
+
*
|
|
4062
|
+
* @remarks
|
|
4063
|
+
* ## 请求说明
|
|
4064
|
+
* - 仅供 Winnexo 轻量工作台使用。
|
|
4065
|
+
* - 按关键词分页搜索当前平台用户可见的阿里钉群聊。
|
|
4066
|
+
* - 响应不包含 DWS 原始对象。
|
|
4067
|
+
*
|
|
4068
|
+
* @param request - SearchAliDingGroupChatsRequest
|
|
4069
|
+
* @returns SearchAliDingGroupChatsResponse
|
|
4070
|
+
*/
|
|
4071
|
+
searchAliDingGroupChats(request: $_model.SearchAliDingGroupChatsRequest): Promise<$_model.SearchAliDingGroupChatsResponse>;
|
|
3608
4072
|
/**
|
|
3609
4073
|
* Asynchronously sends a session message.
|
|
3610
4074
|
*
|
|
@@ -3634,12 +4098,12 @@ export default class Client extends OpenApi {
|
|
|
3634
4098
|
*
|
|
3635
4099
|
* @remarks
|
|
3636
4100
|
* ## Operation description
|
|
3637
|
-
* - This API is used to upload a file to the "My Resources" section of a specified digital employee.
|
|
4101
|
+
* - This API operation is used to upload a file to the "My Resources" section of a specified digital employee.
|
|
3638
4102
|
* - `source_type` is fixed to `FILE`, `scope` is fixed to `PERSONAL`, and `platform` is fixed to `LOCAL`.
|
|
3639
4103
|
* - A persistent OSS address (`filePath`) must be provided for the file. Other information such as the public access URL and original file name is optional.
|
|
3640
|
-
* - If the target folder ID (`directoryId`) is not specified, the file is automatically attached to the default root folder of the current digital employee. If specified, ensure that the folder belongs to the
|
|
3641
|
-
* - Multiple authentication methods (AK, BearerToken, APP) are supported
|
|
3642
|
-
* - The operation type is write, and operation logs are recorded for subsequent auditing.
|
|
4104
|
+
* - If the target folder ID (`directoryId`) is not specified, the file is automatically attached to the default root folder of the current digital employee. If specified, ensure that the folder belongs to the personal folder of the invoker.
|
|
4105
|
+
* - Multiple authentication methods (AK, BearerToken, APP) are supported for security authentication.
|
|
4106
|
+
* - The operation type is write (`write`), and operation logs are recorded for subsequent auditing.
|
|
3643
4107
|
*
|
|
3644
4108
|
* @param tmpReq - SendChatMessageRequest
|
|
3645
4109
|
* @param headers - map
|
|
@@ -3654,12 +4118,12 @@ export default class Client extends OpenApi {
|
|
|
3654
4118
|
*
|
|
3655
4119
|
* @remarks
|
|
3656
4120
|
* ## Operation description
|
|
3657
|
-
* - This API is used to upload a file to the "My Resources" section of a specified digital employee.
|
|
4121
|
+
* - This API operation is used to upload a file to the "My Resources" section of a specified digital employee.
|
|
3658
4122
|
* - `source_type` is fixed to `FILE`, `scope` is fixed to `PERSONAL`, and `platform` is fixed to `LOCAL`.
|
|
3659
4123
|
* - A persistent OSS address (`filePath`) must be provided for the file. Other information such as the public access URL and original file name is optional.
|
|
3660
|
-
* - If the target folder ID (`directoryId`) is not specified, the file is automatically attached to the default root folder of the current digital employee. If specified, ensure that the folder belongs to the
|
|
3661
|
-
* - Multiple authentication methods (AK, BearerToken, APP) are supported
|
|
3662
|
-
* - The operation type is write, and operation logs are recorded for subsequent auditing.
|
|
4124
|
+
* - If the target folder ID (`directoryId`) is not specified, the file is automatically attached to the default root folder of the current digital employee. If specified, ensure that the folder belongs to the personal folder of the invoker.
|
|
4125
|
+
* - Multiple authentication methods (AK, BearerToken, APP) are supported for security authentication.
|
|
4126
|
+
* - The operation type is write (`write`), and operation logs are recorded for subsequent auditing.
|
|
3663
4127
|
*
|
|
3664
4128
|
* @param tmpReq - SendChatMessageRequest
|
|
3665
4129
|
* @param headers - map
|
|
@@ -3674,12 +4138,12 @@ export default class Client extends OpenApi {
|
|
|
3674
4138
|
*
|
|
3675
4139
|
* @remarks
|
|
3676
4140
|
* ## Operation description
|
|
3677
|
-
* - This API is used to upload a file to the "My Resources" section of a specified digital employee.
|
|
4141
|
+
* - This API operation is used to upload a file to the "My Resources" section of a specified digital employee.
|
|
3678
4142
|
* - `source_type` is fixed to `FILE`, `scope` is fixed to `PERSONAL`, and `platform` is fixed to `LOCAL`.
|
|
3679
4143
|
* - A persistent OSS address (`filePath`) must be provided for the file. Other information such as the public access URL and original file name is optional.
|
|
3680
|
-
* - If the target folder ID (`directoryId`) is not specified, the file is automatically attached to the default root folder of the current digital employee. If specified, ensure that the folder belongs to the
|
|
3681
|
-
* - Multiple authentication methods (AK, BearerToken, APP) are supported
|
|
3682
|
-
* - The operation type is write, and operation logs are recorded for subsequent auditing.
|
|
4144
|
+
* - If the target folder ID (`directoryId`) is not specified, the file is automatically attached to the default root folder of the current digital employee. If specified, ensure that the folder belongs to the personal folder of the invoker.
|
|
4145
|
+
* - Multiple authentication methods (AK, BearerToken, APP) are supported for security authentication.
|
|
4146
|
+
* - The operation type is write (`write`), and operation logs are recorded for subsequent auditing.
|
|
3683
4147
|
*
|
|
3684
4148
|
* @param request - SendChatMessageRequest
|
|
3685
4149
|
* @returns SendChatMessageResponse
|
|
@@ -3823,6 +4287,59 @@ export default class Client extends OpenApi {
|
|
|
3823
4287
|
* @returns TogglePrimaryObjectFavoriteResponse
|
|
3824
4288
|
*/
|
|
3825
4289
|
togglePrimaryObjectFavorite(request: $_model.TogglePrimaryObjectFavoriteRequest): Promise<$_model.TogglePrimaryObjectFavoriteResponse>;
|
|
4290
|
+
/**
|
|
4291
|
+
* Converts speech to text.
|
|
4292
|
+
*
|
|
4293
|
+
* @remarks
|
|
4294
|
+
* ## Request description
|
|
4295
|
+
* This API is used for speech-to-text (ASR) and uses the **file transfer upload** mode (`fileTransfer`). Audio files are not transmitted through the request body of this API. Instead, the audio file is first uploaded to OSS, and then the OSS address is passed to the backend through the `FileUrl` parameter. The backend retrieves the audio bytes from that address and calls the ASR model to convert them to text.
|
|
4296
|
+
* ### Call methods
|
|
4297
|
+
* - **Recommended**: Use the `TranscribeChatVoiceAdvance` method generated by the SDK. Pass in the local audio file stream, and the SDK automatically completes the transfer upload and populates the `FileUrl` parameter.
|
|
4298
|
+
* - **Direct upload**: Upload the audio file to an OSS address accessible by the server, and then call this API directly with the `FileUrl` parameter.
|
|
4299
|
+
* ### Request parameters
|
|
4300
|
+
* - **FileUrl**: Required. The OSS address of the audio file. When you use the Advance method, the SDK automatically populates this parameter. You do not need to set it manually.
|
|
4301
|
+
* - **FileName**: Required. The original file name including the extension, such as `meeting.mp3`. The OSS address generated during the transfer does not carry the original file name. The backend uses this parameter to determine the audio format, so you must explicitly specify it.
|
|
4302
|
+
* - **ContentType**: Optional. The MIME type of the audio, such as `audio/mpeg`. If this parameter is not specified, the MIME type is determined based on the file name extension.
|
|
4303
|
+
* - Supported audio formats: mp3, wav, m4a, mp4, webm, ogg, oga, opus, flac, and amr. Maximum file size: 25 MB.
|
|
4304
|
+
* ### Response parameters
|
|
4305
|
+
* Returns the recognized text content `text`.
|
|
4306
|
+
* ### Before you begin
|
|
4307
|
+
* The tenant must have the speech recognition model (model_audio_flash) configured. If it is not configured, the error `ERR.Robject.Chat.VoiceAudioNotConfigured` is returned.
|
|
4308
|
+
*
|
|
4309
|
+
* @param request - TranscribeChatVoiceRequest
|
|
4310
|
+
* @param headers - map
|
|
4311
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4312
|
+
* @returns TranscribeChatVoiceResponse
|
|
4313
|
+
*/
|
|
4314
|
+
transcribeChatVoiceWithOptions(request: $_model.TranscribeChatVoiceRequest, headers: {
|
|
4315
|
+
[key: string]: string;
|
|
4316
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.TranscribeChatVoiceResponse>;
|
|
4317
|
+
/**
|
|
4318
|
+
* Converts speech to text.
|
|
4319
|
+
*
|
|
4320
|
+
* @remarks
|
|
4321
|
+
* ## Request description
|
|
4322
|
+
* This API is used for speech-to-text (ASR) and uses the **file transfer upload** mode (`fileTransfer`). Audio files are not transmitted through the request body of this API. Instead, the audio file is first uploaded to OSS, and then the OSS address is passed to the backend through the `FileUrl` parameter. The backend retrieves the audio bytes from that address and calls the ASR model to convert them to text.
|
|
4323
|
+
* ### Call methods
|
|
4324
|
+
* - **Recommended**: Use the `TranscribeChatVoiceAdvance` method generated by the SDK. Pass in the local audio file stream, and the SDK automatically completes the transfer upload and populates the `FileUrl` parameter.
|
|
4325
|
+
* - **Direct upload**: Upload the audio file to an OSS address accessible by the server, and then call this API directly with the `FileUrl` parameter.
|
|
4326
|
+
* ### Request parameters
|
|
4327
|
+
* - **FileUrl**: Required. The OSS address of the audio file. When you use the Advance method, the SDK automatically populates this parameter. You do not need to set it manually.
|
|
4328
|
+
* - **FileName**: Required. The original file name including the extension, such as `meeting.mp3`. The OSS address generated during the transfer does not carry the original file name. The backend uses this parameter to determine the audio format, so you must explicitly specify it.
|
|
4329
|
+
* - **ContentType**: Optional. The MIME type of the audio, such as `audio/mpeg`. If this parameter is not specified, the MIME type is determined based on the file name extension.
|
|
4330
|
+
* - Supported audio formats: mp3, wav, m4a, mp4, webm, ogg, oga, opus, flac, and amr. Maximum file size: 25 MB.
|
|
4331
|
+
* ### Response parameters
|
|
4332
|
+
* Returns the recognized text content `text`.
|
|
4333
|
+
* ### Before you begin
|
|
4334
|
+
* The tenant must have the speech recognition model (model_audio_flash) configured. If it is not configured, the error `ERR.Robject.Chat.VoiceAudioNotConfigured` is returned.
|
|
4335
|
+
*
|
|
4336
|
+
* @param request - TranscribeChatVoiceRequest
|
|
4337
|
+
* @returns TranscribeChatVoiceResponse
|
|
4338
|
+
*/
|
|
4339
|
+
transcribeChatVoice(request: $_model.TranscribeChatVoiceRequest): Promise<$_model.TranscribeChatVoiceResponse>;
|
|
4340
|
+
transcribeChatVoiceAdvance(request: $_model.TranscribeChatVoiceAdvanceRequest, headers: {
|
|
4341
|
+
[key: string]: string;
|
|
4342
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.TranscribeChatVoiceResponse>;
|
|
3826
4343
|
/**
|
|
3827
4344
|
* Updates the authorization mode for digital employee usage permissions.
|
|
3828
4345
|
*
|
|
@@ -3925,6 +4442,42 @@ export default class Client extends OpenApi {
|
|
|
3925
4442
|
* @returns UpdateDirectoryResponse
|
|
3926
4443
|
*/
|
|
3927
4444
|
updateDirectory(request: $_model.UpdateDirectoryRequest): Promise<$_model.UpdateDirectoryResponse>;
|
|
4445
|
+
/**
|
|
4446
|
+
* 快更图谱元信息
|
|
4447
|
+
*
|
|
4448
|
+
* @remarks
|
|
4449
|
+
* OpenAPI 快更图谱元信息(displayName / businessProfile),同步更新 active 记录。
|
|
4450
|
+
* displayName 与 businessProfile 至少传其一,否则返回 ERR.GraphSchema.QuickUpdateNoFieldsToUpdate。
|
|
4451
|
+
* 错误码:
|
|
4452
|
+
* - ERR.GraphSchema.QuickUpdateNoFieldsToUpdate: 未传任何可更新字段
|
|
4453
|
+
* - ERR.GraphSchema.GraphNameInvalid: 图谱名称不合法
|
|
4454
|
+
* - ERR.GraphSchema.GraphSchemaNotFound: 图谱不存在
|
|
4455
|
+
* - ERR.GraphSchema.DisplayNameInvalid: 展示名不合法或重复
|
|
4456
|
+
*
|
|
4457
|
+
* @param request - UpdateGraphInfoRequest
|
|
4458
|
+
* @param headers - map
|
|
4459
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4460
|
+
* @returns UpdateGraphInfoResponse
|
|
4461
|
+
*/
|
|
4462
|
+
updateGraphInfoWithOptions(request: $_model.UpdateGraphInfoRequest, headers: {
|
|
4463
|
+
[key: string]: string;
|
|
4464
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateGraphInfoResponse>;
|
|
4465
|
+
/**
|
|
4466
|
+
* 快更图谱元信息
|
|
4467
|
+
*
|
|
4468
|
+
* @remarks
|
|
4469
|
+
* OpenAPI 快更图谱元信息(displayName / businessProfile),同步更新 active 记录。
|
|
4470
|
+
* displayName 与 businessProfile 至少传其一,否则返回 ERR.GraphSchema.QuickUpdateNoFieldsToUpdate。
|
|
4471
|
+
* 错误码:
|
|
4472
|
+
* - ERR.GraphSchema.QuickUpdateNoFieldsToUpdate: 未传任何可更新字段
|
|
4473
|
+
* - ERR.GraphSchema.GraphNameInvalid: 图谱名称不合法
|
|
4474
|
+
* - ERR.GraphSchema.GraphSchemaNotFound: 图谱不存在
|
|
4475
|
+
* - ERR.GraphSchema.DisplayNameInvalid: 展示名不合法或重复
|
|
4476
|
+
*
|
|
4477
|
+
* @param request - UpdateGraphInfoRequest
|
|
4478
|
+
* @returns UpdateGraphInfoResponse
|
|
4479
|
+
*/
|
|
4480
|
+
updateGraphInfo(request: $_model.UpdateGraphInfoRequest): Promise<$_model.UpdateGraphInfoResponse>;
|
|
3928
4481
|
/**
|
|
3929
4482
|
* Updates the information of a specified enterprise knowledge base directory, including the name, description, and parent directory.
|
|
3930
4483
|
*
|
|
@@ -4181,11 +4734,11 @@ export default class Client extends OpenApi {
|
|
|
4181
4734
|
* Updates partial fields of the current user information and returns the complete user information.
|
|
4182
4735
|
*
|
|
4183
4736
|
* @remarks
|
|
4184
|
-
* ##
|
|
4737
|
+
* ## Operation description
|
|
4185
4738
|
* - This API allows the caller to update some or all optional fields of a specified user. Fields that are not provided retain their original values.
|
|
4186
4739
|
* - Use the `tenantId` parameter to specify a tenant ID. If omitted, the default tenant of the caller is used.
|
|
4187
4740
|
* - After a successful update, the response body contains the complete user information object.
|
|
4188
|
-
* - This operation requires authentication and supports AK, BearerToken, and APP
|
|
4741
|
+
* - This operation requires authentication and supports three security schemes: AK, BearerToken, and APP.
|
|
4189
4742
|
* - The request content type is JSON, and the operation is available only over HTTPS.
|
|
4190
4743
|
* - Note: The `profileRoleInfo` field is valid only when the user role is set to Others. It describes the specific role information of the user.
|
|
4191
4744
|
*
|
|
@@ -4201,11 +4754,11 @@ export default class Client extends OpenApi {
|
|
|
4201
4754
|
* Updates partial fields of the current user information and returns the complete user information.
|
|
4202
4755
|
*
|
|
4203
4756
|
* @remarks
|
|
4204
|
-
* ##
|
|
4757
|
+
* ## Operation description
|
|
4205
4758
|
* - This API allows the caller to update some or all optional fields of a specified user. Fields that are not provided retain their original values.
|
|
4206
4759
|
* - Use the `tenantId` parameter to specify a tenant ID. If omitted, the default tenant of the caller is used.
|
|
4207
4760
|
* - After a successful update, the response body contains the complete user information object.
|
|
4208
|
-
* - This operation requires authentication and supports AK, BearerToken, and APP
|
|
4761
|
+
* - This operation requires authentication and supports three security schemes: AK, BearerToken, and APP.
|
|
4209
4762
|
* - The request content type is JSON, and the operation is available only over HTTPS.
|
|
4210
4763
|
* - Note: The `profileRoleInfo` field is valid only when the user role is set to Others. It describes the specific role information of the user.
|
|
4211
4764
|
*
|
|
@@ -4214,21 +4767,21 @@ export default class Client extends OpenApi {
|
|
|
4214
4767
|
*/
|
|
4215
4768
|
updateUserInfo(request: $_model.UpdateUserInfoRequest): Promise<$_model.UpdateUserInfoResponse>;
|
|
4216
4769
|
/**
|
|
4217
|
-
* Uploads a local file
|
|
4770
|
+
* Uploads a local file for a session.
|
|
4218
4771
|
*
|
|
4219
4772
|
* @remarks
|
|
4220
4773
|
* ## Operation description
|
|
4221
|
-
* This API
|
|
4222
|
-
* ###
|
|
4223
|
-
* - **Recommended**: Use the `UploadChatFileAdvance` method generated by the SDK. Pass in the local file stream, and the SDK automatically completes the transfer upload and populates `FileUrl
|
|
4224
|
-
* - **Direct upload**: Upload the file to an OSS address accessible by the server, and then
|
|
4774
|
+
* This API operation uploads a temporary temporary file by using the **file transfer upload** mode (`fileTransfer`). The file binary data is not transmitted in the request body of this API operation. Instead, the file is first uploaded to Object Storage Service (OSS), and then the OSS address is passed to the backend through the `FileUrl` parameter. The backend retrieves the bytes from that address, writes them to its own OSS bucket, and creates a temporary temporary file record.
|
|
4775
|
+
* ### How to call
|
|
4776
|
+
* - **Recommended**: Use the `UploadChatFileAdvance` method generated by the SDK. Pass in the local file stream, and the SDK automatically completes the transfer upload and populates the `FileUrl` parameter.
|
|
4777
|
+
* - **Direct upload**: Upload the file to an OSS address accessible by the server, and then call this API operation directly with the `FileUrl` parameter.
|
|
4225
4778
|
* ### Request parameters
|
|
4226
|
-
* - **FileUrl**: Required. The OSS address of the file. When you use the Advance method, the SDK automatically populates this parameter. You do not need to manually
|
|
4227
|
-
* - **FileName**: Required. The original file name including the extension, such as `report.pdf`. The OSS address generated during transfer does not carry the original file name. The backend uses this parameter to determine the file extension and display name. Therefore, you must explicitly pass in this parameter.
|
|
4779
|
+
* - **FileUrl**: Required. The OSS address of the file. When you use the Advance method, the SDK automatically populates this parameter. You do not need to manually set it.
|
|
4780
|
+
* - **FileName**: Required. The original file name including the extension, such as `report.pdf`. The OSS address generated during the transfer does not carry the original file name. The backend uses this parameter to determine the file extension and display name. Therefore, you must explicitly pass in this parameter.
|
|
4228
4781
|
* - **ContentType**: Optional. The MIME type of the file. If this parameter is not specified, `application/octet-stream` is used.
|
|
4229
|
-
* - **OperatingObjectName**: Optional. The
|
|
4782
|
+
* - **OperatingObjectName**: Optional. The agent namespace identifier that determines the file storage path.
|
|
4230
4783
|
* ### Response parameters
|
|
4231
|
-
* The response includes the OSS object path `objectName`, the storage address `fileUrl`, the
|
|
4784
|
+
* The response includes the OSS object path `objectName`, the storage address `fileUrl`, the publicly accessible address `filePublicUrl` (valid for 1 hour), and the file record ID `fileRecordId`. The `uploadSignatureUrl` parameter is always empty in this mode.
|
|
4232
4785
|
*
|
|
4233
4786
|
* @param request - UploadChatFileRequest
|
|
4234
4787
|
* @param headers - map
|
|
@@ -4239,21 +4792,21 @@ export default class Client extends OpenApi {
|
|
|
4239
4792
|
[key: string]: string;
|
|
4240
4793
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.UploadChatFileResponse>;
|
|
4241
4794
|
/**
|
|
4242
|
-
* Uploads a local file
|
|
4795
|
+
* Uploads a local file for a session.
|
|
4243
4796
|
*
|
|
4244
4797
|
* @remarks
|
|
4245
4798
|
* ## Operation description
|
|
4246
|
-
* This API
|
|
4247
|
-
* ###
|
|
4248
|
-
* - **Recommended**: Use the `UploadChatFileAdvance` method generated by the SDK. Pass in the local file stream, and the SDK automatically completes the transfer upload and populates `FileUrl
|
|
4249
|
-
* - **Direct upload**: Upload the file to an OSS address accessible by the server, and then
|
|
4799
|
+
* This API operation uploads a temporary temporary file by using the **file transfer upload** mode (`fileTransfer`). The file binary data is not transmitted in the request body of this API operation. Instead, the file is first uploaded to Object Storage Service (OSS), and then the OSS address is passed to the backend through the `FileUrl` parameter. The backend retrieves the bytes from that address, writes them to its own OSS bucket, and creates a temporary temporary file record.
|
|
4800
|
+
* ### How to call
|
|
4801
|
+
* - **Recommended**: Use the `UploadChatFileAdvance` method generated by the SDK. Pass in the local file stream, and the SDK automatically completes the transfer upload and populates the `FileUrl` parameter.
|
|
4802
|
+
* - **Direct upload**: Upload the file to an OSS address accessible by the server, and then call this API operation directly with the `FileUrl` parameter.
|
|
4250
4803
|
* ### Request parameters
|
|
4251
|
-
* - **FileUrl**: Required. The OSS address of the file. When you use the Advance method, the SDK automatically populates this parameter. You do not need to manually
|
|
4252
|
-
* - **FileName**: Required. The original file name including the extension, such as `report.pdf`. The OSS address generated during transfer does not carry the original file name. The backend uses this parameter to determine the file extension and display name. Therefore, you must explicitly pass in this parameter.
|
|
4804
|
+
* - **FileUrl**: Required. The OSS address of the file. When you use the Advance method, the SDK automatically populates this parameter. You do not need to manually set it.
|
|
4805
|
+
* - **FileName**: Required. The original file name including the extension, such as `report.pdf`. The OSS address generated during the transfer does not carry the original file name. The backend uses this parameter to determine the file extension and display name. Therefore, you must explicitly pass in this parameter.
|
|
4253
4806
|
* - **ContentType**: Optional. The MIME type of the file. If this parameter is not specified, `application/octet-stream` is used.
|
|
4254
|
-
* - **OperatingObjectName**: Optional. The
|
|
4807
|
+
* - **OperatingObjectName**: Optional. The agent namespace identifier that determines the file storage path.
|
|
4255
4808
|
* ### Response parameters
|
|
4256
|
-
* The response includes the OSS object path `objectName`, the storage address `fileUrl`, the
|
|
4809
|
+
* The response includes the OSS object path `objectName`, the storage address `fileUrl`, the publicly accessible address `filePublicUrl` (valid for 1 hour), and the file record ID `fileRecordId`. The `uploadSignatureUrl` parameter is always empty in this mode.
|
|
4257
4810
|
*
|
|
4258
4811
|
* @param request - UploadChatFileRequest
|
|
4259
4812
|
* @returns UploadChatFileResponse
|