@alicloud/dms20250414 3.1.0 → 4.0.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 (33) hide show
  1. package/dist/client.d.ts +0 -30
  2. package/dist/client.js +0 -111
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/model.d.ts +0 -10
  5. package/dist/models/model.js +12 -32
  6. package/dist/models/model.js.map +1 -1
  7. package/package.json +1 -1
  8. package/src/client.ts +0 -128
  9. package/src/models/model.ts +0 -10
  10. package/dist/models/DescribeCustomAgentMonitorMetricsRequest.d.ts +0 -69
  11. package/dist/models/DescribeCustomAgentMonitorMetricsRequest.js +0 -68
  12. package/dist/models/DescribeCustomAgentMonitorMetricsRequest.js.map +0 -1
  13. package/dist/models/DescribeCustomAgentMonitorMetricsResponse.d.ts +0 -19
  14. package/dist/models/DescribeCustomAgentMonitorMetricsResponse.js +0 -69
  15. package/dist/models/DescribeCustomAgentMonitorMetricsResponse.js.map +0 -1
  16. package/dist/models/DescribeCustomAgentMonitorMetricsResponseBody.d.ts +0 -194
  17. package/dist/models/DescribeCustomAgentMonitorMetricsResponseBody.js +0 -136
  18. package/dist/models/DescribeCustomAgentMonitorMetricsResponseBody.js.map +0 -1
  19. package/dist/models/ListCustomAgentMonitorSessionsRequest.d.ts +0 -75
  20. package/dist/models/ListCustomAgentMonitorSessionsRequest.js +0 -70
  21. package/dist/models/ListCustomAgentMonitorSessionsRequest.js.map +0 -1
  22. package/dist/models/ListCustomAgentMonitorSessionsResponse.d.ts +0 -19
  23. package/dist/models/ListCustomAgentMonitorSessionsResponse.js +0 -69
  24. package/dist/models/ListCustomAgentMonitorSessionsResponse.js.map +0 -1
  25. package/dist/models/ListCustomAgentMonitorSessionsResponseBody.d.ts +0 -208
  26. package/dist/models/ListCustomAgentMonitorSessionsResponseBody.js +0 -138
  27. package/dist/models/ListCustomAgentMonitorSessionsResponseBody.js.map +0 -1
  28. package/src/models/DescribeCustomAgentMonitorMetricsRequest.ts +0 -92
  29. package/src/models/DescribeCustomAgentMonitorMetricsResponse.ts +0 -40
  30. package/src/models/DescribeCustomAgentMonitorMetricsResponseBody.ts +0 -267
  31. package/src/models/ListCustomAgentMonitorSessionsRequest.ts +0 -100
  32. package/src/models/ListCustomAgentMonitorSessionsResponse.ts +0 -40
  33. package/src/models/ListCustomAgentMonitorSessionsResponseBody.ts +0 -283
