@alicloud/agentcore20260804 2.1.1 → 2.2.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 (117) hide show
  1. package/dist/client.d.ts +102 -36
  2. package/dist/client.js +189 -36
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateManagedAgentRequest.d.ts +150 -25
  5. package/dist/models/CreateManagedAgentRequest.js +85 -1
  6. package/dist/models/CreateManagedAgentRequest.js.map +1 -1
  7. package/dist/models/CreateManagedAgentResponseBody.d.ts +259 -32
  8. package/dist/models/CreateManagedAgentResponseBody.js +145 -1
  9. package/dist/models/CreateManagedAgentResponseBody.js.map +1 -1
  10. package/dist/models/CreateManagedAgentShrinkRequest.d.ts +1 -1
  11. package/dist/models/CreateSkillDraftRequest.d.ts +1 -1
  12. package/dist/models/CreateSkillDraftResponseBody.d.ts +1 -1
  13. package/dist/models/DataResourceValue.d.ts +15 -15
  14. package/dist/models/DataResourceValue.js +4 -4
  15. package/dist/models/DataResourceValue.js.map +1 -1
  16. package/dist/models/DownloadSkillVersionViaOssResponseBody.d.ts +1 -1
  17. package/dist/models/ForcePublishSkillVersionRequest.d.ts +8 -0
  18. package/dist/models/ForcePublishSkillVersionRequest.js +2 -0
  19. package/dist/models/ForcePublishSkillVersionRequest.js.map +1 -1
  20. package/dist/models/GetAgentSpecLatestResponseBody.d.ts +47 -2
  21. package/dist/models/GetAgentSpecLatestResponseBody.js +29 -1
  22. package/dist/models/GetAgentSpecLatestResponseBody.js.map +1 -1
  23. package/dist/models/GetManagedAgentResponseBody.d.ts +260 -31
  24. package/dist/models/GetManagedAgentResponseBody.js +145 -1
  25. package/dist/models/GetManagedAgentResponseBody.js.map +1 -1
  26. package/dist/models/GetSkillDetailResponseBody.d.ts +20 -4
  27. package/dist/models/GetSkillDetailResponseBody.js +4 -0
  28. package/dist/models/GetSkillDetailResponseBody.js.map +1 -1
  29. package/dist/models/GetSkillVersionDetailResponseBody.d.ts +1 -1
  30. package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlRequest.d.ts +43 -0
  31. package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlRequest.js +62 -0
  32. package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlRequest.js.map +1 -0
  33. package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponse.d.ts +19 -0
  34. package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponse.js +69 -0
  35. package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponse.js.map +1 -0
  36. package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponseBody.d.ts +78 -0
  37. package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponseBody.js +90 -0
  38. package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponseBody.js.map +1 -0
  39. package/dist/models/ListAgentSpecsRequest.d.ts +4 -4
  40. package/dist/models/ListAgentSpecsResponseBody.d.ts +49 -2
  41. package/dist/models/ListAgentSpecsResponseBody.js +29 -1
  42. package/dist/models/ListAgentSpecsResponseBody.js.map +1 -1
  43. package/dist/models/ListSkillReferencesRequest.d.ts +45 -0
  44. package/dist/models/ListSkillReferencesRequest.js +64 -0
  45. package/dist/models/ListSkillReferencesRequest.js.map +1 -0
  46. package/dist/models/ListSkillReferencesResponse.d.ts +19 -0
  47. package/dist/models/ListSkillReferencesResponse.js +69 -0
  48. package/dist/models/ListSkillReferencesResponse.js.map +1 -0
  49. package/dist/models/ListSkillReferencesResponseBody.d.ts +135 -0
  50. package/dist/models/ListSkillReferencesResponseBody.js +122 -0
  51. package/dist/models/ListSkillReferencesResponseBody.js.map +1 -0
  52. package/dist/models/ListSkillsRequest.d.ts +2 -2
  53. package/dist/models/ListSkillsResponseBody.d.ts +15 -3
  54. package/dist/models/ListSkillsResponseBody.js +2 -0
  55. package/dist/models/ListSkillsResponseBody.js.map +1 -1
  56. package/dist/models/PrecheckSkillUploadViaOssResponseBody.d.ts +26 -2
  57. package/dist/models/PrecheckSkillUploadViaOssResponseBody.js +6 -0
  58. package/dist/models/PrecheckSkillUploadViaOssResponseBody.js.map +1 -1
  59. package/dist/models/PublishSkillVersionRequest.d.ts +8 -0
  60. package/dist/models/PublishSkillVersionRequest.js +2 -0
  61. package/dist/models/PublishSkillVersionRequest.js.map +1 -1
  62. package/dist/models/UpdateManagedAgentRequest.d.ts +154 -31
  63. package/dist/models/UpdateManagedAgentRequest.js +85 -1
  64. package/dist/models/UpdateManagedAgentRequest.js.map +1 -1
  65. package/dist/models/UpdateManagedAgentResponseBody.d.ts +263 -36
  66. package/dist/models/UpdateManagedAgentResponseBody.js +145 -1
  67. package/dist/models/UpdateManagedAgentResponseBody.js.map +1 -1
  68. package/dist/models/UpdateManagedAgentShrinkRequest.d.ts +1 -1
  69. package/dist/models/UpdateSkillLabelsRequest.d.ts +1 -1
  70. package/dist/models/UploadSkillViaOssRequest.d.ts +1 -1
  71. package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationRequest.d.ts +23 -0
  72. package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationRequest.js +58 -0
  73. package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationRequest.js.map +1 -0
  74. package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationResponse.d.ts +19 -0
  75. package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationResponse.js +69 -0
  76. package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationResponse.js.map +1 -0
  77. package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationResponseBody.d.ts +78 -0
  78. package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationResponseBody.js +90 -0
  79. package/dist/models/VerifyWorkspaceAgenticFsMountRamAuthorizationResponseBody.js.map +1 -0
  80. package/dist/models/model.d.ts +36 -0
  81. package/dist/models/model.js +216 -143
  82. package/dist/models/model.js.map +1 -1
  83. package/package.json +1 -1
  84. package/src/client.ts +203 -36
  85. package/src/models/CreateManagedAgentRequest.ts +207 -25
  86. package/src/models/CreateManagedAgentResponseBody.ts +358 -32
  87. package/src/models/CreateManagedAgentShrinkRequest.ts +1 -1
  88. package/src/models/CreateSkillDraftRequest.ts +1 -1
  89. package/src/models/CreateSkillDraftResponseBody.ts +1 -1
  90. package/src/models/DataResourceValue.ts +17 -17
  91. package/src/models/DownloadSkillVersionViaOssResponseBody.ts +1 -1
  92. package/src/models/ForcePublishSkillVersionRequest.ts +10 -0
  93. package/src/models/GetAgentSpecLatestResponseBody.ts +66 -2
  94. package/src/models/GetManagedAgentResponseBody.ts +359 -31
  95. package/src/models/GetSkillDetailResponseBody.ts +24 -4
  96. package/src/models/GetSkillVersionDetailResponseBody.ts +1 -1
  97. package/src/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlRequest.ts +60 -0
  98. package/src/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponse.ts +40 -0
  99. package/src/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponseBody.ts +114 -0
  100. package/src/models/ListAgentSpecsRequest.ts +4 -4
  101. package/src/models/ListAgentSpecsResponseBody.ts +68 -2
  102. package/src/models/ListSkillReferencesRequest.ts +64 -0
  103. package/src/models/ListSkillReferencesResponse.ts +40 -0
  104. package/src/models/ListSkillReferencesResponseBody.ts +194 -0
  105. package/src/models/ListSkillsRequest.ts +2 -2
  106. package/src/models/ListSkillsResponseBody.ts +17 -3
  107. package/src/models/PrecheckSkillUploadViaOssResponseBody.ts +32 -2
  108. package/src/models/PublishSkillVersionRequest.ts +10 -0
  109. package/src/models/UpdateManagedAgentRequest.ts +211 -31
  110. package/src/models/UpdateManagedAgentResponseBody.ts +362 -36
  111. package/src/models/UpdateManagedAgentShrinkRequest.ts +1 -1
  112. package/src/models/UpdateSkillLabelsRequest.ts +1 -1
  113. package/src/models/UploadSkillViaOssRequest.ts +1 -1
  114. package/src/models/VerifyWorkspaceAgenticFsMountRamAuthorizationRequest.ts +36 -0
  115. package/src/models/VerifyWorkspaceAgenticFsMountRamAuthorizationResponse.ts +40 -0
  116. package/src/models/VerifyWorkspaceAgenticFsMountRamAuthorizationResponseBody.ts +114 -0
  117. package/src/models/model.ts +36 -0
