@alicloud/dms20250414 1.17.1 → 1.18.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 (77) hide show
  1. package/dist/client.d.ts +77 -2
  2. package/dist/client.js +242 -2
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CheckDataAgentMemoryConfigRequest.d.ts +21 -0
  5. package/dist/models/CheckDataAgentMemoryConfigRequest.js +58 -0
  6. package/dist/models/CheckDataAgentMemoryConfigRequest.js.map +1 -0
  7. package/dist/models/CheckDataAgentMemoryConfigResponse.d.ts +19 -0
  8. package/dist/models/CheckDataAgentMemoryConfigResponse.js +69 -0
  9. package/dist/models/CheckDataAgentMemoryConfigResponse.js.map +1 -0
  10. package/dist/models/CheckDataAgentMemoryConfigResponseBody.d.ts +89 -0
  11. package/dist/models/CheckDataAgentMemoryConfigResponseBody.js +90 -0
  12. package/dist/models/CheckDataAgentMemoryConfigResponseBody.js.map +1 -0
  13. package/dist/models/ConfigDataAgentMemoryRequest.d.ts +28 -0
  14. package/dist/models/ConfigDataAgentMemoryRequest.js +62 -0
  15. package/dist/models/ConfigDataAgentMemoryRequest.js.map +1 -0
  16. package/dist/models/ConfigDataAgentMemoryResponse.d.ts +19 -0
  17. package/dist/models/ConfigDataAgentMemoryResponse.js +69 -0
  18. package/dist/models/ConfigDataAgentMemoryResponse.js.map +1 -0
  19. package/dist/models/ConfigDataAgentMemoryResponseBody.d.ts +56 -0
  20. package/dist/models/ConfigDataAgentMemoryResponseBody.js +90 -0
  21. package/dist/models/ConfigDataAgentMemoryResponseBody.js.map +1 -0
  22. package/dist/models/CreateDataAgentAccuracyTestRequest.d.ts +4 -1
  23. package/dist/models/CreateDataAgentAccuracyTestRequest.js.map +1 -1
  24. package/dist/models/DeleteDataAgentMemoryRequest.d.ts +29 -0
  25. package/dist/models/DeleteDataAgentMemoryRequest.js +60 -0
  26. package/dist/models/DeleteDataAgentMemoryRequest.js.map +1 -0
  27. package/dist/models/DeleteDataAgentMemoryResponse.d.ts +19 -0
  28. package/dist/models/DeleteDataAgentMemoryResponse.js +69 -0
  29. package/dist/models/DeleteDataAgentMemoryResponse.js.map +1 -0
  30. package/dist/models/DeleteDataAgentMemoryResponseBody.d.ts +84 -0
  31. package/dist/models/DeleteDataAgentMemoryResponseBody.js +90 -0
  32. package/dist/models/DeleteDataAgentMemoryResponseBody.js.map +1 -0
  33. package/dist/models/ListDataAgentMemoryRequest.d.ts +93 -0
  34. package/dist/models/ListDataAgentMemoryRequest.js +74 -0
  35. package/dist/models/ListDataAgentMemoryRequest.js.map +1 -0
  36. package/dist/models/ListDataAgentMemoryResponse.d.ts +19 -0
  37. package/dist/models/ListDataAgentMemoryResponse.js +69 -0
  38. package/dist/models/ListDataAgentMemoryResponse.js.map +1 -0
  39. package/dist/models/ListDataAgentMemoryResponseBody.d.ts +186 -0
  40. package/dist/models/ListDataAgentMemoryResponseBody.js +134 -0
  41. package/dist/models/ListDataAgentMemoryResponseBody.js.map +1 -0
  42. package/dist/models/ListDataAgentWorkspaceRequest.d.ts +3 -3
  43. package/dist/models/ListDataAgentWorkspaceResponseBody.d.ts +19 -5
  44. package/dist/models/ListDataAgentWorkspaceResponseBody.js.map +1 -1
  45. package/dist/models/UpdateDataAgentMemoryRequest.d.ts +58 -0
  46. package/dist/models/UpdateDataAgentMemoryRequest.js +66 -0
  47. package/dist/models/UpdateDataAgentMemoryRequest.js.map +1 -0
  48. package/dist/models/UpdateDataAgentMemoryResponse.d.ts +19 -0
  49. package/dist/models/UpdateDataAgentMemoryResponse.js +69 -0
  50. package/dist/models/UpdateDataAgentMemoryResponse.js.map +1 -0
  51. package/dist/models/UpdateDataAgentMemoryResponseBody.d.ts +84 -0
  52. package/dist/models/UpdateDataAgentMemoryResponseBody.js +90 -0
  53. package/dist/models/UpdateDataAgentMemoryResponseBody.js.map +1 -0
  54. package/dist/models/model.d.ts +21 -0
  55. package/dist/models/model.js +53 -11
  56. package/dist/models/model.js.map +1 -1
  57. package/package.json +1 -1
  58. package/src/client.ts +272 -2
  59. package/src/models/CheckDataAgentMemoryConfigRequest.ts +34 -0
  60. package/src/models/CheckDataAgentMemoryConfigResponse.ts +40 -0
  61. package/src/models/CheckDataAgentMemoryConfigResponseBody.ts +125 -0
  62. package/src/models/ConfigDataAgentMemoryRequest.ts +45 -0
  63. package/src/models/ConfigDataAgentMemoryResponse.ts +40 -0
  64. package/src/models/ConfigDataAgentMemoryResponseBody.ts +92 -0
  65. package/src/models/CreateDataAgentAccuracyTestRequest.ts +4 -1
  66. package/src/models/DeleteDataAgentMemoryRequest.ts +44 -0
  67. package/src/models/DeleteDataAgentMemoryResponse.ts +40 -0
  68. package/src/models/DeleteDataAgentMemoryResponseBody.ts +120 -0
  69. package/src/models/ListDataAgentMemoryRequest.ts +122 -0
  70. package/src/models/ListDataAgentMemoryResponse.ts +40 -0
  71. package/src/models/ListDataAgentMemoryResponseBody.ts +257 -0
  72. package/src/models/ListDataAgentWorkspaceRequest.ts +3 -3
  73. package/src/models/ListDataAgentWorkspaceResponseBody.ts +19 -5
  74. package/src/models/UpdateDataAgentMemoryRequest.ts +79 -0
  75. package/src/models/UpdateDataAgentMemoryResponse.ts +40 -0
  76. package/src/models/UpdateDataAgentMemoryResponseBody.ts +120 -0
  77. package/src/models/model.ts +21 -0
