@alicloud/agentloop20260520 2.5.2 → 2.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.
Files changed (73) hide show
  1. package/dist/client.d.ts +56 -2
  2. package/dist/client.js +168 -2
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/GetExperimentPlanResponseBody.d.ts +3 -0
  5. package/dist/models/GetExperimentPlanResponseBody.js.map +1 -1
  6. package/dist/models/ListEvaluationTasksRequest.d.ts +6 -6
  7. package/dist/models/ListEvaluationTasksResponseBody.d.ts +10 -10
  8. package/dist/models/ListTagResourcesRequest.d.ts +72 -0
  9. package/dist/models/ListTagResourcesRequest.js +91 -0
  10. package/dist/models/ListTagResourcesRequest.js.map +1 -0
  11. package/dist/models/ListTagResourcesResponse.d.ts +19 -0
  12. package/dist/models/ListTagResourcesResponse.js +69 -0
  13. package/dist/models/ListTagResourcesResponse.js.map +1 -0
  14. package/dist/models/ListTagResourcesResponseBody.d.ts +86 -0
  15. package/dist/models/ListTagResourcesResponseBody.js +90 -0
  16. package/dist/models/ListTagResourcesResponseBody.js.map +1 -0
  17. package/dist/models/ListTagResourcesShrinkRequest.d.ts +44 -0
  18. package/dist/models/ListTagResourcesShrinkRequest.js +64 -0
  19. package/dist/models/ListTagResourcesShrinkRequest.js.map +1 -0
  20. package/dist/models/RunStrategies.d.ts +9 -0
  21. package/dist/models/RunStrategies.js +6 -0
  22. package/dist/models/RunStrategies.js.map +1 -1
  23. package/dist/models/SearchContextRequest.d.ts +10 -10
  24. package/dist/models/SearchContextResponseBody.d.ts +32 -6
  25. package/dist/models/SearchContextResponseBody.js.map +1 -1
  26. package/dist/models/SelectedDataStrategy.d.ts +39 -0
  27. package/dist/models/SelectedDataStrategy.js +65 -0
  28. package/dist/models/SelectedDataStrategy.js.map +1 -0
  29. package/dist/models/TagResourcesRequest.d.ts +79 -0
  30. package/dist/models/TagResourcesRequest.js +89 -0
  31. package/dist/models/TagResourcesRequest.js.map +1 -0
  32. package/dist/models/TagResourcesResponse.d.ts +19 -0
  33. package/dist/models/TagResourcesResponse.js +69 -0
  34. package/dist/models/TagResourcesResponse.js.map +1 -0
  35. package/dist/models/TagResourcesResponseBody.d.ts +21 -0
  36. package/dist/models/TagResourcesResponseBody.js +58 -0
  37. package/dist/models/TagResourcesResponseBody.js.map +1 -0
  38. package/dist/models/UntagResourcesRequest.d.ts +49 -0
  39. package/dist/models/UntagResourcesRequest.js +70 -0
  40. package/dist/models/UntagResourcesRequest.js.map +1 -0
  41. package/dist/models/UntagResourcesResponse.d.ts +19 -0
  42. package/dist/models/UntagResourcesResponse.js +69 -0
  43. package/dist/models/UntagResourcesResponse.js.map +1 -0
  44. package/dist/models/UntagResourcesResponseBody.d.ts +21 -0
  45. package/dist/models/UntagResourcesResponseBody.js +58 -0
  46. package/dist/models/UntagResourcesResponseBody.js.map +1 -0
  47. package/dist/models/UntagResourcesShrinkRequest.d.ts +49 -0
  48. package/dist/models/UntagResourcesShrinkRequest.js +64 -0
  49. package/dist/models/UntagResourcesShrinkRequest.js.map +1 -0
  50. package/dist/models/model.d.ts +15 -0
  51. package/dist/models/model.js +38 -7
  52. package/dist/models/model.js.map +1 -1
  53. package/package.json +1 -1
  54. package/src/client.ts +189 -2
  55. package/src/models/GetExperimentPlanResponseBody.ts +3 -0
  56. package/src/models/ListEvaluationTasksRequest.ts +6 -6
  57. package/src/models/ListEvaluationTasksResponseBody.ts +10 -10
  58. package/src/models/ListTagResourcesRequest.ts +109 -0
  59. package/src/models/ListTagResourcesResponse.ts +40 -0
  60. package/src/models/ListTagResourcesResponseBody.ts +122 -0
  61. package/src/models/ListTagResourcesShrinkRequest.ts +63 -0
  62. package/src/models/RunStrategies.ts +14 -0
  63. package/src/models/SearchContextRequest.ts +10 -10
  64. package/src/models/SearchContextResponseBody.ts +32 -6
  65. package/src/models/SelectedDataStrategy.ts +59 -0
  66. package/src/models/TagResourcesRequest.ts +114 -0
  67. package/src/models/TagResourcesResponse.ts +40 -0
  68. package/src/models/TagResourcesResponseBody.ts +34 -0
  69. package/src/models/UntagResourcesRequest.ts +74 -0
  70. package/src/models/UntagResourcesResponse.ts +40 -0
  71. package/src/models/UntagResourcesResponseBody.ts +34 -0
  72. package/src/models/UntagResourcesShrinkRequest.ts +68 -0
  73. package/src/models/model.ts +15 -0
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class ListEvaluationTasksRequest extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The AgentSpace name.
5
+ * The name of the AgentSpace.
6
6
  *
