@huaweicloud/huaweicloud-sdk-codeartsbuild 3.1.46 → 3.1.48

Sign up to get free protection for your applications and to get access to all the features.
Files changed (144) hide show
  1. package/huaweicloud-sdk-codeartsbuild.d.ts +3 -0
  2. package/huaweicloud-sdk-codeartsbuild.d.ts.map +1 -0
  3. package/huaweicloud-sdk-codeartsbuild.js +32 -0
  4. package/huaweicloud-sdk-codeartsbuild.js.map +1 -0
  5. package/package.json +8 -4
  6. package/v3/CodeArtsBuildClient.d.ts +271 -0
  7. package/v3/CodeArtsBuildClient.d.ts.map +1 -0
  8. package/v3/{CodeArtsBuildClient.ts → CodeArtsBuildClient.js} +152 -260
  9. package/v3/CodeArtsBuildClient.js.map +1 -0
  10. package/v3/CodeArtsBuildRegion.d.ts +16 -0
  11. package/v3/CodeArtsBuildRegion.d.ts.map +1 -0
  12. package/v3/CodeArtsBuildRegion.js +40 -0
  13. package/v3/CodeArtsBuildRegion.js.map +1 -0
  14. package/v3/model/BuildStep.d.ts +12 -0
  15. package/v3/model/BuildStep.d.ts.map +1 -0
  16. package/v3/model/BuildStep.js +27 -0
  17. package/v3/model/BuildStep.js.map +1 -0
  18. package/v3/model/DownloadKeystoreRequest.d.ts +12 -0
  19. package/v3/model/DownloadKeystoreRequest.d.ts.map +1 -0
  20. package/v3/model/DownloadKeystoreRequest.js +31 -0
  21. package/v3/model/DownloadKeystoreRequest.js.map +1 -0
  22. package/v3/model/DownloadKeystoreResponse.d.ts +5 -0
  23. package/v3/model/DownloadKeystoreResponse.d.ts.map +1 -0
  24. package/v3/model/DownloadKeystoreResponse.js +11 -0
  25. package/v3/model/DownloadKeystoreResponse.js.map +1 -0
  26. package/v3/model/HistoryRecord.d.ts +26 -0
  27. package/v3/model/HistoryRecord.d.ts.map +1 -0
  28. package/v3/model/HistoryRecord.js +63 -0
  29. package/v3/model/HistoryRecord.js.map +1 -0
  30. package/v3/model/HistoryRecord1.d.ts +42 -0
  31. package/v3/model/HistoryRecord1.d.ts.map +1 -0
  32. package/v3/model/HistoryRecord1.js +101 -0
  33. package/v3/model/HistoryRecord1.js.map +1 -0
  34. package/v3/model/Job.d.ts +66 -0
  35. package/v3/model/Job.d.ts.map +1 -0
  36. package/v3/model/Job.js +161 -0
  37. package/v3/model/Job.js.map +1 -0
  38. package/v3/model/ParameterItem.d.ts +8 -0
  39. package/v3/model/ParameterItem.d.ts.map +1 -0
  40. package/v3/model/ParameterItem.js +19 -0
  41. package/v3/model/ParameterItem.js.map +1 -0
  42. package/v3/model/RunJobRequest.d.ts +7 -0
  43. package/v3/model/RunJobRequest.d.ts.map +1 -0
  44. package/v3/model/RunJobRequest.js +13 -0
  45. package/v3/model/RunJobRequest.js.map +1 -0
  46. package/v3/model/RunJobRequestBody.d.ts +14 -0
  47. package/v3/model/RunJobRequestBody.d.ts.map +1 -0
  48. package/v3/model/RunJobRequestBody.js +28 -0
  49. package/v3/model/RunJobRequestBody.js.map +1 -0
  50. package/v3/model/RunJobResponse.d.ts +17 -0
  51. package/v3/model/RunJobResponse.d.ts.map +1 -0
  52. package/v3/model/RunJobResponse.js +41 -0
  53. package/v3/model/RunJobResponse.js.map +1 -0
  54. package/v3/model/Scm.d.ts +12 -0
  55. package/v3/model/Scm.d.ts.map +1 -0
  56. package/v3/model/Scm.js +29 -0
  57. package/v3/model/Scm.js.map +1 -0
  58. package/v3/model/ShowHistoryDetailsRequest.d.ts +12 -0
  59. package/v3/model/ShowHistoryDetailsRequest.d.ts.map +1 -0
  60. package/v3/model/ShowHistoryDetailsRequest.js +31 -0
  61. package/v3/model/ShowHistoryDetailsRequest.js.map +1 -0
  62. package/v3/model/ShowHistoryDetailsResponse.d.ts +32 -0
  63. package/v3/model/ShowHistoryDetailsResponse.d.ts.map +1 -0
  64. package/v3/model/ShowHistoryDetailsResponse.js +65 -0
  65. package/v3/model/ShowHistoryDetailsResponse.js.map +1 -0
  66. package/v3/model/ShowJobListByProjectIdRequest.d.ts +16 -0
  67. package/v3/model/ShowJobListByProjectIdRequest.d.ts.map +1 -0
  68. package/v3/model/ShowJobListByProjectIdRequest.js +42 -0
  69. package/v3/model/ShowJobListByProjectIdRequest.js.map +1 -0
  70. package/v3/model/ShowJobListByProjectIdResponse.d.ts +10 -0
  71. package/v3/model/ShowJobListByProjectIdResponse.d.ts.map +1 -0
  72. package/v3/model/ShowJobListByProjectIdResponse.js +19 -0
  73. package/v3/model/ShowJobListByProjectIdResponse.js.map +1 -0
  74. package/v3/model/ShowJobStatusRequest.d.ts +8 -0
  75. package/v3/model/ShowJobStatusRequest.d.ts.map +1 -0
  76. package/v3/model/ShowJobStatusRequest.js +20 -0
  77. package/v3/model/ShowJobStatusRequest.js.map +1 -0
  78. package/v3/model/ShowJobStatusResponse.d.ts +7 -0
  79. package/v3/model/ShowJobStatusResponse.d.ts.map +1 -0
  80. package/v3/model/ShowJobStatusResponse.js +15 -0
  81. package/v3/model/ShowJobStatusResponse.js.map +1 -0
  82. package/v3/model/ShowJobSuccessRatioRequest.d.ts +16 -0
  83. package/v3/model/ShowJobSuccessRatioRequest.d.ts.map +1 -0
  84. package/v3/model/ShowJobSuccessRatioRequest.js +42 -0
  85. package/v3/model/ShowJobSuccessRatioRequest.js.map +1 -0
  86. package/v3/model/ShowJobSuccessRatioResponse.d.ts +17 -0
  87. package/v3/model/ShowJobSuccessRatioResponse.d.ts.map +1 -0
  88. package/v3/model/ShowJobSuccessRatioResponse.js +41 -0
  89. package/v3/model/ShowJobSuccessRatioResponse.js.map +1 -0
  90. package/v3/model/ShowLastHistoryRequest.d.ts +12 -0
  91. package/v3/model/ShowLastHistoryRequest.d.ts.map +1 -0
  92. package/v3/model/ShowLastHistoryRequest.js +31 -0
  93. package/v3/model/ShowLastHistoryRequest.js.map +1 -0
  94. package/v3/model/ShowLastHistoryResponse.d.ts +35 -0
  95. package/v3/model/ShowLastHistoryResponse.d.ts.map +1 -0
  96. package/v3/model/ShowLastHistoryResponse.js +85 -0
  97. package/v3/model/ShowLastHistoryResponse.js.map +1 -0
  98. package/v3/model/ShowListHistoryRequest.d.ts +14 -0
  99. package/v3/model/ShowListHistoryRequest.d.ts.map +1 -0
  100. package/v3/model/ShowListHistoryRequest.js +35 -0
  101. package/v3/model/ShowListHistoryRequest.js.map +1 -0
  102. package/v3/model/ShowListHistoryResponse.d.ts +12 -0
  103. package/v3/model/ShowListHistoryResponse.d.ts.map +1 -0
  104. package/v3/model/ShowListHistoryResponse.js +25 -0
  105. package/v3/model/ShowListHistoryResponse.js.map +1 -0
  106. package/v3/model/ShowListPeriodHistoryRequest.d.ts +20 -0
  107. package/v3/model/ShowListPeriodHistoryRequest.d.ts.map +1 -0
  108. package/v3/model/ShowListPeriodHistoryRequest.js +52 -0
  109. package/v3/model/ShowListPeriodHistoryRequest.js.map +1 -0
  110. package/v3/model/ShowListPeriodHistoryResponse.d.ts +12 -0
  111. package/v3/model/ShowListPeriodHistoryResponse.d.ts.map +1 -0
  112. package/v3/model/ShowListPeriodHistoryResponse.js +25 -0
  113. package/v3/model/ShowListPeriodHistoryResponse.js.map +1 -0
  114. package/v3/{public-api.ts → public-api.d.ts} +1 -1
  115. package/v3/public-api.d.ts.map +1 -0
  116. package/v3/public-api.js +44 -0
  117. package/v3/public-api.js.map +1 -0
  118. package/huaweicloud-sdk-codeartsbuild.ts +0 -4
  119. package/v3/CodeArtsBuildRegion.ts +0 -44
  120. package/v3/model/BuildStep.ts +0 -27
  121. package/v3/model/DownloadKeystoreRequest.ts +0 -30
  122. package/v3/model/DownloadKeystoreResponse.ts +0 -8
  123. package/v3/model/HistoryRecord.ts +0 -66
  124. package/v3/model/HistoryRecord1.ts +0 -109
  125. package/v3/model/Job.ts +0 -175
  126. package/v3/model/ParameterItem.ts +0 -18
  127. package/v3/model/RunJobRequest.ts +0 -12
  128. package/v3/model/RunJobRequestBody.ts +0 -30
  129. package/v3/model/RunJobResponse.ts +0 -41
  130. package/v3/model/Scm.ts +0 -28
  131. package/v3/model/ShowHistoryDetailsRequest.ts +0 -30
  132. package/v3/model/ShowHistoryDetailsResponse.ts +0 -69
  133. package/v3/model/ShowJobListByProjectIdRequest.ts +0 -42
  134. package/v3/model/ShowJobListByProjectIdResponse.ts +0 -19
  135. package/v3/model/ShowJobStatusRequest.ts +0 -18
  136. package/v3/model/ShowJobStatusResponse.ts +0 -13
  137. package/v3/model/ShowJobSuccessRatioRequest.ts +0 -42
  138. package/v3/model/ShowJobSuccessRatioResponse.ts +0 -41
  139. package/v3/model/ShowLastHistoryRequest.ts +0 -30
  140. package/v3/model/ShowLastHistoryResponse.ts +0 -90
  141. package/v3/model/ShowListHistoryRequest.ts +0 -36
  142. package/v3/model/ShowListHistoryResponse.ts +0 -25
  143. package/v3/model/ShowListPeriodHistoryRequest.ts +0 -54
  144. package/v3/model/ShowListPeriodHistoryResponse.ts +0 -25
