@alicloud/aliding20230426 2.41.0 → 2.41.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.js +36 -18
- package/dist/client.js.map +1 -1
- package/dist/models/BatchUpdateFormDataByInstanceIdRequest.d.ts +1 -1
- package/dist/models/BatchUpdateFormDataByInstanceIdShrinkRequest.d.ts +1 -1
- package/dist/models/CreateRunResponse.d.ts +2 -0
- package/dist/models/CreateRunResponse.js +4 -0
- package/dist/models/CreateRunResponse.js.map +1 -1
- package/dist/models/CreateRunResponseBody.d.ts +16 -0
- package/dist/models/CreateRunResponseBody.js +29 -1
- package/dist/models/CreateRunResponseBody.js.map +1 -1
- package/dist/models/InvokeAssistantHeaders.d.ts +1 -0
- package/dist/models/InvokeAssistantHeaders.js +2 -0
- package/dist/models/InvokeAssistantHeaders.js.map +1 -1
- package/dist/models/InvokeAssistantResponse.d.ts +2 -0
- package/dist/models/InvokeAssistantResponse.js +4 -0
- package/dist/models/InvokeAssistantResponse.js.map +1 -1
- package/dist/models/InvokeAssistantResponseBody.d.ts +5 -0
- package/dist/models/InvokeAssistantResponseBody.js +2 -0
- package/dist/models/InvokeAssistantResponseBody.js.map +1 -1
- package/dist/models/InvokeSkillHeaders.d.ts +1 -0
- package/dist/models/InvokeSkillHeaders.js +2 -0
- package/dist/models/InvokeSkillHeaders.js.map +1 -1
- package/dist/models/InvokeSkillResponse.d.ts +2 -0
- package/dist/models/InvokeSkillResponse.js +4 -0
- package/dist/models/InvokeSkillResponse.js.map +1 -1
- package/dist/models/QueryGroupLiveInfoRequest.d.ts +2 -2
- package/dist/models/QueryGroupLiveInfoShrinkRequest.d.ts +2 -2
- package/dist/models/SaveFormDataRequest.d.ts +1 -1
- package/dist/models/model.d.ts +1 -0
- package/dist/models/model.js +53 -51
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +41 -30
- package/src/models/BatchUpdateFormDataByInstanceIdRequest.ts +1 -1
- package/src/models/BatchUpdateFormDataByInstanceIdShrinkRequest.ts +1 -1
- package/src/models/CreateRunResponse.ts +6 -0
- package/src/models/CreateRunResponseBody.ts +35 -0
- package/src/models/InvokeAssistantHeaders.ts +3 -0
- package/src/models/InvokeAssistantResponse.ts +6 -0
- package/src/models/InvokeAssistantResponseBody.ts +7 -0
- package/src/models/InvokeSkillHeaders.ts +3 -0
- package/src/models/InvokeSkillResponse.ts +6 -0
- package/src/models/QueryGroupLiveInfoRequest.ts +2 -2
- package/src/models/QueryGroupLiveInfoShrinkRequest.ts +2 -2
- package/src/models/SaveFormDataRequest.ts +1 -1
- package/src/models/model.ts +1 -0
|
@@ -6,11 +6,15 @@ import { CreateRunResponseBody } from "./CreateRunResponseBody";
|
|
|
6
6
|
export class CreateRunResponse extends $dara.Model {
|
|
7
7
|
headers?: { [key: string]: string };
|
|
8
8
|
statusCode?: number;
|
|
9
|
+
id?: string;
|
|
10
|
+
event?: string;
|
|
9
11
|
body?: CreateRunResponseBody;
|
|
10
12
|
static names(): { [key: string]: string } {
|
|
11
13
|
return {
|
|
12
14
|
headers: 'headers',
|
|
13
15
|
statusCode: 'statusCode',
|
|
16
|
+
id: 'id',
|
|
17
|
+
event: 'event',
|
|
14
18
|
body: 'body',
|
|
15
19
|
};
|
|
16
20
|
}
|
|
@@ -19,6 +23,8 @@ export class CreateRunResponse extends $dara.Model {
|
|
|
19
23
|
return {
|
|
20
24
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
25
|
statusCode: 'number',
|
|
26
|
+
id: 'string',
|
|
27
|
+
event: 'string',
|
|
22
28
|
body: CreateRunResponseBody,
|
|
23
29
|
};
|
|
24
30
|
}
|
|
@@ -1246,6 +1246,35 @@ export class CreateRunResponseBodyRun extends $dara.Model {
|
|
|
1246
1246
|
}
|
|
1247
1247
|
}
|
|
1248
1248
|
|
|
1249
|
+
export class CreateRunResponseBodyThread extends $dara.Model {
|
|
1250
|
+
createAt?: number;
|
|
1251
|
+
id?: string;
|
|
1252
|
+
status?: string;
|
|
1253
|
+
static names(): { [key: string]: string } {
|
|
1254
|
+
return {
|
|
1255
|
+
createAt: 'createAt',
|
|
1256
|
+
id: 'id',
|
|
1257
|
+
status: 'status',
|
|
1258
|
+
};
|
|
1259
|
+
}
|
|
1260
|
+
|
|
1261
|
+
static types(): { [key: string]: any } {
|
|
1262
|
+
return {
|
|
1263
|
+
createAt: 'number',
|
|
1264
|
+
id: 'string',
|
|
1265
|
+
status: 'string',
|
|
1266
|
+
};
|
|
1267
|
+
}
|
|
1268
|
+
|
|
1269
|
+
validate() {
|
|
1270
|
+
super.validate();
|
|
1271
|
+
}
|
|
1272
|
+
|
|
1273
|
+
constructor(map?: { [key: string]: any }) {
|
|
1274
|
+
super(map);
|
|
1275
|
+
}
|
|
1276
|
+
}
|
|
1277
|
+
|
|
1249
1278
|
export class CreateRunResponseBody extends $dara.Model {
|
|
1250
1279
|
messages?: CreateRunResponseBodyMessages[];
|
|
1251
1280
|
/**
|
|
@@ -1254,11 +1283,13 @@ export class CreateRunResponseBody extends $dara.Model {
|
|
|
1254
1283
|
*/
|
|
1255
1284
|
requestId?: string;
|
|
1256
1285
|
run?: CreateRunResponseBodyRun;
|
|
1286
|
+
thread?: CreateRunResponseBodyThread;
|
|
1257
1287
|
static names(): { [key: string]: string } {
|
|
1258
1288
|
return {
|
|
1259
1289
|
messages: 'messages',
|
|
1260
1290
|
requestId: 'requestId',
|
|
1261
1291
|
run: 'run',
|
|
1292
|
+
thread: 'thread',
|
|
1262
1293
|
};
|
|
1263
1294
|
}
|
|
1264
1295
|
|
|
@@ -1267,6 +1298,7 @@ export class CreateRunResponseBody extends $dara.Model {
|
|
|
1267
1298
|
messages: { 'type': 'array', 'itemType': CreateRunResponseBodyMessages },
|
|
1268
1299
|
requestId: 'string',
|
|
1269
1300
|
run: CreateRunResponseBodyRun,
|
|
1301
|
+
thread: CreateRunResponseBodyThread,
|
|
1270
1302
|
};
|
|
1271
1303
|
}
|
|
1272
1304
|
|
|
@@ -1277,6 +1309,9 @@ export class CreateRunResponseBody extends $dara.Model {
|
|
|
1277
1309
|
if(this.run && typeof (this.run as any).validate === 'function') {
|
|
1278
1310
|
(this.run as any).validate();
|
|
1279
1311
|
}
|
|
1312
|
+
if(this.thread && typeof (this.thread as any).validate === 'function') {
|
|
1313
|
+
(this.thread as any).validate();
|
|
1314
|
+
}
|
|
1280
1315
|
super.validate();
|
|
1281
1316
|
}
|
|
1282
1317
|
|
|
@@ -9,10 +9,12 @@ export class InvokeAssistantHeaders extends $dara.Model {
|
|
|
9
9
|
* 123456
|
|
10
10
|
*/
|
|
11
11
|
accountId?: string;
|
|
12
|
+
alidingSsoTicket?: string;
|
|
12
13
|
static names(): { [key: string]: string } {
|
|
13
14
|
return {
|
|
14
15
|
commonHeaders: 'commonHeaders',
|
|
15
16
|
accountId: 'accountId',
|
|
17
|
+
alidingSsoTicket: 'alidingSsoTicket',
|
|
16
18
|
};
|
|
17
19
|
}
|
|
18
20
|
|
|
@@ -20,6 +22,7 @@ export class InvokeAssistantHeaders extends $dara.Model {
|
|
|
20
22
|
return {
|
|
21
23
|
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
22
24
|
accountId: 'string',
|
|
25
|
+
alidingSsoTicket: 'string',
|
|
23
26
|
};
|
|
24
27
|
}
|
|
25
28
|
|
|
@@ -6,11 +6,15 @@ import { InvokeAssistantResponseBody } from "./InvokeAssistantResponseBody";
|
|
|
6
6
|
export class InvokeAssistantResponse extends $dara.Model {
|
|
7
7
|
headers?: { [key: string]: string };
|
|
8
8
|
statusCode?: number;
|
|
9
|
+
id?: string;
|
|
10
|
+
event?: string;
|
|
9
11
|
body?: InvokeAssistantResponseBody;
|
|
10
12
|
static names(): { [key: string]: string } {
|
|
11
13
|
return {
|
|
12
14
|
headers: 'headers',
|
|
13
15
|
statusCode: 'statusCode',
|
|
16
|
+
id: 'id',
|
|
17
|
+
event: 'event',
|
|
14
18
|
body: 'body',
|
|
15
19
|
};
|
|
16
20
|
}
|
|
@@ -19,6 +23,8 @@ export class InvokeAssistantResponse extends $dara.Model {
|
|
|
19
23
|
return {
|
|
20
24
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
25
|
statusCode: 'number',
|
|
26
|
+
id: 'string',
|
|
27
|
+
event: 'string',
|
|
22
28
|
body: InvokeAssistantResponseBody,
|
|
23
29
|
};
|
|
24
30
|
}
|
|
@@ -832,6 +832,11 @@ export class InvokeAssistantResponseBody extends $dara.Model {
|
|
|
832
832
|
* sessionId1
|
|
833
833
|
*/
|
|
834
834
|
sessionId?: string;
|
|
835
|
+
/**
|
|
836
|
+
* @example
|
|
837
|
+
* done
|
|
838
|
+
*/
|
|
839
|
+
sessionStatus?: string;
|
|
835
840
|
/**
|
|
836
841
|
* @example
|
|
837
842
|
* true
|
|
@@ -842,6 +847,7 @@ export class InvokeAssistantResponseBody extends $dara.Model {
|
|
|
842
847
|
messages: 'messages',
|
|
843
848
|
requestId: 'requestId',
|
|
844
849
|
sessionId: 'sessionId',
|
|
850
|
+
sessionStatus: 'sessionStatus',
|
|
845
851
|
streamEnd: 'streamEnd',
|
|
846
852
|
};
|
|
847
853
|
}
|
|
@@ -851,6 +857,7 @@ export class InvokeAssistantResponseBody extends $dara.Model {
|
|
|
851
857
|
messages: { 'type': 'array', 'itemType': InvokeAssistantResponseBodyMessages },
|
|
852
858
|
requestId: 'string',
|
|
853
859
|
sessionId: 'string',
|
|
860
|
+
sessionStatus: 'string',
|
|
854
861
|
streamEnd: 'boolean',
|
|
855
862
|
};
|
|
856
863
|
}
|
|
@@ -11,10 +11,12 @@ export class InvokeSkillHeadersAccountContext extends $dara.Model {
|
|
|
11
11
|
* 012345
|
|
12
12
|
*/
|
|
13
13
|
accountId?: string;
|
|
14
|
+
alidingSsoTicket?: string;
|
|
14
15
|
ssoTicket?: string;
|
|
15
16
|
static names(): { [key: string]: string } {
|
|
16
17
|
return {
|
|
17
18
|
accountId: 'accountId',
|
|
19
|
+
alidingSsoTicket: 'alidingSsoTicket',
|
|
18
20
|
ssoTicket: 'ssoTicket',
|
|
19
21
|
};
|
|
20
22
|
}
|
|
@@ -22,6 +24,7 @@ export class InvokeSkillHeadersAccountContext extends $dara.Model {
|
|
|
22
24
|
static types(): { [key: string]: any } {
|
|
23
25
|
return {
|
|
24
26
|
accountId: 'string',
|
|
27
|
+
alidingSsoTicket: 'string',
|
|
25
28
|
ssoTicket: 'string',
|
|
26
29
|
};
|
|
27
30
|
}
|
|
@@ -6,11 +6,15 @@ import { InvokeSkillResponseBody } from "./InvokeSkillResponseBody";
|
|
|
6
6
|
export class InvokeSkillResponse extends $dara.Model {
|
|
7
7
|
headers?: { [key: string]: string };
|
|
8
8
|
statusCode?: number;
|
|
9
|
+
id?: string;
|
|
10
|
+
event?: string;
|
|
9
11
|
body?: InvokeSkillResponseBody;
|
|
10
12
|
static names(): { [key: string]: string } {
|
|
11
13
|
return {
|
|
12
14
|
headers: 'headers',
|
|
13
15
|
statusCode: 'statusCode',
|
|
16
|
+
id: 'id',
|
|
17
|
+
event: 'event',
|
|
14
18
|
body: 'body',
|
|
15
19
|
};
|
|
16
20
|
}
|
|
@@ -19,6 +23,8 @@ export class InvokeSkillResponse extends $dara.Model {
|
|
|
19
23
|
return {
|
|
20
24
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
25
|
statusCode: 'number',
|
|
26
|
+
id: 'string',
|
|
27
|
+
event: 'string',
|
|
22
28
|
body: InvokeSkillResponseBody,
|
|
23
29
|
};
|
|
24
30
|
}
|
|
@@ -35,7 +35,7 @@ export class QueryGroupLiveInfoRequest extends $dara.Model {
|
|
|
35
35
|
* This parameter is required.
|
|
36
36
|
*
|
|
37
37
|
* @example
|
|
38
|
-
*
|
|
38
|
+
* Eijxxx
|
|
39
39
|
*/
|
|
40
40
|
anchorUnionId?: string;
|
|
41
41
|
/**
|
|
@@ -43,7 +43,7 @@ export class QueryGroupLiveInfoRequest extends $dara.Model {
|
|
|
43
43
|
* This parameter is required.
|
|
44
44
|
*
|
|
45
45
|
* @example
|
|
46
|
-
*
|
|
46
|
+
* 123456
|
|
47
47
|
*/
|
|
48
48
|
liveUuid?: string;
|
|
49
49
|
tenantContext?: QueryGroupLiveInfoRequestTenantContext;
|
|
@@ -8,7 +8,7 @@ export class QueryGroupLiveInfoShrinkRequest extends $dara.Model {
|
|
|
8
8
|
* This parameter is required.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
|
-
*
|
|
11
|
+
* Eijxxx
|
|
12
12
|
*/
|
|
13
13
|
anchorUnionId?: string;
|
|
14
14
|
/**
|
|
@@ -16,7 +16,7 @@ export class QueryGroupLiveInfoShrinkRequest extends $dara.Model {
|
|
|
16
16
|
* This parameter is required.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
|
-
*
|
|
19
|
+
* 123456
|
|
20
20
|
*/
|
|
21
21
|
liveUuid?: string;
|
|
22
22
|
tenantContextShrink?: string;
|
|
@@ -16,7 +16,7 @@ export class SaveFormDataRequest extends $dara.Model {
|
|
|
16
16
|
* This parameter is required.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
|
-
* {
|
|
19
|
+
* {\\"textField_jcpm6agt\\": \\"单行\\",\\"employeeField_jcos0sar\\": [\\"workno\\"]}
|
|
20
20
|
*/
|
|
21
21
|
formDataJson?: string;
|
|
22
22
|
/**
|
package/src/models/model.ts
CHANGED
|
@@ -217,6 +217,7 @@ export { CreateRunResponseBodyMessagesContentStructParts } from './CreateRunResp
|
|
|
217
217
|
export { CreateRunResponseBodyMessagesContentStruct } from './CreateRunResponseBody';
|
|
218
218
|
export { CreateRunResponseBodyMessages } from './CreateRunResponseBody';
|
|
219
219
|
export { CreateRunResponseBodyRun } from './CreateRunResponseBody';
|
|
220
|
+
export { CreateRunResponseBodyThread } from './CreateRunResponseBody';
|
|
220
221
|
export { CreateScenegroupHeadersAccountContext } from './CreateScenegroupHeaders';
|
|
221
222
|
export { CreateScheduleConferenceHeadersAccountContext } from './CreateScheduleConferenceHeaders';
|
|
222
223
|
export { CreateScheduleConferenceRequestScheduleConfSettingModelMoziConfOpenRecordSetting } from './CreateScheduleConferenceRequest';
|