@alicloud/rdsai20250507 2.0.4 → 2.1.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 +15 -0
- package/dist/client.js +68 -0
- package/dist/client.js.map +1 -1
- package/dist/models/ChatMessagesRequest.d.ts +1 -0
- package/dist/models/ChatMessagesRequest.js +2 -0
- package/dist/models/ChatMessagesRequest.js.map +1 -1
- package/dist/models/ChatMessagesShrinkRequest.d.ts +1 -0
- package/dist/models/ChatMessagesShrinkRequest.js +2 -0
- package/dist/models/ChatMessagesShrinkRequest.js.map +1 -1
- package/dist/models/GetMessagesRequest.d.ts +1 -0
- package/dist/models/GetMessagesRequest.js +2 -0
- package/dist/models/GetMessagesRequest.js.map +1 -1
- package/dist/models/GetMessagesResponseBody.d.ts +15 -0
- package/dist/models/GetMessagesResponseBody.js +27 -1
- package/dist/models/GetMessagesResponseBody.js.map +1 -1
- package/dist/models/ModifyInstancesSslrequest.d.ts +52 -0
- package/dist/models/ModifyInstancesSslrequest.js +71 -0
- package/dist/models/ModifyInstancesSslrequest.js.map +1 -0
- package/dist/models/ModifyInstancesSslresponse.d.ts +19 -0
- package/dist/models/ModifyInstancesSslresponse.js +69 -0
- package/dist/models/ModifyInstancesSslresponse.js.map +1 -0
- package/dist/models/ModifyInstancesSslresponseBody.d.ts +26 -0
- package/dist/models/ModifyInstancesSslresponseBody.js +63 -0
- package/dist/models/ModifyInstancesSslresponseBody.js.map +1 -0
- package/dist/models/ModifyInstancesSslshrinkRequest.d.ts +52 -0
- package/dist/models/ModifyInstancesSslshrinkRequest.js +68 -0
- package/dist/models/ModifyInstancesSslshrinkRequest.js.map +1 -0
- package/dist/models/model.d.ts +5 -0
- package/dist/models/model.js +16 -6
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +80 -0
- package/src/models/ChatMessagesRequest.ts +3 -0
- package/src/models/ChatMessagesShrinkRequest.ts +3 -0
- package/src/models/GetMessagesRequest.ts +3 -0
- package/src/models/GetMessagesResponseBody.ts +32 -0
- package/src/models/ModifyInstancesSslrequest.ts +78 -0
- package/src/models/ModifyInstancesSslresponse.ts +40 -0
- package/src/models/ModifyInstancesSslresponseBody.ts +44 -0
- package/src/models/ModifyInstancesSslshrinkRequest.ts +75 -0
- package/src/models/model.ts +5 -0
|
@@ -11,6 +11,7 @@ export class ChatMessagesShrinkRequest extends $dara.Model {
|
|
|
11
11
|
* fea7bdca-e848-44dd-b1ae-852472b8****
|
|
12
12
|
*/
|
|
13
13
|
conversationId?: string;
|
|
14
|
+
eventMode?: string;
|
|
14
15
|
/**
|
|
15
16
|
* @remarks
|
|
16
17
|
* The ID of the parent message.
|
|
@@ -34,6 +35,7 @@ export class ChatMessagesShrinkRequest extends $dara.Model {
|
|
|
34
35
|
static names(): { [key: string]: string } {
|
|
35
36
|
return {
|
|
36
37
|
conversationId: 'ConversationId',
|
|
38
|
+
eventMode: 'EventMode',
|
|
37
39
|
inputsShrink: 'Inputs',
|
|
38
40
|
parentMessageId: 'ParentMessageId',
|
|
39
41
|
query: 'Query',
|
|
@@ -43,6 +45,7 @@ export class ChatMessagesShrinkRequest extends $dara.Model {
|
|
|
43
45
|
static types(): { [key: string]: any } {
|
|
44
46
|
return {
|
|
45
47
|
conversationId: 'string',
|
|
48
|
+
eventMode: 'string',
|
|
46
49
|
inputsShrink: 'string',
|
|
47
50
|
parentMessageId: 'string',
|
|
48
51
|
query: 'string',
|
|
@@ -11,6 +11,7 @@ export class GetMessagesRequest extends $dara.Model {
|
|
|
11
11
|
* 941c6f59-acf5-4e11-9adc-31e52e1f****
|
|
12
12
|
*/
|
|
13
13
|
conversationId?: string;
|
|
14
|
+
eventMode?: string;
|
|
14
15
|
/**
|
|
15
16
|
* @remarks
|
|
16
17
|
* The ID of the conversation.
|
|
@@ -30,6 +31,7 @@ export class GetMessagesRequest extends $dara.Model {
|
|
|
30
31
|
static names(): { [key: string]: string } {
|
|
31
32
|
return {
|
|
32
33
|
conversationId: 'ConversationId',
|
|
34
|
+
eventMode: 'EventMode',
|
|
33
35
|
firstId: 'FirstId',
|
|
34
36
|
limit: 'Limit',
|
|
35
37
|
};
|
|
@@ -38,6 +40,7 @@ export class GetMessagesRequest extends $dara.Model {
|
|
|
38
40
|
static types(): { [key: string]: any } {
|
|
39
41
|
return {
|
|
40
42
|
conversationId: 'string',
|
|
43
|
+
eventMode: 'string',
|
|
41
44
|
firstId: 'string',
|
|
42
45
|
limit: 'number',
|
|
43
46
|
};
|
|
@@ -2,6 +2,32 @@
|
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
+
export class GetMessagesResponseBodyDataEvents extends $dara.Model {
|
|
6
|
+
answer?: string;
|
|
7
|
+
event?: string;
|
|
8
|
+
static names(): { [key: string]: string } {
|
|
9
|
+
return {
|
|
10
|
+
answer: 'answer',
|
|
11
|
+
event: 'event',
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
static types(): { [key: string]: any } {
|
|
16
|
+
return {
|
|
17
|
+
answer: 'string',
|
|
18
|
+
event: 'string',
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
validate() {
|
|
23
|
+
super.validate();
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
constructor(map?: { [key: string]: any }) {
|
|
27
|
+
super(map);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
5
31
|
export class GetMessagesResponseBodyData extends $dara.Model {
|
|
6
32
|
/**
|
|
7
33
|
* @remarks
|
|
@@ -24,6 +50,7 @@ export class GetMessagesResponseBodyData extends $dara.Model {
|
|
|
24
50
|
* 1763986004
|
|
25
51
|
*/
|
|
26
52
|
createdAt?: string;
|
|
53
|
+
events?: GetMessagesResponseBodyDataEvents[];
|
|
27
54
|
/**
|
|
28
55
|
* @remarks
|
|
29
56
|
* The feedback.
|
|
@@ -55,6 +82,7 @@ export class GetMessagesResponseBodyData extends $dara.Model {
|
|
|
55
82
|
answer: 'Answer',
|
|
56
83
|
conversationId: 'ConversationId',
|
|
57
84
|
createdAt: 'CreatedAt',
|
|
85
|
+
events: 'Events',
|
|
58
86
|
feedback: 'Feedback',
|
|
59
87
|
id: 'Id',
|
|
60
88
|
query: 'Query',
|
|
@@ -67,6 +95,7 @@ export class GetMessagesResponseBodyData extends $dara.Model {
|
|
|
67
95
|
answer: 'string',
|
|
68
96
|
conversationId: 'string',
|
|
69
97
|
createdAt: 'string',
|
|
98
|
+
events: { 'type': 'array', 'itemType': GetMessagesResponseBodyDataEvents },
|
|
70
99
|
feedback: 'string',
|
|
71
100
|
id: 'string',
|
|
72
101
|
query: 'string',
|
|
@@ -75,6 +104,9 @@ export class GetMessagesResponseBodyData extends $dara.Model {
|
|
|
75
104
|
}
|
|
76
105
|
|
|
77
106
|
validate() {
|
|
107
|
+
if(Array.isArray(this.events)) {
|
|
108
|
+
$dara.Model.validateArray(this.events);
|
|
109
|
+
}
|
|
78
110
|
if(Array.isArray(this.retrieverResources)) {
|
|
79
111
|
$dara.Model.validateArray(this.retrieverResources);
|
|
80
112
|
}
|
|
@@ -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 ModifyInstancesSSLRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* custom
|
|
9
|
+
*/
|
|
10
|
+
CAType?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* This parameter is required.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* [
|
|
17
|
+
* "ra-supabase-xxx",
|
|
18
|
+
* "ra-supabase-xxx"
|
|
19
|
+
* ]
|
|
20
|
+
*/
|
|
21
|
+
instanceNames?: string[];
|
|
22
|
+
/**
|
|
23
|
+
* @example
|
|
24
|
+
* cn-beijing
|
|
25
|
+
*/
|
|
26
|
+
regionId?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @remarks
|
|
29
|
+
* This parameter is required.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* 1
|
|
33
|
+
*/
|
|
34
|
+
SSLEnabled?: number;
|
|
35
|
+
/**
|
|
36
|
+
* @example
|
|
37
|
+
* -----BEGIN CERTIFICATE-----MIID*****QqEP-----END CERTIFICATE-----
|
|
38
|
+
*/
|
|
39
|
+
serverCert?: string;
|
|
40
|
+
/**
|
|
41
|
+
* @example
|
|
42
|
+
* -----BEGIN PRIVATE KEY-----MIIE****ihfg==-----END PRIVATE KEY-----
|
|
43
|
+
*/
|
|
44
|
+
serverKey?: string;
|
|
45
|
+
static names(): { [key: string]: string } {
|
|
46
|
+
return {
|
|
47
|
+
CAType: 'CAType',
|
|
48
|
+
instanceNames: 'InstanceNames',
|
|
49
|
+
regionId: 'RegionId',
|
|
50
|
+
SSLEnabled: 'SSLEnabled',
|
|
51
|
+
serverCert: 'ServerCert',
|
|
52
|
+
serverKey: 'ServerKey',
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
static types(): { [key: string]: any } {
|
|
57
|
+
return {
|
|
58
|
+
CAType: 'string',
|
|
59
|
+
instanceNames: { 'type': 'array', 'itemType': 'string' },
|
|
60
|
+
regionId: 'string',
|
|
61
|
+
SSLEnabled: 'number',
|
|
62
|
+
serverCert: 'string',
|
|
63
|
+
serverKey: 'string',
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
validate() {
|
|
68
|
+
if(Array.isArray(this.instanceNames)) {
|
|
69
|
+
$dara.Model.validateArray(this.instanceNames);
|
|
70
|
+
}
|
|
71
|
+
super.validate();
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
constructor(map?: { [key: string]: any }) {
|
|
75
|
+
super(map);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ModifyInstancesSSLResponseBody } from "./ModifyInstancesSslresponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ModifyInstancesSSLResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ModifyInstancesSSLResponseBody;
|
|
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: ModifyInstancesSSLResponseBody,
|
|
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,44 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ModifyInstancesSSLResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* [
|
|
9
|
+
* "ra-supabase-xxx",
|
|
10
|
+
* "ra-supabase-xxx"
|
|
11
|
+
* ]
|
|
12
|
+
*/
|
|
13
|
+
instanceNames?: string[];
|
|
14
|
+
/**
|
|
15
|
+
* @example
|
|
16
|
+
* 32DEFB4A-xxxx-ADD5-918E4FD7AB8C
|
|
17
|
+
*/
|
|
18
|
+
requestId?: string;
|
|
19
|
+
static names(): { [key: string]: string } {
|
|
20
|
+
return {
|
|
21
|
+
instanceNames: 'InstanceNames',
|
|
22
|
+
requestId: 'RequestId',
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
static types(): { [key: string]: any } {
|
|
27
|
+
return {
|
|
28
|
+
instanceNames: { 'type': 'array', 'itemType': 'string' },
|
|
29
|
+
requestId: 'string',
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
validate() {
|
|
34
|
+
if(Array.isArray(this.instanceNames)) {
|
|
35
|
+
$dara.Model.validateArray(this.instanceNames);
|
|
36
|
+
}
|
|
37
|
+
super.validate();
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
constructor(map?: { [key: string]: any }) {
|
|
41
|
+
super(map);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ModifyInstancesSSLShrinkRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* custom
|
|
9
|
+
*/
|
|
10
|
+
CAType?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* This parameter is required.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* [
|
|
17
|
+
* "ra-supabase-xxx",
|
|
18
|
+
* "ra-supabase-xxx"
|
|
19
|
+
* ]
|
|
20
|
+
*/
|
|
21
|
+
instanceNamesShrink?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @example
|
|
24
|
+
* cn-beijing
|
|
25
|
+
*/
|
|
26
|
+
regionId?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @remarks
|
|
29
|
+
* This parameter is required.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* 1
|
|
33
|
+
*/
|
|
34
|
+
SSLEnabled?: number;
|
|
35
|
+
/**
|
|
36
|
+
* @example
|
|
37
|
+
* -----BEGIN CERTIFICATE-----MIID*****QqEP-----END CERTIFICATE-----
|
|
38
|
+
*/
|
|
39
|
+
serverCert?: string;
|
|
40
|
+
/**
|
|
41
|
+
* @example
|
|
42
|
+
* -----BEGIN PRIVATE KEY-----MIIE****ihfg==-----END PRIVATE KEY-----
|
|
43
|
+
*/
|
|
44
|
+
serverKey?: string;
|
|
45
|
+
static names(): { [key: string]: string } {
|
|
46
|
+
return {
|
|
47
|
+
CAType: 'CAType',
|
|
48
|
+
instanceNamesShrink: 'InstanceNames',
|
|
49
|
+
regionId: 'RegionId',
|
|
50
|
+
SSLEnabled: 'SSLEnabled',
|
|
51
|
+
serverCert: 'ServerCert',
|
|
52
|
+
serverKey: 'ServerKey',
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
static types(): { [key: string]: any } {
|
|
57
|
+
return {
|
|
58
|
+
CAType: 'string',
|
|
59
|
+
instanceNamesShrink: 'string',
|
|
60
|
+
regionId: 'string',
|
|
61
|
+
SSLEnabled: 'number',
|
|
62
|
+
serverCert: 'string',
|
|
63
|
+
serverKey: 'string',
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
validate() {
|
|
68
|
+
super.validate();
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
constructor(map?: { [key: string]: any }) {
|
|
72
|
+
super(map);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
package/src/models/model.ts
CHANGED
|
@@ -10,6 +10,7 @@ export { DescribeInstanceIpWhitelistResponseBodyIpWhiteListGroups } from './Desc
|
|
|
10
10
|
export { DescribeInstanceRAGConfigResponseBodyConfigList } from './DescribeInstanceRagconfigResponseBody';
|
|
11
11
|
export { DescribeInstanceStorageConfigResponseBodyConfigList } from './DescribeInstanceStorageConfigResponseBody';
|
|
12
12
|
export { GetConversationsResponseBodyData } from './GetConversationsResponseBody';
|
|
13
|
+
export { GetMessagesResponseBodyDataEvents } from './GetMessagesResponseBody';
|
|
13
14
|
export { GetMessagesResponseBodyData } from './GetMessagesResponseBody';
|
|
14
15
|
export { ListCustomAgentResponseBodyData } from './ListCustomAgentResponseBody';
|
|
15
16
|
export { ListCustomAgentToolsResponseBodyData } from './ListCustomAgentToolsResponseBody';
|
|
@@ -99,6 +100,10 @@ export { ModifyInstanceStorageConfigRequest } from './ModifyInstanceStorageConfi
|
|
|
99
100
|
export { ModifyInstanceStorageConfigShrinkRequest } from './ModifyInstanceStorageConfigShrinkRequest';
|
|
100
101
|
export { ModifyInstanceStorageConfigResponseBody } from './ModifyInstanceStorageConfigResponseBody';
|
|
101
102
|
export { ModifyInstanceStorageConfigResponse } from './ModifyInstanceStorageConfigResponse';
|
|
103
|
+
export { ModifyInstancesSSLRequest } from './ModifyInstancesSslrequest';
|
|
104
|
+
export { ModifyInstancesSSLShrinkRequest } from './ModifyInstancesSslshrinkRequest';
|
|
105
|
+
export { ModifyInstancesSSLResponseBody } from './ModifyInstancesSslresponseBody';
|
|
106
|
+
export { ModifyInstancesSSLResponse } from './ModifyInstancesSslresponse';
|
|
102
107
|
export { ModifyMessagesFeedbacksRequest } from './ModifyMessagesFeedbacksRequest';
|
|
103
108
|
export { ModifyMessagesFeedbacksResponseBody } from './ModifyMessagesFeedbacksResponseBody';
|
|
104
109
|
export { ModifyMessagesFeedbacksResponse } from './ModifyMessagesFeedbacksResponse';
|