@alicloud/rdsai20250507 3.1.0 → 3.3.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 +45 -0
- package/dist/client.js +143 -0
- package/dist/client.js.map +1 -1
- package/dist/models/DescribeModelOperatorResponseBody.d.ts +1 -0
- package/dist/models/DescribeModelOperatorResponseBody.js +2 -0
- package/dist/models/DescribeModelOperatorResponseBody.js.map +1 -1
- package/dist/models/GetAvailableLlmmodelsRequest.d.ts +34 -0
- package/dist/models/GetAvailableLlmmodelsRequest.js +62 -0
- package/dist/models/GetAvailableLlmmodelsRequest.js.map +1 -0
- package/dist/models/GetAvailableLlmmodelsResponse.d.ts +19 -0
- package/dist/models/GetAvailableLlmmodelsResponse.js +69 -0
- package/dist/models/GetAvailableLlmmodelsResponse.js.map +1 -0
- package/dist/models/GetAvailableLlmmodelsResponseBody.d.ts +23 -0
- package/dist/models/GetAvailableLlmmodelsResponseBody.js +63 -0
- package/dist/models/GetAvailableLlmmodelsResponseBody.js.map +1 -0
- package/dist/models/ListLlmtokenUsageRequest.d.ts +50 -0
- package/dist/models/ListLlmtokenUsageRequest.js +66 -0
- package/dist/models/ListLlmtokenUsageRequest.js.map +1 -0
- package/dist/models/ListLlmtokenUsageResponse.d.ts +19 -0
- package/dist/models/ListLlmtokenUsageResponse.js +69 -0
- package/dist/models/ListLlmtokenUsageResponse.js.map +1 -0
- package/dist/models/ListLlmtokenUsageResponseBody.d.ts +104 -0
- package/dist/models/ListLlmtokenUsageResponseBody.js +108 -0
- package/dist/models/ListLlmtokenUsageResponseBody.js.map +1 -0
- package/dist/models/UpdateMoquotaAlertThresholdRequest.d.ts +47 -0
- package/dist/models/UpdateMoquotaAlertThresholdRequest.js +84 -0
- package/dist/models/UpdateMoquotaAlertThresholdRequest.js.map +1 -0
- package/dist/models/UpdateMoquotaAlertThresholdResponse.d.ts +19 -0
- package/dist/models/UpdateMoquotaAlertThresholdResponse.js +69 -0
- package/dist/models/UpdateMoquotaAlertThresholdResponse.js.map +1 -0
- package/dist/models/UpdateMoquotaAlertThresholdResponseBody.d.ts +63 -0
- package/dist/models/UpdateMoquotaAlertThresholdResponseBody.js +92 -0
- package/dist/models/UpdateMoquotaAlertThresholdResponseBody.js.map +1 -0
- package/dist/models/UpdateMoquotaAlertThresholdShrinkRequest.d.ts +26 -0
- package/dist/models/UpdateMoquotaAlertThresholdShrinkRequest.js +60 -0
- package/dist/models/UpdateMoquotaAlertThresholdShrinkRequest.js.map +1 -0
- package/dist/models/model.d.ts +13 -0
- package/dist/models/model.js +32 -6
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +160 -0
- package/src/models/DescribeModelOperatorResponseBody.ts +3 -0
- package/src/models/GetAvailableLlmmodelsRequest.ts +51 -0
- package/src/models/GetAvailableLlmmodelsResponse.ts +40 -0
- package/src/models/GetAvailableLlmmodelsResponseBody.ts +41 -0
- package/src/models/ListLlmtokenUsageRequest.ts +71 -0
- package/src/models/ListLlmtokenUsageResponse.ts +40 -0
- package/src/models/ListLlmtokenUsageResponseBody.ts +158 -0
- package/src/models/UpdateMoquotaAlertThresholdRequest.ts +77 -0
- package/src/models/UpdateMoquotaAlertThresholdResponse.ts +40 -0
- package/src/models/UpdateMoquotaAlertThresholdResponseBody.ts +101 -0
- package/src/models/UpdateMoquotaAlertThresholdShrinkRequest.ts +41 -0
- package/src/models/model.ts +13 -0
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class UpdateMOQuotaAlertThresholdRequestApikey extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* ApiKey
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* sk-rds-*****
|
|
12
|
+
*/
|
|
13
|
+
apikey?: string;
|
|
14
|
+
thresholdPercent?: number;
|
|
15
|
+
static names(): { [key: string]: string } {
|
|
16
|
+
return {
|
|
17
|
+
apikey: 'Apikey',
|
|
18
|
+
thresholdPercent: 'ThresholdPercent',
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
static types(): { [key: string]: any } {
|
|
23
|
+
return {
|
|
24
|
+
apikey: 'string',
|
|
25
|
+
thresholdPercent: 'number',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
validate() {
|
|
30
|
+
super.validate();
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
constructor(map?: { [key: string]: any }) {
|
|
34
|
+
super(map);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export class UpdateMOQuotaAlertThresholdRequest extends $dara.Model {
|
|
39
|
+
/**
|
|
40
|
+
* @remarks
|
|
41
|
+
* This parameter is required.
|
|
42
|
+
*/
|
|
43
|
+
apikey?: UpdateMOQuotaAlertThresholdRequestApikey[];
|
|
44
|
+
/**
|
|
45
|
+
* @remarks
|
|
46
|
+
* This parameter is required.
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* rds_copilot***_public_cn-*********6
|
|
50
|
+
*/
|
|
51
|
+
instanceId?: string;
|
|
52
|
+
static names(): { [key: string]: string } {
|
|
53
|
+
return {
|
|
54
|
+
apikey: 'Apikey',
|
|
55
|
+
instanceId: 'InstanceId',
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
static types(): { [key: string]: any } {
|
|
60
|
+
return {
|
|
61
|
+
apikey: { 'type': 'array', 'itemType': UpdateMOQuotaAlertThresholdRequestApikey },
|
|
62
|
+
instanceId: 'string',
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
validate() {
|
|
67
|
+
if(Array.isArray(this.apikey)) {
|
|
68
|
+
$dara.Model.validateArray(this.apikey);
|
|
69
|
+
}
|
|
70
|
+
super.validate();
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
constructor(map?: { [key: string]: any }) {
|
|
74
|
+
super(map);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { UpdateMOQuotaAlertThresholdResponseBody } from "./UpdateMoquotaAlertThresholdResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class UpdateMOQuotaAlertThresholdResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: UpdateMOQuotaAlertThresholdResponseBody;
|
|
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: UpdateMOQuotaAlertThresholdResponseBody,
|
|
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,101 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class UpdateMOQuotaAlertThresholdResponseBodyResults extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* API Key
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* sk-rds-*****
|
|
12
|
+
*/
|
|
13
|
+
apikey?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @example
|
|
16
|
+
* rds_copilot***_public_cn-o*****1
|
|
17
|
+
*/
|
|
18
|
+
instanceId?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @example
|
|
21
|
+
* api-*****
|
|
22
|
+
*/
|
|
23
|
+
keyName?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @example
|
|
26
|
+
* system / custom
|
|
27
|
+
*/
|
|
28
|
+
keyType?: string;
|
|
29
|
+
thresholdPercent?: number;
|
|
30
|
+
static names(): { [key: string]: string } {
|
|
31
|
+
return {
|
|
32
|
+
apikey: 'Apikey',
|
|
33
|
+
instanceId: 'InstanceId',
|
|
34
|
+
keyName: 'KeyName',
|
|
35
|
+
keyType: 'KeyType',
|
|
36
|
+
thresholdPercent: 'ThresholdPercent',
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
static types(): { [key: string]: any } {
|
|
41
|
+
return {
|
|
42
|
+
apikey: 'string',
|
|
43
|
+
instanceId: 'string',
|
|
44
|
+
keyName: 'string',
|
|
45
|
+
keyType: 'string',
|
|
46
|
+
thresholdPercent: 'number',
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
validate() {
|
|
51
|
+
super.validate();
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
constructor(map?: { [key: string]: any }) {
|
|
55
|
+
super(map);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export class UpdateMOQuotaAlertThresholdResponseBody extends $dara.Model {
|
|
60
|
+
/**
|
|
61
|
+
* @remarks
|
|
62
|
+
* Id of the request
|
|
63
|
+
*
|
|
64
|
+
* @example
|
|
65
|
+
* FE9C65D7-930F-57A5-A207-8C396329****
|
|
66
|
+
*/
|
|
67
|
+
requestId?: string;
|
|
68
|
+
results?: UpdateMOQuotaAlertThresholdResponseBodyResults[];
|
|
69
|
+
/**
|
|
70
|
+
* @example
|
|
71
|
+
* true
|
|
72
|
+
*/
|
|
73
|
+
success?: boolean;
|
|
74
|
+
static names(): { [key: string]: string } {
|
|
75
|
+
return {
|
|
76
|
+
requestId: 'RequestId',
|
|
77
|
+
results: 'Results',
|
|
78
|
+
success: 'Success',
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
static types(): { [key: string]: any } {
|
|
83
|
+
return {
|
|
84
|
+
requestId: 'string',
|
|
85
|
+
results: { 'type': 'array', 'itemType': UpdateMOQuotaAlertThresholdResponseBodyResults },
|
|
86
|
+
success: 'boolean',
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
validate() {
|
|
91
|
+
if(Array.isArray(this.results)) {
|
|
92
|
+
$dara.Model.validateArray(this.results);
|
|
93
|
+
}
|
|
94
|
+
super.validate();
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
constructor(map?: { [key: string]: any }) {
|
|
98
|
+
super(map);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
@@ -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 UpdateMOQuotaAlertThresholdShrinkRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*/
|
|
10
|
+
apikeyShrink?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* This parameter is required.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* rds_copilot***_public_cn-*********6
|
|
17
|
+
*/
|
|
18
|
+
instanceId?: string;
|
|
19
|
+
static names(): { [key: string]: string } {
|
|
20
|
+
return {
|
|
21
|
+
apikeyShrink: 'Apikey',
|
|
22
|
+
instanceId: 'InstanceId',
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
static types(): { [key: string]: any } {
|
|
27
|
+
return {
|
|
28
|
+
apikeyShrink: 'string',
|
|
29
|
+
instanceId: 'string',
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
validate() {
|
|
34
|
+
super.validate();
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
constructor(map?: { [key: string]: any }) {
|
|
38
|
+
super(map);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
package/src/models/model.ts
CHANGED
|
@@ -44,6 +44,7 @@ export { ListApiKeysResponseBodyData } from './ListApiKeysResponseBody';
|
|
|
44
44
|
export { ListCustomAgentResponseBodyData } from './ListCustomAgentResponseBody';
|
|
45
45
|
export { ListCustomAgentResponseBodySkills } from './ListCustomAgentResponseBody';
|
|
46
46
|
export { ListCustomAgentToolsResponseBodyData } from './ListCustomAgentToolsResponseBody';
|
|
47
|
+
export { ListLLMTokenUsageResponseBodyTokenUsages } from './ListLlmtokenUsageResponseBody';
|
|
47
48
|
export { ListScheduledTasksResponseBodySchedules } from './ListScheduledTasksResponseBody';
|
|
48
49
|
export { ListSkillResponseBodyData } from './ListSkillResponseBody';
|
|
49
50
|
export { ModifyInstanceAuthConfigRequestConfigList } from './ModifyInstanceAuthConfigRequest';
|
|
@@ -55,6 +56,8 @@ export { UpdateApiKeyQuotaRequestKeys } from './UpdateApiKeyQuotaRequest';
|
|
|
55
56
|
export { UpdateApiKeyQuotaResponseBodyDataCustomKeyList } from './UpdateApiKeyQuotaResponseBody';
|
|
56
57
|
export { UpdateApiKeyQuotaResponseBodyData } from './UpdateApiKeyQuotaResponseBody';
|
|
57
58
|
export { UpdateCustomAgentResponseBodySkills } from './UpdateCustomAgentResponseBody';
|
|
59
|
+
export { UpdateMOQuotaAlertThresholdRequestApikey } from './UpdateMoquotaAlertThresholdRequest';
|
|
60
|
+
export { UpdateMOQuotaAlertThresholdResponseBodyResults } from './UpdateMoquotaAlertThresholdResponseBody';
|
|
58
61
|
export { ChatMessagesRequest } from './ChatMessagesRequest';
|
|
59
62
|
export { ChatMessagesShrinkRequest } from './ChatMessagesShrinkRequest';
|
|
60
63
|
export { ChatMessagesResponseBody } from './ChatMessagesResponseBody';
|
|
@@ -147,6 +150,9 @@ export { DisableAgentRuntimeResponse } from './DisableAgentRuntimeResponse';
|
|
|
147
150
|
export { EnableAgentRuntimeRequest } from './EnableAgentRuntimeRequest';
|
|
148
151
|
export { EnableAgentRuntimeResponseBody } from './EnableAgentRuntimeResponseBody';
|
|
149
152
|
export { EnableAgentRuntimeResponse } from './EnableAgentRuntimeResponse';
|
|
153
|
+
export { GetAvailableLLMModelsRequest } from './GetAvailableLlmmodelsRequest';
|
|
154
|
+
export { GetAvailableLLMModelsResponseBody } from './GetAvailableLlmmodelsResponseBody';
|
|
155
|
+
export { GetAvailableLLMModelsResponse } from './GetAvailableLlmmodelsResponse';
|
|
150
156
|
export { GetConversationsRequest } from './GetConversationsRequest';
|
|
151
157
|
export { GetConversationsResponseBody } from './GetConversationsResponseBody';
|
|
152
158
|
export { GetConversationsResponse } from './GetConversationsResponse';
|
|
@@ -182,6 +188,9 @@ export { ListCustomAgentResponseBody } from './ListCustomAgentResponseBody';
|
|
|
182
188
|
export { ListCustomAgentResponse } from './ListCustomAgentResponse';
|
|
183
189
|
export { ListCustomAgentToolsResponseBody } from './ListCustomAgentToolsResponseBody';
|
|
184
190
|
export { ListCustomAgentToolsResponse } from './ListCustomAgentToolsResponse';
|
|
191
|
+
export { ListLLMTokenUsageRequest } from './ListLlmtokenUsageRequest';
|
|
192
|
+
export { ListLLMTokenUsageResponseBody } from './ListLlmtokenUsageResponseBody';
|
|
193
|
+
export { ListLLMTokenUsageResponse } from './ListLlmtokenUsageResponse';
|
|
185
194
|
export { ListScheduledTasksRequest } from './ListScheduledTasksRequest';
|
|
186
195
|
export { ListScheduledTasksResponseBody } from './ListScheduledTasksResponseBody';
|
|
187
196
|
export { ListScheduledTasksResponse } from './ListScheduledTasksResponse';
|
|
@@ -248,6 +257,10 @@ export { UpdateCustomAgentRequest } from './UpdateCustomAgentRequest';
|
|
|
248
257
|
export { UpdateCustomAgentShrinkRequest } from './UpdateCustomAgentShrinkRequest';
|
|
249
258
|
export { UpdateCustomAgentResponseBody } from './UpdateCustomAgentResponseBody';
|
|
250
259
|
export { UpdateCustomAgentResponse } from './UpdateCustomAgentResponse';
|
|
260
|
+
export { UpdateMOQuotaAlertThresholdRequest } from './UpdateMoquotaAlertThresholdRequest';
|
|
261
|
+
export { UpdateMOQuotaAlertThresholdShrinkRequest } from './UpdateMoquotaAlertThresholdShrinkRequest';
|
|
262
|
+
export { UpdateMOQuotaAlertThresholdResponseBody } from './UpdateMoquotaAlertThresholdResponseBody';
|
|
263
|
+
export { UpdateMOQuotaAlertThresholdResponse } from './UpdateMoquotaAlertThresholdResponse';
|
|
251
264
|
export { UpdateSkillRequest } from './UpdateSkillRequest';
|
|
252
265
|
export { UpdateSkillShrinkRequest } from './UpdateSkillShrinkRequest';
|
|
253
266
|
export { UpdateSkillResponseBody } from './UpdateSkillResponseBody';
|