@alicloud/dms-enterprise20181101 2.5.0 → 2.6.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 (73) hide show
  1. package/dist/client.d.ts +84 -0
  2. package/dist/client.js +204 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CheckInventoryJobRequest.d.ts +21 -0
  5. package/dist/models/CheckInventoryJobRequest.js +58 -0
  6. package/dist/models/CheckInventoryJobRequest.js.map +1 -0
  7. package/dist/models/CheckInventoryJobResponse.d.ts +19 -0
  8. package/dist/models/CheckInventoryJobResponse.js +69 -0
  9. package/dist/models/CheckInventoryJobResponse.js.map +1 -0
  10. package/dist/models/CheckInventoryJobResponseBody.d.ts +45 -0
  11. package/dist/models/CheckInventoryJobResponseBody.js +70 -0
  12. package/dist/models/CheckInventoryJobResponseBody.js.map +1 -0
  13. package/dist/models/ConfirmInventoryKnowledgeRequest.d.ts +37 -0
  14. package/dist/models/ConfirmInventoryKnowledgeRequest.js +62 -0
  15. package/dist/models/ConfirmInventoryKnowledgeRequest.js.map +1 -0
  16. package/dist/models/ConfirmInventoryKnowledgeResponse.d.ts +19 -0
  17. package/dist/models/ConfirmInventoryKnowledgeResponse.js +69 -0
  18. package/dist/models/ConfirmInventoryKnowledgeResponse.js.map +1 -0
  19. package/dist/models/ConfirmInventoryKnowledgeResponseBody.d.ts +41 -0
  20. package/dist/models/ConfirmInventoryKnowledgeResponseBody.js +66 -0
  21. package/dist/models/ConfirmInventoryKnowledgeResponseBody.js.map +1 -0
  22. package/dist/models/CreateInventoryJobRequest.d.ts +14 -0
  23. package/dist/models/CreateInventoryJobRequest.js +58 -0
  24. package/dist/models/CreateInventoryJobRequest.js.map +1 -0
  25. package/dist/models/CreateInventoryJobResponse.d.ts +19 -0
  26. package/dist/models/CreateInventoryJobResponse.js +69 -0
  27. package/dist/models/CreateInventoryJobResponse.js.map +1 -0
  28. package/dist/models/CreateInventoryJobResponseBody.d.ts +41 -0
  29. package/dist/models/CreateInventoryJobResponseBody.js +66 -0
  30. package/dist/models/CreateInventoryJobResponseBody.js.map +1 -0
  31. package/dist/models/KnowledgeBaseVo.d.ts +36 -0
  32. package/dist/models/KnowledgeBaseVo.js +102 -0
  33. package/dist/models/KnowledgeBaseVo.js.map +1 -0
  34. package/dist/models/KnowledgeJobInfoVo.d.ts +24 -0
  35. package/dist/models/KnowledgeJobInfoVo.js +78 -0
  36. package/dist/models/KnowledgeJobInfoVo.js.map +1 -0
  37. package/dist/models/KnowledgeSubJobInfoVo.d.ts +19 -0
  38. package/dist/models/KnowledgeSubJobInfoVo.js +68 -0
  39. package/dist/models/KnowledgeSubJobInfoVo.js.map +1 -0
  40. package/dist/models/MetaAgentPreCheckParam.d.ts +18 -0
  41. package/dist/models/MetaAgentPreCheckParam.js +66 -0
  42. package/dist/models/MetaAgentPreCheckParam.js.map +1 -0
  43. package/dist/models/SearchInventoryKnowledgeRequest.d.ts +51 -0
  44. package/dist/models/SearchInventoryKnowledgeRequest.js +70 -0
  45. package/dist/models/SearchInventoryKnowledgeRequest.js.map +1 -0
  46. package/dist/models/SearchInventoryKnowledgeResponse.d.ts +19 -0
  47. package/dist/models/SearchInventoryKnowledgeResponse.js +69 -0
  48. package/dist/models/SearchInventoryKnowledgeResponse.js.map +1 -0
  49. package/dist/models/SearchInventoryKnowledgeResponseBody.d.ts +56 -0
  50. package/dist/models/SearchInventoryKnowledgeResponseBody.js +94 -0
  51. package/dist/models/SearchInventoryKnowledgeResponseBody.js.map +1 -0
  52. package/dist/models/model.d.ts +17 -0
  53. package/dist/models/model.js +56 -22
  54. package/dist/models/model.js.map +1 -1
  55. package/package.json +1 -1
  56. package/src/client.ts +224 -0
  57. package/src/models/CheckInventoryJobRequest.ts +34 -0
  58. package/src/models/CheckInventoryJobResponse.ts +40 -0
  59. package/src/models/CheckInventoryJobResponseBody.ts +69 -0
  60. package/src/models/ConfirmInventoryKnowledgeRequest.ts +54 -0
  61. package/src/models/ConfirmInventoryKnowledgeResponse.ts +40 -0
  62. package/src/models/ConfirmInventoryKnowledgeResponseBody.ts +62 -0
  63. package/src/models/CreateInventoryJobRequest.ts +27 -0
  64. package/src/models/CreateInventoryJobResponse.ts +40 -0
  65. package/src/models/CreateInventoryJobResponseBody.ts +62 -0
  66. package/src/models/KnowledgeBaseVo.ts +93 -0
  67. package/src/models/KnowledgeJobInfoVo.ts +57 -0
  68. package/src/models/KnowledgeSubJobInfoVo.ts +42 -0
  69. package/src/models/MetaAgentPreCheckParam.ts +39 -0
  70. package/src/models/SearchInventoryKnowledgeRequest.ts +76 -0
  71. package/src/models/SearchInventoryKnowledgeResponse.ts +40 -0
  72. package/src/models/SearchInventoryKnowledgeResponseBody.ts +95 -0
  73. package/src/models/model.ts +17 -0
