@alicloud/rdsai20250507 2.1.0 → 2.1.1

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.
Files changed (50) hide show
  1. package/dist/client.d.ts +14 -2
  2. package/dist/client.js +26 -2
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateCustomAgentRequest.d.ts +1 -0
  5. package/dist/models/CreateCustomAgentRequest.js +5 -0
  6. package/dist/models/CreateCustomAgentRequest.js.map +1 -1
  7. package/dist/models/CreateCustomAgentResponseBody.d.ts +17 -0
  8. package/dist/models/CreateCustomAgentResponseBody.js +31 -1
  9. package/dist/models/CreateCustomAgentResponseBody.js.map +1 -1
  10. package/dist/models/CreateCustomAgentShrinkRequest.d.ts +1 -0
  11. package/dist/models/CreateCustomAgentShrinkRequest.js +2 -0
  12. package/dist/models/CreateCustomAgentShrinkRequest.js.map +1 -1
  13. package/dist/models/GetCustomAgentResponseBody.d.ts +17 -0
  14. package/dist/models/GetCustomAgentResponseBody.js +31 -1
  15. package/dist/models/GetCustomAgentResponseBody.js.map +1 -1
  16. package/dist/models/ListCustomAgentResponseBody.d.ts +17 -0
  17. package/dist/models/ListCustomAgentResponseBody.js +31 -1
  18. package/dist/models/ListCustomAgentResponseBody.js.map +1 -1
  19. package/dist/models/ModifyInstancesSslrequest.d.ts +25 -0
  20. package/dist/models/ModifyInstancesSslrequest.js.map +1 -1
  21. package/dist/models/ModifyInstancesSslresponseBody.d.ts +6 -0
  22. package/dist/models/ModifyInstancesSslresponseBody.js.map +1 -1
  23. package/dist/models/ModifyInstancesSslshrinkRequest.d.ts +25 -0
  24. package/dist/models/ModifyInstancesSslshrinkRequest.js.map +1 -1
  25. package/dist/models/UpdateCustomAgentRequest.d.ts +1 -0
  26. package/dist/models/UpdateCustomAgentRequest.js +5 -0
  27. package/dist/models/UpdateCustomAgentRequest.js.map +1 -1
  28. package/dist/models/UpdateCustomAgentResponseBody.d.ts +17 -0
  29. package/dist/models/UpdateCustomAgentResponseBody.js +31 -1
  30. package/dist/models/UpdateCustomAgentResponseBody.js.map +1 -1
  31. package/dist/models/UpdateCustomAgentShrinkRequest.d.ts +1 -0
  32. package/dist/models/UpdateCustomAgentShrinkRequest.js +2 -0
  33. package/dist/models/UpdateCustomAgentShrinkRequest.js.map +1 -1
  34. package/dist/models/model.d.ts +4 -0
  35. package/dist/models/model.js +19 -11
  36. package/dist/models/model.js.map +1 -1
  37. package/package.json +1 -1
  38. package/src/client.ts +30 -2
  39. package/src/models/CreateCustomAgentRequest.ts +6 -0
  40. package/src/models/CreateCustomAgentResponseBody.ts +38 -0
  41. package/src/models/CreateCustomAgentShrinkRequest.ts +3 -0
  42. package/src/models/GetCustomAgentResponseBody.ts +38 -0
  43. package/src/models/ListCustomAgentResponseBody.ts +38 -0
  44. package/src/models/ModifyInstancesSslrequest.ts +25 -0
  45. package/src/models/ModifyInstancesSslresponseBody.ts +6 -0
  46. package/src/models/ModifyInstancesSslshrinkRequest.ts +25 -0
  47. package/src/models/UpdateCustomAgentRequest.ts +6 -0
  48. package/src/models/UpdateCustomAgentResponseBody.ts +38 -0
  49. package/src/models/UpdateCustomAgentShrinkRequest.ts +3 -0
  50. package/src/models/model.ts +4 -0
package/src/client.ts CHANGED
@@ -330,6 +330,10 @@ export default class Client extends OpenApi {
330
330
  tmpReq.validate();
331
331
  let request = new $_model.CreateCustomAgentShrinkRequest({ });
332
332
  OpenApiUtil.convert(tmpReq, request);
333
+ if (!$dara.isNull(tmpReq.skillIds)) {
334
+ request.skillIdsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.skillIds, "SkillIds", "json");
335
+ }
336
+
333
337
  if (!$dara.isNull(tmpReq.tools)) {
334
338
  request.toolsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tools, "Tools", "json");