@@ -1,69 +0,0 @@
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.ListCustomAgentMonitorSessionsResponse = void 0;
37
- // This file is auto-generated, don't edit it
38
- const $dara = __importStar(require("@darabonba/typescript"));
39
- const ListCustomAgentMonitorSessionsResponseBody_1 = require("./ListCustomAgentMonitorSessionsResponseBody");
40
- class ListCustomAgentMonitorSessionsResponse 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: ListCustomAgentMonitorSessionsResponseBody_1.ListCustomAgentMonitorSessionsResponseBody,
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.ListCustomAgentMonitorSessionsResponse = ListCustomAgentMonitorSessionsResponse;
69
- //# sourceMappingURL=ListCustomAgentMonitorSessionsResponse.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ListCustomAgentMonitorSessionsResponse.js","sourceRoot":"","sources":["../../src/models/ListCustomAgentMonitorSessionsResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,6GAA0G;AAG1G,MAAa,sCAAuC,SAAQ,KAAK,CAAC,KAAK;IAIrE,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,uFAA0C;SACjD,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,wFAiCC"}
@@ -1,208 +0,0 @@
1
- import * as $dara from '@darabonba/typescript';
2
- export declare class ListCustomAgentMonitorSessionsResponseBodyDataContent extends $dara.Model {
3
- /**
4
- * @remarks
5
- * The Alibaba Cloud UID of the creator.
6
- *
7
- * @example
8
- * 20372822********
9
- */
10
- aliyunUid?: string;
11
- /**
12
- * @remarks
13
- * The display name of the creator.
14
- *
15
- * @example
16
- * HaoY***
17
- */
18
- creatorUserName?: string;
19
- /**
20
- * @remarks
21
- * The custom agent ID.
22
- *
23
- * @example
24
- * ca-4y3ca4khkcu**********ysf
25
- */
26
- customAgentId?: string;
27
- /**
28
- * @remarks
29
- * The number of dislikes for the session.
30
- *
31
- * @example
32
- * 0
33
- */
34
- dislikeCount?: number;
35
- /**
36
- * @remarks
37
- * The creation time.
38
- *
39
- * @example
40
- * 2026-03-18T10:02:04+08:00
41
- */
42
- gmtCreated?: string;
43
- /**
44
- * @remarks
45
- * The modification time.
46
- *
47
- * @example
48
- * 2025-12-11T14:04:32.000+00:00
49
- */
50
- gmtModified?: string;
51
- /**
52
- * @remarks
53
- * The number of likes for the session.
54
- *
55
- * @example
56
- * 2
57
- */
58
- likeCount?: number;
59
- /**
60
- * @remarks
61
- * The session ID.
62
- *
63
- * @example
64
- * 2gum46f149******ndfxxo
65
- */
66
- sessionId?: string;
67
- /**
68
- * @remarks
69
- * The session status. Valid values:
70
- * - init: The session is in the initial state.
71
- * - INITIALIZING: The session is being initialized.
72
- * - RUNNING: The session is running.
73
- * - IDLE: The session is idle.
74
- * - RECOVERABLE: The session is completed and can accept further questions.
75
- * - UNAVAILABLE: The session is completed and cannot accept further questions.
76
- *
77
- * @example
78
- * RUNNING
79
- */
80
- state?: string;
81
- /**
82
- * @remarks
83
- * The session name.
84
- *
85
- * @example
86
- * Please analyze this data
87
- */
88
- title?: string;
89
- /**
90
- * @remarks
91
- * The total number of turns in the session.
92
- *
93
- * @example
94
- * 10
95
- */
96
- turnCount?: number;
97
- static names(): {
98
- [key: string]: string;
99
- };
100
- static types(): {
101
- [key: string]: any;
102
- };
103
- validate(): void;
104
- constructor(map?: {
105
- [key: string]: any;
106
- });
107
- }
108
- export declare class ListCustomAgentMonitorSessionsResponseBodyData extends $dara.Model {
109
- /**
110
- * @remarks
111
- * The session details list for the current page, sorted by creation time in descending order.
112
- */
113
- content?: ListCustomAgentMonitorSessionsResponseBodyDataContent[];
114
- /**
115
- * @remarks
116
- * The current page number.
117
- *
118
- * @example
119
- * 1
120
- */
121
- pageNumber?: number;
122
- /**
123
- * @remarks
124
- * The number of entries per page.
125
- *
126
- * @example
127
- * 20
128
- */
129
- pageSize?: number;
130
- /**
131
- * @remarks
132
- * The total number of sessions within the filter scope.
133
- *
134
- * @example
135
- * 5
136
- */
137
- totalElements?: number;
138
- /**
139
- * @remarks
140
- * The total number of pages.
141
- *
142
- * @example
143
- * 1
144
- */
145
- totalPages?: number;
146
- static names(): {
147
- [key: string]: string;
148
- };
149
- static types(): {
150
- [key: string]: any;
151
- };
152
- validate(): void;
153
- constructor(map?: {
154
- [key: string]: any;
155
- });
156
- }
157
- export declare class ListCustomAgentMonitorSessionsResponseBody extends $dara.Model {
158
- /**
159
- * @remarks
160
- * The response struct.
161
- */
162
- data?: ListCustomAgentMonitorSessionsResponseBodyData;
163
- /**
164
- * @remarks
165
- * The error code returned if the call fails.
166
- *
167
- * @example
168
- * InvalidTid
169
- */
170
- errorCode?: string;
171
- /**
172
- * @remarks
173
- * The error message returned if the call fails.
174
- *
175
- * @example
176
- * Specified parameter Tid is not valid.
177
- */
178
- errorMessage?: string;
179
- /**
180
- * @remarks
181
- * Id of the request
182
- *
183
- * @example
184
- * E0D21075-CD3E-4D98-8264-FD8AD04A63B6
185
- */
186
- requestId?: string;
187
- /**
188
- * @remarks
189
- * Indicates whether the request was successful. Valid values:
190
- *
191
- * - **true**: The request was successful.
192
- * - **false**: The request failed.
193
- *
194
- * @example
195
- * true
196
- */
197
- success?: boolean;
198
- static names(): {
199
- [key: string]: string;
200
- };
201
- static types(): {
202
- [key: string]: any;
203
- };
204
- validate(): void;
205
- constructor(map?: {
206
- [key: string]: any;
207
- });
208
- }
@@ -1,138 +0,0 @@
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.ListCustomAgentMonitorSessionsResponseBody = exports.ListCustomAgentMonitorSessionsResponseBodyData = exports.ListCustomAgentMonitorSessionsResponseBodyDataContent = void 0;
37
- // This file is auto-generated, don't edit it
38
- const $dara = __importStar(require("@darabonba/typescript"));
39
- class ListCustomAgentMonitorSessionsResponseBodyDataContent extends $dara.Model {
40
- static names() {
41
- return {
42
- aliyunUid: 'AliyunUid',
43
- creatorUserName: 'CreatorUserName',
44
- customAgentId: 'CustomAgentId',
45
- dislikeCount: 'DislikeCount',
46
- gmtCreated: 'GmtCreated',
47
- gmtModified: 'GmtModified',
48
- likeCount: 'LikeCount',
49
- sessionId: 'SessionId',
50
- state: 'State',
51
- title: 'Title',
52
- turnCount: 'TurnCount',
53
- };
54
- }
55
- static types() {
56
- return {
57
- aliyunUid: 'string',
58
- creatorUserName: 'string',
59
- customAgentId: 'string',
60
- dislikeCount: 'number',
61
- gmtCreated: 'string',
62
- gmtModified: 'string',
63
- likeCount: 'number',
64
- sessionId: 'string',
65
- state: 'string',
66
- title: 'string',
67
- turnCount: 'number',
68
- };
69
- }
70
- validate() {
71
- super.validate();
72
- }
73
- constructor(map) {
74
- super(map);
75
- }
76
- }
77
- exports.ListCustomAgentMonitorSessionsResponseBodyDataContent = ListCustomAgentMonitorSessionsResponseBodyDataContent;
78
- class ListCustomAgentMonitorSessionsResponseBodyData extends $dara.Model {
79
- static names() {
80
- return {
81
- content: 'Content',
82
- pageNumber: 'PageNumber',
83
- pageSize: 'PageSize',
84
- totalElements: 'TotalElements',
85
- totalPages: 'TotalPages',
86
- };
87
- }
88
- static types() {
89
- return {
90
- content: { 'type': 'array', 'itemType': ListCustomAgentMonitorSessionsResponseBodyDataContent },
91
- pageNumber: 'number',
92
- pageSize: 'number',
93
- totalElements: 'number',
94
- totalPages: 'number',
95
- };
96
- }
97
- validate() {
98
- if (Array.isArray(this.content)) {
99
- $dara.Model.validateArray(this.content);
100
- }
101
- super.validate();
102
- }
103
- constructor(map) {
104
- super(map);
105
- }
106
- }
107
- exports.ListCustomAgentMonitorSessionsResponseBodyData = ListCustomAgentMonitorSessionsResponseBodyData;
108
- class ListCustomAgentMonitorSessionsResponseBody extends $dara.Model {
109
- static names() {
110
- return {
111
- data: 'Data',
112
- errorCode: 'ErrorCode',
113
- errorMessage: 'ErrorMessage',
114
- requestId: 'RequestId',
115
- success: 'Success',
116
- };
117
- }
118
- static types() {
119
- return {
120
- data: ListCustomAgentMonitorSessionsResponseBodyData,
121
- errorCode: 'string',
122
- errorMessage: 'string',
123
- requestId: 'string',
124
- success: 'boolean',
125
- };
126
- }
127
- validate() {
128
- if (this.data && typeof this.data.validate === 'function') {
129
- this.data.validate();
130
- }
131
- super.validate();
132
- }
133
- constructor(map) {
134
- super(map);
135
- }
136
- }
137
- exports.ListCustomAgentMonitorSessionsResponseBody = ListCustomAgentMonitorSessionsResponseBody;
138
- //# sourceMappingURL=ListCustomAgentMonitorSessionsResponseBody.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ListCustomAgentMonitorSessionsResponseBody.js","sourceRoot":"","sources":["../../src/models/ListCustomAgentMonitorSessionsResponseBody.ts"],"names":[],"mappings":"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"}
@@ -1,92 +0,0 @@
1
- // This file is auto-generated, don't edit it
2
- import * as $dara from '@darabonba/typescript';
3
-
4
-
5
- export class DescribeCustomAgentMonitorMetricsRequest extends $dara.Model {
6
- /**
7
- * @remarks
8
- * The custom agent ID.
9
- * - Required only when QueryType is set to CustomAgent.
10
- *
11
- * @example
12
- * ca-a9fd******0lnq4g6c
13
- */
14
- customAgentId?: string;
15
- /**
16
- * @remarks
17
- * The end time of the statistical period (epoch millis).
18
- * - Note: The maximum time range is 3 months.
19
- *
20
- * @example
21
- * 1756742400000
22
- */
23
- endTime?: number;
24
- /**
25
- * @remarks
26
- * The aggregation granularity. Valid values:
27
- * - DAY: daily. The maximum supported time range is 3 months.
28
- * - HOUR: hourly. The maximum supported time range is 72 hours.
29
- *
30
- * @example
31
- * DAY
32
- */
33
- granularity?: string;
34
- /**
35
- * @remarks
36
- * The statistical scope. Default value: All. Valid values:
37
- * - Default: default DataAgent sessions.
38
- * - CustomAgent: specified custom agent sessions.
39
- * - All: all sessions in the workspace.
40
- *
41
- * @example
42
- * All
43
- */
44
- queryType?: string;
45
- /**
46
- * @remarks
47
- * The start time of the statistical period (epoch millis).
48
- * - Note: The maximum time range is 3 months.
49
- *
50
- * @example
51
- * 1756656000000
52
- */
53
- startTime?: number;
54
- /**
55
- * @remarks
56
- * The workspace ID.
57
- *
58
- * @example
59
- * 99fad******qg6c0l4nlacu
60
- */
61
- workspaceId?: string;
62
- static names(): { [key: string]: string } {
63
- return {
64
- customAgentId: 'CustomAgentId',
65
- endTime: 'EndTime',
66
- granularity: 'Granularity',
67
- queryType: 'QueryType',
68
- startTime: 'StartTime',
69
- workspaceId: 'WorkspaceId',
70
- };
71
- }
72
-
73
- static types(): { [key: string]: any } {
74
- return {
75
- customAgentId: 'string',
76
- endTime: 'number',
77
- granularity: 'string',
78
- queryType: 'string',
79
- startTime: 'number',
80
- workspaceId: 'string',
81
- };
82
- }
83
-
84
- validate() {
85
- super.validate();
86
- }
87
-
88
- constructor(map?: { [key: string]: any }) {
89
- super(map);
90
- }
91
- }
92
-
@@ -1,40 +0,0 @@
1
- // This file is auto-generated, don't edit it
2
- import * as $dara from '@darabonba/typescript';
3
- import { DescribeCustomAgentMonitorMetricsResponseBody } from "./DescribeCustomAgentMonitorMetricsResponseBody";
4
-
5
-
6
- export class DescribeCustomAgentMonitorMetricsResponse extends $dara.Model {
7
- headers?: { [key: string]: string };
8
- statusCode?: number;
9
- body?: DescribeCustomAgentMonitorMetricsResponseBody;
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: DescribeCustomAgentMonitorMetricsResponseBody,
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
-