@alicloud/dms-enterprise20181101 2.7.0 → 3.0.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 (49) hide show
  1. package/dist/client.d.ts +67 -4
  2. package/dist/client.js +175 -7
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateWorkspaceRequest.d.ts +8 -10
  5. package/dist/models/CreateWorkspaceRequest.js +2 -2
  6. package/dist/models/CreateWorkspaceRequest.js.map +1 -1
  7. package/dist/models/GetTableKnowledgeDetailsRequest.d.ts +29 -0
  8. package/dist/models/GetTableKnowledgeDetailsRequest.js +60 -0
  9. package/dist/models/GetTableKnowledgeDetailsRequest.js.map +1 -0
  10. package/dist/models/GetTableKnowledgeDetailsResponse.d.ts +19 -0
  11. package/dist/models/GetTableKnowledgeDetailsResponse.js +69 -0
  12. package/dist/models/GetTableKnowledgeDetailsResponse.js.map +1 -0
  13. package/dist/models/GetTableKnowledgeDetailsResponseBody.d.ts +45 -0
  14. package/dist/models/GetTableKnowledgeDetailsResponseBody.js +70 -0
  15. package/dist/models/GetTableKnowledgeDetailsResponseBody.js.map +1 -0
  16. package/dist/models/ListInventoryJobsRequest.d.ts +43 -0
  17. package/dist/models/ListInventoryJobsRequest.js +68 -0
  18. package/dist/models/ListInventoryJobsRequest.js.map +1 -0
  19. package/dist/models/ListInventoryJobsResponse.d.ts +19 -0
  20. package/dist/models/ListInventoryJobsResponse.js +69 -0
  21. package/dist/models/ListInventoryJobsResponse.js.map +1 -0
  22. package/dist/models/ListInventoryJobsResponseBody.d.ts +56 -0
  23. package/dist/models/ListInventoryJobsResponseBody.js +94 -0
  24. package/dist/models/ListInventoryJobsResponseBody.js.map +1 -0
  25. package/dist/models/SearchInventoryAssetRequest.d.ts +46 -0
  26. package/dist/models/SearchInventoryAssetRequest.js +68 -0
  27. package/dist/models/SearchInventoryAssetRequest.js.map +1 -0
  28. package/dist/models/SearchInventoryAssetResponse.d.ts +19 -0
  29. package/dist/models/SearchInventoryAssetResponse.js +69 -0
  30. package/dist/models/SearchInventoryAssetResponse.js.map +1 -0
  31. package/dist/models/SearchInventoryAssetResponseBody.d.ts +56 -0
  32. package/dist/models/SearchInventoryAssetResponseBody.js +94 -0
  33. package/dist/models/SearchInventoryAssetResponseBody.js.map +1 -0
  34. package/dist/models/model.d.ts +11 -0
  35. package/dist/models/model.js +46 -24
  36. package/dist/models/model.js.map +1 -1
  37. package/package.json +1 -1
  38. package/src/client.ts +196 -8
  39. package/src/models/CreateWorkspaceRequest.ts +10 -12
  40. package/src/models/GetTableKnowledgeDetailsRequest.ts +44 -0
  41. package/src/models/GetTableKnowledgeDetailsResponse.ts +40 -0
  42. package/src/models/GetTableKnowledgeDetailsResponseBody.ts +69 -0
  43. package/src/models/ListInventoryJobsRequest.ts +66 -0
  44. package/src/models/ListInventoryJobsResponse.ts +40 -0
  45. package/src/models/ListInventoryJobsResponseBody.ts +95 -0
  46. package/src/models/SearchInventoryAssetRequest.ts +69 -0
  47. package/src/models/SearchInventoryAssetResponse.ts +40 -0
  48. package/src/models/SearchInventoryAssetResponseBody.ts +95 -0
  49. package/src/models/model.ts +11 -0
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { GetTableKnowledgeDetailsResponseBody } from "./GetTableKnowledgeDetailsResponseBody";
4
+
5
+
6
+ export class GetTableKnowledgeDetailsResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: GetTableKnowledgeDetailsResponseBody;
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: GetTableKnowledgeDetailsResponseBody,
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,69 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { TableKnowledgeVO } from "./TableKnowledgeVo";
4
+
5
+
6
+ export class GetTableKnowledgeDetailsResponseBody extends $dara.Model {
7
+ /**
8
+ * @remarks
9
+ * This parameter is required.
10
+ *
11
+ * @example
12
+ * true
13
+ */
14
+ data?: TableKnowledgeVO;
15
+ /**
16
+ * @example
17
+ * UnknownError
18
+ */
19
+ errorCode?: string;
20
+ /**
21
+ * @example
22
+ * UnknownError
23
+ */
24
+ errorMessage?: string;
25
+ /**
26
+ * @remarks
27
+ * Id of the request
28
+ *
29
+ * @example
30
+ * 0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931
31
+ */
32
+ requestId?: string;
33
+ /**
34
+ * @example
35
+ * true
36
+ */
37
+ success?: boolean;
38
+ static names(): { [key: string]: string } {
39
+ return {
40
+ data: 'Data',
41
+ errorCode: 'ErrorCode',
42
+ errorMessage: 'ErrorMessage',
43
+ requestId: 'RequestId',
44
+ success: 'Success',
45
+ };
46
+ }
47
+
48
+ static types(): { [key: string]: any } {
49
+ return {
50
+ data: TableKnowledgeVO,
51
+ errorCode: 'string',
52
+ errorMessage: 'string',
53
+ requestId: 'string',
54
+ success: 'boolean',
55
+ };
56
+ }
57
+
58
+ validate() {
59
+ if(this.data && typeof (this.data as any).validate === 'function') {
60
+ (this.data as any).validate();
61
+ }
62
+ super.validate();
63
+ }
64
+
65
+ constructor(map?: { [key: string]: any }) {
66
+ super(map);
67
+ }
68
+ }
69
+
@@ -0,0 +1,66 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListInventoryJobsRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 0
9
+ */
10
+ offset?: number;
11
+ /**
12
+ * @example
13
+ * task_1001
14
+ */
15
+ query?: string;
16
+ /**
17
+ * @example
18
+ * 20
19
+ */
20
+ size?: number;
21
+ /**
22
+ * @example
23
+ * confidence
24
+ */
25
+ sortBy?: string;
26
+ /**
27
+ * @example
28
+ * desc
29
+ */
30
+ sortOrder?: string;
31
+ /**
32
+ * @example
33
+ * 1
34
+ */
35
+ status?: number;
36
+ static names(): { [key: string]: string } {
37
+ return {
38
+ offset: 'Offset',
39
+ query: 'Query',
40
+ size: 'Size',
41
+ sortBy: 'SortBy',
42
+ sortOrder: 'SortOrder',
43
+ status: 'Status',
44
+ };
45
+ }
46
+
47
+ static types(): { [key: string]: any } {
48
+ return {
49
+ offset: 'number',
50
+ query: 'string',
51
+ size: 'number',
52
+ sortBy: 'string',
53
+ sortOrder: 'string',
54
+ status: 'number',
55
+ };
56
+ }
57
+
58
+ validate() {
59
+ super.validate();
60
+ }
61
+
62
+ constructor(map?: { [key: string]: any }) {
63
+ super(map);
64
+ }
65
+ }
66
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { ListInventoryJobsResponseBody } from "./ListInventoryJobsResponseBody";
4
+
5
+
6
+ export class ListInventoryJobsResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: ListInventoryJobsResponseBody;
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: ListInventoryJobsResponseBody,
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,95 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { KnowledgeJobInfoVO } from "./KnowledgeJobInfoVo";
4
+
5
+
6
+ export class ListInventoryJobsResponseBodyData extends $dara.Model {
7
+ items?: KnowledgeJobInfoVO[];
8
+ /**
9
+ * @example
10
+ * 10
11
+ */
12
+ totalCount?: number;
13
+ static names(): { [key: string]: string } {
14
+ return {
15
+ items: 'Items',
16
+ totalCount: 'TotalCount',
17
+ };
18
+ }
19
+
20
+ static types(): { [key: string]: any } {
21
+ return {
22
+ items: { 'type': 'array', 'itemType': KnowledgeJobInfoVO },
23
+ totalCount: 'number',
24
+ };
25
+ }
26
+
27
+ validate() {
28
+ if(Array.isArray(this.items)) {
29
+ $dara.Model.validateArray(this.items);
30
+ }
31
+ super.validate();
32
+ }
33
+
34
+ constructor(map?: { [key: string]: any }) {
35
+ super(map);
36
+ }
37
+ }
38
+
39
+ export class ListInventoryJobsResponseBody extends $dara.Model {
40
+ data?: ListInventoryJobsResponseBodyData;
41
+ /**
42
+ * @example
43
+ * UnknownError
44
+ */
45
+ errorCode?: string;
46
+ /**
47
+ * @example
48
+ * UnknownError
49
+ */
50
+ errorMessage?: string;
51
+ /**
52
+ * @remarks
53
+ * Id of the request
54
+ *
55
+ * @example
56
+ * 0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931
57
+ */
58
+ requestId?: string;
59
+ /**
60
+ * @example
61
+ * true
62
+ */
63
+ success?: boolean;
64
+ static names(): { [key: string]: string } {
65
+ return {
66
+ data: 'Data',
67
+ errorCode: 'ErrorCode',
68
+ errorMessage: 'ErrorMessage',
69
+ requestId: 'RequestId',
70
+ success: 'Success',
71
+ };
72
+ }
73
+
74
+ static types(): { [key: string]: any } {
75
+ return {
76
+ data: ListInventoryJobsResponseBodyData,
77
+ errorCode: 'string',
78
+ errorMessage: 'string',
79
+ requestId: 'string',
80
+ success: 'boolean',
81
+ };
82
+ }
83
+
84
+ validate() {
85
+ if(this.data && typeof (this.data as any).validate === 'function') {
86
+ (this.data as any).validate();
87
+ }
88
+ super.validate();
89
+ }
90
+
91
+ constructor(map?: { [key: string]: any }) {
92
+ super(map);
93
+ }
94
+ }
95
+
@@ -0,0 +1,69 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class SearchInventoryAssetRequest 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
+ * order
22
+ */
23
+ query?: string;
24
+ /**
25
+ * @example
26
+ * 20
27
+ */
28
+ size?: number;
29
+ /**
30
+ * @example
31
+ * confidence
32
+ */
33
+ sortBy?: string;
34
+ /**
35
+ * @example
36
+ * desc
37
+ */
38
+ sortOrder?: string;
39
+ static names(): { [key: string]: string } {
40
+ return {
41
+ jobId: 'JobId',
42
+ offset: 'Offset',
43
+ query: 'Query',
44
+ size: 'Size',
45
+ sortBy: 'SortBy',
46
+ sortOrder: 'SortOrder',
47
+ };
48
+ }
49
+
50
+ static types(): { [key: string]: any } {
51
+ return {
52
+ jobId: 'number',
53
+ offset: 'number',
54
+ query: 'string',
55
+ size: 'number',
56
+ sortBy: 'string',
57
+ sortOrder: 'string',
58
+ };
59
+ }
60
+
61
+ validate() {
62
+ super.validate();
63
+ }
64
+
65
+ constructor(map?: { [key: string]: any }) {
66
+ super(map);
67
+ }
68
+ }
69
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { SearchInventoryAssetResponseBody } from "./SearchInventoryAssetResponseBody";
4
+
5
+
6
+ export class SearchInventoryAssetResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: SearchInventoryAssetResponseBody;
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: SearchInventoryAssetResponseBody,
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,95 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { TableKnowledgeVO } from "./TableKnowledgeVo";
4
+
5
+
6
+ export class SearchInventoryAssetResponseBodyData extends $dara.Model {
7
+ items?: TableKnowledgeVO[];
8
+ /**
9
+ * @example
10
+ * 50
11
+ */
12
+ totalCount?: number;
13
+ static names(): { [key: string]: string } {
14
+ return {
15
+ items: 'Items',
16
+ totalCount: 'TotalCount',
17
+ };
18
+ }
19
+
20
+ static types(): { [key: string]: any } {
21
+ return {
22
+ items: { 'type': 'array', 'itemType': TableKnowledgeVO },
23
+ totalCount: 'number',
24
+ };
25
+ }
26
+
27
+ validate() {
28
+ if(Array.isArray(this.items)) {
29
+ $dara.Model.validateArray(this.items);
30
+ }
31
+ super.validate();
32
+ }
33
+
34
+ constructor(map?: { [key: string]: any }) {
35
+ super(map);
36
+ }
37
+ }
38
+
39
+ export class SearchInventoryAssetResponseBody extends $dara.Model {
40
+ data?: SearchInventoryAssetResponseBodyData;
41
+ /**
42
+ * @example
43
+ * UnknownError
44
+ */
45
+ errorCode?: string;
46
+ /**
47
+ * @example
48
+ * UnknownError
49
+ */
50
+ errorMessage?: string;
51
+ /**
52
+ * @remarks
53
+ * Id of the request
54
+ *
55
+ * @example
56
+ * 0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931
57
+ */
58
+ requestId?: string;
59
+ /**
60
+ * @example
61
+ * true
62
+ */
63
+ success?: boolean;
64
+ static names(): { [key: string]: string } {
65
+ return {
66
+ data: 'Data',
67
+ errorCode: 'ErrorCode',
68
+ errorMessage: 'ErrorMessage',
69
+ requestId: 'RequestId',
70
+ success: 'Success',
71
+ };
72
+ }
73
+
74
+ static types(): { [key: string]: any } {
75
+ return {
76
+ data: SearchInventoryAssetResponseBodyData,
77
+ errorCode: 'string',
78
+ errorMessage: 'string',
79
+ requestId: 'string',
80
+ success: 'boolean',
81
+ };
82
+ }
83
+
84
+ validate() {
85
+ if(this.data && typeof (this.data as any).validate === 'function') {
86
+ (this.data as any).validate();
87
+ }
88
+ super.validate();
89
+ }
90
+
91
+ constructor(map?: { [key: string]: any }) {
92
+ super(map);
93
+ }
94
+ }
95
+
@@ -252,6 +252,7 @@ export { ListInstancesResponseBodyInstanceListInstanceOwnerNameList } from './Li
252
252
  export { ListInstancesResponseBodyInstanceListInstanceStandardGroup } from './ListInstancesResponseBody';
