@alicloud/dms20250414 1.14.2 → 1.15.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 (81) hide show
  1. package/dist/client.d.ts +51 -36
  2. package/dist/client.js +119 -37
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateDataAgentWorkspaceRequest.d.ts +3 -3
  5. package/dist/models/CreateDataAgentWorkspaceResponseBody.d.ts +6 -9
  6. package/dist/models/CreateDataAgentWorkspaceResponseBody.js +2 -0
  7. package/dist/models/CreateDataAgentWorkspaceResponseBody.js.map +1 -1
  8. package/dist/models/DataAgentBillingInstance.d.ts +28 -0
  9. package/dist/models/DataAgentBillingInstance.js +89 -0
  10. package/dist/models/DataAgentBillingInstance.js.map +1 -0
  11. package/dist/models/DescribeDataAgentSessionRequest.d.ts +3 -3
  12. package/dist/models/DescribeDataAgentSessionResponseBody.d.ts +231 -40
  13. package/dist/models/DescribeDataAgentSessionResponseBody.js +93 -1
  14. package/dist/models/DescribeDataAgentSessionResponseBody.js.map +1 -1
  15. package/dist/models/DmsGatewayOrder.d.ts +23 -0
  16. package/dist/models/DmsGatewayOrder.js +76 -0
  17. package/dist/models/DmsGatewayOrder.js.map +1 -0
  18. package/dist/models/GetChatContentRequest.d.ts +2 -2
  19. package/dist/models/GetChatContentResponseBody.d.ts +11 -4
  20. package/dist/models/GetChatContentResponseBody.js.map +1 -1
  21. package/dist/models/GetDataAgentWorkspaceInfoRequest.d.ts +2 -2
  22. package/dist/models/GetDataAgentWorkspaceInfoResponseBody.d.ts +9 -12
  23. package/dist/models/GetDataAgentWorkspaceInfoResponseBody.js +2 -0
  24. package/dist/models/GetDataAgentWorkspaceInfoResponseBody.js.map +1 -1
  25. package/dist/models/GetSqlConsoleOperationLogRequest.d.ts +85 -0
  26. package/dist/models/GetSqlConsoleOperationLogRequest.js +72 -0
  27. package/dist/models/GetSqlConsoleOperationLogRequest.js.map +1 -0
  28. package/dist/models/GetSqlConsoleOperationLogResponse.d.ts +19 -0
  29. package/dist/models/GetSqlConsoleOperationLogResponse.js +69 -0
  30. package/dist/models/GetSqlConsoleOperationLogResponse.js.map +1 -0
  31. package/dist/models/GetSqlConsoleOperationLogResponseBody.d.ts +150 -0
  32. package/dist/models/GetSqlConsoleOperationLogResponseBody.js +108 -0
  33. package/dist/models/GetSqlConsoleOperationLogResponseBody.js.map +1 -0
  34. package/dist/models/ListDataAgentSessionRequest.d.ts +11 -10
  35. package/dist/models/ListDataAgentSessionRequest.js +2 -0
  36. package/dist/models/ListDataAgentSessionRequest.js.map +1 -1
  37. package/dist/models/ListDataAgentSessionResponseBody.d.ts +36 -44
  38. package/dist/models/ListDataAgentSessionResponseBody.js.map +1 -1
  39. package/dist/models/ListDataAgentWorkspaceRequest.d.ts +6 -6
  40. package/dist/models/ListDataAgentWorkspaceResponseBody.d.ts +13 -12
  41. package/dist/models/ListDataAgentWorkspaceResponseBody.js +2 -0
  42. package/dist/models/ListDataAgentWorkspaceResponseBody.js.map +1 -1
  43. package/dist/models/MdbAgentInstanceVo.d.ts +28 -0
  44. package/dist/models/MdbAgentInstanceVo.js +86 -0
  45. package/dist/models/MdbAgentInstanceVo.js.map +1 -0
  46. package/dist/models/SendChatMessageRequest.d.ts +141 -25
  47. package/dist/models/SendChatMessageRequest.js +61 -1
  48. package/dist/models/SendChatMessageRequest.js.map +1 -1
  49. package/dist/models/SendChatMessageResponseBody.d.ts +11 -3
  50. package/dist/models/SendChatMessageResponseBody.js +2 -0
  51. package/dist/models/SendChatMessageResponseBody.js.map +1 -1
  52. package/dist/models/SendChatMessageShrinkRequest.d.ts +32 -11
  53. package/dist/models/SendChatMessageShrinkRequest.js +4 -0
  54. package/dist/models/SendChatMessageShrinkRequest.js.map +1 -1
  55. package/dist/models/model.d.ts +12 -0
  56. package/dist/models/model.js +40 -16
  57. package/dist/models/model.js.map +1 -1
  58. package/package.json +1 -1
  59. package/src/client.ts +133 -37
  60. package/src/models/CreateDataAgentWorkspaceRequest.ts +3 -3
  61. package/src/models/CreateDataAgentWorkspaceResponseBody.ts +8 -9
  62. package/src/models/DataAgentBillingInstance.ts +72 -0
  63. package/src/models/DescribeDataAgentSessionRequest.ts +3 -3
  64. package/src/models/DescribeDataAgentSessionResponseBody.ts +296 -40
  65. package/src/models/DmsGatewayOrder.ts +54 -0
  66. package/src/models/GetChatContentRequest.ts +2 -2
  67. package/src/models/GetChatContentResponseBody.ts +11 -4
  68. package/src/models/GetDataAgentWorkspaceInfoRequest.ts +2 -2
  69. package/src/models/GetDataAgentWorkspaceInfoResponseBody.ts +11 -12
  70. package/src/models/GetSqlConsoleOperationLogRequest.ts +112 -0
  71. package/src/models/GetSqlConsoleOperationLogResponse.ts +40 -0
  72. package/src/models/GetSqlConsoleOperationLogResponseBody.ts +204 -0
  73. package/src/models/ListDataAgentSessionRequest.ts +13 -10
  74. package/src/models/ListDataAgentSessionResponseBody.ts +36 -44
  75. package/src/models/ListDataAgentWorkspaceRequest.ts +6 -6
  76. package/src/models/ListDataAgentWorkspaceResponseBody.ts +15 -12
  77. package/src/models/MdbAgentInstanceVo.ts +69 -0
  78. package/src/models/SendChatMessageRequest.ts +183 -25
  79. package/src/models/SendChatMessageResponseBody.ts +13 -3
  80. package/src/models/SendChatMessageShrinkRequest.ts +36 -11
  81. package/src/models/model.ts +12 -0
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class CreateDataAgentWorkspaceRequest extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The DMS unit.
5
+ * The current DMS unit.
6
6
  *
