@huaweicloud/huaweicloud-sdk-codeartsdeploy 3.1.45 → 3.1.46

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 (193) hide show
  1. package/huaweicloud-sdk-codeartsdeploy.ts +4 -0
  2. package/package.json +4 -4
  3. package/v2/{CodeArtsDeployClient.js → CodeArtsDeployClient.ts} +608 -388
  4. package/v2/CodeArtsDeployRegion.ts +40 -0
  5. package/v2/model/AppComponentDao.ts +82 -0
  6. package/v2/model/ConfigInfoDO.ts +73 -0
  7. package/v2/model/CreateDeployTaskByTemplateRequest.ts +33 -0
  8. package/v2/model/CreateDeployTaskByTemplateResponse.ts +30 -0
  9. package/v2/model/CreateDeploymentGroupRequest.ts +33 -0
  10. package/v2/model/CreateDeploymentGroupResponse.ts +19 -0
  11. package/v2/model/CreateDeploymentHostRequest.ts +45 -0
  12. package/v2/model/CreateDeploymentHostResponse.ts +19 -0
  13. package/v2/model/DeleteDeployTaskRequest.ts +39 -0
  14. package/v2/model/DeleteDeployTaskResponse.ts +19 -0
  15. package/v2/model/DeleteDeploymentGroupRequest.ts +39 -0
  16. package/v2/model/DeleteDeploymentGroupResponse.ts +19 -0
  17. package/v2/model/DeleteDeploymentHostRequest.ts +51 -0
  18. package/v2/model/DeleteDeploymentHostResponse.ts +19 -0
  19. package/v2/model/DeploymentGroup.ts +78 -0
  20. package/v2/model/DeploymentGroupDetail.ts +160 -0
  21. package/v2/model/DeploymentGroupUpdateRequest.ts +49 -0
  22. package/v2/model/DeploymentHost.ts +86 -0
  23. package/v2/model/DeploymentHostAuthorizationBody.ts +49 -0
  24. package/v2/model/DeploymentHostDetail.ts +270 -0
  25. package/v2/model/DeploymentHostInfo.ts +98 -0
  26. package/v2/model/DeploymentHostRequest.ts +77 -0
  27. package/v2/model/DeploymentUpdateHost.ts +71 -0
  28. package/v2/model/DynamicConfigInfo.ts +33 -0
  29. package/v2/model/EnvExecutionBody.ts +34 -0
  30. package/v2/model/ExecuteRecordV2Body.ts +75 -0
  31. package/v2/model/KeyValueDO.ts +16 -0
  32. package/v2/model/ListDeployTaskHistoryByDateRequest.ts +81 -0
  33. package/v2/model/ListDeployTaskHistoryByDateResponse.ts +25 -0
  34. package/v2/model/ListDeployTasksRequest.ts +51 -0
  35. package/v2/model/ListDeployTasksResponse.ts +25 -0
  36. package/v2/model/ListHostGroupsRequest.ts +88 -0
  37. package/v2/model/ListHostGroupsResponse.ts +25 -0
  38. package/v2/model/ListHostsRequest.ts +86 -0
  39. package/v2/model/ListHostsResponse.ts +30 -0
  40. package/v2/model/ListTaskSuccessRateRequest.ts +24 -0
  41. package/v2/model/ListTaskSuccessRateResponse.ts +64 -0
  42. package/v2/model/ParamTypeLimits.ts +11 -0
  43. package/v2/model/PermissionGroupDetail.ts +61 -0
  44. package/v2/model/PermissionHostDetail.ts +61 -0
  45. package/v2/model/ShowDeployTaskDetailRequest.ts +18 -0
  46. package/v2/model/ShowDeployTaskDetailResponse.ts +351 -0
  47. package/v2/model/ShowDeploymentGroupDetailRequest.ts +18 -0
  48. package/v2/model/ShowDeploymentGroupDetailResponse.ts +162 -0
  49. package/v2/model/ShowDeploymentHostDetailRequest.ts +30 -0
  50. package/v2/model/ShowDeploymentHostDetailResponse.ts +273 -0
  51. package/v2/model/ShowProjectSuccessRateRequest.ts +42 -0
  52. package/v2/model/ShowProjectSuccessRateResponse.ts +96 -0
  53. package/v2/model/StartDeployTaskRequest.ts +45 -0
  54. package/v2/model/StartDeployTaskResponse.ts +47 -0
  55. package/v2/model/Step.ts +26 -0
  56. package/v2/model/TaskInfo.ts +349 -0
  57. package/v2/model/TaskSuccessRate.ts +61 -0
  58. package/v2/model/TasksSuccessRateQuery.ts +42 -0
  59. package/v2/model/TemplateTaskRequestBody.ts +71 -0
  60. package/v2/model/UpdateDeploymentGroupRequest.ts +45 -0
  61. package/v2/model/UpdateDeploymentGroupResponse.ts +19 -0
  62. package/v2/model/UpdateDeploymentHostRequest.ts +57 -0
  63. package/v2/model/UpdateDeploymentHostResponse.ts +19 -0
  64. package/v2/model/UserInfo.ts +28 -0
  65. package/v2/{public-api.d.ts → public-api.ts} +1 -0
  66. package/LICENSE +0 -13
  67. package/README.md +0 -1
  68. package/huaweicloud-sdk-codeartsdeploy.d.ts +0 -2
  69. package/huaweicloud-sdk-codeartsdeploy.js +0 -31
  70. package/v2/CodeArtsDeployClient.d.ts +0 -538
  71. package/v2/CodeArtsDeployRegion.d.ts +0 -12
  72. package/v2/CodeArtsDeployRegion.js +0 -37
  73. package/v2/model/AppComponentDao.d.ts +0 -31
  74. package/v2/model/AppComponentDao.js +0 -101
  75. package/v2/model/ConfigInfoDO.d.ts +0 -40
  76. package/v2/model/ConfigInfoDO.js +0 -77
  77. package/v2/model/CreateDeployTaskByTemplateRequest.d.ts +0 -18
  78. package/v2/model/CreateDeployTaskByTemplateRequest.js +0 -37
  79. package/v2/model/CreateDeployTaskByTemplateResponse.d.ts +0 -12
  80. package/v2/model/CreateDeployTaskByTemplateResponse.js +0 -55
  81. package/v2/model/CreateDeploymentGroupRequest.d.ts +0 -18
  82. package/v2/model/CreateDeploymentGroupRequest.js +0 -37
  83. package/v2/model/CreateDeploymentGroupResponse.d.ts +0 -8
  84. package/v2/model/CreateDeploymentGroupResponse.js +0 -41
  85. package/v2/model/CreateDeploymentHostRequest.d.ts +0 -22
  86. package/v2/model/CreateDeploymentHostRequest.js +0 -52
  87. package/v2/model/CreateDeploymentHostResponse.d.ts +0 -8
  88. package/v2/model/CreateDeploymentHostResponse.js +0 -41
  89. package/v2/model/DeleteDeployTaskRequest.d.ts +0 -19
  90. package/v2/model/DeleteDeployTaskRequest.js +0 -48
  91. package/v2/model/DeleteDeployTaskResponse.d.ts +0 -8
  92. package/v2/model/DeleteDeployTaskResponse.js +0 -41
  93. package/v2/model/DeleteDeploymentGroupRequest.d.ts +0 -19
  94. package/v2/model/DeleteDeploymentGroupRequest.js +0 -48
  95. package/v2/model/DeleteDeploymentGroupResponse.d.ts +0 -8
  96. package/v2/model/DeleteDeploymentGroupResponse.js +0 -41
  97. package/v2/model/DeleteDeploymentHostRequest.d.ts +0 -23
  98. package/v2/model/DeleteDeploymentHostRequest.js +0 -63
  99. package/v2/model/DeleteDeploymentHostResponse.d.ts +0 -8
  100. package/v2/model/DeleteDeploymentHostResponse.js +0 -41
  101. package/v2/model/DeploymentGroup.d.ts +0 -33
  102. package/v2/model/DeploymentGroup.js +0 -90
  103. package/v2/model/DeploymentGroupDetail.d.ts +0 -61
  104. package/v2/model/DeploymentGroupDetail.js +0 -193
  105. package/v2/model/DeploymentGroupUpdateRequest.d.ts +0 -24
  106. package/v2/model/DeploymentGroupUpdateRequest.js +0 -56
  107. package/v2/model/DeploymentHost.d.ts +0 -36
  108. package/v2/model/DeploymentHost.js +0 -96
  109. package/v2/model/DeploymentHostAuthorizationBody.d.ts +0 -23
  110. package/v2/model/DeploymentHostAuthorizationBody.js +0 -56
  111. package/v2/model/DeploymentHostDetail.d.ts +0 -103
  112. package/v2/model/DeploymentHostDetail.js +0 -325
  113. package/v2/model/DeploymentHostInfo.d.ts +0 -40
  114. package/v2/model/DeploymentHostInfo.js +0 -111
  115. package/v2/model/DeploymentHostRequest.d.ts +0 -28
  116. package/v2/model/DeploymentHostRequest.js +0 -86
  117. package/v2/model/DeploymentUpdateHost.d.ts +0 -26
  118. package/v2/model/DeploymentUpdateHost.js +0 -82
  119. package/v2/model/DynamicConfigInfo.d.ts +0 -19
  120. package/v2/model/DynamicConfigInfo.js +0 -32
  121. package/v2/model/EnvExecutionBody.d.ts +0 -14
  122. package/v2/model/EnvExecutionBody.js +0 -41
  123. package/v2/model/ExecuteRecordV2Body.d.ts +0 -29
  124. package/v2/model/ExecuteRecordV2Body.js +0 -85
  125. package/v2/model/KeyValueDO.d.ts +0 -7
  126. package/v2/model/KeyValueDO.js +0 -17
  127. package/v2/model/ListDeployTaskHistoryByDateRequest.d.ts +0 -33
  128. package/v2/model/ListDeployTaskHistoryByDateRequest.js +0 -93
  129. package/v2/model/ListDeployTaskHistoryByDateResponse.d.ts +0 -11
  130. package/v2/model/ListDeployTaskHistoryByDateResponse.js +0 -45
  131. package/v2/model/ListDeployTasksRequest.d.ts +0 -23
  132. package/v2/model/ListDeployTasksRequest.js +0 -58
  133. package/v2/model/ListDeployTasksResponse.d.ts +0 -11
  134. package/v2/model/ListDeployTasksResponse.js +0 -45
  135. package/v2/model/ListHostGroupsRequest.d.ts +0 -43
  136. package/v2/model/ListHostGroupsRequest.js +0 -100
  137. package/v2/model/ListHostGroupsResponse.d.ts +0 -11
  138. package/v2/model/ListHostGroupsResponse.js +0 -45
  139. package/v2/model/ListHostsRequest.d.ts +0 -37
  140. package/v2/model/ListHostsRequest.js +0 -101
  141. package/v2/model/ListHostsResponse.d.ts +0 -13
  142. package/v2/model/ListHostsResponse.js +0 -49
  143. package/v2/model/ListTaskSuccessRateRequest.d.ts +0 -10
  144. package/v2/model/ListTaskSuccessRateRequest.js +0 -28
  145. package/v2/model/ListTaskSuccessRateResponse.d.ts +0 -25
  146. package/v2/model/ListTaskSuccessRateResponse.js +0 -97
  147. package/v2/model/ParamTypeLimits.d.ts +0 -5
  148. package/v2/model/ParamTypeLimits.js +0 -13
  149. package/v2/model/PermissionGroupDetail.d.ts +0 -23
  150. package/v2/model/PermissionGroupDetail.js +0 -79
  151. package/v2/model/PermissionHostDetail.d.ts +0 -23
  152. package/v2/model/PermissionHostDetail.js +0 -79
  153. package/v2/model/ShowDeployTaskDetailRequest.d.ts +0 -7
  154. package/v2/model/ShowDeployTaskDetailRequest.js +0 -24
  155. package/v2/model/ShowDeployTaskDetailResponse.d.ts +0 -140
  156. package/v2/model/ShowDeployTaskDetailResponse.js +0 -442
  157. package/v2/model/ShowDeploymentGroupDetailRequest.d.ts +0 -7
  158. package/v2/model/ShowDeploymentGroupDetailRequest.js +0 -24
  159. package/v2/model/ShowDeploymentGroupDetailResponse.d.ts +0 -62
  160. package/v2/model/ShowDeploymentGroupDetailResponse.js +0 -211
  161. package/v2/model/ShowDeploymentHostDetailRequest.d.ts +0 -11
  162. package/v2/model/ShowDeploymentHostDetailRequest.js +0 -39
  163. package/v2/model/ShowDeploymentHostDetailResponse.d.ts +0 -105
  164. package/v2/model/ShowDeploymentHostDetailResponse.js +0 -344
  165. package/v2/model/ShowProjectSuccessRateRequest.d.ts +0 -15
  166. package/v2/model/ShowProjectSuccessRateRequest.js +0 -54
  167. package/v2/model/ShowProjectSuccessRateResponse.d.ts +0 -36
  168. package/v2/model/ShowProjectSuccessRateResponse.js +0 -139
  169. package/v2/model/StartDeployTaskRequest.d.ts +0 -22
  170. package/v2/model/StartDeployTaskRequest.js +0 -52
  171. package/v2/model/StartDeployTaskResponse.d.ts +0 -19
  172. package/v2/model/StartDeployTaskResponse.js +0 -73
  173. package/v2/model/Step.d.ts +0 -15
  174. package/v2/model/Step.js +0 -25
  175. package/v2/model/TaskInfo.d.ts +0 -139
  176. package/v2/model/TaskInfo.js +0 -424
  177. package/v2/model/TaskSuccessRate.d.ts +0 -23
  178. package/v2/model/TaskSuccessRate.js +0 -79
  179. package/v2/model/TasksSuccessRateQuery.d.ts +0 -15
  180. package/v2/model/TasksSuccessRateQuery.js +0 -54
  181. package/v2/model/TemplateTaskRequestBody.d.ts +0 -26
  182. package/v2/model/TemplateTaskRequestBody.js +0 -87
  183. package/v2/model/UpdateDeploymentGroupRequest.d.ts +0 -22
  184. package/v2/model/UpdateDeploymentGroupRequest.js +0 -52
  185. package/v2/model/UpdateDeploymentGroupResponse.d.ts +0 -8
  186. package/v2/model/UpdateDeploymentGroupResponse.js +0 -41
  187. package/v2/model/UpdateDeploymentHostRequest.d.ts +0 -26
  188. package/v2/model/UpdateDeploymentHostRequest.js +0 -67
  189. package/v2/model/UpdateDeploymentHostResponse.d.ts +0 -8
  190. package/v2/model/UpdateDeploymentHostResponse.js +0 -41
  191. package/v2/model/UserInfo.d.ts +0 -11
  192. package/v2/model/UserInfo.js +0 -37
  193. package/v2/public-api.js +0 -78