@@ -1,51 +1,29 @@
1
- import { HcClient } from "@huaweicloud/huaweicloud-sdk-core/HcClient";
2
- import { ClientBuilder } from "@huaweicloud/huaweicloud-sdk-core/ClientBuilder";
3
- import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
4
-
5
- import { BuildStep } from './model/BuildStep';
6
- import { DownloadKeystoreRequest } from './model/DownloadKeystoreRequest';
7
- import { DownloadKeystoreResponse } from './model/DownloadKeystoreResponse';
8
- import { HistoryRecord } from './model/HistoryRecord';
9
- import { HistoryRecord1 } from './model/HistoryRecord1';
10
- import { Job } from './model/Job';
11
- import { ParameterItem } from './model/ParameterItem';
12
- import { RunJobRequest } from './model/RunJobRequest';
13
- import { RunJobRequestBody } from './model/RunJobRequestBody';
14
- import { RunJobResponse } from './model/RunJobResponse';
15
- import { Scm } from './model/Scm';
16
- import { ShowHistoryDetailsRequest } from './model/ShowHistoryDetailsRequest';
17
- import { ShowHistoryDetailsResponse } from './model/ShowHistoryDetailsResponse';
18
- import { ShowJobListByProjectIdRequest } from './model/ShowJobListByProjectIdRequest';
19
- import { ShowJobListByProjectIdResponse } from './model/ShowJobListByProjectIdResponse';
20
- import { ShowJobStatusRequest } from './model/ShowJobStatusRequest';
21
- import { ShowJobStatusResponse } from './model/ShowJobStatusResponse';
22
- import { ShowJobSuccessRatioRequest } from './model/ShowJobSuccessRatioRequest';
23
- import { ShowJobSuccessRatioResponse } from './model/ShowJobSuccessRatioResponse';
24
- import { ShowLastHistoryRequest } from './model/ShowLastHistoryRequest';
25
- import { ShowLastHistoryResponse } from './model/ShowLastHistoryResponse';
26
- import { ShowListHistoryRequest } from './model/ShowListHistoryRequest';
27
- import { ShowListHistoryResponse } from './model/ShowListHistoryResponse';
28
- import { ShowListPeriodHistoryRequest } from './model/ShowListPeriodHistoryRequest';
29
- import { ShowListPeriodHistoryResponse } from './model/ShowListPeriodHistoryResponse';
30
-
31
- export class CodeArtsBuildClient {
32
- public static newBuilder(): ClientBuilder<CodeArtsBuildClient> {
33
- return new ClientBuilder<CodeArtsBuildClient>(newClient);
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RequiredError = exports.ParamCreater = exports.CodeArtsBuildClient = void 0;
4
+ const ClientBuilder_1 = require("@huaweicloud/huaweicloud-sdk-core/ClientBuilder");
5
+ const DownloadKeystoreRequest_1 = require("./model/DownloadKeystoreRequest");
6
+ const RunJobRequest_1 = require("./model/RunJobRequest");
7
+ const ShowHistoryDetailsRequest_1 = require("./model/ShowHistoryDetailsRequest");
8
+ const ShowJobListByProjectIdRequest_1 = require("./model/ShowJobListByProjectIdRequest");
9
+ const ShowJobStatusRequest_1 = require("./model/ShowJobStatusRequest");
10
+ const ShowJobSuccessRatioRequest_1 = require("./model/ShowJobSuccessRatioRequest");
11
+ const ShowLastHistoryRequest_1 = require("./model/ShowLastHistoryRequest");
12
+ const ShowListHistoryRequest_1 = require("./model/ShowListHistoryRequest");
13
+ const ShowListPeriodHistoryRequest_1 = require("./model/ShowListPeriodHistoryRequest");
14
+ class CodeArtsBuildClient {
15
+ static newBuilder() {
16
+ return new ClientBuilder_1.ClientBuilder(newClient);
34
17
  }
35
-
36
- private hcClient: HcClient;
37
- public constructor(client: HcClient) {
18
+ constructor(client) {
38
19
  this.hcClient = client;
39
20
  }
40
-
41
- public getPath() {
21
+ getPath() {
42
22
  return __dirname;
43
23
  }
44
-
45
-
46
24
  /**
47
25
  * 下载指定租户下的KeyStore文件
48
- *
26
+ *
49
27
  * Please refer to HUAWEI cloud API Explorer for details.
50
28
  *
51
29
  * @summary KeyStore文件下载
@@ -54,18 +32,15 @@ export class CodeArtsBuildClient {
54
32
  * @param {*} [options] Override http request option.
55
33
  * @throws {RequiredError}
56
34
  */
57
- public downloadKeystore(downloadKeystoreRequest?: DownloadKeystoreRequest): Promise<DownloadKeystoreResponse> {
58
- const options = ParamCreater().downloadKeystore(downloadKeystoreRequest);
59
-
60
- // @ts-ignore
35
+ downloadKeystore(downloadKeystoreRequest) {
36
+ const options = (0, exports.ParamCreater)().downloadKeystore(downloadKeystoreRequest);
37
+ // @ts-ignore
61
38
  options['responseHeaders'] = [''];
62
-
63
39
  return this.hcClient.sendRequest(options);
64
40
  }
65
-
66
41
  /**
67
42
  * 执行构建任务,可传自定义参数。
68
- *
43
+ *
69
44
  * Please refer to HUAWEI cloud API Explorer for details.
70
45
  *
71
46
  * @summary 执行构建任务
@@ -73,18 +48,15 @@ export class CodeArtsBuildClient {
73
48
  * @param {*} [options] Override http request option.
74
49
  * @throws {RequiredError}
75
50
  */
76
- public runJob(runJobRequest?: RunJobRequest): Promise<RunJobResponse> {
77
- const options = ParamCreater().runJob(runJobRequest);
78
-
79
- // @ts-ignore
51
+ runJob(runJobRequest) {
52
+ const options = (0, exports.ParamCreater)().runJob(runJobRequest);
53
+ // @ts-ignore
80
54
  options['responseHeaders'] = [''];
81
-
82
55
  return this.hcClient.sendRequest(options);
83
56
  }
84
-
85
57
  /**
86
58
  * 获取构建历史详情信息接口
87
- *
59
+ *
88
60
  * Please refer to HUAWEI cloud API Explorer for details.
89
61
  *
90
62
  * @summary 获取构建历史详情信息接口
@@ -93,18 +65,15 @@ export class CodeArtsBuildClient {
93
65
  * @param {*} [options] Override http request option.
94
66
  * @throws {RequiredError}
95
67
  */
96
- public showHistoryDetails(showHistoryDetailsRequest?: ShowHistoryDetailsRequest): Promise<ShowHistoryDetailsResponse> {
97
- const options = ParamCreater().showHistoryDetails(showHistoryDetailsRequest);
98
-
99
- // @ts-ignore
68
+ showHistoryDetails(showHistoryDetailsRequest) {
69
+ const options = (0, exports.ParamCreater)().showHistoryDetails(showHistoryDetailsRequest);
70
+ // @ts-ignore
100
71
  options['responseHeaders'] = [''];
101
-
102
72
  return this.hcClient.sendRequest(options);
103
73
  }
104
-
105
74
  /**
106
75
  * 查看项目下用户的构建任务列表
107
- *
76
+ *
108
77
  * Please refer to HUAWEI cloud API Explorer for details.
109
78
  *
110
79
  * @summary 查看项目下用户的构建任务列表
@@ -114,18 +83,15 @@ export class CodeArtsBuildClient {
114
83
  * @param {*} [options] Override http request option.
115
84
  * @throws {RequiredError}
116
85
  */
117
- public showJobListByProjectId(showJobListByProjectIdRequest?: ShowJobListByProjectIdRequest): Promise<ShowJobListByProjectIdResponse> {
118
- const options = ParamCreater().showJobListByProjectId(showJobListByProjectIdRequest);
119
-
120
- // @ts-ignore
86
+ showJobListByProjectId(showJobListByProjectIdRequest) {
87
+ const options = (0, exports.ParamCreater)().showJobListByProjectId(showJobListByProjectIdRequest);
88
+ // @ts-ignore
121
89
  options['responseHeaders'] = [''];
122
-
123
90
  return this.hcClient.sendRequest(options);
124
91
  }
125
-
126
92
  /**
127
93
  * 查看任务运行状态
128
- *
94
+ *
129
95
  * Please refer to HUAWEI cloud API Explorer for details.
130
96
  *
131
97
  * @summary 查看任务运行状态
@@ -133,18 +99,15 @@ export class CodeArtsBuildClient {
133
99
  * @param {*} [options] Override http request option.
134
100
  * @throws {RequiredError}
135
101
  */
136
- public showJobStatus(showJobStatusRequest?: ShowJobStatusRequest): Promise<ShowJobStatusResponse> {
137
- const options = ParamCreater().showJobStatus(showJobStatusRequest);
138
-
139
- // @ts-ignore
102
+ showJobStatus(showJobStatusRequest) {
103
+ const options = (0, exports.ParamCreater)().showJobStatus(showJobStatusRequest);
104
+ // @ts-ignore
140
105
  options['responseHeaders'] = [''];
141
-
142
106
  return this.hcClient.sendRequest(options);
143
107
  }
144
-
145
108
  /**
146
109
  * 根据开始时间和结束时间查看构建任务的构建成功率
147
- *
110
+ *
148
111
  * Please refer to HUAWEI cloud API Explorer for details.
149
112
  *
150
113
  * @summary 根据开始时间和结束时间查看构建任务的构建成功率
@@ -154,18 +117,15 @@ export class CodeArtsBuildClient {
154
117
  * @param {*} [options] Override http request option.
155
118
  * @throws {RequiredError}
156
119
  */
157
- public showJobSuccessRatio(showJobSuccessRatioRequest?: ShowJobSuccessRatioRequest): Promise<ShowJobSuccessRatioResponse> {
158
- const options = ParamCreater().showJobSuccessRatio(showJobSuccessRatioRequest);
159
-
160
- // @ts-ignore
120
+ showJobSuccessRatio(showJobSuccessRatioRequest) {
121
+ const options = (0, exports.ParamCreater)().showJobSuccessRatio(showJobSuccessRatioRequest);
122
+ // @ts-ignore
161
123
  options['responseHeaders'] = [''];
162
-
163
124
  return this.hcClient.sendRequest(options);
164
125
  }
165
-
166
126
  /**
167
127
  * 查询指定代码仓库最近一次成功的构建历史
168
- *
128
+ *
169
129
  * Please refer to HUAWEI cloud API Explorer for details.
170
130
  *
171
131
  * @summary 查询指定代码仓库最近一次成功的构建历史
@@ -174,18 +134,15 @@ export class CodeArtsBuildClient {
174
134
  * @param {*} [options] Override http request option.
175
135
  * @throws {RequiredError}
176
136
  */
177
- public showLastHistory(showLastHistoryRequest?: ShowLastHistoryRequest): Promise<ShowLastHistoryResponse> {
178
- const options = ParamCreater().showLastHistory(showLastHistoryRequest);
179
-
180
- // @ts-ignore
137
+ showLastHistory(showLastHistoryRequest) {
138
+ const options = (0, exports.ParamCreater)().showLastHistory(showLastHistoryRequest);
139
+ // @ts-ignore
181
140
  options['responseHeaders'] = [''];
182
-
183
141
  return this.hcClient.sendRequest(options);
184
142
  }
185
-
186
143
  /**
187
144
  * 查看构建任务的构建历史列表
188
- *
145
+ *
189
146
  * Please refer to HUAWEI cloud API Explorer for details.
190
147
  *
191
148
  * @summary 查看构建任务的构建历史列表
@@ -196,18 +153,15 @@ export class CodeArtsBuildClient {
196
153
  * @param {*} [options] Override http request option.
197
154
  * @throws {RequiredError}
198
155
  */
199
- public showListHistory(showListHistoryRequest?: ShowListHistoryRequest): Promise<ShowListHistoryResponse> {
200
- const options = ParamCreater().showListHistory(showListHistoryRequest);
201
-
202
- // @ts-ignore
156
+ showListHistory(showListHistoryRequest) {
157
+ const options = (0, exports.ParamCreater)().showListHistory(showListHistoryRequest);
158
+ // @ts-ignore
203
159
  options['responseHeaders'] = [''];
204
-
205
160
  return this.hcClient.sendRequest(options);
206
161
  }
207
-
208
162
  /**
209
163
  * 根据开始时间和结束时间查看构建任务的构建历史列表
210
- *
164
+ *
211
165
  * Please refer to HUAWEI cloud API Explorer for details.
212
166
  *
213
167
  * @summary 根据开始时间和结束时间查看构建任务的构建历史列表
@@ -219,25 +173,22 @@ export class CodeArtsBuildClient {
219
173
  * @param {*} [options] Override http request option.
220
174
  * @throws {RequiredError}
221
175
  */
222
- public showListPeriodHistory(showListPeriodHistoryRequest?: ShowListPeriodHistoryRequest): Promise<ShowListPeriodHistoryResponse> {
223
- const options = ParamCreater().showListPeriodHistory(showListPeriodHistoryRequest);
224
-
225
- // @ts-ignore
176
+ showListPeriodHistory(showListPeriodHistoryRequest) {
177
+ const options = (0, exports.ParamCreater)().showListPeriodHistory(showListPeriodHistoryRequest);
178
+ // @ts-ignore
226
179
  options['responseHeaders'] = [''];
227
-
228
180
  return this.hcClient.sendRequest(options);
229
181
  }
230
182
  }
231
-
232
- export const ParamCreater = function () {
183
+ exports.CodeArtsBuildClient = CodeArtsBuildClient;
184
+ const ParamCreater = function () {
233
185
  return {
234
-
235
186
  /**
236
187
  * 下载指定租户下的KeyStore文件
237
- *
188
+ *
238
189
  * Please refer to HUAWEI cloud API Explorer for details.
239
190
  */
240
- downloadKeystore(downloadKeystoreRequest?: DownloadKeystoreRequest) {
191
+ downloadKeystore(downloadKeystoreRequest) {
241
192
  const options = {
242
193
  method: "GET",
243
194
  url: "/v3/keystore",
@@ -246,48 +197,42 @@ export const ParamCreater = function () {
246
197
  pathParams: {},
247
198
  headers: {}
248
199
  };
249
- const localVarHeaderParameter = {} as any;
250
- const localVarQueryParameter = {} as any;
251
-
200
+ const localVarHeaderParameter = {};
201
+ const localVarQueryParameter = {};
252
202
  let fileName;
253
-
254
203
  let domainId;
255
-
256
204
  if (downloadKeystoreRequest !== null && downloadKeystoreRequest !== undefined) {
257
- if (downloadKeystoreRequest instanceof DownloadKeystoreRequest) {
205
+ if (downloadKeystoreRequest instanceof DownloadKeystoreRequest_1.DownloadKeystoreRequest) {
258
206
  fileName = downloadKeystoreRequest.fileName;
259
207
  domainId = downloadKeystoreRequest.domainId;
260
- } else {
208
+ }
209
+ else {
261
210
  fileName = downloadKeystoreRequest['file_name'];
262
211
  domainId = downloadKeystoreRequest['domain_id'];
263
212
  }
264
213
  }
265
-
266
-
267
214
  if (fileName === null || fileName === undefined) {
268
- throw new RequiredError('fileName','Required parameter fileName was null or undefined when calling downloadKeystore.');
215
+ throw new RequiredError('fileName', 'Required parameter fileName was null or undefined when calling downloadKeystore.');
269
216
  }
270
217
  if (fileName !== null && fileName !== undefined) {
271
218
  localVarQueryParameter['file_name'] = fileName;
272
219
  }
273
220
  if (domainId === null || domainId === undefined) {
274
- throw new RequiredError('domainId','Required parameter domainId was null or undefined when calling downloadKeystore.');
221
+ throw new RequiredError('domainId', 'Required parameter domainId was null or undefined when calling downloadKeystore.');
275
222
  }
276
223
  if (domainId !== null && domainId !== undefined) {
277
224
  localVarQueryParameter['domain_id'] = domainId;
278
225
  }
279
-
280
226
  options.queryParams = localVarQueryParameter;
281
227
  options.headers = localVarHeaderParameter;
282
228
  return options;
283
229
  },
284
-
285
230
  /**
286
231
  * 执行构建任务,可传自定义参数。
287
- *
232
+ *
288
233
  * Please refer to HUAWEI cloud API Explorer for details.
289
234
  */
290
- runJob(runJobRequest?: RunJobRequest) {
235
+ runJob(runJobRequest) {
291
236
  const options = {
292
237
  method: "POST",
293
238
  url: "/v3/jobs/build",
@@ -297,35 +242,30 @@ export const ParamCreater = function () {
297
242
  headers: {},
298
243
  data: {}
299
244
  };
300
- const localVarHeaderParameter = {} as any;
301
-
302
- let body: any;
303
-
245
+ const localVarHeaderParameter = {};
246
+ let body;
304
247
  if (runJobRequest !== null && runJobRequest !== undefined) {
305
- if (runJobRequest instanceof RunJobRequest) {
306
- body = runJobRequest.body
307
- } else {
248
+ if (runJobRequest instanceof RunJobRequest_1.RunJobRequest) {
249
+ body = runJobRequest.body;
250
+ }
251
+ else {
308
252
  body = runJobRequest['body'];
309
253
  }
310
254
  }
311
-
312
-
313
255
  if (body === null || body === undefined) {
314
- throw new RequiredError('body','Required parameter body was null or undefined when calling body.');
256
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
315
257
  }
316
258
  localVarHeaderParameter['Content-Type'] = 'application/json';
317
-
318
259
  options.data = body !== undefined ? body : {};
319
260
  options.headers = localVarHeaderParameter;
320
261
  return options;
321
262
  },
322
-
323
263
  /**
324
264
  * 获取构建历史详情信息接口
325
- *
265
+ *
326
266
  * Please refer to HUAWEI cloud API Explorer for details.
327
267
  */
328
- showHistoryDetails(showHistoryDetailsRequest?: ShowHistoryDetailsRequest) {
268
+ showHistoryDetails(showHistoryDetailsRequest) {
329
269
  const options = {
330
270
  method: "GET",
331
271
  url: "/v3/jobs/{job_id}/{build_number}/history-details",
@@ -334,42 +274,35 @@ export const ParamCreater = function () {
334
274
  pathParams: {},
335
275
  headers: {}
336
276
  };
337
- const localVarHeaderParameter = {} as any;
338
-
339
-
277
+ const localVarHeaderParameter = {};
340
278
  let jobId;
341
-
342
279
  let buildNumber;
343
-
344
280
  if (showHistoryDetailsRequest !== null && showHistoryDetailsRequest !== undefined) {
345
- if (showHistoryDetailsRequest instanceof ShowHistoryDetailsRequest) {
281
+ if (showHistoryDetailsRequest instanceof ShowHistoryDetailsRequest_1.ShowHistoryDetailsRequest) {
346
282
  jobId = showHistoryDetailsRequest.jobId;
347
283
  buildNumber = showHistoryDetailsRequest.buildNumber;
348
- } else {
284
+ }
285
+ else {
349
286
  jobId = showHistoryDetailsRequest['job_id'];
350
287
  buildNumber = showHistoryDetailsRequest['build_number'];
351
288
  }
352
289
  }
353
-
354
-
355
290
  if (jobId === null || jobId === undefined) {
356
- throw new RequiredError('jobId','Required parameter jobId was null or undefined when calling showHistoryDetails.');
291
+ throw new RequiredError('jobId', 'Required parameter jobId was null or undefined when calling showHistoryDetails.');
357
292
  }
358
293
  if (buildNumber === null || buildNumber === undefined) {
359
- throw new RequiredError('buildNumber','Required parameter buildNumber was null or undefined when calling showHistoryDetails.');
294
+ throw new RequiredError('buildNumber', 'Required parameter buildNumber was null or undefined when calling showHistoryDetails.');
360
295
  }
361
-
362
- options.pathParams = { 'job_id': jobId,'build_number': buildNumber, };
296
+ options.pathParams = { 'job_id': jobId, 'build_number': buildNumber, };
363
297
  options.headers = localVarHeaderParameter;
364
298
  return options;
365
299
  },
366
-
367
300
  /**
368
301
  * 查看项目下用户的构建任务列表
369
- *
302
+ *
370
303
  * Please refer to HUAWEI cloud API Explorer for details.
371
304
  */
372
- showJobListByProjectId(showJobListByProjectIdRequest?: ShowJobListByProjectIdRequest) {
305
+ showJobListByProjectId(showJobListByProjectIdRequest) {
373
306
  const options = {
374
307
  method: "GET",
375
308
  url: "/v3/{project_id}/jobs",
@@ -378,56 +311,49 @@ export const ParamCreater = function () {
378
311
  pathParams: {},
379
312
  headers: {}
380
313
  };
381
- const localVarHeaderParameter = {} as any;
382
- const localVarQueryParameter = {} as any;
383
-
314
+ const localVarHeaderParameter = {};
315
+ const localVarQueryParameter = {};
384
316
  let projectId;
385
-
386
317
  let pageIndex;
387
-
388
318
  let pageSize;
389
-
390
319
  if (showJobListByProjectIdRequest !== null && showJobListByProjectIdRequest !== undefined) {
391
- if (showJobListByProjectIdRequest instanceof ShowJobListByProjectIdRequest) {
320
+ if (showJobListByProjectIdRequest instanceof ShowJobListByProjectIdRequest_1.ShowJobListByProjectIdRequest) {
392
321
  projectId = showJobListByProjectIdRequest.projectId;
393
322
  pageIndex = showJobListByProjectIdRequest.pageIndex;
394
323
  pageSize = showJobListByProjectIdRequest.pageSize;
395
- } else {
324
+ }
325
+ else {
396
326
  projectId = showJobListByProjectIdRequest['project_id'];
397
327
  pageIndex = showJobListByProjectIdRequest['page_index'];
398
328
  pageSize = showJobListByProjectIdRequest['page_size'];
399
329
  }
400
330
  }
401
-
402
-
403
331
  if (projectId === null || projectId === undefined) {
404
- throw new RequiredError('projectId','Required parameter projectId was null or undefined when calling showJobListByProjectId.');
332
+ throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling showJobListByProjectId.');
405
333
  }
406
334
  if (pageIndex === null || pageIndex === undefined) {
407
- throw new RequiredError('pageIndex','Required parameter pageIndex was null or undefined when calling showJobListByProjectId.');
335
+ throw new RequiredError('pageIndex', 'Required parameter pageIndex was null or undefined when calling showJobListByProjectId.');
408
336
  }
409
337
  if (pageIndex !== null && pageIndex !== undefined) {
410
338
  localVarQueryParameter['page_index'] = pageIndex;
411
339
  }
412
340
  if (pageSize === null || pageSize === undefined) {
413
- throw new RequiredError('pageSize','Required parameter pageSize was null or undefined when calling showJobListByProjectId.');
341
+ throw new RequiredError('pageSize', 'Required parameter pageSize was null or undefined when calling showJobListByProjectId.');
414
342
  }
415
343
  if (pageSize !== null && pageSize !== undefined) {
416
344
  localVarQueryParameter['page_size'] = pageSize;
417
345
  }
418
-
419
346
  options.queryParams = localVarQueryParameter;
420
347
  options.pathParams = { 'project_id': projectId, };
421
348
  options.headers = localVarHeaderParameter;
422
349
  return options;
423
350
  },
424
-
425
351
  /**
426
352
  * 查看任务运行状态
427
- *
353
+ *
428
354
  * Please refer to HUAWEI cloud API Explorer for details.
429
355
  */
430
- showJobStatus(showJobStatusRequest?: ShowJobStatusRequest) {
356
+ showJobStatus(showJobStatusRequest) {
431
357
  const options = {
432
358
  method: "GET",
433
359
  url: "/v3/jobs/{job_id}/status",
@@ -436,35 +362,29 @@ export const ParamCreater = function () {
436
362
  pathParams: {},
437
363
  headers: {}
438
364
  };
439
- const localVarHeaderParameter = {} as any;
440
-
441
-
365
+ const localVarHeaderParameter = {};
442
366
  let jobId;
443
-
444
367
  if (showJobStatusRequest !== null && showJobStatusRequest !== undefined) {
445
- if (showJobStatusRequest instanceof ShowJobStatusRequest) {
368
+ if (showJobStatusRequest instanceof ShowJobStatusRequest_1.ShowJobStatusRequest) {
446
369
  jobId = showJobStatusRequest.jobId;
447
- } else {
370
+ }
371
+ else {
448
372
  jobId = showJobStatusRequest['job_id'];
449
373
  }
450
374
  }
451
-
452
-
453
375
  if (jobId === null || jobId === undefined) {
454
- throw new RequiredError('jobId','Required parameter jobId was null or undefined when calling showJobStatus.');
376
+ throw new RequiredError('jobId', 'Required parameter jobId was null or undefined when calling showJobStatus.');
455
377
  }
456
-
457
378
  options.pathParams = { 'job_id': jobId, };
458
379
  options.headers = localVarHeaderParameter;
459
380
  return options;
460
381
  },
461
-
462
382
  /**
463
383
  * 根据开始时间和结束时间查看构建任务的构建成功率
464
- *
384
+ *
465
385
  * Please refer to HUAWEI cloud API Explorer for details.
466
386
  */
467
- showJobSuccessRatio(showJobSuccessRatioRequest?: ShowJobSuccessRatioRequest) {
387
+ showJobSuccessRatio(showJobSuccessRatioRequest) {
468
388
  const options = {
469
389
  method: "GET",
470
390
  url: "/v3/jobs/{job_id}/success-ratio",
@@ -473,56 +393,49 @@ export const ParamCreater = function () {
473
393
  pathParams: {},
474
394
  headers: {}
475
395
  };
476
- const localVarHeaderParameter = {} as any;
477
- const localVarQueryParameter = {} as any;
478
-
396
+ const localVarHeaderParameter = {};
397
+ const localVarQueryParameter = {};
479
398
  let jobId;
480
-
481
399
  let startTime;
482
-
483
400
  let endTime;
484
-
485
401
  if (showJobSuccessRatioRequest !== null && showJobSuccessRatioRequest !== undefined) {
486
- if (showJobSuccessRatioRequest instanceof ShowJobSuccessRatioRequest) {
402
+ if (showJobSuccessRatioRequest instanceof ShowJobSuccessRatioRequest_1.ShowJobSuccessRatioRequest) {
487
403
  jobId = showJobSuccessRatioRequest.jobId;
488
404
  startTime = showJobSuccessRatioRequest.startTime;
489
405
  endTime = showJobSuccessRatioRequest.endTime;
490
- } else {
406
+ }
407
+ else {
491
408
  jobId = showJobSuccessRatioRequest['job_id'];
492
409
  startTime = showJobSuccessRatioRequest['start_time'];
493
410
  endTime = showJobSuccessRatioRequest['end_time'];
494
411
  }
495
412
  }
496
-
497
-
498
413
  if (jobId === null || jobId === undefined) {
499
- throw new RequiredError('jobId','Required parameter jobId was null or undefined when calling showJobSuccessRatio.');
414
+ throw new RequiredError('jobId', 'Required parameter jobId was null or undefined when calling showJobSuccessRatio.');
500
415
  }
501
416
  if (startTime === null || startTime === undefined) {
502
- throw new RequiredError('startTime','Required parameter startTime was null or undefined when calling showJobSuccessRatio.');
417
+ throw new RequiredError('startTime', 'Required parameter startTime was null or undefined when calling showJobSuccessRatio.');
503
418
  }
504
419
  if (startTime !== null && startTime !== undefined) {
505
420
  localVarQueryParameter['start_time'] = startTime;
506
421
  }
507
422
  if (endTime === null || endTime === undefined) {
508
- throw new RequiredError('endTime','Required parameter endTime was null or undefined when calling showJobSuccessRatio.');
423
+ throw new RequiredError('endTime', 'Required parameter endTime was null or undefined when calling showJobSuccessRatio.');
509
424
  }
510
425
  if (endTime !== null && endTime !== undefined) {
511
426
  localVarQueryParameter['end_time'] = endTime;
512
427
  }
513
-
514
428
  options.queryParams = localVarQueryParameter;
515
429
  options.pathParams = { 'job_id': jobId, };
516
430
  options.headers = localVarHeaderParameter;
517
431
  return options;
518
432
  },
519
-
520
433
  /**
521
434
  * 查询指定代码仓库最近一次成功的构建历史
522
- *
435
+ *
523
436
  * Please refer to HUAWEI cloud API Explorer for details.
524
437
  */
525
- showLastHistory(showLastHistoryRequest?: ShowLastHistoryRequest) {
438
+ showLastHistory(showLastHistoryRequest) {
526
439
  const options = {
527
440
  method: "GET",
528
441
  url: "/v3/jobs/{project_id}/last-history",
@@ -531,46 +444,40 @@ export const ParamCreater = function () {
531
444
  pathParams: {},
532
445
  headers: {}
533
446
  };
534
- const localVarHeaderParameter = {} as any;
535
- const localVarQueryParameter = {} as any;
536
-
447
+ const localVarHeaderParameter = {};
448
+ const localVarQueryParameter = {};
537
449
  let projectId;
538
-
539
450
  let repositoryName;
540
-
541
451
  if (showLastHistoryRequest !== null && showLastHistoryRequest !== undefined) {
542
- if (showLastHistoryRequest instanceof ShowLastHistoryRequest) {
452
+ if (showLastHistoryRequest instanceof ShowLastHistoryRequest_1.ShowLastHistoryRequest) {
543
453
  projectId = showLastHistoryRequest.projectId;
544
454
  repositoryName = showLastHistoryRequest.repositoryName;
545
- } else {
455
+ }
456
+ else {
546
457
  projectId = showLastHistoryRequest['project_id'];
547
458
  repositoryName = showLastHistoryRequest['repository_name'];
548
459
  }
549
460
  }
550
-
551
-
552
461
  if (projectId === null || projectId === undefined) {
553
- throw new RequiredError('projectId','Required parameter projectId was null or undefined when calling showLastHistory.');
462
+ throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling showLastHistory.');
554
463
  }
555
464
  if (repositoryName === null || repositoryName === undefined) {
556
- throw new RequiredError('repositoryName','Required parameter repositoryName was null or undefined when calling showLastHistory.');
465
+ throw new RequiredError('repositoryName', 'Required parameter repositoryName was null or undefined when calling showLastHistory.');
557
466
  }
558
467
  if (repositoryName !== null && repositoryName !== undefined) {
559
468
  localVarQueryParameter['repository_name'] = repositoryName;
560
469
  }
561
-
562
470
  options.queryParams = localVarQueryParameter;
563
471
  options.pathParams = { 'project_id': projectId, };
564
472
  options.headers = localVarHeaderParameter;
565
473
  return options;
566
474
  },
567
-
568
475
  /**
569
476
  * 查看构建任务的构建历史列表
570
- *
477
+ *
571
478
  * Please refer to HUAWEI cloud API Explorer for details.
572
479
  */
573
- showListHistory(showListHistoryRequest?: ShowListHistoryRequest) {
480
+ showListHistory(showListHistoryRequest) {
574
481
  const options = {
575
482
  method: "GET",
576
483
  url: "/v3/jobs/{job_id}/history",
@@ -579,66 +486,58 @@ export const ParamCreater = function () {
579
486
  pathParams: {},
580
487
  headers: {}
581
488
  };
582
- const localVarHeaderParameter = {} as any;
583
- const localVarQueryParameter = {} as any;
584
-
489
+ const localVarHeaderParameter = {};
490
+ const localVarQueryParameter = {};
585
491
  let jobId;
586
-
587
492
  let offset;
588
-
589
493
  let limit;
590
-
591
494
  let interval;
592
-
593
495
  if (showListHistoryRequest !== null && showListHistoryRequest !== undefined) {
594
- if (showListHistoryRequest instanceof ShowListHistoryRequest) {
496
+ if (showListHistoryRequest instanceof ShowListHistoryRequest_1.ShowListHistoryRequest) {
595
497
  jobId = showListHistoryRequest.jobId;
596
498
  offset = showListHistoryRequest.offset;
597
499
  limit = showListHistoryRequest.limit;
598
500
  interval = showListHistoryRequest.interval;
599
- } else {
501
+ }
502
+ else {
600
503
  jobId = showListHistoryRequest['job_id'];
601
504
  offset = showListHistoryRequest['offset'];
602
505
  limit = showListHistoryRequest['limit'];
603
506
  interval = showListHistoryRequest['interval'];
604
507
  }
605
508
  }
606
-
607
-
608
509
  if (jobId === null || jobId === undefined) {
609
- throw new RequiredError('jobId','Required parameter jobId was null or undefined when calling showListHistory.');
510
+ throw new RequiredError('jobId', 'Required parameter jobId was null or undefined when calling showListHistory.');
610
511
  }
611
512
  if (offset === null || offset === undefined) {
612
- throw new RequiredError('offset','Required parameter offset was null or undefined when calling showListHistory.');
513
+ throw new RequiredError('offset', 'Required parameter offset was null or undefined when calling showListHistory.');
613
514
  }
614
515
  if (offset !== null && offset !== undefined) {
615
516
  localVarQueryParameter['offset'] = offset;
616
517
  }
617
518
  if (limit === null || limit === undefined) {
618
- throw new RequiredError('limit','Required parameter limit was null or undefined when calling showListHistory.');
519
+ throw new RequiredError('limit', 'Required parameter limit was null or undefined when calling showListHistory.');
619
520
  }
620
521
  if (limit !== null && limit !== undefined) {
621
522
  localVarQueryParameter['limit'] = limit;
622
523
  }
623
524
  if (interval === null || interval === undefined) {
624
- throw new RequiredError('interval','Required parameter interval was null or undefined when calling showListHistory.');
525
+ throw new RequiredError('interval', 'Required parameter interval was null or undefined when calling showListHistory.');
625
526
  }
626
527
  if (interval !== null && interval !== undefined) {
627
528
  localVarQueryParameter['interval'] = interval;
628
529
  }
629
-
630
530
  options.queryParams = localVarQueryParameter;
631
531
  options.pathParams = { 'job_id': jobId, };
632
532
  options.headers = localVarHeaderParameter;
633
533
  return options;
634
534
  },
635
-
636
535
  /**
637
536
  * 根据开始时间和结束时间查看构建任务的构建历史列表
638
- *
537
+ *
639
538
  * Please refer to HUAWEI cloud API Explorer for details.
640
539
  */
641
- showListPeriodHistory(showListPeriodHistoryRequest?: ShowListPeriodHistoryRequest) {
540
+ showListPeriodHistory(showListPeriodHistoryRequest) {
642
541
  const options = {
643
542
  method: "GET",
644
543
  url: "/v3/jobs/{job_id}/period-history",
@@ -647,27 +546,22 @@ export const ParamCreater = function () {
647
546
  pathParams: {},
648
547
  headers: {}
649
548
  };
650
- const localVarHeaderParameter = {} as any;
651
- const localVarQueryParameter = {} as any;
652
-
549
+ const localVarHeaderParameter = {};
550
+ const localVarQueryParameter = {};
653
551
  let jobId;
654
-
655
552
  let offset;
656
-
657
553
  let limit;
658
-
659
554
  let startTime;
660
-
661
555
  let endTime;
662
-
663
556
  if (showListPeriodHistoryRequest !== null && showListPeriodHistoryRequest !== undefined) {
664
- if (showListPeriodHistoryRequest instanceof ShowListPeriodHistoryRequest) {
557
+ if (showListPeriodHistoryRequest instanceof ShowListPeriodHistoryRequest_1.ShowListPeriodHistoryRequest) {
665
558
  jobId = showListPeriodHistoryRequest.jobId;
666
559
  offset = showListPeriodHistoryRequest.offset;
667
560
  limit = showListPeriodHistoryRequest.limit;
668
561
  startTime = showListPeriodHistoryRequest.startTime;
669
562
  endTime = showListPeriodHistoryRequest.endTime;
670
- } else {
563
+ }
564
+ else {
671
565
  jobId = showListPeriodHistoryRequest['job_id'];
672
566
  offset = showListPeriodHistoryRequest['offset'];
673
567
  limit = showListPeriodHistoryRequest['limit'];
@@ -675,58 +569,56 @@ export const ParamCreater = function () {
675
569
  endTime = showListPeriodHistoryRequest['end_time'];
676
570
  }
677
571
  }
678
-
679
-
680
572
  if (jobId === null || jobId === undefined) {
681
- throw new RequiredError('jobId','Required parameter jobId was null or undefined when calling showListPeriodHistory.');
573
+ throw new RequiredError('jobId', 'Required parameter jobId was null or undefined when calling showListPeriodHistory.');
682
574
  }
683
575
  if (offset === null || offset === undefined) {
684
- throw new RequiredError('offset','Required parameter offset was null or undefined when calling showListPeriodHistory.');
576
+ throw new RequiredError('offset', 'Required parameter offset was null or undefined when calling showListPeriodHistory.');
685
577
  }
686
578
  if (offset !== null && offset !== undefined) {
687
579
  localVarQueryParameter['offset'] = offset;
688
580
  }
689
581
  if (limit === null || limit === undefined) {
690
- throw new RequiredError('limit','Required parameter limit was null or undefined when calling showListPeriodHistory.');
582
+ throw new RequiredError('limit', 'Required parameter limit was null or undefined when calling showListPeriodHistory.');
691
583
  }
692
584
  if (limit !== null && limit !== undefined) {
693
585
  localVarQueryParameter['limit'] = limit;
694
586
  }
695
587
  if (startTime === null || startTime === undefined) {
696
- throw new RequiredError('startTime','Required parameter startTime was null or undefined when calling showListPeriodHistory.');
588
+ throw new RequiredError('startTime', 'Required parameter startTime was null or undefined when calling showListPeriodHistory.');
697
589
  }
698
590
  if (startTime !== null && startTime !== undefined) {
699
591
  localVarQueryParameter['start_time'] = startTime;
700
592
  }
701
593
  if (endTime === null || endTime === undefined) {
702
- throw new RequiredError('endTime','Required parameter endTime was null or undefined when calling showListPeriodHistory.');
594
+ throw new RequiredError('endTime', 'Required parameter endTime was null or undefined when calling showListPeriodHistory.');
703
595
  }
704
596
  if (endTime !== null && endTime !== undefined) {
705
597
  localVarQueryParameter['end_time'] = endTime;
706
598
  }
707
-
708
599
  options.queryParams = localVarQueryParameter;
709
600
  options.pathParams = { 'job_id': jobId, };
710
601
  options.headers = localVarHeaderParameter;
711
602
  return options;
712
603
  },
713
-
714
- }
604
+ };
715
605
  };
716
-
717
- function newClient(client: HcClient): CodeArtsBuildClient {
606
+ exports.ParamCreater = ParamCreater;
607
+ function newClient(client) {
718
608
  return new CodeArtsBuildClient(client);
719
609
  }
720
-
721
610
  /**
722
611
  *
723
612
  * @export
724
613
  * @class RequiredError
725
614
  * @extends {Error}
726
615
  */
727
- export class RequiredError extends Error {
728
- name: "RequiredError" = "RequiredError";
729
- constructor(public field: string, msg?: string) {
616
+ class RequiredError extends Error {
617
+ constructor(field, msg) {
730
618
  super(msg);
619
+ this.field = field;
620
+ this.name = "RequiredError";
731
621
  }
732
- }
622
+ }
623
+ exports.RequiredError = RequiredError;
624
+ //# sourceMappingURL=CodeArtsBuildClient.js.map