@@ -19,6 +19,14 @@ export class GetSkillDetailResponseBodyDataVersions extends $dara.Model {
19
19
  * Update documentation
20
20
  */
21
21
  commitMsg?: string;
22
+ /**
23
+ * @remarks
24
+ * The MD5 checksum of the Skill content package for this version, used to verify content consistency.
25
+ *
26
+ * @example
27
+ * 9e107d9d372bb6826bd81d3542a419d6
28
+ */
29
+ contentMd5?: string;
22
30
  /**
23
31
  * @remarks
24
32
  * The creation time. This value is a UNIX timestamp in milliseconds.
@@ -37,7 +45,7 @@ export class GetSkillDetailResponseBodyDataVersions extends $dara.Model {
37
45
  description?: string;
38
46
  /**
39
47
  * @remarks
40
- * The download count.
48
+ * The number of downloads.
41
49
  *
42
50
  * @example
43
51
  * 10
@@ -79,6 +87,7 @@ export class GetSkillDetailResponseBodyDataVersions extends $dara.Model {
79
87
  return {
80
88
  author: 'author',
81
89
  commitMsg: 'commitMsg',
90
+ contentMd5: 'contentMd5',
82
91
  createTime: 'createTime',
83
92
  description: 'description',
84
93
  downloadCount: 'downloadCount',
@@ -93,6 +102,7 @@ export class GetSkillDetailResponseBodyDataVersions extends $dara.Model {
93
102
  return {
94
103
  author: 'string',
95
104
  commitMsg: 'string',
105
+ contentMd5: 'string',
96
106
  createTime: 'number',
97
107
  description: 'string',
98
108
  downloadCount: 'number',
@@ -115,7 +125,7 @@ export class GetSkillDetailResponseBodyDataVersions extends $dara.Model {
115
125
  export class GetSkillDetailResponseBodyData extends $dara.Model {
116
126
  /**
117
127
  * @remarks
118
- * The business tag JSON array string.
128
+ * The business label JSON array string.
119
129
  *
120
130
  * @example
121
131
  * Sample property value
@@ -139,7 +149,15 @@ export class GetSkillDetailResponseBodyData extends $dara.Model {
139
149
  downloadCount?: number;
140
150
  /**
141
151
  * @remarks
142
- * The version currently being edited.
152
+ * The draft pattern. HEAD indicates that the Skill has a persistent draft. VERSIONED indicates that each edit creates a draft with a version number. The server determines the pattern, and the invoker uses it for routing what to do next.
153
+ *
154
+ * @example
155
+ * HEAD
156
+ */
157
+ draftMode?: string;
158
+ /**
159
+ * @remarks
160
+ * The version being edited.
143
161
  *
144
162
  * @example
145
163
  * 1.0.0
@@ -189,7 +207,7 @@ export class GetSkillDetailResponseBodyData extends $dara.Model {
189
207
  owner?: string;
190
208
  /**
191
209
  * @remarks
192
- * The version currently under review.
210
+ * The version under review.
193
211
  *
194
212
  * @example
195
213
  * 1.0.0
@@ -234,6 +252,7 @@ export class GetSkillDetailResponseBodyData extends $dara.Model {
234
252
  bizTags: 'bizTags',
235
253
  description: 'description',
236
254
  downloadCount: 'downloadCount',
255
+ draftMode: 'draftMode',
237
256
  editingVersion: 'editingVersion',
238
257
  enable: 'enable',
239
258
  from: 'from',
@@ -255,6 +274,7 @@ export class GetSkillDetailResponseBodyData extends $dara.Model {
255
274
  bizTags: 'string',
256
275
  description: 'string',
257
276
  downloadCount: 'number',
277
+ draftMode: 'string',
258
278
  editingVersion: 'string',
259
279
  enable: 'boolean',
260
280
  from: 'string',
@@ -22,7 +22,7 @@ export class GetSkillVersionDetailResponseBodyData extends $dara.Model {
22
22
  name?: string;
23
23
  /**
24
24
  * @remarks
25
- * The resource mapping (key is the resource name).
25
+ * The resource mapping in which the key is the resource name.
26
26
  */
27
27
  resource?: { [key: string]: DataResourceValue };
28
28
  /**
@@ -0,0 +1,60 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetWorkspaceAgenticFsMountRamAuthorizeUrlRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The ID of the target NAS AccessPoint. This parameter corresponds to the server and fileSystemId parameters.
9
+ *
10
+ * This parameter is required.
11
+ *
12
+ * @example
13
+ * ap-0123456789abcdef0
14
+ */
15
+ accessPointId?: string;
16
+ /**
17
+ * @remarks
18
+ * The ID of the NAS file system to which the target AccessPoint belongs. This parameter corresponds to the server and accessPointId parameters.
19
+ *
20
+ * This parameter is required.
21
+ *
22
+ * @example
23
+ * 0123456789
24
+ */
25
+ fileSystemId?: string;
26
+ /**
27
+ * @remarks
28
+ * The domain name of the target AccessPoint, obtained from the DomainName field of the NAS ListAccessPoints operation. Do not include the protocol, port, or path.
29
+ *
30
+ * This parameter is required.
31
+ *
32
+ * @example
33
+ * ap-0123456789abcdef0.0123456789-vlm36.cn-hangzhou.nas.aliyuncs.com
34
+ */
35
+ server?: string;
36
+ static names(): { [key: string]: string } {
37
+ return {
38
+ accessPointId: 'accessPointId',
39
+ fileSystemId: 'fileSystemId',
40
+ server: 'server',
41
+ };
42
+ }
43
+
44
+ static types(): { [key: string]: any } {
45
+ return {
46
+ accessPointId: 'string',
47
+ fileSystemId: 'string',
48
+ server: 'string',
49
+ };
50
+ }
51
+
52
+ validate() {
53
+ super.validate();
54
+ }
55
+
56
+ constructor(map?: { [key: string]: any }) {
57
+ super(map);
58
+ }
59
+ }
60
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { GetWorkspaceAgenticFsMountRamAuthorizeUrlResponseBody } from "./GetWorkspaceAgenticFsMountRamAuthorizeUrlResponseBody";
4
+
5
+
6
+ export class GetWorkspaceAgenticFsMountRamAuthorizeUrlResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: GetWorkspaceAgenticFsMountRamAuthorizeUrlResponseBody;
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: GetWorkspaceAgenticFsMountRamAuthorizeUrlResponseBody,
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,114 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetWorkspaceAgenticFsMountRamAuthorizeUrlResponseBodyData extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The RAM authorization URL. After opening this URL and completing the authorization, call the verification operation.
9
+ *
10
+ * @example
11
+ * https://ram.console.aliyun.com/authorize?request=%7B%22referrer%22%3A%22AgentCore%22%2C%22payloads%22%3A%5B%7B%22missionId%22%3A%22AgentCore.CustomRoleForOSSObjectRestore%22%2C%22roleName%22%3A%22AgentCoreWorkspaceRoleExample%22%2C%22rolePolicies%22%3A%5B%7B%22policyName%22%3A%22AgentCoreNasMountExample%22%2C%22policyType%22%3A%22Custom%22%2C%22templateId%22%3A%22NasFileSystemClientMount%22%2C%22templateValue%22%3A%7B%22nasFileSystem%22%3A%22acs%3Anas%3Acn-hangzhou%3A1234567890123456%3Afilesystem%2F0123456789%22%2C%22nasAccessPoint%22%3A%22acs%3Anas%3Acn-hangzhou%3A1234567890123456%3Aaccesspoint%2Fap-0123456789abcdef0%22%7D%7D%5D%7D%5D%7D
12
+ */
13
+ authorizeUrl?: string;
14
+ static names(): { [key: string]: string } {
15
+ return {
16
+ authorizeUrl: 'authorizeUrl',
17
+ };
18
+ }
19
+
20
+ static types(): { [key: string]: any } {
21
+ return {
22
+ authorizeUrl: 'string',
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ super.validate();
28
+ }
29
+
30
+ constructor(map?: { [key: string]: any }) {
31
+ super(map);
32
+ }
33
+ }
34
+
35
+ export class GetWorkspaceAgenticFsMountRamAuthorizeUrlResponseBody extends $dara.Model {
36
+ /**
37
+ * @remarks
38
+ * The business status code.
39
+ *
40
+ * @example
41
+ * SUCCESS
42
+ */
43
+ code?: string;
44
+ /**
45
+ * @remarks
46
+ * The response data.
47
+ */
48
+ data?: GetWorkspaceAgenticFsMountRamAuthorizeUrlResponseBodyData;
49
+ /**
50
+ * @remarks
51
+ * The HTTP status code.
52
+ *
53
+ * @example
54
+ * 200
55
+ */
56
+ httpStatusCode?: number;
57
+ /**
58
+ * @remarks
59
+ * The response message.
60
+ *
61
+ * @example
62
+ * success
63
+ */
64
+ message?: string;
65
+ /**
66
+ * @remarks
67
+ * The request ID.
68
+ *
69
+ * @example
70
+ * 550e8400-e29b-41d4-a716-446655440000
71
+ */
72
+ requestId?: string;
73
+ /**
74
+ * @remarks
75
+ * Indicates whether the request was successful.
76
+ *
77
+ * @example
78
+ * true
79
+ */
80
+ success?: boolean;
81
+ static names(): { [key: string]: string } {
82
+ return {
83
+ code: 'code',
84
+ data: 'data',
85
+ httpStatusCode: 'httpStatusCode',
86
+ message: 'message',
87
+ requestId: 'requestId',
88
+ success: 'success',
89
+ };
90
+ }
91
+
92
+ static types(): { [key: string]: any } {
93
+ return {
94
+ code: 'string',
95
+ data: GetWorkspaceAgenticFsMountRamAuthorizeUrlResponseBodyData,
96
+ httpStatusCode: 'number',
97
+ message: 'string',
98
+ requestId: 'string',
99
+ success: 'boolean',
100
+ };
101
+ }
102
+
103
+ validate() {
104
+ if(this.data && typeof (this.data as any).validate === 'function') {
105
+ (this.data as any).validate();
106
+ }
107
+ super.validate();
108
+ }
109
+
110
+ constructor(map?: { [key: string]: any }) {
111
+ super(map);
112
+ }
113
+ }
114
+
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ListAgentSpecsRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The AgentSpec name used as a search keyword. Use this parameter together with the search parameter.
8
+ * The AgentSpec name used as a search keyword. This parameter is used together with the search parameter.
9
9
  *