335
339
  }
@@ -343,6 +347,10 @@ export default class Client extends OpenApi {
343
347
  query["Name"] = request.name;
344
348
  }
345
349
 
350
+ if (!$dara.isNull(request.skillIdsShrink)) {
351
+ query["SkillIds"] = request.skillIdsShrink;
352
+ }
353
+
346
354
  if (!$dara.isNull(request.systemPrompt)) {
347
355
  query["SystemPrompt"] = request.systemPrompt;
348
356
  }
@@ -1660,7 +1668,13 @@ export default class Client extends OpenApi {
1660
1668
  }
1661
1669
 
1662
1670
  /**
1663
- * 批量修改实例的SSL配置
1671
+ * Modifies the SSL settings of RDS Supabase instances in batches.
1672
+ *
1673
+ * @remarks
1674
+ * ### [](#)Supported database engine
1675
+ * RDS PostgreSQL
1676
+ * ### [](#)References
1677
+ * [RDS Supabase](https://help.aliyun.com/document_detail/2938735.html)
1664
1678
  *
1665
1679
  * @param tmpReq - ModifyInstancesSSLRequest
1666
1680
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1717,7 +1731,13 @@ export default class Client extends OpenApi {
1717
1731
  }
1718
1732
 
1719
1733
  /**
1720
- * 批量修改实例的SSL配置
1734
+ * Modifies the SSL settings of RDS Supabase instances in batches.
1735
+ *
1736
+ * @remarks
1737
+ * ### [](#)Supported database engine
1738
+ * RDS PostgreSQL
1739
+ * ### [](#)References
1740
+ * [RDS Supabase](https://help.aliyun.com/document_detail/2938735.html)
1721
1741
  *
1722
1742
  * @param request - ModifyInstancesSSLRequest
1723
1743
  * @returns ModifyInstancesSSLResponse
@@ -2030,6 +2050,10 @@ export default class Client extends OpenApi {
2030
2050
  tmpReq.validate();
2031
2051
  let request = new $_model.UpdateCustomAgentShrinkRequest({ });
2032
2052
  OpenApiUtil.convert(tmpReq, request);
2053
+ if (!$dara.isNull(tmpReq.skillIds)) {
2054
+ request.skillIdsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.skillIds, "SkillIds", "json");
2055
+ }
2056
+
2033
2057
  if (!$dara.isNull(tmpReq.tools)) {
2034
2058
  request.toolsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tools, "Tools", "json");
2035
2059
  }
@@ -2047,6 +2071,10 @@ export default class Client extends OpenApi {
2047
2071
  query["Name"] = request.name;
2048
2072
  }
2049
2073
 
2074
+ if (!$dara.isNull(request.skillIdsShrink)) {
2075
+ query["SkillIds"] = request.skillIdsShrink;
2076
+ }
2077
+
2050
2078
  if (!$dara.isNull(request.systemPrompt)) {
2051
2079
  query["SystemPrompt"] = request.systemPrompt;
2052
2080
  }
@@ -16,6 +16,7 @@ export class CreateCustomAgentRequest extends $dara.Model {
16
16
  * The operation that you want to perform. Set the value to **CreateCustomAgent**.
17
17
  */
18
18
  name?: string;