253
253
  export { ListInstancesResponseBodyInstanceListInstance } from './ListInstancesResponseBody';
254
254
  export { ListInstancesResponseBodyInstanceList } from './ListInstancesResponseBody';
255
+ export { ListInventoryJobsResponseBodyData } from './ListInventoryJobsResponseBody';
255
256
  export { ListLhTaskFlowAndScenarioResponseBodyRawDAGListDag } from './ListLhTaskFlowAndScenarioResponseBody';
256
257
  export { ListLhTaskFlowAndScenarioResponseBodyRawDAGList } from './ListLhTaskFlowAndScenarioResponseBody';
257
258
  export { ListLhTaskFlowAndScenarioResponseBodyScenarioDAGListScenarioDAGDagListDag } from './ListLhTaskFlowAndScenarioResponseBody';
@@ -361,6 +362,7 @@ export { SearchDatabaseResponseBodySearchDatabaseListSearchDatabaseOwnerIdList }
361
362
  export { SearchDatabaseResponseBodySearchDatabaseListSearchDatabaseOwnerNameList } from './SearchDatabaseResponseBody';
362
363
  export { SearchDatabaseResponseBodySearchDatabaseListSearchDatabase } from './SearchDatabaseResponseBody';
363
364
  export { SearchDatabaseResponseBodySearchDatabaseList } from './SearchDatabaseResponseBody';
