@alicloud/dms20250414 3.0.0 → 3.1.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 (36) hide show
  1. package/dist/client.d.ts +30 -0
  2. package/dist/client.js +111 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/DescribeCustomAgentMonitorMetricsRequest.d.ts +69 -0
  5. package/dist/models/DescribeCustomAgentMonitorMetricsRequest.js +68 -0
  6. package/dist/models/DescribeCustomAgentMonitorMetricsRequest.js.map +1 -0
  7. package/dist/models/DescribeCustomAgentMonitorMetricsResponse.d.ts +19 -0
  8. package/dist/models/DescribeCustomAgentMonitorMetricsResponse.js +69 -0
  9. package/dist/models/DescribeCustomAgentMonitorMetricsResponse.js.map +1 -0
  10. package/dist/models/DescribeCustomAgentMonitorMetricsResponseBody.d.ts +194 -0
  11. package/dist/models/DescribeCustomAgentMonitorMetricsResponseBody.js +136 -0
  12. package/dist/models/DescribeCustomAgentMonitorMetricsResponseBody.js.map +1 -0
  13. package/dist/models/Dlcatalog.d.ts +9 -0
  14. package/dist/models/Dlcatalog.js.map +1 -1
  15. package/dist/models/ListCustomAgentMonitorSessionsRequest.d.ts +75 -0
  16. package/dist/models/ListCustomAgentMonitorSessionsRequest.js +70 -0
  17. package/dist/models/ListCustomAgentMonitorSessionsRequest.js.map +1 -0
  18. package/dist/models/ListCustomAgentMonitorSessionsResponse.d.ts +19 -0
  19. package/dist/models/ListCustomAgentMonitorSessionsResponse.js +69 -0
  20. package/dist/models/ListCustomAgentMonitorSessionsResponse.js.map +1 -0
  21. package/dist/models/ListCustomAgentMonitorSessionsResponseBody.d.ts +208 -0
  22. package/dist/models/ListCustomAgentMonitorSessionsResponseBody.js +138 -0
  23. package/dist/models/ListCustomAgentMonitorSessionsResponseBody.js.map +1 -0
  24. package/dist/models/model.d.ts +10 -0
  25. package/dist/models/model.js +32 -12
  26. package/dist/models/model.js.map +1 -1
  27. package/package.json +1 -1
  28. package/src/client.ts +128 -0
  29. package/src/models/DescribeCustomAgentMonitorMetricsRequest.ts +92 -0
  30. package/src/models/DescribeCustomAgentMonitorMetricsResponse.ts +40 -0
  31. package/src/models/DescribeCustomAgentMonitorMetricsResponseBody.ts +267 -0
  32. package/src/models/Dlcatalog.ts +9 -0
  33. package/src/models/ListCustomAgentMonitorSessionsRequest.ts +100 -0
  34. package/src/models/ListCustomAgentMonitorSessionsResponse.ts +40 -0
  35. package/src/models/ListCustomAgentMonitorSessionsResponseBody.ts +283 -0
  36. package/src/models/model.ts +10 -0