19
+ skillIds?: string[];
19
20
  /**
20
21
  * @remarks
21
22
  * The name of the dedicated agent.
@@ -32,6 +33,7 @@ export class CreateCustomAgentRequest extends $dara.Model {
32
33
  return {
33
34
  enableTools: 'EnableTools',
34
35
  name: 'Name',
36
+ skillIds: 'SkillIds',
35
37
  systemPrompt: 'SystemPrompt',
36
38
  tools: 'Tools',
37
39
  };
@@ -41,12 +43,16 @@ export class CreateCustomAgentRequest extends $dara.Model {
41
43
  return {
42
44
  enableTools: 'boolean',
43
45
  name: 'string',
46
+ skillIds: { 'type': 'array', 'itemType': 'string' },
44
47
  systemPrompt: 'string',
45
48
  tools: { 'type': 'array', 'itemType': 'string' },
46
49
  };
47
50
  }
48
51
 
49
52
  validate() {
53
+ if(Array.isArray(this.skillIds)) {
54
+ $dara.Model.validateArray(this.skillIds);
55
+ }
50
56
  if(Array.isArray(this.tools)) {
51
57
  $dara.Model.validateArray(this.tools);
52
58
  }
@@ -2,6 +2,38 @@
2
2
  import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
+ export class CreateCustomAgentResponseBodySkills extends $dara.Model {
6
+ description?: string;
7
+ id?: string;
8
+ name?: string;
9
+ skillType?: string;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ description: 'Description',
13
+ id: 'Id',
14
+ name: 'Name',
15
+ skillType: 'SkillType',
16
+ };
17
+ }
18
+
19
+ static types(): { [key: string]: any } {
20
+ return {
21
+ description: 'string',
22
+ id: 'string',
23
+ name: 'string',
24
+ skillType: 'string',
25
+ };
26
+ }
27
+
28
+ validate() {
29
+ super.validate();
30
+ }
31
+
32
+ constructor(map?: { [key: string]: any }) {
33
+ super(map);
34
+ }
35
+ }
36
+
5
37
  export class CreateCustomAgentResponseBody extends $dara.Model {
6
38
  /**
7
39
  * @remarks
@@ -40,6 +72,7 @@ export class CreateCustomAgentResponseBody extends $dara.Model {
40
72
  * FE9C65D7-930F-57A5-A207-8C396329****
41
73
  */
42
74
  requestId?: string;
75
+ skills?: CreateCustomAgentResponseBodySkills[];
43
76
  /**
44
77
  * @remarks
45
78
  * The system prompts.
@@ -57,6 +90,7 @@ export class CreateCustomAgentResponseBody extends $dara.Model {
57
90
  id: 'Id',
58
91
  name: 'Name',
59
92
  requestId: 'RequestId',
93
+ skills: 'Skills',
60
94
  systemPrompt: 'SystemPrompt',
61
95
  tools: 'Tools',
62
96
  };
@@ -69,12 +103,16 @@ export class CreateCustomAgentResponseBody extends $dara.Model {
69
103
  id: 'string',
70
104
  name: 'string',
71
105
  requestId: 'string',
106
+ skills: { 'type': 'array', 'itemType': CreateCustomAgentResponseBodySkills },
72
107
  systemPrompt: 'string',
73
108
  tools: { 'type': 'array', 'itemType': 'string' },
74
109
  };
75
110
  }
76
111
 
77
112
  validate() {
113
+ if(Array.isArray(this.skills)) {
114
+ $dara.Model.validateArray(this.skills);
115
+ }
78
116
  if(Array.isArray(this.tools)) {
79
117
  $dara.Model.validateArray(this.tools);
80
118
  }
@@ -16,6 +16,7 @@ export class CreateCustomAgentShrinkRequest extends $dara.Model {
16
16
  * The operation that you want to perform. Set the value to **CreateCustomAgent**.
17
17
  */
18
18
  name?: string;
19
+ skillIdsShrink?: string;
19
20
  /**
20
21
  * @remarks
21
22
  * The name of the dedicated agent.
@@ -32,6 +33,7 @@ export class CreateCustomAgentShrinkRequest extends $dara.Model {
32
33
  return {
33
34
  enableTools: 'EnableTools',
34
35
  name: 'Name',
36
+ skillIdsShrink: 'SkillIds',
35
37
  systemPrompt: 'SystemPrompt',
36
38
  toolsShrink: 'Tools',
37
39
  };
@@ -41,6 +43,7 @@ export class CreateCustomAgentShrinkRequest extends $dara.Model {
41
43
  return {
42
44
  enableTools: 'boolean',
43
45
  name: 'string',
46
+ skillIdsShrink: 'string',
44
47
  systemPrompt: 'string',
45
48
  toolsShrink: 'string',
46
49
  };
@@ -2,6 +2,38 @@
2
2
  import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
+ export class GetCustomAgentResponseBodySkills extends $dara.Model {
6
+ description?: string;
7
+ id?: string;
8
+ name?: string;
9
+ skillType?: string;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ description: 'Description',
13
+ id: 'Id',
14
+ name: 'Name',
15
+ skillType: 'SkillType',
16
+ };
17
+ }
18
+
19
+ static types(): { [key: string]: any } {
20
+ return {
21
+ description: 'string',
22
+ id: 'string',
23
+ name: 'string',
24
+ skillType: 'string',
25
+ };
26
+ }
27
+
28
+ validate() {
29
+ super.validate();
30
+ }
31
+
32
+ constructor(map?: { [key: string]: any }) {
33
+ super(map);
34
+ }
35
+ }
36
+
5
37
  export class GetCustomAgentResponseBody extends $dara.Model {
6
38
  /**
7
39
  * @remarks
@@ -40,6 +72,7 @@ export class GetCustomAgentResponseBody extends $dara.Model {
40
72
  * FE9C65D7-930F-57A5-A207-8C396329241C
41
73
  */
