@alicloud/polardb20170801 6.5.0 → 6.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +68 -0
- package/dist/client.js +252 -0
- package/dist/client.js.map +1 -1
- package/dist/models/DescribePolarAgentChatRecordsRequest.d.ts +26 -0
- package/dist/models/DescribePolarAgentChatRecordsRequest.js +60 -0
- package/dist/models/DescribePolarAgentChatRecordsRequest.js.map +1 -0
- package/dist/models/DescribePolarAgentChatRecordsResponse.d.ts +19 -0
- package/dist/models/DescribePolarAgentChatRecordsResponse.js +69 -0
- package/dist/models/DescribePolarAgentChatRecordsResponse.js.map +1 -0
- package/dist/models/DescribePolarAgentChatRecordsResponseBody.d.ts +59 -0
- package/dist/models/DescribePolarAgentChatRecordsResponseBody.js +90 -0
- package/dist/models/DescribePolarAgentChatRecordsResponseBody.js.map +1 -0
- package/dist/models/DescribePolarAgentSessionStatusRequest.d.ts +26 -0
- package/dist/models/DescribePolarAgentSessionStatusRequest.js +60 -0
- package/dist/models/DescribePolarAgentSessionStatusRequest.js.map +1 -0
- package/dist/models/DescribePolarAgentSessionStatusResponse.d.ts +19 -0
- package/dist/models/DescribePolarAgentSessionStatusResponse.js +69 -0
- package/dist/models/DescribePolarAgentSessionStatusResponse.js.map +1 -0
- package/dist/models/DescribePolarAgentSessionStatusResponseBody.d.ts +23 -0
- package/dist/models/DescribePolarAgentSessionStatusResponseBody.js +60 -0
- package/dist/models/DescribePolarAgentSessionStatusResponseBody.js.map +1 -0
- package/dist/models/DescribePolarAgentUserSessionsRequest.d.ts +18 -0
- package/dist/models/DescribePolarAgentUserSessionsRequest.js +58 -0
- package/dist/models/DescribePolarAgentUserSessionsRequest.js.map +1 -0
- package/dist/models/DescribePolarAgentUserSessionsResponse.d.ts +19 -0
- package/dist/models/DescribePolarAgentUserSessionsResponse.js +69 -0
- package/dist/models/DescribePolarAgentUserSessionsResponse.js.map +1 -0
- package/dist/models/DescribePolarAgentUserSessionsResponseBody.d.ts +46 -0
- package/dist/models/DescribePolarAgentUserSessionsResponseBody.js +86 -0
- package/dist/models/DescribePolarAgentUserSessionsResponseBody.js.map +1 -0
- package/dist/models/GetPolarAgentRequest.d.ts +36 -0
- package/dist/models/GetPolarAgentRequest.js +64 -0
- package/dist/models/GetPolarAgentRequest.js.map +1 -0
- package/dist/models/GetPolarAgentResponse.d.ts +19 -0
- package/dist/models/GetPolarAgentResponse.js +69 -0
- package/dist/models/GetPolarAgentResponse.js.map +1 -0
- package/dist/models/GetPolarAgentResponseBody.d.ts +105 -0
- package/dist/models/GetPolarAgentResponseBody.js +124 -0
- package/dist/models/GetPolarAgentResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +16 -0
- package/dist/models/model.js +52 -19
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +244 -0
- package/src/models/DescribePolarAgentChatRecordsRequest.ts +41 -0
- package/src/models/DescribePolarAgentChatRecordsResponse.ts +40 -0
- package/src/models/DescribePolarAgentChatRecordsResponseBody.ts +95 -0
- package/src/models/DescribePolarAgentSessionStatusRequest.ts +41 -0
- package/src/models/DescribePolarAgentSessionStatusResponse.ts +40 -0
- package/src/models/DescribePolarAgentSessionStatusResponseBody.ts +38 -0
- package/src/models/DescribePolarAgentUserSessionsRequest.ts +31 -0
- package/src/models/DescribePolarAgentUserSessionsResponse.ts +40 -0
- package/src/models/DescribePolarAgentUserSessionsResponseBody.ts +78 -0
- package/src/models/GetPolarAgentRequest.ts +55 -0
- package/src/models/GetPolarAgentResponse.ts +40 -0
- package/src/models/GetPolarAgentResponseBody.ts +166 -0
- package/src/models/model.ts +16 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribePolarAgentSessionStatusRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 1e28530a0da2c4755f165b1b8b9a73c9
|
|
12
|
+
*/
|
|
13
|
+
sessionId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @example
|
|
16
|
+
* polardb-console
|
|
17
|
+
*/
|
|
18
|
+
source?: string;
|
|
19
|
+
static names(): { [key: string]: string } {
|
|
20
|
+
return {
|
|
21
|
+
sessionId: 'SessionId',
|
|
22
|
+
source: 'Source',
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
static types(): { [key: string]: any } {
|
|
27
|
+
return {
|
|
28
|
+
sessionId: 'string',
|
|
29
|
+
source: 'string',
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
validate() {
|
|
34
|
+
super.validate();
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
constructor(map?: { [key: string]: any }) {
|
|
38
|
+
super(map);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribePolarAgentSessionStatusResponseBody } from "./DescribePolarAgentSessionStatusResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribePolarAgentSessionStatusResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribePolarAgentSessionStatusResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: DescribePolarAgentSessionStatusResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribePolarAgentSessionStatusResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* CDB3258F-B5DE-43C4-8935-CBA0CA******
|
|
9
|
+
*/
|
|
10
|
+
requestId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 1
|
|
14
|
+
*/
|
|
15
|
+
status?: number;
|
|
16
|
+
static names(): { [key: string]: string } {
|
|
17
|
+
return {
|
|
18
|
+
requestId: 'RequestId',
|
|
19
|
+
status: 'Status',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static types(): { [key: string]: any } {
|
|
24
|
+
return {
|
|
25
|
+
requestId: 'string',
|
|
26
|
+
status: 'number',
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
validate() {
|
|
31
|
+
super.validate();
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
constructor(map?: { [key: string]: any }) {
|
|
35
|
+
super(map);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribePolarAgentUserSessionsRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* polardb-console
|
|
9
|
+
*/
|
|
10
|
+
source?: string;
|
|
11
|
+
static names(): { [key: string]: string } {
|
|
12
|
+
return {
|
|
13
|
+
source: 'Source',
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static types(): { [key: string]: any } {
|
|
18
|
+
return {
|
|
19
|
+
source: 'string',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
validate() {
|
|
24
|
+
super.validate();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
constructor(map?: { [key: string]: any }) {
|
|
28
|
+
super(map);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribePolarAgentUserSessionsResponseBody } from "./DescribePolarAgentUserSessionsResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribePolarAgentUserSessionsResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribePolarAgentUserSessionsResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: DescribePolarAgentUserSessionsResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribePolarAgentUserSessionsResponseBodyData extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 01IC17MLISBB98SL345H7B5AES1E8VB1
|
|
9
|
+
*/
|
|
10
|
+
sessionId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 1
|
|
14
|
+
*/
|
|
15
|
+
sessionStatus?: number;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* content
|
|
19
|
+
*/
|
|
20
|
+
title?: string;
|
|
21
|
+
static names(): { [key: string]: string } {
|
|
22
|
+
return {
|
|
23
|
+
sessionId: 'SessionId',
|
|
24
|
+
sessionStatus: 'SessionStatus',
|
|
25
|
+
title: 'Title',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
sessionId: 'string',
|
|
32
|
+
sessionStatus: 'number',
|
|
33
|
+
title: 'string',
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
validate() {
|
|
38
|
+
super.validate();
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
constructor(map?: { [key: string]: any }) {
|
|
42
|
+
super(map);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export class DescribePolarAgentUserSessionsResponseBody extends $dara.Model {
|
|
47
|
+
data?: DescribePolarAgentUserSessionsResponseBodyData[];
|
|
48
|
+
/**
|
|
49
|
+
* @example
|
|
50
|
+
* E2FDB684-751D-424D-98B9-704BEA******
|
|
51
|
+
*/
|
|
52
|
+
requestId?: string;
|
|
53
|
+
static names(): { [key: string]: string } {
|
|
54
|
+
return {
|
|
55
|
+
data: 'Data',
|
|
56
|
+
requestId: 'RequestId',
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
static types(): { [key: string]: any } {
|
|
61
|
+
return {
|
|
62
|
+
data: { 'type': 'array', 'itemType': DescribePolarAgentUserSessionsResponseBodyData },
|
|
63
|
+
requestId: 'string',
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
validate() {
|
|
68
|
+
if(Array.isArray(this.data)) {
|
|
69
|
+
$dara.Model.validateArray(this.data);
|
|
70
|
+
}
|
|
71
|
+
super.validate();
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
constructor(map?: { [key: string]: any }) {
|
|
75
|
+
super(map);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetPolarAgentRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* {}
|
|
9
|
+
*/
|
|
10
|
+
extraInfo?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* This parameter is required.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* c4d242f3-c909-4846-91d9-f84c238a9820
|
|
17
|
+
*/
|
|
18
|
+
query?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @example
|
|
21
|
+
* c4d242f3-c909-4846-91d9-f84c238a9820
|
|
22
|
+
*/
|
|
23
|
+
sessionId?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @example
|
|
26
|
+
* polardb-console
|
|
27
|
+
*/
|
|
28
|
+
source?: string;
|
|
29
|
+
static names(): { [key: string]: string } {
|
|
30
|
+
return {
|
|
31
|
+
extraInfo: 'ExtraInfo',
|
|
32
|
+
query: 'Query',
|
|
33
|
+
sessionId: 'SessionId',
|
|
34
|
+
source: 'Source',
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
static types(): { [key: string]: any } {
|
|
39
|
+
return {
|
|
40
|
+
extraInfo: 'string',
|
|
41
|
+
query: 'string',
|
|
42
|
+
sessionId: 'string',
|
|
43
|
+
source: 'string',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
validate() {
|
|
48
|
+
super.validate();
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
constructor(map?: { [key: string]: any }) {
|
|
52
|
+
super(map);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { GetPolarAgentResponseBody } from "./GetPolarAgentResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class GetPolarAgentResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: GetPolarAgentResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: GetPolarAgentResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetPolarAgentResponseBodyFunctionCall extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* ---narguments:n parameters: []n
|
|
9
|
+
*/
|
|
10
|
+
arguments?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 393
|
|
14
|
+
*/
|
|
15
|
+
id?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* rule04
|
|
19
|
+
*/
|
|
20
|
+
name?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* xxx
|
|
24
|
+
*/
|
|
25
|
+
status?: string;
|
|
26
|
+
static names(): { [key: string]: string } {
|
|
27
|
+
return {
|
|
28
|
+
arguments: 'Arguments',
|
|
29
|
+
id: 'Id',
|
|
30
|
+
name: 'Name',
|
|
31
|
+
status: 'Status',
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
static types(): { [key: string]: any } {
|
|
36
|
+
return {
|
|
37
|
+
arguments: 'string',
|
|
38
|
+
id: 'string',
|
|
39
|
+
name: 'string',
|
|
40
|
+
status: 'string',
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
validate() {
|
|
45
|
+
super.validate();
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
constructor(map?: { [key: string]: any }) {
|
|
49
|
+
super(map);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export class GetPolarAgentResponseBodyUiFunctionCall extends $dara.Model {
|
|
54
|
+
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* xxx
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* xxx
|
|
60
|
+
*/
|
|
61
|
+
argsText?: string;
|
|
62
|
+
/**
|
|
63
|
+
* @example
|
|
64
|
+
* xxx
|
|
65
|
+
*/
|
|
66
|
+
toolName?: string;
|
|
67
|
+
static names(): { [key: string]: string } {
|
|
68
|
+
return {
|
|
69
|
+
argsText: 'ArgsText',
|
|
70
|
+
toolName: 'ToolName',
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
static types(): { [key: string]: any } {
|
|
75
|
+
return {
|
|
76
|
+
argsText: 'string',
|
|
77
|
+
toolName: 'string',
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
validate() {
|
|
82
|
+
super.validate();
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
constructor(map?: { [key: string]: any }) {
|
|
86
|
+
super(map);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export class GetPolarAgentResponseBody extends $dara.Model {
|
|
91
|
+
/**
|
|
92
|
+
* @remarks
|
|
93
|
+
* Id of the request
|
|
94
|
+
*
|
|
95
|
+
* @example
|
|
96
|
+
* QZ-13661677-80
|
|
97
|
+
*/
|
|
98
|
+
content?: string;
|
|
99
|
+
functionCall?: GetPolarAgentResponseBodyFunctionCall[];
|
|
100
|
+
/**
|
|
101
|
+
* @example
|
|
102
|
+
* polardb
|
|
103
|
+
*/
|
|
104
|
+
product?: string;
|
|
105
|
+
/**
|
|
106
|
+
* @example
|
|
107
|
+
* 2548026401648157601743560466154
|
|
108
|
+
*/
|
|
109
|
+
queryId?: string;
|
|
110
|
+
/**
|
|
111
|
+
* @example
|
|
112
|
+
* xxxx
|
|
113
|
+
*/
|
|
114
|
+
reasoningContent?: string;
|
|
115
|
+
/**
|
|
116
|
+
* @example
|
|
117
|
+
* 34458CD3-33E0-4624-BFEF-840C15******
|
|
118
|
+
*/
|
|
119
|
+
requestId?: string;
|
|
120
|
+
/**
|
|
121
|
+
* @example
|
|
122
|
+
* 40315d708f0806903b08813bf4c9db2e
|
|
123
|
+
*/
|
|
124
|
+
sessionId?: string;
|
|
125
|
+
uiFunctionCall?: GetPolarAgentResponseBodyUiFunctionCall[];
|
|
126
|
+
static names(): { [key: string]: string } {
|
|
127
|
+
return {
|
|
128
|
+
content: 'Content',
|
|
129
|
+
functionCall: 'FunctionCall',
|
|
130
|
+
product: 'Product',
|
|
131
|
+
queryId: 'QueryId',
|
|
132
|
+
reasoningContent: 'ReasoningContent',
|
|
133
|
+
requestId: 'RequestId',
|
|
134
|
+
sessionId: 'SessionId',
|
|
135
|
+
uiFunctionCall: 'UiFunctionCall',
|
|
136
|
+
};
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
static types(): { [key: string]: any } {
|
|
140
|
+
return {
|
|
141
|
+
content: 'string',
|
|
142
|
+
functionCall: { 'type': 'array', 'itemType': GetPolarAgentResponseBodyFunctionCall },
|
|
143
|
+
product: 'string',
|
|
144
|
+
queryId: 'string',
|
|
145
|
+
reasoningContent: 'string',
|
|
146
|
+
requestId: 'string',
|
|
147
|
+
sessionId: 'string',
|
|
148
|
+
uiFunctionCall: { 'type': 'array', 'itemType': GetPolarAgentResponseBodyUiFunctionCall },
|
|
149
|
+
};
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
validate() {
|
|
153
|
+
if(Array.isArray(this.functionCall)) {
|
|
154
|
+
$dara.Model.validateArray(this.functionCall);
|
|
155
|
+
}
|
|
156
|
+
if(Array.isArray(this.uiFunctionCall)) {
|
|
157
|
+
$dara.Model.validateArray(this.uiFunctionCall);
|
|
158
|
+
}
|
|
159
|
+
super.validate();
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
constructor(map?: { [key: string]: any }) {
|
|
163
|
+
super(map);
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
|
package/src/models/model.ts
CHANGED
|
@@ -195,6 +195,8 @@ export { DescribeParameterTemplatesResponseBodyParametersTemplateRecord } from '
|
|
|
195
195
|
export { DescribeParameterTemplatesResponseBodyParameters } from './DescribeParameterTemplatesResponseBody';
|
|
196
196
|
export { DescribePendingMaintenanceActionResponseBodyItems } from './DescribePendingMaintenanceActionResponseBody';
|
|
197
197
|
export { DescribePendingMaintenanceActionsResponseBodyTypeList } from './DescribePendingMaintenanceActionsResponseBody';
|
|
198
|
+
export { DescribePolarAgentChatRecordsResponseBodyData } from './DescribePolarAgentChatRecordsResponseBody';
|
|
199
|
+
export { DescribePolarAgentUserSessionsResponseBodyData } from './DescribePolarAgentUserSessionsResponseBody';
|
|
198
200
|
export { DescribePolarFsAttributeResponseBodyMountInfo } from './DescribePolarFsAttributeResponseBody';
|
|
199
201
|
export { DescribePolarFsQuotaResponseBodyPolicyItems } from './DescribePolarFsQuotaResponseBody';
|
|
200
202
|
export { DescribeRdsVSwitchsResponseBodyVSwitchesVSwitch } from './DescribeRdsVswitchsResponseBody';
|
|
@@ -225,6 +227,8 @@ export { DescribeVSwitchesResponseBodyVSwitchs } from './DescribeVswitchesRespon
|
|
|
225
227
|
export { DescribeVpcsResponseBodyVpcsVSwitchs } from './DescribeVpcsResponseBody';
|
|
226
228
|
export { DescribeVpcsResponseBodyVpcs } from './DescribeVpcsResponseBody';
|
|
227
229
|
export { DescribeZonesResponseBodyZones } from './DescribeZonesResponseBody';
|
|
230
|
+
export { GetPolarAgentResponseBodyFunctionCall } from './GetPolarAgentResponseBody';
|
|
231
|
+
export { GetPolarAgentResponseBodyUiFunctionCall } from './GetPolarAgentResponseBody';
|
|
228
232
|
export { ListOrdersResponseBodyOrderList } from './ListOrdersResponseBody';
|
|
229
233
|
export { ListTagResourcesRequestTag } from './ListTagResourcesRequest';
|
|
230
234
|
export { ListTagResourcesResponseBodyTagResourcesTagResource } from './ListTagResourcesResponseBody';
|
|
@@ -736,6 +740,15 @@ export { DescribePendingMaintenanceActionResponse } from './DescribePendingMaint
|
|
|
736
740
|
export { DescribePendingMaintenanceActionsRequest } from './DescribePendingMaintenanceActionsRequest';
|
|
737
741
|
export { DescribePendingMaintenanceActionsResponseBody } from './DescribePendingMaintenanceActionsResponseBody';
|
|
738
742
|
export { DescribePendingMaintenanceActionsResponse } from './DescribePendingMaintenanceActionsResponse';
|
|
743
|
+
export { DescribePolarAgentChatRecordsRequest } from './DescribePolarAgentChatRecordsRequest';
|
|
744
|
+
export { DescribePolarAgentChatRecordsResponseBody } from './DescribePolarAgentChatRecordsResponseBody';
|
|
745
|
+
export { DescribePolarAgentChatRecordsResponse } from './DescribePolarAgentChatRecordsResponse';
|
|
746
|
+
export { DescribePolarAgentSessionStatusRequest } from './DescribePolarAgentSessionStatusRequest';
|
|
747
|
+
export { DescribePolarAgentSessionStatusResponseBody } from './DescribePolarAgentSessionStatusResponseBody';
|
|
748
|
+
export { DescribePolarAgentSessionStatusResponse } from './DescribePolarAgentSessionStatusResponse';
|
|
749
|
+
export { DescribePolarAgentUserSessionsRequest } from './DescribePolarAgentUserSessionsRequest';
|
|
750
|
+
export { DescribePolarAgentUserSessionsResponseBody } from './DescribePolarAgentUserSessionsResponseBody';
|
|
751
|
+
export { DescribePolarAgentUserSessionsResponse } from './DescribePolarAgentUserSessionsResponse';
|
|
739
752
|
export { DescribePolarFsAttributeRequest } from './DescribePolarFsAttributeRequest';
|
|
740
753
|
export { DescribePolarFsAttributeResponseBody } from './DescribePolarFsAttributeResponseBody';
|
|
741
754
|
export { DescribePolarFsAttributeResponse } from './DescribePolarFsAttributeResponse';
|
|
@@ -822,6 +835,9 @@ export { FailoverDBClusterZonalResponse } from './FailoverDbclusterZonalResponse
|
|
|
822
835
|
export { GenerateUpgradeReportForSyncCloneRequest } from './GenerateUpgradeReportForSyncCloneRequest';
|
|
823
836
|
export { GenerateUpgradeReportForSyncCloneResponseBody } from './GenerateUpgradeReportForSyncCloneResponseBody';
|
|
824
837
|
export { GenerateUpgradeReportForSyncCloneResponse } from './GenerateUpgradeReportForSyncCloneResponse';
|
|
838
|
+
export { GetPolarAgentRequest } from './GetPolarAgentRequest';
|
|
839
|
+
export { GetPolarAgentResponseBody } from './GetPolarAgentResponseBody';
|
|
840
|
+
export { GetPolarAgentResponse } from './GetPolarAgentResponse';
|
|
825
841
|
export { GrantAccountPrivilegeRequest } from './GrantAccountPrivilegeRequest';
|
|
826
842
|
export { GrantAccountPrivilegeResponseBody } from './GrantAccountPrivilegeResponseBody';
|
|
827
843
|
export { GrantAccountPrivilegeResponse } from './GrantAccountPrivilegeResponse';
|