@alicloud/dms20250414 4.0.0 → 4.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 (71) hide show
  1. package/dist/client.d.ts +38 -8
  2. package/dist/client.js +119 -8
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateCustomAgentRequest.d.ts +71 -43
  5. package/dist/models/CreateCustomAgentRequest.js.map +1 -1
  6. package/dist/models/CreateCustomAgentResponseBody.d.ts +58 -29
  7. package/dist/models/CreateCustomAgentResponseBody.js.map +1 -1
  8. package/dist/models/CreateCustomAgentShrinkRequest.d.ts +51 -37
  9. package/dist/models/CreateCustomAgentShrinkRequest.js.map +1 -1
  10. package/dist/models/DescribeCustomAgentMonitorMetricsRequest.d.ts +69 -0
  11. package/dist/models/DescribeCustomAgentMonitorMetricsRequest.js +68 -0
  12. package/dist/models/DescribeCustomAgentMonitorMetricsRequest.js.map +1 -0
  13. package/dist/models/DescribeCustomAgentMonitorMetricsResponse.d.ts +19 -0
  14. package/dist/models/DescribeCustomAgentMonitorMetricsResponse.js +69 -0
  15. package/dist/models/DescribeCustomAgentMonitorMetricsResponse.js.map +1 -0
  16. package/dist/models/DescribeCustomAgentMonitorMetricsResponseBody.d.ts +194 -0
  17. package/dist/models/DescribeCustomAgentMonitorMetricsResponseBody.js +136 -0
  18. package/dist/models/DescribeCustomAgentMonitorMetricsResponseBody.js.map +1 -0
  19. package/dist/models/DescribeCustomAgentResponseBody.d.ts +84 -25
  20. package/dist/models/DescribeCustomAgentResponseBody.js.map +1 -1
  21. package/dist/models/DescribeDataAgentSessionRequest.d.ts +1 -1
  22. package/dist/models/DescribeDataAgentSessionResponseBody.d.ts +94 -54
  23. package/dist/models/DescribeDataAgentSessionResponseBody.js +31 -1
  24. package/dist/models/DescribeDataAgentSessionResponseBody.js.map +1 -1
  25. package/dist/models/ListCustomAgentMonitorSessionsRequest.d.ts +75 -0
  26. package/dist/models/ListCustomAgentMonitorSessionsRequest.js +70 -0
  27. package/dist/models/ListCustomAgentMonitorSessionsRequest.js.map +1 -0
  28. package/dist/models/ListCustomAgentMonitorSessionsResponse.d.ts +19 -0
  29. package/dist/models/ListCustomAgentMonitorSessionsResponse.js +69 -0
  30. package/dist/models/ListCustomAgentMonitorSessionsResponse.js.map +1 -0
  31. package/dist/models/ListCustomAgentMonitorSessionsResponseBody.d.ts +208 -0
  32. package/dist/models/ListCustomAgentMonitorSessionsResponseBody.js +138 -0
  33. package/dist/models/ListCustomAgentMonitorSessionsResponseBody.js.map +1 -0
  34. package/dist/models/ListCustomAgentRequest.d.ts +4 -4
  35. package/dist/models/ListCustomAgentResponseBody.d.ts +138 -28
  36. package/dist/models/ListCustomAgentResponseBody.js.map +1 -1
  37. package/dist/models/ListDataAgentWorkspaceRequest.d.ts +13 -6
  38. package/dist/models/ListDataAgentWorkspaceRequest.js.map +1 -1
  39. package/dist/models/ListDataAgentWorkspaceResponseBody.d.ts +28 -7
  40. package/dist/models/ListDataAgentWorkspaceResponseBody.js.map +1 -1
  41. package/dist/models/ModifyCustomAgentRequest.d.ts +71 -38
  42. package/dist/models/ModifyCustomAgentRequest.js.map +1 -1
  43. package/dist/models/ModifyCustomAgentResponseBody.d.ts +63 -30
  44. package/dist/models/ModifyCustomAgentResponseBody.js.map +1 -1
  45. package/dist/models/ModifyCustomAgentShrinkRequest.d.ts +51 -32
  46. package/dist/models/ModifyCustomAgentShrinkRequest.js.map +1 -1
  47. package/dist/models/model.d.ts +11 -0
  48. package/dist/models/model.js +39 -17
  49. package/dist/models/model.js.map +1 -1
  50. package/package.json +1 -1
  51. package/src/client.ts +136 -8
  52. package/src/models/CreateCustomAgentRequest.ts +71 -43
  53. package/src/models/CreateCustomAgentResponseBody.ts +58 -29
  54. package/src/models/CreateCustomAgentShrinkRequest.ts +51 -37
  55. package/src/models/DescribeCustomAgentMonitorMetricsRequest.ts +92 -0
  56. package/src/models/DescribeCustomAgentMonitorMetricsResponse.ts +40 -0
  57. package/src/models/DescribeCustomAgentMonitorMetricsResponseBody.ts +267 -0
  58. package/src/models/DescribeCustomAgentResponseBody.ts +84 -25
  59. package/src/models/DescribeDataAgentSessionRequest.ts +1 -1
  60. package/src/models/DescribeDataAgentSessionResponseBody.ts +115 -54
  61. package/src/models/ListCustomAgentMonitorSessionsRequest.ts +100 -0
  62. package/src/models/ListCustomAgentMonitorSessionsResponse.ts +40 -0
  63. package/src/models/ListCustomAgentMonitorSessionsResponseBody.ts +283 -0
  64. package/src/models/ListCustomAgentRequest.ts +4 -4
  65. package/src/models/ListCustomAgentResponseBody.ts +138 -28
  66. package/src/models/ListDataAgentWorkspaceRequest.ts +13 -6
  67. package/src/models/ListDataAgentWorkspaceResponseBody.ts +28 -7
  68. package/src/models/ModifyCustomAgentRequest.ts +71 -38
  69. package/src/models/ModifyCustomAgentResponseBody.ts +63 -30
  70. package/src/models/ModifyCustomAgentShrinkRequest.ts +51 -32
  71. package/src/models/model.ts +11 -0