@@ -0,0 +1,54 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ConfirmInventoryKnowledgeRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * 2001
12
+ */
13
+ entityId?: number;
14
+ /**
15
+ * @remarks
16
+ * This parameter is required.
17
+ *
18
+ * @example
19
+ * 1001
20
+ */
21
+ jobId?: number;
22
+ /**
23
+ * @remarks
24
+ * This parameter is required.
25
+ *
26
+ * @example
27
+ * TABLE
28
+ */
29
+ knowledgeType?: string;
30
+ static names(): { [key: string]: string } {
31
+ return {
32
+ entityId: 'EntityId',
33
+ jobId: 'JobId',
34
+ knowledgeType: 'KnowledgeType',
35
+ };
36
+ }
37
+
38
+ static types(): { [key: string]: any } {
39
+ return {
40
+ entityId: 'number',
41
+ jobId: 'number',
42
+ knowledgeType: 'string',
43
+ };
44
+ }
45
+
46
+ validate() {
47
+ super.validate();
48
+ }
49
+
50
+ constructor(map?: { [key: string]: any }) {
51
+ super(map);
52
+ }
53
+ }
54
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { ConfirmInventoryKnowledgeResponseBody } from "./ConfirmInventoryKnowledgeResponseBody";
4
+
5
+
6
+ export class ConfirmInventoryKnowledgeResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: ConfirmInventoryKnowledgeResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: ConfirmInventoryKnowledgeResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,62 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ConfirmInventoryKnowledgeResponseBody extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * true
9
+ */
10
+ data?: boolean;
11
+ /**
12
+ * @example
13
+ * UnknownError
14
+ */
15
+ errorCode?: string;
16
+ /**
17
+ * @example
18
+ * UnknownError
19
+ */
20
+ errorMessage?: string;
21
+ /**
22
+ * @remarks
23
+ * Id of the request
24
+ *
25
+ * @example
26
+ * 0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931
27
+ */
28
+ requestId?: string;
29
+ /**
30
+ * @example
31
+ * true
32
+ */
33
+ success?: boolean;
34
+ static names(): { [key: string]: string } {
35
+ return {
36
+ data: 'Data',
37
+ errorCode: 'ErrorCode',
38
+ errorMessage: 'ErrorMessage',
39
+ requestId: 'RequestId',
40
+ success: 'Success',
41
+ };
42
+ }
43
+
44
+ static types(): { [key: string]: any } {
45
+ return {
46
+ data: 'boolean',
47
+ errorCode: 'string',
48
+ errorMessage: 'string',
49
+ requestId: 'string',
50
+ success: 'boolean',
51
+ };
52
+ }
53
+
54
+ validate() {
55
+ super.validate();
56
+ }
57
+
58
+ constructor(map?: { [key: string]: any }) {
59
+ super(map);
60
+ }
61
+ }
62
+
@@ -0,0 +1,27 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CreateInventoryJobRequest extends $dara.Model {
6
+ param?: string;
7
+ static names(): { [key: string]: string } {
8
+ return {
9
+ param: 'Param',
10
+ };
11
+ }
12
+
13
+ static types(): { [key: string]: any } {
14
+ return {
15
+ param: 'string',
16
+ };
17
+ }
18
+
19
+ validate() {
20
+ super.validate();
21
+ }
22
+
23
+ constructor(map?: { [key: string]: any }) {
24
+ super(map);
25
+ }
26
+ }
27
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { CreateInventoryJobResponseBody } from "./CreateInventoryJobResponseBody";
4
+
5
+
6
+ export class CreateInventoryJobResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: CreateInventoryJobResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: CreateInventoryJobResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,62 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CreateInventoryJobResponseBody extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 1001
9
+ */
10
+ data?: number;
11
+ /**
12
+ * @example
13
+ * UnknownError
14
+ */
15
+ errorCode?: string;
16
+ /**
17
+ * @example
18
+ * UnknownError
19
+ */
20
+ errorMessage?: string;
21
+ /**
22
+ * @remarks
23
+ * Id of the request
24
+ *
25
+ * @example
26
+ * 0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931
27
+ */
28
+ requestId?: string;
29
+ /**
30
+ * @example
31
+ * true
32
+ */
33
+ success?: boolean;
34
+ static names(): { [key: string]: string } {
35
+ return {
36
+ data: 'Data',
37
+ errorCode: 'ErrorCode',
38
+ errorMessage: 'ErrorMessage',
39
+ requestId: 'RequestId',
40
+ success: 'Success',
41
+ };
42
+ }
43
+
44
+ static types(): { [key: string]: any } {
45
+ return {
46
+ data: 'number',
47
+ errorCode: 'string',
48
+ errorMessage: 'string',
49
+ requestId: 'string',
50
+ success: 'boolean',
51
+ };
52
+ }
53
+
54
+ validate() {
55
+ super.validate();
56
+ }
57
+
58
+ constructor(map?: { [key: string]: any }) {
59
+ super(map);
60
+ }
61
+ }
62
+
@@ -0,0 +1,93 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class KnowledgeBaseVO extends $dara.Model {
6
+ category?: string;
7
+ confidence?: number;
8
+ dbId?: number;
9
+ dbName?: string;
10
+ description?: string;
11
+ entityId?: number;
12
+ env?: string;
13
+ expr?: string;
14
+ gmtCreate?: string;
15
+ instanceName?: string;
16
+ isDelete?: boolean;
17
+ knowledgeId?: string;
18
+ knowledgeType?: string;
19
+ levelType?: string;
20
+ name?: string;
21
+ oldDescription?: string;
22
+ oldSummary?: string;
23
+ parseDesc?: string;
24
+ reasoningLogic?: string;
25
+ relationType?: string;
26
+ showType?: string;
27
+ summary?: string;
28
+ tableName?: string;
29
+ static names(): { [key: string]: string } {
30
+ return {
31
+ category: 'Category',
32
+ confidence: 'Confidence',
33
+ dbId: 'DbId',
34
+ dbName: 'DbName',
35
+ description: 'Description',
36
+ entityId: 'EntityId',
37
+ env: 'Env',
38
+ expr: 'Expr',
39
+ gmtCreate: 'GmtCreate',
40
+ instanceName: 'InstanceName',
41
+ isDelete: 'IsDelete',
42
+ knowledgeId: 'KnowledgeId',
43
+ knowledgeType: 'KnowledgeType',
44
+ levelType: 'LevelType',
45
+ name: 'Name',
46
+ oldDescription: 'OldDescription',
47
+ oldSummary: 'OldSummary',
48
+ parseDesc: 'ParseDesc',
49
+ reasoningLogic: 'ReasoningLogic',
50
+ relationType: 'RelationType',
51
+ showType: 'ShowType',
52
+ summary: 'Summary',
53
+ tableName: 'TableName',
54
+ };
55
+ }
56
+
57
+ static types(): { [key: string]: any } {
58
+ return {
59
+ category: 'string',
60
+ confidence: 'number',
61
+ dbId: 'number',
62
+ dbName: 'string',
63
+ description: 'string',
64
+ entityId: 'number',
65
+ env: 'string',
66
+ expr: 'string',
67
+ gmtCreate: 'string',
68
+ instanceName: 'string',
69
+ isDelete: 'boolean',
70
+ knowledgeId: 'string',
71
+ knowledgeType: 'string',
72
+ levelType: 'string',
73
+ name: 'string',
74
+ oldDescription: 'string',
75
+ oldSummary: 'string',
76
+ parseDesc: 'string',
77
+ reasoningLogic: 'string',
78
+ relationType: 'string',
79
+ showType: 'string',
80
+ summary: 'string',
81
+ tableName: 'string',
82
+ };
83
+ }
84
+
85
+ validate() {
86
+ super.validate();
87
+ }
88
+
89
+ constructor(map?: { [key: string]: any }) {
90
+ super(map);
91
+ }
92
+ }
93
+
@@ -0,0 +1,57 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class KnowledgeJobInfoVO extends $dara.Model {
6
+ createTime?: string;
7
+ creator?: string;
8
+ description?: string;
9
+ endTime?: string;
10
+ jobId?: number;
11
+ knowledgeCnt?: number;
12
+ progress?: number;
13
+ showJobId?: string;
14
+ status?: string;
15
+ supplement?: string;
16
+ tableCnt?: number;
17
+ static names(): { [key: string]: string } {
18
+ return {
19
+ createTime: 'CreateTime',
20
+ creator: 'Creator',
21
+ description: 'Description',
22
+ endTime: 'EndTime',
23
+ jobId: 'JobId',
24
+ knowledgeCnt: 'KnowledgeCnt',
25
+ progress: 'Progress',
26
+ showJobId: 'ShowJobId',
27
+ status: 'Status',
28
+ supplement: 'Supplement',
29
+ tableCnt: 'TableCnt',
30
+ };
31
+ }
32
+
33
+ static types(): { [key: string]: any } {
34
+ return {
35
+ createTime: 'string',
36
+ creator: 'string',
37
+ description: 'string',
38
+ endTime: 'string',
39
+ jobId: 'number',
40
+ knowledgeCnt: 'number',
41
+ progress: 'number',
42
+ showJobId: 'string',
43
+ status: 'string',
44
+ supplement: 'string',
45
+ tableCnt: 'number',
46
+ };
47
+ }
48
+
49
+ validate() {
50
+ super.validate();
51
+ }
52
+
53
+ constructor(map?: { [key: string]: any }) {
54
+ super(map);
55
+ }
56
+ }
57
+
@@ -0,0 +1,42 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class KnowledgeSubJobInfoVO extends $dara.Model {
6
+ errMessage?: string;
7
+ jobType?: string;
8
+ name?: string;
9
+ progress?: number;
10
+ status?: string;
11
+ subJobId?: number;
12
+ static names(): { [key: string]: string } {
13
+ return {
14
+ errMessage: 'ErrMessage',
15
+ jobType: 'JobType',
16
+ name: 'Name',
17
+ progress: 'Progress',
18
+ status: 'Status',
19
+ subJobId: 'SubJobId',
20
+ };
21
+ }
22
+
23
+ static types(): { [key: string]: any } {
24
+ return {
25
+ errMessage: 'string',
26
+ jobType: 'string',
27
+ name: 'string',
28
+ progress: 'number',
29
+ status: 'string',
30
+ subJobId: 'number',
31
+ };
32
+ }
33
+
34
+ validate() {
35
+ super.validate();
36
+ }
37
+
38
+ constructor(map?: { [key: string]: any }) {
39
+ super(map);
40
+ }
41
+ }
42
+
@@ -0,0 +1,39 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class MetaAgentPreCheckParam extends $dara.Model {
6
+ dbIds?: string;
7
+ description?: string;
8
+ instanceIds?: string;
9
+ supplement?: string;
10
+ tableNames?: string;
11
+ static names(): { [key: string]: string } {
12
+ return {
13
+ dbIds: 'DbIds',
14
+ description: 'Description',
15
+ instanceIds: 'InstanceIds',
16
+ supplement: 'Supplement',
17
+ tableNames: 'TableNames',
18
+ };
19
+ }
20
+
21
+ static types(): { [key: string]: any } {
22
+ return {
23
+ dbIds: 'string',
24
+ description: 'string',
25
+ instanceIds: 'string',
26
+ supplement: 'string',
27
+ tableNames: 'string',
28
+ };
29
+ }
30
+
31
+ validate() {
32
+ super.validate();
33
+ }
34
+
35
+ constructor(map?: { [key: string]: any }) {
36
+ super(map);
37
+ }
38
+ }
39
+
@@ -0,0 +1,76 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class SearchInventoryKnowledgeRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * 1001
12
+ */
13
+ jobId?: number;
14
+ /**
15
+ * @example
16
+ * 0
17
+ */
18
+ offset?: number;
19
+ /**
20
+ * @example
21
+ * 订单
22
+ */
23
+ query?: string;
24
+ /**
25
+ * @example
26
+ * TABLE
27
+ */
28
+ showType?: string;
29
+ /**
30
+ * @example
31
+ * 20
32
+ */
33
+ size?: number;
34
+ /**
35
+ * @example
36
+ * confidence
37
+ */
38
+ sortBy?: string;
39
+ /**
40
+ * @example
41
+ * desc
42
+ */
43
+ sortOrder?: string;
44
+ static names(): { [key: string]: string } {
45
+ return {
46
+ jobId: 'JobId',
47
+ offset: 'Offset',
48
+ query: 'Query',
49
+ showType: 'ShowType',
50
+ size: 'Size',
51
+ sortBy: 'SortBy',
52
+ sortOrder: 'SortOrder',
53
+ };
54
+ }
55
+
56
+ static types(): { [key: string]: any } {
57
+ return {
58
+ jobId: 'number',
59
+ offset: 'number',
60
+ query: 'string',
61
+ showType: 'string',
62
+ size: 'number',
63
+ sortBy: 'string',
64
+ sortOrder: 'string',
65
+ };
66
+ }
67
+
68
+ validate() {
69
+ super.validate();
70
+ }
71
+
72
+ constructor(map?: { [key: string]: any }) {
73
+ super(map);
74
+ }
75
+ }
76
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { SearchInventoryKnowledgeResponseBody } from "./SearchInventoryKnowledgeResponseBody";
4
+
5
+
6
+ export class SearchInventoryKnowledgeResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: SearchInventoryKnowledgeResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: SearchInventoryKnowledgeResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+