7
7
  * @example
8
8
  * prod-agentspace
@@ -10,7 +10,7 @@ export declare class ListEvaluationTasksRequest extends $dara.Model {
10
10
  agentSpace?: string;
11
11
  /**
12
12
  * @remarks
13
- * The filter condition for the task source. If this parameter is not specified, tasks from the default source are queried.
13
+ * The filter condition for the task source. If not specified, tasks from the default source are queried.
14
14
  *
15
15
  * @example
16
16
  * default
@@ -18,7 +18,7 @@ export declare class ListEvaluationTasksRequest extends $dara.Model {
18
18
  channel?: string;
19
19
  /**
20
20
  * @remarks
21
- * The data source type of the evaluation object. Set this parameter to `trace` for trace-based evaluation.
21
+ * The data source type of the evaluation object. Use trace for trace evaluation.
22
22
  *
23
23
  * @example
24
24
  * trace
@@ -26,7 +26,7 @@ export declare class ListEvaluationTasksRequest extends $dara.Model {
26
26
  dataType?: string;
27
27
  /**
28
28
  * @remarks
29
- * The number of entries per page. Default value: 20. Maximum value: 100.
29
+ * The number of entries to return per page. The default value is 20, and the maximum value is 100.
30
30
  *
31
31
  * @example
32
32
  * 20
@@ -50,7 +50,7 @@ export declare class ListEvaluationTasksRequest extends $dara.Model {
50
50
  status?: string;
51
51
  /**
52
52
  * @remarks
53
- * The evaluation task mode. If this parameter is not specified, the default value is `batch`.
53
+ * The mode of the evaluation task. If not specified, the backend defaults to batch.
54
54
  *
55
55
  * @example
56
56
  * batch
@@ -58,7 +58,7 @@ export declare class ListEvaluationTasksRequest extends $dara.Model {
58
58
  taskMode?: string;
59
59
  /**
60
60
  * @remarks
61
- * The fuzzy match condition for the task name.
61
+ * The fuzzy search condition for the task name.
62
62
  *
63
63
  * @example
64
64
  * trace_task_completion_eval
@@ -13,7 +13,7 @@ export declare class ListEvaluationTasksResponseBodyEvaluationTasks extends $dar
13
13
  };
14
14
  /**
15
15
  * @remarks
16
- * The creation time, in seconds-level UNIX timestamp.
16
+ * The creation time, represented as a UNIX timestamp in seconds.
17
17
  *
18
18
  * @example
19
19
  * 1782816000
@@ -29,15 +29,15 @@ export declare class ListEvaluationTasksResponseBodyEvaluationTasks extends $dar
29
29
  dataType?: string;
30
30
  /**
31
31
  * @remarks
32
- * The description of the evaluation task.
32
+ * The evaluation task description.
33
33
  *
34
34
  * @example
35
- * Evaluate the task completion of the online Agent trace
35
+ * Evaluate the completion rate of online agent trace tasks
36
36
  */
37
37
  description?: string;
38
38
  /**
39
39
  * @remarks
40
- * The evaluator configuration summary, in JSON string format.
40
+ * The evaluator configuration summary, as a JSON string.
41
41
  *
42
42
  * @example
43
43
  * [{"evaluatorRef":"Builtin.agent_task_completion"}]
@@ -45,7 +45,7 @@ export declare class ListEvaluationTasksResponseBodyEvaluationTasks extends $dar
45
45
  evaluators?: string;
46
46
  /**
47
47
  * @remarks
48
- * The structured run strategy configuration, including the parsed backfill strategy and continuous evaluation strategy.
48
+ * The structured configuration of the run strategy, including the parsed backfill strategy and continuous evaluation strategy.
49
49
  *
50
50
  * @example
51
51
  * {"backfill":{"enabled":true,"startTime":1782816000000,"endTime":1782902400000},"continuous":{"enabled":true,"intervalUnit":"HOUR","intervalValue":1,"dataDelayMinutes":5}}
@@ -61,7 +61,7 @@ export declare class ListEvaluationTasksResponseBodyEvaluationTasks extends $dar
61
61
  status?: string;
62
62
  /**
63
63
  * @remarks
64
- * The key-value pairs of task tags. This parameter is empty if no tags are set.
64
+ * The key-value pairs of task tags. Empty if not set.
65
65
  *
66
66
  * @example
67
67
  * {"serviceId":"checkout-service","env":"prod"}
@@ -95,7 +95,7 @@ export declare class ListEvaluationTasksResponseBodyEvaluationTasks extends $dar
95
95
  taskName?: string;
96
96
  /**
97
97
  * @remarks
98
- * The last update time, in seconds-level UNIX timestamp.
98
+ * The last update time, represented as a UNIX timestamp in seconds.
99
99
  *
100
100
  * @example
101
101
  * 1782816600
@@ -123,7 +123,7 @@ export declare class ListEvaluationTasksResponseBody extends $dara.Model {
123
123
  evaluationTasks?: ListEvaluationTasksResponseBodyEvaluationTasks[];
124
124
  /**
125
125
  * @remarks
126
- * The number of entries per page used in this request.
126
+ * The number of entries per page used for this request.
127
127
  *
128
128
  * @example
129
129
  * 20
@@ -131,7 +131,7 @@ export declare class ListEvaluationTasksResponseBody extends $dara.Model {
131
131
  maxResults?: number;
132
132
  /**
133
133
  * @remarks
134
- * The pagination token for the next page. An empty value indicates that no more pages are available.
134
+ * The pagination token for the next page. An empty value indicates that there is no next page.
135
135
  *
136
136
  * @example
137
137
  * eyJsYXN0SWQiOjEwMSwib2Zmc2V0IjoyMH0=
@@ -147,7 +147,7 @@ export declare class ListEvaluationTasksResponseBody extends $dara.Model {
147
147
  requestId?: string;
148
148
  /**
149
149
  * @remarks
150
- * The total number of records. The total count is calculated only on the first page. This value may be empty on subsequent pages.
150
+ * The total number of records. The backend queries the total count only on the first page, so this field may be empty on subsequent pages.
151
151
  *
152
152
  * @example
153
153
  * 126
@@ -0,0 +1,72 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class ListTagResourcesRequestTag extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The tag key.
6
+ *
7
+ * @example
8
+ * key1
9
+ */
10
+ key?: string;
11
+ /**
12
+ * @remarks
13
+ * The tag value.
14
+ *
15
+ * @example
16
+ * value1
17
+ */
18
+ value?: string;
19
+ static names(): {
20
+ [key: string]: string;
21
+ };
22
+ static types(): {
23
+ [key: string]: any;
24
+ };
25
+ validate(): void;
26
+ constructor(map?: {
27
+ [key: string]: any;
28
+ });
29
+ }
30
+ export declare class ListTagResourcesRequest extends $dara.Model {
31
+ /**
32
+ * @remarks
33
+ * The pagination token. An empty value indicates that no additional pages exist.
34
+ *
35
+ * @example
36
+ * eyJuZXh0IjoiNDAifQ==
37
+ */
38
+ nextToken?: string;
39
+ /**
40
+ * @remarks
41
+ * The list of resource IDs.
42
+ *
43
+ * @example
44
+ * ["space-a","space-b"]
45
+ */
46
+ resourceId?: string[];
47
+ /**
48
+ * @remarks
49
+ * The resource type. Set the value to agentspace.
50
+ *
51
+ * This parameter is required.
52
+ *
53
+ * @example
54
+ * agentspace
55
+ */
56
+ resourceType?: string;
57
+ /**
58
+ * @remarks
59
+ * The tag filter conditions. Multiple conditions are combined with the AND operator. At least one of resourceId and tag must be specified.
60
+ */
61
+ tag?: ListTagResourcesRequestTag[];
62
+ static names(): {
63
+ [key: string]: string;
64
+ };
65
+ static types(): {
66
+ [key: string]: any;
67
+ };
68
+ validate(): void;
69
+ constructor(map?: {
70
+ [key: string]: any;
71
+ });
72
+ }
@@ -0,0 +1,91 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.ListTagResourcesRequest = exports.ListTagResourcesRequestTag = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class ListTagResourcesRequestTag extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ key: 'key',
43
+ value: 'value',
44
+ };
45
+ }
46
+ static types() {
47
+ return {
48
+ key: 'string',
49
+ value: 'string',
50
+ };
51
+ }
52
+ validate() {
53
+ super.validate();
54
+ }
55
+ constructor(map) {
56
+ super(map);
57
+ }
58
+ }
59
+ exports.ListTagResourcesRequestTag = ListTagResourcesRequestTag;
60
+ class ListTagResourcesRequest extends $dara.Model {
61
+ static names() {
62
+ return {
63
+ nextToken: 'nextToken',
64
+ resourceId: 'resourceId',
65
+ resourceType: 'resourceType',
66
+ tag: 'tag',
67
+ };
68
+ }
69
+ static types() {
70
+ return {
71
+ nextToken: 'string',
72
+ resourceId: { 'type': 'array', 'itemType': 'string' },
73
+ resourceType: 'string',
74
+ tag: { 'type': 'array', 'itemType': ListTagResourcesRequestTag },
75
+ };
76
+ }
77
+ validate() {
78
+ if (Array.isArray(this.resourceId)) {
79
+ $dara.Model.validateArray(this.resourceId);
80
+ }
81
+ if (Array.isArray(this.tag)) {
82
+ $dara.Model.validateArray(this.tag);
83
+ }
84
+ super.validate();
85
+ }
86
+ constructor(map) {
87
+ super(map);
88
+ }
89
+ }
90
+ exports.ListTagResourcesRequest = ListTagResourcesRequest;
91
+ //# sourceMappingURL=ListTagResourcesRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":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,EAAE,CAAC;YAC3B,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACtC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA/DD,0DA+DC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { ListTagResourcesResponseBody } from "./ListTagResourcesResponseBody";
3
+ export declare class ListTagResourcesResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: ListTagResourcesResponseBody;
9
+ static names(): {
10
+ [key: string]: string;
11
+ };
12
+ static types(): {
13
+ [key: string]: any;
14
+ };
15
+ validate(): void;
16
+ constructor(map?: {
17
+ [key: string]: any;
18
+ });
19
+ }
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.ListTagResourcesResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const ListTagResourcesResponseBody_1 = require("./ListTagResourcesResponseBody");
40
+ class ListTagResourcesResponse extends $dara.Model {
41
+ static names() {
42
+ return {
43
+ headers: 'headers',
44
+ statusCode: 'statusCode',
45
+ body: 'body',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
51
+ statusCode: 'number',
52
+ body: ListTagResourcesResponseBody_1.ListTagResourcesResponseBody,
53
+ };
54
+ }
55
+ validate() {
56
+ if (this.headers) {
57
+ $dara.Model.validateMap(this.headers);
58
+ }
59
+ if (this.body && typeof this.body.validate === 'function') {
60
+ this.body.validate();
61
+ }
62
+ super.validate();
63
+ }
64
+ constructor(map) {
65
+ super(map);
66
+ }
67
+ }
68
+ exports.ListTagResourcesResponse = ListTagResourcesResponse;
69
+ //# sourceMappingURL=ListTagResourcesResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListTagResourcesResponse.js","sourceRoot":"","sources":["../../src/models/ListTagResourcesResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,iFAA8E;AAG9E,MAAa,wBAAyB,SAAQ,KAAK,CAAC,KAAK;IAIvD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,2DAA4B;SACnC,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,4DAiCC"}
@@ -0,0 +1,86 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class ListTagResourcesResponseBodyTagResources extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The resource ID.
6
+ *
7
+ * @example
8
+ * space-a
9
+ */
10
+ resourceId?: string;
11
+ /**
12
+ * @remarks
13
+ * The resource type. Set the value to agentspace.
14
+ *
15
+ * @example
16
+ * agentspace
17
+ */
18
+ resourceType?: string;
19
+ /**
20
+ * @remarks
21
+ * The tag key.
22
+ *
23
+ * @example
24
+ * key1
25
+ */
26
+ tagKey?: string;
27
+ /**
28
+ * @remarks
29
+ * The tag value.
30
+ *
31
+ * @example
32
+ * value1
33
+ */
34
+ tagValue?: string;
35
+ static names(): {
36
+ [key: string]: string;
37
+ };
38
+ static types(): {
39
+ [key: string]: any;
40
+ };
41
+ validate(): void;
42
+ constructor(map?: {
43
+ [key: string]: any;
44
+ });
45
+ }
46
+ export declare class ListTagResourcesResponseBody extends $dara.Model {
47
+ /**
48
+ * @remarks
49
+ * The pagination token. An empty value indicates that no additional pages exist.
50
+ *
51
+ * @example
52
+ * eyJsYXN0SWQiOjEyMH0=
53
+ */
54
+ nextToken?: string;
55
+ /**
56
+ * @remarks
57
+ * The request ID.
58
+ *
59
+ * @example
60
+ * EB27D183-8F6C-5C5A-A6A3-E0508AF54F78
61
+ */
62
+ requestId?: string;
63
+ /**
64
+ * @remarks
65
+ * The list of tag information.
66
+ *
67
+ * @example
68
+ * [{
69
+ * "resourceType": "agentspace",
70
+ * "resourceId": "space-a",
71
+ * "tagKey": "key1",
72
+ * "tagValue": "value1"
73
+ * }]
74
+ */
75
+ tagResources?: ListTagResourcesResponseBodyTagResources[];
76
+ static names(): {
77
+ [key: string]: string;
78
+ };
79
+ static types(): {
80
+ [key: string]: any;
81
+ };
82
+ validate(): void;
83
+ constructor(map?: {
84
+ [key: string]: any;
85
+ });
86
+ }
@@ -0,0 +1,90 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.ListTagResourcesResponseBody = exports.ListTagResourcesResponseBodyTagResources = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class ListTagResourcesResponseBodyTagResources extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ resourceId: 'resourceId',
43
+ resourceType: 'resourceType',
44
+ tagKey: 'tagKey',
45
+ tagValue: 'tagValue',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ resourceId: 'string',
51
+ resourceType: 'string',
52
+ tagKey: 'string',
53
+ tagValue: 'string',
54
+ };
55
+ }
56
+ validate() {
57
+ super.validate();
58
+ }
59
+ constructor(map) {
60
+ super(map);
61
+ }
62
+ }
63
+ exports.ListTagResourcesResponseBodyTagResources = ListTagResourcesResponseBodyTagResources;
64
+ class ListTagResourcesResponseBody extends $dara.Model {
65
+ static names() {
66
+ return {
67
+ nextToken: 'nextToken',
68
+ requestId: 'requestId',
69
+ tagResources: 'tagResources',
70
+ };
71
+ }
72
+ static types() {
73
+ return {
74
+ nextToken: 'string',
75
+ requestId: 'string',
76
+ tagResources: { 'type': 'array', 'itemType': ListTagResourcesResponseBodyTagResources },
77
+ };
78
+ }
79
+ validate() {
80
+ if (Array.isArray(this.tagResources)) {
81
+ $dara.Model.validateArray(this.tagResources);
82
+ }
83
+ super.validate();
84
+ }
85
+ constructor(map) {
86
+ super(map);
87
+ }
88
+ }
89
+ exports.ListTagResourcesResponseBody = ListTagResourcesResponseBody;
90
+ //# sourceMappingURL=ListTagResourcesResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":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CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAxDD,oEAwDC"}
@@ -0,0 +1,44 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class ListTagResourcesShrinkRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The pagination token. An empty value indicates that no additional pages exist.
6
+ *
7
+ * @example
8
+ * eyJuZXh0IjoiNDAifQ==
9
+ */
10
+ nextToken?: string;
11
+ /**
12
+ * @remarks
13
+ * The list of resource IDs.
14
+ *
15
+ * @example
16
+ * ["space-a","space-b"]
17
+ */
18
+ resourceIdShrink?: string;
19
+ /**
20
+ * @remarks
21
+ * The resource type. Set the value to agentspace.
22
+ *
23
+ * This parameter is required.
24
+ *
25
+ * @example
26
+ * agentspace
27
+ */
28
+ resourceType?: string;
29
+ /**
30
+ * @remarks
31
+ * The tag filter conditions. Multiple conditions are combined with the AND operator. At least one of resourceId and tag must be specified.
32
+ */
33
+ tagShrink?: string;
34
+ static names(): {
35
+ [key: string]: string;
36
+ };
37
+ static types(): {
38
+ [key: string]: any;
39
+ };
40
+ validate(): void;
41
+ constructor(map?: {
42
+ [key: string]: any;
43
+ });
44
+ }
@@ -0,0 +1,64 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.ListTagResourcesShrinkRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class ListTagResourcesShrinkRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ nextToken: 'nextToken',
43
+ resourceIdShrink: 'resourceId',
44
+ resourceType: 'resourceType',
45
+ tagShrink: 'tag',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ nextToken: 'string',
51
+ resourceIdShrink: 'string',
52
+ resourceType: 'string',
53
+ tagShrink: 'string',
54
+ };
55
+ }
56
+ validate() {
57
+ super.validate();
58
+ }
59
+ constructor(map) {
60
+ super(map);
61
+ }
62
+ }
63
+ exports.ListTagResourcesShrinkRequest = ListTagResourcesShrinkRequest;
64
+ //# sourceMappingURL=ListTagResourcesShrinkRequest.js.map