365
+ export { SearchInventoryAssetResponseBodyData } from './SearchInventoryAssetResponseBody';
364
366
  export { SearchInventoryKnowledgeResponseBodyData } from './SearchInventoryKnowledgeResponseBody';
365
367
  export { SearchTableResponseBodySearchTableListSearchTableOwnerIdList } from './SearchTableResponseBody';
366
368
  export { SearchTableResponseBodySearchTableListSearchTableOwnerNameList } from './SearchTableResponseBody';
@@ -923,6 +925,9 @@ export { GetTableDesignProjectInfoResponse } from './GetTableDesignProjectInfoRe
923
925
  export { GetTableInstructionsRequest } from './GetTableInstructionsRequest';
924
926
  export { GetTableInstructionsResponseBody } from './GetTableInstructionsResponseBody';
925
927
  export { GetTableInstructionsResponse } from './GetTableInstructionsResponse';
928
+ export { GetTableKnowledgeDetailsRequest } from './GetTableKnowledgeDetailsRequest';
929
+ export { GetTableKnowledgeDetailsResponseBody } from './GetTableKnowledgeDetailsResponseBody';
930
+ export { GetTableKnowledgeDetailsResponse } from './GetTableKnowledgeDetailsResponse';
926
931
  export { GetTableKnowledgeInfoRequest } from './GetTableKnowledgeInfoRequest';
