@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
package/dist/client.d.ts CHANGED
@@ -429,6 +429,27 @@ export default class Client extends OpenApi {
429
429
  * @returns CheckBatchTableAccessPermissionResponse
430
430
  */
431
431
  checkBatchTableAccessPermission(request: $_model.CheckBatchTableAccessPermissionRequest): Promise<$_model.CheckBatchTableAccessPermissionResponse>;
432
+ /**
433
+ * 查询资产盘点任务的执行状态与进度信息
434
+ *
435
+ * @remarks
436
+ * 查询资产盘点任务的执行状态与进度信息,包含子任务列表、进度百分比、知识统计等
437
+ *
438
+ * @param request - CheckInventoryJobRequest
439
+ * @param runtime - runtime options for this request RuntimeOptions
440
+ * @returns CheckInventoryJobResponse
441
+ */
442
+ checkInventoryJobWithOptions(request: $_model.CheckInventoryJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CheckInventoryJobResponse>;
443
+ /**
444
+ * 查询资产盘点任务的执行状态与进度信息
445
+ *
446
+ * @remarks
447
+ * 查询资产盘点任务的执行状态与进度信息,包含子任务列表、进度百分比、知识统计等
448
+ *
449
+ * @param request - CheckInventoryJobRequest
450
+ * @returns CheckInventoryJobResponse
451
+ */
452
+ checkInventoryJob(request: $_model.CheckInventoryJobRequest): Promise<$_model.CheckInventoryJobResponse>;
432
453
  /**
433
454
  * Closes a ticket.
434
455
  *
@@ -444,6 +465,27 @@ export default class Client extends OpenApi {
444
465
  * @returns CloseOrderResponse
445
466
  */
446
467
  closeOrder(request: $_model.CloseOrderRequest): Promise<$_model.CloseOrderResponse>;
468
+ /**
469
+ * 确认盘点任务中的单条知识,将其标记为已认证
470
+ *
471
+ * @remarks
472
+ * 确认盘点任务中的单条知识,将其标记为已认证状态(解锁级别)
473
+ *
474
+ * @param request - ConfirmInventoryKnowledgeRequest
475
+ * @param runtime - runtime options for this request RuntimeOptions
476
+ * @returns ConfirmInventoryKnowledgeResponse
477
+ */
478
+ confirmInventoryKnowledgeWithOptions(request: $_model.ConfirmInventoryKnowledgeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ConfirmInventoryKnowledgeResponse>;
479
+ /**
480
+ * 确认盘点任务中的单条知识,将其标记为已认证
481
+ *
482
+ * @remarks
483
+ * 确认盘点任务中的单条知识,将其标记为已认证状态(解锁级别)
484
+ *
485
+ * @param request - ConfirmInventoryKnowledgeRequest
486
+ * @returns ConfirmInventoryKnowledgeResponse
487
+ */
488
+ confirmInventoryKnowledge(request: $_model.ConfirmInventoryKnowledgeRequest): Promise<$_model.ConfirmInventoryKnowledgeResponse>;
447
489
  /**
448
490
  * Attaches a system policy or custom policy to a DMS user or custom role.
449
491
  *
@@ -756,6 +798,27 @@ export default class Client extends OpenApi {
756
798
  * @returns CreateFreeLockCorrectOrderResponse
757
799
  */
758
800
  createFreeLockCorrectOrder(request: $_model.CreateFreeLockCorrectOrderRequest): Promise<$_model.CreateFreeLockCorrectOrderResponse>;
801
+ /**
802
+ * 创建资产盘点任务,对指定实例/数据库/表进行知识盘点
803
+ *
804
+ * @remarks
805
+ * 创建资产盘点任务,支持选择实例、数据库、表维度进行知识盘点,返回任务ID
806
+ *
807
+ * @param request - CreateInventoryJobRequest
808
+ * @param runtime - runtime options for this request RuntimeOptions
809
+ * @returns CreateInventoryJobResponse
810
+ */
811
+ createInventoryJobWithOptions(request: $_model.CreateInventoryJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateInventoryJobResponse>;
812
+ /**
813
+ * 创建资产盘点任务,对指定实例/数据库/表进行知识盘点
814
+ *
815
+ * @remarks
816
+ * 创建资产盘点任务,支持选择实例、数据库、表维度进行知识盘点,返回任务ID
817
+ *
818
+ * @param request - CreateInventoryJobRequest
819
+ * @returns CreateInventoryJobResponse
820
+ */
821
+ createInventoryJob(request: $_model.CreateInventoryJobRequest): Promise<$_model.CreateInventoryJobResponse>;
759
822
  /**
760
823
  * Creates a workspace for data warehouse development in Data Management (DMS).
761
824
  *
@@ -4710,6 +4773,27 @@ export default class Client extends OpenApi {
4710
4773
  * @returns SearchDatabaseResponse
4711
4774
  */
4712
4775
  searchDatabase(request: $_model.SearchDatabaseRequest): Promise<$_model.SearchDatabaseResponse>;
4776
+ /**
4777
+ * 分页查询盘点任务产出的知识列表,支持按关键词、知识类型等条件筛选
4778
+ *
4779
+ * @remarks
4780
+ * 分页查询盘点任务产出的知识列表,支持按关键词、知识类型、排序方式等条件筛选
4781
+ *
4782
+ * @param request - SearchInventoryKnowledgeRequest
4783
+ * @param runtime - runtime options for this request RuntimeOptions
4784
+ * @returns SearchInventoryKnowledgeResponse
4785
+ */
4786
+ searchInventoryKnowledgeWithOptions(request: $_model.SearchInventoryKnowledgeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SearchInventoryKnowledgeResponse>;
4787
+ /**
4788
+ * 分页查询盘点任务产出的知识列表,支持按关键词、知识类型等条件筛选
4789
+ *
4790
+ * @remarks
4791
+ * 分页查询盘点任务产出的知识列表,支持按关键词、知识类型、排序方式等条件筛选
4792
+ *
4793
+ * @param request - SearchInventoryKnowledgeRequest
4794
+ * @returns SearchInventoryKnowledgeResponse
4795
+ */
4796
+ searchInventoryKnowledge(request: $_model.SearchInventoryKnowledgeRequest): Promise<$_model.SearchInventoryKnowledgeResponse>;
4713
4797
  /**
4714
4798
  * Queries detailed information about tables.
4715
4799
  *
package/dist/client.js CHANGED
@@ -1769,6 +1769,51 @@ class Client extends openapi_core_1.default {
1769
1769
  let runtime = new $dara.RuntimeOptions({});
1770
1770
  return await this.checkBatchTableAccessPermissionWithOptions(request, runtime);
1771
1771
  }
1772
+ /**
1773
+ * 查询资产盘点任务的执行状态与进度信息
1774
+ *
1775
+ * @remarks
1776
+ * 查询资产盘点任务的执行状态与进度信息,包含子任务列表、进度百分比、知识统计等
1777
+ *
1778
+ * @param request - CheckInventoryJobRequest
1779
+ * @param runtime - runtime options for this request RuntimeOptions
1780
+ * @returns CheckInventoryJobResponse
1781
+ */
1782
+ async checkInventoryJobWithOptions(request, runtime) {
1783
+ request.validate();
1784
+ let query = {};
1785
+ if (!$dara.isNull(request.jobId)) {
1786
+ query["JobId"] = request.jobId;
1787
+ }
1788
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
1789
+ query: openapi_core_2.OpenApiUtil.query(query),
1790
+ });
1791
+ let params = new openapi_core_2.$OpenApiUtil.Params({
1792
+ action: "CheckInventoryJob",
1793
+ version: "2018-11-01",
1794
+ protocol: "HTTPS",
1795
+ pathname: "/",
1796
+ method: "POST",
1797
+ authType: "AK",
1798
+ style: "RPC",
1799
+ reqBodyType: "formData",
1800
+ bodyType: "json",
1801
+ });
1802
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.CheckInventoryJobResponse({}));
1803
+ }
1804
+ /**
1805
+ * 查询资产盘点任务的执行状态与进度信息
1806
+ *
1807
+ * @remarks
1808
+ * 查询资产盘点任务的执行状态与进度信息,包含子任务列表、进度百分比、知识统计等
1809
+ *
1810
+ * @param request - CheckInventoryJobRequest
1811
+ * @returns CheckInventoryJobResponse
1812
+ */
1813
+ async checkInventoryJob(request) {
1814
+ let runtime = new $dara.RuntimeOptions({});
1815
+ return await this.checkInventoryJobWithOptions(request, runtime);
1816
+ }
1772
1817
  /**
1773
1818
  * Closes a ticket.
1774
1819
  *
@@ -1814,6 +1859,57 @@ class Client extends openapi_core_1.default {
1814
1859
  let runtime = new $dara.RuntimeOptions({});
1815
1860
  return await this.closeOrderWithOptions(request, runtime);
1816
1861
  }
1862
+ /**
1863
+ * 确认盘点任务中的单条知识,将其标记为已认证
1864
+ *
1865
+ * @remarks
1866
+ * 确认盘点任务中的单条知识,将其标记为已认证状态(解锁级别)
1867
+ *
1868
+ * @param request - ConfirmInventoryKnowledgeRequest
1869
+ * @param runtime - runtime options for this request RuntimeOptions
1870
+ * @returns ConfirmInventoryKnowledgeResponse
1871
+ */
1872
+ async confirmInventoryKnowledgeWithOptions(request, runtime) {
1873
+ request.validate();
1874
+ let query = {};
1875
+ if (!$dara.isNull(request.entityId)) {
1876
+ query["EntityId"] = request.entityId;
1877
+ }
1878
+ if (!$dara.isNull(request.jobId)) {
1879
+ query["JobId"] = request.jobId;
1880
+ }
1881
+ if (!$dara.isNull(request.knowledgeType)) {
1882
+ query["KnowledgeType"] = request.knowledgeType;
1883
+ }
1884
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
1885
+ query: openapi_core_2.OpenApiUtil.query(query),
1886
+ });
1887
+ let params = new openapi_core_2.$OpenApiUtil.Params({
1888
+ action: "ConfirmInventoryKnowledge",
1889
+ version: "2018-11-01",
1890
+ protocol: "HTTPS",
1891
+ pathname: "/",
1892
+ method: "POST",
1893
+ authType: "AK",
1894
+ style: "RPC",
1895
+ reqBodyType: "formData",
1896
+ bodyType: "json",
1897
+ });
1898
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ConfirmInventoryKnowledgeResponse({}));
1899
+ }
1900
+ /**
1901
+ * 确认盘点任务中的单条知识,将其标记为已认证
1902
+ *
1903
+ * @remarks
1904
+ * 确认盘点任务中的单条知识,将其标记为已认证状态(解锁级别)
1905
+ *
1906
+ * @param request - ConfirmInventoryKnowledgeRequest
1907
+ * @returns ConfirmInventoryKnowledgeResponse
1908
+ */
1909
+ async confirmInventoryKnowledge(request) {
1910
+ let runtime = new $dara.RuntimeOptions({});
1911
+ return await this.confirmInventoryKnowledgeWithOptions(request, runtime);
1912
+ }
1817
1913
  /**
1818
1914
  * Attaches a system policy or custom policy to a DMS user or custom role.
1819
1915
  *
@@ -2999,6 +3095,51 @@ class Client extends openapi_core_1.default {
2999
3095
  let runtime = new $dara.RuntimeOptions({});
3000
3096
  return await this.createFreeLockCorrectOrderWithOptions(request, runtime);
3001
3097
  }
3098
+ /**
3099
+ * 创建资产盘点任务,对指定实例/数据库/表进行知识盘点
3100
+ *
3101
+ * @remarks
3102
+ * 创建资产盘点任务,支持选择实例、数据库、表维度进行知识盘点,返回任务ID
3103
+ *
3104
+ * @param request - CreateInventoryJobRequest
3105
+ * @param runtime - runtime options for this request RuntimeOptions
3106
+ * @returns CreateInventoryJobResponse
3107
+ */
3108
+ async createInventoryJobWithOptions(request, runtime) {
3109
+ request.validate();
3110
+ let query = {};
3111
+ if (!$dara.isNull(request.param)) {
3112
+ query["Param"] = request.param;
3113
+ }
3114
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
3115
+ query: openapi_core_2.OpenApiUtil.query(query),
3116
+ });
3117
+ let params = new openapi_core_2.$OpenApiUtil.Params({
3118
+ action: "CreateInventoryJob",
3119
+ version: "2018-11-01",
3120
+ protocol: "HTTPS",
3121
+ pathname: "/",
3122
+ method: "POST",
3123
+ authType: "AK",
3124
+ style: "RPC",
3125
+ reqBodyType: "formData",
3126
+ bodyType: "json",
3127
+ });
3128
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateInventoryJobResponse({}));
3129
+ }
3130
+ /**
3131
+ * 创建资产盘点任务,对指定实例/数据库/表进行知识盘点
3132
+ *
3133
+ * @remarks
3134
+ * 创建资产盘点任务,支持选择实例、数据库、表维度进行知识盘点,返回任务ID
3135
+ *
3136
+ * @param request - CreateInventoryJobRequest
3137
+ * @returns CreateInventoryJobResponse
3138
+ */
3139
+ async createInventoryJob(request) {
3140
+ let runtime = new $dara.RuntimeOptions({});
3141
+ return await this.createInventoryJobWithOptions(request, runtime);
3142
+ }
3002
3143
  /**
3003
3144
  * Creates a workspace for data warehouse development in Data Management (DMS).
3004
3145
  *
@@ -14923,6 +15064,69 @@ class Client extends openapi_core_1.default {
14923
15064
  let runtime = new $dara.RuntimeOptions({});
14924
15065
  return await this.searchDatabaseWithOptions(request, runtime);
14925
15066
  }
15067
+ /**
15068
+ * 分页查询盘点任务产出的知识列表,支持按关键词、知识类型等条件筛选
15069
+ *
15070
+ * @remarks
15071
+ * 分页查询盘点任务产出的知识列表,支持按关键词、知识类型、排序方式等条件筛选
15072
+ *
15073
+ * @param request - SearchInventoryKnowledgeRequest
15074
+ * @param runtime - runtime options for this request RuntimeOptions
15075
+ * @returns SearchInventoryKnowledgeResponse
15076
+ */
15077
+ async searchInventoryKnowledgeWithOptions(request, runtime) {
15078
+ request.validate();
15079
+ let query = {};
15080
+ if (!$dara.isNull(request.jobId)) {
15081
+ query["JobId"] = request.jobId;
15082
+ }
15083
+ if (!$dara.isNull(request.offset)) {
15084
+ query["Offset"] = request.offset;
15085
+ }
15086
+ if (!$dara.isNull(request.query)) {
15087
+ query["Query"] = request.query;
15088
+ }
15089
+ if (!$dara.isNull(request.showType)) {
15090
+ query["ShowType"] = request.showType;
15091
+ }
15092
+ if (!$dara.isNull(request.size)) {
15093
+ query["Size"] = request.size;
15094
+ }
15095
+ if (!$dara.isNull(request.sortBy)) {
15096
+ query["SortBy"] = request.sortBy;
15097
+ }
15098
+ if (!$dara.isNull(request.sortOrder)) {
15099
+ query["SortOrder"] = request.sortOrder;
15100
+ }
15101
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
15102
+ query: openapi_core_2.OpenApiUtil.query(query),
15103
+ });
15104
+ let params = new openapi_core_2.$OpenApiUtil.Params({
15105
+ action: "SearchInventoryKnowledge",
15106
+ version: "2018-11-01",
15107
+ protocol: "HTTPS",
15108
+ pathname: "/",
15109
+ method: "POST",
15110
+ authType: "AK",
15111
+ style: "RPC",
15112
+ reqBodyType: "formData",
15113
+ bodyType: "json",
15114
+ });
15115
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.SearchInventoryKnowledgeResponse({}));
15116
+ }
15117
+ /**
15118
+ * 分页查询盘点任务产出的知识列表,支持按关键词、知识类型等条件筛选
15119
+ *
15120
+ * @remarks
15121
+ * 分页查询盘点任务产出的知识列表,支持按关键词、知识类型、排序方式等条件筛选
15122
+ *
15123
+ * @param request - SearchInventoryKnowledgeRequest
15124
+ * @returns SearchInventoryKnowledgeResponse
15125
+ */
15126
+ async searchInventoryKnowledge(request) {
15127
+ let runtime = new $dara.RuntimeOptions({});
15128
+ return await this.searchInventoryKnowledgeWithOptions(request, runtime);
15129
+ }
14926
15130
  /**
14927
15131
  * Queries detailed information about tables.
14928
15132
  *