7
7
  * @example
8
8
  * cn-hangzhou
@@ -11,7 +11,7 @@ export declare class CreateDataAgentWorkspaceRequest extends $dara.Model {
11
11
  isSessionShareEnabled?: boolean;
12
12
  /**
13
13
  * @remarks
14
- * The description of the workspace.
14
+ * The description of the collaborative workspace.
15
15
  *
16
16
  * @example
17
17
  * Space for test
@@ -19,7 +19,7 @@ export declare class CreateDataAgentWorkspaceRequest extends $dara.Model {
19
19
  workspaceDesc?: string;
20
20
  /**
21
21
  * @remarks
22
- * The name of the workspace.
22
+ * The name of the collaborative workspace.
23
23
  *
24
24
  * @example
25
25
  * workspaceTest
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class CreateDataAgentWorkspaceResponseBodyData extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The time the workspace was created, as a UNIX timestamp in seconds.
5
+ * The time when the workspace was created. The value is a UNIX timestamp in seconds.
6
6
  *
7
7
  * @example
8
8
  * 1765960516
@@ -10,20 +10,16 @@ export declare class CreateDataAgentWorkspaceResponseBodyData extends $dara.Mode
10
10
  createTime?: number;
11
11
  /**
12
12
  * @remarks
13
- * The user ID of the workspace creator.
13
+ * The UID of the workspace creator.
14
14
  *
15
15
  * @example
16
16
  * 20282*****7591
17
17
  */
18
18
  creator?: string;
19
- /**
20
- * @remarks
21
- * Indicates whether session sharing is enabled for the workspace.
22
- */
23
19
  isSessionShareEnabled?: boolean;
24
20
  /**
25
21
  * @remarks
26
- * The time the workspace was last modified, as a UNIX timestamp in seconds.
22
+ * The time when the workspace was last modified. The value is a UNIX timestamp in seconds.
27
23
  *
28
24
  * @example
29
25
  * 1765961516
@@ -31,7 +27,7 @@ export declare class CreateDataAgentWorkspaceResponseBodyData extends $dara.Mode
31
27
  modifyTime?: number;
32
28
  /**
33
29
  * @remarks
34
- * The name of the user\\"s role in the workspace.
30
+ * The role name of the user in the workspace.
35
31
  *
36
32
  * @example
37
33
  * owner
@@ -45,6 +41,7 @@ export declare class CreateDataAgentWorkspaceResponseBodyData extends $dara.Mode
45
41
  * 11
46
42
  */
47
43
  totalMember?: number;
44
+ type?: string;
48
45
  /**
49
46
  * @remarks
50
47
  * The description of the workspace.
@@ -91,7 +88,7 @@ export declare class CreateDataAgentWorkspaceResponseBodyData extends $dara.Mode
91
88
  export declare class CreateDataAgentWorkspaceResponseBody extends $dara.Model {
92
89
  /**
93
90
  * @remarks
94
- * The returned data structure.
91
+ * The response struct.
95
92
  */
96
93
  data?: CreateDataAgentWorkspaceResponseBodyData;
97
94
  /**
@@ -45,6 +45,7 @@ class CreateDataAgentWorkspaceResponseBodyData extends $dara.Model {
45
45
  modifyTime: 'ModifyTime',
46
46
  roleName: 'RoleName',
47
47
  totalMember: 'TotalMember',
48
+ type: 'Type',
48
49
  workspaceDesc: 'WorkspaceDesc',
49
50
  workspaceId: 'WorkspaceId',
50
51
  workspaceName: 'WorkspaceName',
@@ -59,6 +60,7 @@ class CreateDataAgentWorkspaceResponseBodyData extends $dara.Model {
59
60
  modifyTime: 'number',
60
61
  roleName: 'string',
61
62
  totalMember: 'number',
63
+ type: 'string',
62
64
  workspaceDesc: 'string',
63
65
  workspaceId: 'string',
64
66
  workspaceName: 'string',
@@ -1 +1 @@
1
- {"version":3,"file":"CreateDataAgentWorkspaceResponseBody.js","sourceRoot":"","sources":["../../src/models/CreateDataAgentWorkspaceResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wCAAyC,SAAQ,KAAK,CAAC,KAAK;IA8EvE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,YAAY;YACxB,OAAO,EAAE,SAAS;YAClB,qBAAqB,EAAE,uBAAuB;YAC9C,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,WAAW,EAAE,aAAa;YAC1B,aAAa,EAAE,eAAe;YAC9B,WAAW,EAAE,aAAa;YAC1B,aAAa,EAAE,eAAe;YAC9B,eAAe,EAAE,iBAAiB;SACnC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,QAAQ;YACpB,OAAO,EAAE,QAAQ;YACjB,qBAAqB,EAAE,SAAS;YAChC,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,WAAW,EAAE,QAAQ;YACrB,aAAa,EAAE,QAAQ;YACvB,WAAW,EAAE,QAAQ;YACrB,aAAa,EAAE,QAAQ;YACvB,eAAe,EAAE,QAAQ;SAC1B,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;AAnHD,4FAmHC;AAED,MAAa,oCAAqC,SAAQ,KAAK,CAAC,KAAK;IAsCnE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,SAAS,EAAE,WAAW;YACtB,YAAY,EAAE,cAAc;YAC5B,SAAS,EAAE,WAAW;YACtB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,wCAAwC;YAC9C,SAAS,EAAE,QAAQ;YACnB,YAAY,EAAE,QAAQ;YACtB,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,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;AApED,oFAoEC"}
1
+ {"version":3,"file":"CreateDataAgentWorkspaceResponseBody.js","sourceRoot":"","sources":["../../src/models/CreateDataAgentWorkspaceResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wCAAyC,SAAQ,KAAK,CAAC,KAAK;IA2EvE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,YAAY;YACxB,OAAO,EAAE,SAAS;YAClB,qBAAqB,EAAE,uBAAuB;YAC9C,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,WAAW,EAAE,aAAa;YAC1B,IAAI,EAAE,MAAM;YACZ,aAAa,EAAE,eAAe;YAC9B,WAAW,EAAE,aAAa;YAC1B,aAAa,EAAE,eAAe;YAC9B,eAAe,EAAE,iBAAiB;SACnC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,QAAQ;YACpB,OAAO,EAAE,QAAQ;YACjB,qBAAqB,EAAE,SAAS;YAChC,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,WAAW,EAAE,QAAQ;YACrB,IAAI,EAAE,QAAQ;YACd,aAAa,EAAE,QAAQ;YACvB,WAAW,EAAE,QAAQ;YACrB,aAAa,EAAE,QAAQ;YACvB,eAAe,EAAE,QAAQ;SAC1B,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;AAlHD,4FAkHC;AAED,MAAa,oCAAqC,SAAQ,KAAK,CAAC,KAAK;IAsCnE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,SAAS,EAAE,WAAW;YACtB,YAAY,EAAE,cAAc;YAC5B,SAAS,EAAE,WAAW;YACtB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,wCAAwC;YAC9C,SAAS,EAAE,QAAQ;YACnB,YAAY,EAAE,QAAQ;YACtB,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,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;AApED,oFAoEC"}
@@ -0,0 +1,28 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DataAgentBillingInstance extends $dara.Model {
3
+ agentSeats?: number;
4
+ billingInstanceId?: string;
5
+ boundWorkspaceIds?: string[];
6
+ chargeType?: string;
7
+ commodityCode?: string;
8
+ expireTime?: number;
9
+ freeAgentSeats?: number;
10
+ gmtCreated?: number;
11
+ gmtModified?: number;
12
+ isDefault?: boolean;
13
+ LLM?: number;
14
+ payLevel?: string;
15
+ sessionAvailableDurationQuota?: number;
16
+ sessionSeats?: number;
17
+ tokenLimit?: number;
18
+ static names(): {
19
+ [key: string]: string;
20
+ };
21
+ static types(): {
22
+ [key: string]: any;
23
+ };
24
+ validate(): void;
25
+ constructor(map?: {
26
+ [key: string]: any;
27
+ });
28
+ }
@@ -0,0 +1,89 @@
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.DataAgentBillingInstance = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DataAgentBillingInstance extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ agentSeats: 'AgentSeats',
43
+ billingInstanceId: 'BillingInstanceId',
44
+ boundWorkspaceIds: 'BoundWorkspaceIds',
45
+ chargeType: 'ChargeType',
46
+ commodityCode: 'CommodityCode',
47
+ expireTime: 'ExpireTime',
48
+ freeAgentSeats: 'FreeAgentSeats',
49
+ gmtCreated: 'GmtCreated',
50
+ gmtModified: 'GmtModified',
51
+ isDefault: 'IsDefault',
52
+ LLM: 'LLM',
53
+ payLevel: 'PayLevel',
54
+ sessionAvailableDurationQuota: 'SessionAvailableDurationQuota',
55
+ sessionSeats: 'SessionSeats',
56
+ tokenLimit: 'TokenLimit',
57
+ };
58
+ }
59
+ static types() {
60
+ return {
61
+ agentSeats: 'number',
62
+ billingInstanceId: 'string',
63
+ boundWorkspaceIds: { 'type': 'array', 'itemType': 'string' },
64
+ chargeType: 'string',
65
+ commodityCode: 'string',
66
+ expireTime: 'number',
67
+ freeAgentSeats: 'number',
68
+ gmtCreated: 'number',
69
+ gmtModified: 'number',
70
+ isDefault: 'boolean',
71
+ LLM: 'number',
72
+ payLevel: 'string',
73
+ sessionAvailableDurationQuota: 'number',
74
+ sessionSeats: 'number',
75
+ tokenLimit: 'number',
76
+ };
77
+ }
78
+ validate() {
79
+ if (Array.isArray(this.boundWorkspaceIds)) {
80
+ $dara.Model.validateArray(this.boundWorkspaceIds);
81
+ }
82
+ super.validate();
83
+ }
84
+ constructor(map) {
85
+ super(map);
86
+ }
87
+ }
88
+ exports.DataAgentBillingInstance = DataAgentBillingInstance;
89
+ //# sourceMappingURL=DataAgentBillingInstance.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataAgentBillingInstance.js","sourceRoot":"","sources":["../../src/models/DataAgentBillingInstance.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wBAAyB,SAAQ,KAAK,CAAC,KAAK;IAgBvD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,YAAY;YACxB,iBAAiB,EAAE,mBAAmB;YACtC,iBAAiB,EAAE,mBAAmB;YACtC,UAAU,EAAE,YAAY;YACxB,aAAa,EAAE,eAAe;YAC9B,UAAU,EAAE,YAAY;YACxB,cAAc,EAAE,gBAAgB;YAChC,UAAU,EAAE,YAAY;YACxB,WAAW,EAAE,aAAa;YAC1B,SAAS,EAAE,WAAW;YACtB,GAAG,EAAE,KAAK;YACV,QAAQ,EAAE,UAAU;YACpB,6BAA6B,EAAE,+BAA+B;YAC9D,YAAY,EAAE,cAAc;YAC5B,UAAU,EAAE,YAAY;SACzB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,QAAQ;YACpB,iBAAiB,EAAE,QAAQ;YAC3B,iBAAiB,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YAC5D,UAAU,EAAE,QAAQ;YACpB,aAAa,EAAE,QAAQ;YACvB,UAAU,EAAE,QAAQ;YACpB,cAAc,EAAE,QAAQ;YACxB,UAAU,EAAE,QAAQ;YACpB,WAAW,EAAE,QAAQ;YACrB,SAAS,EAAE,SAAS;YACpB,GAAG,EAAE,QAAQ;YACb,QAAQ,EAAE,QAAQ;YAClB,6BAA6B,EAAE,QAAQ;YACvC,YAAY,EAAE,QAAQ;YACtB,UAAU,EAAE,QAAQ;SACrB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,iBAAiB,CAAC,EAAE,CAAC;YACzC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;QACpD,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAlED,4DAkEC"}
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class DescribeDataAgentSessionRequest extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The ID of the DMS unit.
5
+ * The current DMS unit.
6
6
  *
7
7
  * @example
8
8
  * cn-hangzhou
@@ -10,7 +10,7 @@ export declare class DescribeDataAgentSessionRequest extends $dara.Model {
10
10
  DMSUnit?: string;
11
11
  /**
12
12
  * @remarks
13
- * The ID of the agent session.
13
+ * The DataAgent session ID. You can obtain this ID by calling CreateDataAgentSession.
14
14
  *
15
15
  * @example
16
16
  * c61n7gm******rj
@@ -18,7 +18,7 @@ export declare class DescribeDataAgentSessionRequest extends $dara.Model {
18
18
  sessionId?: string;
19
19
  /**
20
20
  * @remarks
21
- * The ID of the workspace.
21
+ * The workspace ID.
22
22
  *
23
23
  * @example
24
24
  * 12****
@@ -1,8 +1,92 @@
1
1
  import * as $dara from '@darabonba/typescript';
2
+ export declare class DescribeDataAgentSessionResponseBodyDataArtifacts extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The brief description of the artifact. This value may be empty.
6
+ *
7
+ * @example
8
+ * a simple report
9
+ */
10
+ description?: string;
11
+ /**
12
+ * @remarks
13
+ * The time when the backend completed the artifact task. This is a UNIX timestamp accurate to the second.
14
+ *
15
+ * @example
16
+ * 1778743587
17
+ */
18
+ finishTime?: string;
19
+ /**
20
+ * @remarks
21
+ * The globally unique artifact ID. If the report is produced by calling SendChatMessage with MessageType set to REPORT, the artifact ID is the same as the MessageId returned by the SendChatMessage operation.
22
+ *
23
+ * @example
24
+ * bab******33e1
25
+ */
26
+ id?: string;
27
+ /**
28
+ * @remarks
29
+ * The artifact name. This is typically a string concatenated by the system. It is aligned with the name field in the ListFileUpload operation. You can use this field to query the download URL of the artifact file.
30
+ *
31
+ * @example
32
+ * report_****_2026****
33
+ */
34
+ name?: string;
35
+ /**
36
+ * @remarks
37
+ * The time when the backend received the artifact request. This is a UNIX timestamp accurate to the second.
38
+ *
39
+ * @example
40
+ * 1778743587
41
+ */
42
+ receiveTime?: string;
43
+ /**
44
+ * @remarks
45
+ * The time when the backend actually started running the artifact task. This is a UNIX timestamp accurate to the second.
46
+ *
47
+ * @example
48
+ * 1778743587
49
+ */
50
+ startTime?: string;
51
+ /**
52
+ * @remarks
53
+ * The artifact status. Valid values:
54
+ *
55
+ * - PENDING: The backend has received the task but has not started it.
56
+ *
57
+ * - RUNNING: The backend has started the task but has not completed it.
58
+ *
59
+ * - SUCCESS: The task succeeded. You can query the file information by calling the ListFileUpload operation.
60
+ *
61
+ * - FAILED: The task failed.
62
+ *
63
+ * @example
64
+ * PENDING
65
+ */
66
+ status?: string;
67
+ /**
68
+ * @remarks
69
+ * The artifact type. Valid values: TextReport and WebReport.
70
+ *
71
+ * @example
72
+ * WebReport
73
+ */
74
+ type?: string;
75
+ static names(): {
76
+ [key: string]: string;
77
+ };
78
+ static types(): {
79
+ [key: string]: any;
80
+ };
81
+ validate(): void;
82
+ constructor(map?: {
83
+ [key: string]: any;
84
+ });
85
+ }
2
86
  export declare class DescribeDataAgentSessionResponseBodyDataChatHistoryLocations extends $dara.Model {
3
87
  /**
4
88
  * @remarks
5
- * The key of the session replay history item.
89
+ * The key of the chat replay history.
6
90
  *
7
91
  * @example
8
92
  * testKey1
@@ -10,7 +94,7 @@ export declare class DescribeDataAgentSessionResponseBodyDataChatHistoryLocation
10
94
  key?: string;
11
95
  /**
12
96
  * @remarks
13
- * The OSS download URL for the session replay history item.
97
+ * The OSS download URL of the chat replay history.
14
98
  *
15
99
  * @example
16
100
  * ****
@@ -27,10 +111,80 @@ export declare class DescribeDataAgentSessionResponseBodyDataChatHistoryLocation
27
111
  [key: string]: any;
28
112
  });
29
113
  }
114
+ export declare class DescribeDataAgentSessionResponseBodyDataDataSources extends $dara.Model {
115
+ /**
116
+ * @remarks
117
+ * The data source category. Valid values:
118
+ *
119
+ * - **CHAT**: specified through the CreateDataAgentSession or SendChatMessage operation during a conversation.
120
+ *
121
+ * - **CUSTOM_AGENT**: from the preset analysis data scope in a custom agent.
122
+ *
123
+ * @example
124
+ * CHAT
125
+ */
126
+ category?: string;
127
+ /**
128
+ * @remarks
129
+ * The data source details.
130
+ *
131
+ * When Category is CHAT or CUSTOM_AGENT, the structure of Detail is aligned with the structure of a single element in the DataSources parameter of the SendChatMessage operation.
132
+ *
133
+ * @example
134
+ * {}
135
+ */
136
+ detail?: string;
137
+ static names(): {
138
+ [key: string]: string;
139
+ };
140
+ static types(): {
141
+ [key: string]: any;
142
+ };
143
+ validate(): void;
144
+ constructor(map?: {
145
+ [key: string]: any;
146
+ });
147
+ }
148
+ export declare class DescribeDataAgentSessionResponseBodyDataRecallResults extends $dara.Model {
149
+ /**
150
+ * @remarks
151
+ * The content of the recalled knowledge chunk.
152
+ *
153
+ * @example
154
+ * sky is blue
155
+ */
156
+ content?: string;
157
+ /**
158
+ * @remarks
159
+ * The similarity score of this data entry. The scoring algorithm is related to the algorithm (l2/ip/cosine) specified when the index was created.
160
+ *
161
+ * @example
162
+ * 0.65
163
+ */
164
+ score?: number;
165
+ /**
166
+ * @remarks
167
+ * The type of recalled knowledge.
168
+ *
169
+ * @example
170
+ * memory
171
+ */
172
+ type?: string;
173
+ static names(): {
174
+ [key: string]: string;
175
+ };
176
+ static types(): {
177
+ [key: string]: any;
178
+ };
179
+ validate(): void;
180
+ constructor(map?: {
181
+ [key: string]: any;
182
+ });
183
+ }
30
184
  export declare class DescribeDataAgentSessionResponseBodyDataSessionConfig extends $dara.Model {
31
185
  /**
32
186
  * @remarks
33
- * The ID of the custom agent.
187
+ * The custom agent ID.
34
188
  *
35
189
  * @example
36
190
  * ca-e*******ckd
@@ -39,10 +193,8 @@ export declare class DescribeDataAgentSessionResponseBodyDataSessionConfig exten
39
193
  /**
40
194
  * @remarks
41
195
  * The stage of the custom agent. Valid values:
42
- *
43
- * - **debug**: The test stage.
44
- *
45
- * - **prod**: The production stage.
196
+ * - **debug**: the debugging stage.
197
+ * - **prod**: the production stage.
46
198
  *
47
199
  * @example
48
200
  * debug
@@ -50,22 +202,38 @@ export declare class DescribeDataAgentSessionResponseBodyDataSessionConfig exten
50
202
  customAgentStage?: string;
51
203
  /**
52
204
  * @remarks
53
- * Indicates whether web search is enabled.
205
+ * Specifies whether to enable web search.
54
206
  *
55
207
  * @example
56
208
  * True
57
209
  */
58
210
  enableSearch?: boolean;
211
+ /**
212
+ * @remarks
213
+ * The encryption key for storing artifacts in OSS (including built-in and user-specified OSS). This is typically specified in CreateDataAgentSession.
214
+ *
215
+ * @example
216
+ * ay***1Te
217
+ */
59
218
  encryptKey?: string;
219
+ /**
220
+ * @remarks
221
+ * The encryption type for storing artifacts in OSS (including built-in and user-specified OSS).
222
+ *
223
+ * @example
224
+ * null
225
+ */
60
226
  encryptType?: string;
227
+ /**
228
+ * @remarks
229
+ * The list of knowledge base IDs for this session.
230
+ */
61
231
  kbUuidList?: string[];
62
232
  /**
63
233
  * @remarks
64
234
  * The language. Valid values:
65
- *
66
- * - **CHINESE**: Chinese
67
- *
68
- * - **ENGLISH**: English
235
+ * - **CHINESE**: Chinese.
236
+ * - **ENGLISH**: English.
69
237
  *
70
238
  * @example
71
239
  * CHINESE
@@ -73,30 +241,39 @@ export declare class DescribeDataAgentSessionResponseBodyDataSessionConfig exten
73
241
  language?: string;
74
242
  /**
75
243
  * @remarks
76
- * A list of MCP server IDs.
244
+ * The list of MCP server IDs in the session configuration.
77
245
  */
78
246
  mcpServerIds?: string[];
79
247
  /**
80
248
  * @remarks
81
249
  * The mode. Valid values:
82
- *
83
- * - **ASK_DATA**: quick inquiry mode
84
- *
85
- * - **ANALYSIS**: analysis mode
86
- *
87
- * - **INSIGHT**: insight mode
250
+ * - **ASK_DATA**: the data query mode.
251
+ * - **ANALYSIS**: the analysis mode.
252
+ * - **INSIGHT**: the insight mode.
88
253
  *
89
254
  * @example
90
255
  * ANALYSIS
91
256
  */
92
257
  mode?: string;
258
+ /**
259
+ * @remarks
260
+ * The report page width.
261
+ *
262
+ * @example
263
+ * 300mm
264
+ */
93
265
  reportPageWidth?: number;
94
- reportWaterMark?: string;
95
266
  /**
96
267
  * @remarks
97
- * The name of the user\\"s OSS bucket.
268
+ * The report watermark.
98
269
  *
99
- * - The service can upload analysis files and reports to this bucket.
270
+ * @example
271
+ * ""
272
+ */
273
+ reportWaterMark?: string;
274
+ /**
275
+ * @remarks
276
+ * The name of the user OSS bucket. Analysis process files and report artifacts can be uploaded to the user-specified OSS bucket.
100
277
  *
101
278
  * @example
102
279
  * user-oss-bucket
@@ -116,7 +293,7 @@ export declare class DescribeDataAgentSessionResponseBodyDataSessionConfig exten
116
293
  export declare class DescribeDataAgentSessionResponseBodyData extends $dara.Model {
117
294
  /**
118
295
  * @remarks
119
- * The ID of the agent.
296
+ * The current agent ID.
120
297
  *
121
298
  * @example
122
299
  * cu0cs*******mf
@@ -124,7 +301,7 @@ export declare class DescribeDataAgentSessionResponseBodyData extends $dara.Mode
124
301
  agentId?: string;
125
302
  /**
126
303
  * @remarks
127
- * The status of the agent.
304
+ * The current agent status.
128
305
  *
129
306
  * @example
130
307
  * RUNNING
@@ -132,12 +309,17 @@ export declare class DescribeDataAgentSessionResponseBodyData extends $dara.Mode
132
309
  agentStatus?: string;
133
310
  /**
134
311
  * @remarks
135
- * The session replay history.
312
+ * The list of artifacts produced by the session. Currently, only reports are included.
313
+ */
314
+ artifacts?: DescribeDataAgentSessionResponseBodyDataArtifacts[];
315
+ /**
316
+ * @remarks
317
+ * The chat replay history.
136
318
  */
137
319
  chatHistoryLocations?: DescribeDataAgentSessionResponseBodyDataChatHistoryLocations[];
138
320
  /**
139
321
  * @remarks
140
- * The timestamp indicating when the session was created.
322
+ * The time when the session was created.
141
323
  *
142
324
  * @example
143
325
  * 1731645908000
@@ -145,7 +327,12 @@ export declare class DescribeDataAgentSessionResponseBodyData extends $dara.Mode
145
327
  createTime?: number;
146
328
  /**
147
329
  * @remarks
148
- * Indicates whether the current user has favorited the session in the workspace.
330
+ * The list of data sources used in the current session.
331
+ */
332
+ dataSources?: DescribeDataAgentSessionResponseBodyDataDataSources[];
333
+ /**
334
+ * @remarks
335
+ * Indicates whether the session is saved to favorites in the workspace by the current user.
149
336
  *
150
337
  * @example
151
338
  * true
@@ -153,7 +340,7 @@ export declare class DescribeDataAgentSessionResponseBodyData extends $dara.Mode
153
340
  favoriteInWorkspace?: string;
154
341
  /**
155
342
  * @remarks
156
- * The ID of the file.
343
+ * The file ID.
157
344
  *
158
345
  * @example
159
346
  * f-8*******01m
@@ -161,7 +348,12 @@ export declare class DescribeDataAgentSessionResponseBodyData extends $dara.Mode
161
348
  file?: string;
162
349
  /**
163
350
  * @remarks
164
- * Indicates whether the current user has favorited the session.
351
+ * The recall results from the knowledge base and memory for this session.
352
+ */
353
+ recallResults?: DescribeDataAgentSessionResponseBodyDataRecallResults[];
354
+ /**
355
+ * @remarks
356
+ * Indicates whether the session is saved to favorites by the current user.
165
357
  *
166
358
  * @example
167
359
  * true
@@ -169,12 +361,12 @@ export declare class DescribeDataAgentSessionResponseBodyData extends $dara.Mode
169
361
  saved?: boolean;
170
362
  /**
171
363
  * @remarks
172
- * The configuration of the session.
364
+ * The session configuration item.
173
365
  */
174
366
  sessionConfig?: DescribeDataAgentSessionResponseBodyDataSessionConfig;
175
367
  /**
176
368
  * @remarks
177
- * The ID of the agent session.
369
+ * The agent session ID.
178
370
  *
179
371
  * @example
180
372
  * 976*********p
@@ -182,7 +374,7 @@ export declare class DescribeDataAgentSessionResponseBodyData extends $dara.Mode
182
374
  sessionId?: string;
183
375
  /**
184
376
  * @remarks
185
- * The status of the session.
377
+ * The session status.
186
378
  *
187
379
  * @example
188
380
  * RUNNING
@@ -190,7 +382,7 @@ export declare class DescribeDataAgentSessionResponseBodyData extends $dara.Mode
190
382
  sessionStatus?: string;
191
383
  /**
192
384
  * @remarks
193
- * The title of the session.
385
+ * The title.
194
386
  *
195
387
  * @example
196
388
  * 分析一下这份文件,给出报告。
@@ -218,7 +410,7 @@ export declare class DescribeDataAgentSessionResponseBodyData extends $dara.Mode
218
410
  export declare class DescribeDataAgentSessionResponseBody extends $dara.Model {
219
411
  /**
220
412
  * @remarks
221
- * The response data.
413
+ * The response struct.
222
414
  */
223
415
  data?: DescribeDataAgentSessionResponseBodyData;
224
416
  /**
@@ -231,7 +423,7 @@ export declare class DescribeDataAgentSessionResponseBody extends $dara.Model {
231
423
  errorCode?: string;
232
424
  /**
233
425
  * @remarks
234
- * The error message returned when the request fails.
426
+ * The error message returned if the call failed.
235
427
  *
236
428
  * @example
237
429
  * UnknownError
@@ -239,7 +431,7 @@ export declare class DescribeDataAgentSessionResponseBody extends $dara.Model {
239
431
  errorMessage?: string;
240
432
  /**
241
433
  * @remarks
242
- * The request ID.
434
+ * Id of the request
243
435
  *
244
436
  * @example
245
437
  * 18****-*****-*******7A3122F
@@ -247,11 +439,10 @@ export declare class DescribeDataAgentSessionResponseBody extends $dara.Model {
247
439
  requestId?: string;
248
440
  /**
249
441
  * @remarks
250
- * Indicates whether the request was successful.
251
- *
252
- * - **true**: The request was successful.
442
+ * The return value. Valid values:
253
443
  *
254
- * - **false**: The request failed.
444
+ * - **true**: The operation was successful.
445
+ * - **false**: The operation failed.
255
446
  *
256
447
  * @example
257
448
  * true