@@ -0,0 +1,69 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DescribeCustomAgentMonitorMetricsRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The custom agent ID.
6
+ * - Required only when QueryType is set to CustomAgent.
7
+ *
8
+ * @example
9
+ * ca-a9fd******0lnq4g6c
10
+ */
11
+ customAgentId?: string;
12
+ /**
13
+ * @remarks
14
+ * The end time of the statistical period (epoch millis).
15
+ * - Note: The maximum time range is 3 months.
16
+ *
17
+ * @example
18
+ * 1756742400000
19
+ */
20
+ endTime?: number;
21
+ /**
22
+ * @remarks
23
+ * The aggregation granularity. Valid values:
24
+ * - DAY: daily. The maximum supported time range is 3 months.
25
+ * - HOUR: hourly. The maximum supported time range is 72 hours.
26
+ *
27
+ * @example
28
+ * DAY
29
+ */
30
+ granularity?: string;
31
+ /**
32
+ * @remarks
33
+ * The statistical scope. Default value: All. Valid values:
34
+ * - Default: default DataAgent sessions.
35
+ * - CustomAgent: specified custom agent sessions.
36
+ * - All: all sessions in the workspace.
37
+ *
38
+ * @example
39
+ * All
40
+ */
41
+ queryType?: string;
42
+ /**
43
+ * @remarks
44
+ * The start time of the statistical period (epoch millis).
45
+ * - Note: The maximum time range is 3 months.
46
+ *
47
+ * @example
48
+ * 1756656000000
49
+ */
50
+ startTime?: number;
51
+ /**
52
+ * @remarks
53
+ * The workspace ID.
54
+ *
55
+ * @example
56
+ * 99fad******qg6c0l4nlacu
57
+ */
58
+ workspaceId?: string;
59
+ static names(): {
60
+ [key: string]: string;
61
+ };
62
+ static types(): {
63
+ [key: string]: any;
64
+ };
65
+ validate(): void;
66
+ constructor(map?: {
67
+ [key: string]: any;
68
+ });
69
+ }
@@ -0,0 +1,68 @@
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.DescribeCustomAgentMonitorMetricsRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DescribeCustomAgentMonitorMetricsRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ customAgentId: 'CustomAgentId',
43
+ endTime: 'EndTime',
44
+ granularity: 'Granularity',
45
+ queryType: 'QueryType',
46
+ startTime: 'StartTime',
47
+ workspaceId: 'WorkspaceId',
48
+ };
49
+ }
50
+ static types() {
51
+ return {
52
+ customAgentId: 'string',
53
+ endTime: 'number',
54
+ granularity: 'string',
55
+ queryType: 'string',
56
+ startTime: 'number',
57
+ workspaceId: 'string',
58
+ };
59
+ }
60
+ validate() {
61
+ super.validate();
62
+ }
63
+ constructor(map) {
64
+ super(map);
65
+ }
66
+ }
67
+ exports.DescribeCustomAgentMonitorMetricsRequest = DescribeCustomAgentMonitorMetricsRequest;
68
+ //# sourceMappingURL=DescribeCustomAgentMonitorMetricsRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeCustomAgentMonitorMetricsRequest.js","sourceRoot":"","sources":["../../src/models/DescribeCustomAgentMonitorMetricsRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wCAAyC,SAAQ,KAAK,CAAC,KAAK;IAyDvE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,eAAe;YAC9B,OAAO,EAAE,SAAS;YAClB,WAAW,EAAE,aAAa;YAC1B,SAAS,EAAE,WAAW;YACtB,SAAS,EAAE,WAAW;YACtB,WAAW,EAAE,aAAa;SAC3B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,QAAQ;YACvB,OAAO,EAAE,QAAQ;YACjB,WAAW,EAAE,QAAQ;YACrB,SAAS,EAAE,QAAQ;YACnB,SAAS,EAAE,QAAQ;YACnB,WAAW,EAAE,QAAQ;SACtB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtFD,4FAsFC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { DescribeCustomAgentMonitorMetricsResponseBody } from "./DescribeCustomAgentMonitorMetricsResponseBody";
3
+ export declare class DescribeCustomAgentMonitorMetricsResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: DescribeCustomAgentMonitorMetricsResponseBody;
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.DescribeCustomAgentMonitorMetricsResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const DescribeCustomAgentMonitorMetricsResponseBody_1 = require("./DescribeCustomAgentMonitorMetricsResponseBody");
40
+ class DescribeCustomAgentMonitorMetricsResponse 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: DescribeCustomAgentMonitorMetricsResponseBody_1.DescribeCustomAgentMonitorMetricsResponseBody,
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.DescribeCustomAgentMonitorMetricsResponse = DescribeCustomAgentMonitorMetricsResponse;
69
+ //# sourceMappingURL=DescribeCustomAgentMonitorMetricsResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeCustomAgentMonitorMetricsResponse.js","sourceRoot":"","sources":["../../src/models/DescribeCustomAgentMonitorMetricsResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,mHAAgH;AAGhH,MAAa,yCAA0C,SAAQ,KAAK,CAAC,KAAK;IAIxE,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,6FAA6C;SACpD,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,8FAiCC"}
@@ -0,0 +1,194 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DescribeCustomAgentMonitorMetricsResponseBodyDataTrend extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The number of active users within the statistical period.
6
+ *
7
+ * @example
8
+ * 2
9
+ */
10
+ activeUserCount?: number;
11
+ /**
12
+ * @remarks
13
+ * The number of dislikes within the statistical period.
14
+ *
15
+ * @example
16
+ * 0
17
+ */
18
+ dislikeCount?: number;
19
+ /**
20
+ * @remarks
21
+ * The number of likes within the statistical period.
22
+ *
23
+ * @example
24
+ * 1
25
+ */
26
+ likeCount?: number;
27
+ /**
28
+ * @remarks
29
+ * The number of sessions within the statistical period.
30
+ *
31
+ * @example
32
+ * 10
33
+ */
34
+ sessionCount?: number;
35
+ /**
36
+ * @remarks
37
+ * The statistical time. For daily granularity, the format is 2026-09-01. For hourly granularity, the format is 2026-09-01 13:00.
38
+ *
39
+ * @example
40
+ * 2026-09-01
41
+ */
42
+ statTime?: string;
43
+ /**
44
+ * @remarks
45
+ * The start timestamp of the statistical period (epoch millis).
46
+ *
47
+ * @example
48
+ * 1782835200000
49
+ */
50
+ timestamp?: number;
51
+ static names(): {
52
+ [key: string]: string;
53
+ };
54
+ static types(): {
55
+ [key: string]: any;
56
+ };
57
+ validate(): void;
58
+ constructor(map?: {
59
+ [key: string]: any;
60
+ });
61
+ }
62
+ export declare class DescribeCustomAgentMonitorMetricsResponseBodyData extends $dara.Model {
63
+ /**
64
+ * @remarks
65
+ * The number of active users.
66
+ *
67
+ * @example
68
+ * 6
69
+ */
70
+ activeUserCount?: number;
71
+ /**
72
+ * @remarks
73
+ * The custom agent ID.
74
+ *
75
+ * @example
76
+ * ca-4y3ca4khkcu**********ysf
77
+ */
78
+ customAgentId?: string;
79
+ /**
80
+ * @remarks
81
+ * The total number of dislikes.
82
+ *
83
+ * @example
84
+ * 0
85
+ */
86
+ dislikeCount?: number;
87
+ /**
88
+ * @remarks
89
+ * The end time of the statistical period (epoch millis).
90
+ *
91
+ * @example
92
+ * 1756742400000
93
+ */
94
+ endTime?: number;
95
+ /**
96
+ * @remarks
97
+ * The aggregation granularity: DAY / HOUR.
98
+ *
99
+ * @example
100
+ * DAY
101
+ */
102
+ granularity?: string;
103
+ /**
104
+ * @remarks
105
+ * The total number of likes.
106
+ *
107
+ * @example
108
+ * 10
109
+ */
110
+ likeCount?: number;
111
+ /**
112
+ * @remarks
113
+ * The total number of sessions.
114
+ *
115
+ * @example
116
+ * 102
117
+ */
118
+ sessionCount?: number;
119
+ /**
120
+ * @remarks
121
+ * The start time of the statistical period (epoch millis).
122
+ *
123
+ * @example
124
+ * 1782835200000
125
+ */
126
+ startTime?: number;
127
+ /**
128
+ * @remarks
129
+ * The trend data aggregated by the specified granularity. Time points without data are filled with 0. The data is sorted in chronological order.
130
+ */
131
+ trend?: DescribeCustomAgentMonitorMetricsResponseBodyDataTrend[];
132
+ static names(): {
133
+ [key: string]: string;
134
+ };
135
+ static types(): {
136
+ [key: string]: any;
137
+ };
138
+ validate(): void;
139
+ constructor(map?: {
140
+ [key: string]: any;
141
+ });
142
+ }
143
+ export declare class DescribeCustomAgentMonitorMetricsResponseBody extends $dara.Model {
144
+ /**
145
+ * @remarks
146
+ * The response struct.
147
+ */
148
+ data?: DescribeCustomAgentMonitorMetricsResponseBodyData;
149
+ /**
150
+ * @remarks
151
+ * The error code returned when the request fails.
152
+ *
153
+ * @example
154
+ * InvalidTid
155
+ */
156
+ errorCode?: string;
157
+ /**
158
+ * @remarks
159
+ * The error message returned when the call fails.
160
+ *
161
+ * @example
162
+ * Specified parameter Tid is not valid.
163
+ */
164
+ errorMessage?: string;
165
+ /**
166
+ * @remarks
167
+ * Id of the request
168
+ *
169
+ * @example
170
+ * E0D21075-CD3E-4D98-8264-FD8AD04A63B6
171
+ */
172
+ requestId?: string;
173
+ /**
174
+ * @remarks
175
+ * Indicates whether the request is successful. Valid values:
176
+ *
177
+ * - **true**: The request is successful.
178
+ * - **false**: The request fails.
179
+ *
180
+ * @example
181
+ * true
182
+ */
183
+ success?: boolean;
184
+ static names(): {
185
+ [key: string]: string;
186
+ };
187
+ static types(): {
188
+ [key: string]: any;
189
+ };
190
+ validate(): void;
191
+ constructor(map?: {
192
+ [key: string]: any;
193
+ });
194
+ }
@@ -0,0 +1,136 @@
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.DescribeCustomAgentMonitorMetricsResponseBody = exports.DescribeCustomAgentMonitorMetricsResponseBodyData = exports.DescribeCustomAgentMonitorMetricsResponseBodyDataTrend = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DescribeCustomAgentMonitorMetricsResponseBodyDataTrend extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ activeUserCount: 'ActiveUserCount',
43
+ dislikeCount: 'DislikeCount',
44
+ likeCount: 'LikeCount',
45
+ sessionCount: 'SessionCount',
46
+ statTime: 'StatTime',
47
+ timestamp: 'Timestamp',
48
+ };
49
+ }
50
+ static types() {
51
+ return {
52
+ activeUserCount: 'number',
53
+ dislikeCount: 'number',
54
+ likeCount: 'number',
55
+ sessionCount: 'number',
56
+ statTime: 'string',
57
+ timestamp: 'number',
58
+ };
59
+ }
60
+ validate() {
61
+ super.validate();
62
+ }
63
+ constructor(map) {
64
+ super(map);
65
+ }
66
+ }
67
+ exports.DescribeCustomAgentMonitorMetricsResponseBodyDataTrend = DescribeCustomAgentMonitorMetricsResponseBodyDataTrend;
68
+ class DescribeCustomAgentMonitorMetricsResponseBodyData extends $dara.Model {
69
+ static names() {
70
+ return {
71
+ activeUserCount: 'ActiveUserCount',
72
+ customAgentId: 'CustomAgentId',
73
+ dislikeCount: 'DislikeCount',
74
+ endTime: 'EndTime',
75
+ granularity: 'Granularity',
76
+ likeCount: 'LikeCount',
77
+ sessionCount: 'SessionCount',
78
+ startTime: 'StartTime',
79
+ trend: 'Trend',
80
+ };
81
+ }
82
+ static types() {
83
+ return {
84
+ activeUserCount: 'number',
85
+ customAgentId: 'string',
86
+ dislikeCount: 'number',
87
+ endTime: 'number',
88
+ granularity: 'string',
89
+ likeCount: 'number',
90
+ sessionCount: 'number',
91
+ startTime: 'number',
92
+ trend: { 'type': 'array', 'itemType': DescribeCustomAgentMonitorMetricsResponseBodyDataTrend },
93
+ };
94
+ }
95
+ validate() {
96
+ if (Array.isArray(this.trend)) {
97
+ $dara.Model.validateArray(this.trend);
98
+ }
99
+ super.validate();
100
+ }
101
+ constructor(map) {
102
+ super(map);
103
+ }
104
+ }
105
+ exports.DescribeCustomAgentMonitorMetricsResponseBodyData = DescribeCustomAgentMonitorMetricsResponseBodyData;
106
+ class DescribeCustomAgentMonitorMetricsResponseBody extends $dara.Model {
107
+ static names() {
108
+ return {
109
+ data: 'Data',
110
+ errorCode: 'ErrorCode',
111
+ errorMessage: 'ErrorMessage',
112
+ requestId: 'RequestId',
113
+ success: 'Success',
114
+ };
115
+ }
116
+ static types() {
117
+ return {
118
+ data: DescribeCustomAgentMonitorMetricsResponseBodyData,
119
+ errorCode: 'string',
120
+ errorMessage: 'string',
121
+ requestId: 'string',
122
+ success: 'boolean',
123
+ };
124
+ }
125
+ validate() {
126
+ if (this.data && typeof this.data.validate === 'function') {
127
+ this.data.validate();
128
+ }
129
+ super.validate();
130
+ }
131
+ constructor(map) {
132
+ super(map);
133
+ }
134
+ }
135
+ exports.DescribeCustomAgentMonitorMetricsResponseBody = DescribeCustomAgentMonitorMetricsResponseBody;
136
+ //# sourceMappingURL=DescribeCustomAgentMonitorMetricsResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeCustomAgentMonitorMetricsResponse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import * as $dara from '@darabonba/typescript';
2
2
  export declare class DLCatalog extends $dara.Model {
3
3
  /**
4
+ * @remarks
5
+ * The description of the data catalog.
6
+ *
4
7
  * @example
5
8
  * init default catalog
6
9
  */
7
10
  description?: string;
8
11
  /**
12
+ * @remarks
13
+ * The storage path of the data catalog.
14
+ *
9
15
  * @example
10
16
  * oss://xxxx
11
17
  */
12
18
  location?: string;
13
19
  /**
20
+ * @remarks
21
+ * The name of the data catalog.
22
+ *
14
23
  * @example
15
24
  * hive
16
25
  */
@@ -1 +1 @@
1
- {"version":3,"file":"Dlcatalog.js","sourceRoot":"","sources":["../../src/models/Dlcatalog.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,SAAU,SAAQ,KAAK,CAAC,KAAK;IAgBxC,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,QAAQ,EAAE,UAAU;YACpB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,QAAQ,EAAE,QAAQ;YAClB,IAAI,EAAE,QAAQ;SACf,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAvCD,8BAuCC"}
1
+ {"version":3,"file":"Dlcatalog.js","sourceRoot":"","sources":["../../src/models/Dlcatalog.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,SAAU,SAAQ,KAAK,CAAC,KAAK;IAyBxC,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,QAAQ,EAAE,UAAU;YACpB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,QAAQ,EAAE,QAAQ;YAClB,IAAI,EAAE,QAAQ;SACf,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAhDD,8BAgDC"}
@@ -0,0 +1,75 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class ListCustomAgentMonitorSessionsRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The custom agent ID.
6
+ * - Required only when QueryType is set to CustomAgent.
7
+ *
8
+ * @example
9
+ * ca-4y3ca4khkcu**********ysf
10
+ */
11
+ customAgentId?: string;
12
+ /**
13
+ * @remarks
14
+ * The end time for statistics (epoch millis).
15
+ * - Note: The maximum time range is 3 months.
16
+ *
17
+ * @example
18
+ * 1756742400000
19
+ */
20
+ endTime?: number;
21
+ /**
22
+ * @remarks
23
+ * The page number, starting from 1. Default value: 1.
24
+ *
25
+ * @example
26
+ * 1
27
+ */
28
+ pageNumber?: number;
29
+ /**
30
+ * @remarks
31
+ * The number of entries per page. Valid values: 1 to 200. Default value: 20.
32
+ *
33
+ * @example
34
+ * 20
35
+ */
36
+ pageSize?: number;
37
+ /**
38
+ * @remarks
39
+ * The query scope. Default value: All. Valid values:
40
+ * - Default: default DataAgent sessions.
41
+ * - CustomAgent: specified custom agent sessions.
42
+ * - All: all sessions in the workspace.
43
+ *
44
+ * @example
45
+ * All
46
+ */
47
+ queryType?: string;
48
+ /**
49
+ * @remarks
50
+ * The start time for statistics (epoch millis).
51
+ * - Note: The maximum time range is 3 months.
52
+ *
53
+ * @example
54
+ * 1756656000000
55
+ */
56
+ startTime?: number;
57
+ /**
58
+ * @remarks
59
+ * The workspace ID.
60
+ *
61
+ * @example
62
+ * 56kv1pvl9uvt9**********bb
63
+ */
64
+ workspaceId?: string;
65
+ static names(): {
66
+ [key: string]: string;
67
+ };
68
+ static types(): {
69
+ [key: string]: any;
70
+ };
71
+ validate(): void;
72
+ constructor(map?: {
73
+ [key: string]: any;
74
+ });
75
+ }