@alicloud/winnexo20260512 1.1.0 → 1.2.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 +590 -2
- package/dist/client.js +1509 -81
- package/dist/client.js.map +1 -1
- package/dist/models/AddUserGroupMembersRequest.d.ts +41 -0
- package/dist/models/AddUserGroupMembersRequest.js +65 -0
- package/dist/models/AddUserGroupMembersRequest.js.map +1 -0
- package/dist/models/AddUserGroupMembersResponse.d.ts +19 -0
- package/dist/models/AddUserGroupMembersResponse.js +69 -0
- package/dist/models/AddUserGroupMembersResponse.js.map +1 -0
- package/dist/models/AddUserGroupMembersResponseBody.d.ts +61 -0
- package/dist/models/AddUserGroupMembersResponseBody.js +68 -0
- package/dist/models/AddUserGroupMembersResponseBody.js.map +1 -0
- package/dist/models/AddUserGroupMembersShrinkRequest.d.ts +41 -0
- package/dist/models/AddUserGroupMembersShrinkRequest.js +62 -0
- package/dist/models/AddUserGroupMembersShrinkRequest.js.map +1 -0
- package/dist/models/CreateAnnouncementRequest.d.ts +123 -0
- package/dist/models/CreateAnnouncementRequest.js +88 -0
- package/dist/models/CreateAnnouncementRequest.js.map +1 -0
- package/dist/models/CreateAnnouncementResponse.d.ts +19 -0
- package/dist/models/CreateAnnouncementResponse.js +69 -0
- package/dist/models/CreateAnnouncementResponse.js.map +1 -0
- package/dist/models/CreateAnnouncementResponseBody.d.ts +83 -0
- package/dist/models/CreateAnnouncementResponseBody.js +72 -0
- package/dist/models/CreateAnnouncementResponseBody.js.map +1 -0
- package/dist/models/CreateAnnouncementShrinkRequest.d.ts +123 -0
- package/dist/models/CreateAnnouncementShrinkRequest.js +82 -0
- package/dist/models/CreateAnnouncementShrinkRequest.js.map +1 -0
- package/dist/models/CreateGroupDingtalkChatRequest.d.ts +142 -0
- package/dist/models/CreateGroupDingtalkChatRequest.js +104 -0
- package/dist/models/CreateGroupDingtalkChatRequest.js.map +1 -0
- package/dist/models/CreateGroupDingtalkChatResponse.d.ts +19 -0
- package/dist/models/CreateGroupDingtalkChatResponse.js +69 -0
- package/dist/models/CreateGroupDingtalkChatResponse.js.map +1 -0
- package/dist/models/CreateGroupDingtalkChatResponseBody.d.ts +104 -0
- package/dist/models/CreateGroupDingtalkChatResponseBody.js +78 -0
- package/dist/models/CreateGroupDingtalkChatResponseBody.js.map +1 -0
- package/dist/models/CreateGroupDingtalkChatShrinkRequest.d.ts +104 -0
- package/dist/models/CreateGroupDingtalkChatShrinkRequest.js +78 -0
- package/dist/models/CreateGroupDingtalkChatShrinkRequest.js.map +1 -0
- package/dist/models/CreateGroupFeishuDocRequest.d.ts +177 -0
- package/dist/models/CreateGroupFeishuDocRequest.js +130 -0
- package/dist/models/CreateGroupFeishuDocRequest.js.map +1 -0
- package/dist/models/CreateGroupFeishuDocResponse.d.ts +19 -0
- package/dist/models/CreateGroupFeishuDocResponse.js +69 -0
- package/dist/models/CreateGroupFeishuDocResponse.js.map +1 -0
- package/dist/models/CreateGroupFeishuDocResponseBody.d.ts +104 -0
- package/dist/models/CreateGroupFeishuDocResponseBody.js +78 -0
- package/dist/models/CreateGroupFeishuDocResponseBody.js.map +1 -0
- package/dist/models/CreateGroupFeishuDocShrinkRequest.d.ts +99 -0
- package/dist/models/CreateGroupFeishuDocShrinkRequest.js +78 -0
- package/dist/models/CreateGroupFeishuDocShrinkRequest.js.map +1 -0
- package/dist/models/CreateKnowledgeBaseFeishuDocRequest.d.ts +169 -0
- package/dist/models/CreateKnowledgeBaseFeishuDocRequest.js +128 -0
- package/dist/models/CreateKnowledgeBaseFeishuDocRequest.js.map +1 -0
- package/dist/models/CreateKnowledgeBaseFeishuDocResponse.d.ts +19 -0
- package/dist/models/CreateKnowledgeBaseFeishuDocResponse.js +69 -0
- package/dist/models/CreateKnowledgeBaseFeishuDocResponse.js.map +1 -0
- package/dist/models/CreateKnowledgeBaseFeishuDocResponseBody.d.ts +93 -0
- package/dist/models/CreateKnowledgeBaseFeishuDocResponseBody.js +76 -0
- package/dist/models/CreateKnowledgeBaseFeishuDocResponseBody.js.map +1 -0
- package/dist/models/CreateKnowledgeBaseFeishuDocShrinkRequest.d.ts +91 -0
- package/dist/models/CreateKnowledgeBaseFeishuDocShrinkRequest.js +76 -0
- package/dist/models/CreateKnowledgeBaseFeishuDocShrinkRequest.js.map +1 -0
- package/dist/models/CreatePersonalDingtalkChatRequest.d.ts +130 -0
- package/dist/models/CreatePersonalDingtalkChatRequest.js +102 -0
- package/dist/models/CreatePersonalDingtalkChatRequest.js.map +1 -0
- package/dist/models/CreatePersonalDingtalkChatResponse.d.ts +19 -0
- package/dist/models/CreatePersonalDingtalkChatResponse.js +69 -0
- package/dist/models/CreatePersonalDingtalkChatResponse.js.map +1 -0
- package/dist/models/CreatePersonalDingtalkChatResponseBody.d.ts +93 -0
- package/dist/models/CreatePersonalDingtalkChatResponseBody.js +76 -0
- package/dist/models/CreatePersonalDingtalkChatResponseBody.js.map +1 -0
- package/dist/models/CreatePersonalDingtalkChatShrinkRequest.d.ts +94 -0
- package/dist/models/CreatePersonalDingtalkChatShrinkRequest.js +76 -0
- package/dist/models/CreatePersonalDingtalkChatShrinkRequest.js.map +1 -0
- package/dist/models/CreatePersonalFeishuDocRequest.d.ts +167 -0
- package/dist/models/CreatePersonalFeishuDocRequest.js +128 -0
- package/dist/models/CreatePersonalFeishuDocRequest.js.map +1 -0
- package/dist/models/CreatePersonalFeishuDocResponse.d.ts +19 -0
- package/dist/models/CreatePersonalFeishuDocResponse.js +69 -0
- package/dist/models/CreatePersonalFeishuDocResponse.js.map +1 -0
- package/dist/models/CreatePersonalFeishuDocResponseBody.d.ts +93 -0
- package/dist/models/CreatePersonalFeishuDocResponseBody.js +76 -0
- package/dist/models/CreatePersonalFeishuDocResponseBody.js.map +1 -0
- package/dist/models/CreatePersonalFeishuDocShrinkRequest.d.ts +89 -0
- package/dist/models/CreatePersonalFeishuDocShrinkRequest.js +76 -0
- package/dist/models/CreatePersonalFeishuDocShrinkRequest.js.map +1 -0
- package/dist/models/CreateUserGroupRequest.d.ts +47 -0
- package/dist/models/CreateUserGroupRequest.js +64 -0
- package/dist/models/CreateUserGroupRequest.js.map +1 -0
- package/dist/models/CreateUserGroupResponse.d.ts +19 -0
- package/dist/models/CreateUserGroupResponse.js +69 -0
- package/dist/models/CreateUserGroupResponse.js.map +1 -0
- package/dist/models/CreateUserGroupResponseBody.d.ts +45 -0
- package/dist/models/CreateUserGroupResponseBody.js +64 -0
- package/dist/models/CreateUserGroupResponseBody.js.map +1 -0
- package/dist/models/CreateUserWithGroupsRequest.d.ts +67 -0
- package/dist/models/CreateUserWithGroupsRequest.js +74 -0
- package/dist/models/CreateUserWithGroupsRequest.js.map +1 -0
- package/dist/models/CreateUserWithGroupsResponse.d.ts +19 -0
- package/dist/models/CreateUserWithGroupsResponse.js +69 -0
- package/dist/models/CreateUserWithGroupsResponse.js.map +1 -0
- package/dist/models/CreateUserWithGroupsResponseBody.d.ts +69 -0
- package/dist/models/CreateUserWithGroupsResponseBody.js +70 -0
- package/dist/models/CreateUserWithGroupsResponseBody.js.map +1 -0
- package/dist/models/CreateUserWithGroupsShrinkRequest.d.ts +67 -0
- package/dist/models/CreateUserWithGroupsShrinkRequest.js +68 -0
- package/dist/models/CreateUserWithGroupsShrinkRequest.js.map +1 -0
- package/dist/models/GetGraphSchemaRequest.d.ts +1 -1
- package/dist/models/GetGraphSchemaResponseBody.d.ts +9 -1
- package/dist/models/GetGraphSchemaResponseBody.js +2 -0
- package/dist/models/GetGraphSchemaResponseBody.js.map +1 -1
- package/dist/models/GetScheduledTaskPushOptionsRequest.d.ts +37 -0
- package/dist/models/GetScheduledTaskPushOptionsRequest.js +62 -0
- package/dist/models/GetScheduledTaskPushOptionsRequest.js.map +1 -0
- package/dist/models/GetScheduledTaskPushOptionsResponse.d.ts +19 -0
- package/dist/models/GetScheduledTaskPushOptionsResponse.js +69 -0
- package/dist/models/GetScheduledTaskPushOptionsResponse.js.map +1 -0
- package/dist/models/GetScheduledTaskPushOptionsResponseBody.d.ts +187 -0
- package/dist/models/GetScheduledTaskPushOptionsResponseBody.js +148 -0
- package/dist/models/GetScheduledTaskPushOptionsResponseBody.js.map +1 -0
- package/dist/models/GetTokenEnsureEnableRequest.d.ts +29 -0
- package/dist/models/GetTokenEnsureEnableRequest.js +60 -0
- package/dist/models/GetTokenEnsureEnableRequest.js.map +1 -0
- package/dist/models/GetTokenEnsureEnableResponse.d.ts +19 -0
- package/dist/models/GetTokenEnsureEnableResponse.js +69 -0
- package/dist/models/GetTokenEnsureEnableResponse.js.map +1 -0
- package/dist/models/GetTokenEnsureEnableResponseBody.d.ts +61 -0
- package/dist/models/GetTokenEnsureEnableResponseBody.js +68 -0
- package/dist/models/GetTokenEnsureEnableResponseBody.js.map +1 -0
- package/dist/models/GetUserGroupRequest.d.ts +31 -0
- package/dist/models/GetUserGroupRequest.js +60 -0
- package/dist/models/GetUserGroupRequest.js.map +1 -0
- package/dist/models/GetUserGroupResponse.d.ts +19 -0
- package/dist/models/GetUserGroupResponse.js +69 -0
- package/dist/models/GetUserGroupResponse.js.map +1 -0
- package/dist/models/GetUserGroupResponseBody.d.ts +63 -0
- package/dist/models/GetUserGroupResponseBody.js +76 -0
- package/dist/models/GetUserGroupResponseBody.js.map +1 -0
- package/dist/models/ListActiveAnnouncementsRequest.d.ts +37 -0
- package/dist/models/ListActiveAnnouncementsRequest.js +62 -0
- package/dist/models/ListActiveAnnouncementsRequest.js.map +1 -0
- package/dist/models/ListActiveAnnouncementsResponse.d.ts +19 -0
- package/dist/models/ListActiveAnnouncementsResponse.js +69 -0
- package/dist/models/ListActiveAnnouncementsResponse.js.map +1 -0
- package/dist/models/ListActiveAnnouncementsResponseBody.d.ts +184 -0
- package/dist/models/ListActiveAnnouncementsResponseBody.js +112 -0
- package/dist/models/ListActiveAnnouncementsResponseBody.js.map +1 -0
- package/dist/models/ListUserGroupsRequest.d.ts +21 -0
- package/dist/models/ListUserGroupsRequest.js +58 -0
- package/dist/models/ListUserGroupsRequest.js.map +1 -0
- package/dist/models/ListUserGroupsResponse.d.ts +19 -0
- package/dist/models/ListUserGroupsResponse.js +69 -0
- package/dist/models/ListUserGroupsResponse.js.map +1 -0
- package/dist/models/ListUserGroupsResponseBody.d.ts +42 -0
- package/dist/models/ListUserGroupsResponseBody.js +67 -0
- package/dist/models/ListUserGroupsResponseBody.js.map +1 -0
- package/dist/models/OfflineAnnouncementRequest.d.ts +31 -0
- package/dist/models/OfflineAnnouncementRequest.js +60 -0
- package/dist/models/OfflineAnnouncementRequest.js.map +1 -0
- package/dist/models/OfflineAnnouncementResponse.d.ts +19 -0
- package/dist/models/OfflineAnnouncementResponse.js +69 -0
- package/dist/models/OfflineAnnouncementResponse.js.map +1 -0
- package/dist/models/OfflineAnnouncementResponseBody.d.ts +77 -0
- package/dist/models/OfflineAnnouncementResponseBody.js +72 -0
- package/dist/models/OfflineAnnouncementResponseBody.js.map +1 -0
- package/dist/models/RemoveUserGroupMembersRequest.d.ts +41 -0
- package/dist/models/RemoveUserGroupMembersRequest.js +65 -0
- package/dist/models/RemoveUserGroupMembersRequest.js.map +1 -0
- package/dist/models/RemoveUserGroupMembersResponse.d.ts +19 -0
- package/dist/models/RemoveUserGroupMembersResponse.js +69 -0
- package/dist/models/RemoveUserGroupMembersResponse.js.map +1 -0
- package/dist/models/RemoveUserGroupMembersResponseBody.d.ts +61 -0
- package/dist/models/RemoveUserGroupMembersResponseBody.js +68 -0
- package/dist/models/RemoveUserGroupMembersResponseBody.js.map +1 -0
- package/dist/models/RemoveUserGroupMembersShrinkRequest.d.ts +41 -0
- package/dist/models/RemoveUserGroupMembersShrinkRequest.js +62 -0
- package/dist/models/RemoveUserGroupMembersShrinkRequest.js.map +1 -0
- package/dist/models/SaveGroupOutputFileToGroupResourceRequest.d.ts +61 -0
- package/dist/models/SaveGroupOutputFileToGroupResourceRequest.js +69 -0
- package/dist/models/SaveGroupOutputFileToGroupResourceRequest.js.map +1 -0
- package/dist/models/SaveGroupOutputFileToGroupResourceResponse.d.ts +19 -0
- package/dist/models/SaveGroupOutputFileToGroupResourceResponse.js +69 -0
- package/dist/models/SaveGroupOutputFileToGroupResourceResponse.js.map +1 -0
- package/dist/models/SaveGroupOutputFileToGroupResourceResponseBody.d.ts +94 -0
- package/dist/models/SaveGroupOutputFileToGroupResourceResponseBody.js +94 -0
- package/dist/models/SaveGroupOutputFileToGroupResourceResponseBody.js.map +1 -0
- package/dist/models/SaveGroupOutputFileToGroupResourceShrinkRequest.d.ts +61 -0
- package/dist/models/SaveGroupOutputFileToGroupResourceShrinkRequest.js +66 -0
- package/dist/models/SaveGroupOutputFileToGroupResourceShrinkRequest.js.map +1 -0
- package/dist/models/SaveGroupOutputFileToPersonalResourceRequest.d.ts +61 -0
- package/dist/models/SaveGroupOutputFileToPersonalResourceRequest.js +69 -0
- package/dist/models/SaveGroupOutputFileToPersonalResourceRequest.js.map +1 -0
- package/dist/models/SaveGroupOutputFileToPersonalResourceResponse.d.ts +19 -0
- package/dist/models/SaveGroupOutputFileToPersonalResourceResponse.js +69 -0
- package/dist/models/SaveGroupOutputFileToPersonalResourceResponse.js.map +1 -0
- package/dist/models/SaveGroupOutputFileToPersonalResourceResponseBody.d.ts +94 -0
- package/dist/models/SaveGroupOutputFileToPersonalResourceResponseBody.js +94 -0
- package/dist/models/SaveGroupOutputFileToPersonalResourceResponseBody.js.map +1 -0
- package/dist/models/SaveGroupOutputFileToPersonalResourceShrinkRequest.d.ts +61 -0
- package/dist/models/SaveGroupOutputFileToPersonalResourceShrinkRequest.js +66 -0
- package/dist/models/SaveGroupOutputFileToPersonalResourceShrinkRequest.js.map +1 -0
- package/dist/models/SendAsyncChatMessageRequest.d.ts +2 -2
- package/dist/models/SendAsyncChatMessageResponseBody.d.ts +10 -2
- package/dist/models/SendAsyncChatMessageResponseBody.js +2 -0
- package/dist/models/SendAsyncChatMessageResponseBody.js.map +1 -1
- package/dist/models/SendAsyncChatMessageShrinkRequest.d.ts +2 -2
- package/dist/models/UpdateUserGroupRequest.d.ts +63 -0
- package/dist/models/UpdateUserGroupRequest.js +68 -0
- package/dist/models/UpdateUserGroupRequest.js.map +1 -0
- package/dist/models/UpdateUserGroupResponse.d.ts +19 -0
- package/dist/models/UpdateUserGroupResponse.js +69 -0
- package/dist/models/UpdateUserGroupResponse.js.map +1 -0
- package/dist/models/UpdateUserGroupResponseBody.d.ts +45 -0
- package/dist/models/UpdateUserGroupResponseBody.js +64 -0
- package/dist/models/UpdateUserGroupResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +82 -0
- package/dist/models/model.js +175 -9
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +1679 -87
- package/src/models/AddUserGroupMembersRequest.ts +61 -0
- package/src/models/AddUserGroupMembersResponse.ts +40 -0
- package/src/models/AddUserGroupMembersResponseBody.ts +84 -0
- package/src/models/AddUserGroupMembersShrinkRequest.ts +58 -0
- package/src/models/CreateAnnouncementRequest.ts +166 -0
- package/src/models/CreateAnnouncementResponse.ts +40 -0
- package/src/models/CreateAnnouncementResponseBody.ts +110 -0
- package/src/models/CreateAnnouncementShrinkRequest.ts +160 -0
- package/src/models/CreateGroupDingtalkChatRequest.ts +192 -0
- package/src/models/CreateGroupDingtalkChatResponse.ts +40 -0
- package/src/models/CreateGroupDingtalkChatResponseBody.ts +137 -0
- package/src/models/CreateGroupDingtalkChatShrinkRequest.ts +137 -0
- package/src/models/CreateGroupFeishuDocRequest.ts +244 -0
- package/src/models/CreateGroupFeishuDocResponse.ts +40 -0
- package/src/models/CreateGroupFeishuDocResponseBody.ts +137 -0
- package/src/models/CreateGroupFeishuDocShrinkRequest.ts +132 -0
- package/src/models/CreateKnowledgeBaseFeishuDocRequest.ts +234 -0
- package/src/models/CreateKnowledgeBaseFeishuDocResponse.ts +40 -0
- package/src/models/CreateKnowledgeBaseFeishuDocResponseBody.ts +124 -0
- package/src/models/CreateKnowledgeBaseFeishuDocShrinkRequest.ts +122 -0
- package/src/models/CreatePersonalDingtalkChatRequest.ts +178 -0
- package/src/models/CreatePersonalDingtalkChatResponse.ts +40 -0
- package/src/models/CreatePersonalDingtalkChatResponseBody.ts +124 -0
- package/src/models/CreatePersonalDingtalkChatShrinkRequest.ts +125 -0
- package/src/models/CreatePersonalFeishuDocRequest.ts +232 -0
- package/src/models/CreatePersonalFeishuDocResponse.ts +40 -0
- package/src/models/CreatePersonalFeishuDocResponseBody.ts +124 -0
- package/src/models/CreatePersonalFeishuDocShrinkRequest.ts +120 -0
- package/src/models/CreateUserGroupRequest.ts +66 -0
- package/src/models/CreateUserGroupResponse.ts +40 -0
- package/src/models/CreateUserGroupResponseBody.ts +64 -0
- package/src/models/CreateUserWithGroupsRequest.ts +96 -0
- package/src/models/CreateUserWithGroupsResponse.ts +40 -0
- package/src/models/CreateUserWithGroupsResponseBody.ts +94 -0
- package/src/models/CreateUserWithGroupsShrinkRequest.ts +90 -0
- package/src/models/GetGraphSchemaRequest.ts +1 -1
- package/src/models/GetGraphSchemaResponseBody.ts +11 -1
- package/src/models/GetScheduledTaskPushOptionsRequest.ts +54 -0
- package/src/models/GetScheduledTaskPushOptionsResponse.ts +40 -0
- package/src/models/GetScheduledTaskPushOptionsResponseBody.ts +263 -0
- package/src/models/GetTokenEnsureEnableRequest.ts +44 -0
- package/src/models/GetTokenEnsureEnableResponse.ts +40 -0
- package/src/models/GetTokenEnsureEnableResponseBody.ts +84 -0
- package/src/models/GetUserGroupRequest.ts +46 -0
- package/src/models/GetUserGroupResponse.ts +40 -0
- package/src/models/GetUserGroupResponseBody.ts +94 -0
- package/src/models/ListActiveAnnouncementsRequest.ts +54 -0
- package/src/models/ListActiveAnnouncementsResponse.ts +40 -0
- package/src/models/ListActiveAnnouncementsResponseBody.ts +242 -0
- package/src/models/ListUserGroupsRequest.ts +34 -0
- package/src/models/ListUserGroupsResponse.ts +40 -0
- package/src/models/ListUserGroupsResponseBody.ts +64 -0
- package/src/models/OfflineAnnouncementRequest.ts +46 -0
- package/src/models/OfflineAnnouncementResponse.ts +40 -0
- package/src/models/OfflineAnnouncementResponseBody.ts +104 -0
- package/src/models/RemoveUserGroupMembersRequest.ts +61 -0
- package/src/models/RemoveUserGroupMembersResponse.ts +40 -0
- package/src/models/RemoveUserGroupMembersResponseBody.ts +84 -0
- package/src/models/RemoveUserGroupMembersShrinkRequest.ts +58 -0
- package/src/models/SaveGroupOutputFileToGroupResourceRequest.ts +85 -0
- package/src/models/SaveGroupOutputFileToGroupResourceResponse.ts +40 -0
- package/src/models/SaveGroupOutputFileToGroupResourceResponseBody.ts +134 -0
- package/src/models/SaveGroupOutputFileToGroupResourceShrinkRequest.ts +82 -0
- package/src/models/SaveGroupOutputFileToPersonalResourceRequest.ts +85 -0
- package/src/models/SaveGroupOutputFileToPersonalResourceResponse.ts +40 -0
- package/src/models/SaveGroupOutputFileToPersonalResourceResponseBody.ts +134 -0
- package/src/models/SaveGroupOutputFileToPersonalResourceShrinkRequest.ts +82 -0
- package/src/models/SendAsyncChatMessageRequest.ts +2 -2
- package/src/models/SendAsyncChatMessageResponseBody.ts +12 -2
- package/src/models/SendAsyncChatMessageShrinkRequest.ts +2 -2
- package/src/models/UpdateUserGroupRequest.ts +86 -0
- package/src/models/UpdateUserGroupResponse.ts +40 -0
- package/src/models/UpdateUserGroupResponseBody.ts +64 -0
- package/src/models/model.ts +82 -0
package/dist/client.d.ts
CHANGED
|
@@ -13,6 +13,38 @@ export default class Client extends OpenApi {
|
|
|
13
13
|
getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
|
|
14
14
|
[key: string]: string;
|
|
15
15
|
}, endpoint: string): string;
|
|
16
|
+
/**
|
|
17
|
+
* Adds multiple tenant members to a specified user group in a single request.
|
|
18
|
+
*
|
|
19
|
+
* @remarks
|
|
20
|
+
* ## Request description
|
|
21
|
+
* - This operation supports batch addition of members by providing a user group ID and one or more user IDs.
|
|
22
|
+
* - Duplicate entries in the user ID list do not cause errors. The system automatically handles duplicates to ensure each user is added only once.
|
|
23
|
+
* - The caller must have the required permissions to perform this operation.
|
|
24
|
+
* - This operation is applicable to scenarios that require quick team structure management or access control policy adjustments.
|
|
25
|
+
*
|
|
26
|
+
* @param tmpReq - AddUserGroupMembersRequest
|
|
27
|
+
* @param headers - map
|
|
28
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
29
|
+
* @returns AddUserGroupMembersResponse
|
|
30
|
+
*/
|
|
31
|
+
addUserGroupMembersWithOptions(tmpReq: $_model.AddUserGroupMembersRequest, headers: {
|
|
32
|
+
[key: string]: string;
|
|
33
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.AddUserGroupMembersResponse>;
|
|
34
|
+
/**
|
|
35
|
+
* Adds multiple tenant members to a specified user group in a single request.
|
|
36
|
+
*
|
|
37
|
+
* @remarks
|
|
38
|
+
* ## Request description
|
|
39
|
+
* - This operation supports batch addition of members by providing a user group ID and one or more user IDs.
|
|
40
|
+
* - Duplicate entries in the user ID list do not cause errors. The system automatically handles duplicates to ensure each user is added only once.
|
|
41
|
+
* - The caller must have the required permissions to perform this operation.
|
|
42
|
+
* - This operation is applicable to scenarios that require quick team structure management or access control policy adjustments.
|
|
43
|
+
*
|
|
44
|
+
* @param request - AddUserGroupMembersRequest
|
|
45
|
+
* @returns AddUserGroupMembersResponse
|
|
46
|
+
*/
|
|
47
|
+
addUserGroupMembers(request: $_model.AddUserGroupMembersRequest): Promise<$_model.AddUserGroupMembersResponse>;
|
|
16
48
|
/**
|
|
17
49
|
* Performs a service health check.
|
|
18
50
|
*
|
|
@@ -31,6 +63,40 @@ export default class Client extends OpenApi {
|
|
|
31
63
|
* @returns CheckHealthResponse
|
|
32
64
|
*/
|
|
33
65
|
checkHealth(request: $_model.CheckHealthRequest): Promise<$_model.CheckHealthResponse>;
|
|
66
|
+
/**
|
|
67
|
+
* Creates a service notice.
|
|
68
|
+
*
|
|
69
|
+
* @remarks
|
|
70
|
+
* ## Operation description
|
|
71
|
+
* Creates a service notice. The caller identity must be mapped to a real platform user in the system O&M tenant and must have notice management permissions.
|
|
72
|
+
* - `priority`: The importance level of the notice. Valid values: URGENT, IMPORTANT, and GENERAL.
|
|
73
|
+
* - `targetTenantIds` / `targetRoleCodes`: Used only when the corresponding target mode is set to SPECIFIED. Pass values as a JSON array.
|
|
74
|
+
* - `effectiveStart` / `effectiveEnd`: ISO 8601 timestamps with time zone information.
|
|
75
|
+
* - `publishNow`: If set to true, the notice is published immediately after creation. Otherwise, it is saved as a draft.
|
|
76
|
+
*
|
|
77
|
+
* @param tmpReq - CreateAnnouncementRequest
|
|
78
|
+
* @param headers - map
|
|
79
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
80
|
+
* @returns CreateAnnouncementResponse
|
|
81
|
+
*/
|
|
82
|
+
createAnnouncementWithOptions(tmpReq: $_model.CreateAnnouncementRequest, headers: {
|
|
83
|
+
[key: string]: string;
|
|
84
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.CreateAnnouncementResponse>;
|
|
85
|
+
/**
|
|
86
|
+
* Creates a service notice.
|
|
87
|
+
*
|
|
88
|
+
* @remarks
|
|
89
|
+
* ## Operation description
|
|
90
|
+
* Creates a service notice. The caller identity must be mapped to a real platform user in the system O&M tenant and must have notice management permissions.
|
|
91
|
+
* - `priority`: The importance level of the notice. Valid values: URGENT, IMPORTANT, and GENERAL.
|
|
92
|
+
* - `targetTenantIds` / `targetRoleCodes`: Used only when the corresponding target mode is set to SPECIFIED. Pass values as a JSON array.
|
|
93
|
+
* - `effectiveStart` / `effectiveEnd`: ISO 8601 timestamps with time zone information.
|
|
94
|
+
* - `publishNow`: If set to true, the notice is published immediately after creation. Otherwise, it is saved as a draft.
|
|
95
|
+
*
|
|
96
|
+
* @param request - CreateAnnouncementRequest
|
|
97
|
+
* @returns CreateAnnouncementResponse
|
|
98
|
+
*/
|
|
99
|
+
createAnnouncement(request: $_model.CreateAnnouncementRequest): Promise<$_model.CreateAnnouncementResponse>;
|
|
34
100
|
/**
|
|
35
101
|
* Creates a session.
|
|
36
102
|
*
|
|
@@ -117,6 +183,64 @@ export default class Client extends OpenApi {
|
|
|
117
183
|
* @returns CreateGroupAliDingChatResponse
|
|
118
184
|
*/
|
|
119
185
|
createGroupAliDingChat(request: $_model.CreateGroupAliDingChatRequest): Promise<$_model.CreateGroupAliDingChatResponse>;
|
|
186
|
+
/**
|
|
187
|
+
* Creates a group-level DingTalk chat knowledge source.
|
|
188
|
+
*
|
|
189
|
+
* @remarks
|
|
190
|
+
* ## Operation description
|
|
191
|
+
* - Connects a specified DingTalk chat to the knowledge base of a group that the caller has joined.
|
|
192
|
+
* - 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
|
+
* - groupId, chatId, and historyStartTime are required.
|
|
194
|
+
* - updateFrequency can be configured by using a preset or a five-field cron expression for subsequent synchronization frequency.
|
|
195
|
+
* - The server verifies the caller\\"s group membership and the target group directory permissions. The same chat can be created as different sources.
|
|
196
|
+
*
|
|
197
|
+
* @param tmpReq - CreateGroupDingtalkChatRequest
|
|
198
|
+
* @param headers - map
|
|
199
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
200
|
+
* @returns CreateGroupDingtalkChatResponse
|
|
201
|
+
*/
|
|
202
|
+
createGroupDingtalkChatWithOptions(tmpReq: $_model.CreateGroupDingtalkChatRequest, headers: {
|
|
203
|
+
[key: string]: string;
|
|
204
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.CreateGroupDingtalkChatResponse>;
|
|
205
|
+
/**
|
|
206
|
+
* Creates a group-level DingTalk chat knowledge source.
|
|
207
|
+
*
|
|
208
|
+
* @remarks
|
|
209
|
+
* ## Operation description
|
|
210
|
+
* - Connects a specified DingTalk chat to the knowledge base of a group that the caller has joined.
|
|
211
|
+
* - 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
|
+
* - groupId, chatId, and historyStartTime are required.
|
|
213
|
+
* - updateFrequency can be configured by using a preset or a five-field cron expression for subsequent synchronization frequency.
|
|
214
|
+
* - The server verifies the caller\\"s group membership and the target group directory permissions. The same chat can be created as different sources.
|
|
215
|
+
*
|
|
216
|
+
* @param request - CreateGroupDingtalkChatRequest
|
|
217
|
+
* @returns CreateGroupDingtalkChatResponse
|
|
218
|
+
*/
|
|
219
|
+
createGroupDingtalkChat(request: $_model.CreateGroupDingtalkChatRequest): Promise<$_model.CreateGroupDingtalkChatResponse>;
|
|
220
|
+
/**
|
|
221
|
+
* Creates a group knowledge resource from a single Lark online document using the current user\\"s Lark authorization.
|
|
222
|
+
*
|
|
223
|
+
* @remarks
|
|
224
|
+
* ## Request description\\n\\nFixed as `ONLINE_DOC + FEISHU + GROUP`. `groupId` is required. If `directoryId` is omitted, the root directory of the group knowledge base is used. Group membership and directory write permissions are verified by the backend.
|
|
225
|
+
*
|
|
226
|
+
* @param tmpReq - CreateGroupFeishuDocRequest
|
|
227
|
+
* @param headers - map
|
|
228
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
229
|
+
* @returns CreateGroupFeishuDocResponse
|
|
230
|
+
*/
|
|
231
|
+
createGroupFeishuDocWithOptions(tmpReq: $_model.CreateGroupFeishuDocRequest, headers: {
|
|
232
|
+
[key: string]: string;
|
|
233
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.CreateGroupFeishuDocResponse>;
|
|
234
|
+
/**
|
|
235
|
+
* Creates a group knowledge resource from a single Lark online document using the current user\\"s Lark authorization.
|
|
236
|
+
*
|
|
237
|
+
* @remarks
|
|
238
|
+
* ## Request description\\n\\nFixed as `ONLINE_DOC + FEISHU + GROUP`. `groupId` is required. If `directoryId` is omitted, the root directory of the group knowledge base is used. Group membership and directory write permissions are verified by the backend.
|
|
239
|
+
*
|
|
240
|
+
* @param request - CreateGroupFeishuDocRequest
|
|
241
|
+
* @returns CreateGroupFeishuDocResponse
|
|
242
|
+
*/
|
|
243
|
+
createGroupFeishuDoc(request: $_model.CreateGroupFeishuDocRequest): Promise<$_model.CreateGroupFeishuDocResponse>;
|
|
120
244
|
/**
|
|
121
245
|
* Uploads an AliDing online document to the enterprise knowledge base. Management permissions are required.
|
|
122
246
|
*
|
|
@@ -189,6 +313,30 @@ export default class Client extends OpenApi {
|
|
|
189
313
|
* @returns CreateKnowledgeBaseDirectoryResponse
|
|
190
314
|
*/
|
|
191
315
|
createKnowledgeBaseDirectory(request: $_model.CreateKnowledgeBaseDirectoryRequest): Promise<$_model.CreateKnowledgeBaseDirectoryResponse>;
|
|
316
|
+
/**
|
|
317
|
+
* Creates a single Lark online document in the enterprise knowledge base using the current user\\"s Lark authorization.
|
|
318
|
+
*
|
|
319
|
+
* @remarks
|
|
320
|
+
* ## Request description\\n\\nFixed as `ONLINE_DOC + FEISHU + TENANT`. `directoryId` is required. The invoker must have the enterprise knowledge base feature permission and knowledge base management permission on the target knowledge base.
|
|
321
|
+
*
|
|
322
|
+
* @param tmpReq - CreateKnowledgeBaseFeishuDocRequest
|
|
323
|
+
* @param headers - map
|
|
324
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
325
|
+
* @returns CreateKnowledgeBaseFeishuDocResponse
|
|
326
|
+
*/
|
|
327
|
+
createKnowledgeBaseFeishuDocWithOptions(tmpReq: $_model.CreateKnowledgeBaseFeishuDocRequest, headers: {
|
|
328
|
+
[key: string]: string;
|
|
329
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.CreateKnowledgeBaseFeishuDocResponse>;
|
|
330
|
+
/**
|
|
331
|
+
* Creates a single Lark online document in the enterprise knowledge base using the current user\\"s Lark authorization.
|
|
332
|
+
*
|
|
333
|
+
* @remarks
|
|
334
|
+
* ## Request description\\n\\nFixed as `ONLINE_DOC + FEISHU + TENANT`. `directoryId` is required. The invoker must have the enterprise knowledge base feature permission and knowledge base management permission on the target knowledge base.
|
|
335
|
+
*
|
|
336
|
+
* @param request - CreateKnowledgeBaseFeishuDocRequest
|
|
337
|
+
* @returns CreateKnowledgeBaseFeishuDocResponse
|
|
338
|
+
*/
|
|
339
|
+
createKnowledgeBaseFeishuDoc(request: $_model.CreateKnowledgeBaseFeishuDocRequest): Promise<$_model.CreateKnowledgeBaseFeishuDocResponse>;
|
|
192
340
|
/**
|
|
193
341
|
* Uploads a specified file to the enterprise knowledge base. Management permissions are required.
|
|
194
342
|
*
|
|
@@ -409,6 +557,40 @@ export default class Client extends OpenApi {
|
|
|
409
557
|
* @returns CreatePersonalAlidingKnowledgeBaseResponse
|
|
410
558
|
*/
|
|
411
559
|
createPersonalAlidingKnowledgeBase(request: $_model.CreatePersonalAlidingKnowledgeBaseRequest): Promise<$_model.CreatePersonalAlidingKnowledgeBaseResponse>;
|
|
560
|
+
/**
|
|
561
|
+
* Creates a personal DingTalk group chat knowledge source.
|
|
562
|
+
*
|
|
563
|
+
* @remarks
|
|
564
|
+
* ## Operation description
|
|
565
|
+
* - Connects a specified DingTalk group chat to the personal knowledge base of the current user.
|
|
566
|
+
* - The resource type is fixed to DINGTALK, the scope is fixed to PERSONAL, and the owning user is parsed from the gateway authentication identity.
|
|
567
|
+
* - historyStartTime is required and supports YYYY-MM-DD or YYYY-MM-DD HH:MM:SS format.
|
|
568
|
+
* - updateFrequency can be configured with a preset or a five-field cron expression for subsequent synchronization frequency.
|
|
569
|
+
* - The same group chat can be created as different sources. Each source is isolated by sourceId.
|
|
570
|
+
*
|
|
571
|
+
* @param tmpReq - CreatePersonalDingtalkChatRequest
|
|
572
|
+
* @param headers - map
|
|
573
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
574
|
+
* @returns CreatePersonalDingtalkChatResponse
|
|
575
|
+
*/
|
|
576
|
+
createPersonalDingtalkChatWithOptions(tmpReq: $_model.CreatePersonalDingtalkChatRequest, headers: {
|
|
577
|
+
[key: string]: string;
|
|
578
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.CreatePersonalDingtalkChatResponse>;
|
|
579
|
+
/**
|
|
580
|
+
* Creates a personal DingTalk group chat knowledge source.
|
|
581
|
+
*
|
|
582
|
+
* @remarks
|
|
583
|
+
* ## Operation description
|
|
584
|
+
* - Connects a specified DingTalk group chat to the personal knowledge base of the current user.
|
|
585
|
+
* - The resource type is fixed to DINGTALK, the scope is fixed to PERSONAL, and the owning user is parsed from the gateway authentication identity.
|
|
586
|
+
* - historyStartTime is required and supports YYYY-MM-DD or YYYY-MM-DD HH:MM:SS format.
|
|
587
|
+
* - updateFrequency can be configured with a preset or a five-field cron expression for subsequent synchronization frequency.
|
|
588
|
+
* - The same group chat can be created as different sources. Each source is isolated by sourceId.
|
|
589
|
+
*
|
|
590
|
+
* @param request - CreatePersonalDingtalkChatRequest
|
|
591
|
+
* @returns CreatePersonalDingtalkChatResponse
|
|
592
|
+
*/
|
|
593
|
+
createPersonalDingtalkChat(request: $_model.CreatePersonalDingtalkChatRequest): Promise<$_model.CreatePersonalDingtalkChatResponse>;
|
|
412
594
|
/**
|
|
413
595
|
* Uploads a DingTalk meeting to the personal resource library of the current digital employee.
|
|
414
596
|
*
|
|
@@ -553,6 +735,30 @@ export default class Client extends OpenApi {
|
|
|
553
735
|
* @returns CreatePersonalFeishuChatResponse
|
|
554
736
|
*/
|
|
555
737
|
createPersonalFeishuChat(request: $_model.CreatePersonalFeishuChatRequest): Promise<$_model.CreatePersonalFeishuChatResponse>;
|
|
738
|
+
/**
|
|
739
|
+
* Creates a personal knowledge resource from a single Lark online document using the current user\\"s Lark authorization.
|
|
740
|
+
*
|
|
741
|
+
* @remarks
|
|
742
|
+
* ## Request description\\n\\nFixed as `ONLINE_DOC + FEISHU + PERSONAL`. The Lark connector user is determined by the trusted OpenAPI identity. If `directoryId` is omitted, the current user\\"s default personal root directory is used.
|
|
743
|
+
*
|
|
744
|
+
* @param tmpReq - CreatePersonalFeishuDocRequest
|
|
745
|
+
* @param headers - map
|
|
746
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
747
|
+
* @returns CreatePersonalFeishuDocResponse
|
|
748
|
+
*/
|
|
749
|
+
createPersonalFeishuDocWithOptions(tmpReq: $_model.CreatePersonalFeishuDocRequest, headers: {
|
|
750
|
+
[key: string]: string;
|
|
751
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.CreatePersonalFeishuDocResponse>;
|
|
752
|
+
/**
|
|
753
|
+
* Creates a personal knowledge resource from a single Lark online document using the current user\\"s Lark authorization.
|
|
754
|
+
*
|
|
755
|
+
* @remarks
|
|
756
|
+
* ## Request description\\n\\nFixed as `ONLINE_DOC + FEISHU + PERSONAL`. The Lark connector user is determined by the trusted OpenAPI identity. If `directoryId` is omitted, the current user\\"s default personal root directory is used.
|
|
757
|
+
*
|
|
758
|
+
* @param request - CreatePersonalFeishuDocRequest
|
|
759
|
+
* @returns CreatePersonalFeishuDocResponse
|
|
760
|
+
*/
|
|
761
|
+
createPersonalFeishuDoc(request: $_model.CreatePersonalFeishuDocRequest): Promise<$_model.CreatePersonalFeishuDocResponse>;
|
|
556
762
|
/**
|
|
557
763
|
* Uploads a Lark Minutes meeting file to the personal resource library of the current digital employee.
|
|
558
764
|
*
|
|
@@ -821,6 +1027,72 @@ export default class Client extends OpenApi {
|
|
|
821
1027
|
* @returns CreateUserResponse
|
|
822
1028
|
*/
|
|
823
1029
|
createUser(request: $_model.CreateUserRequest): Promise<$_model.CreateUserResponse>;
|
|
1030
|
+
/**
|
|
1031
|
+
* Creates a user group under the tenant to which the authenticated identity belongs.
|
|
1032
|
+
*
|
|
1033
|
+
* @remarks
|
|
1034
|
+
* WinNexo user management OpenAPI: Creates a user group. The tenant identity is derived from the authentication context.
|
|
1035
|
+
*
|
|
1036
|
+
* @param request - CreateUserGroupRequest
|
|
1037
|
+
* @param headers - map
|
|
1038
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1039
|
+
* @returns CreateUserGroupResponse
|
|
1040
|
+
*/
|
|
1041
|
+
createUserGroupWithOptions(request: $_model.CreateUserGroupRequest, headers: {
|
|
1042
|
+
[key: string]: string;
|
|
1043
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.CreateUserGroupResponse>;
|
|
1044
|
+
/**
|
|
1045
|
+
* Creates a user group under the tenant to which the authenticated identity belongs.
|
|
1046
|
+
*
|
|
1047
|
+
* @remarks
|
|
1048
|
+
* WinNexo user management OpenAPI: Creates a user group. The tenant identity is derived from the authentication context.
|
|
1049
|
+
*
|
|
1050
|
+
* @param request - CreateUserGroupRequest
|
|
1051
|
+
* @returns CreateUserGroupResponse
|
|
1052
|
+
*/
|
|
1053
|
+
createUserGroup(request: $_model.CreateUserGroupRequest): Promise<$_model.CreateUserGroupResponse>;
|
|
1054
|
+
/**
|
|
1055
|
+
* Creates a WINNEXO user in the current tenant and assigns roles and user groups to the user.
|
|
1056
|
+
*
|
|
1057
|
+
* @remarks
|
|
1058
|
+
* Creates a user and sets initial roles and user groups via OpenAPI.
|
|
1059
|
+
* Business orchestration:
|
|
1060
|
+
* 1. Parses roleCodes → role_ids (system role enumeration validation)
|
|
1061
|
+
* 2. Checks whether the user already exists (used to return the isNewUser flag)
|
|
1062
|
+
* 3. Validates the tenant ownership of userGroupIds and completes creation/joining (the password must be passed in by the caller as RSA ciphertext)
|
|
1063
|
+
* 4. Returns the creation result (including the isNewUser flag)
|
|
1064
|
+
* Error codes:
|
|
1065
|
+
* - ERR.User.DeactivatedInTenant: The user is deactivated in the tenant. Use updateUser to resume.
|
|
1066
|
+
* - ERR.User.AlreadyInTenant: The user is already an active member of the tenant.
|
|
1067
|
+
* - ERR.User.DisplayNameDuplicateInTenant: The display name is duplicate within the tenant.
|
|
1068
|
+
*
|
|
1069
|
+
* @param tmpReq - CreateUserWithGroupsRequest
|
|
1070
|
+
* @param headers - map
|
|
1071
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1072
|
+
* @returns CreateUserWithGroupsResponse
|
|
1073
|
+
*/
|
|
1074
|
+
createUserWithGroupsWithOptions(tmpReq: $_model.CreateUserWithGroupsRequest, headers: {
|
|
1075
|
+
[key: string]: string;
|
|
1076
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.CreateUserWithGroupsResponse>;
|
|
1077
|
+
/**
|
|
1078
|
+
* Creates a WINNEXO user in the current tenant and assigns roles and user groups to the user.
|
|
1079
|
+
*
|
|
1080
|
+
* @remarks
|
|
1081
|
+
* Creates a user and sets initial roles and user groups via OpenAPI.
|
|
1082
|
+
* Business orchestration:
|
|
1083
|
+
* 1. Parses roleCodes → role_ids (system role enumeration validation)
|
|
1084
|
+
* 2. Checks whether the user already exists (used to return the isNewUser flag)
|
|
1085
|
+
* 3. Validates the tenant ownership of userGroupIds and completes creation/joining (the password must be passed in by the caller as RSA ciphertext)
|
|
1086
|
+
* 4. Returns the creation result (including the isNewUser flag)
|
|
1087
|
+
* Error codes:
|
|
1088
|
+
* - ERR.User.DeactivatedInTenant: The user is deactivated in the tenant. Use updateUser to resume.
|
|
1089
|
+
* - ERR.User.AlreadyInTenant: The user is already an active member of the tenant.
|
|
1090
|
+
* - ERR.User.DisplayNameDuplicateInTenant: The display name is duplicate within the tenant.
|
|
1091
|
+
*
|
|
1092
|
+
* @param request - CreateUserWithGroupsRequest
|
|
1093
|
+
* @returns CreateUserWithGroupsResponse
|
|
1094
|
+
*/
|
|
1095
|
+
createUserWithGroups(request: $_model.CreateUserWithGroupsRequest): Promise<$_model.CreateUserWithGroupsResponse>;
|
|
824
1096
|
/**
|
|
825
1097
|
* Deletes a session.
|
|
826
1098
|
*
|
|
@@ -1032,7 +1304,7 @@ export default class Client extends OpenApi {
|
|
|
1032
1304
|
*/
|
|
1033
1305
|
getChatSession(request: $_model.GetChatSessionRequest): Promise<$_model.GetChatSessionResponse>;
|
|
1034
1306
|
/**
|
|
1035
|
-
* Retrieves the active Graph Schema
|
|
1307
|
+
* Retrieves the active Graph Schema readable by the current user.
|
|
1036
1308
|
*
|
|
1037
1309
|
* @remarks
|
|
1038
1310
|
* Reads the active schema_content and securely trims it based on the token user\\"s semantic resource READ permissions.
|
|
@@ -1046,7 +1318,7 @@ export default class Client extends OpenApi {
|
|
|
1046
1318
|
[key: string]: string;
|
|
1047
1319
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetGraphSchemaResponse>;
|
|
1048
1320
|
/**
|
|
1049
|
-
* Retrieves the active Graph Schema
|
|
1321
|
+
* Retrieves the active Graph Schema readable by the current user.
|
|
1050
1322
|
*
|
|
1051
1323
|
* @remarks
|
|
1052
1324
|
* Reads the active schema_content and securely trims it based on the token user\\"s semantic resource READ permissions.
|
|
@@ -1203,6 +1475,30 @@ export default class Client extends OpenApi {
|
|
|
1203
1475
|
* @returns GetScheduledTaskExecutionRecordsResponse
|
|
1204
1476
|
*/
|
|
1205
1477
|
getScheduledTaskExecutionRecords(request: $_model.GetScheduledTaskExecutionRecordsRequest): Promise<$_model.GetScheduledTaskExecutionRecordsResponse>;
|
|
1478
|
+
/**
|
|
1479
|
+
* Retrieves the push configuration options for scheduled tasks.
|
|
1480
|
+
*
|
|
1481
|
+
* @remarks
|
|
1482
|
+
* Queries the channels and methods available to the current user for scheduled task push notifications.
|
|
1483
|
+
*
|
|
1484
|
+
* @param request - GetScheduledTaskPushOptionsRequest
|
|
1485
|
+
* @param headers - map
|
|
1486
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1487
|
+
* @returns GetScheduledTaskPushOptionsResponse
|
|
1488
|
+
*/
|
|
1489
|
+
getScheduledTaskPushOptionsWithOptions(request: $_model.GetScheduledTaskPushOptionsRequest, headers: {
|
|
1490
|
+
[key: string]: string;
|
|
1491
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetScheduledTaskPushOptionsResponse>;
|
|
1492
|
+
/**
|
|
1493
|
+
* Retrieves the push configuration options for scheduled tasks.
|
|
1494
|
+
*
|
|
1495
|
+
* @remarks
|
|
1496
|
+
* Queries the channels and methods available to the current user for scheduled task push notifications.
|
|
1497
|
+
*
|
|
1498
|
+
* @param request - GetScheduledTaskPushOptionsRequest
|
|
1499
|
+
* @returns GetScheduledTaskPushOptionsResponse
|
|
1500
|
+
*/
|
|
1501
|
+
getScheduledTaskPushOptions(request: $_model.GetScheduledTaskPushOptionsRequest): Promise<$_model.GetScheduledTaskPushOptionsResponse>;
|
|
1206
1502
|
/**
|
|
1207
1503
|
* Retrieves the details of scheduled task understanding.
|
|
1208
1504
|
*
|
|
@@ -1379,6 +1675,46 @@ export default class Client extends OpenApi {
|
|
|
1379
1675
|
* @returns GetSourceUploadSignatureResponse
|
|
1380
1676
|
*/
|
|
1381
1677
|
getSourceUploadSignature(request: $_model.GetSourceUploadSignatureRequest): Promise<$_model.GetSourceUploadSignatureResponse>;
|
|
1678
|
+
/**
|
|
1679
|
+
* Retrieves an API token and ensures that it is active.
|
|
1680
|
+
*
|
|
1681
|
+
* @remarks
|
|
1682
|
+
* Retrieves the INSTANCE token for a user and ensures that it is in an active state (idempotent).
|
|
1683
|
+
* Business logic:
|
|
1684
|
+
* 1. Obtains user_id from identity (caller_type=user is enforced).
|
|
1685
|
+
* 2. Constructs an AuthContext and delegates permission verification to UserTokenAuthorizedService.
|
|
1686
|
+
* 3. Calls ensure_active_token:
|
|
1687
|
+
* - If an ACTIVE token exists, returns the token in plaintext as-is (no reset, no key rotation).
|
|
1688
|
+
* - If an INACTIVE token exists, automatically re-enables it and returns the plaintext.
|
|
1689
|
+
* - If no token exists (or only expired RESET records exist), creates a new token and returns the plaintext.
|
|
1690
|
+
* Difference from EnableToken: When an ACTIVE token already exists, EnableToken returns only the masked value. This operation guarantees that a usable plaintext credential is returned without destroying the existing token.
|
|
1691
|
+
*
|
|
1692
|
+
* @param request - GetTokenEnsureEnableRequest
|
|
1693
|
+
* @param headers - map
|
|
1694
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1695
|
+
* @returns GetTokenEnsureEnableResponse
|
|
1696
|
+
*/
|
|
1697
|
+
getTokenEnsureEnableWithOptions(request: $_model.GetTokenEnsureEnableRequest, headers: {
|
|
1698
|
+
[key: string]: string;
|
|
1699
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetTokenEnsureEnableResponse>;
|
|
1700
|
+
/**
|
|
1701
|
+
* Retrieves an API token and ensures that it is active.
|
|
1702
|
+
*
|
|
1703
|
+
* @remarks
|
|
1704
|
+
* Retrieves the INSTANCE token for a user and ensures that it is in an active state (idempotent).
|
|
1705
|
+
* Business logic:
|
|
1706
|
+
* 1. Obtains user_id from identity (caller_type=user is enforced).
|
|
1707
|
+
* 2. Constructs an AuthContext and delegates permission verification to UserTokenAuthorizedService.
|
|
1708
|
+
* 3. Calls ensure_active_token:
|
|
1709
|
+
* - If an ACTIVE token exists, returns the token in plaintext as-is (no reset, no key rotation).
|
|
1710
|
+
* - If an INACTIVE token exists, automatically re-enables it and returns the plaintext.
|
|
1711
|
+
* - If no token exists (or only expired RESET records exist), creates a new token and returns the plaintext.
|
|
1712
|
+
* Difference from EnableToken: When an ACTIVE token already exists, EnableToken returns only the masked value. This operation guarantees that a usable plaintext credential is returned without destroying the existing token.
|
|
1713
|
+
*
|
|
1714
|
+
* @param request - GetTokenEnsureEnableRequest
|
|
1715
|
+
* @returns GetTokenEnsureEnableResponse
|
|
1716
|
+
*/
|
|
1717
|
+
getTokenEnsureEnable(request: $_model.GetTokenEnsureEnableRequest): Promise<$_model.GetTokenEnsureEnableResponse>;
|
|
1382
1718
|
/**
|
|
1383
1719
|
* Queries the token status of a user.
|
|
1384
1720
|
*
|
|
@@ -1489,6 +1825,42 @@ export default class Client extends OpenApi {
|
|
|
1489
1825
|
* @returns GetUserCreditUsageResponse
|
|
1490
1826
|
*/
|
|
1491
1827
|
getUserCreditUsage(request: $_model.GetUserCreditUsageRequest): Promise<$_model.GetUserCreditUsageResponse>;
|
|
1828
|
+
/**
|
|
1829
|
+
* Queries the details of a specified user group, including its parent group, child groups, and members.
|
|
1830
|
+
*
|
|
1831
|
+
* @remarks
|
|
1832
|
+
* ## Operation description
|
|
1833
|
+
* - This operation retrieves the details of a specified user group, including the basic information of the user group, parent user group information, direct child user group list, and direct member list.
|
|
1834
|
+
* - `userGroupId` is a required parameter that must be provided in the request body.
|
|
1835
|
+
* - `tenantId` is an optional parameter that can be passed through the query string.
|
|
1836
|
+
* - The operation supports multiple authentication methods, including AK, BearerToken, and APP authentication.
|
|
1837
|
+
* - The content type for both requests and responses is `application/json`.
|
|
1838
|
+
* - Ensure that you have the required permissions (such as `winnexo:GetUserGroup`) before calling this operation.
|
|
1839
|
+
*
|
|
1840
|
+
* @param request - GetUserGroupRequest
|
|
1841
|
+
* @param headers - map
|
|
1842
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1843
|
+
* @returns GetUserGroupResponse
|
|
1844
|
+
*/
|
|
1845
|
+
getUserGroupWithOptions(request: $_model.GetUserGroupRequest, headers: {
|
|
1846
|
+
[key: string]: string;
|
|
1847
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetUserGroupResponse>;
|
|
1848
|
+
/**
|
|
1849
|
+
* Queries the details of a specified user group, including its parent group, child groups, and members.
|
|
1850
|
+
*
|
|
1851
|
+
* @remarks
|
|
1852
|
+
* ## Operation description
|
|
1853
|
+
* - This operation retrieves the details of a specified user group, including the basic information of the user group, parent user group information, direct child user group list, and direct member list.
|
|
1854
|
+
* - `userGroupId` is a required parameter that must be provided in the request body.
|
|
1855
|
+
* - `tenantId` is an optional parameter that can be passed through the query string.
|
|
1856
|
+
* - The operation supports multiple authentication methods, including AK, BearerToken, and APP authentication.
|
|
1857
|
+
* - The content type for both requests and responses is `application/json`.
|
|
1858
|
+
* - Ensure that you have the required permissions (such as `winnexo:GetUserGroup`) before calling this operation.
|
|
1859
|
+
*
|
|
1860
|
+
* @param request - GetUserGroupRequest
|
|
1861
|
+
* @returns GetUserGroupResponse
|
|
1862
|
+
*/
|
|
1863
|
+
getUserGroup(request: $_model.GetUserGroupRequest): Promise<$_model.GetUserGroupResponse>;
|
|
1492
1864
|
/**
|
|
1493
1865
|
* Retrieves the complete information of the authenticated user through OpenAPI, including basic information and tenant list.
|
|
1494
1866
|
*
|
|
@@ -1561,6 +1933,32 @@ export default class Client extends OpenApi {
|
|
|
1561
1933
|
* @returns GrantAgentUsersResponse
|
|
1562
1934
|
*/
|
|
1563
1935
|
grantAgentUsers(request: $_model.GrantAgentUsersRequest): Promise<$_model.GrantAgentUsersResponse>;
|
|
1936
|
+
/**
|
|
1937
|
+
* Queries currently effective service notices.
|
|
1938
|
+
*
|
|
1939
|
+
* @remarks
|
|
1940
|
+
* ## Request description
|
|
1941
|
+
* Performs a paging query for published platform notices that are effective within the current database time window. The invoking identity must be a real user who has the notice viewing permission in the system O&M tenant.
|
|
1942
|
+
*
|
|
1943
|
+
* @param request - ListActiveAnnouncementsRequest
|
|
1944
|
+
* @param headers - map
|
|
1945
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1946
|
+
* @returns ListActiveAnnouncementsResponse
|
|
1947
|
+
*/
|
|
1948
|
+
listActiveAnnouncementsWithOptions(request: $_model.ListActiveAnnouncementsRequest, headers: {
|
|
1949
|
+
[key: string]: string;
|
|
1950
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListActiveAnnouncementsResponse>;
|
|
1951
|
+
/**
|
|
1952
|
+
* Queries currently effective service notices.
|
|
1953
|
+
*
|
|
1954
|
+
* @remarks
|
|
1955
|
+
* ## Request description
|
|
1956
|
+
* Performs a paging query for published platform notices that are effective within the current database time window. The invoking identity must be a real user who has the notice viewing permission in the system O&M tenant.
|
|
1957
|
+
*
|
|
1958
|
+
* @param request - ListActiveAnnouncementsRequest
|
|
1959
|
+
* @returns ListActiveAnnouncementsResponse
|
|
1960
|
+
*/
|
|
1961
|
+
listActiveAnnouncements(request: $_model.ListActiveAnnouncementsRequest): Promise<$_model.ListActiveAnnouncementsResponse>;
|
|
1564
1962
|
/**
|
|
1565
1963
|
* Queries or drills down into the enterprise knowledge base list of a tenant.
|
|
1566
1964
|
*
|
|
@@ -2095,6 +2493,38 @@ export default class Client extends OpenApi {
|
|
|
2095
2493
|
* @returns ListTenantDirectoryResponse
|
|
2096
2494
|
*/
|
|
2097
2495
|
listTenantDirectory(request: $_model.ListTenantDirectoryRequest): Promise<$_model.ListTenantDirectoryResponse>;
|
|
2496
|
+
/**
|
|
2497
|
+
* Returns the multi-level user group tree for the current tenant.
|
|
2498
|
+
*
|
|
2499
|
+
* @remarks
|
|
2500
|
+
* ## Request description
|
|
2501
|
+
* This API is used to query the complete user group hierarchy under a specified tenant, including the basic information of each user group and its direct child user group list. Use the `tenantId` parameter to specify the tenant ID to query. If this parameter is not provided, the caller\\"s tenant ID is used by default.
|
|
2502
|
+
* ### Precautions
|
|
2503
|
+
* - This operation returns only the direct member count and direct child user group count. It does not include information about indirect members or child groups.
|
|
2504
|
+
* - The external synchronization status field is empty when data is normal. It is populated with relevant information only when data is out of sync between an external system (such as WeCom) and the internal system.
|
|
2505
|
+
*
|
|
2506
|
+
* @param request - ListUserGroupsRequest
|
|
2507
|
+
* @param headers - map
|
|
2508
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2509
|
+
* @returns ListUserGroupsResponse
|
|
2510
|
+
*/
|
|
2511
|
+
listUserGroupsWithOptions(request: $_model.ListUserGroupsRequest, headers: {
|
|
2512
|
+
[key: string]: string;
|
|
2513
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListUserGroupsResponse>;
|
|
2514
|
+
/**
|
|
2515
|
+
* Returns the multi-level user group tree for the current tenant.
|
|
2516
|
+
*
|
|
2517
|
+
* @remarks
|
|
2518
|
+
* ## Request description
|
|
2519
|
+
* This API is used to query the complete user group hierarchy under a specified tenant, including the basic information of each user group and its direct child user group list. Use the `tenantId` parameter to specify the tenant ID to query. If this parameter is not provided, the caller\\"s tenant ID is used by default.
|
|
2520
|
+
* ### Precautions
|
|
2521
|
+
* - This operation returns only the direct member count and direct child user group count. It does not include information about indirect members or child groups.
|
|
2522
|
+
* - The external synchronization status field is empty when data is normal. It is populated with relevant information only when data is out of sync between an external system (such as WeCom) and the internal system.
|
|
2523
|
+
*
|
|
2524
|
+
* @param request - ListUserGroupsRequest
|
|
2525
|
+
* @returns ListUserGroupsResponse
|
|
2526
|
+
*/
|
|
2527
|
+
listUserGroups(request: $_model.ListUserGroupsRequest): Promise<$_model.ListUserGroupsResponse>;
|
|
2098
2528
|
/**
|
|
2099
2529
|
* Queries the knowledge base directory content visible to the current OpenAPI user.
|
|
2100
2530
|
*
|
|
@@ -2335,6 +2765,34 @@ export default class Client extends OpenApi {
|
|
|
2335
2765
|
* @returns MoveResourceResponse
|
|
2336
2766
|
*/
|
|
2337
2767
|
moveResource(request: $_model.MoveResourceRequest): Promise<$_model.MoveResourceResponse>;
|
|
2768
|
+
/**
|
|
2769
|
+
* Offlines a service notice.
|
|
2770
|
+
*
|
|
2771
|
+
* @remarks
|
|
2772
|
+
* ## Request description
|
|
2773
|
+
* Idempotently offlines a platform announcement by announcement ID. Returns `changed=true` when a PUBLISHED announcement is offlined for the first time. Returns `changed=false` when the announcement is already offline or expired.
|
|
2774
|
+
* The caller must belong to the system operations tenant and have announcement management permissions.
|
|
2775
|
+
*
|
|
2776
|
+
* @param request - OfflineAnnouncementRequest
|
|
2777
|
+
* @param headers - map
|
|
2778
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2779
|
+
* @returns OfflineAnnouncementResponse
|
|
2780
|
+
*/
|
|
2781
|
+
offlineAnnouncementWithOptions(request: $_model.OfflineAnnouncementRequest, headers: {
|
|
2782
|
+
[key: string]: string;
|
|
2783
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.OfflineAnnouncementResponse>;
|
|
2784
|
+
/**
|
|
2785
|
+
* Offlines a service notice.
|
|
2786
|
+
*
|
|
2787
|
+
* @remarks
|
|
2788
|
+
* ## Request description
|
|
2789
|
+
* Idempotently offlines a platform announcement by announcement ID. Returns `changed=true` when a PUBLISHED announcement is offlined for the first time. Returns `changed=false` when the announcement is already offline or expired.
|
|
2790
|
+
* The caller must belong to the system operations tenant and have announcement management permissions.
|
|
2791
|
+
*
|
|
2792
|
+
* @param request - OfflineAnnouncementRequest
|
|
2793
|
+
* @returns OfflineAnnouncementResponse
|
|
2794
|
+
*/
|
|
2795
|
+
offlineAnnouncement(request: $_model.OfflineAnnouncementRequest): Promise<$_model.OfflineAnnouncementResponse>;
|
|
2338
2796
|
/**
|
|
2339
2797
|
* Previews the knowledge content in a specified enterprise knowledge base.
|
|
2340
2798
|
*
|
|
@@ -2573,6 +3031,40 @@ export default class Client extends OpenApi {
|
|
|
2573
3031
|
* @returns RemoveUserResponse
|
|
2574
3032
|
*/
|
|
2575
3033
|
removeUser(request: $_model.RemoveUserRequest): Promise<$_model.RemoveUserResponse>;
|
|
3034
|
+
/**
|
|
3035
|
+
* Removes direct member relationships in bulk from a specified user group.
|
|
3036
|
+
*
|
|
3037
|
+
* @remarks
|
|
3038
|
+
* ## Request description
|
|
3039
|
+
* - This operation supports batch removal of direct member relationships between users and a specified user group by providing the user group ID and one or more user IDs.
|
|
3040
|
+
* - The `userIds` parameter accepts an integer array that represents the list of platform user IDs to be removed.
|
|
3041
|
+
* - If a user you attempt to remove is not a direct member of the user group, the final result count is not affected.
|
|
3042
|
+
* - After a successful call, the response returns information such as the number of members actually removed and the number of members before the request was processed.
|
|
3043
|
+
* - This operation requires appropriate permission authentication and is recorded in operation logs.
|
|
3044
|
+
*
|
|
3045
|
+
* @param tmpReq - RemoveUserGroupMembersRequest
|
|
3046
|
+
* @param headers - map
|
|
3047
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3048
|
+
* @returns RemoveUserGroupMembersResponse
|
|
3049
|
+
*/
|
|
3050
|
+
removeUserGroupMembersWithOptions(tmpReq: $_model.RemoveUserGroupMembersRequest, headers: {
|
|
3051
|
+
[key: string]: string;
|
|
3052
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.RemoveUserGroupMembersResponse>;
|
|
3053
|
+
/**
|
|
3054
|
+
* Removes direct member relationships in bulk from a specified user group.
|
|
3055
|
+
*
|
|
3056
|
+
* @remarks
|
|
3057
|
+
* ## Request description
|
|
3058
|
+
* - This operation supports batch removal of direct member relationships between users and a specified user group by providing the user group ID and one or more user IDs.
|
|
3059
|
+
* - The `userIds` parameter accepts an integer array that represents the list of platform user IDs to be removed.
|
|
3060
|
+
* - If a user you attempt to remove is not a direct member of the user group, the final result count is not affected.
|
|
3061
|
+
* - After a successful call, the response returns information such as the number of members actually removed and the number of members before the request was processed.
|
|
3062
|
+
* - This operation requires appropriate permission authentication and is recorded in operation logs.
|
|
3063
|
+
*
|
|
3064
|
+
* @param request - RemoveUserGroupMembersRequest
|
|
3065
|
+
* @returns RemoveUserGroupMembersResponse
|
|
3066
|
+
*/
|
|
3067
|
+
removeUserGroupMembers(request: $_model.RemoveUserGroupMembersRequest): Promise<$_model.RemoveUserGroupMembersResponse>;
|
|
2576
3068
|
/**
|
|
2577
3069
|
* Renames a data source in a specified enterprise knowledge base.
|
|
2578
3070
|
*
|
|
@@ -3003,6 +3495,78 @@ export default class Client extends OpenApi {
|
|
|
3003
3495
|
* @returns RunSkillResponse
|
|
3004
3496
|
*/
|
|
3005
3497
|
runSkill(request: $_model.RunSkillRequest): Promise<$_model.RunSkillResponse>;
|
|
3498
|
+
/**
|
|
3499
|
+
* Saves group outputs in batches to the collaboration group repository.
|
|
3500
|
+
*
|
|
3501
|
+
* @remarks
|
|
3502
|
+
* ## Request description
|
|
3503
|
+
* - Saves specified group outputs to the repository directory of the same collaboration group.
|
|
3504
|
+
* - Supports two modes: `link` (maintains output association) and `copy` (creates an independent snapshot).
|
|
3505
|
+
* - The caller must be a platform user and a member of the target group. The caller can archive group outputs visible to them, including outputs created by other members.
|
|
3506
|
+
* - If `directoryId` is not specified, the default repository directory of the target group is used.
|
|
3507
|
+
* - A maximum of 50 outputs can be processed per batch. All entries are validated before saving. If any entry does not exist, is not visible, or cannot be operated on, the entire batch fails.
|
|
3508
|
+
* - After unified validation passes, entries are saved one by one. The response results maintain the same order as `itemIds`. A failure of a single entry does not affect other entries.
|
|
3509
|
+
*
|
|
3510
|
+
* @param tmpReq - SaveGroupOutputFileToGroupResourceRequest
|
|
3511
|
+
* @param headers - map
|
|
3512
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3513
|
+
* @returns SaveGroupOutputFileToGroupResourceResponse
|
|
3514
|
+
*/
|
|
3515
|
+
saveGroupOutputFileToGroupResourceWithOptions(tmpReq: $_model.SaveGroupOutputFileToGroupResourceRequest, headers: {
|
|
3516
|
+
[key: string]: string;
|
|
3517
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.SaveGroupOutputFileToGroupResourceResponse>;
|
|
3518
|
+
/**
|
|
3519
|
+
* Saves group outputs in batches to the collaboration group repository.
|
|
3520
|
+
*
|
|
3521
|
+
* @remarks
|
|
3522
|
+
* ## Request description
|
|
3523
|
+
* - Saves specified group outputs to the repository directory of the same collaboration group.
|
|
3524
|
+
* - Supports two modes: `link` (maintains output association) and `copy` (creates an independent snapshot).
|
|
3525
|
+
* - The caller must be a platform user and a member of the target group. The caller can archive group outputs visible to them, including outputs created by other members.
|
|
3526
|
+
* - If `directoryId` is not specified, the default repository directory of the target group is used.
|
|
3527
|
+
* - A maximum of 50 outputs can be processed per batch. All entries are validated before saving. If any entry does not exist, is not visible, or cannot be operated on, the entire batch fails.
|
|
3528
|
+
* - After unified validation passes, entries are saved one by one. The response results maintain the same order as `itemIds`. A failure of a single entry does not affect other entries.
|
|
3529
|
+
*
|
|
3530
|
+
* @param request - SaveGroupOutputFileToGroupResourceRequest
|
|
3531
|
+
* @returns SaveGroupOutputFileToGroupResourceResponse
|
|
3532
|
+
*/
|
|
3533
|
+
saveGroupOutputFileToGroupResource(request: $_model.SaveGroupOutputFileToGroupResourceRequest): Promise<$_model.SaveGroupOutputFileToGroupResourceResponse>;
|
|
3534
|
+
/**
|
|
3535
|
+
* Batch saves group outputs to the current operator\\"s personal knowledge base.
|
|
3536
|
+
*
|
|
3537
|
+
* @remarks
|
|
3538
|
+
* ## Request description
|
|
3539
|
+
* - Saves specified group outputs to the current operator\\"s personal knowledge base.
|
|
3540
|
+
* - Supports two modes: `link` (maintains output association) and `copy` (creates an independent snapshot).
|
|
3541
|
+
* - The caller must be a member of the target group who is associated with a platform user. Regular members can only archive outputs they created, while group administrators can archive visible outputs from other members. Personal ownership is always derived from the gateway authentication identity.
|
|
3542
|
+
* - If `directoryId` is not specified, the current operator\\"s default personal directory is used.
|
|
3543
|
+
* - A maximum of 50 outputs can be processed per batch. All entries are validated before saving. The entire batch fails if any entry does not exist, is not visible, or cannot be operated on.
|
|
3544
|
+
* - After unified validation passes, entries are saved one by one. The response results maintain the same order as `itemIds`. A failure to save a single entry does not affect other entries.
|
|
3545
|
+
*
|
|
3546
|
+
* @param tmpReq - SaveGroupOutputFileToPersonalResourceRequest
|
|
3547
|
+
* @param headers - map
|
|
3548
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3549
|
+
* @returns SaveGroupOutputFileToPersonalResourceResponse
|
|
3550
|
+
*/
|
|
3551
|
+
saveGroupOutputFileToPersonalResourceWithOptions(tmpReq: $_model.SaveGroupOutputFileToPersonalResourceRequest, headers: {
|
|
3552
|
+
[key: string]: string;
|
|
3553
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.SaveGroupOutputFileToPersonalResourceResponse>;
|
|
3554
|
+
/**
|
|
3555
|
+
* Batch saves group outputs to the current operator\\"s personal knowledge base.
|
|
3556
|
+
*
|
|
3557
|
+
* @remarks
|
|
3558
|
+
* ## Request description
|
|
3559
|
+
* - Saves specified group outputs to the current operator\\"s personal knowledge base.
|
|
3560
|
+
* - Supports two modes: `link` (maintains output association) and `copy` (creates an independent snapshot).
|
|
3561
|
+
* - The caller must be a member of the target group who is associated with a platform user. Regular members can only archive outputs they created, while group administrators can archive visible outputs from other members. Personal ownership is always derived from the gateway authentication identity.
|
|
3562
|
+
* - If `directoryId` is not specified, the current operator\\"s default personal directory is used.
|
|
3563
|
+
* - A maximum of 50 outputs can be processed per batch. All entries are validated before saving. The entire batch fails if any entry does not exist, is not visible, or cannot be operated on.
|
|
3564
|
+
* - After unified validation passes, entries are saved one by one. The response results maintain the same order as `itemIds`. A failure to save a single entry does not affect other entries.
|
|
3565
|
+
*
|
|
3566
|
+
* @param request - SaveGroupOutputFileToPersonalResourceRequest
|
|
3567
|
+
* @returns SaveGroupOutputFileToPersonalResourceResponse
|
|
3568
|
+
*/
|
|
3569
|
+
saveGroupOutputFileToPersonalResource(request: $_model.SaveGroupOutputFileToPersonalResourceRequest): Promise<$_model.SaveGroupOutputFileToPersonalResourceResponse>;
|
|
3006
3570
|
/**
|
|
3007
3571
|
* Saves output details in batch as personal resources. Supports link or copy mode.
|
|
3008
3572
|
*
|
|
@@ -3589,6 +4153,30 @@ export default class Client extends OpenApi {
|
|
|
3589
4153
|
* @returns UpdateUserResponse
|
|
3590
4154
|
*/
|
|
3591
4155
|
updateUser(request: $_model.UpdateUserRequest): Promise<$_model.UpdateUserResponse>;
|
|
4156
|
+
/**
|
|
4157
|
+
* Updates the name, description, and parent relationship of a specified user group.
|
|
4158
|
+
*
|
|
4159
|
+
* @remarks
|
|
4160
|
+
* WinNexo user management OpenAPI: updates a user group. The tenant identity is obtained from the authentication context.
|
|
4161
|
+
*
|
|
4162
|
+
* @param request - UpdateUserGroupRequest
|
|
4163
|
+
* @param headers - map
|
|
4164
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4165
|
+
* @returns UpdateUserGroupResponse
|
|
4166
|
+
*/
|
|
4167
|
+
updateUserGroupWithOptions(request: $_model.UpdateUserGroupRequest, headers: {
|
|
4168
|
+
[key: string]: string;
|
|
4169
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateUserGroupResponse>;
|
|
4170
|
+
/**
|
|
4171
|
+
* Updates the name, description, and parent relationship of a specified user group.
|
|
4172
|
+
*
|
|
4173
|
+
* @remarks
|
|
4174
|
+
* WinNexo user management OpenAPI: updates a user group. The tenant identity is obtained from the authentication context.
|
|
4175
|
+
*
|
|
4176
|
+
* @param request - UpdateUserGroupRequest
|
|
4177
|
+
* @returns UpdateUserGroupResponse
|
|
4178
|
+
*/
|
|
4179
|
+
updateUserGroup(request: $_model.UpdateUserGroupRequest): Promise<$_model.UpdateUserGroupResponse>;
|
|
3592
4180
|
/**
|
|
3593
4181
|
* Updates partial fields of the current user information and returns the complete user information.
|
|
3594
4182
|
*
|