@tachybase/plugin-auth-dingtalk 1.3.19 → 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
|
@@ -103,6 +103,453 @@ export class AddDomainWordsResponse extends $tea.Model {
|
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
+
export class AddToOrgSkillRepositoryHeaders extends $tea.Model {
|
|
107
|
+
commonHeaders?: { [key: string]: string };
|
|
108
|
+
xAcsDingtalkAccessToken?: string;
|
|
109
|
+
static names(): { [key: string]: string } {
|
|
110
|
+
return {
|
|
111
|
+
commonHeaders: 'commonHeaders',
|
|
112
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
static types(): { [key: string]: any } {
|
|
117
|
+
return {
|
|
118
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
119
|
+
xAcsDingtalkAccessToken: 'string',
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
constructor(map?: { [key: string]: any }) {
|
|
124
|
+
super(map);
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
export class AddToOrgSkillRepositoryRequest extends $tea.Model {
|
|
129
|
+
/**
|
|
130
|
+
* @remarks
|
|
131
|
+
* This parameter is required.
|
|
132
|
+
*/
|
|
133
|
+
actionId?: string;
|
|
134
|
+
/**
|
|
135
|
+
* @remarks
|
|
136
|
+
* This parameter is required.
|
|
137
|
+
*/
|
|
138
|
+
actionVersion?: string;
|
|
139
|
+
/**
|
|
140
|
+
* @remarks
|
|
141
|
+
* This parameter is required.
|
|
142
|
+
*/
|
|
143
|
+
operatorUnionId?: string;
|
|
144
|
+
static names(): { [key: string]: string } {
|
|
145
|
+
return {
|
|
146
|
+
actionId: 'actionId',
|
|
147
|
+
actionVersion: 'actionVersion',
|
|
148
|
+
operatorUnionId: 'operatorUnionId',
|
|
149
|
+
};
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
static types(): { [key: string]: any } {
|
|
153
|
+
return {
|
|
154
|
+
actionId: 'string',
|
|
155
|
+
actionVersion: 'string',
|
|
156
|
+
operatorUnionId: 'string',
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
constructor(map?: { [key: string]: any }) {
|
|
161
|
+
super(map);
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
export class AddToOrgSkillRepositoryResponseBody extends $tea.Model {
|
|
166
|
+
success?: boolean;
|
|
167
|
+
static names(): { [key: string]: string } {
|
|
168
|
+
return {
|
|
169
|
+
success: 'success',
|
|
170
|
+
};
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
static types(): { [key: string]: any } {
|
|
174
|
+
return {
|
|
175
|
+
success: 'boolean',
|
|
176
|
+
};
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
constructor(map?: { [key: string]: any }) {
|
|
180
|
+
super(map);
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
export class AddToOrgSkillRepositoryResponse extends $tea.Model {
|
|
185
|
+
headers?: { [key: string]: string };
|
|
186
|
+
statusCode?: number;
|
|
187
|
+
body?: AddToOrgSkillRepositoryResponseBody;
|
|
188
|
+
static names(): { [key: string]: string } {
|
|
189
|
+
return {
|
|
190
|
+
headers: 'headers',
|
|
191
|
+
statusCode: 'statusCode',
|
|
192
|
+
body: 'body',
|
|
193
|
+
};
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
static types(): { [key: string]: any } {
|
|
197
|
+
return {
|
|
198
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
199
|
+
statusCode: 'number',
|
|
200
|
+
body: AddToOrgSkillRepositoryResponseBody,
|
|
201
|
+
};
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
constructor(map?: { [key: string]: any }) {
|
|
205
|
+
super(map);
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
export class AssistantMeResponseHeaders extends $tea.Model {
|
|
210
|
+
commonHeaders?: { [key: string]: string };
|
|
211
|
+
xAcsDingtalkAccessToken?: string;
|
|
212
|
+
static names(): { [key: string]: string } {
|
|
213
|
+
return {
|
|
214
|
+
commonHeaders: 'commonHeaders',
|
|
215
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
216
|
+
};
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
static types(): { [key: string]: any } {
|
|
220
|
+
return {
|
|
221
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
222
|
+
xAcsDingtalkAccessToken: 'string',
|
|
223
|
+
};
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
constructor(map?: { [key: string]: any }) {
|
|
227
|
+
super(map);
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
export class AssistantMeResponseRequest extends $tea.Model {
|
|
232
|
+
/**
|
|
233
|
+
* @remarks
|
|
234
|
+
* This parameter is required.
|
|
235
|
+
*/
|
|
236
|
+
input?: string;
|
|
237
|
+
instructions?: string;
|
|
238
|
+
metadata?: { [key: string]: any };
|
|
239
|
+
stream?: boolean;
|
|
240
|
+
static names(): { [key: string]: string } {
|
|
241
|
+
return {
|
|
242
|
+
input: 'input',
|
|
243
|
+
instructions: 'instructions',
|
|
244
|
+
metadata: 'metadata',
|
|
245
|
+
stream: 'stream',
|
|
246
|
+
};
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
static types(): { [key: string]: any } {
|
|
250
|
+
return {
|
|
251
|
+
input: 'string',
|
|
252
|
+
instructions: 'string',
|
|
253
|
+
metadata: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
254
|
+
stream: 'boolean',
|
|
255
|
+
};
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
constructor(map?: { [key: string]: any }) {
|
|
259
|
+
super(map);
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
export class AssistantMeResponseResponseBody extends $tea.Model {
|
|
264
|
+
createdAt?: number;
|
|
265
|
+
error?: string;
|
|
266
|
+
id?: string;
|
|
267
|
+
metadata?: { [key: string]: any };
|
|
268
|
+
model?: string;
|
|
269
|
+
object?: string;
|
|
270
|
+
output?: AssistantMeResponseResponseBodyOutput[];
|
|
271
|
+
status?: string;
|
|
272
|
+
static names(): { [key: string]: string } {
|
|
273
|
+
return {
|
|
274
|
+
createdAt: 'created_at',
|
|
275
|
+
error: 'error',
|
|
276
|
+
id: 'id',
|
|
277
|
+
metadata: 'metadata',
|
|
278
|
+
model: 'model',
|
|
279
|
+
object: 'object',
|
|
280
|
+
output: 'output',
|
|
281
|
+
status: 'status',
|
|
282
|
+
};
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
static types(): { [key: string]: any } {
|
|
286
|
+
return {
|
|
287
|
+
createdAt: 'number',
|
|
288
|
+
error: 'string',
|
|
289
|
+
id: 'string',
|
|
290
|
+
metadata: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
291
|
+
model: 'string',
|
|
292
|
+
object: 'string',
|
|
293
|
+
output: { 'type': 'array', 'itemType': AssistantMeResponseResponseBodyOutput },
|
|
294
|
+
status: 'string',
|
|
295
|
+
};
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
constructor(map?: { [key: string]: any }) {
|
|
299
|
+
super(map);
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
export class AssistantMeResponseResponse extends $tea.Model {
|
|
304
|
+
headers?: { [key: string]: string };
|
|
305
|
+
statusCode?: number;
|
|
306
|
+
body?: AssistantMeResponseResponseBody;
|
|
307
|
+
static names(): { [key: string]: string } {
|
|
308
|
+
return {
|
|
309
|
+
headers: 'headers',
|
|
310
|
+
statusCode: 'statusCode',
|
|
311
|
+
body: 'body',
|
|
312
|
+
};
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
static types(): { [key: string]: any } {
|
|
316
|
+
return {
|
|
317
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
318
|
+
statusCode: 'number',
|
|
319
|
+
body: AssistantMeResponseResponseBody,
|
|
320
|
+
};
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
constructor(map?: { [key: string]: any }) {
|
|
324
|
+
super(map);
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
export class AssistantResponseHeaders extends $tea.Model {
|
|
329
|
+
commonHeaders?: { [key: string]: string };
|
|
330
|
+
xAcsDingtalkAccessToken?: string;
|
|
331
|
+
static names(): { [key: string]: string } {
|
|
332
|
+
return {
|
|
333
|
+
commonHeaders: 'commonHeaders',
|
|
334
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
335
|
+
};
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
static types(): { [key: string]: any } {
|
|
339
|
+
return {
|
|
340
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
341
|
+
xAcsDingtalkAccessToken: 'string',
|
|
342
|
+
};
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
constructor(map?: { [key: string]: any }) {
|
|
346
|
+
super(map);
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
export class AssistantResponseRequest extends $tea.Model {
|
|
351
|
+
/**
|
|
352
|
+
* @remarks
|
|
353
|
+
* This parameter is required.
|
|
354
|
+
*/
|
|
355
|
+
input?: string;
|
|
356
|
+
instructions?: string;
|
|
357
|
+
metadata?: { [key: string]: any };
|
|
358
|
+
stream?: boolean;
|
|
359
|
+
static names(): { [key: string]: string } {
|
|
360
|
+
return {
|
|
361
|
+
input: 'input',
|
|
362
|
+
instructions: 'instructions',
|
|
363
|
+
metadata: 'metadata',
|
|
364
|
+
stream: 'stream',
|
|
365
|
+
};
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
static types(): { [key: string]: any } {
|
|
369
|
+
return {
|
|
370
|
+
input: 'string',
|
|
371
|
+
instructions: 'string',
|
|
372
|
+
metadata: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
373
|
+
stream: 'boolean',
|
|
374
|
+
};
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
constructor(map?: { [key: string]: any }) {
|
|
378
|
+
super(map);
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
export class AssistantResponseResponseBody extends $tea.Model {
|
|
383
|
+
createdAt?: number;
|
|
384
|
+
error?: string;
|
|
385
|
+
id?: string;
|
|
386
|
+
metadata?: { [key: string]: any };
|
|
387
|
+
model?: string;
|
|
388
|
+
object?: string;
|
|
389
|
+
output?: AssistantResponseResponseBodyOutput[];
|
|
390
|
+
status?: string;
|
|
391
|
+
static names(): { [key: string]: string } {
|
|
392
|
+
return {
|
|
393
|
+
createdAt: 'created_at',
|
|
394
|
+
error: 'error',
|
|
395
|
+
id: 'id',
|
|
396
|
+
metadata: 'metadata',
|
|
397
|
+
model: 'model',
|
|
398
|
+
object: 'object',
|
|
399
|
+
output: 'output',
|
|
400
|
+
status: 'status',
|
|
401
|
+
};
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
static types(): { [key: string]: any } {
|
|
405
|
+
return {
|
|
406
|
+
createdAt: 'number',
|
|
407
|
+
error: 'string',
|
|
408
|
+
id: 'string',
|
|
409
|
+
metadata: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
410
|
+
model: 'string',
|
|
411
|
+
object: 'string',
|
|
412
|
+
output: { 'type': 'array', 'itemType': AssistantResponseResponseBodyOutput },
|
|
413
|
+
status: 'string',
|
|
414
|
+
};
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
constructor(map?: { [key: string]: any }) {
|
|
418
|
+
super(map);
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
export class AssistantResponseResponse extends $tea.Model {
|
|
423
|
+
headers?: { [key: string]: string };
|
|
424
|
+
statusCode?: number;
|
|
425
|
+
body?: AssistantResponseResponseBody;
|
|
426
|
+
static names(): { [key: string]: string } {
|
|
427
|
+
return {
|
|
428
|
+
headers: 'headers',
|
|
429
|
+
statusCode: 'statusCode',
|
|
430
|
+
body: 'body',
|
|
431
|
+
};
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
static types(): { [key: string]: any } {
|
|
435
|
+
return {
|
|
436
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
437
|
+
statusCode: 'number',
|
|
438
|
+
body: AssistantResponseResponseBody,
|
|
439
|
+
};
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
constructor(map?: { [key: string]: any }) {
|
|
443
|
+
super(map);
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
export class BatchGetAICreditsRecordHeaders extends $tea.Model {
|
|
448
|
+
commonHeaders?: { [key: string]: string };
|
|
449
|
+
xAcsDingtalkAccessToken?: string;
|
|
450
|
+
static names(): { [key: string]: string } {
|
|
451
|
+
return {
|
|
452
|
+
commonHeaders: 'commonHeaders',
|
|
453
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
454
|
+
};
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
static types(): { [key: string]: any } {
|
|
458
|
+
return {
|
|
459
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
460
|
+
xAcsDingtalkAccessToken: 'string',
|
|
461
|
+
};
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
constructor(map?: { [key: string]: any }) {
|
|
465
|
+
super(map);
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
export class BatchGetAICreditsRecordRequest extends $tea.Model {
|
|
470
|
+
assistantId?: string;
|
|
471
|
+
endTime?: string;
|
|
472
|
+
pageNumber?: number;
|
|
473
|
+
pageSize?: number;
|
|
474
|
+
startTime?: string;
|
|
475
|
+
unionId?: string;
|
|
476
|
+
static names(): { [key: string]: string } {
|
|
477
|
+
return {
|
|
478
|
+
assistantId: 'assistantId',
|
|
479
|
+
endTime: 'endTime',
|
|
480
|
+
pageNumber: 'pageNumber',
|
|
481
|
+
pageSize: 'pageSize',
|
|
482
|
+
startTime: 'startTime',
|
|
483
|
+
unionId: 'unionId',
|
|
484
|
+
};
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
static types(): { [key: string]: any } {
|
|
488
|
+
return {
|
|
489
|
+
assistantId: 'string',
|
|
490
|
+
endTime: 'string',
|
|
491
|
+
pageNumber: 'number',
|
|
492
|
+
pageSize: 'number',
|
|
493
|
+
startTime: 'string',
|
|
494
|
+
unionId: 'string',
|
|
495
|
+
};
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
constructor(map?: { [key: string]: any }) {
|
|
499
|
+
super(map);
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
export class BatchGetAICreditsRecordResponseBody extends $tea.Model {
|
|
504
|
+
hasMore?: boolean;
|
|
505
|
+
list?: BatchGetAICreditsRecordResponseBodyList[];
|
|
506
|
+
totalCount?: number;
|
|
507
|
+
static names(): { [key: string]: string } {
|
|
508
|
+
return {
|
|
509
|
+
hasMore: 'hasMore',
|
|
510
|
+
list: 'list',
|
|
511
|
+
totalCount: 'totalCount',
|
|
512
|
+
};
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
static types(): { [key: string]: any } {
|
|
516
|
+
return {
|
|
517
|
+
hasMore: 'boolean',
|
|
518
|
+
list: { 'type': 'array', 'itemType': BatchGetAICreditsRecordResponseBodyList },
|
|
519
|
+
totalCount: 'number',
|
|
520
|
+
};
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
constructor(map?: { [key: string]: any }) {
|
|
524
|
+
super(map);
|
|
525
|
+
}
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
export class BatchGetAICreditsRecordResponse extends $tea.Model {
|
|
529
|
+
headers?: { [key: string]: string };
|
|
530
|
+
statusCode?: number;
|
|
531
|
+
body?: BatchGetAICreditsRecordResponseBody;
|
|
532
|
+
static names(): { [key: string]: string } {
|
|
533
|
+
return {
|
|
534
|
+
headers: 'headers',
|
|
535
|
+
statusCode: 'statusCode',
|
|
536
|
+
body: 'body',
|
|
537
|
+
};
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
static types(): { [key: string]: any } {
|
|
541
|
+
return {
|
|
542
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
543
|
+
statusCode: 'number',
|
|
544
|
+
body: BatchGetAICreditsRecordResponseBody,
|
|
545
|
+
};
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
constructor(map?: { [key: string]: any }) {
|
|
549
|
+
super(map);
|
|
550
|
+
}
|
|
551
|
+
}
|
|
552
|
+
|
|
106
553
|
export class CreateAssistantHeaders extends $tea.Model {
|
|
107
554
|
commonHeaders?: { [key: string]: string };
|
|
108
555
|
xAcsDingtalkAccessToken?: string;
|
|
@@ -1174,6 +1621,101 @@ export class GetAskDetailResponse extends $tea.Model {
|
|
|
1174
1621
|
}
|
|
1175
1622
|
}
|
|
1176
1623
|
|
|
1624
|
+
export class GetAssistantActionInfoHeaders extends $tea.Model {
|
|
1625
|
+
commonHeaders?: { [key: string]: string };
|
|
1626
|
+
xAcsDingtalkAccessToken?: string;
|
|
1627
|
+
static names(): { [key: string]: string } {
|
|
1628
|
+
return {
|
|
1629
|
+
commonHeaders: 'commonHeaders',
|
|
1630
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
1631
|
+
};
|
|
1632
|
+
}
|
|
1633
|
+
|
|
1634
|
+
static types(): { [key: string]: any } {
|
|
1635
|
+
return {
|
|
1636
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1637
|
+
xAcsDingtalkAccessToken: 'string',
|
|
1638
|
+
};
|
|
1639
|
+
}
|
|
1640
|
+
|
|
1641
|
+
constructor(map?: { [key: string]: any }) {
|
|
1642
|
+
super(map);
|
|
1643
|
+
}
|
|
1644
|
+
}
|
|
1645
|
+
|
|
1646
|
+
export class GetAssistantActionInfoRequest extends $tea.Model {
|
|
1647
|
+
/**
|
|
1648
|
+
* @remarks
|
|
1649
|
+
* This parameter is required.
|
|
1650
|
+
*/
|
|
1651
|
+
assistantId?: string;
|
|
1652
|
+
static names(): { [key: string]: string } {
|
|
1653
|
+
return {
|
|
1654
|
+
assistantId: 'assistantId',
|
|
1655
|
+
};
|
|
1656
|
+
}
|
|
1657
|
+
|
|
1658
|
+
static types(): { [key: string]: any } {
|
|
1659
|
+
return {
|
|
1660
|
+
assistantId: 'string',
|
|
1661
|
+
};
|
|
1662
|
+
}
|
|
1663
|
+
|
|
1664
|
+
constructor(map?: { [key: string]: any }) {
|
|
1665
|
+
super(map);
|
|
1666
|
+
}
|
|
1667
|
+
}
|
|
1668
|
+
|
|
1669
|
+
export class GetAssistantActionInfoResponseBody extends $tea.Model {
|
|
1670
|
+
actionList?: GetAssistantActionInfoResponseBodyActionList[];
|
|
1671
|
+
assistantId?: string;
|
|
1672
|
+
corpId?: string;
|
|
1673
|
+
static names(): { [key: string]: string } {
|
|
1674
|
+
return {
|
|
1675
|
+
actionList: 'actionList',
|
|
1676
|
+
assistantId: 'assistantId',
|
|
1677
|
+
corpId: 'corpId',
|
|
1678
|
+
};
|
|
1679
|
+
}
|
|
1680
|
+
|
|
1681
|
+
static types(): { [key: string]: any } {
|
|
1682
|
+
return {
|
|
1683
|
+
actionList: { 'type': 'array', 'itemType': GetAssistantActionInfoResponseBodyActionList },
|
|
1684
|
+
assistantId: 'string',
|
|
1685
|
+
corpId: 'string',
|
|
1686
|
+
};
|
|
1687
|
+
}
|
|
1688
|
+
|
|
1689
|
+
constructor(map?: { [key: string]: any }) {
|
|
1690
|
+
super(map);
|
|
1691
|
+
}
|
|
1692
|
+
}
|
|
1693
|
+
|
|
1694
|
+
export class GetAssistantActionInfoResponse extends $tea.Model {
|
|
1695
|
+
headers?: { [key: string]: string };
|
|
1696
|
+
statusCode?: number;
|
|
1697
|
+
body?: GetAssistantActionInfoResponseBody;
|
|
1698
|
+
static names(): { [key: string]: string } {
|
|
1699
|
+
return {
|
|
1700
|
+
headers: 'headers',
|
|
1701
|
+
statusCode: 'statusCode',
|
|
1702
|
+
body: 'body',
|
|
1703
|
+
};
|
|
1704
|
+
}
|
|
1705
|
+
|
|
1706
|
+
static types(): { [key: string]: any } {
|
|
1707
|
+
return {
|
|
1708
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1709
|
+
statusCode: 'number',
|
|
1710
|
+
body: GetAssistantActionInfoResponseBody,
|
|
1711
|
+
};
|
|
1712
|
+
}
|
|
1713
|
+
|
|
1714
|
+
constructor(map?: { [key: string]: any }) {
|
|
1715
|
+
super(map);
|
|
1716
|
+
}
|
|
1717
|
+
}
|
|
1718
|
+
|
|
1177
1719
|
export class GetDomainWordsHeaders extends $tea.Model {
|
|
1178
1720
|
commonHeaders?: { [key: string]: string };
|
|
1179
1721
|
xAcsDingtalkAccessToken?: string;
|
|
@@ -1585,26 +2127,120 @@ export class ListAssistantRequest extends $tea.Model {
|
|
|
1585
2127
|
}
|
|
1586
2128
|
}
|
|
1587
2129
|
|
|
1588
|
-
export class ListAssistantResponseBody extends $tea.Model {
|
|
1589
|
-
hasMore?: boolean;
|
|
1590
|
-
list?: ListAssistantResponseBodyList[];
|
|
1591
|
-
nextCursor?: number;
|
|
1592
|
-
totalCount?: number;
|
|
2130
|
+
export class ListAssistantResponseBody extends $tea.Model {
|
|
2131
|
+
hasMore?: boolean;
|
|
2132
|
+
list?: ListAssistantResponseBodyList[];
|
|
2133
|
+
nextCursor?: number;
|
|
2134
|
+
totalCount?: number;
|
|
2135
|
+
static names(): { [key: string]: string } {
|
|
2136
|
+
return {
|
|
2137
|
+
hasMore: 'hasMore',
|
|
2138
|
+
list: 'list',
|
|
2139
|
+
nextCursor: 'nextCursor',
|
|
2140
|
+
totalCount: 'totalCount',
|
|
2141
|
+
};
|
|
2142
|
+
}
|
|
2143
|
+
|
|
2144
|
+
static types(): { [key: string]: any } {
|
|
2145
|
+
return {
|
|
2146
|
+
hasMore: 'boolean',
|
|
2147
|
+
list: { 'type': 'array', 'itemType': ListAssistantResponseBodyList },
|
|
2148
|
+
nextCursor: 'number',
|
|
2149
|
+
totalCount: 'number',
|
|
2150
|
+
};
|
|
2151
|
+
}
|
|
2152
|
+
|
|
2153
|
+
constructor(map?: { [key: string]: any }) {
|
|
2154
|
+
super(map);
|
|
2155
|
+
}
|
|
2156
|
+
}
|
|
2157
|
+
|
|
2158
|
+
export class ListAssistantResponse extends $tea.Model {
|
|
2159
|
+
headers?: { [key: string]: string };
|
|
2160
|
+
statusCode?: number;
|
|
2161
|
+
body?: ListAssistantResponseBody;
|
|
2162
|
+
static names(): { [key: string]: string } {
|
|
2163
|
+
return {
|
|
2164
|
+
headers: 'headers',
|
|
2165
|
+
statusCode: 'statusCode',
|
|
2166
|
+
body: 'body',
|
|
2167
|
+
};
|
|
2168
|
+
}
|
|
2169
|
+
|
|
2170
|
+
static types(): { [key: string]: any } {
|
|
2171
|
+
return {
|
|
2172
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2173
|
+
statusCode: 'number',
|
|
2174
|
+
body: ListAssistantResponseBody,
|
|
2175
|
+
};
|
|
2176
|
+
}
|
|
2177
|
+
|
|
2178
|
+
constructor(map?: { [key: string]: any }) {
|
|
2179
|
+
super(map);
|
|
2180
|
+
}
|
|
2181
|
+
}
|
|
2182
|
+
|
|
2183
|
+
export class ListAssistantMessageHeaders extends $tea.Model {
|
|
2184
|
+
commonHeaders?: { [key: string]: string };
|
|
2185
|
+
xAcsDingtalkAccessToken?: string;
|
|
2186
|
+
static names(): { [key: string]: string } {
|
|
2187
|
+
return {
|
|
2188
|
+
commonHeaders: 'commonHeaders',
|
|
2189
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
2190
|
+
};
|
|
2191
|
+
}
|
|
2192
|
+
|
|
2193
|
+
static types(): { [key: string]: any } {
|
|
2194
|
+
return {
|
|
2195
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2196
|
+
xAcsDingtalkAccessToken: 'string',
|
|
2197
|
+
};
|
|
2198
|
+
}
|
|
2199
|
+
|
|
2200
|
+
constructor(map?: { [key: string]: any }) {
|
|
2201
|
+
super(map);
|
|
2202
|
+
}
|
|
2203
|
+
}
|
|
2204
|
+
|
|
2205
|
+
export class ListAssistantMessageRequest extends $tea.Model {
|
|
2206
|
+
limit?: number;
|
|
2207
|
+
order?: string;
|
|
2208
|
+
runId?: string;
|
|
2209
|
+
static names(): { [key: string]: string } {
|
|
2210
|
+
return {
|
|
2211
|
+
limit: 'limit',
|
|
2212
|
+
order: 'order',
|
|
2213
|
+
runId: 'runId',
|
|
2214
|
+
};
|
|
2215
|
+
}
|
|
2216
|
+
|
|
2217
|
+
static types(): { [key: string]: any } {
|
|
2218
|
+
return {
|
|
2219
|
+
limit: 'number',
|
|
2220
|
+
order: 'string',
|
|
2221
|
+
runId: 'string',
|
|
2222
|
+
};
|
|
2223
|
+
}
|
|
2224
|
+
|
|
2225
|
+
constructor(map?: { [key: string]: any }) {
|
|
2226
|
+
super(map);
|
|
2227
|
+
}
|
|
2228
|
+
}
|
|
2229
|
+
|
|
2230
|
+
export class ListAssistantMessageResponseBody extends $tea.Model {
|
|
2231
|
+
data?: ListAssistantMessageResponseBodyData[];
|
|
2232
|
+
object?: string;
|
|
1593
2233
|
static names(): { [key: string]: string } {
|
|
1594
2234
|
return {
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
nextCursor: 'nextCursor',
|
|
1598
|
-
totalCount: 'totalCount',
|
|
2235
|
+
data: 'data',
|
|
2236
|
+
object: 'object',
|
|
1599
2237
|
};
|
|
1600
2238
|
}
|
|
1601
2239
|
|
|
1602
2240
|
static types(): { [key: string]: any } {
|
|
1603
2241
|
return {
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
nextCursor: 'number',
|
|
1607
|
-
totalCount: 'number',
|
|
2242
|
+
data: { 'type': 'array', 'itemType': ListAssistantMessageResponseBodyData },
|
|
2243
|
+
object: 'string',
|
|
1608
2244
|
};
|
|
1609
2245
|
}
|
|
1610
2246
|
|
|
@@ -1613,10 +2249,10 @@ export class ListAssistantResponseBody extends $tea.Model {
|
|
|
1613
2249
|
}
|
|
1614
2250
|
}
|
|
1615
2251
|
|
|
1616
|
-
export class
|
|
2252
|
+
export class ListAssistantMessageResponse extends $tea.Model {
|
|
1617
2253
|
headers?: { [key: string]: string };
|
|
1618
2254
|
statusCode?: number;
|
|
1619
|
-
body?:
|
|
2255
|
+
body?: ListAssistantMessageResponseBody;
|
|
1620
2256
|
static names(): { [key: string]: string } {
|
|
1621
2257
|
return {
|
|
1622
2258
|
headers: 'headers',
|
|
@@ -1629,7 +2265,7 @@ export class ListAssistantResponse extends $tea.Model {
|
|
|
1629
2265
|
return {
|
|
1630
2266
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1631
2267
|
statusCode: 'number',
|
|
1632
|
-
body:
|
|
2268
|
+
body: ListAssistantMessageResponseBody,
|
|
1633
2269
|
};
|
|
1634
2270
|
}
|
|
1635
2271
|
|
|
@@ -1638,7 +2274,7 @@ export class ListAssistantResponse extends $tea.Model {
|
|
|
1638
2274
|
}
|
|
1639
2275
|
}
|
|
1640
2276
|
|
|
1641
|
-
export class
|
|
2277
|
+
export class ListAssistantRunHeaders extends $tea.Model {
|
|
1642
2278
|
commonHeaders?: { [key: string]: string };
|
|
1643
2279
|
xAcsDingtalkAccessToken?: string;
|
|
1644
2280
|
static names(): { [key: string]: string } {
|
|
@@ -1660,15 +2296,13 @@ export class ListAssistantMessageHeaders extends $tea.Model {
|
|
|
1660
2296
|
}
|
|
1661
2297
|
}
|
|
1662
2298
|
|
|
1663
|
-
export class
|
|
2299
|
+
export class ListAssistantRunRequest extends $tea.Model {
|
|
1664
2300
|
limit?: number;
|
|
1665
2301
|
order?: string;
|
|
1666
|
-
runId?: string;
|
|
1667
2302
|
static names(): { [key: string]: string } {
|
|
1668
2303
|
return {
|
|
1669
2304
|
limit: 'limit',
|
|
1670
2305
|
order: 'order',
|
|
1671
|
-
runId: 'runId',
|
|
1672
2306
|
};
|
|
1673
2307
|
}
|
|
1674
2308
|
|
|
@@ -1676,7 +2310,6 @@ export class ListAssistantMessageRequest extends $tea.Model {
|
|
|
1676
2310
|
return {
|
|
1677
2311
|
limit: 'number',
|
|
1678
2312
|
order: 'string',
|
|
1679
|
-
runId: 'string',
|
|
1680
2313
|
};
|
|
1681
2314
|
}
|
|
1682
2315
|
|
|
@@ -1685,8 +2318,8 @@ export class ListAssistantMessageRequest extends $tea.Model {
|
|
|
1685
2318
|
}
|
|
1686
2319
|
}
|
|
1687
2320
|
|
|
1688
|
-
export class
|
|
1689
|
-
data?:
|
|
2321
|
+
export class ListAssistantRunResponseBody extends $tea.Model {
|
|
2322
|
+
data?: ListAssistantRunResponseBodyData[];
|
|
1690
2323
|
object?: string;
|
|
1691
2324
|
static names(): { [key: string]: string } {
|
|
1692
2325
|
return {
|
|
@@ -1697,7 +2330,7 @@ export class ListAssistantMessageResponseBody extends $tea.Model {
|
|
|
1697
2330
|
|
|
1698
2331
|
static types(): { [key: string]: any } {
|
|
1699
2332
|
return {
|
|
1700
|
-
data: { 'type': 'array', 'itemType':
|
|
2333
|
+
data: { 'type': 'array', 'itemType': ListAssistantRunResponseBodyData },
|
|
1701
2334
|
object: 'string',
|
|
1702
2335
|
};
|
|
1703
2336
|
}
|
|
@@ -1707,10 +2340,10 @@ export class ListAssistantMessageResponseBody extends $tea.Model {
|
|
|
1707
2340
|
}
|
|
1708
2341
|
}
|
|
1709
2342
|
|
|
1710
|
-
export class
|
|
2343
|
+
export class ListAssistantRunResponse extends $tea.Model {
|
|
1711
2344
|
headers?: { [key: string]: string };
|
|
1712
2345
|
statusCode?: number;
|
|
1713
|
-
body?:
|
|
2346
|
+
body?: ListAssistantRunResponseBody;
|
|
1714
2347
|
static names(): { [key: string]: string } {
|
|
1715
2348
|
return {
|
|
1716
2349
|
headers: 'headers',
|
|
@@ -1723,7 +2356,7 @@ export class ListAssistantMessageResponse extends $tea.Model {
|
|
|
1723
2356
|
return {
|
|
1724
2357
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1725
2358
|
statusCode: 'number',
|
|
1726
|
-
body:
|
|
2359
|
+
body: ListAssistantRunResponseBody,
|
|
1727
2360
|
};
|
|
1728
2361
|
}
|
|
1729
2362
|
|
|
@@ -1732,7 +2365,7 @@ export class ListAssistantMessageResponse extends $tea.Model {
|
|
|
1732
2365
|
}
|
|
1733
2366
|
}
|
|
1734
2367
|
|
|
1735
|
-
export class
|
|
2368
|
+
export class ListInstanceHeaders extends $tea.Model {
|
|
1736
2369
|
commonHeaders?: { [key: string]: string };
|
|
1737
2370
|
xAcsDingtalkAccessToken?: string;
|
|
1738
2371
|
static names(): { [key: string]: string } {
|
|
@@ -1754,20 +2387,21 @@ export class ListAssistantRunHeaders extends $tea.Model {
|
|
|
1754
2387
|
}
|
|
1755
2388
|
}
|
|
1756
2389
|
|
|
1757
|
-
export class
|
|
1758
|
-
|
|
1759
|
-
|
|
2390
|
+
export class ListInstanceRequest extends $tea.Model {
|
|
2391
|
+
/**
|
|
2392
|
+
* @remarks
|
|
2393
|
+
* This parameter is required.
|
|
2394
|
+
*/
|
|
2395
|
+
prototypeAssistantId?: string;
|
|
1760
2396
|
static names(): { [key: string]: string } {
|
|
1761
2397
|
return {
|
|
1762
|
-
|
|
1763
|
-
order: 'order',
|
|
2398
|
+
prototypeAssistantId: 'prototypeAssistantId',
|
|
1764
2399
|
};
|
|
1765
2400
|
}
|
|
1766
2401
|
|
|
1767
2402
|
static types(): { [key: string]: any } {
|
|
1768
2403
|
return {
|
|
1769
|
-
|
|
1770
|
-
order: 'string',
|
|
2404
|
+
prototypeAssistantId: 'string',
|
|
1771
2405
|
};
|
|
1772
2406
|
}
|
|
1773
2407
|
|
|
@@ -1776,20 +2410,17 @@ export class ListAssistantRunRequest extends $tea.Model {
|
|
|
1776
2410
|
}
|
|
1777
2411
|
}
|
|
1778
2412
|
|
|
1779
|
-
export class
|
|
1780
|
-
|
|
1781
|
-
object?: string;
|
|
2413
|
+
export class ListInstanceResponseBody extends $tea.Model {
|
|
2414
|
+
result?: ListInstanceResponseBodyResult[];
|
|
1782
2415
|
static names(): { [key: string]: string } {
|
|
1783
2416
|
return {
|
|
1784
|
-
|
|
1785
|
-
object: 'object',
|
|
2417
|
+
result: 'result',
|
|
1786
2418
|
};
|
|
1787
2419
|
}
|
|
1788
2420
|
|
|
1789
2421
|
static types(): { [key: string]: any } {
|
|
1790
2422
|
return {
|
|
1791
|
-
|
|
1792
|
-
object: 'string',
|
|
2423
|
+
result: { 'type': 'array', 'itemType': ListInstanceResponseBodyResult },
|
|
1793
2424
|
};
|
|
1794
2425
|
}
|
|
1795
2426
|
|
|
@@ -1798,10 +2429,10 @@ export class ListAssistantRunResponseBody extends $tea.Model {
|
|
|
1798
2429
|
}
|
|
1799
2430
|
}
|
|
1800
2431
|
|
|
1801
|
-
export class
|
|
2432
|
+
export class ListInstanceResponse extends $tea.Model {
|
|
1802
2433
|
headers?: { [key: string]: string };
|
|
1803
2434
|
statusCode?: number;
|
|
1804
|
-
body?:
|
|
2435
|
+
body?: ListInstanceResponseBody;
|
|
1805
2436
|
static names(): { [key: string]: string } {
|
|
1806
2437
|
return {
|
|
1807
2438
|
headers: 'headers',
|
|
@@ -1814,7 +2445,7 @@ export class ListAssistantRunResponse extends $tea.Model {
|
|
|
1814
2445
|
return {
|
|
1815
2446
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1816
2447
|
statusCode: 'number',
|
|
1817
|
-
body:
|
|
2448
|
+
body: ListInstanceResponseBody,
|
|
1818
2449
|
};
|
|
1819
2450
|
}
|
|
1820
2451
|
|
|
@@ -2215,6 +2846,102 @@ export class RemoveAssistantResponse extends $tea.Model {
|
|
|
2215
2846
|
}
|
|
2216
2847
|
}
|
|
2217
2848
|
|
|
2849
|
+
export class RemoveFromOrgSkillRepositoryHeaders extends $tea.Model {
|
|
2850
|
+
commonHeaders?: { [key: string]: string };
|
|
2851
|
+
xAcsDingtalkAccessToken?: string;
|
|
2852
|
+
static names(): { [key: string]: string } {
|
|
2853
|
+
return {
|
|
2854
|
+
commonHeaders: 'commonHeaders',
|
|
2855
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
2856
|
+
};
|
|
2857
|
+
}
|
|
2858
|
+
|
|
2859
|
+
static types(): { [key: string]: any } {
|
|
2860
|
+
return {
|
|
2861
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2862
|
+
xAcsDingtalkAccessToken: 'string',
|
|
2863
|
+
};
|
|
2864
|
+
}
|
|
2865
|
+
|
|
2866
|
+
constructor(map?: { [key: string]: any }) {
|
|
2867
|
+
super(map);
|
|
2868
|
+
}
|
|
2869
|
+
}
|
|
2870
|
+
|
|
2871
|
+
export class RemoveFromOrgSkillRepositoryRequest extends $tea.Model {
|
|
2872
|
+
/**
|
|
2873
|
+
* @remarks
|
|
2874
|
+
* This parameter is required.
|
|
2875
|
+
*/
|
|
2876
|
+
actionId?: string;
|
|
2877
|
+
/**
|
|
2878
|
+
* @remarks
|
|
2879
|
+
* This parameter is required.
|
|
2880
|
+
*/
|
|
2881
|
+
operatorUnionId?: string;
|
|
2882
|
+
static names(): { [key: string]: string } {
|
|
2883
|
+
return {
|
|
2884
|
+
actionId: 'actionId',
|
|
2885
|
+
operatorUnionId: 'operatorUnionId',
|
|
2886
|
+
};
|
|
2887
|
+
}
|
|
2888
|
+
|
|
2889
|
+
static types(): { [key: string]: any } {
|
|
2890
|
+
return {
|
|
2891
|
+
actionId: 'string',
|
|
2892
|
+
operatorUnionId: 'string',
|
|
2893
|
+
};
|
|
2894
|
+
}
|
|
2895
|
+
|
|
2896
|
+
constructor(map?: { [key: string]: any }) {
|
|
2897
|
+
super(map);
|
|
2898
|
+
}
|
|
2899
|
+
}
|
|
2900
|
+
|
|
2901
|
+
export class RemoveFromOrgSkillRepositoryResponseBody extends $tea.Model {
|
|
2902
|
+
success?: boolean;
|
|
2903
|
+
static names(): { [key: string]: string } {
|
|
2904
|
+
return {
|
|
2905
|
+
success: 'success',
|
|
2906
|
+
};
|
|
2907
|
+
}
|
|
2908
|
+
|
|
2909
|
+
static types(): { [key: string]: any } {
|
|
2910
|
+
return {
|
|
2911
|
+
success: 'boolean',
|
|
2912
|
+
};
|
|
2913
|
+
}
|
|
2914
|
+
|
|
2915
|
+
constructor(map?: { [key: string]: any }) {
|
|
2916
|
+
super(map);
|
|
2917
|
+
}
|
|
2918
|
+
}
|
|
2919
|
+
|
|
2920
|
+
export class RemoveFromOrgSkillRepositoryResponse extends $tea.Model {
|
|
2921
|
+
headers?: { [key: string]: string };
|
|
2922
|
+
statusCode?: number;
|
|
2923
|
+
body?: RemoveFromOrgSkillRepositoryResponseBody;
|
|
2924
|
+
static names(): { [key: string]: string } {
|
|
2925
|
+
return {
|
|
2926
|
+
headers: 'headers',
|
|
2927
|
+
statusCode: 'statusCode',
|
|
2928
|
+
body: 'body',
|
|
2929
|
+
};
|
|
2930
|
+
}
|
|
2931
|
+
|
|
2932
|
+
static types(): { [key: string]: any } {
|
|
2933
|
+
return {
|
|
2934
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2935
|
+
statusCode: 'number',
|
|
2936
|
+
body: RemoveFromOrgSkillRepositoryResponseBody,
|
|
2937
|
+
};
|
|
2938
|
+
}
|
|
2939
|
+
|
|
2940
|
+
constructor(map?: { [key: string]: any }) {
|
|
2941
|
+
super(map);
|
|
2942
|
+
}
|
|
2943
|
+
}
|
|
2944
|
+
|
|
2218
2945
|
export class RetrieveAssistantBasicInfoHeaders extends $tea.Model {
|
|
2219
2946
|
commonHeaders?: { [key: string]: string };
|
|
2220
2947
|
xAcsDingtalkAccessToken?: string;
|
|
@@ -2943,9 +3670,140 @@ export class UpdateAssistantScopeResponse extends $tea.Model {
|
|
|
2943
3670
|
|
|
2944
3671
|
static types(): { [key: string]: any } {
|
|
2945
3672
|
return {
|
|
2946
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2947
|
-
statusCode: 'number',
|
|
2948
|
-
body: 'any',
|
|
3673
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3674
|
+
statusCode: 'number',
|
|
3675
|
+
body: 'any',
|
|
3676
|
+
};
|
|
3677
|
+
}
|
|
3678
|
+
|
|
3679
|
+
constructor(map?: { [key: string]: any }) {
|
|
3680
|
+
super(map);
|
|
3681
|
+
}
|
|
3682
|
+
}
|
|
3683
|
+
|
|
3684
|
+
export class AddDomainWordsRequestDomainWords extends $tea.Model {
|
|
3685
|
+
description?: string;
|
|
3686
|
+
domainWord?: string;
|
|
3687
|
+
formalWords?: string[];
|
|
3688
|
+
static names(): { [key: string]: string } {
|
|
3689
|
+
return {
|
|
3690
|
+
description: 'description',
|
|
3691
|
+
domainWord: 'domainWord',
|
|
3692
|
+
formalWords: 'formalWords',
|
|
3693
|
+
};
|
|
3694
|
+
}
|
|
3695
|
+
|
|
3696
|
+
static types(): { [key: string]: any } {
|
|
3697
|
+
return {
|
|
3698
|
+
description: 'string',
|
|
3699
|
+
domainWord: 'string',
|
|
3700
|
+
formalWords: { 'type': 'array', 'itemType': 'string' },
|
|
3701
|
+
};
|
|
3702
|
+
}
|
|
3703
|
+
|
|
3704
|
+
constructor(map?: { [key: string]: any }) {
|
|
3705
|
+
super(map);
|
|
3706
|
+
}
|
|
3707
|
+
}
|
|
3708
|
+
|
|
3709
|
+
export class AssistantMeResponseResponseBodyOutputContent extends $tea.Model {
|
|
3710
|
+
annotations?: any[];
|
|
3711
|
+
text?: string;
|
|
3712
|
+
type?: string;
|
|
3713
|
+
static names(): { [key: string]: string } {
|
|
3714
|
+
return {
|
|
3715
|
+
annotations: 'annotations',
|
|
3716
|
+
text: 'text',
|
|
3717
|
+
type: 'type',
|
|
3718
|
+
};
|
|
3719
|
+
}
|
|
3720
|
+
|
|
3721
|
+
static types(): { [key: string]: any } {
|
|
3722
|
+
return {
|
|
3723
|
+
annotations: { 'type': 'array', 'itemType': 'any' },
|
|
3724
|
+
text: 'string',
|
|
3725
|
+
type: 'string',
|
|
3726
|
+
};
|
|
3727
|
+
}
|
|
3728
|
+
|
|
3729
|
+
constructor(map?: { [key: string]: any }) {
|
|
3730
|
+
super(map);
|
|
3731
|
+
}
|
|
3732
|
+
}
|
|
3733
|
+
|
|
3734
|
+
export class AssistantMeResponseResponseBodyOutput extends $tea.Model {
|
|
3735
|
+
content?: AssistantMeResponseResponseBodyOutputContent[];
|
|
3736
|
+
id?: string;
|
|
3737
|
+
role?: string;
|
|
3738
|
+
type?: string;
|
|
3739
|
+
static names(): { [key: string]: string } {
|
|
3740
|
+
return {
|
|
3741
|
+
content: 'content',
|
|
3742
|
+
id: 'id',
|
|
3743
|
+
role: 'role',
|
|
3744
|
+
type: 'type',
|
|
3745
|
+
};
|
|
3746
|
+
}
|
|
3747
|
+
|
|
3748
|
+
static types(): { [key: string]: any } {
|
|
3749
|
+
return {
|
|
3750
|
+
content: { 'type': 'array', 'itemType': AssistantMeResponseResponseBodyOutputContent },
|
|
3751
|
+
id: 'string',
|
|
3752
|
+
role: 'string',
|
|
3753
|
+
type: 'string',
|
|
3754
|
+
};
|
|
3755
|
+
}
|
|
3756
|
+
|
|
3757
|
+
constructor(map?: { [key: string]: any }) {
|
|
3758
|
+
super(map);
|
|
3759
|
+
}
|
|
3760
|
+
}
|
|
3761
|
+
|
|
3762
|
+
export class AssistantResponseResponseBodyOutputContent extends $tea.Model {
|
|
3763
|
+
annotations?: any[];
|
|
3764
|
+
text?: string;
|
|
3765
|
+
type?: string;
|
|
3766
|
+
static names(): { [key: string]: string } {
|
|
3767
|
+
return {
|
|
3768
|
+
annotations: 'annotations',
|
|
3769
|
+
text: 'text',
|
|
3770
|
+
type: 'type',
|
|
3771
|
+
};
|
|
3772
|
+
}
|
|
3773
|
+
|
|
3774
|
+
static types(): { [key: string]: any } {
|
|
3775
|
+
return {
|
|
3776
|
+
annotations: { 'type': 'array', 'itemType': 'any' },
|
|
3777
|
+
text: 'string',
|
|
3778
|
+
type: 'string',
|
|
3779
|
+
};
|
|
3780
|
+
}
|
|
3781
|
+
|
|
3782
|
+
constructor(map?: { [key: string]: any }) {
|
|
3783
|
+
super(map);
|
|
3784
|
+
}
|
|
3785
|
+
}
|
|
3786
|
+
|
|
3787
|
+
export class AssistantResponseResponseBodyOutput extends $tea.Model {
|
|
3788
|
+
content?: AssistantResponseResponseBodyOutputContent[];
|
|
3789
|
+
id?: string;
|
|
3790
|
+
role?: string;
|
|
3791
|
+
type?: string;
|
|
3792
|
+
static names(): { [key: string]: string } {
|
|
3793
|
+
return {
|
|
3794
|
+
content: 'content',
|
|
3795
|
+
id: 'id',
|
|
3796
|
+
role: 'role',
|
|
3797
|
+
type: 'type',
|
|
3798
|
+
};
|
|
3799
|
+
}
|
|
3800
|
+
|
|
3801
|
+
static types(): { [key: string]: any } {
|
|
3802
|
+
return {
|
|
3803
|
+
content: { 'type': 'array', 'itemType': AssistantResponseResponseBodyOutputContent },
|
|
3804
|
+
id: 'string',
|
|
3805
|
+
role: 'string',
|
|
3806
|
+
type: 'string',
|
|
2949
3807
|
};
|
|
2950
3808
|
}
|
|
2951
3809
|
|
|
@@ -2954,23 +3812,44 @@ export class UpdateAssistantScopeResponse extends $tea.Model {
|
|
|
2954
3812
|
}
|
|
2955
3813
|
}
|
|
2956
3814
|
|
|
2957
|
-
export class
|
|
2958
|
-
|
|
2959
|
-
|
|
2960
|
-
|
|
3815
|
+
export class BatchGetAICreditsRecordResponseBodyList extends $tea.Model {
|
|
3816
|
+
actionNames?: string;
|
|
3817
|
+
assistantId?: string;
|
|
3818
|
+
assistantName?: string;
|
|
3819
|
+
deptId?: number;
|
|
3820
|
+
deptName?: string;
|
|
3821
|
+
requestId?: string;
|
|
3822
|
+
time?: string;
|
|
3823
|
+
unionId?: string;
|
|
3824
|
+
usedNum?: number;
|
|
3825
|
+
userName?: string;
|
|
2961
3826
|
static names(): { [key: string]: string } {
|
|
2962
3827
|
return {
|
|
2963
|
-
|
|
2964
|
-
|
|
2965
|
-
|
|
3828
|
+
actionNames: 'actionNames',
|
|
3829
|
+
assistantId: 'assistantId',
|
|
3830
|
+
assistantName: 'assistantName',
|
|
3831
|
+
deptId: 'deptId',
|
|
3832
|
+
deptName: 'deptName',
|
|
3833
|
+
requestId: 'requestId',
|
|
3834
|
+
time: 'time',
|
|
3835
|
+
unionId: 'unionId',
|
|
3836
|
+
usedNum: 'usedNum',
|
|
3837
|
+
userName: 'userName',
|
|
2966
3838
|
};
|
|
2967
3839
|
}
|
|
2968
3840
|
|
|
2969
3841
|
static types(): { [key: string]: any } {
|
|
2970
3842
|
return {
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
|
|
3843
|
+
actionNames: 'string',
|
|
3844
|
+
assistantId: 'string',
|
|
3845
|
+
assistantName: 'string',
|
|
3846
|
+
deptId: 'number',
|
|
3847
|
+
deptName: 'string',
|
|
3848
|
+
requestId: 'string',
|
|
3849
|
+
time: 'string',
|
|
3850
|
+
unionId: 'string',
|
|
3851
|
+
usedNum: 'number',
|
|
3852
|
+
userName: 'string',
|
|
2974
3853
|
};
|
|
2975
3854
|
}
|
|
2976
3855
|
|
|
@@ -3094,6 +3973,37 @@ export class GetAskDetailResponseBodyResult extends $tea.Model {
|
|
|
3094
3973
|
}
|
|
3095
3974
|
}
|
|
3096
3975
|
|
|
3976
|
+
export class GetAssistantActionInfoResponseBodyActionList extends $tea.Model {
|
|
3977
|
+
actionId?: string;
|
|
3978
|
+
actionName?: string;
|
|
3979
|
+
actionVersion?: string;
|
|
3980
|
+
description?: string;
|
|
3981
|
+
icon?: string;
|
|
3982
|
+
static names(): { [key: string]: string } {
|
|
3983
|
+
return {
|
|
3984
|
+
actionId: 'actionId',
|
|
3985
|
+
actionName: 'actionName',
|
|
3986
|
+
actionVersion: 'actionVersion',
|
|
3987
|
+
description: 'description',
|
|
3988
|
+
icon: 'icon',
|
|
3989
|
+
};
|
|
3990
|
+
}
|
|
3991
|
+
|
|
3992
|
+
static types(): { [key: string]: any } {
|
|
3993
|
+
return {
|
|
3994
|
+
actionId: 'string',
|
|
3995
|
+
actionName: 'string',
|
|
3996
|
+
actionVersion: 'string',
|
|
3997
|
+
description: 'string',
|
|
3998
|
+
icon: 'string',
|
|
3999
|
+
};
|
|
4000
|
+
}
|
|
4001
|
+
|
|
4002
|
+
constructor(map?: { [key: string]: any }) {
|
|
4003
|
+
super(map);
|
|
4004
|
+
}
|
|
4005
|
+
}
|
|
4006
|
+
|
|
3097
4007
|
export class GetKnowledgeListResponseBodyResult extends $tea.Model {
|
|
3098
4008
|
docFormat?: string;
|
|
3099
4009
|
docName?: string;
|
|
@@ -3257,6 +4167,37 @@ export class ListAssistantRunResponseBodyData extends $tea.Model {
|
|
|
3257
4167
|
}
|
|
3258
4168
|
}
|
|
3259
4169
|
|
|
4170
|
+
export class ListInstanceResponseBodyResult extends $tea.Model {
|
|
4171
|
+
description?: string;
|
|
4172
|
+
icon?: string;
|
|
4173
|
+
name?: string;
|
|
4174
|
+
prototypeAssistantId?: string;
|
|
4175
|
+
tenantAssistantId?: string;
|
|
4176
|
+
static names(): { [key: string]: string } {
|
|
4177
|
+
return {
|
|
4178
|
+
description: 'description',
|
|
4179
|
+
icon: 'icon',
|
|
4180
|
+
name: 'name',
|
|
4181
|
+
prototypeAssistantId: 'prototypeAssistantId',
|
|
4182
|
+
tenantAssistantId: 'tenantAssistantId',
|
|
4183
|
+
};
|
|
4184
|
+
}
|
|
4185
|
+
|
|
4186
|
+
static types(): { [key: string]: any } {
|
|
4187
|
+
return {
|
|
4188
|
+
description: 'string',
|
|
4189
|
+
icon: 'string',
|
|
4190
|
+
name: 'string',
|
|
4191
|
+
prototypeAssistantId: 'string',
|
|
4192
|
+
tenantAssistantId: 'string',
|
|
4193
|
+
};
|
|
4194
|
+
}
|
|
4195
|
+
|
|
4196
|
+
constructor(map?: { [key: string]: any }) {
|
|
4197
|
+
super(map);
|
|
4198
|
+
}
|
|
4199
|
+
}
|
|
4200
|
+
|
|
3260
4201
|
export class ListVisibleAssistantResponseBodyList extends $tea.Model {
|
|
3261
4202
|
assistantId?: string;
|
|
3262
4203
|
createdAt?: number;
|
|
@@ -3413,74 +4354,342 @@ export class RetrieveAssistantScopeResponseBodyResult extends $tea.Model {
|
|
|
3413
4354
|
};
|
|
3414
4355
|
}
|
|
3415
4356
|
|
|
3416
|
-
constructor(map?: { [key: string]: any }) {
|
|
3417
|
-
super(map);
|
|
4357
|
+
constructor(map?: { [key: string]: any }) {
|
|
4358
|
+
super(map);
|
|
4359
|
+
}
|
|
4360
|
+
}
|
|
4361
|
+
|
|
4362
|
+
export class UpdateAssistantScopeRequestScopes extends $tea.Model {
|
|
4363
|
+
deptVisibleScopes?: string[];
|
|
4364
|
+
dynamicGroupScopes?: string[];
|
|
4365
|
+
isAdmin?: boolean;
|
|
4366
|
+
roleVisibleScopes?: string[];
|
|
4367
|
+
userVisibleScopes?: string[];
|
|
4368
|
+
static names(): { [key: string]: string } {
|
|
4369
|
+
return {
|
|
4370
|
+
deptVisibleScopes: 'deptVisibleScopes',
|
|
4371
|
+
dynamicGroupScopes: 'dynamicGroupScopes',
|
|
4372
|
+
isAdmin: 'isAdmin',
|
|
4373
|
+
roleVisibleScopes: 'roleVisibleScopes',
|
|
4374
|
+
userVisibleScopes: 'userVisibleScopes',
|
|
4375
|
+
};
|
|
4376
|
+
}
|
|
4377
|
+
|
|
4378
|
+
static types(): { [key: string]: any } {
|
|
4379
|
+
return {
|
|
4380
|
+
deptVisibleScopes: { 'type': 'array', 'itemType': 'string' },
|
|
4381
|
+
dynamicGroupScopes: { 'type': 'array', 'itemType': 'string' },
|
|
4382
|
+
isAdmin: 'boolean',
|
|
4383
|
+
roleVisibleScopes: { 'type': 'array', 'itemType': 'string' },
|
|
4384
|
+
userVisibleScopes: { 'type': 'array', 'itemType': 'string' },
|
|
4385
|
+
};
|
|
4386
|
+
}
|
|
4387
|
+
|
|
4388
|
+
constructor(map?: { [key: string]: any }) {
|
|
4389
|
+
super(map);
|
|
4390
|
+
}
|
|
4391
|
+
}
|
|
4392
|
+
|
|
4393
|
+
|
|
4394
|
+
export default class Client extends OpenApi {
|
|
4395
|
+
|
|
4396
|
+
constructor(config: $OpenApi.Config) {
|
|
4397
|
+
super(config);
|
|
4398
|
+
let gatewayClient = new GatewayClient();
|
|
4399
|
+
this._spi = gatewayClient;
|
|
4400
|
+
this._endpointRule = "";
|
|
4401
|
+
if (Util.empty(this._endpoint)) {
|
|
4402
|
+
this._endpoint = "api.dingtalk.com";
|
|
4403
|
+
}
|
|
4404
|
+
|
|
4405
|
+
}
|
|
4406
|
+
|
|
4407
|
+
|
|
4408
|
+
/**
|
|
4409
|
+
* 助理添加专业词汇
|
|
4410
|
+
*
|
|
4411
|
+
* @param request - AddDomainWordsRequest
|
|
4412
|
+
* @param headers - AddDomainWordsHeaders
|
|
4413
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4414
|
+
* @returns AddDomainWordsResponse
|
|
4415
|
+
*/
|
|
4416
|
+
async addDomainWordsWithOptions(request: AddDomainWordsRequest, headers: AddDomainWordsHeaders, runtime: $Util.RuntimeOptions): Promise<AddDomainWordsResponse> {
|
|
4417
|
+
Util.validateModel(request);
|
|
4418
|
+
let body : {[key: string ]: any} = { };
|
|
4419
|
+
if (!Util.isUnset(request.assistantId)) {
|
|
4420
|
+
body["assistantId"] = request.assistantId;
|
|
4421
|
+
}
|
|
4422
|
+
|
|
4423
|
+
if (!Util.isUnset(request.domainWords)) {
|
|
4424
|
+
body["domainWords"] = request.domainWords;
|
|
4425
|
+
}
|
|
4426
|
+
|
|
4427
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
4428
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
4429
|
+
realHeaders = headers.commonHeaders;
|
|
4430
|
+
}
|
|
4431
|
+
|
|
4432
|
+
if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
4433
|
+
realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
4434
|
+
}
|
|
4435
|
+
|
|
4436
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4437
|
+
headers: realHeaders,
|
|
4438
|
+
body: OpenApiUtil.parseToMap(body),
|
|
4439
|
+
});
|
|
4440
|
+
let params = new $OpenApi.Params({
|
|
4441
|
+
action: "AddDomainWords",
|
|
4442
|
+
version: "assistant_1.0",
|
|
4443
|
+
protocol: "HTTP",
|
|
4444
|
+
pathname: `/v1.0/assistant/domainWords`,
|
|
4445
|
+
method: "POST",
|
|
4446
|
+
authType: "AK",
|
|
4447
|
+
style: "ROA",
|
|
4448
|
+
reqBodyType: "none",
|
|
4449
|
+
bodyType: "json",
|
|
4450
|
+
});
|
|
4451
|
+
return $tea.cast<AddDomainWordsResponse>(await this.execute(params, req, runtime), new AddDomainWordsResponse({}));
|
|
4452
|
+
}
|
|
4453
|
+
|
|
4454
|
+
/**
|
|
4455
|
+
* 助理添加专业词汇
|
|
4456
|
+
*
|
|
4457
|
+
* @param request - AddDomainWordsRequest
|
|
4458
|
+
* @returns AddDomainWordsResponse
|
|
4459
|
+
*/
|
|
4460
|
+
async addDomainWords(request: AddDomainWordsRequest): Promise<AddDomainWordsResponse> {
|
|
4461
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
4462
|
+
let headers = new AddDomainWordsHeaders({ });
|
|
4463
|
+
return await this.addDomainWordsWithOptions(request, headers, runtime);
|
|
4464
|
+
}
|
|
4465
|
+
|
|
4466
|
+
/**
|
|
4467
|
+
* 添加技能到组织技能库
|
|
4468
|
+
*
|
|
4469
|
+
* @param request - AddToOrgSkillRepositoryRequest
|
|
4470
|
+
* @param headers - AddToOrgSkillRepositoryHeaders
|
|
4471
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4472
|
+
* @returns AddToOrgSkillRepositoryResponse
|
|
4473
|
+
*/
|
|
4474
|
+
async addToOrgSkillRepositoryWithOptions(request: AddToOrgSkillRepositoryRequest, headers: AddToOrgSkillRepositoryHeaders, runtime: $Util.RuntimeOptions): Promise<AddToOrgSkillRepositoryResponse> {
|
|
4475
|
+
Util.validateModel(request);
|
|
4476
|
+
let body : {[key: string ]: any} = { };
|
|
4477
|
+
if (!Util.isUnset(request.actionId)) {
|
|
4478
|
+
body["actionId"] = request.actionId;
|
|
4479
|
+
}
|
|
4480
|
+
|
|
4481
|
+
if (!Util.isUnset(request.actionVersion)) {
|
|
4482
|
+
body["actionVersion"] = request.actionVersion;
|
|
4483
|
+
}
|
|
4484
|
+
|
|
4485
|
+
if (!Util.isUnset(request.operatorUnionId)) {
|
|
4486
|
+
body["operatorUnionId"] = request.operatorUnionId;
|
|
4487
|
+
}
|
|
4488
|
+
|
|
4489
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
4490
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
4491
|
+
realHeaders = headers.commonHeaders;
|
|
4492
|
+
}
|
|
4493
|
+
|
|
4494
|
+
if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
4495
|
+
realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
4496
|
+
}
|
|
4497
|
+
|
|
4498
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4499
|
+
headers: realHeaders,
|
|
4500
|
+
body: OpenApiUtil.parseToMap(body),
|
|
4501
|
+
});
|
|
4502
|
+
let params = new $OpenApi.Params({
|
|
4503
|
+
action: "AddToOrgSkillRepository",
|
|
4504
|
+
version: "assistant_1.0",
|
|
4505
|
+
protocol: "HTTP",
|
|
4506
|
+
pathname: `/v1.0/assistant/orgActionRepositories`,
|
|
4507
|
+
method: "POST",
|
|
4508
|
+
authType: "AK",
|
|
4509
|
+
style: "ROA",
|
|
4510
|
+
reqBodyType: "none",
|
|
4511
|
+
bodyType: "json",
|
|
4512
|
+
});
|
|
4513
|
+
return $tea.cast<AddToOrgSkillRepositoryResponse>(await this.execute(params, req, runtime), new AddToOrgSkillRepositoryResponse({}));
|
|
4514
|
+
}
|
|
4515
|
+
|
|
4516
|
+
/**
|
|
4517
|
+
* 添加技能到组织技能库
|
|
4518
|
+
*
|
|
4519
|
+
* @param request - AddToOrgSkillRepositoryRequest
|
|
4520
|
+
* @returns AddToOrgSkillRepositoryResponse
|
|
4521
|
+
*/
|
|
4522
|
+
async addToOrgSkillRepository(request: AddToOrgSkillRepositoryRequest): Promise<AddToOrgSkillRepositoryResponse> {
|
|
4523
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
4524
|
+
let headers = new AddToOrgSkillRepositoryHeaders({ });
|
|
4525
|
+
return await this.addToOrgSkillRepositoryWithOptions(request, headers, runtime);
|
|
4526
|
+
}
|
|
4527
|
+
|
|
4528
|
+
/**
|
|
4529
|
+
* 助理响应接口-委托权限
|
|
4530
|
+
*
|
|
4531
|
+
* @param request - AssistantMeResponseRequest
|
|
4532
|
+
* @param headers - AssistantMeResponseHeaders
|
|
4533
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4534
|
+
* @returns AssistantMeResponseResponse
|
|
4535
|
+
*/
|
|
4536
|
+
async assistantMeResponseWithOptions(assistantId: string, request: AssistantMeResponseRequest, headers: AssistantMeResponseHeaders, runtime: $Util.RuntimeOptions): Promise<AssistantMeResponseResponse> {
|
|
4537
|
+
Util.validateModel(request);
|
|
4538
|
+
let body : {[key: string ]: any} = { };
|
|
4539
|
+
if (!Util.isUnset(request.input)) {
|
|
4540
|
+
body["input"] = request.input;
|
|
4541
|
+
}
|
|
4542
|
+
|
|
4543
|
+
if (!Util.isUnset(request.instructions)) {
|
|
4544
|
+
body["instructions"] = request.instructions;
|
|
4545
|
+
}
|
|
4546
|
+
|
|
4547
|
+
if (!Util.isUnset(request.metadata)) {
|
|
4548
|
+
body["metadata"] = request.metadata;
|
|
4549
|
+
}
|
|
4550
|
+
|
|
4551
|
+
if (!Util.isUnset(request.stream)) {
|
|
4552
|
+
body["stream"] = request.stream;
|
|
4553
|
+
}
|
|
4554
|
+
|
|
4555
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
4556
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
4557
|
+
realHeaders = headers.commonHeaders;
|
|
4558
|
+
}
|
|
4559
|
+
|
|
4560
|
+
if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
4561
|
+
realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
4562
|
+
}
|
|
4563
|
+
|
|
4564
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4565
|
+
headers: realHeaders,
|
|
4566
|
+
body: OpenApiUtil.parseToMap(body),
|
|
4567
|
+
});
|
|
4568
|
+
let params = new $OpenApi.Params({
|
|
4569
|
+
action: "AssistantMeResponse",
|
|
4570
|
+
version: "assistant_1.0",
|
|
4571
|
+
protocol: "HTTP",
|
|
4572
|
+
pathname: `/v1.0/assistant/${assistantId}/me/compatible-mode/responses`,
|
|
4573
|
+
method: "POST",
|
|
4574
|
+
authType: "AK",
|
|
4575
|
+
style: "ROA",
|
|
4576
|
+
reqBodyType: "none",
|
|
4577
|
+
bodyType: "json",
|
|
4578
|
+
});
|
|
4579
|
+
return $tea.cast<AssistantMeResponseResponse>(await this.execute(params, req, runtime), new AssistantMeResponseResponse({}));
|
|
4580
|
+
}
|
|
4581
|
+
|
|
4582
|
+
/**
|
|
4583
|
+
* 助理响应接口-委托权限
|
|
4584
|
+
*
|
|
4585
|
+
* @param request - AssistantMeResponseRequest
|
|
4586
|
+
* @returns AssistantMeResponseResponse
|
|
4587
|
+
*/
|
|
4588
|
+
async assistantMeResponse(assistantId: string, request: AssistantMeResponseRequest): Promise<AssistantMeResponseResponse> {
|
|
4589
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
4590
|
+
let headers = new AssistantMeResponseHeaders({ });
|
|
4591
|
+
return await this.assistantMeResponseWithOptions(assistantId, request, headers, runtime);
|
|
3418
4592
|
}
|
|
3419
|
-
}
|
|
3420
4593
|
|
|
3421
|
-
|
|
3422
|
-
|
|
3423
|
-
|
|
3424
|
-
|
|
3425
|
-
|
|
3426
|
-
|
|
3427
|
-
|
|
3428
|
-
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
}
|
|
3435
|
-
}
|
|
4594
|
+
/**
|
|
4595
|
+
* 助理响应接口-应用权限
|
|
4596
|
+
*
|
|
4597
|
+
* @param request - AssistantResponseRequest
|
|
4598
|
+
* @param headers - AssistantResponseHeaders
|
|
4599
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4600
|
+
* @returns AssistantResponseResponse
|
|
4601
|
+
*/
|
|
4602
|
+
async assistantResponseWithOptions(assistantId: string, request: AssistantResponseRequest, headers: AssistantResponseHeaders, runtime: $Util.RuntimeOptions): Promise<AssistantResponseResponse> {
|
|
4603
|
+
Util.validateModel(request);
|
|
4604
|
+
let body : {[key: string ]: any} = { };
|
|
4605
|
+
if (!Util.isUnset(request.input)) {
|
|
4606
|
+
body["input"] = request.input;
|
|
4607
|
+
}
|
|
3436
4608
|
|
|
3437
|
-
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
dynamicGroupScopes: { 'type': 'array', 'itemType': 'string' },
|
|
3441
|
-
isAdmin: 'boolean',
|
|
3442
|
-
roleVisibleScopes: { 'type': 'array', 'itemType': 'string' },
|
|
3443
|
-
userVisibleScopes: { 'type': 'array', 'itemType': 'string' },
|
|
3444
|
-
};
|
|
3445
|
-
}
|
|
4609
|
+
if (!Util.isUnset(request.instructions)) {
|
|
4610
|
+
body["instructions"] = request.instructions;
|
|
4611
|
+
}
|
|
3446
4612
|
|
|
3447
|
-
|
|
3448
|
-
|
|
3449
|
-
|
|
3450
|
-
}
|
|
4613
|
+
if (!Util.isUnset(request.metadata)) {
|
|
4614
|
+
body["metadata"] = request.metadata;
|
|
4615
|
+
}
|
|
3451
4616
|
|
|
4617
|
+
if (!Util.isUnset(request.stream)) {
|
|
4618
|
+
body["stream"] = request.stream;
|
|
4619
|
+
}
|
|
3452
4620
|
|
|
3453
|
-
|
|
4621
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
4622
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
4623
|
+
realHeaders = headers.commonHeaders;
|
|
4624
|
+
}
|
|
3454
4625
|
|
|
3455
|
-
|
|
3456
|
-
|
|
3457
|
-
let gatewayClient = new GatewayClient();
|
|
3458
|
-
this._spi = gatewayClient;
|
|
3459
|
-
this._endpointRule = "";
|
|
3460
|
-
if (Util.empty(this._endpoint)) {
|
|
3461
|
-
this._endpoint = "api.dingtalk.com";
|
|
4626
|
+
if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
4627
|
+
realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
3462
4628
|
}
|
|
3463
4629
|
|
|
4630
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4631
|
+
headers: realHeaders,
|
|
4632
|
+
body: OpenApiUtil.parseToMap(body),
|
|
4633
|
+
});
|
|
4634
|
+
let params = new $OpenApi.Params({
|
|
4635
|
+
action: "AssistantResponse",
|
|
4636
|
+
version: "assistant_1.0",
|
|
4637
|
+
protocol: "HTTP",
|
|
4638
|
+
pathname: `/v1.0/assistant/${assistantId}/compatible-mode/responses`,
|
|
4639
|
+
method: "POST",
|
|
4640
|
+
authType: "AK",
|
|
4641
|
+
style: "ROA",
|
|
4642
|
+
reqBodyType: "none",
|
|
4643
|
+
bodyType: "json",
|
|
4644
|
+
});
|
|
4645
|
+
return $tea.cast<AssistantResponseResponse>(await this.execute(params, req, runtime), new AssistantResponseResponse({}));
|
|
3464
4646
|
}
|
|
3465
4647
|
|
|
4648
|
+
/**
|
|
4649
|
+
* 助理响应接口-应用权限
|
|
4650
|
+
*
|
|
4651
|
+
* @param request - AssistantResponseRequest
|
|
4652
|
+
* @returns AssistantResponseResponse
|
|
4653
|
+
*/
|
|
4654
|
+
async assistantResponse(assistantId: string, request: AssistantResponseRequest): Promise<AssistantResponseResponse> {
|
|
4655
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
4656
|
+
let headers = new AssistantResponseHeaders({ });
|
|
4657
|
+
return await this.assistantResponseWithOptions(assistantId, request, headers, runtime);
|
|
4658
|
+
}
|
|
3466
4659
|
|
|
3467
4660
|
/**
|
|
3468
|
-
*
|
|
4661
|
+
* 分页查询算粒的使用记录
|
|
3469
4662
|
*
|
|
3470
|
-
* @param request -
|
|
3471
|
-
* @param headers -
|
|
4663
|
+
* @param request - BatchGetAICreditsRecordRequest
|
|
4664
|
+
* @param headers - BatchGetAICreditsRecordHeaders
|
|
3472
4665
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
3473
|
-
* @returns
|
|
4666
|
+
* @returns BatchGetAICreditsRecordResponse
|
|
3474
4667
|
*/
|
|
3475
|
-
async
|
|
4668
|
+
async batchGetAICreditsRecordWithOptions(request: BatchGetAICreditsRecordRequest, headers: BatchGetAICreditsRecordHeaders, runtime: $Util.RuntimeOptions): Promise<BatchGetAICreditsRecordResponse> {
|
|
3476
4669
|
Util.validateModel(request);
|
|
3477
|
-
let
|
|
4670
|
+
let query : {[key: string ]: any} = { };
|
|
3478
4671
|
if (!Util.isUnset(request.assistantId)) {
|
|
3479
|
-
|
|
4672
|
+
query["assistantId"] = request.assistantId;
|
|
3480
4673
|
}
|
|
3481
4674
|
|
|
3482
|
-
if (!Util.isUnset(request.
|
|
3483
|
-
|
|
4675
|
+
if (!Util.isUnset(request.endTime)) {
|
|
4676
|
+
query["endTime"] = request.endTime;
|
|
4677
|
+
}
|
|
4678
|
+
|
|
4679
|
+
if (!Util.isUnset(request.pageNumber)) {
|
|
4680
|
+
query["pageNumber"] = request.pageNumber;
|
|
4681
|
+
}
|
|
4682
|
+
|
|
4683
|
+
if (!Util.isUnset(request.pageSize)) {
|
|
4684
|
+
query["pageSize"] = request.pageSize;
|
|
4685
|
+
}
|
|
4686
|
+
|
|
4687
|
+
if (!Util.isUnset(request.startTime)) {
|
|
4688
|
+
query["startTime"] = request.startTime;
|
|
4689
|
+
}
|
|
4690
|
+
|
|
4691
|
+
if (!Util.isUnset(request.unionId)) {
|
|
4692
|
+
query["unionId"] = request.unionId;
|
|
3484
4693
|
}
|
|
3485
4694
|
|
|
3486
4695
|
let realHeaders : {[key: string ]: string} = { };
|
|
@@ -3494,32 +4703,32 @@ export default class Client extends OpenApi {
|
|
|
3494
4703
|
|
|
3495
4704
|
let req = new $OpenApi.OpenApiRequest({
|
|
3496
4705
|
headers: realHeaders,
|
|
3497
|
-
|
|
4706
|
+
query: OpenApiUtil.query(query),
|
|
3498
4707
|
});
|
|
3499
4708
|
let params = new $OpenApi.Params({
|
|
3500
|
-
action: "
|
|
4709
|
+
action: "BatchGetAICreditsRecord",
|
|
3501
4710
|
version: "assistant_1.0",
|
|
3502
4711
|
protocol: "HTTP",
|
|
3503
|
-
pathname: `/v1.0/assistant/
|
|
3504
|
-
method: "
|
|
4712
|
+
pathname: `/v1.0/assistant/aiCredits/list`,
|
|
4713
|
+
method: "GET",
|
|
3505
4714
|
authType: "AK",
|
|
3506
4715
|
style: "ROA",
|
|
3507
4716
|
reqBodyType: "none",
|
|
3508
4717
|
bodyType: "json",
|
|
3509
4718
|
});
|
|
3510
|
-
return $tea.cast<
|
|
4719
|
+
return $tea.cast<BatchGetAICreditsRecordResponse>(await this.execute(params, req, runtime), new BatchGetAICreditsRecordResponse({}));
|
|
3511
4720
|
}
|
|
3512
4721
|
|
|
3513
4722
|
/**
|
|
3514
|
-
*
|
|
4723
|
+
* 分页查询算粒的使用记录
|
|
3515
4724
|
*
|
|
3516
|
-
* @param request -
|
|
3517
|
-
* @returns
|
|
4725
|
+
* @param request - BatchGetAICreditsRecordRequest
|
|
4726
|
+
* @returns BatchGetAICreditsRecordResponse
|
|
3518
4727
|
*/
|
|
3519
|
-
async
|
|
4728
|
+
async batchGetAICreditsRecord(request: BatchGetAICreditsRecordRequest): Promise<BatchGetAICreditsRecordResponse> {
|
|
3520
4729
|
let runtime = new $Util.RuntimeOptions({ });
|
|
3521
|
-
let headers = new
|
|
3522
|
-
return await this.
|
|
4730
|
+
let headers = new BatchGetAICreditsRecordHeaders({ });
|
|
4731
|
+
return await this.batchGetAICreditsRecordWithOptions(request, headers, runtime);
|
|
3523
4732
|
}
|
|
3524
4733
|
|
|
3525
4734
|
/**
|
|
@@ -4118,6 +5327,60 @@ export default class Client extends OpenApi {
|
|
|
4118
5327
|
return await this.getAskDetailWithOptions(request, headers, runtime);
|
|
4119
5328
|
}
|
|
4120
5329
|
|
|
5330
|
+
/**
|
|
5331
|
+
* 获取AI助理技能列表信息
|
|
5332
|
+
*
|
|
5333
|
+
* @param request - GetAssistantActionInfoRequest
|
|
5334
|
+
* @param headers - GetAssistantActionInfoHeaders
|
|
5335
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5336
|
+
* @returns GetAssistantActionInfoResponse
|
|
5337
|
+
*/
|
|
5338
|
+
async getAssistantActionInfoWithOptions(request: GetAssistantActionInfoRequest, headers: GetAssistantActionInfoHeaders, runtime: $Util.RuntimeOptions): Promise<GetAssistantActionInfoResponse> {
|
|
5339
|
+
Util.validateModel(request);
|
|
5340
|
+
let query : {[key: string ]: any} = { };
|
|
5341
|
+
if (!Util.isUnset(request.assistantId)) {
|
|
5342
|
+
query["assistantId"] = request.assistantId;
|
|
5343
|
+
}
|
|
5344
|
+
|
|
5345
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
5346
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
5347
|
+
realHeaders = headers.commonHeaders;
|
|
5348
|
+
}
|
|
5349
|
+
|
|
5350
|
+
if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
5351
|
+
realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
5352
|
+
}
|
|
5353
|
+
|
|
5354
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
5355
|
+
headers: realHeaders,
|
|
5356
|
+
query: OpenApiUtil.query(query),
|
|
5357
|
+
});
|
|
5358
|
+
let params = new $OpenApi.Params({
|
|
5359
|
+
action: "GetAssistantActionInfo",
|
|
5360
|
+
version: "assistant_1.0",
|
|
5361
|
+
protocol: "HTTP",
|
|
5362
|
+
pathname: `/v1.0/assistant/actionLists`,
|
|
5363
|
+
method: "GET",
|
|
5364
|
+
authType: "AK",
|
|
5365
|
+
style: "ROA",
|
|
5366
|
+
reqBodyType: "none",
|
|
5367
|
+
bodyType: "json",
|
|
5368
|
+
});
|
|
5369
|
+
return $tea.cast<GetAssistantActionInfoResponse>(await this.execute(params, req, runtime), new GetAssistantActionInfoResponse({}));
|
|
5370
|
+
}
|
|
5371
|
+
|
|
5372
|
+
/**
|
|
5373
|
+
* 获取AI助理技能列表信息
|
|
5374
|
+
*
|
|
5375
|
+
* @param request - GetAssistantActionInfoRequest
|
|
5376
|
+
* @returns GetAssistantActionInfoResponse
|
|
5377
|
+
*/
|
|
5378
|
+
async getAssistantActionInfo(request: GetAssistantActionInfoRequest): Promise<GetAssistantActionInfoResponse> {
|
|
5379
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
5380
|
+
let headers = new GetAssistantActionInfoHeaders({ });
|
|
5381
|
+
return await this.getAssistantActionInfoWithOptions(request, headers, runtime);
|
|
5382
|
+
}
|
|
5383
|
+
|
|
4121
5384
|
/**
|
|
4122
5385
|
* 获取助理专业词汇
|
|
4123
5386
|
*
|
|
@@ -4524,6 +5787,60 @@ export default class Client extends OpenApi {
|
|
|
4524
5787
|
return await this.listAssistantRunWithOptions(threadId, request, headers, runtime);
|
|
4525
5788
|
}
|
|
4526
5789
|
|
|
5790
|
+
/**
|
|
5791
|
+
* 获取指定助理在组织下已安装的实例信息列表
|
|
5792
|
+
*
|
|
5793
|
+
* @param request - ListInstanceRequest
|
|
5794
|
+
* @param headers - ListInstanceHeaders
|
|
5795
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5796
|
+
* @returns ListInstanceResponse
|
|
5797
|
+
*/
|
|
5798
|
+
async listInstanceWithOptions(request: ListInstanceRequest, headers: ListInstanceHeaders, runtime: $Util.RuntimeOptions): Promise<ListInstanceResponse> {
|
|
5799
|
+
Util.validateModel(request);
|
|
5800
|
+
let query : {[key: string ]: any} = { };
|
|
5801
|
+
if (!Util.isUnset(request.prototypeAssistantId)) {
|
|
5802
|
+
query["prototypeAssistantId"] = request.prototypeAssistantId;
|
|
5803
|
+
}
|
|
5804
|
+
|
|
5805
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
5806
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
5807
|
+
realHeaders = headers.commonHeaders;
|
|
5808
|
+
}
|
|
5809
|
+
|
|
5810
|
+
if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
5811
|
+
realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
5812
|
+
}
|
|
5813
|
+
|
|
5814
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
5815
|
+
headers: realHeaders,
|
|
5816
|
+
query: OpenApiUtil.query(query),
|
|
5817
|
+
});
|
|
5818
|
+
let params = new $OpenApi.Params({
|
|
5819
|
+
action: "ListInstance",
|
|
5820
|
+
version: "assistant_1.0",
|
|
5821
|
+
protocol: "HTTP",
|
|
5822
|
+
pathname: `/v1.0/assistant/instances/list`,
|
|
5823
|
+
method: "GET",
|
|
5824
|
+
authType: "AK",
|
|
5825
|
+
style: "ROA",
|
|
5826
|
+
reqBodyType: "none",
|
|
5827
|
+
bodyType: "json",
|
|
5828
|
+
});
|
|
5829
|
+
return $tea.cast<ListInstanceResponse>(await this.execute(params, req, runtime), new ListInstanceResponse({}));
|
|
5830
|
+
}
|
|
5831
|
+
|
|
5832
|
+
/**
|
|
5833
|
+
* 获取指定助理在组织下已安装的实例信息列表
|
|
5834
|
+
*
|
|
5835
|
+
* @param request - ListInstanceRequest
|
|
5836
|
+
* @returns ListInstanceResponse
|
|
5837
|
+
*/
|
|
5838
|
+
async listInstance(request: ListInstanceRequest): Promise<ListInstanceResponse> {
|
|
5839
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
5840
|
+
let headers = new ListInstanceHeaders({ });
|
|
5841
|
+
return await this.listInstanceWithOptions(request, headers, runtime);
|
|
5842
|
+
}
|
|
5843
|
+
|
|
4527
5844
|
/**
|
|
4528
5845
|
* 获取用户可见范围的AI助理列表
|
|
4529
5846
|
*
|
|
@@ -4772,6 +6089,64 @@ export default class Client extends OpenApi {
|
|
|
4772
6089
|
return await this.removeAssistantWithOptions(request, headers, runtime);
|
|
4773
6090
|
}
|
|
4774
6091
|
|
|
6092
|
+
/**
|
|
6093
|
+
* 移除组织技能库技能
|
|
6094
|
+
*
|
|
6095
|
+
* @param request - RemoveFromOrgSkillRepositoryRequest
|
|
6096
|
+
* @param headers - RemoveFromOrgSkillRepositoryHeaders
|
|
6097
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6098
|
+
* @returns RemoveFromOrgSkillRepositoryResponse
|
|
6099
|
+
*/
|
|
6100
|
+
async removeFromOrgSkillRepositoryWithOptions(request: RemoveFromOrgSkillRepositoryRequest, headers: RemoveFromOrgSkillRepositoryHeaders, runtime: $Util.RuntimeOptions): Promise<RemoveFromOrgSkillRepositoryResponse> {
|
|
6101
|
+
Util.validateModel(request);
|
|
6102
|
+
let query : {[key: string ]: any} = { };
|
|
6103
|
+
if (!Util.isUnset(request.actionId)) {
|
|
6104
|
+
query["actionId"] = request.actionId;
|
|
6105
|
+
}
|
|
6106
|
+
|
|
6107
|
+
if (!Util.isUnset(request.operatorUnionId)) {
|
|
6108
|
+
query["operatorUnionId"] = request.operatorUnionId;
|
|
6109
|
+
}
|
|
6110
|
+
|
|
6111
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
6112
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
6113
|
+
realHeaders = headers.commonHeaders;
|
|
6114
|
+
}
|
|
6115
|
+
|
|
6116
|
+
if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
6117
|
+
realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
6118
|
+
}
|
|
6119
|
+
|
|
6120
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
6121
|
+
headers: realHeaders,
|
|
6122
|
+
query: OpenApiUtil.query(query),
|
|
6123
|
+
});
|
|
6124
|
+
let params = new $OpenApi.Params({
|
|
6125
|
+
action: "RemoveFromOrgSkillRepository",
|
|
6126
|
+
version: "assistant_1.0",
|
|
6127
|
+
protocol: "HTTP",
|
|
6128
|
+
pathname: `/v1.0/assistant/orgActionRepositories`,
|
|
6129
|
+
method: "DELETE",
|
|
6130
|
+
authType: "AK",
|
|
6131
|
+
style: "ROA",
|
|
6132
|
+
reqBodyType: "none",
|
|
6133
|
+
bodyType: "json",
|
|
6134
|
+
});
|
|
6135
|
+
return $tea.cast<RemoveFromOrgSkillRepositoryResponse>(await this.execute(params, req, runtime), new RemoveFromOrgSkillRepositoryResponse({}));
|
|
6136
|
+
}
|
|
6137
|
+
|
|
6138
|
+
/**
|
|
6139
|
+
* 移除组织技能库技能
|
|
6140
|
+
*
|
|
6141
|
+
* @param request - RemoveFromOrgSkillRepositoryRequest
|
|
6142
|
+
* @returns RemoveFromOrgSkillRepositoryResponse
|
|
6143
|
+
*/
|
|
6144
|
+
async removeFromOrgSkillRepository(request: RemoveFromOrgSkillRepositoryRequest): Promise<RemoveFromOrgSkillRepositoryResponse> {
|
|
6145
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
6146
|
+
let headers = new RemoveFromOrgSkillRepositoryHeaders({ });
|
|
6147
|
+
return await this.removeFromOrgSkillRepositoryWithOptions(request, headers, runtime);
|
|
6148
|
+
}
|
|
6149
|
+
|
|
4775
6150
|
/**
|
|
4776
6151
|
* 查询 AI 助理的基本信息
|
|
4777
6152
|
*
|