42
74
  requestId?: string;
75
+ skills?: GetCustomAgentResponseBodySkills[];
43
76
  /**
44
77
  * @remarks
45
78
  * The system prompts.
@@ -65,6 +98,7 @@ export class GetCustomAgentResponseBody extends $dara.Model {
65
98
  id: 'Id',
66
99
  name: 'Name',
67
100
  requestId: 'RequestId',
101
+ skills: 'Skills',
68
102
  systemPrompt: 'SystemPrompt',
69
103
  tools: 'Tools',
70
104
  updatedAt: 'UpdatedAt',
@@ -78,6 +112,7 @@ export class GetCustomAgentResponseBody extends $dara.Model {
78
112
  id: 'string',
79
113
  name: 'string',
80
114
  requestId: 'string',
115
+ skills: { 'type': 'array', 'itemType': GetCustomAgentResponseBodySkills },
81
116
  systemPrompt: 'string',
82
117
  tools: { 'type': 'array', 'itemType': 'string' },
83
118
  updatedAt: 'string',
@@ -85,6 +120,9 @@ export class GetCustomAgentResponseBody extends $dara.Model {
85
120
  }
86
121
 
87
122
  validate() {
123
+ if(Array.isArray(this.skills)) {
124
+ $dara.Model.validateArray(this.skills);
125
+ }
88
126
  if(Array.isArray(this.tools)) {
89
127
  $dara.Model.validateArray(this.tools);
90
128
  }
@@ -86,6 +86,38 @@ export class ListCustomAgentResponseBodyData extends $dara.Model {
86
86
  }
87
87
  }
88
88
 
89
+ export class ListCustomAgentResponseBodySkills extends $dara.Model {
90
+ description?: string;
91
+ id?: string;
92
+ name?: string;
93
+ skillType?: string;
94
+ static names(): { [key: string]: string } {
95
+ return {
96
+ description: 'Description',
97
+ id: 'Id',
98
+ name: 'Name',
99
+ skillType: 'SkillType',
100
+ };
101
+ }
102
+
103
+ static types(): { [key: string]: any } {
104
+ return {
105
+ description: 'string',
106
+ id: 'string',
107
+ name: 'string',
108
+ skillType: 'string',
109
+ };
110
+ }
111
+
112
+ validate() {
113
+ super.validate();
114
+ }
115
+
116
+ constructor(map?: { [key: string]: any }) {
117
+ super(map);
118
+ }
119
+ }
120
+
89
121
  export class ListCustomAgentResponseBody extends $dara.Model {
90
122
  /**
91
123
  * @remarks
@@ -116,6 +148,7 @@ export class ListCustomAgentResponseBody extends $dara.Model {
116
148
  * FE9C65D7-930F-57A5-A207-8C396329****
117
149
  */
118
150
  requestId?: string;
151
+ skills?: ListCustomAgentResponseBodySkills[];
119
152
  /**
120
153
  * @remarks
121
154
  * The total number of entries returned. By default, this parameter is not returned.
@@ -130,6 +163,7 @@ export class ListCustomAgentResponseBody extends $dara.Model {
130
163
  pageNumber: 'PageNumber',
131
164
  pageSize: 'PageSize',
132
165
  requestId: 'RequestId',
166
+ skills: 'Skills',
133
167
  totalCount: 'TotalCount',
134
168
  };
135
169
  }
@@ -140,6 +174,7 @@ export class ListCustomAgentResponseBody extends $dara.Model {
140
174
  pageNumber: 'number',
141
175
  pageSize: 'number',
142
176
  requestId: 'string',
177
+ skills: { 'type': 'array', 'itemType': ListCustomAgentResponseBodySkills },
143
178
  totalCount: 'number',
144
179
  };
145
180
  }
@@ -148,6 +183,9 @@ export class ListCustomAgentResponseBody extends $dara.Model {
148
183
  if(Array.isArray(this.data)) {
149
184
  $dara.Model.validateArray(this.data);
150
185
  }
186
+ if(Array.isArray(this.skills)) {
187
+ $dara.Model.validateArray(this.skills);
188
+ }
151
189
  super.validate();
152
190
  }
153
191
 
@@ -4,12 +4,19 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class ModifyInstancesSSLRequest extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The certificate type. Only **custom** is supported.
9
+ *
10
+ * > This parameter is required if **SSLEnabled** is set to **1**.
11
+ *
7
12
  * @example
8
13
  * custom
9
14
  */
