@tachybase/plugin-auth-dingtalk 1.3.18 → 1.3.20
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/externalVersion.js +5 -5
- package/dist/node_modules/@alicloud/dingtalk/dist/agoal_1_0/client.d.ts +1750 -330
- package/dist/node_modules/@alicloud/dingtalk/dist/agoal_1_0/client.js +1733 -114
- package/dist/node_modules/@alicloud/dingtalk/dist/ai_paa_s_1_0/client.d.ts +294 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/ai_paa_s_1_0/client.js +461 -2
- package/dist/node_modules/@alicloud/dingtalk/dist/assistant_1_0/client.d.ts +691 -7
- package/dist/node_modules/@alicloud/dingtalk/dist/assistant_1_0/client.js +1143 -37
- package/dist/node_modules/@alicloud/dingtalk/dist/ats_1_0/client.d.ts +202 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/ats_1_0/client.js +335 -2
- package/dist/node_modules/@alicloud/dingtalk/dist/attendance_1_0/client.d.ts +21 -13
- package/dist/node_modules/@alicloud/dingtalk/dist/attendance_1_0/client.js +21 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/bizfinance_1_0/client.d.ts +103 -1
- package/dist/node_modules/@alicloud/dingtalk/dist/bizfinance_1_0/client.js +169 -5
- package/dist/node_modules/@alicloud/dingtalk/dist/bizfinance_2_0/client.d.ts +3261 -901
- package/dist/node_modules/@alicloud/dingtalk/dist/bizfinance_2_0/client.js +4736 -1197
- package/dist/node_modules/@alicloud/dingtalk/dist/calendar_1_0/client.d.ts +145 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/calendar_1_0/client.js +238 -6
- package/dist/node_modules/@alicloud/dingtalk/dist/card_1_0/client.d.ts +105 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/card_1_0/client.js +181 -3
- package/dist/node_modules/@alicloud/dingtalk/dist/conference_1_0/client.d.ts +159 -2
- package/dist/node_modules/@alicloud/dingtalk/dist/conference_1_0/client.js +243 -3
- package/dist/node_modules/@alicloud/dingtalk/dist/contact_1_0/client.d.ts +399 -2
- package/dist/node_modules/@alicloud/dingtalk/dist/contact_1_0/client.js +614 -11
- package/dist/node_modules/@alicloud/dingtalk/dist/contract_1_0/client.d.ts +2789 -274
- package/dist/node_modules/@alicloud/dingtalk/dist/contract_1_0/client.js +4218 -407
- package/dist/node_modules/@alicloud/dingtalk/dist/crm_1_0/client.d.ts +81 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/crm_1_0/client.js +133 -7
- package/dist/node_modules/@alicloud/dingtalk/dist/datacenter_1_0/client.d.ts +168 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/datacenter_1_0/client.js +281 -11
- package/dist/node_modules/@alicloud/dingtalk/dist/diot_1_0/client.js +0 -1
- package/dist/node_modules/@alicloud/dingtalk/dist/doc_1_0/client.d.ts +1110 -24
- package/dist/node_modules/@alicloud/dingtalk/dist/doc_1_0/client.js +1714 -115
- package/dist/node_modules/@alicloud/dingtalk/dist/doc_2_0/client.d.ts +1073 -73
- package/dist/node_modules/@alicloud/dingtalk/dist/doc_2_0/client.js +1316 -39
- package/dist/node_modules/@alicloud/dingtalk/dist/edu_1_0/client.d.ts +5893 -2422
- package/dist/node_modules/@alicloud/dingtalk/dist/edu_1_0/client.js +7232 -1965
- package/dist/node_modules/@alicloud/dingtalk/dist/event_1_0/client.js +0 -1
- package/dist/node_modules/@alicloud/dingtalk/dist/exclusive_1_0/client.d.ts +851 -51
- package/dist/node_modules/@alicloud/dingtalk/dist/exclusive_1_0/client.js +1239 -66
- package/dist/node_modules/@alicloud/dingtalk/dist/flashmeeting_1_0/client.d.ts +92 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/flashmeeting_1_0/client.js +166 -1
- package/dist/node_modules/@alicloud/dingtalk/dist/gateway_1_0/client.js +0 -1
- package/dist/node_modules/@alicloud/dingtalk/dist/hrbrain_1_0/client.d.ts +1373 -233
- package/dist/node_modules/@alicloud/dingtalk/dist/hrbrain_1_0/client.js +2004 -246
- package/dist/node_modules/@alicloud/dingtalk/dist/hrm_1_0/client.d.ts +598 -3
- package/dist/node_modules/@alicloud/dingtalk/dist/hrm_1_0/client.js +893 -33
- package/dist/node_modules/@alicloud/dingtalk/dist/im_1_0/client.d.ts +1373 -122
- package/dist/node_modules/@alicloud/dingtalk/dist/im_1_0/client.js +2099 -264
- package/dist/node_modules/@alicloud/dingtalk/dist/im_2_0/client.js +0 -1
- package/dist/node_modules/@alicloud/dingtalk/dist/index.d.ts +6 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/index.js +2 -2
- package/dist/node_modules/@alicloud/dingtalk/dist/industry_1_0/client.d.ts +160 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/industry_1_0/client.js +227 -14
- package/dist/node_modules/@alicloud/dingtalk/dist/live_1_0/client.d.ts +4 -2
- package/dist/node_modules/@alicloud/dingtalk/dist/live_1_0/client.js +6 -2
- package/dist/node_modules/@alicloud/dingtalk/dist/mail_1_0/client.d.ts +1089 -38
- package/dist/node_modules/@alicloud/dingtalk/dist/mail_1_0/client.js +1429 -62
- package/dist/node_modules/@alicloud/dingtalk/dist/manufacturing_1_0/client.js +0 -1
- package/dist/node_modules/@alicloud/dingtalk/dist/meter_1_0/client.d.ts +101 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/meter_1_0/client.js +202 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/micro_app_1_0/client.d.ts +113 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/micro_app_1_0/client.js +171 -3
- package/dist/node_modules/@alicloud/dingtalk/dist/miniapp_1_0/client.js +0 -1
- package/dist/node_modules/@alicloud/dingtalk/dist/minutes_1_0/client.d.ts +940 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/minutes_1_0/client.js +1545 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/oauth2_1_0/client.js +0 -1
- package/dist/node_modules/@alicloud/dingtalk/dist/pedia_1_0/client.d.ts +1 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/pedia_1_0/client.js +5 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/project_1_0/client.d.ts +83 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/project_1_0/client.js +68 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/rooms_1_0/client.d.ts +90 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/rooms_1_0/client.js +83 -1
- package/dist/node_modules/@alicloud/dingtalk/dist/salary_1_0/client.d.ts +642 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/salary_1_0/client.js +919 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/storage_1_0/client.d.ts +130 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/storage_1_0/client.js +171 -6
- package/dist/node_modules/@alicloud/dingtalk/dist/storage_2_0/client.d.ts +283 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/storage_2_0/client.js +340 -2
- package/dist/node_modules/@alicloud/dingtalk/dist/team_sphere_1_0/client.d.ts +223 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/team_sphere_1_0/client.js +347 -4
- package/dist/node_modules/@alicloud/dingtalk/dist/todo_1_0/client.d.ts +42 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/todo_1_0/client.js +53 -2
- package/dist/node_modules/@alicloud/dingtalk/dist/todo_e_e_1_0/client.d.ts +458 -4
- package/dist/node_modules/@alicloud/dingtalk/dist/todo_e_e_1_0/client.js +942 -153
- package/dist/node_modules/@alicloud/dingtalk/dist/trip_1_0/client.d.ts +5 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/trip_1_0/client.js +2 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/vip_member_1_0/client.d.ts +254 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/vip_member_1_0/client.js +477 -1
- package/dist/node_modules/@alicloud/dingtalk/dist/watt_1_0/client.js +0 -1
- package/dist/node_modules/@alicloud/dingtalk/dist/wiki_2_0/client.d.ts +234 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/wiki_2_0/client.js +298 -2
- package/dist/node_modules/@alicloud/dingtalk/dist/workflow_1_0/client.d.ts +746 -15
- package/dist/node_modules/@alicloud/dingtalk/dist/workflow_1_0/client.js +871 -20
- package/dist/node_modules/@alicloud/dingtalk/dist/yida_1_0/client.d.ts +402 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/yida_1_0/client.js +412 -7
- package/dist/node_modules/@alicloud/dingtalk/dist/yida_2_0/client.d.ts +890 -112
- package/dist/node_modules/@alicloud/dingtalk/dist/yida_2_0/client.js +1063 -2
- package/dist/node_modules/@alicloud/dingtalk/meter_1_0.js +1 -0
- package/dist/node_modules/@alicloud/dingtalk/minutes_1_0.js +1 -0
- package/dist/node_modules/@alicloud/dingtalk/package.json +1 -1
- package/dist/node_modules/@alicloud/dingtalk/salary_1_0.js +1 -0
- package/dist/node_modules/@alicloud/dingtalk/src/agoal_1_0/client.ts +2695 -319
- package/dist/node_modules/@alicloud/dingtalk/src/ai_paa_s_1_0/client.ts +566 -0
- package/dist/node_modules/@alicloud/dingtalk/src/assistant_1_0/client.ts +1492 -117
- package/dist/node_modules/@alicloud/dingtalk/src/ats_1_0/client.ts +420 -0
- package/dist/node_modules/@alicloud/dingtalk/src/attendance_1_0/client.ts +45 -13
- package/dist/node_modules/@alicloud/dingtalk/src/bizfinance_1_0/client.ts +232 -2
- package/dist/node_modules/@alicloud/dingtalk/src/bizfinance_2_0/client.ts +6892 -2251
- package/dist/node_modules/@alicloud/dingtalk/src/calendar_1_0/client.ts +287 -0
- package/dist/node_modules/@alicloud/dingtalk/src/card_1_0/client.ts +224 -0
- package/dist/node_modules/@alicloud/dingtalk/src/conference_1_0/client.ts +297 -2
- package/dist/node_modules/@alicloud/dingtalk/src/contact_1_0/client.ts +811 -42
- package/dist/node_modules/@alicloud/dingtalk/src/contract_1_0/client.ts +5523 -617
- package/dist/node_modules/@alicloud/dingtalk/src/crm_1_0/client.ts +157 -0
- package/dist/node_modules/@alicloud/dingtalk/src/datacenter_1_0/client.ts +340 -0
- package/dist/node_modules/@alicloud/dingtalk/src/diot_1_0/client.ts +0 -1
- package/dist/node_modules/@alicloud/dingtalk/src/doc_1_0/client.ts +2802 -720
- package/dist/node_modules/@alicloud/dingtalk/src/doc_2_0/client.ts +1889 -140
- package/dist/node_modules/@alicloud/dingtalk/src/edu_1_0/client.ts +8496 -1557
- package/dist/node_modules/@alicloud/dingtalk/src/event_1_0/client.ts +0 -1
- package/dist/node_modules/@alicloud/dingtalk/src/exclusive_1_0/client.ts +1831 -283
- package/dist/node_modules/@alicloud/dingtalk/src/flashmeeting_1_0/client.ts +201 -0
- package/dist/node_modules/@alicloud/dingtalk/src/gateway_1_0/client.ts +0 -1
- package/dist/node_modules/@alicloud/dingtalk/src/hrbrain_1_0/client.ts +2742 -542
- package/dist/node_modules/@alicloud/dingtalk/src/hrm_1_0/client.ts +1182 -33
- package/dist/node_modules/@alicloud/dingtalk/src/im_1_0/client.ts +3100 -718
- package/dist/node_modules/@alicloud/dingtalk/src/im_2_0/client.ts +0 -1
- package/dist/node_modules/@alicloud/dingtalk/src/index.ts +6 -0
- package/dist/node_modules/@alicloud/dingtalk/src/industry_1_0/client.ts +319 -0
- package/dist/node_modules/@alicloud/dingtalk/src/live_1_0/client.ts +8 -2
- package/dist/node_modules/@alicloud/dingtalk/src/mail_1_0/client.ts +2029 -159
- package/dist/node_modules/@alicloud/dingtalk/src/manufacturing_1_0/client.ts +0 -1
- package/dist/node_modules/@alicloud/dingtalk/src/meter_1_0/client.ts +201 -0
- package/dist/node_modules/@alicloud/dingtalk/src/micro_app_1_0/client.ts +215 -1
- package/dist/node_modules/@alicloud/dingtalk/src/miniapp_1_0/client.ts +0 -1
- package/dist/node_modules/@alicloud/dingtalk/src/minutes_1_0/client.ts +1871 -0
- package/dist/node_modules/@alicloud/dingtalk/src/oauth2_1_0/client.ts +0 -1
- package/dist/node_modules/@alicloud/dingtalk/src/pedia_1_0/client.ts +7 -0
- package/dist/node_modules/@alicloud/dingtalk/src/project_1_0/client.ts +161 -0
- package/dist/node_modules/@alicloud/dingtalk/src/rooms_1_0/client.ts +147 -0
- package/dist/node_modules/@alicloud/dingtalk/src/salary_1_0/client.ts +1156 -0
- package/dist/node_modules/@alicloud/dingtalk/src/storage_1_0/client.ts +226 -0
- package/dist/node_modules/@alicloud/dingtalk/src/storage_2_0/client.ts +492 -0
- package/dist/node_modules/@alicloud/dingtalk/src/team_sphere_1_0/client.ts +442 -0
- package/dist/node_modules/@alicloud/dingtalk/src/todo_1_0/client.ts +89 -0
- package/dist/node_modules/@alicloud/dingtalk/src/todo_e_e_1_0/client.ts +1061 -88
- package/dist/node_modules/@alicloud/dingtalk/src/trip_1_0/client.ts +7 -0
- package/dist/node_modules/@alicloud/dingtalk/src/vip_member_1_0/client.ts +583 -0
- package/dist/node_modules/@alicloud/dingtalk/src/watt_1_0/client.ts +0 -1
- package/dist/node_modules/@alicloud/dingtalk/src/wiki_2_0/client.ts +423 -0
- package/dist/node_modules/@alicloud/dingtalk/src/workflow_1_0/client.ts +1304 -24
- package/dist/node_modules/@alicloud/dingtalk/src/yida_1_0/client.ts +774 -102
- package/dist/node_modules/@alicloud/dingtalk/src/yida_2_0/client.ts +1910 -429
- package/dist/node_modules/@alicloud/openapi-client/package.json +1 -1
- package/dist/node_modules/@alicloud/tea-util/package.json +1 -1
- package/package.json +8 -8
|
@@ -36,9 +36,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
36
36
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
40
|
-
exports.
|
|
41
|
-
exports.
|
|
39
|
+
exports.DeleteDomainWordsResponse = exports.DeleteDomainWordsResponseBody = exports.DeleteDomainWordsRequest = exports.DeleteDomainWordsHeaders = exports.DeleteAssistantThreadResponse = exports.DeleteAssistantThreadResponseBody = exports.DeleteAssistantThreadHeaders = exports.DeleteAssistantMessageResponse = exports.DeleteAssistantMessageResponseBody = exports.DeleteAssistantMessageHeaders = exports.DeleteAssistantResponse = exports.DeleteAssistantResponseBody = exports.DeleteAssistantRequest = exports.DeleteAssistantHeaders = exports.CreateAssistantThreadResponse = exports.CreateAssistantThreadResponseBody = exports.CreateAssistantThreadRequest = exports.CreateAssistantThreadHeaders = exports.CreateAssistantRunResponse = exports.CreateAssistantRunResponseBody = exports.CreateAssistantRunRequest = exports.CreateAssistantRunHeaders = exports.CreateAssistantMessageResponse = exports.CreateAssistantMessageResponseBody = exports.CreateAssistantMessageRequest = exports.CreateAssistantMessageHeaders = exports.CreateAssistantResponse = exports.CreateAssistantResponseBody = exports.CreateAssistantRequest = exports.CreateAssistantHeaders = exports.BatchGetAICreditsRecordResponse = exports.BatchGetAICreditsRecordResponseBody = exports.BatchGetAICreditsRecordRequest = exports.BatchGetAICreditsRecordHeaders = exports.AssistantResponseResponse = exports.AssistantResponseResponseBody = exports.AssistantResponseRequest = exports.AssistantResponseHeaders = exports.AssistantMeResponseResponse = exports.AssistantMeResponseResponseBody = exports.AssistantMeResponseRequest = exports.AssistantMeResponseHeaders = exports.AddToOrgSkillRepositoryResponse = exports.AddToOrgSkillRepositoryResponseBody = exports.AddToOrgSkillRepositoryRequest = exports.AddToOrgSkillRepositoryHeaders = exports.AddDomainWordsResponse = exports.AddDomainWordsResponseBody = exports.AddDomainWordsRequest = exports.AddDomainWordsHeaders = void 0;
|
|
40
|
+
exports.LogListRequest = exports.LogListHeaders = exports.ListVisibleAssistantResponse = exports.ListVisibleAssistantResponseBody = exports.ListVisibleAssistantRequest = exports.ListVisibleAssistantHeaders = exports.ListInstanceResponse = exports.ListInstanceResponseBody = exports.ListInstanceRequest = exports.ListInstanceHeaders = exports.ListAssistantRunResponse = exports.ListAssistantRunResponseBody = exports.ListAssistantRunRequest = exports.ListAssistantRunHeaders = exports.ListAssistantMessageResponse = exports.ListAssistantMessageResponseBody = exports.ListAssistantMessageRequest = exports.ListAssistantMessageHeaders = exports.ListAssistantResponse = exports.ListAssistantResponseBody = exports.ListAssistantRequest = exports.ListAssistantHeaders = exports.LearnKnowledgeResponse = exports.LearnKnowledgeResponseBody = exports.LearnKnowledgeRequest = exports.LearnKnowledgeHeaders = exports.InstallAssistantResponse = exports.InstallAssistantResponseBody = exports.InstallAssistantRequest = exports.InstallAssistantHeaders = exports.GetKnowledgeListResponse = exports.GetKnowledgeListResponseBody = exports.GetKnowledgeListRequest = exports.GetKnowledgeListHeaders = exports.GetDomainWordsResponse = exports.GetDomainWordsResponseBody = exports.GetDomainWordsRequest = exports.GetDomainWordsHeaders = exports.GetAssistantActionInfoResponse = exports.GetAssistantActionInfoResponseBody = exports.GetAssistantActionInfoRequest = exports.GetAssistantActionInfoHeaders = exports.GetAskDetailResponse = exports.GetAskDetailResponseBody = exports.GetAskDetailRequest = exports.GetAskDetailHeaders = exports.DeleteKnowledgeResponse = exports.DeleteKnowledgeResponseBody = exports.DeleteKnowledgeRequest = exports.DeleteKnowledgeHeaders = void 0;
|
|
41
|
+
exports.GetKnowledgeListResponseBodyResult = exports.GetAssistantActionInfoResponseBodyActionList = exports.GetAskDetailResponseBodyResult = exports.GetAskDetailResponseBodyResultList = exports.GetAskDetailResponseBodyResultListReferences = exports.DeleteDomainWordsRequestDomainWords = exports.BatchGetAICreditsRecordResponseBodyList = exports.AssistantResponseResponseBodyOutput = exports.AssistantResponseResponseBodyOutputContent = exports.AssistantMeResponseResponseBodyOutput = exports.AssistantMeResponseResponseBodyOutputContent = exports.AddDomainWordsRequestDomainWords = exports.UpdateAssistantScopeResponse = exports.UpdateAssistantScopeRequest = exports.UpdateAssistantScopeHeaders = exports.UpdateAssistantBasicInfoResponse = exports.UpdateAssistantBasicInfoResponseBody = exports.UpdateAssistantBasicInfoRequest = exports.UpdateAssistantBasicInfoHeaders = exports.RetrieveAssistantThreadResponse = exports.RetrieveAssistantThreadResponseBody = exports.RetrieveAssistantThreadHeaders = exports.RetrieveAssistantScopeResponse = exports.RetrieveAssistantScopeResponseBody = exports.RetrieveAssistantScopeRequest = exports.RetrieveAssistantScopeHeaders = exports.RetrieveAssistantRunResponse = exports.RetrieveAssistantRunResponseBody = exports.RetrieveAssistantRunHeaders = exports.RetrieveAssistantMessageResponse = exports.RetrieveAssistantMessageResponseBody = exports.RetrieveAssistantMessageHeaders = exports.RetrieveAssistantBasicInfoResponse = exports.RetrieveAssistantBasicInfoResponseBody = exports.RetrieveAssistantBasicInfoRequest = exports.RetrieveAssistantBasicInfoHeaders = exports.RemoveFromOrgSkillRepositoryResponse = exports.RemoveFromOrgSkillRepositoryResponseBody = exports.RemoveFromOrgSkillRepositoryRequest = exports.RemoveFromOrgSkillRepositoryHeaders = exports.RemoveAssistantResponse = exports.RemoveAssistantResponseBody = exports.RemoveAssistantRequest = exports.RemoveAssistantHeaders = exports.RelearnKnowledgeResponse = exports.RelearnKnowledgeResponseBody = exports.RelearnKnowledgeRequest = exports.RelearnKnowledgeHeaders = exports.LogListResponse = exports.LogListResponseBody = void 0;
|
|
42
|
+
exports.UpdateAssistantScopeRequestScopes = exports.RetrieveAssistantScopeResponseBodyResult = exports.RetrieveAssistantScopeResponseBodyResultScopes = exports.LogListResponseBodyResult = exports.LogListResponseBodyResultList = exports.ListVisibleAssistantResponseBodyList = exports.ListInstanceResponseBodyResult = exports.ListAssistantRunResponseBodyData = exports.ListAssistantMessageResponseBodyData = exports.ListAssistantResponseBodyList = void 0;
|
|
42
43
|
// This file is auto-generated, don't edit it
|
|
43
44
|
/**
|
|
44
45
|
*/
|
|
@@ -119,6 +120,344 @@ class AddDomainWordsResponse extends $tea.Model {
|
|
|
119
120
|
}
|
|
120
121
|
}
|
|
121
122
|
exports.AddDomainWordsResponse = AddDomainWordsResponse;
|
|
123
|
+
class AddToOrgSkillRepositoryHeaders extends $tea.Model {
|
|
124
|
+
static names() {
|
|
125
|
+
return {
|
|
126
|
+
commonHeaders: 'commonHeaders',
|
|
127
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
128
|
+
};
|
|
129
|
+
}
|
|
130
|
+
static types() {
|
|
131
|
+
return {
|
|
132
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
133
|
+
xAcsDingtalkAccessToken: 'string',
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
constructor(map) {
|
|
137
|
+
super(map);
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
exports.AddToOrgSkillRepositoryHeaders = AddToOrgSkillRepositoryHeaders;
|
|
141
|
+
class AddToOrgSkillRepositoryRequest extends $tea.Model {
|
|
142
|
+
static names() {
|
|
143
|
+
return {
|
|
144
|
+
actionId: 'actionId',
|
|
145
|
+
actionVersion: 'actionVersion',
|
|
146
|
+
operatorUnionId: 'operatorUnionId',
|
|
147
|
+
};
|
|
148
|
+
}
|
|
149
|
+
static types() {
|
|
150
|
+
return {
|
|
151
|
+
actionId: 'string',
|
|
152
|
+
actionVersion: 'string',
|
|
153
|
+
operatorUnionId: 'string',
|
|
154
|
+
};
|
|
155
|
+
}
|
|
156
|
+
constructor(map) {
|
|
157
|
+
super(map);
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
exports.AddToOrgSkillRepositoryRequest = AddToOrgSkillRepositoryRequest;
|
|
161
|
+
class AddToOrgSkillRepositoryResponseBody extends $tea.Model {
|
|
162
|
+
static names() {
|
|
163
|
+
return {
|
|
164
|
+
success: 'success',
|
|
165
|
+
};
|
|
166
|
+
}
|
|
167
|
+
static types() {
|
|
168
|
+
return {
|
|
169
|
+
success: 'boolean',
|
|
170
|
+
};
|
|
171
|
+
}
|
|
172
|
+
constructor(map) {
|
|
173
|
+
super(map);
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
exports.AddToOrgSkillRepositoryResponseBody = AddToOrgSkillRepositoryResponseBody;
|
|
177
|
+
class AddToOrgSkillRepositoryResponse extends $tea.Model {
|
|
178
|
+
static names() {
|
|
179
|
+
return {
|
|
180
|
+
headers: 'headers',
|
|
181
|
+
statusCode: 'statusCode',
|
|
182
|
+
body: 'body',
|
|
183
|
+
};
|
|
184
|
+
}
|
|
185
|
+
static types() {
|
|
186
|
+
return {
|
|
187
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
188
|
+
statusCode: 'number',
|
|
189
|
+
body: AddToOrgSkillRepositoryResponseBody,
|
|
190
|
+
};
|
|
191
|
+
}
|
|
192
|
+
constructor(map) {
|
|
193
|
+
super(map);
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
exports.AddToOrgSkillRepositoryResponse = AddToOrgSkillRepositoryResponse;
|
|
197
|
+
class AssistantMeResponseHeaders extends $tea.Model {
|
|
198
|
+
static names() {
|
|
199
|
+
return {
|
|
200
|
+
commonHeaders: 'commonHeaders',
|
|
201
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
202
|
+
};
|
|
203
|
+
}
|
|
204
|
+
static types() {
|
|
205
|
+
return {
|
|
206
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
207
|
+
xAcsDingtalkAccessToken: 'string',
|
|
208
|
+
};
|
|
209
|
+
}
|
|
210
|
+
constructor(map) {
|
|
211
|
+
super(map);
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
exports.AssistantMeResponseHeaders = AssistantMeResponseHeaders;
|
|
215
|
+
class AssistantMeResponseRequest extends $tea.Model {
|
|
216
|
+
static names() {
|
|
217
|
+
return {
|
|
218
|
+
input: 'input',
|
|
219
|
+
instructions: 'instructions',
|
|
220
|
+
metadata: 'metadata',
|
|
221
|
+
stream: 'stream',
|
|
222
|
+
};
|
|
223
|
+
}
|
|
224
|
+
static types() {
|
|
225
|
+
return {
|
|
226
|
+
input: 'string',
|
|
227
|
+
instructions: 'string',
|
|
228
|
+
metadata: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
229
|
+
stream: 'boolean',
|
|
230
|
+
};
|
|
231
|
+
}
|
|
232
|
+
constructor(map) {
|
|
233
|
+
super(map);
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
exports.AssistantMeResponseRequest = AssistantMeResponseRequest;
|
|
237
|
+
class AssistantMeResponseResponseBody extends $tea.Model {
|
|
238
|
+
static names() {
|
|
239
|
+
return {
|
|
240
|
+
createdAt: 'created_at',
|
|
241
|
+
error: 'error',
|
|
242
|
+
id: 'id',
|
|
243
|
+
metadata: 'metadata',
|
|
244
|
+
model: 'model',
|
|
245
|
+
object: 'object',
|
|
246
|
+
output: 'output',
|
|
247
|
+
status: 'status',
|
|
248
|
+
};
|
|
249
|
+
}
|
|
250
|
+
static types() {
|
|
251
|
+
return {
|
|
252
|
+
createdAt: 'number',
|
|
253
|
+
error: 'string',
|
|
254
|
+
id: 'string',
|
|
255
|
+
metadata: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
256
|
+
model: 'string',
|
|
257
|
+
object: 'string',
|
|
258
|
+
output: { 'type': 'array', 'itemType': AssistantMeResponseResponseBodyOutput },
|
|
259
|
+
status: 'string',
|
|
260
|
+
};
|
|
261
|
+
}
|
|
262
|
+
constructor(map) {
|
|
263
|
+
super(map);
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
exports.AssistantMeResponseResponseBody = AssistantMeResponseResponseBody;
|
|
267
|
+
class AssistantMeResponseResponse extends $tea.Model {
|
|
268
|
+
static names() {
|
|
269
|
+
return {
|
|
270
|
+
headers: 'headers',
|
|
271
|
+
statusCode: 'statusCode',
|
|
272
|
+
body: 'body',
|
|
273
|
+
};
|
|
274
|
+
}
|
|
275
|
+
static types() {
|
|
276
|
+
return {
|
|
277
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
278
|
+
statusCode: 'number',
|
|
279
|
+
body: AssistantMeResponseResponseBody,
|
|
280
|
+
};
|
|
281
|
+
}
|
|
282
|
+
constructor(map) {
|
|
283
|
+
super(map);
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
exports.AssistantMeResponseResponse = AssistantMeResponseResponse;
|
|
287
|
+
class AssistantResponseHeaders extends $tea.Model {
|
|
288
|
+
static names() {
|
|
289
|
+
return {
|
|
290
|
+
commonHeaders: 'commonHeaders',
|
|
291
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
292
|
+
};
|
|
293
|
+
}
|
|
294
|
+
static types() {
|
|
295
|
+
return {
|
|
296
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
297
|
+
xAcsDingtalkAccessToken: 'string',
|
|
298
|
+
};
|
|
299
|
+
}
|
|
300
|
+
constructor(map) {
|
|
301
|
+
super(map);
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
exports.AssistantResponseHeaders = AssistantResponseHeaders;
|
|
305
|
+
class AssistantResponseRequest extends $tea.Model {
|
|
306
|
+
static names() {
|
|
307
|
+
return {
|
|
308
|
+
input: 'input',
|
|
309
|
+
instructions: 'instructions',
|
|
310
|
+
metadata: 'metadata',
|
|
311
|
+
stream: 'stream',
|
|
312
|
+
};
|
|
313
|
+
}
|
|
314
|
+
static types() {
|
|
315
|
+
return {
|
|
316
|
+
input: 'string',
|
|
317
|
+
instructions: 'string',
|
|
318
|
+
metadata: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
319
|
+
stream: 'boolean',
|
|
320
|
+
};
|
|
321
|
+
}
|
|
322
|
+
constructor(map) {
|
|
323
|
+
super(map);
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
exports.AssistantResponseRequest = AssistantResponseRequest;
|
|
327
|
+
class AssistantResponseResponseBody extends $tea.Model {
|
|
328
|
+
static names() {
|
|
329
|
+
return {
|
|
330
|
+
createdAt: 'created_at',
|
|
331
|
+
error: 'error',
|
|
332
|
+
id: 'id',
|
|
333
|
+
metadata: 'metadata',
|
|
334
|
+
model: 'model',
|
|
335
|
+
object: 'object',
|
|
336
|
+
output: 'output',
|
|
337
|
+
status: 'status',
|
|
338
|
+
};
|
|
339
|
+
}
|
|
340
|
+
static types() {
|
|
341
|
+
return {
|
|
342
|
+
createdAt: 'number',
|
|
343
|
+
error: 'string',
|
|
344
|
+
id: 'string',
|
|
345
|
+
metadata: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
346
|
+
model: 'string',
|
|
347
|
+
object: 'string',
|
|
348
|
+
output: { 'type': 'array', 'itemType': AssistantResponseResponseBodyOutput },
|
|
349
|
+
status: 'string',
|
|
350
|
+
};
|
|
351
|
+
}
|
|
352
|
+
constructor(map) {
|
|
353
|
+
super(map);
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
exports.AssistantResponseResponseBody = AssistantResponseResponseBody;
|
|
357
|
+
class AssistantResponseResponse extends $tea.Model {
|
|
358
|
+
static names() {
|
|
359
|
+
return {
|
|
360
|
+
headers: 'headers',
|
|
361
|
+
statusCode: 'statusCode',
|
|
362
|
+
body: 'body',
|
|
363
|
+
};
|
|
364
|
+
}
|
|
365
|
+
static types() {
|
|
366
|
+
return {
|
|
367
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
368
|
+
statusCode: 'number',
|
|
369
|
+
body: AssistantResponseResponseBody,
|
|
370
|
+
};
|
|
371
|
+
}
|
|
372
|
+
constructor(map) {
|
|
373
|
+
super(map);
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
exports.AssistantResponseResponse = AssistantResponseResponse;
|
|
377
|
+
class BatchGetAICreditsRecordHeaders extends $tea.Model {
|
|
378
|
+
static names() {
|
|
379
|
+
return {
|
|
380
|
+
commonHeaders: 'commonHeaders',
|
|
381
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
382
|
+
};
|
|
383
|
+
}
|
|
384
|
+
static types() {
|
|
385
|
+
return {
|
|
386
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
387
|
+
xAcsDingtalkAccessToken: 'string',
|
|
388
|
+
};
|
|
389
|
+
}
|
|
390
|
+
constructor(map) {
|
|
391
|
+
super(map);
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
exports.BatchGetAICreditsRecordHeaders = BatchGetAICreditsRecordHeaders;
|
|
395
|
+
class BatchGetAICreditsRecordRequest extends $tea.Model {
|
|
396
|
+
static names() {
|
|
397
|
+
return {
|
|
398
|
+
assistantId: 'assistantId',
|
|
399
|
+
endTime: 'endTime',
|
|
400
|
+
pageNumber: 'pageNumber',
|
|
401
|
+
pageSize: 'pageSize',
|
|
402
|
+
startTime: 'startTime',
|
|
403
|
+
unionId: 'unionId',
|
|
404
|
+
};
|
|
405
|
+
}
|
|
406
|
+
static types() {
|
|
407
|
+
return {
|
|
408
|
+
assistantId: 'string',
|
|
409
|
+
endTime: 'string',
|
|
410
|
+
pageNumber: 'number',
|
|
411
|
+
pageSize: 'number',
|
|
412
|
+
startTime: 'string',
|
|
413
|
+
unionId: 'string',
|
|
414
|
+
};
|
|
415
|
+
}
|
|
416
|
+
constructor(map) {
|
|
417
|
+
super(map);
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
exports.BatchGetAICreditsRecordRequest = BatchGetAICreditsRecordRequest;
|
|
421
|
+
class BatchGetAICreditsRecordResponseBody extends $tea.Model {
|
|
422
|
+
static names() {
|
|
423
|
+
return {
|
|
424
|
+
hasMore: 'hasMore',
|
|
425
|
+
list: 'list',
|
|
426
|
+
totalCount: 'totalCount',
|
|
427
|
+
};
|
|
428
|
+
}
|
|
429
|
+
static types() {
|
|
430
|
+
return {
|
|
431
|
+
hasMore: 'boolean',
|
|
432
|
+
list: { 'type': 'array', 'itemType': BatchGetAICreditsRecordResponseBodyList },
|
|
433
|
+
totalCount: 'number',
|
|
434
|
+
};
|
|
435
|
+
}
|
|
436
|
+
constructor(map) {
|
|
437
|
+
super(map);
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
exports.BatchGetAICreditsRecordResponseBody = BatchGetAICreditsRecordResponseBody;
|
|
441
|
+
class BatchGetAICreditsRecordResponse extends $tea.Model {
|
|
442
|
+
static names() {
|
|
443
|
+
return {
|
|
444
|
+
headers: 'headers',
|
|
445
|
+
statusCode: 'statusCode',
|
|
446
|
+
body: 'body',
|
|
447
|
+
};
|
|
448
|
+
}
|
|
449
|
+
static types() {
|
|
450
|
+
return {
|
|
451
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
452
|
+
statusCode: 'number',
|
|
453
|
+
body: BatchGetAICreditsRecordResponseBody,
|
|
454
|
+
};
|
|
455
|
+
}
|
|
456
|
+
constructor(map) {
|
|
457
|
+
super(map);
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
exports.BatchGetAICreditsRecordResponse = BatchGetAICreditsRecordResponse;
|
|
122
461
|
class CreateAssistantHeaders extends $tea.Model {
|
|
123
462
|
static names() {
|
|
124
463
|
return {
|
|
@@ -909,6 +1248,80 @@ class GetAskDetailResponse extends $tea.Model {
|
|
|
909
1248
|
}
|
|
910
1249
|
}
|
|
911
1250
|
exports.GetAskDetailResponse = GetAskDetailResponse;
|
|
1251
|
+
class GetAssistantActionInfoHeaders extends $tea.Model {
|
|
1252
|
+
static names() {
|
|
1253
|
+
return {
|
|
1254
|
+
commonHeaders: 'commonHeaders',
|
|
1255
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
1256
|
+
};
|
|
1257
|
+
}
|
|
1258
|
+
static types() {
|
|
1259
|
+
return {
|
|
1260
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1261
|
+
xAcsDingtalkAccessToken: 'string',
|
|
1262
|
+
};
|
|
1263
|
+
}
|
|
1264
|
+
constructor(map) {
|
|
1265
|
+
super(map);
|
|
1266
|
+
}
|
|
1267
|
+
}
|
|
1268
|
+
exports.GetAssistantActionInfoHeaders = GetAssistantActionInfoHeaders;
|
|
1269
|
+
class GetAssistantActionInfoRequest extends $tea.Model {
|
|
1270
|
+
static names() {
|
|
1271
|
+
return {
|
|
1272
|
+
assistantId: 'assistantId',
|
|
1273
|
+
};
|
|
1274
|
+
}
|
|
1275
|
+
static types() {
|
|
1276
|
+
return {
|
|
1277
|
+
assistantId: 'string',
|
|
1278
|
+
};
|
|
1279
|
+
}
|
|
1280
|
+
constructor(map) {
|
|
1281
|
+
super(map);
|
|
1282
|
+
}
|
|
1283
|
+
}
|
|
1284
|
+
exports.GetAssistantActionInfoRequest = GetAssistantActionInfoRequest;
|
|
1285
|
+
class GetAssistantActionInfoResponseBody extends $tea.Model {
|
|
1286
|
+
static names() {
|
|
1287
|
+
return {
|
|
1288
|
+
actionList: 'actionList',
|
|
1289
|
+
assistantId: 'assistantId',
|
|
1290
|
+
corpId: 'corpId',
|
|
1291
|
+
};
|
|
1292
|
+
}
|
|
1293
|
+
static types() {
|
|
1294
|
+
return {
|
|
1295
|
+
actionList: { 'type': 'array', 'itemType': GetAssistantActionInfoResponseBodyActionList },
|
|
1296
|
+
assistantId: 'string',
|
|
1297
|
+
corpId: 'string',
|
|
1298
|
+
};
|
|
1299
|
+
}
|
|
1300
|
+
constructor(map) {
|
|
1301
|
+
super(map);
|
|
1302
|
+
}
|
|
1303
|
+
}
|
|
1304
|
+
exports.GetAssistantActionInfoResponseBody = GetAssistantActionInfoResponseBody;
|
|
1305
|
+
class GetAssistantActionInfoResponse extends $tea.Model {
|
|
1306
|
+
static names() {
|
|
1307
|
+
return {
|
|
1308
|
+
headers: 'headers',
|
|
1309
|
+
statusCode: 'statusCode',
|
|
1310
|
+
body: 'body',
|
|
1311
|
+
};
|
|
1312
|
+
}
|
|
1313
|
+
static types() {
|
|
1314
|
+
return {
|
|
1315
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1316
|
+
statusCode: 'number',
|
|
1317
|
+
body: GetAssistantActionInfoResponseBody,
|
|
1318
|
+
};
|
|
1319
|
+
}
|
|
1320
|
+
constructor(map) {
|
|
1321
|
+
super(map);
|
|
1322
|
+
}
|
|
1323
|
+
}
|
|
1324
|
+
exports.GetAssistantActionInfoResponse = GetAssistantActionInfoResponse;
|
|
912
1325
|
class GetDomainWordsHeaders extends $tea.Model {
|
|
913
1326
|
static names() {
|
|
914
1327
|
return {
|
|
@@ -1406,8 +1819,78 @@ class ListAssistantRunResponseBody extends $tea.Model {
|
|
|
1406
1819
|
super(map);
|
|
1407
1820
|
}
|
|
1408
1821
|
}
|
|
1409
|
-
exports.ListAssistantRunResponseBody = ListAssistantRunResponseBody;
|
|
1410
|
-
class ListAssistantRunResponse extends $tea.Model {
|
|
1822
|
+
exports.ListAssistantRunResponseBody = ListAssistantRunResponseBody;
|
|
1823
|
+
class ListAssistantRunResponse extends $tea.Model {
|
|
1824
|
+
static names() {
|
|
1825
|
+
return {
|
|
1826
|
+
headers: 'headers',
|
|
1827
|
+
statusCode: 'statusCode',
|
|
1828
|
+
body: 'body',
|
|
1829
|
+
};
|
|
1830
|
+
}
|
|
1831
|
+
static types() {
|
|
1832
|
+
return {
|
|
1833
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1834
|
+
statusCode: 'number',
|
|
1835
|
+
body: ListAssistantRunResponseBody,
|
|
1836
|
+
};
|
|
1837
|
+
}
|
|
1838
|
+
constructor(map) {
|
|
1839
|
+
super(map);
|
|
1840
|
+
}
|
|
1841
|
+
}
|
|
1842
|
+
exports.ListAssistantRunResponse = ListAssistantRunResponse;
|
|
1843
|
+
class ListInstanceHeaders extends $tea.Model {
|
|
1844
|
+
static names() {
|
|
1845
|
+
return {
|
|
1846
|
+
commonHeaders: 'commonHeaders',
|
|
1847
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
1848
|
+
};
|
|
1849
|
+
}
|
|
1850
|
+
static types() {
|
|
1851
|
+
return {
|
|
1852
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1853
|
+
xAcsDingtalkAccessToken: 'string',
|
|
1854
|
+
};
|
|
1855
|
+
}
|
|
1856
|
+
constructor(map) {
|
|
1857
|
+
super(map);
|
|
1858
|
+
}
|
|
1859
|
+
}
|
|
1860
|
+
exports.ListInstanceHeaders = ListInstanceHeaders;
|
|
1861
|
+
class ListInstanceRequest extends $tea.Model {
|
|
1862
|
+
static names() {
|
|
1863
|
+
return {
|
|
1864
|
+
prototypeAssistantId: 'prototypeAssistantId',
|
|
1865
|
+
};
|
|
1866
|
+
}
|
|
1867
|
+
static types() {
|
|
1868
|
+
return {
|
|
1869
|
+
prototypeAssistantId: 'string',
|
|
1870
|
+
};
|
|
1871
|
+
}
|
|
1872
|
+
constructor(map) {
|
|
1873
|
+
super(map);
|
|
1874
|
+
}
|
|
1875
|
+
}
|
|
1876
|
+
exports.ListInstanceRequest = ListInstanceRequest;
|
|
1877
|
+
class ListInstanceResponseBody extends $tea.Model {
|
|
1878
|
+
static names() {
|
|
1879
|
+
return {
|
|
1880
|
+
result: 'result',
|
|
1881
|
+
};
|
|
1882
|
+
}
|
|
1883
|
+
static types() {
|
|
1884
|
+
return {
|
|
1885
|
+
result: { 'type': 'array', 'itemType': ListInstanceResponseBodyResult },
|
|
1886
|
+
};
|
|
1887
|
+
}
|
|
1888
|
+
constructor(map) {
|
|
1889
|
+
super(map);
|
|
1890
|
+
}
|
|
1891
|
+
}
|
|
1892
|
+
exports.ListInstanceResponseBody = ListInstanceResponseBody;
|
|
1893
|
+
class ListInstanceResponse extends $tea.Model {
|
|
1411
1894
|
static names() {
|
|
1412
1895
|
return {
|
|
1413
1896
|
headers: 'headers',
|
|
@@ -1419,14 +1902,14 @@ class ListAssistantRunResponse extends $tea.Model {
|
|
|
1419
1902
|
return {
|
|
1420
1903
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1421
1904
|
statusCode: 'number',
|
|
1422
|
-
body:
|
|
1905
|
+
body: ListInstanceResponseBody,
|
|
1423
1906
|
};
|
|
1424
1907
|
}
|
|
1425
1908
|
constructor(map) {
|
|
1426
1909
|
super(map);
|
|
1427
1910
|
}
|
|
1428
1911
|
}
|
|
1429
|
-
exports.
|
|
1912
|
+
exports.ListInstanceResponse = ListInstanceResponse;
|
|
1430
1913
|
class ListVisibleAssistantHeaders extends $tea.Model {
|
|
1431
1914
|
static names() {
|
|
1432
1915
|
return {
|
|
@@ -1731,6 +2214,78 @@ class RemoveAssistantResponse extends $tea.Model {
|
|
|
1731
2214
|
}
|
|
1732
2215
|
}
|
|
1733
2216
|
exports.RemoveAssistantResponse = RemoveAssistantResponse;
|
|
2217
|
+
class RemoveFromOrgSkillRepositoryHeaders extends $tea.Model {
|
|
2218
|
+
static names() {
|
|
2219
|
+
return {
|
|
2220
|
+
commonHeaders: 'commonHeaders',
|
|
2221
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
2222
|
+
};
|
|
2223
|
+
}
|
|
2224
|
+
static types() {
|
|
2225
|
+
return {
|
|
2226
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2227
|
+
xAcsDingtalkAccessToken: 'string',
|
|
2228
|
+
};
|
|
2229
|
+
}
|
|
2230
|
+
constructor(map) {
|
|
2231
|
+
super(map);
|
|
2232
|
+
}
|
|
2233
|
+
}
|
|
2234
|
+
exports.RemoveFromOrgSkillRepositoryHeaders = RemoveFromOrgSkillRepositoryHeaders;
|
|
2235
|
+
class RemoveFromOrgSkillRepositoryRequest extends $tea.Model {
|
|
2236
|
+
static names() {
|
|
2237
|
+
return {
|
|
2238
|
+
actionId: 'actionId',
|
|
2239
|
+
operatorUnionId: 'operatorUnionId',
|
|
2240
|
+
};
|
|
2241
|
+
}
|
|
2242
|
+
static types() {
|
|
2243
|
+
return {
|
|
2244
|
+
actionId: 'string',
|
|
2245
|
+
operatorUnionId: 'string',
|
|
2246
|
+
};
|
|
2247
|
+
}
|
|
2248
|
+
constructor(map) {
|
|
2249
|
+
super(map);
|
|
2250
|
+
}
|
|
2251
|
+
}
|
|
2252
|
+
exports.RemoveFromOrgSkillRepositoryRequest = RemoveFromOrgSkillRepositoryRequest;
|
|
2253
|
+
class RemoveFromOrgSkillRepositoryResponseBody extends $tea.Model {
|
|
2254
|
+
static names() {
|
|
2255
|
+
return {
|
|
2256
|
+
success: 'success',
|
|
2257
|
+
};
|
|
2258
|
+
}
|
|
2259
|
+
static types() {
|
|
2260
|
+
return {
|
|
2261
|
+
success: 'boolean',
|
|
2262
|
+
};
|
|
2263
|
+
}
|
|
2264
|
+
constructor(map) {
|
|
2265
|
+
super(map);
|
|
2266
|
+
}
|
|
2267
|
+
}
|
|
2268
|
+
exports.RemoveFromOrgSkillRepositoryResponseBody = RemoveFromOrgSkillRepositoryResponseBody;
|
|
2269
|
+
class RemoveFromOrgSkillRepositoryResponse extends $tea.Model {
|
|
2270
|
+
static names() {
|
|
2271
|
+
return {
|
|
2272
|
+
headers: 'headers',
|
|
2273
|
+
statusCode: 'statusCode',
|
|
2274
|
+
body: 'body',
|
|
2275
|
+
};
|
|
2276
|
+
}
|
|
2277
|
+
static types() {
|
|
2278
|
+
return {
|
|
2279
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2280
|
+
statusCode: 'number',
|
|
2281
|
+
body: RemoveFromOrgSkillRepositoryResponseBody,
|
|
2282
|
+
};
|
|
2283
|
+
}
|
|
2284
|
+
constructor(map) {
|
|
2285
|
+
super(map);
|
|
2286
|
+
}
|
|
2287
|
+
}
|
|
2288
|
+
exports.RemoveFromOrgSkillRepositoryResponse = RemoveFromOrgSkillRepositoryResponse;
|
|
1734
2289
|
class RetrieveAssistantBasicInfoHeaders extends $tea.Model {
|
|
1735
2290
|
static names() {
|
|
1736
2291
|
return {
|
|
@@ -2305,6 +2860,124 @@ class AddDomainWordsRequestDomainWords extends $tea.Model {
|
|
|
2305
2860
|
}
|
|
2306
2861
|
}
|
|
2307
2862
|
exports.AddDomainWordsRequestDomainWords = AddDomainWordsRequestDomainWords;
|
|
2863
|
+
class AssistantMeResponseResponseBodyOutputContent extends $tea.Model {
|
|
2864
|
+
static names() {
|
|
2865
|
+
return {
|
|
2866
|
+
annotations: 'annotations',
|
|
2867
|
+
text: 'text',
|
|
2868
|
+
type: 'type',
|
|
2869
|
+
};
|
|
2870
|
+
}
|
|
2871
|
+
static types() {
|
|
2872
|
+
return {
|
|
2873
|
+
annotations: { 'type': 'array', 'itemType': 'any' },
|
|
2874
|
+
text: 'string',
|
|
2875
|
+
type: 'string',
|
|
2876
|
+
};
|
|
2877
|
+
}
|
|
2878
|
+
constructor(map) {
|
|
2879
|
+
super(map);
|
|
2880
|
+
}
|
|
2881
|
+
}
|
|
2882
|
+
exports.AssistantMeResponseResponseBodyOutputContent = AssistantMeResponseResponseBodyOutputContent;
|
|
2883
|
+
class AssistantMeResponseResponseBodyOutput extends $tea.Model {
|
|
2884
|
+
static names() {
|
|
2885
|
+
return {
|
|
2886
|
+
content: 'content',
|
|
2887
|
+
id: 'id',
|
|
2888
|
+
role: 'role',
|
|
2889
|
+
type: 'type',
|
|
2890
|
+
};
|
|
2891
|
+
}
|
|
2892
|
+
static types() {
|
|
2893
|
+
return {
|
|
2894
|
+
content: { 'type': 'array', 'itemType': AssistantMeResponseResponseBodyOutputContent },
|
|
2895
|
+
id: 'string',
|
|
2896
|
+
role: 'string',
|
|
2897
|
+
type: 'string',
|
|
2898
|
+
};
|
|
2899
|
+
}
|
|
2900
|
+
constructor(map) {
|
|
2901
|
+
super(map);
|
|
2902
|
+
}
|
|
2903
|
+
}
|
|
2904
|
+
exports.AssistantMeResponseResponseBodyOutput = AssistantMeResponseResponseBodyOutput;
|
|
2905
|
+
class AssistantResponseResponseBodyOutputContent extends $tea.Model {
|
|
2906
|
+
static names() {
|
|
2907
|
+
return {
|
|
2908
|
+
annotations: 'annotations',
|
|
2909
|
+
text: 'text',
|
|
2910
|
+
type: 'type',
|
|
2911
|
+
};
|
|
2912
|
+
}
|
|
2913
|
+
static types() {
|
|
2914
|
+
return {
|
|
2915
|
+
annotations: { 'type': 'array', 'itemType': 'any' },
|
|
2916
|
+
text: 'string',
|
|
2917
|
+
type: 'string',
|
|
2918
|
+
};
|
|
2919
|
+
}
|
|
2920
|
+
constructor(map) {
|
|
2921
|
+
super(map);
|
|
2922
|
+
}
|
|
2923
|
+
}
|
|
2924
|
+
exports.AssistantResponseResponseBodyOutputContent = AssistantResponseResponseBodyOutputContent;
|
|
2925
|
+
class AssistantResponseResponseBodyOutput extends $tea.Model {
|
|
2926
|
+
static names() {
|
|
2927
|
+
return {
|
|
2928
|
+
content: 'content',
|
|
2929
|
+
id: 'id',
|
|
2930
|
+
role: 'role',
|
|
2931
|
+
type: 'type',
|
|
2932
|
+
};
|
|
2933
|
+
}
|
|
2934
|
+
static types() {
|
|
2935
|
+
return {
|
|
2936
|
+
content: { 'type': 'array', 'itemType': AssistantResponseResponseBodyOutputContent },
|
|
2937
|
+
id: 'string',
|
|
2938
|
+
role: 'string',
|
|
2939
|
+
type: 'string',
|
|
2940
|
+
};
|
|
2941
|
+
}
|
|
2942
|
+
constructor(map) {
|
|
2943
|
+
super(map);
|
|
2944
|
+
}
|
|
2945
|
+
}
|
|
2946
|
+
exports.AssistantResponseResponseBodyOutput = AssistantResponseResponseBodyOutput;
|
|
2947
|
+
class BatchGetAICreditsRecordResponseBodyList extends $tea.Model {
|
|
2948
|
+
static names() {
|
|
2949
|
+
return {
|
|
2950
|
+
actionNames: 'actionNames',
|
|
2951
|
+
assistantId: 'assistantId',
|
|
2952
|
+
assistantName: 'assistantName',
|
|
2953
|
+
deptId: 'deptId',
|
|
2954
|
+
deptName: 'deptName',
|
|
2955
|
+
requestId: 'requestId',
|
|
2956
|
+
time: 'time',
|
|
2957
|
+
unionId: 'unionId',
|
|
2958
|
+
usedNum: 'usedNum',
|
|
2959
|
+
userName: 'userName',
|
|
2960
|
+
};
|
|
2961
|
+
}
|
|
2962
|
+
static types() {
|
|
2963
|
+
return {
|
|
2964
|
+
actionNames: 'string',
|
|
2965
|
+
assistantId: 'string',
|
|
2966
|
+
assistantName: 'string',
|
|
2967
|
+
deptId: 'number',
|
|
2968
|
+
deptName: 'string',
|
|
2969
|
+
requestId: 'string',
|
|
2970
|
+
time: 'string',
|
|
2971
|
+
unionId: 'string',
|
|
2972
|
+
usedNum: 'number',
|
|
2973
|
+
userName: 'string',
|
|
2974
|
+
};
|
|
2975
|
+
}
|
|
2976
|
+
constructor(map) {
|
|
2977
|
+
super(map);
|
|
2978
|
+
}
|
|
2979
|
+
}
|
|
2980
|
+
exports.BatchGetAICreditsRecordResponseBodyList = BatchGetAICreditsRecordResponseBodyList;
|
|
2308
2981
|
class DeleteDomainWordsRequestDomainWords extends $tea.Model {
|
|
2309
2982
|
static names() {
|
|
2310
2983
|
return {
|
|
@@ -2395,6 +3068,30 @@ class GetAskDetailResponseBodyResult extends $tea.Model {
|
|
|
2395
3068
|
}
|
|
2396
3069
|
}
|
|
2397
3070
|
exports.GetAskDetailResponseBodyResult = GetAskDetailResponseBodyResult;
|
|
3071
|
+
class GetAssistantActionInfoResponseBodyActionList extends $tea.Model {
|
|
3072
|
+
static names() {
|
|
3073
|
+
return {
|
|
3074
|
+
actionId: 'actionId',
|
|
3075
|
+
actionName: 'actionName',
|
|
3076
|
+
actionVersion: 'actionVersion',
|
|
3077
|
+
description: 'description',
|
|
3078
|
+
icon: 'icon',
|
|
3079
|
+
};
|
|
3080
|
+
}
|
|
3081
|
+
static types() {
|
|
3082
|
+
return {
|
|
3083
|
+
actionId: 'string',
|
|
3084
|
+
actionName: 'string',
|
|
3085
|
+
actionVersion: 'string',
|
|
3086
|
+
description: 'string',
|
|
3087
|
+
icon: 'string',
|
|
3088
|
+
};
|
|
3089
|
+
}
|
|
3090
|
+
constructor(map) {
|
|
3091
|
+
super(map);
|
|
3092
|
+
}
|
|
3093
|
+
}
|
|
3094
|
+
exports.GetAssistantActionInfoResponseBodyActionList = GetAssistantActionInfoResponseBodyActionList;
|
|
2398
3095
|
class GetKnowledgeListResponseBodyResult extends $tea.Model {
|
|
2399
3096
|
static names() {
|
|
2400
3097
|
return {
|
|
@@ -2517,6 +3214,30 @@ class ListAssistantRunResponseBodyData extends $tea.Model {
|
|
|
2517
3214
|
}
|
|
2518
3215
|
}
|
|
2519
3216
|
exports.ListAssistantRunResponseBodyData = ListAssistantRunResponseBodyData;
|
|
3217
|
+
class ListInstanceResponseBodyResult extends $tea.Model {
|
|
3218
|
+
static names() {
|
|
3219
|
+
return {
|
|
3220
|
+
description: 'description',
|
|
3221
|
+
icon: 'icon',
|
|
3222
|
+
name: 'name',
|
|
3223
|
+
prototypeAssistantId: 'prototypeAssistantId',
|
|
3224
|
+
tenantAssistantId: 'tenantAssistantId',
|
|
3225
|
+
};
|
|
3226
|
+
}
|
|
3227
|
+
static types() {
|
|
3228
|
+
return {
|
|
3229
|
+
description: 'string',
|
|
3230
|
+
icon: 'string',
|
|
3231
|
+
name: 'string',
|
|
3232
|
+
prototypeAssistantId: 'string',
|
|
3233
|
+
tenantAssistantId: 'string',
|
|
3234
|
+
};
|
|
3235
|
+
}
|
|
3236
|
+
constructor(map) {
|
|
3237
|
+
super(map);
|
|
3238
|
+
}
|
|
3239
|
+
}
|
|
3240
|
+
exports.ListInstanceResponseBodyResult = ListInstanceResponseBodyResult;
|
|
2520
3241
|
class ListVisibleAssistantResponseBodyList extends $tea.Model {
|
|
2521
3242
|
static names() {
|
|
2522
3243
|
return {
|
|
@@ -2660,37 +3381,208 @@ class UpdateAssistantScopeRequestScopes extends $tea.Model {
|
|
|
2660
3381
|
userVisibleScopes: { 'type': 'array', 'itemType': 'string' },
|
|
2661
3382
|
};
|
|
2662
3383
|
}
|
|
2663
|
-
constructor(map) {
|
|
2664
|
-
super(map);
|
|
3384
|
+
constructor(map) {
|
|
3385
|
+
super(map);
|
|
3386
|
+
}
|
|
3387
|
+
}
|
|
3388
|
+
exports.UpdateAssistantScopeRequestScopes = UpdateAssistantScopeRequestScopes;
|
|
3389
|
+
class Client extends openapi_client_1.default {
|
|
3390
|
+
constructor(config) {
|
|
3391
|
+
super(config);
|
|
3392
|
+
let gatewayClient = new gateway_dingtalk_1.default();
|
|
3393
|
+
this._spi = gatewayClient;
|
|
3394
|
+
this._endpointRule = "";
|
|
3395
|
+
if (tea_util_1.default.empty(this._endpoint)) {
|
|
3396
|
+
this._endpoint = "api.dingtalk.com";
|
|
3397
|
+
}
|
|
3398
|
+
}
|
|
3399
|
+
/**
|
|
3400
|
+
* 助理添加专业词汇
|
|
3401
|
+
*
|
|
3402
|
+
* @param request - AddDomainWordsRequest
|
|
3403
|
+
* @param headers - AddDomainWordsHeaders
|
|
3404
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3405
|
+
* @returns AddDomainWordsResponse
|
|
3406
|
+
*/
|
|
3407
|
+
async addDomainWordsWithOptions(request, headers, runtime) {
|
|
3408
|
+
tea_util_1.default.validateModel(request);
|
|
3409
|
+
let body = {};
|
|
3410
|
+
if (!tea_util_1.default.isUnset(request.assistantId)) {
|
|
3411
|
+
body["assistantId"] = request.assistantId;
|
|
3412
|
+
}
|
|
3413
|
+
if (!tea_util_1.default.isUnset(request.domainWords)) {
|
|
3414
|
+
body["domainWords"] = request.domainWords;
|
|
3415
|
+
}
|
|
3416
|
+
let realHeaders = {};
|
|
3417
|
+
if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
|
|
3418
|
+
realHeaders = headers.commonHeaders;
|
|
3419
|
+
}
|
|
3420
|
+
if (!tea_util_1.default.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
3421
|
+
realHeaders["x-acs-dingtalk-access-token"] = tea_util_1.default.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
3422
|
+
}
|
|
3423
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3424
|
+
headers: realHeaders,
|
|
3425
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
3426
|
+
});
|
|
3427
|
+
let params = new $OpenApi.Params({
|
|
3428
|
+
action: "AddDomainWords",
|
|
3429
|
+
version: "assistant_1.0",
|
|
3430
|
+
protocol: "HTTP",
|
|
3431
|
+
pathname: `/v1.0/assistant/domainWords`,
|
|
3432
|
+
method: "POST",
|
|
3433
|
+
authType: "AK",
|
|
3434
|
+
style: "ROA",
|
|
3435
|
+
reqBodyType: "none",
|
|
3436
|
+
bodyType: "json",
|
|
3437
|
+
});
|
|
3438
|
+
return $tea.cast(await this.execute(params, req, runtime), new AddDomainWordsResponse({}));
|
|
3439
|
+
}
|
|
3440
|
+
/**
|
|
3441
|
+
* 助理添加专业词汇
|
|
3442
|
+
*
|
|
3443
|
+
* @param request - AddDomainWordsRequest
|
|
3444
|
+
* @returns AddDomainWordsResponse
|
|
3445
|
+
*/
|
|
3446
|
+
async addDomainWords(request) {
|
|
3447
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3448
|
+
let headers = new AddDomainWordsHeaders({});
|
|
3449
|
+
return await this.addDomainWordsWithOptions(request, headers, runtime);
|
|
3450
|
+
}
|
|
3451
|
+
/**
|
|
3452
|
+
* 添加技能到组织技能库
|
|
3453
|
+
*
|
|
3454
|
+
* @param request - AddToOrgSkillRepositoryRequest
|
|
3455
|
+
* @param headers - AddToOrgSkillRepositoryHeaders
|
|
3456
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3457
|
+
* @returns AddToOrgSkillRepositoryResponse
|
|
3458
|
+
*/
|
|
3459
|
+
async addToOrgSkillRepositoryWithOptions(request, headers, runtime) {
|
|
3460
|
+
tea_util_1.default.validateModel(request);
|
|
3461
|
+
let body = {};
|
|
3462
|
+
if (!tea_util_1.default.isUnset(request.actionId)) {
|
|
3463
|
+
body["actionId"] = request.actionId;
|
|
3464
|
+
}
|
|
3465
|
+
if (!tea_util_1.default.isUnset(request.actionVersion)) {
|
|
3466
|
+
body["actionVersion"] = request.actionVersion;
|
|
3467
|
+
}
|
|
3468
|
+
if (!tea_util_1.default.isUnset(request.operatorUnionId)) {
|
|
3469
|
+
body["operatorUnionId"] = request.operatorUnionId;
|
|
3470
|
+
}
|
|
3471
|
+
let realHeaders = {};
|
|
3472
|
+
if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
|
|
3473
|
+
realHeaders = headers.commonHeaders;
|
|
3474
|
+
}
|
|
3475
|
+
if (!tea_util_1.default.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
3476
|
+
realHeaders["x-acs-dingtalk-access-token"] = tea_util_1.default.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
3477
|
+
}
|
|
3478
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3479
|
+
headers: realHeaders,
|
|
3480
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
3481
|
+
});
|
|
3482
|
+
let params = new $OpenApi.Params({
|
|
3483
|
+
action: "AddToOrgSkillRepository",
|
|
3484
|
+
version: "assistant_1.0",
|
|
3485
|
+
protocol: "HTTP",
|
|
3486
|
+
pathname: `/v1.0/assistant/orgActionRepositories`,
|
|
3487
|
+
method: "POST",
|
|
3488
|
+
authType: "AK",
|
|
3489
|
+
style: "ROA",
|
|
3490
|
+
reqBodyType: "none",
|
|
3491
|
+
bodyType: "json",
|
|
3492
|
+
});
|
|
3493
|
+
return $tea.cast(await this.execute(params, req, runtime), new AddToOrgSkillRepositoryResponse({}));
|
|
3494
|
+
}
|
|
3495
|
+
/**
|
|
3496
|
+
* 添加技能到组织技能库
|
|
3497
|
+
*
|
|
3498
|
+
* @param request - AddToOrgSkillRepositoryRequest
|
|
3499
|
+
* @returns AddToOrgSkillRepositoryResponse
|
|
3500
|
+
*/
|
|
3501
|
+
async addToOrgSkillRepository(request) {
|
|
3502
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3503
|
+
let headers = new AddToOrgSkillRepositoryHeaders({});
|
|
3504
|
+
return await this.addToOrgSkillRepositoryWithOptions(request, headers, runtime);
|
|
2665
3505
|
}
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
|
|
3506
|
+
/**
|
|
3507
|
+
* 助理响应接口-委托权限
|
|
3508
|
+
*
|
|
3509
|
+
* @param request - AssistantMeResponseRequest
|
|
3510
|
+
* @param headers - AssistantMeResponseHeaders
|
|
3511
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3512
|
+
* @returns AssistantMeResponseResponse
|
|
3513
|
+
*/
|
|
3514
|
+
async assistantMeResponseWithOptions(assistantId, request, headers, runtime) {
|
|
3515
|
+
tea_util_1.default.validateModel(request);
|
|
3516
|
+
let body = {};
|
|
3517
|
+
if (!tea_util_1.default.isUnset(request.input)) {
|
|
3518
|
+
body["input"] = request.input;
|
|
3519
|
+
}
|
|
3520
|
+
if (!tea_util_1.default.isUnset(request.instructions)) {
|
|
3521
|
+
body["instructions"] = request.instructions;
|
|
3522
|
+
}
|
|
3523
|
+
if (!tea_util_1.default.isUnset(request.metadata)) {
|
|
3524
|
+
body["metadata"] = request.metadata;
|
|
2676
3525
|
}
|
|
3526
|
+
if (!tea_util_1.default.isUnset(request.stream)) {
|
|
3527
|
+
body["stream"] = request.stream;
|
|
3528
|
+
}
|
|
3529
|
+
let realHeaders = {};
|
|
3530
|
+
if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
|
|
3531
|
+
realHeaders = headers.commonHeaders;
|
|
3532
|
+
}
|
|
3533
|
+
if (!tea_util_1.default.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
3534
|
+
realHeaders["x-acs-dingtalk-access-token"] = tea_util_1.default.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
3535
|
+
}
|
|
3536
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3537
|
+
headers: realHeaders,
|
|
3538
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
3539
|
+
});
|
|
3540
|
+
let params = new $OpenApi.Params({
|
|
3541
|
+
action: "AssistantMeResponse",
|
|
3542
|
+
version: "assistant_1.0",
|
|
3543
|
+
protocol: "HTTP",
|
|
3544
|
+
pathname: `/v1.0/assistant/${assistantId}/me/compatible-mode/responses`,
|
|
3545
|
+
method: "POST",
|
|
3546
|
+
authType: "AK",
|
|
3547
|
+
style: "ROA",
|
|
3548
|
+
reqBodyType: "none",
|
|
3549
|
+
bodyType: "json",
|
|
3550
|
+
});
|
|
3551
|
+
return $tea.cast(await this.execute(params, req, runtime), new AssistantMeResponseResponse({}));
|
|
2677
3552
|
}
|
|
2678
3553
|
/**
|
|
2679
|
-
*
|
|
3554
|
+
* 助理响应接口-委托权限
|
|
2680
3555
|
*
|
|
2681
|
-
* @param request -
|
|
2682
|
-
* @
|
|
3556
|
+
* @param request - AssistantMeResponseRequest
|
|
3557
|
+
* @returns AssistantMeResponseResponse
|
|
3558
|
+
*/
|
|
3559
|
+
async assistantMeResponse(assistantId, request) {
|
|
3560
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3561
|
+
let headers = new AssistantMeResponseHeaders({});
|
|
3562
|
+
return await this.assistantMeResponseWithOptions(assistantId, request, headers, runtime);
|
|
3563
|
+
}
|
|
3564
|
+
/**
|
|
3565
|
+
* 助理响应接口-应用权限
|
|
3566
|
+
*
|
|
3567
|
+
* @param request - AssistantResponseRequest
|
|
3568
|
+
* @param headers - AssistantResponseHeaders
|
|
2683
3569
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
2684
|
-
* @returns
|
|
3570
|
+
* @returns AssistantResponseResponse
|
|
2685
3571
|
*/
|
|
2686
|
-
async
|
|
3572
|
+
async assistantResponseWithOptions(assistantId, request, headers, runtime) {
|
|
2687
3573
|
tea_util_1.default.validateModel(request);
|
|
2688
3574
|
let body = {};
|
|
2689
|
-
if (!tea_util_1.default.isUnset(request.
|
|
2690
|
-
body["
|
|
3575
|
+
if (!tea_util_1.default.isUnset(request.input)) {
|
|
3576
|
+
body["input"] = request.input;
|
|
2691
3577
|
}
|
|
2692
|
-
if (!tea_util_1.default.isUnset(request.
|
|
2693
|
-
body["
|
|
3578
|
+
if (!tea_util_1.default.isUnset(request.instructions)) {
|
|
3579
|
+
body["instructions"] = request.instructions;
|
|
3580
|
+
}
|
|
3581
|
+
if (!tea_util_1.default.isUnset(request.metadata)) {
|
|
3582
|
+
body["metadata"] = request.metadata;
|
|
3583
|
+
}
|
|
3584
|
+
if (!tea_util_1.default.isUnset(request.stream)) {
|
|
3585
|
+
body["stream"] = request.stream;
|
|
2694
3586
|
}
|
|
2695
3587
|
let realHeaders = {};
|
|
2696
3588
|
if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
|
|
@@ -2704,28 +3596,92 @@ class Client extends openapi_client_1.default {
|
|
|
2704
3596
|
body: openapi_util_1.default.parseToMap(body),
|
|
2705
3597
|
});
|
|
2706
3598
|
let params = new $OpenApi.Params({
|
|
2707
|
-
action: "
|
|
3599
|
+
action: "AssistantResponse",
|
|
2708
3600
|
version: "assistant_1.0",
|
|
2709
3601
|
protocol: "HTTP",
|
|
2710
|
-
pathname: `/v1.0/assistant/
|
|
3602
|
+
pathname: `/v1.0/assistant/${assistantId}/compatible-mode/responses`,
|
|
2711
3603
|
method: "POST",
|
|
2712
3604
|
authType: "AK",
|
|
2713
3605
|
style: "ROA",
|
|
2714
3606
|
reqBodyType: "none",
|
|
2715
3607
|
bodyType: "json",
|
|
2716
3608
|
});
|
|
2717
|
-
return $tea.cast(await this.execute(params, req, runtime), new
|
|
3609
|
+
return $tea.cast(await this.execute(params, req, runtime), new AssistantResponseResponse({}));
|
|
2718
3610
|
}
|
|
2719
3611
|
/**
|
|
2720
|
-
*
|
|
3612
|
+
* 助理响应接口-应用权限
|
|
2721
3613
|
*
|
|
2722
|
-
* @param request -
|
|
2723
|
-
* @returns
|
|
3614
|
+
* @param request - AssistantResponseRequest
|
|
3615
|
+
* @returns AssistantResponseResponse
|
|
2724
3616
|
*/
|
|
2725
|
-
async
|
|
3617
|
+
async assistantResponse(assistantId, request) {
|
|
2726
3618
|
let runtime = new $Util.RuntimeOptions({});
|
|
2727
|
-
let headers = new
|
|
2728
|
-
return await this.
|
|
3619
|
+
let headers = new AssistantResponseHeaders({});
|
|
3620
|
+
return await this.assistantResponseWithOptions(assistantId, request, headers, runtime);
|
|
3621
|
+
}
|
|
3622
|
+
/**
|
|
3623
|
+
* 分页查询算粒的使用记录
|
|
3624
|
+
*
|
|
3625
|
+
* @param request - BatchGetAICreditsRecordRequest
|
|
3626
|
+
* @param headers - BatchGetAICreditsRecordHeaders
|
|
3627
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3628
|
+
* @returns BatchGetAICreditsRecordResponse
|
|
3629
|
+
*/
|
|
3630
|
+
async batchGetAICreditsRecordWithOptions(request, headers, runtime) {
|
|
3631
|
+
tea_util_1.default.validateModel(request);
|
|
3632
|
+
let query = {};
|
|
3633
|
+
if (!tea_util_1.default.isUnset(request.assistantId)) {
|
|
3634
|
+
query["assistantId"] = request.assistantId;
|
|
3635
|
+
}
|
|
3636
|
+
if (!tea_util_1.default.isUnset(request.endTime)) {
|
|
3637
|
+
query["endTime"] = request.endTime;
|
|
3638
|
+
}
|
|
3639
|
+
if (!tea_util_1.default.isUnset(request.pageNumber)) {
|
|
3640
|
+
query["pageNumber"] = request.pageNumber;
|
|
3641
|
+
}
|
|
3642
|
+
if (!tea_util_1.default.isUnset(request.pageSize)) {
|
|
3643
|
+
query["pageSize"] = request.pageSize;
|
|
3644
|
+
}
|
|
3645
|
+
if (!tea_util_1.default.isUnset(request.startTime)) {
|
|
3646
|
+
query["startTime"] = request.startTime;
|
|
3647
|
+
}
|
|
3648
|
+
if (!tea_util_1.default.isUnset(request.unionId)) {
|
|
3649
|
+
query["unionId"] = request.unionId;
|
|
3650
|
+
}
|
|
3651
|
+
let realHeaders = {};
|
|
3652
|
+
if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
|
|
3653
|
+
realHeaders = headers.commonHeaders;
|
|
3654
|
+
}
|
|
3655
|
+
if (!tea_util_1.default.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
3656
|
+
realHeaders["x-acs-dingtalk-access-token"] = tea_util_1.default.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
3657
|
+
}
|
|
3658
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3659
|
+
headers: realHeaders,
|
|
3660
|
+
query: openapi_util_1.default.query(query),
|
|
3661
|
+
});
|
|
3662
|
+
let params = new $OpenApi.Params({
|
|
3663
|
+
action: "BatchGetAICreditsRecord",
|
|
3664
|
+
version: "assistant_1.0",
|
|
3665
|
+
protocol: "HTTP",
|
|
3666
|
+
pathname: `/v1.0/assistant/aiCredits/list`,
|
|
3667
|
+
method: "GET",
|
|
3668
|
+
authType: "AK",
|
|
3669
|
+
style: "ROA",
|
|
3670
|
+
reqBodyType: "none",
|
|
3671
|
+
bodyType: "json",
|
|
3672
|
+
});
|
|
3673
|
+
return $tea.cast(await this.execute(params, req, runtime), new BatchGetAICreditsRecordResponse({}));
|
|
3674
|
+
}
|
|
3675
|
+
/**
|
|
3676
|
+
* 分页查询算粒的使用记录
|
|
3677
|
+
*
|
|
3678
|
+
* @param request - BatchGetAICreditsRecordRequest
|
|
3679
|
+
* @returns BatchGetAICreditsRecordResponse
|
|
3680
|
+
*/
|
|
3681
|
+
async batchGetAICreditsRecord(request) {
|
|
3682
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3683
|
+
let headers = new BatchGetAICreditsRecordHeaders({});
|
|
3684
|
+
return await this.batchGetAICreditsRecordWithOptions(request, headers, runtime);
|
|
2729
3685
|
}
|
|
2730
3686
|
/**
|
|
2731
3687
|
* 创建AI助理
|
|
@@ -3256,6 +4212,55 @@ class Client extends openapi_client_1.default {
|
|
|
3256
4212
|
let headers = new GetAskDetailHeaders({});
|
|
3257
4213
|
return await this.getAskDetailWithOptions(request, headers, runtime);
|
|
3258
4214
|
}
|
|
4215
|
+
/**
|
|
4216
|
+
* 获取AI助理技能列表信息
|
|
4217
|
+
*
|
|
4218
|
+
* @param request - GetAssistantActionInfoRequest
|
|
4219
|
+
* @param headers - GetAssistantActionInfoHeaders
|
|
4220
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4221
|
+
* @returns GetAssistantActionInfoResponse
|
|
4222
|
+
*/
|
|
4223
|
+
async getAssistantActionInfoWithOptions(request, headers, runtime) {
|
|
4224
|
+
tea_util_1.default.validateModel(request);
|
|
4225
|
+
let query = {};
|
|
4226
|
+
if (!tea_util_1.default.isUnset(request.assistantId)) {
|
|
4227
|
+
query["assistantId"] = request.assistantId;
|
|
4228
|
+
}
|
|
4229
|
+
let realHeaders = {};
|
|
4230
|
+
if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
|
|
4231
|
+
realHeaders = headers.commonHeaders;
|
|
4232
|
+
}
|
|
4233
|
+
if (!tea_util_1.default.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
4234
|
+
realHeaders["x-acs-dingtalk-access-token"] = tea_util_1.default.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
4235
|
+
}
|
|
4236
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4237
|
+
headers: realHeaders,
|
|
4238
|
+
query: openapi_util_1.default.query(query),
|
|
4239
|
+
});
|
|
4240
|
+
let params = new $OpenApi.Params({
|
|
4241
|
+
action: "GetAssistantActionInfo",
|
|
4242
|
+
version: "assistant_1.0",
|
|
4243
|
+
protocol: "HTTP",
|
|
4244
|
+
pathname: `/v1.0/assistant/actionLists`,
|
|
4245
|
+
method: "GET",
|
|
4246
|
+
authType: "AK",
|
|
4247
|
+
style: "ROA",
|
|
4248
|
+
reqBodyType: "none",
|
|
4249
|
+
bodyType: "json",
|
|
4250
|
+
});
|
|
4251
|
+
return $tea.cast(await this.execute(params, req, runtime), new GetAssistantActionInfoResponse({}));
|
|
4252
|
+
}
|
|
4253
|
+
/**
|
|
4254
|
+
* 获取AI助理技能列表信息
|
|
4255
|
+
*
|
|
4256
|
+
* @param request - GetAssistantActionInfoRequest
|
|
4257
|
+
* @returns GetAssistantActionInfoResponse
|
|
4258
|
+
*/
|
|
4259
|
+
async getAssistantActionInfo(request) {
|
|
4260
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
4261
|
+
let headers = new GetAssistantActionInfoHeaders({});
|
|
4262
|
+
return await this.getAssistantActionInfoWithOptions(request, headers, runtime);
|
|
4263
|
+
}
|
|
3259
4264
|
/**
|
|
3260
4265
|
* 获取助理专业词汇
|
|
3261
4266
|
*
|
|
@@ -3620,6 +4625,55 @@ class Client extends openapi_client_1.default {
|
|
|
3620
4625
|
let headers = new ListAssistantRunHeaders({});
|
|
3621
4626
|
return await this.listAssistantRunWithOptions(threadId, request, headers, runtime);
|
|
3622
4627
|
}
|
|
4628
|
+
/**
|
|
4629
|
+
* 获取指定助理在组织下已安装的实例信息列表
|
|
4630
|
+
*
|
|
4631
|
+
* @param request - ListInstanceRequest
|
|
4632
|
+
* @param headers - ListInstanceHeaders
|
|
4633
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4634
|
+
* @returns ListInstanceResponse
|
|
4635
|
+
*/
|
|
4636
|
+
async listInstanceWithOptions(request, headers, runtime) {
|
|
4637
|
+
tea_util_1.default.validateModel(request);
|
|
4638
|
+
let query = {};
|
|
4639
|
+
if (!tea_util_1.default.isUnset(request.prototypeAssistantId)) {
|
|
4640
|
+
query["prototypeAssistantId"] = request.prototypeAssistantId;
|
|
4641
|
+
}
|
|
4642
|
+
let realHeaders = {};
|
|
4643
|
+
if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
|
|
4644
|
+
realHeaders = headers.commonHeaders;
|
|
4645
|
+
}
|
|
4646
|
+
if (!tea_util_1.default.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
4647
|
+
realHeaders["x-acs-dingtalk-access-token"] = tea_util_1.default.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
4648
|
+
}
|
|
4649
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4650
|
+
headers: realHeaders,
|
|
4651
|
+
query: openapi_util_1.default.query(query),
|
|
4652
|
+
});
|
|
4653
|
+
let params = new $OpenApi.Params({
|
|
4654
|
+
action: "ListInstance",
|
|
4655
|
+
version: "assistant_1.0",
|
|
4656
|
+
protocol: "HTTP",
|
|
4657
|
+
pathname: `/v1.0/assistant/instances/list`,
|
|
4658
|
+
method: "GET",
|
|
4659
|
+
authType: "AK",
|
|
4660
|
+
style: "ROA",
|
|
4661
|
+
reqBodyType: "none",
|
|
4662
|
+
bodyType: "json",
|
|
4663
|
+
});
|
|
4664
|
+
return $tea.cast(await this.execute(params, req, runtime), new ListInstanceResponse({}));
|
|
4665
|
+
}
|
|
4666
|
+
/**
|
|
4667
|
+
* 获取指定助理在组织下已安装的实例信息列表
|
|
4668
|
+
*
|
|
4669
|
+
* @param request - ListInstanceRequest
|
|
4670
|
+
* @returns ListInstanceResponse
|
|
4671
|
+
*/
|
|
4672
|
+
async listInstance(request) {
|
|
4673
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
4674
|
+
let headers = new ListInstanceHeaders({});
|
|
4675
|
+
return await this.listInstanceWithOptions(request, headers, runtime);
|
|
4676
|
+
}
|
|
3623
4677
|
/**
|
|
3624
4678
|
* 获取用户可见范围的AI助理列表
|
|
3625
4679
|
*
|
|
@@ -3840,6 +4894,58 @@ class Client extends openapi_client_1.default {
|
|
|
3840
4894
|
let headers = new RemoveAssistantHeaders({});
|
|
3841
4895
|
return await this.removeAssistantWithOptions(request, headers, runtime);
|
|
3842
4896
|
}
|
|
4897
|
+
/**
|
|
4898
|
+
* 移除组织技能库技能
|
|
4899
|
+
*
|
|
4900
|
+
* @param request - RemoveFromOrgSkillRepositoryRequest
|
|
4901
|
+
* @param headers - RemoveFromOrgSkillRepositoryHeaders
|
|
4902
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4903
|
+
* @returns RemoveFromOrgSkillRepositoryResponse
|
|
4904
|
+
*/
|
|
4905
|
+
async removeFromOrgSkillRepositoryWithOptions(request, headers, runtime) {
|
|
4906
|
+
tea_util_1.default.validateModel(request);
|
|
4907
|
+
let query = {};
|
|
4908
|
+
if (!tea_util_1.default.isUnset(request.actionId)) {
|
|
4909
|
+
query["actionId"] = request.actionId;
|
|
4910
|
+
}
|
|
4911
|
+
if (!tea_util_1.default.isUnset(request.operatorUnionId)) {
|
|
4912
|
+
query["operatorUnionId"] = request.operatorUnionId;
|
|
4913
|
+
}
|
|
4914
|
+
let realHeaders = {};
|
|
4915
|
+
if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
|
|
4916
|
+
realHeaders = headers.commonHeaders;
|
|
4917
|
+
}
|
|
4918
|
+
if (!tea_util_1.default.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
4919
|
+
realHeaders["x-acs-dingtalk-access-token"] = tea_util_1.default.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
4920
|
+
}
|
|
4921
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4922
|
+
headers: realHeaders,
|
|
4923
|
+
query: openapi_util_1.default.query(query),
|
|
4924
|
+
});
|
|
4925
|
+
let params = new $OpenApi.Params({
|
|
4926
|
+
action: "RemoveFromOrgSkillRepository",
|
|
4927
|
+
version: "assistant_1.0",
|
|
4928
|
+
protocol: "HTTP",
|
|
4929
|
+
pathname: `/v1.0/assistant/orgActionRepositories`,
|
|
4930
|
+
method: "DELETE",
|
|
4931
|
+
authType: "AK",
|
|
4932
|
+
style: "ROA",
|
|
4933
|
+
reqBodyType: "none",
|
|
4934
|
+
bodyType: "json",
|
|
4935
|
+
});
|
|
4936
|
+
return $tea.cast(await this.execute(params, req, runtime), new RemoveFromOrgSkillRepositoryResponse({}));
|
|
4937
|
+
}
|
|
4938
|
+
/**
|
|
4939
|
+
* 移除组织技能库技能
|
|
4940
|
+
*
|
|
4941
|
+
* @param request - RemoveFromOrgSkillRepositoryRequest
|
|
4942
|
+
* @returns RemoveFromOrgSkillRepositoryResponse
|
|
4943
|
+
*/
|
|
4944
|
+
async removeFromOrgSkillRepository(request) {
|
|
4945
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
4946
|
+
let headers = new RemoveFromOrgSkillRepositoryHeaders({});
|
|
4947
|
+
return await this.removeFromOrgSkillRepositoryWithOptions(request, headers, runtime);
|
|
4948
|
+
}
|
|
3843
4949
|
/**
|
|
3844
4950
|
* 查询 AI 助理的基本信息
|
|
3845
4951
|
*
|