@@ -1,73 +0,0 @@
1
- "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- if (typeof b !== "function" && b !== null)
11
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
- extendStatics(d, b);
13
- function __() { this.constructor = d; }
14
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
- };
16
- })();
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.StartDeployTaskResponse = void 0;
19
- var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
20
- var StartDeployTaskResponse = /** @class */ (function (_super) {
21
- __extends(StartDeployTaskResponse, _super);
22
- function StartDeployTaskResponse() {
23
- return _super.call(this) || this;
24
- }
25
- StartDeployTaskResponse.prototype.withId = function (id) {
26
- this['id'] = id;
27
- return this;
28
- };
29
- StartDeployTaskResponse.prototype.withTaskId = function (taskId) {
30
- this['task_id'] = taskId;
31
- return this;
32
- };
33
- Object.defineProperty(StartDeployTaskResponse.prototype, "taskId", {
34
- get: function () {
35
- return this['task_id'];
36
- },
37
- set: function (taskId) {
38
- this['task_id'] = taskId;
39
- },
40
- enumerable: false,
41
- configurable: true
42
- });
43
- StartDeployTaskResponse.prototype.withJobName = function (jobName) {
44
- this['job_name'] = jobName;
45
- return this;
46
- };
47
- Object.defineProperty(StartDeployTaskResponse.prototype, "jobName", {
48
- get: function () {
49
- return this['job_name'];
50
- },
51
- set: function (jobName) {
52
- this['job_name'] = jobName;
53
- },
54
- enumerable: false,
55
- configurable: true
56
- });
57
- StartDeployTaskResponse.prototype.withAppComponentList = function (appComponentList) {
58
- this['app_component_list'] = appComponentList;
59
- return this;
60
- };
61
- Object.defineProperty(StartDeployTaskResponse.prototype, "appComponentList", {
62
- get: function () {
63
- return this['app_component_list'];
64
- },
65
- set: function (appComponentList) {
66
- this['app_component_list'] = appComponentList;
67
- },
68
- enumerable: false,
69
- configurable: true
70
- });
71
- return StartDeployTaskResponse;
72
- }(SdkResponse_1.SdkResponse));
73
- exports.StartDeployTaskResponse = StartDeployTaskResponse;
@@ -1,15 +0,0 @@
1
- export declare class Step {
2
- id?: string;
3
- name?: string;
4
- params?: {
5
- [key: string]: string;
6
- };
7
- enable?: boolean;
8
- constructor();
9
- withId(id: string): Step;
10
- withName(name: string): Step;
11
- withParams(params: {
12
- [key: string]: string;
13
- }): Step;
14
- withEnable(enable: boolean): Step;
15
- }
package/v2/model/Step.js DELETED
@@ -1,25 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Step = void 0;
4
- var Step = /** @class */ (function () {
5
- function Step() {
6
- }
7
- Step.prototype.withId = function (id) {
8
- this['id'] = id;
9
- return this;
10
- };
11
- Step.prototype.withName = function (name) {
12
- this['name'] = name;
13
- return this;
14
- };
15
- Step.prototype.withParams = function (params) {
16
- this['params'] = params;
17
- return this;
18
- };
19
- Step.prototype.withEnable = function (enable) {
20
- this['enable'] = enable;
21
- return this;
22
- };
23
- return Step;
24
- }());
25
- exports.Step = Step;
@@ -1,139 +0,0 @@
1
- import { AppComponentDao } from './AppComponentDao';
2
- import { Step } from './Step';
3
- export declare class TaskInfo {
4
- private 'task_id'?;
5
- name?: string;
6
- private 'project_id'?;
7
- private 'project_name'?;
8
- private 'deploy_system'?;
9
- private 'create_time'?;
10
- private 'update_time'?;
11
- state?: TaskInfoStateEnum;
12
- private 'execution_time'?;
13
- description?: string;
14
- private 'is_defaut_permission'?;
15
- private 'template_id'?;
16
- owner?: string;
17
- private 'nick_name'?;
18
- private 'owner_id'?;
19
- private 'tenant_id'?;
20
- private 'tenant_name'?;
21
- private 'slave_cluster_id'?;
22
- private 'is_care'?;
23
- private 'can_modify'?;
24
- private 'can_delete'?;
25
- private 'can_view'?;
26
- private 'can_execute'?;
27
- private 'can_copy'?;
28
- private 'can_manage'?;
29
- private 'app_component_list'?;
30
- private 'role_id'?;
31
- id?: string;
32
- private 'release_id'?;
33
- duration?: string;
34
- private 'execution_state'?;
35
- private 'executor_id'?;
36
- private 'executor_nick_name'?;
37
- steps?: {
38
- [key: string]: Step;
39
- };
40
- constructor();
41
- withTaskId(taskId: string): TaskInfo;
42
- set taskId(taskId: string | undefined);
43
- get taskId(): string | undefined;
44
- withName(name: string): TaskInfo;
45
- withProjectId(projectId: string): TaskInfo;
46
- set projectId(projectId: string | undefined);
47
- get projectId(): string | undefined;
48
- withProjectName(projectName: string): TaskInfo;
49
- set projectName(projectName: string | undefined);
50
- get projectName(): string | undefined;
51
- withDeploySystem(deploySystem: string): TaskInfo;
52
- set deploySystem(deploySystem: string | undefined);
53
- get deploySystem(): string | undefined;
54
- withCreateTime(createTime: string): TaskInfo;
55
- set createTime(createTime: string | undefined);
56
- get createTime(): string | undefined;
57
- withUpdateTime(updateTime: string): TaskInfo;
58
- set updateTime(updateTime: string | undefined);
59
- get updateTime(): string | undefined;
60
- withState(state: TaskInfoStateEnum): TaskInfo;
61
- withExecutionTime(executionTime: string): TaskInfo;
62
- set executionTime(executionTime: string | undefined);
63
- get executionTime(): string | undefined;
64
- withDescription(description: string): TaskInfo;
65
- withIsDefautPermission(isDefautPermission: boolean): TaskInfo;
66
- set isDefautPermission(isDefautPermission: boolean | undefined);
67
- get isDefautPermission(): boolean | undefined;
68
- withTemplateId(templateId: string): TaskInfo;
69
- set templateId(templateId: string | undefined);
70
- get templateId(): string | undefined;
71
- withOwner(owner: string): TaskInfo;
72
- withNickName(nickName: string): TaskInfo;
73
- set nickName(nickName: string | undefined);
74
- get nickName(): string | undefined;
75
- withOwnerId(ownerId: string): TaskInfo;
76
- set ownerId(ownerId: string | undefined);
77
- get ownerId(): string | undefined;
78
- withTenantId(tenantId: string): TaskInfo;
79
- set tenantId(tenantId: string | undefined);
80
- get tenantId(): string | undefined;
81
- withTenantName(tenantName: string): TaskInfo;
82
- set tenantName(tenantName: string | undefined);
83
- get tenantName(): string | undefined;
84
- withSlaveClusterId(slaveClusterId: string): TaskInfo;
85
- set slaveClusterId(slaveClusterId: string | undefined);
86
- get slaveClusterId(): string | undefined;
87
- withIsCare(isCare: boolean): TaskInfo;
88
- set isCare(isCare: boolean | undefined);
89
- get isCare(): boolean | undefined;
90
- withCanModify(canModify: boolean): TaskInfo;
91
- set canModify(canModify: boolean | undefined);
92
- get canModify(): boolean | undefined;
93
- withCanDelete(canDelete: boolean): TaskInfo;
94
- set canDelete(canDelete: boolean | undefined);
95
- get canDelete(): boolean | undefined;
96
- withCanView(canView: boolean): TaskInfo;
97
- set canView(canView: boolean | undefined);
98
- get canView(): boolean | undefined;
99
- withCanExecute(canExecute: boolean): TaskInfo;
100
- set canExecute(canExecute: boolean | undefined);
101
- get canExecute(): boolean | undefined;
102
- withCanCopy(canCopy: boolean): TaskInfo;
103
- set canCopy(canCopy: boolean | undefined);
104
- get canCopy(): boolean | undefined;
105
- withCanManage(canManage: boolean): TaskInfo;
106
- set canManage(canManage: boolean | undefined);
107
- get canManage(): boolean | undefined;
108
- withAppComponentList(appComponentList: Array<AppComponentDao>): TaskInfo;
109
- set appComponentList(appComponentList: Array<AppComponentDao> | undefined);
110
- get appComponentList(): Array<AppComponentDao> | undefined;
111
- withRoleId(roleId: number): TaskInfo;
112
- set roleId(roleId: number | undefined);
113
- get roleId(): number | undefined;
114
- withId(id: string): TaskInfo;
115
- withReleaseId(releaseId: number): TaskInfo;
116
- set releaseId(releaseId: number | undefined);
117
- get releaseId(): number | undefined;
118
- withDuration(duration: string): TaskInfo;
119
- withExecutionState(executionState: string): TaskInfo;
120
- set executionState(executionState: string | undefined);
121
- get executionState(): string | undefined;
122
- withExecutorId(executorId: string): TaskInfo;
123
- set executorId(executorId: string | undefined);
124
- get executorId(): string | undefined;
125
- withExecutorNickName(executorNickName: string): TaskInfo;
126
- set executorNickName(executorNickName: string | undefined);
127
- get executorNickName(): string | undefined;
128
- withSteps(steps: {
129
- [key: string]: Step;
130
- }): TaskInfo;
131
- }
132
- /**
133
- * @export
134
- * @enum {string}
135
- */
136
- export declare enum TaskInfoStateEnum {
137
- AVAILABLE = "Available",
138
- DRAFT = "Draft"
139
- }
@@ -1,424 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TaskInfoStateEnum = exports.TaskInfo = void 0;
4
- var TaskInfo = /** @class */ (function () {
5
- function TaskInfo() {
6
- }
7
- TaskInfo.prototype.withTaskId = function (taskId) {
8
- this['task_id'] = taskId;
9
- return this;
10
- };
11
- Object.defineProperty(TaskInfo.prototype, "taskId", {
12
- get: function () {
13
- return this['task_id'];
14
- },
15
- set: function (taskId) {
16
- this['task_id'] = taskId;
17
- },
18
- enumerable: false,
19
- configurable: true
20
- });
21
- TaskInfo.prototype.withName = function (name) {
22
- this['name'] = name;
23
- return this;
24
- };
25
- TaskInfo.prototype.withProjectId = function (projectId) {
26
- this['project_id'] = projectId;
27
- return this;
28
- };
29
- Object.defineProperty(TaskInfo.prototype, "projectId", {
30
- get: function () {
31
- return this['project_id'];
32
- },
33
- set: function (projectId) {
34
- this['project_id'] = projectId;
35
- },
36
- enumerable: false,
37
- configurable: true
38
- });
39
- TaskInfo.prototype.withProjectName = function (projectName) {
40
- this['project_name'] = projectName;
41
- return this;
42
- };
43
- Object.defineProperty(TaskInfo.prototype, "projectName", {
44
- get: function () {
45
- return this['project_name'];
46
- },
47
- set: function (projectName) {
48
- this['project_name'] = projectName;
49
- },
50
- enumerable: false,
51
- configurable: true
52
- });
53
- TaskInfo.prototype.withDeploySystem = function (deploySystem) {
54
- this['deploy_system'] = deploySystem;
55
- return this;
56
- };
57
- Object.defineProperty(TaskInfo.prototype, "deploySystem", {
58
- get: function () {
59
- return this['deploy_system'];
60
- },
61
- set: function (deploySystem) {
62
- this['deploy_system'] = deploySystem;
63
- },
64
- enumerable: false,
65
- configurable: true
66
- });
67
- TaskInfo.prototype.withCreateTime = function (createTime) {
68
- this['create_time'] = createTime;
69
- return this;
70
- };
71
- Object.defineProperty(TaskInfo.prototype, "createTime", {
72
- get: function () {
73
- return this['create_time'];
74
- },
75
- set: function (createTime) {
76
- this['create_time'] = createTime;
77
- },
78
- enumerable: false,
79
- configurable: true
80
- });
81
- TaskInfo.prototype.withUpdateTime = function (updateTime) {
82
- this['update_time'] = updateTime;
83
- return this;
84
- };
85
- Object.defineProperty(TaskInfo.prototype, "updateTime", {
86
- get: function () {
87
- return this['update_time'];
88
- },
89
- set: function (updateTime) {
90
- this['update_time'] = updateTime;
91
- },
92
- enumerable: false,
93
- configurable: true
94
- });
95
- TaskInfo.prototype.withState = function (state) {
96
- this['state'] = state;
97
- return this;
98
- };
99
- TaskInfo.prototype.withExecutionTime = function (executionTime) {
100
- this['execution_time'] = executionTime;
101
- return this;
102
- };
103
- Object.defineProperty(TaskInfo.prototype, "executionTime", {
104
- get: function () {
105
- return this['execution_time'];
106
- },
107
- set: function (executionTime) {
108
- this['execution_time'] = executionTime;
109
- },
110
- enumerable: false,
111
- configurable: true
112
- });
113
- TaskInfo.prototype.withDescription = function (description) {
114
- this['description'] = description;
115
- return this;
116
- };
117
- TaskInfo.prototype.withIsDefautPermission = function (isDefautPermission) {
118
- this['is_defaut_permission'] = isDefautPermission;
119
- return this;
120
- };
121
- Object.defineProperty(TaskInfo.prototype, "isDefautPermission", {
122
- get: function () {
123
- return this['is_defaut_permission'];
124
- },
125
- set: function (isDefautPermission) {
126
- this['is_defaut_permission'] = isDefautPermission;
127
- },
128
- enumerable: false,
129
- configurable: true
130
- });
131
- TaskInfo.prototype.withTemplateId = function (templateId) {
132
- this['template_id'] = templateId;
133
- return this;
134
- };
135
- Object.defineProperty(TaskInfo.prototype, "templateId", {
136
- get: function () {
137
- return this['template_id'];
138
- },
139
- set: function (templateId) {
140
- this['template_id'] = templateId;
141
- },
142
- enumerable: false,
143
- configurable: true
144
- });
145
- TaskInfo.prototype.withOwner = function (owner) {
146
- this['owner'] = owner;
147
- return this;
148
- };
149
- TaskInfo.prototype.withNickName = function (nickName) {
150
- this['nick_name'] = nickName;
151
- return this;
152
- };
153
- Object.defineProperty(TaskInfo.prototype, "nickName", {
154
- get: function () {
155
- return this['nick_name'];
156
- },
157
- set: function (nickName) {
158
- this['nick_name'] = nickName;
159
- },
160
- enumerable: false,
161
- configurable: true
162
- });
163
- TaskInfo.prototype.withOwnerId = function (ownerId) {
164
- this['owner_id'] = ownerId;
165
- return this;
166
- };
167
- Object.defineProperty(TaskInfo.prototype, "ownerId", {
168
- get: function () {
169
- return this['owner_id'];
170
- },
171
- set: function (ownerId) {
172
- this['owner_id'] = ownerId;
173
- },
174
- enumerable: false,
175
- configurable: true
176
- });
177
- TaskInfo.prototype.withTenantId = function (tenantId) {
178
- this['tenant_id'] = tenantId;
179
- return this;
180
- };
181
- Object.defineProperty(TaskInfo.prototype, "tenantId", {
182
- get: function () {
183
- return this['tenant_id'];
184
- },
185
- set: function (tenantId) {
186
- this['tenant_id'] = tenantId;
187
- },
188
- enumerable: false,
189
- configurable: true
190
- });
191
- TaskInfo.prototype.withTenantName = function (tenantName) {
192
- this['tenant_name'] = tenantName;
193
- return this;
194
- };
195
- Object.defineProperty(TaskInfo.prototype, "tenantName", {
196
- get: function () {
197
- return this['tenant_name'];
198
- },
199
- set: function (tenantName) {
200
- this['tenant_name'] = tenantName;
201
- },
202
- enumerable: false,
203
- configurable: true
204
- });
205
- TaskInfo.prototype.withSlaveClusterId = function (slaveClusterId) {
206
- this['slave_cluster_id'] = slaveClusterId;
207
- return this;
208
- };
209
- Object.defineProperty(TaskInfo.prototype, "slaveClusterId", {
210
- get: function () {
211
- return this['slave_cluster_id'];
212
- },
213
- set: function (slaveClusterId) {
214
- this['slave_cluster_id'] = slaveClusterId;
215
- },
216
- enumerable: false,
217
- configurable: true
218
- });
219
- TaskInfo.prototype.withIsCare = function (isCare) {
220
- this['is_care'] = isCare;
221
- return this;
222
- };
223
- Object.defineProperty(TaskInfo.prototype, "isCare", {
224
- get: function () {
225
- return this['is_care'];
226
- },
227
- set: function (isCare) {
228
- this['is_care'] = isCare;
229
- },
230
- enumerable: false,
231
- configurable: true
232
- });
233
- TaskInfo.prototype.withCanModify = function (canModify) {
234
- this['can_modify'] = canModify;
235
- return this;
236
- };
237
- Object.defineProperty(TaskInfo.prototype, "canModify", {
238
- get: function () {
239
- return this['can_modify'];
240
- },
241
- set: function (canModify) {
242
- this['can_modify'] = canModify;
243
- },
244
- enumerable: false,
245
- configurable: true
246
- });
247
- TaskInfo.prototype.withCanDelete = function (canDelete) {
248
- this['can_delete'] = canDelete;
249
- return this;
250
- };
251
- Object.defineProperty(TaskInfo.prototype, "canDelete", {
252
- get: function () {
253
- return this['can_delete'];
254
- },
255
- set: function (canDelete) {
256
- this['can_delete'] = canDelete;
257
- },
258
- enumerable: false,
259
- configurable: true
260
- });
261
- TaskInfo.prototype.withCanView = function (canView) {
262
- this['can_view'] = canView;
263
- return this;
264
- };
265
- Object.defineProperty(TaskInfo.prototype, "canView", {
266
- get: function () {
267
- return this['can_view'];
268
- },
269
- set: function (canView) {
270
- this['can_view'] = canView;
271
- },
272
- enumerable: false,
273
- configurable: true
274
- });
275
- TaskInfo.prototype.withCanExecute = function (canExecute) {
276
- this['can_execute'] = canExecute;
277
- return this;
278
- };
279
- Object.defineProperty(TaskInfo.prototype, "canExecute", {
280
- get: function () {
281
- return this['can_execute'];
282
- },
283
- set: function (canExecute) {
284
- this['can_execute'] = canExecute;
285
- },
286
- enumerable: false,
287
- configurable: true
288
- });
289
- TaskInfo.prototype.withCanCopy = function (canCopy) {
290
- this['can_copy'] = canCopy;
291
- return this;
292
- };
293
- Object.defineProperty(TaskInfo.prototype, "canCopy", {
294
- get: function () {
295
- return this['can_copy'];
296
- },
297
- set: function (canCopy) {
298
- this['can_copy'] = canCopy;
299
- },
300
- enumerable: false,
301
- configurable: true
302
- });
303
- TaskInfo.prototype.withCanManage = function (canManage) {
304
- this['can_manage'] = canManage;
305
- return this;
306
- };
307
- Object.defineProperty(TaskInfo.prototype, "canManage", {
308
- get: function () {
309
- return this['can_manage'];
310
- },
311
- set: function (canManage) {
312
- this['can_manage'] = canManage;
313
- },
314
- enumerable: false,
315
- configurable: true
316
- });
317
- TaskInfo.prototype.withAppComponentList = function (appComponentList) {
318
- this['app_component_list'] = appComponentList;
319
- return this;
320
- };
321
- Object.defineProperty(TaskInfo.prototype, "appComponentList", {
322
- get: function () {
323
- return this['app_component_list'];
324
- },
325
- set: function (appComponentList) {
326
- this['app_component_list'] = appComponentList;
327
- },
328
- enumerable: false,
329
- configurable: true
330
- });
331
- TaskInfo.prototype.withRoleId = function (roleId) {
332
- this['role_id'] = roleId;
333
- return this;
334
- };
335
- Object.defineProperty(TaskInfo.prototype, "roleId", {
336
- get: function () {
337
- return this['role_id'];
338
- },
339
- set: function (roleId) {
340
- this['role_id'] = roleId;
341
- },
342
- enumerable: false,
343
- configurable: true
344
- });
345
- TaskInfo.prototype.withId = function (id) {
346
- this['id'] = id;
347
- return this;
348
- };
349
- TaskInfo.prototype.withReleaseId = function (releaseId) {
350
- this['release_id'] = releaseId;
351
- return this;
352
- };
353
- Object.defineProperty(TaskInfo.prototype, "releaseId", {
354
- get: function () {
355
- return this['release_id'];
356
- },
357
- set: function (releaseId) {
358
- this['release_id'] = releaseId;
359
- },
360
- enumerable: false,
361
- configurable: true
362
- });
363
- TaskInfo.prototype.withDuration = function (duration) {
364
- this['duration'] = duration;
365
- return this;
366
- };
367
- TaskInfo.prototype.withExecutionState = function (executionState) {
368
- this['execution_state'] = executionState;
369
- return this;
370
- };
371
- Object.defineProperty(TaskInfo.prototype, "executionState", {
372
- get: function () {
373
- return this['execution_state'];
374
- },
375
- set: function (executionState) {
376
- this['execution_state'] = executionState;
377
- },
378
- enumerable: false,
379
- configurable: true
380
- });
381
- TaskInfo.prototype.withExecutorId = function (executorId) {
382
- this['executor_id'] = executorId;
383
- return this;
384
- };
385
- Object.defineProperty(TaskInfo.prototype, "executorId", {
386
- get: function () {
387
- return this['executor_id'];
388
- },
389
- set: function (executorId) {
390
- this['executor_id'] = executorId;
391
- },
392
- enumerable: false,
393
- configurable: true
394
- });
395
- TaskInfo.prototype.withExecutorNickName = function (executorNickName) {
396
- this['executor_nick_name'] = executorNickName;
397
- return this;
398
- };
399
- Object.defineProperty(TaskInfo.prototype, "executorNickName", {
400
- get: function () {
401
- return this['executor_nick_name'];
402
- },
403
- set: function (executorNickName) {
404
- this['executor_nick_name'] = executorNickName;
405
- },
406
- enumerable: false,
407
- configurable: true
408
- });
409
- TaskInfo.prototype.withSteps = function (steps) {
410
- this['steps'] = steps;
411
- return this;
412
- };
413
- return TaskInfo;
414
- }());
415
- exports.TaskInfo = TaskInfo;
416
- /**
417
- * @export
418
- * @enum {string}
419
- */
420
- var TaskInfoStateEnum;
421
- (function (TaskInfoStateEnum) {
422
- TaskInfoStateEnum["AVAILABLE"] = "Available";
423
- TaskInfoStateEnum["DRAFT"] = "Draft";
424
- })(TaskInfoStateEnum || (exports.TaskInfoStateEnum = TaskInfoStateEnum = {}));
@@ -1,23 +0,0 @@
1
- export declare class TaskSuccessRate {
2
- private 'task_id'?;
3
- private 'task_name'?;
4
- private 'success_rate'?;
5
- private 'record_count'?;
6
- private 'success_record_count'?;
7
- constructor();
8
- withTaskId(taskId: string): TaskSuccessRate;
9
- set taskId(taskId: string | undefined);
10
- get taskId(): string | undefined;
11
- withTaskName(taskName: string): TaskSuccessRate;
12
- set taskName(taskName: string | undefined);
13
- get taskName(): string | undefined;
14
- withSuccessRate(successRate: string): TaskSuccessRate;
15
- set successRate(successRate: string | undefined);
16
- get successRate(): string | undefined;
17
- withRecordCount(recordCount: number): TaskSuccessRate;
18
- set recordCount(recordCount: number | undefined);
19
- get recordCount(): number | undefined;
20
- withSuccessRecordCount(successRecordCount: number): TaskSuccessRate;
21
- set successRecordCount(successRecordCount: number | undefined);
22
- get successRecordCount(): number | undefined;
23
- }