927
932
  export { GetTableKnowledgeInfoResponseBody } from './GetTableKnowledgeInfoResponseBody';
928
933
  export { GetTableKnowledgeInfoResponse } from './GetTableKnowledgeInfoResponse';
@@ -1074,6 +1079,9 @@ export { ListInstanceUserPermissionsResponse } from './ListInstanceUserPermissio
1074
1079
  export { ListInstancesRequest } from './ListInstancesRequest';
1075
1080
  export { ListInstancesResponseBody } from './ListInstancesResponseBody';
1076
1081
  export { ListInstancesResponse } from './ListInstancesResponse';
1082
+ export { ListInventoryJobsRequest } from './ListInventoryJobsRequest';
1083
+ export { ListInventoryJobsResponseBody } from './ListInventoryJobsResponseBody';
1084
+ export { ListInventoryJobsResponse } from './ListInventoryJobsResponse';
1077
1085
  export { ListLhTaskFlowAndScenarioRequest } from './ListLhTaskFlowAndScenarioRequest';
1078
1086
  export { ListLhTaskFlowAndScenarioResponseBody } from './ListLhTaskFlowAndScenarioResponseBody';
1079
1087
  export { ListLhTaskFlowAndScenarioResponse } from './ListLhTaskFlowAndScenarioResponse';
@@ -1281,6 +1289,9 @@ export { SearchDataTrackResultResponse } from './SearchDataTrackResultResponse';
1281
1289
  export { SearchDatabaseRequest } from './SearchDatabaseRequest';
1282
1290
  export { SearchDatabaseResponseBody } from './SearchDatabaseResponseBody';
1283
1291
  export { SearchDatabaseResponse } from './SearchDatabaseResponse';
1292
+ export { SearchInventoryAssetRequest } from './SearchInventoryAssetRequest';
1293
+ export { SearchInventoryAssetResponseBody } from './SearchInventoryAssetResponseBody';
1294
+ export { SearchInventoryAssetResponse } from './SearchInventoryAssetResponse';
1284
1295
  export { SearchInventoryKnowledgeRequest } from './SearchInventoryKnowledgeRequest';
1285
1296
  export { SearchInventoryKnowledgeResponseBody } from './SearchInventoryKnowledgeResponseBody';
1286
1297
  export { SearchInventoryKnowledgeResponse } from './SearchInventoryKnowledgeResponse';