10
15
  CAType?: string;
11
16
  /**
12
17
  * @remarks
18
+ * The information about the RDS Supabase instances that you want to configure. You can specify up to 10 instances.
19
+ *
13
20
  * This parameter is required.
14
21
  *
15
22
  * @example
@@ -20,12 +27,20 @@ export class ModifyInstancesSSLRequest extends $dara.Model {
20
27
  */
21
28
  instanceNames?: string[];
22
29
  /**
30
+ * @remarks
31
+ * The region ID.
32
+ *
23
33
  * @example
24
34
  * cn-beijing
25
35
  */
26
36
  regionId?: string;
27
37
  /**
28
38
  * @remarks
39
+ * Enables or disables SSL. Valid values:
40
+ *
41
+ * * **1**: enable
42
+ * * **0**: disable
43
+ *
29
44
  * This parameter is required.
30
45
  *
31
46
  * @example
@@ -33,11 +48,21 @@ export class ModifyInstancesSSLRequest extends $dara.Model {
33
48
  */
34
49
  SSLEnabled?: number;
35
50
  /**
51
+ * @remarks
52
+ * The content of the custom certificate.
53
+ *
54
+ * > This parameter is required if **CAType** is set to **custom**.
55
+ *
36
56
  * @example
37
57
  * -----BEGIN CERTIFICATE-----MIID*****QqEP-----END CERTIFICATE-----
38
58
  */
39
59
  serverCert?: string;
40
60
  /**
61
+ * @remarks
62
+ * The private key of the certificate.
63
+ *
64
+ * > This parameter is required if **CAType** is set to **custom**.
65
+ *
41
66
  * @example
42
67
  * -----BEGIN PRIVATE KEY-----MIIE****ihfg==-----END PRIVATE KEY-----
43
68
  */
@@ -4,6 +4,9 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class ModifyInstancesSSLResponseBody extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The RDS Supabase instances whose SSL settings are modified.
9
+ *
7
10
  * @example