@@ -0,0 +1,90 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.ConfigDataAgentMemoryResponseBody = exports.ConfigDataAgentMemoryResponseBodyData = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class ConfigDataAgentMemoryResponseBodyData extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ enabled: 'Enabled',
43
+ recallEnabled: 'RecallEnabled',
44
+ };
45
+ }
46
+ static types() {
47
+ return {
48
+ enabled: 'boolean',
49
+ recallEnabled: 'boolean',
50
+ };
51
+ }
52
+ validate() {
53
+ super.validate();
54
+ }
55
+ constructor(map) {
56
+ super(map);
57
+ }
58
+ }
59
+ exports.ConfigDataAgentMemoryResponseBodyData = ConfigDataAgentMemoryResponseBodyData;
60
+ class ConfigDataAgentMemoryResponseBody extends $dara.Model {
61
+ static names() {
62
+ return {
63
+ data: 'Data',
64
+ errorCode: 'ErrorCode',
65
+ errorMessage: 'ErrorMessage',
66
+ requestId: 'RequestId',
67
+ success: 'Success',
68
+ };
69
+ }
70
+ static types() {
71
+ return {
72
+ data: ConfigDataAgentMemoryResponseBodyData,
73
+ errorCode: 'string',
74
+ errorMessage: 'string',
75
+ requestId: 'string',
76
+ success: 'boolean',
77
+ };
78
+ }
79
+ validate() {
80
+ if (this.data && typeof this.data.validate === 'function') {
81
+ this.data.validate();
82
+ }
83
+ super.validate();
84
+ }
85
+ constructor(map) {
86
+ super(map);
87
+ }
88
+ }
89
+ exports.ConfigDataAgentMemoryResponseBody = ConfigDataAgentMemoryResponseBody;
90
+ //# sourceMappingURL=ConfigDataAgentMemoryResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConfigDataAgentMemoryResponseBody.js","sourceRoot":"","sources":["../../src/models/ConfigDataAgentMemoryResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,qCAAsC,SAAQ,KAAK,CAAC,KAAK;IAWpE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,aAAa,EAAE,eAAe;SAC/B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,aAAa,EAAE,SAAS;SACzB,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;AAhCD,sFAgCC;AAED,MAAa,iCAAkC,SAAQ,KAAK,CAAC,KAAK;IAsBhE,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,qCAAqC;YAC3C,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;AApDD,8EAoDC"}
@@ -10,13 +10,16 @@ export declare class CreateDataAgentAccuracyTestRequest extends $dara.Model {
10
10
  customAgentId?: string;
11
11
  /**
12
12
  * @remarks
13
- * The data source. We recommend that you configure this in the custom agent.
13
+ * Deprecated.
14
14
  *
15
15
  * @example
16
16
  * null
17
17
  */
18
18
  dataset?: string;
19
19
  /**
20
+ * @remarks
21
+ * The data source. We recommend that you configure this in the custom agent.
22
+ *
20
23
  * @example
21
24
  * [{"isInternal":"N","TableIds":["51***70","51***71"],"DataSourceType":"database","Database":"internal_data_employees","DmsInstanceId":"27***5","DmsDatabaseId":"71***04","Tables":["employees","salaries"],"FileId":"rm-
22
25
  * ***","DbName":"internal_data_employees","CatalogName":"def","RegionId":"cn-hangzhou","Engine":"mysql"}]
@@ -1 +1 @@
1
- {"version":3,"file":"CreateDataAgentAccuracyTestRequest.js","sourceRoot":"","sources":["../../src/models/CreateDataAgentAccuracyTestRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,kCAAmC,SAAQ,KAAK,CAAC,KAAK;IA+GjE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,eAAe;YAC9B,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;YACZ,OAAO,EAAE,SAAS;YAClB,gBAAgB,EAAE,kBAAkB;YACpC,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,UAAU;YACpB,aAAa,EAAE,eAAe;YAC9B,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,MAAM;YACZ,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,WAAW,EAAE,aAAa;SAC3B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,QAAQ;YACvB,OAAO,EAAE,QAAQ;YACjB,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,QAAQ;YACjB,gBAAgB,EAAE,QAAQ;YAC1B,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,QAAQ;YAClB,aAAa,EAAE,QAAQ;YACvB,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE,SAAS;YACrB,QAAQ,EAAE,QAAQ;YAClB,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;AA5JD,gFA4JC"}
1
+ {"version":3,"file":"CreateDataAgentAccuracyTestRequest.js","sourceRoot":"","sources":["../../src/models/CreateDataAgentAccuracyTestRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,kCAAmC,SAAQ,KAAK,CAAC,KAAK;IAkHjE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,eAAe;YAC9B,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;YACZ,OAAO,EAAE,SAAS;YAClB,gBAAgB,EAAE,kBAAkB;YACpC,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,UAAU;YACpB,aAAa,EAAE,eAAe;YAC9B,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,MAAM;YACZ,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,WAAW,EAAE,aAAa;SAC3B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,QAAQ;YACvB,OAAO,EAAE,QAAQ;YACjB,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,QAAQ;YACjB,gBAAgB,EAAE,QAAQ;YAC1B,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,QAAQ;YAClB,aAAa,EAAE,QAAQ;YACvB,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE,SAAS;YACrB,QAAQ,EAAE,QAAQ;YAClB,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;AA/JD,gFA+JC"}
@@ -0,0 +1,29 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DeleteDataAgentMemoryRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The current DMS unit.
6
+ *
7
+ * @example
8
+ * cn-hangzhou
9
+ */
10
+ DMSUnit?: string;
11
+ /**
12
+ * @remarks
13
+ * The memory UUID.
14
+ *
15
+ * @example
16
+ * ed3f67***********ed
17
+ */
18
+ uuid?: string;
19
+ static names(): {
20
+ [key: string]: string;
21
+ };
22
+ static types(): {
23
+ [key: string]: any;
24
+ };
25
+ validate(): void;
26
+ constructor(map?: {
27
+ [key: string]: any;
28
+ });
29
+ }
@@ -0,0 +1,60 @@
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.DeleteDataAgentMemoryRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DeleteDataAgentMemoryRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ DMSUnit: 'DMSUnit',
43
+ uuid: 'Uuid',
44
+ };
45
+ }
46
+ static types() {
47
+ return {
48
+ DMSUnit: 'string',
49
+ uuid: 'string',
50
+ };
51
+ }
52
+ validate() {
53
+ super.validate();
54
+ }
55
+ constructor(map) {
56
+ super(map);
57
+ }
58
+ }
59
+ exports.DeleteDataAgentMemoryRequest = DeleteDataAgentMemoryRequest;
60
+ //# sourceMappingURL=DeleteDataAgentMemoryRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeleteDataAgentMemoryRequest.js","sourceRoot":"","sources":["../../src/models/DeleteDataAgentMemoryRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,4BAA6B,SAAQ,KAAK,CAAC,KAAK;IAiB3D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,QAAQ;YACjB,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;AAtCD,oEAsCC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { DeleteDataAgentMemoryResponseBody } from "./DeleteDataAgentMemoryResponseBody";
3
+ export declare class DeleteDataAgentMemoryResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: DeleteDataAgentMemoryResponseBody;
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.DeleteDataAgentMemoryResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const DeleteDataAgentMemoryResponseBody_1 = require("./DeleteDataAgentMemoryResponseBody");
40
+ class DeleteDataAgentMemoryResponse 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: DeleteDataAgentMemoryResponseBody_1.DeleteDataAgentMemoryResponseBody,
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.DeleteDataAgentMemoryResponse = DeleteDataAgentMemoryResponse;
69
+ //# sourceMappingURL=DeleteDataAgentMemoryResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeleteDataAgentMemoryResponse.js","sourceRoot":"","sources":["../../src/models/DeleteDataAgentMemoryResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,2FAAwF;AAGxF,MAAa,6BAA8B,SAAQ,KAAK,CAAC,KAAK;IAI5D,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,qEAAiC;SACxC,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,sEAiCC"}
@@ -0,0 +1,84 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DeleteDataAgentMemoryResponseBodyData extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The call ID.
6
+ *
7
+ * @example
8
+ * dlc7c***********2r8v7
9
+ */
10
+ jobId?: string;
11
+ /**
12
+ * @remarks
13
+ * Indicates whether the task submission request is successful. Valid values:
14
+ *
15
+ * - **true**: The request is successful.
16
+ * - **false**: The request failed.
17
+ *
18
+ * @example
19
+ * true
20
+ */
21
+ success?: boolean;
22
+ static names(): {
23
+ [key: string]: string;
24
+ };
25
+ static types(): {
26
+ [key: string]: any;
27
+ };
28
+ validate(): void;
29
+ constructor(map?: {
30
+ [key: string]: any;
31
+ });
32
+ }
33
+ export declare class DeleteDataAgentMemoryResponseBody extends $dara.Model {
34
+ /**
35
+ * @remarks
36
+ * The response struct.
37
+ */
38
+ data?: DeleteDataAgentMemoryResponseBodyData;
39
+ /**
40
+ * @remarks
41
+ * The error code returned when the request is abnormal.
42
+ *
43
+ * @example
44
+ * InvalidTid
45
+ */
46
+ errorCode?: string;
47
+ /**
48
+ * @remarks
49
+ * The error message returned when the call fails.
50
+ *
51
+ * @example
52
+ * Specified parameter Tid is not valid.
53
+ */
54
+ errorMessage?: string;
55
+ /**
56
+ * @remarks
57
+ * Id of the request
58
+ *
59
+ * @example
60
+ * 67E910F2-4B62-5B0C-ACA3-7547695C****
61
+ */
62
+ requestId?: string;
63
+ /**
64
+ * @remarks
65
+ * Indicates whether the call is successful. Valid values:
66
+ *
67
+ * - **true**: The request is successful.
68
+ * - **false**: The request failed.
69
+ *
70
+ * @example
71
+ * true
72
+ */
73
+ success?: boolean;
74
+ static names(): {
75
+ [key: string]: string;
76
+ };
77
+ static types(): {
78
+ [key: string]: any;
79
+ };
80
+ validate(): void;
81
+ constructor(map?: {
82
+ [key: string]: any;
83
+ });
84
+ }
@@ -0,0 +1,90 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.DeleteDataAgentMemoryResponseBody = exports.DeleteDataAgentMemoryResponseBodyData = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DeleteDataAgentMemoryResponseBodyData extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ jobId: 'JobId',
43
+ success: 'Success',
44
+ };
45
+ }
46
+ static types() {
47
+ return {
48
+ jobId: 'string',
49
+ success: 'boolean',
50
+ };
51
+ }
52
+ validate() {
53
+ super.validate();
54
+ }
55
+ constructor(map) {
56
+ super(map);
57
+ }
58
+ }
59
+ exports.DeleteDataAgentMemoryResponseBodyData = DeleteDataAgentMemoryResponseBodyData;
60
+ class DeleteDataAgentMemoryResponseBody extends $dara.Model {
61
+ static names() {
62
+ return {
63
+ data: 'Data',
64
+ errorCode: 'ErrorCode',
65
+ errorMessage: 'ErrorMessage',
66
+ requestId: 'RequestId',
67
+ success: 'Success',
68
+ };
69
+ }
70
+ static types() {
71
+ return {
72
+ data: DeleteDataAgentMemoryResponseBodyData,
73
+ errorCode: 'string',
74
+ errorMessage: 'string',
75
+ requestId: 'string',
76
+ success: 'boolean',
77
+ };
78
+ }
79
+ validate() {
80
+ if (this.data && typeof this.data.validate === 'function') {
81
+ this.data.validate();
82
+ }
83
+ super.validate();
84
+ }
85
+ constructor(map) {
86
+ super(map);
87
+ }
88
+ }
89
+ exports.DeleteDataAgentMemoryResponseBody = DeleteDataAgentMemoryResponseBody;
90
+ //# sourceMappingURL=DeleteDataAgentMemoryResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeleteDataAgentMemoryResponseBody.js","sourceRoot":"","sources":["../../src/models/DeleteDataAgentMemoryResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,qCAAsC,SAAQ,KAAK,CAAC,KAAK;IAoBpE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,QAAQ;YACf,OAAO,EAAE,SAAS;SACnB,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;AAzCD,sFAyCC;AAED,MAAa,iCAAkC,SAAQ,KAAK,CAAC,KAAK;IAyChE,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,qCAAqC;YAC3C,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;AAvED,8EAuEC"}
@@ -0,0 +1,93 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class ListDataAgentMemoryRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The content pattern used for fuzzy match search.
6
+ *
7
+ * @example
8
+ * user preference
9
+ */
10
+ contentPattern?: string;
11
+ /**
12
+ * @remarks
13
+ * The current Data Management unit.
14
+ *
15
+ * @example
16
+ * cn-hangzhou
17
+ */
18
+ DMSUnit?: string;
19
+ /**
20
+ * @remarks
21
+ * The source ID.
22
+ * - If MemFrom is set to session, FromId indicates the session ID.
23
+ * - If MemFrom is set to user, FromId indicates the RAM user ID.
24
+ *
25
+ * @example
26
+ * 8zm3**********g3yxa1
27
+ */
28
+ fromId?: string;
29
+ /**
30
+ * @remarks
31
+ * The memory source. Valid values:
32
+ * - session: Generated from a session.
33
+ * - user: Edited by a user.
34
+ *
35
+ * @example
36
+ * session
37
+ */
38
+ memFrom?: string;
39
+ /**
40
+ * @remarks
41
+ * The sort order for the specified sort field. Default value: desc. Valid values:
42
+ * - asc: Ascending order.
43
+ * - desc: Descending order.
44
+ *
45
+ * @example
46
+ * desc
47
+ */
48
+ order?: string;
49
+ /**
50
+ * @remarks
51
+ * The sort field. Default value: hitTimes. Valid values:
52
+ * - hitTimes: The number of hits.
53
+ * - created: The creation time.
54
+ *
55
+ * @example
56
+ * hitTimes
57
+ */
58
+ orderBy?: string;
59
+ /**
60
+ * @remarks
61
+ * The page number. Minimum value: 1.
62
+ *
63
+ * @example
64
+ * 1
65
+ */
66
+ pageNum?: number;
67
+ /**
68
+ * @remarks
69
+ * The maximum number of entries per page. Default value: 50.
70
+ *
71
+ * @example
72
+ * 50
73
+ */
74
+ pageSize?: number;
75
+ /**
76
+ * @remarks
77
+ * Specifies whether to query memories in all statuses. Default value: true.
78
+ *
79
+ * @example
80
+ * true
81
+ */
82
+ queryAll?: boolean;
83
+ static names(): {
84
+ [key: string]: string;
85
+ };
86
+ static types(): {
87
+ [key: string]: any;
88
+ };
89
+ validate(): void;
90
+ constructor(map?: {
91
+ [key: string]: any;
92
+ });
93
+ }
@@ -0,0 +1,74 @@
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.ListDataAgentMemoryRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class ListDataAgentMemoryRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ contentPattern: 'ContentPattern',
43
+ DMSUnit: 'DMSUnit',
44
+ fromId: 'FromId',
45
+ memFrom: 'MemFrom',
46
+ order: 'Order',
47
+ orderBy: 'OrderBy',
48
+ pageNum: 'PageNum',
49
+ pageSize: 'PageSize',
50
+ queryAll: 'QueryAll',
51
+ };
52
+ }
53
+ static types() {
54
+ return {
55
+ contentPattern: 'string',
56
+ DMSUnit: 'string',
57
+ fromId: 'string',
58
+ memFrom: 'string',
59
+ order: 'string',
60
+ orderBy: 'string',
61
+ pageNum: 'number',
62
+ pageSize: 'number',
63
+ queryAll: 'boolean',
64
+ };
65
+ }
66
+ validate() {
67
+ super.validate();
68
+ }
69
+ constructor(map) {
70
+ super(map);
71
+ }
72
+ }
73
+ exports.ListDataAgentMemoryRequest = ListDataAgentMemoryRequest;
74
+ //# sourceMappingURL=ListDataAgentMemoryRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListDataAgentMemoryRequest.js","sourceRoot":"","sources":["../../src/models/ListDataAgentMemoryRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,0BAA2B,SAAQ,KAAK,CAAC,KAAK;IAiFzD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,cAAc,EAAE,gBAAgB;YAChC,OAAO,EAAE,SAAS;YAClB,MAAM,EAAE,QAAQ;YAChB,OAAO,EAAE,SAAS;YAClB,KAAK,EAAE,OAAO;YACd,OAAO,EAAE,SAAS;YAClB,OAAO,EAAE,SAAS;YAClB,QAAQ,EAAE,UAAU;YACpB,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,cAAc,EAAE,QAAQ;YACxB,OAAO,EAAE,QAAQ;YACjB,MAAM,EAAE,QAAQ;YAChB,OAAO,EAAE,QAAQ;YACjB,KAAK,EAAE,QAAQ;YACf,OAAO,EAAE,QAAQ;YACjB,OAAO,EAAE,QAAQ;YACjB,QAAQ,EAAE,QAAQ;YAClB,QAAQ,EAAE,SAAS;SACpB,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;AApHD,gEAoHC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { ListDataAgentMemoryResponseBody } from "./ListDataAgentMemoryResponseBody";
3
+ export declare class ListDataAgentMemoryResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: ListDataAgentMemoryResponseBody;
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
+ }