10
10
  * @example
11
11
  * my-worker
@@ -21,7 +21,7 @@ export class ListAgentSpecsRequest extends $dara.Model {
21
21
  bizTag?: string;
22
22
  /**
23
23
  * @remarks
24
- * The field by which to sort results. Set this parameter to download_count to sort by download count. By default, results are sorted by update time.
24
+ * The field by which to sort the results. Set the value to download_count to sort by download count. By default, results are sorted by update time.
25
25
  *
26
26
  * @example
27
27
  * download_count
@@ -29,7 +29,7 @@ export class ListAgentSpecsRequest extends $dara.Model {
29
29
  orderBy?: string;
30
30
  /**
31
31
  * @remarks
32
- * The owner used to filter results.
32
+ * The owner used to filter the results.
33
33
  *
34
34
  * @example
35
35
  * user1
@@ -53,7 +53,7 @@ export class ListAgentSpecsRequest extends $dara.Model {
53
53
  pageSize?: number;
54
54
  /**
55
55
  * @remarks
56
- * The visibility scope used to filter results. Valid values:
56
+ * The visibility scope used to filter the results. Valid values:
57
57
  *
58
58
  * - PUBLIC
59
59
  * - PRIVATE
@@ -32,6 +32,49 @@ export class ListAgentSpecsResponseBodyDataPageItemsMcpServers extends $dara.Mod
32
32
  }
33
33
  }
34
34
 
35
+ export class ListAgentSpecsResponseBodyDataPageItemsSkillsVersionSelector extends $dara.Model {
36
+ /**
37
+ * @remarks
38
+ * The version selector type. Valid values:
39
+ *
40
+ * - LABEL: selects by label.
41
+ * - VERSION: selects by specific version.
42
+ *
43
+ * @example
44
+ * LABEL
45
+ */
46
+ type?: string;
47
+ /**
48
+ * @remarks
49
+ * The selector value. If the type is LABEL, this value is a label name such as latest. If the type is VERSION, this value is a specific version number.
50
+ *
51
+ * @example
52
+ * latest
53
+ */
54
+ value?: string;
55
+ static names(): { [key: string]: string } {
56
+ return {
57
+ type: 'type',
58
+ value: 'value',
59
+ };
60
+ }
61
+
62
+ static types(): { [key: string]: any } {
63
+ return {
64
+ type: 'string',
65
+ value: 'string',
66
+ };
67
+ }
68
+
69
+ validate() {
70
+ super.validate();
71
+ }
72
+
73
+ constructor(map?: { [key: string]: any }) {
74
+ super(map);
75
+ }
76
+ }
77
+
35
78
  export class ListAgentSpecsResponseBodyDataPageItemsSkills extends $dara.Model {
36
79
  /**
37
80
  * @remarks
@@ -41,19 +84,42 @@ export class ListAgentSpecsResponseBodyDataPageItemsSkills extends $dara.Model {
41
84
  * agentspec-example
42
85
  */
43
86
  name?: string;
87
+ /**
88
+ * @remarks
89
+ * The Skill source type. Valid values:
90
+ *
91
+ * - REFERENCE: references the AI Registry.
92
+ * - STATIC: statically bundled with the package.
93
+ *
94
+ * @example
95
+ * REFERENCE
96
+ */
97
+ sourceType?: string;
98
+ /**
99
+ * @remarks
100
+ * The referenced version selector. If omitted, the default value is LABEL/latest.
101
+ */
102
+ versionSelector?: ListAgentSpecsResponseBodyDataPageItemsSkillsVersionSelector;
44
103
  static names(): { [key: string]: string } {
45
104
  return {
46
105
  name: 'name',
106
+ sourceType: 'sourceType',
107
+ versionSelector: 'versionSelector',
47
108
  };
48
109
  }
49
110
 
50
111
  static types(): { [key: string]: any } {
51
112
  return {
52
113
  name: 'string',
114
+ sourceType: 'string',
115
+ versionSelector: ListAgentSpecsResponseBodyDataPageItemsSkillsVersionSelector,
53
116
  };
54
117
  }
55
118
 
56
119
  validate() {
120
+ if(this.versionSelector && typeof (this.versionSelector as any).validate === 'function') {
121
+ (this.versionSelector as any).validate();
122
+ }
57
123
  super.validate();
58
124
  }
59
125
 
@@ -89,7 +155,7 @@ export class ListAgentSpecsResponseBodyDataPageItems extends $dara.Model {
89
155
  downloadCount?: number;
90
156
  /**
91
157
  * @remarks
92
- * The version currently being edited.
158
+ * The version that is currently being edited.
93
159
  *
94
160
  * @example
95
161
  * 1.0.0
@@ -136,7 +202,7 @@ export class ListAgentSpecsResponseBodyDataPageItems extends $dara.Model {
136
202
  onlineCnt?: number;
137
203
  /**
138
204
  * @remarks
139
- * The version currently under review.
205
+ * The version that is currently under review.
140
206
  *
141
207
  * @example
142
208
  * 1.0.0
@@ -0,0 +1,64 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListSkillReferencesRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The page number, starting from 1. Default value: 1.
9
+ *
10
+ * @example
11
+ * 1
12
+ */
13
+ pageNo?: number;
14
+ /**
15
+ * @remarks
16
+ * The number of entries per page. If this parameter is not specified, the server-side default value is used.
17
+ *
18
+ * @example
19
+ * 20
20
+ */
21
+ pageSize?: number;
22
+ /**
23
+ * @remarks
24
+ * Filters results by reference selector type. Valid values: LABEL and VERSION.
25
+ *
26
+ * @example
27
+ * LABEL
28
+ */
29
+ selectorType?: string;
30
+ /**
31
+ * @remarks
32
+ * Filters results by reference selector value, such as latest, a named label, HEAD, or a specific version.
33
+ *
34
+ * @example
35
+ * HEAD
36
+ */
37
+ selectorValue?: string;
38
+ static names(): { [key: string]: string } {
39
+ return {
40
+ pageNo: 'pageNo',
41
+ pageSize: 'pageSize',
42
+ selectorType: 'selectorType',
43
+ selectorValue: 'selectorValue',
44
+ };
45
+ }
46
+
47
+ static types(): { [key: string]: any } {
48
+ return {
49
+ pageNo: 'number',
50
+ pageSize: 'number',
51
+ selectorType: 'string',
52
+ selectorValue: 'string',
53
+ };
54
+ }
55
+
56
+ validate() {
57
+ super.validate();
58
+ }
59
+
60
+ constructor(map?: { [key: string]: any }) {
61
+ super(map);
62
+ }
63
+ }
64
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { ListSkillReferencesResponseBody } from "./ListSkillReferencesResponseBody";
4
+
5
+
6
+ export class ListSkillReferencesResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: ListSkillReferencesResponseBody;
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: ListSkillReferencesResponseBody,
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
+