8
11
  * [
9
12
  * "ra-supabase-xxx",
@@ -12,6 +15,9 @@ export class ModifyInstancesSSLResponseBody extends $dara.Model {
12
15
  */
13
16
  instanceNames?: string[];
14
17
  /**
18
+ * @remarks
19
+ * The request ID.
20
+ *
15
21
  * @example
16
22
  * 32DEFB4A-xxxx-ADD5-918E4FD7AB8C
17
23
  */
@@ -4,12 +4,19 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class ModifyInstancesSSLShrinkRequest extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The certificate type. Only **custom** is supported.
9
+ *
10
+ * > This parameter is required if **SSLEnabled** is set to **1**.
11
+ *
7
12
  * @example
8
13
  * custom
9
14
  */
10
15
  CAType?: string;
11
16
  /**
12
17
  * @remarks
18
+ * The information about the RDS Supabase instances that you want to configure. You can specify up to 10 instances.
19
+ *
13
20
  * This parameter is required.
14
21
  *
15
22
  * @example
@@ -20,12 +27,20 @@ export class ModifyInstancesSSLShrinkRequest extends $dara.Model {
20
27
  */
21
28
  instanceNamesShrink?: string;
22
29
  /**
30
+ * @remarks
31
+ * The region ID.
32
+ *
23
33
  * @example
24
34
  * cn-beijing
25
35
  */
26
36
  regionId?: string;
27
37
  /**
28
38
  * @remarks
39
+ * Enables or disables SSL. Valid values:
40
+ *
41
+ * * **1**: enable
42
+ * * **0**: disable
43
+ *
29
44
  * This parameter is required.
30
45
  *
31
46
  * @example
@@ -33,11 +48,21 @@ export class ModifyInstancesSSLShrinkRequest extends $dara.Model {
33
48
  */
34
49
  SSLEnabled?: number;
35
50
  /**
51
+ * @remarks
52
+ * The content of the custom certificate.
53
+ *
54
+ * > This parameter is required if **CAType** is set to **custom**.
55
+ *
36
56
  * @example
37
57
  * -----BEGIN CERTIFICATE-----MIID*****QqEP-----END CERTIFICATE-----
38
58
  */
39
59
  serverCert?: string;
40
60
  /**
61
+ * @remarks
62
+ * The private key of the certificate.
63
+ *
64
+ * > This parameter is required if **CAType** is set to **custom**.
65
+ *
41
66
  * @example
42
67
  * -----BEGIN PRIVATE KEY-----MIIE****ihfg==-----END PRIVATE KEY-----
43
68
  */
@@ -26,6 +26,7 @@ export class UpdateCustomAgentRequest extends $dara.Model {
26
26
  * The ID of the agent.
27
27
  */
28
28
  name?: string;
29
+ skillIds?: string[];
29
30
  /**
30
31
  * @remarks
31
32
  * The name of the agent.
@@ -41,6 +42,7 @@ export class UpdateCustomAgentRequest extends $dara.Model {
41
42
  customAgentId: 'CustomAgentId',
42
43
  enableTools: 'EnableTools',
43
44
  name: 'Name',
45
+ skillIds: 'SkillIds',
44
46
  systemPrompt: 'SystemPrompt',
45
47
  tools: 'Tools',
46
48
  };
@@ -51,12 +53,16 @@ export class UpdateCustomAgentRequest extends $dara.Model {
51
53
  customAgentId: 'string',
52
54
  enableTools: 'boolean',
53
55
  name: 'string',
56
+ skillIds: { 'type': 'array', 'itemType': 'string' },
54
57
  systemPrompt: 'string',
55
58
  tools: { 'type': 'array', 'itemType': 'string' },
56
59
  };
57
60
  }
58
61
 
59
62
  validate() {
63
+ if(Array.isArray(this.skillIds)) {
64
+ $dara.Model.validateArray(this.skillIds);
65
+ }
60
66
  if(Array.isArray(this.tools)) {
61
67
  $dara.Model.validateArray(this.tools);
62
68
  }
@@ -2,6 +2,38 @@
2
2
  import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
+ export class UpdateCustomAgentResponseBodySkills extends $dara.Model {
6
+ description?: string;
7
+ id?: string;
8
+ name?: string;
9
+ skillType?: string;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ description: 'Description',
13
+ id: 'Id',
14
+ name: 'Name',
15
+ skillType: 'SkillType',
16
+ };
17
+ }
18
+
19
+ static types(): { [key: string]: any } {
20
+ return {
21
+ description: 'string',
22
+ id: 'string',
23
+ name: 'string',
24
+ skillType: 'string',
25
+ };
26
+ }
27
+
28
+ validate() {
29
+ super.validate();
30
+ }
31
+
32
+ constructor(map?: { [key: string]: any }) {
33
+ super(map);
34
+ }
35
+ }
36
+
5
37
  export class UpdateCustomAgentResponseBody extends $dara.Model {
6
38
  /**
7
39
  * @remarks
@@ -32,6 +64,7 @@ export class UpdateCustomAgentResponseBody extends $dara.Model {
32
64
  * FE9C65D7-930F-57A5-A207-8C396329****
33
65
  */
34
66
  requestId?: string;
67
+ skills?: UpdateCustomAgentResponseBodySkills[];
35
68
  /**
36
69
  * @remarks
37
70
  * The system prompts.
@@ -48,6 +81,7 @@ export class UpdateCustomAgentResponseBody extends $dara.Model {
48
81
  id: 'Id',
49
82
  name: 'Name',
50
83
  requestId: 'RequestId',
84
+ skills: 'Skills',
51
85
  systemPrompt: 'SystemPrompt',
52
86
  tools: 'Tools',
53
87
  };
@@ -59,12 +93,16 @@ export class UpdateCustomAgentResponseBody extends $dara.Model {
59
93
  id: 'string',
60
94
  name: 'string',
61
95
  requestId: 'string',
96
+ skills: { 'type': 'array', 'itemType': UpdateCustomAgentResponseBodySkills },
62
97
  systemPrompt: 'string',
63
98
  tools: { 'type': 'array', 'itemType': 'string' },
64
99
  };
65
100
  }
66
101
 
67
102
  validate() {
103
+ if(Array.isArray(this.skills)) {
104
+ $dara.Model.validateArray(this.skills);
105
+ }
68
106
  if(Array.isArray(this.tools)) {
69
107
  $dara.Model.validateArray(this.tools);
70
108
  }
@@ -26,6 +26,7 @@ export class UpdateCustomAgentShrinkRequest extends $dara.Model {
26
26
  * The ID of the agent.
27
27
  */
28
28
  name?: string;
29
+ skillIdsShrink?: string;
29
30
  /**
30
31
  * @remarks
31
32
  * The name of the agent.
@@ -41,6 +42,7 @@ export class UpdateCustomAgentShrinkRequest extends $dara.Model {
41
42
  customAgentId: 'CustomAgentId',
42
43
  enableTools: 'EnableTools',
43
44
  name: 'Name',
45
+ skillIdsShrink: 'SkillIds',
44
46
  systemPrompt: 'SystemPrompt',
45
47
  toolsShrink: 'Tools',
46
48
  };
@@ -51,6 +53,7 @@ export class UpdateCustomAgentShrinkRequest extends $dara.Model {
51
53
  customAgentId: 'string',
52
54
  enableTools: 'boolean',
53
55
  name: 'string',
56
+ skillIdsShrink: 'string',
54
57
  systemPrompt: 'string',
55
58
  toolsShrink: 'string',
56
59
  };
@@ -1,5 +1,6 @@
1
1
  export { ChatMessagesRequestInputs } from './ChatMessagesRequest';
2
2
  export { CreateAppInstanceRequestDBInstanceConfig } from './CreateAppInstanceRequest';
3
+ export { CreateCustomAgentResponseBodySkills } from './CreateCustomAgentResponseBody';
3
4
  export { DescribeAppInstancesResponseBodyInstances } from './DescribeAppInstancesResponseBody';
4
5
  export { DescribeEventsListResponseBodyEvents } from './DescribeEventsListResponseBody';
5
6
  export { DescribeInstanceAuthInfoResponseBodyApiKeys } from './DescribeInstanceAuthInfoResponseBody';
@@ -10,13 +11,16 @@ export { DescribeInstanceIpWhitelistResponseBodyIpWhiteListGroups } from './Desc
10
11
  export { DescribeInstanceRAGConfigResponseBodyConfigList } from './DescribeInstanceRagconfigResponseBody';
11
12
  export { DescribeInstanceStorageConfigResponseBodyConfigList } from './DescribeInstanceStorageConfigResponseBody';
12
13
  export { GetConversationsResponseBodyData } from './GetConversationsResponseBody';
14
+ export { GetCustomAgentResponseBodySkills } from './GetCustomAgentResponseBody';
13
15
  export { GetMessagesResponseBodyDataEvents } from './GetMessagesResponseBody';
14
16
  export { GetMessagesResponseBodyData } from './GetMessagesResponseBody';
15
17
  export { ListCustomAgentResponseBodyData } from './ListCustomAgentResponseBody';
18
+ export { ListCustomAgentResponseBodySkills } from './ListCustomAgentResponseBody';
16
19
  export { ListCustomAgentToolsResponseBodyData } from './ListCustomAgentToolsResponseBody';
17
20
  export { ModifyInstanceAuthConfigRequestConfigList } from './ModifyInstanceAuthConfigRequest';
18
21
  export { ModifyInstanceRAGConfigRequestConfigList } from './ModifyInstanceRagconfigRequest';
19
22
  export { ModifyInstanceStorageConfigRequestConfigList } from './ModifyInstanceStorageConfigRequest';
23
+ export { UpdateCustomAgentResponseBodySkills } from './UpdateCustomAgentResponseBody';
20
24
  export { ChatMessagesRequest } from './ChatMessagesRequest';
21
25
  export { ChatMessagesShrinkRequest } from './ChatMessagesShrinkRequest';
22
26
  export { ChatMessagesResponseBody } from './ChatMessagesResponseBody';