@@ -11,19 +11,19 @@ export declare class CreateCustomAgentShrinkRequest extends $dara.Model {
11
11
  DMSUnit?: string;
12
12
  /**
13
13
  * @remarks
14
- * The specified data scope in **JSON character string format**.
15
- * - Common metric description
16
- * - tableFlag: true indicates that a data scope is specified.
14
+ * The specified data scope, in **JSON character string format**.
15
+ * - Common parameter description
16
+ * - tableFlag: true specifies the data scope.
17
17
  * - scope: personal is a fixed value.
18
- * - personal: pass parameters for file or database types.
18
+ * - personal: the parameters for file and database types.
19
19
  *
20
- * **File type**. Pass parameters in the following format:
20
+ * **File type**: Pass parameters in the following format:
21
21
  * - DataSourceType: remote_data_center is a fixed value.
22
- * - FileId: the file ID.
23
- * - Database: the database name returned by the ListDataCenterTable operation, which is typically the file name.
24
- * - Tables: the table name returned by the ListDataCenterTable operation.
25
- * - TableIds: the TableId returned by the ListDataCenterTable operation.
26
- * - RegionId: the current region.
22
+ * - FileId: The file ID.
23
+ * - Database: The database name returned by the ListDataCenterTable operation, which is usually the file name.
24
+ * - Tables: The table names returned by the ListDataCenterTable operation.
25
+ * - TableIds: The table IDs returned by the ListDataCenterTable operation.
26
+ * - RegionId: The current region.
27
27
  * ```
28
28
  * {
29
29
  * "tableFlag": true,
@@ -43,17 +43,17 @@ export declare class CreateCustomAgentShrinkRequest extends $dara.Model {
43
43
  * }
44
44
  * ```
45
45
  *
46
- * **Database type**. Pass parameters as follows:
46
+ * **Database type**: Pass parameters as follows:
47
47
  * - DataSourceType: database is a fixed value.
48
- * - DmsInstanceId: the DMS instance ID returned by the data center operation.
49
- * - DmsDatabaseId: the DMS database ID returned by the data center operation.
50
- * - FileId: the instance name (deprecated).
51
- * - DbName: the database name returned by the data center operation.
52
- * - Database: the database name returned by the data center operation.
53
- * - Tables: the table name returned by the data center operation.
54
- * - TableIds: the TableId returned by the data center operation.
55
- * - Engine: the DPI engine type (mysql or postgresql).
56
- * - RegionId: the current region.
48
+ * - DmsInstanceId: The DMS instance ID returned by the Data Center API.
49
+ * - DmsDatabaseId: The DMS database ID returned by the Data Center API.
50
+ * - FileId: The instance name. **[Deprecated]**
51
+ * - DbName: The database name returned by the Data Center API.
52
+ * - Database: The database name returned by the Data Center API.
53
+ * - Tables: The table names returned by the Data Center API.
54
+ * - TableIds: The table IDs returned by the Data Center API.
55
+ * - Engine: The engine type, such as mysql or postgresql.
56
+ * - RegionId: The current region.
57
57
  * ```
58
58
  * {
59
59
  * "tableFlag": true,
@@ -84,7 +84,7 @@ export declare class CreateCustomAgentShrinkRequest extends $dara.Model {
84
84
  * "personal" : {
85
85
  * "DataSourceType" : "remote_data_center",
86
86
  * "FileId" : "f-5qlrwaw10********s3gpw1z",
87
- * "Database" : "测试表格******.xlsx",
87
+ * "Database" : "TestTable******.xlsx",
88
88
  * "Tables" : [ "Sheet1" ],
89
89
  * "TableIds" : [ "******" ],
90
90
  * "RegionId" : "cn-hangzhou"
@@ -97,7 +97,7 @@ export declare class CreateCustomAgentShrinkRequest extends $dara.Model {
97
97
  * The description of the custom agent.
98
98
  *
99
99
  * @example
100
- * AgentTestDescription
100
+ * Agent test description
101
101
  */
102
102
  description?: string;
103
103
  /**
@@ -107,33 +107,33 @@ export declare class CreateCustomAgentShrinkRequest extends $dara.Model {
107
107
  executionConfigShrink?: string;
108
108
  /**
109
109
  * @remarks
110
- * The instruction.
111
- * - Input limit: a maximum of 10000 characters.
110
+ * The instructions.
111
+ * - Input limit: A maximum of 10,000 characters.
112
112
  *
113
113
  * @example
114
114
  * Core metric definitions:
115
- * 1. GMV (Gross Merchandise Volume) refers to the total order amount, including paid and unpaid orders.
116
- * 2. Order volume is the number of valid orders placed per day.
117
- * 3. UV (Unique Visitors) refers to the deduplicated number of users who visit the website or app.
118
- * 4. Conversion rate = number of paid orders / UV, reflecting traffic conversion efficiency
115
+ * 1. GMV (Gross Merchandise Volume) refers to the total order amount, including both paid and unpaid orders.
116
+ * 2. Order volume refers to the number of valid orders placed per day.
117
+ * 3. UV (Unique Visitors) refers to the number of deduplicated users who visit the website or app.
118
+ * 4. Conversion rate = Number of paid orders / UV, which reflects the traffic conversion efficiency
119
119
  */
120
120
  instruction?: string;
121
121
  /**
122
122
  * @remarks
123
123
  * The knowledge.
124
- * - Input limit: a maximum of 10000 characters.
124
+ * - Input limit: A maximum of 10,000 characters.
125
125
  *
126
126
  * @example
127
127
  * Core metric definitions:
128
- * 1. GMV (Gross Merchandise Volume) refers to the total order amount, including paid and unpaid orders.
129
- * 2. Order volume is the number of valid orders placed per day.
130
- * 3. UV (Unique Visitors) refers to the deduplicated number of users who visit the website or app.
131
- * 4. Conversion rate = number of paid orders / UV, reflecting traffic conversion efficiency
128
+ * 1. GMV (Gross Merchandise Volume) refers to the total order amount, including both paid and unpaid orders.
129
+ * 2. Order volume refers to the number of valid orders placed per day.
130
+ * 3. UV (Unique Visitors) refers to the number of deduplicated users who visit the website or app.
131
+ * 4. Conversion rate = Number of paid orders / UV, which reflects the traffic conversion efficiency
132
132
  */
133
133
  knowledge?: string;
134
134
  /**
135
135
  * @remarks
136
- * The external knowledge base.
136
+ * The external knowledge bases.
137
137
  */
138
138
  knowledgeConfigListShrink?: string;
139
139
  knowledgeSemanticConfigListShrink?: string;
@@ -142,12 +142,15 @@ export declare class CreateCustomAgentShrinkRequest extends $dara.Model {
142
142
  * The name of the custom agent.
143
143
  *
144
144
  * @example
145
- * AgentTestName
145
+ * Agent test name
146
146
  */
147
147
  name?: string;
148
148
  /**
149
149
  * @remarks
150
150
  * The ID of the referenced historical session.
151
+ *
152
+ * @example
153
+ * 99crainsjnveo*******vynid
151
154
  */
152
155
  relatedSessionId?: string;
153
156
  /**
@@ -160,18 +163,29 @@ export declare class CreateCustomAgentShrinkRequest extends $dara.Model {
160
163
  * The text report format.
161
164
  *
162
165
  * @example
163
- * The text report requires all numbers to be expressed in Chinese characters instead of Arabic numerals
166
+ * All numbers in the text report must be written in Chinese characters instead of Arabic numerals
164
167
  */
165
168
  textReportConfig?: string;
169
+ /**
170
+ * @remarks
171
+ * The list of user-specified skills.
172
+ */
166
173
  userSpecifiedSkillListShrink?: string;
167
174
  /**
168
175
  * @remarks
169
176
  * The web report format.
170
177
  *
171
178
  * @example
172
- * The web report requires all numbers to be expressed in Chinese characters instead of Arabic numerals
179
+ * All numbers in the web report must be written in Chinese characters instead of Arabic numerals
173
180
  */
174
181
  webReportConfig?: string;
182
+ /**
183
+ * @remarks
184
+ * The web report theme.
185
+ *
186
+ * @example
187
+ * Default
188
+ */
175
189
  webReportTheme?: string;
176
190
  /**
177
191
  * @remarks
@@ -1 +1 @@
1
- {"version":3,"file":"CreateCustomAgentShrinkRequest.js","sourceRoot":"","sources":["../../src/models/CreateCustomAgentShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,8BAA+B,SAAQ,KAAK,CAAC,KAAK;IAsL7D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,oBAAoB,EAAE,gBAAgB;YACtC,OAAO,EAAE,SAAS;YAClB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AAvPD,wEAuPC"}
@@ -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
+ }