@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.
- package/huaweicloud-sdk-codeartsbuild.d.ts +3 -0
- package/huaweicloud-sdk-codeartsbuild.d.ts.map +1 -0
- package/huaweicloud-sdk-codeartsbuild.js +32 -0
- package/huaweicloud-sdk-codeartsbuild.js.map +1 -0
- package/package.json +8 -4
- package/v3/CodeArtsBuildClient.d.ts +271 -0
- package/v3/CodeArtsBuildClient.d.ts.map +1 -0
- package/v3/{CodeArtsBuildClient.ts → CodeArtsBuildClient.js} +152 -260
- package/v3/CodeArtsBuildClient.js.map +1 -0
- package/v3/CodeArtsBuildRegion.d.ts +16 -0
- package/v3/CodeArtsBuildRegion.d.ts.map +1 -0
- package/v3/CodeArtsBuildRegion.js +40 -0
- package/v3/CodeArtsBuildRegion.js.map +1 -0
- package/v3/model/BuildStep.d.ts +12 -0
- package/v3/model/BuildStep.d.ts.map +1 -0
- package/v3/model/BuildStep.js +27 -0
- package/v3/model/BuildStep.js.map +1 -0
- package/v3/model/DownloadKeystoreRequest.d.ts +12 -0
- package/v3/model/DownloadKeystoreRequest.d.ts.map +1 -0
- package/v3/model/DownloadKeystoreRequest.js +31 -0
- package/v3/model/DownloadKeystoreRequest.js.map +1 -0
- package/v3/model/DownloadKeystoreResponse.d.ts +5 -0
- package/v3/model/DownloadKeystoreResponse.d.ts.map +1 -0
- package/v3/model/DownloadKeystoreResponse.js +11 -0
- package/v3/model/DownloadKeystoreResponse.js.map +1 -0
- package/v3/model/HistoryRecord.d.ts +26 -0
- package/v3/model/HistoryRecord.d.ts.map +1 -0
- package/v3/model/HistoryRecord.js +63 -0
- package/v3/model/HistoryRecord.js.map +1 -0
- package/v3/model/HistoryRecord1.d.ts +42 -0
- package/v3/model/HistoryRecord1.d.ts.map +1 -0
- package/v3/model/HistoryRecord1.js +101 -0
- package/v3/model/HistoryRecord1.js.map +1 -0
- package/v3/model/Job.d.ts +66 -0
- package/v3/model/Job.d.ts.map +1 -0
- package/v3/model/Job.js +161 -0
- package/v3/model/Job.js.map +1 -0
- package/v3/model/ParameterItem.d.ts +8 -0
- package/v3/model/ParameterItem.d.ts.map +1 -0
- package/v3/model/ParameterItem.js +19 -0
- package/v3/model/ParameterItem.js.map +1 -0
- package/v3/model/RunJobRequest.d.ts +7 -0
- package/v3/model/RunJobRequest.d.ts.map +1 -0
- package/v3/model/RunJobRequest.js +13 -0
- package/v3/model/RunJobRequest.js.map +1 -0
- package/v3/model/RunJobRequestBody.d.ts +14 -0
- package/v3/model/RunJobRequestBody.d.ts.map +1 -0
- package/v3/model/RunJobRequestBody.js +28 -0
- package/v3/model/RunJobRequestBody.js.map +1 -0
- package/v3/model/RunJobResponse.d.ts +17 -0
- package/v3/model/RunJobResponse.d.ts.map +1 -0
- package/v3/model/RunJobResponse.js +41 -0
- package/v3/model/RunJobResponse.js.map +1 -0
- package/v3/model/Scm.d.ts +12 -0
- package/v3/model/Scm.d.ts.map +1 -0
- package/v3/model/Scm.js +29 -0
- package/v3/model/Scm.js.map +1 -0
- package/v3/model/ShowHistoryDetailsRequest.d.ts +12 -0
- package/v3/model/ShowHistoryDetailsRequest.d.ts.map +1 -0
- package/v3/model/ShowHistoryDetailsRequest.js +31 -0
- package/v3/model/ShowHistoryDetailsRequest.js.map +1 -0
- package/v3/model/ShowHistoryDetailsResponse.d.ts +32 -0
- package/v3/model/ShowHistoryDetailsResponse.d.ts.map +1 -0
- package/v3/model/ShowHistoryDetailsResponse.js +65 -0
- package/v3/model/ShowHistoryDetailsResponse.js.map +1 -0
- package/v3/model/ShowJobListByProjectIdRequest.d.ts +16 -0
- package/v3/model/ShowJobListByProjectIdRequest.d.ts.map +1 -0
- package/v3/model/ShowJobListByProjectIdRequest.js +42 -0
- package/v3/model/ShowJobListByProjectIdRequest.js.map +1 -0
- package/v3/model/ShowJobListByProjectIdResponse.d.ts +10 -0
- package/v3/model/ShowJobListByProjectIdResponse.d.ts.map +1 -0
- package/v3/model/ShowJobListByProjectIdResponse.js +19 -0
- package/v3/model/ShowJobListByProjectIdResponse.js.map +1 -0
- package/v3/model/ShowJobStatusRequest.d.ts +8 -0
- package/v3/model/ShowJobStatusRequest.d.ts.map +1 -0
- package/v3/model/ShowJobStatusRequest.js +20 -0
- package/v3/model/ShowJobStatusRequest.js.map +1 -0
- package/v3/model/ShowJobStatusResponse.d.ts +7 -0
- package/v3/model/ShowJobStatusResponse.d.ts.map +1 -0
- package/v3/model/ShowJobStatusResponse.js +15 -0
- package/v3/model/ShowJobStatusResponse.js.map +1 -0
- package/v3/model/ShowJobSuccessRatioRequest.d.ts +16 -0
- package/v3/model/ShowJobSuccessRatioRequest.d.ts.map +1 -0
- package/v3/model/ShowJobSuccessRatioRequest.js +42 -0
- package/v3/model/ShowJobSuccessRatioRequest.js.map +1 -0
- package/v3/model/ShowJobSuccessRatioResponse.d.ts +17 -0
- package/v3/model/ShowJobSuccessRatioResponse.d.ts.map +1 -0
- package/v3/model/ShowJobSuccessRatioResponse.js +41 -0
- package/v3/model/ShowJobSuccessRatioResponse.js.map +1 -0
- package/v3/model/ShowLastHistoryRequest.d.ts +12 -0
- package/v3/model/ShowLastHistoryRequest.d.ts.map +1 -0
- package/v3/model/ShowLastHistoryRequest.js +31 -0
- package/v3/model/ShowLastHistoryRequest.js.map +1 -0
- package/v3/model/ShowLastHistoryResponse.d.ts +35 -0
- package/v3/model/ShowLastHistoryResponse.d.ts.map +1 -0
- package/v3/model/ShowLastHistoryResponse.js +85 -0
- package/v3/model/ShowLastHistoryResponse.js.map +1 -0
- package/v3/model/ShowListHistoryRequest.d.ts +14 -0
- package/v3/model/ShowListHistoryRequest.d.ts.map +1 -0
- package/v3/model/ShowListHistoryRequest.js +35 -0
- package/v3/model/ShowListHistoryRequest.js.map +1 -0
- package/v3/model/ShowListHistoryResponse.d.ts +12 -0
- package/v3/model/ShowListHistoryResponse.d.ts.map +1 -0
- package/v3/model/ShowListHistoryResponse.js +25 -0
- package/v3/model/ShowListHistoryResponse.js.map +1 -0
- package/v3/model/ShowListPeriodHistoryRequest.d.ts +20 -0
- package/v3/model/ShowListPeriodHistoryRequest.d.ts.map +1 -0
- package/v3/model/ShowListPeriodHistoryRequest.js +52 -0
- package/v3/model/ShowListPeriodHistoryRequest.js.map +1 -0
- package/v3/model/ShowListPeriodHistoryResponse.d.ts +12 -0
- package/v3/model/ShowListPeriodHistoryResponse.d.ts.map +1 -0
- package/v3/model/ShowListPeriodHistoryResponse.js +25 -0
- package/v3/model/ShowListPeriodHistoryResponse.js.map +1 -0
- package/v3/{public-api.ts → public-api.d.ts} +1 -1
- package/v3/public-api.d.ts.map +1 -0
- package/v3/public-api.js +44 -0
- package/v3/public-api.js.map +1 -0
- package/huaweicloud-sdk-codeartsbuild.ts +0 -4
- package/v3/CodeArtsBuildRegion.ts +0 -44
- package/v3/model/BuildStep.ts +0 -27
- package/v3/model/DownloadKeystoreRequest.ts +0 -30
- package/v3/model/DownloadKeystoreResponse.ts +0 -8
- package/v3/model/HistoryRecord.ts +0 -66
- package/v3/model/HistoryRecord1.ts +0 -109
- package/v3/model/Job.ts +0 -175
- package/v3/model/ParameterItem.ts +0 -18
- package/v3/model/RunJobRequest.ts +0 -12
- package/v3/model/RunJobRequestBody.ts +0 -30
- package/v3/model/RunJobResponse.ts +0 -41
- package/v3/model/Scm.ts +0 -28
- package/v3/model/ShowHistoryDetailsRequest.ts +0 -30
- package/v3/model/ShowHistoryDetailsResponse.ts +0 -69
- package/v3/model/ShowJobListByProjectIdRequest.ts +0 -42
- package/v3/model/ShowJobListByProjectIdResponse.ts +0 -19
- package/v3/model/ShowJobStatusRequest.ts +0 -18
- package/v3/model/ShowJobStatusResponse.ts +0 -13
- package/v3/model/ShowJobSuccessRatioRequest.ts +0 -42
- package/v3/model/ShowJobSuccessRatioResponse.ts +0 -41
- package/v3/model/ShowLastHistoryRequest.ts +0 -30
- package/v3/model/ShowLastHistoryResponse.ts +0 -90
- package/v3/model/ShowListHistoryRequest.ts +0 -36
- package/v3/model/ShowListHistoryResponse.ts +0 -25
- package/v3/model/ShowListPeriodHistoryRequest.ts +0 -54
- package/v3/model/ShowListPeriodHistoryResponse.ts +0 -25
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"huaweicloud-sdk-codeartsbuild.d.ts","sourceRoot":"","sources":["../../../services/codeartsbuild/huaweicloud-sdk-codeartsbuild.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,OAAO,KAAK,EAAE,MAAO,iBAAiB,CAAC"}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
15
|
+
}) : function(o, v) {
|
16
|
+
o["default"] = v;
|
17
|
+
});
|
18
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
19
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
20
|
+
};
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.v3 = void 0;
|
30
|
+
__exportStar(require("./v3/public-api"), exports);
|
31
|
+
exports.v3 = __importStar(require("./v3/public-api"));
|
32
|
+
//# sourceMappingURL=huaweicloud-sdk-codeartsbuild.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"huaweicloud-sdk-codeartsbuild.js","sourceRoot":"","sources":["../../../services/codeartsbuild/huaweicloud-sdk-codeartsbuild.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,sDAAuC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@huaweicloud/huaweicloud-sdk-codeartsbuild",
|
3
|
-
"version": "3.1.
|
3
|
+
"version": "3.1.48",
|
4
4
|
"description": "Huaweicloud SDK for codeartsbuild",
|
5
5
|
"main": "huaweicloud-sdk-codeartsbuild.js",
|
6
6
|
"typings": "huaweicloud-sdk-codeartsbuild.d.ts",
|
@@ -9,11 +9,15 @@
|
|
9
9
|
},
|
10
10
|
"repository": {
|
11
11
|
"type": "git",
|
12
|
-
"url": "https://github.com/huaweicloud
|
12
|
+
"url": "https://github.com/huaweicloud/huaweicloud-sdk-nodejs-v3"
|
13
13
|
},
|
14
14
|
"author": "HuaweiCloud_SDK",
|
15
15
|
"license": "Apache-2.0",
|
16
16
|
"dependencies": {
|
17
|
-
"@huaweicloud/huaweicloud-sdk-core": "^3.1.
|
17
|
+
"@huaweicloud/huaweicloud-sdk-core": "^3.1.48"
|
18
|
+
},
|
19
|
+
"devDependencies": {
|
20
|
+
"@types/node": "^14.14.37",
|
21
|
+
"typescript": "^4.9.5"
|
18
22
|
}
|
19
|
-
}
|
23
|
+
}
|
@@ -0,0 +1,271 @@
|
|
1
|
+
import { HcClient } from "@huaweicloud/huaweicloud-sdk-core/HcClient";
|
2
|
+
import { ClientBuilder } from "@huaweicloud/huaweicloud-sdk-core/ClientBuilder";
|
3
|
+
import { DownloadKeystoreRequest } from './model/DownloadKeystoreRequest';
|
4
|
+
import { DownloadKeystoreResponse } from './model/DownloadKeystoreResponse';
|
5
|
+
import { RunJobRequest } from './model/RunJobRequest';
|
6
|
+
import { RunJobResponse } from './model/RunJobResponse';
|
7
|
+
import { ShowHistoryDetailsRequest } from './model/ShowHistoryDetailsRequest';
|
8
|
+
import { ShowHistoryDetailsResponse } from './model/ShowHistoryDetailsResponse';
|
9
|
+
import { ShowJobListByProjectIdRequest } from './model/ShowJobListByProjectIdRequest';
|
10
|
+
import { ShowJobListByProjectIdResponse } from './model/ShowJobListByProjectIdResponse';
|
11
|
+
import { ShowJobStatusRequest } from './model/ShowJobStatusRequest';
|
12
|
+
import { ShowJobStatusResponse } from './model/ShowJobStatusResponse';
|
13
|
+
import { ShowJobSuccessRatioRequest } from './model/ShowJobSuccessRatioRequest';
|
14
|
+
import { ShowJobSuccessRatioResponse } from './model/ShowJobSuccessRatioResponse';
|
15
|
+
import { ShowLastHistoryRequest } from './model/ShowLastHistoryRequest';
|
16
|
+
import { ShowLastHistoryResponse } from './model/ShowLastHistoryResponse';
|
17
|
+
import { ShowListHistoryRequest } from './model/ShowListHistoryRequest';
|
18
|
+
import { ShowListHistoryResponse } from './model/ShowListHistoryResponse';
|
19
|
+
import { ShowListPeriodHistoryRequest } from './model/ShowListPeriodHistoryRequest';
|
20
|
+
import { ShowListPeriodHistoryResponse } from './model/ShowListPeriodHistoryResponse';
|
21
|
+
export declare class CodeArtsBuildClient {
|
22
|
+
static newBuilder(): ClientBuilder<CodeArtsBuildClient>;
|
23
|
+
private hcClient;
|
24
|
+
constructor(client: HcClient);
|
25
|
+
getPath(): string;
|
26
|
+
/**
|
27
|
+
* 下载指定租户下的KeyStore文件
|
28
|
+
*
|
29
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
30
|
+
*
|
31
|
+
* @summary KeyStore文件下载
|
32
|
+
* @param {string} fileName 下载的文件名称
|
33
|
+
* @param {string} domainId 租户ID。32位数字、小写字母组合
|
34
|
+
* @param {*} [options] Override http request option.
|
35
|
+
* @throws {RequiredError}
|
36
|
+
*/
|
37
|
+
downloadKeystore(downloadKeystoreRequest?: DownloadKeystoreRequest): Promise<DownloadKeystoreResponse>;
|
38
|
+
/**
|
39
|
+
* 执行构建任务,可传自定义参数。
|
40
|
+
*
|
41
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
42
|
+
*
|
43
|
+
* @summary 执行构建任务
|
44
|
+
* @param {RunJobRequestBody} runJobRequestBody body
|
45
|
+
* @param {*} [options] Override http request option.
|
46
|
+
* @throws {RequiredError}
|
47
|
+
*/
|
48
|
+
runJob(runJobRequest?: RunJobRequest): Promise<RunJobResponse>;
|
49
|
+
/**
|
50
|
+
* 获取构建历史详情信息接口
|
51
|
+
*
|
52
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
53
|
+
*
|
54
|
+
* @summary 获取构建历史详情信息接口
|
55
|
+
* @param {string} jobId 构建的任务ID [获取项目下构建任务列表](https://support.huaweicloud.com/api-codeci/ShowJobListByProjectId.html); 编辑构建任务时,浏览器URL末尾的32位数字、字母组合的字符串。
|
56
|
+
* @param {number} buildNumber 构建任务的构建编号,从1开始,每次构建递增1
|
57
|
+
* @param {*} [options] Override http request option.
|
58
|
+
* @throws {RequiredError}
|
59
|
+
*/
|
60
|
+
showHistoryDetails(showHistoryDetailsRequest?: ShowHistoryDetailsRequest): Promise<ShowHistoryDetailsResponse>;
|
61
|
+
/**
|
62
|
+
* 查看项目下用户的构建任务列表
|
63
|
+
*
|
64
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
65
|
+
*
|
66
|
+
* @summary 查看项目下用户的构建任务列表
|
67
|
+
* @param {string} projectId CodeArts项目ID,32位数字、小写字母组合。[查询项目列表](https://support.huaweicloud.com/api-projectman/ListProjectsV4.html)
|
68
|
+
* @param {number} pageIndex 分页页码, 表示从此页开始查询, page_index大于等于0
|
69
|
+
* @param {number} pageSize 每页显示的条目数量,page_size小于等于100
|
70
|
+
* @param {*} [options] Override http request option.
|
71
|
+
* @throws {RequiredError}
|
72
|
+
*/
|
73
|
+
showJobListByProjectId(showJobListByProjectIdRequest?: ShowJobListByProjectIdRequest): Promise<ShowJobListByProjectIdResponse>;
|
74
|
+
/**
|
75
|
+
* 查看任务运行状态
|
76
|
+
*
|
77
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
78
|
+
*
|
79
|
+
* @summary 查看任务运行状态
|
80
|
+
* @param {string} jobId 构建的任务ID [获取项目下构建任务列表](https://support.huaweicloud.com/api-codeci/ShowJobListByProjectId.html); 编辑构建任务时,浏览器URL末尾的32位数字、字母组合的字符串。
|
81
|
+
* @param {*} [options] Override http request option.
|
82
|
+
* @throws {RequiredError}
|
83
|
+
*/
|
84
|
+
showJobStatus(showJobStatusRequest?: ShowJobStatusRequest): Promise<ShowJobStatusResponse>;
|
85
|
+
/**
|
86
|
+
* 根据开始时间和结束时间查看构建任务的构建成功率
|
87
|
+
*
|
88
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
89
|
+
*
|
90
|
+
* @summary 根据开始时间和结束时间查看构建任务的构建成功率
|
91
|
+
* @param {string} jobId 构建的任务ID [获取项目下构建任务列表](https://support.huaweicloud.com/api-codeci/ShowJobListByProjectId.html); 编辑构建任务时,浏览器URL末尾的32位数字、字母组合的字符串。
|
92
|
+
* @param {string} startTime 区间开始时间,格式yyyy-MM-dd。
|
93
|
+
* @param {string} endTime 区间结束时间,格式yyyy-MM-dd。
|
94
|
+
* @param {*} [options] Override http request option.
|
95
|
+
* @throws {RequiredError}
|
96
|
+
*/
|
97
|
+
showJobSuccessRatio(showJobSuccessRatioRequest?: ShowJobSuccessRatioRequest): Promise<ShowJobSuccessRatioResponse>;
|
98
|
+
/**
|
99
|
+
* 查询指定代码仓库最近一次成功的构建历史
|
100
|
+
*
|
101
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
102
|
+
*
|
103
|
+
* @summary 查询指定代码仓库最近一次成功的构建历史
|
104
|
+
* @param {string} projectId CodeArts项目ID,32位数字、小写字母组合。[查询项目列表](https://support.huaweicloud.com/api-projectman/ListProjectsV4.html)
|
105
|
+
* @param {string} repositoryName 代码仓库名,不支持中文
|
106
|
+
* @param {*} [options] Override http request option.
|
107
|
+
* @throws {RequiredError}
|
108
|
+
*/
|
109
|
+
showLastHistory(showLastHistoryRequest?: ShowLastHistoryRequest): Promise<ShowLastHistoryResponse>;
|
110
|
+
/**
|
111
|
+
* 查看构建任务的构建历史列表
|
112
|
+
*
|
113
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
114
|
+
*
|
115
|
+
* @summary 查看构建任务的构建历史列表
|
116
|
+
* @param {string} jobId 构建的任务ID [获取项目下构建任务列表](https://support.huaweicloud.com/api-codeci/ShowJobListByProjectId.html); 编辑构建任务时,浏览器URL末尾的32位数字、字母组合的字符串。
|
117
|
+
* @param {number} offset 分页页码, 表示从此页开始查询, offset大于等于0
|
118
|
+
* @param {number} limit 每页显示的条目数量,limit小于等于100
|
119
|
+
* @param {number} interval 距今天的时间区间(单位:天),interval小于等于30
|
120
|
+
* @param {*} [options] Override http request option.
|
121
|
+
* @throws {RequiredError}
|
122
|
+
*/
|
123
|
+
showListHistory(showListHistoryRequest?: ShowListHistoryRequest): Promise<ShowListHistoryResponse>;
|
124
|
+
/**
|
125
|
+
* 根据开始时间和结束时间查看构建任务的构建历史列表
|
126
|
+
*
|
127
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
128
|
+
*
|
129
|
+
* @summary 根据开始时间和结束时间查看构建任务的构建历史列表
|
130
|
+
* @param {string} jobId 构建的任务ID [获取项目下构建任务列表](https://support.huaweicloud.com/api-codeci/ShowJobListByProjectId.html); 编辑构建任务时,浏览器URL末尾的32位数字、字母组合的字符串。
|
131
|
+
* @param {number} offset 分页页码, 表示从此页开始查询, offset大于等于0
|
132
|
+
* @param {number} limit 每页显示的条目数量,limit小于等于100
|
133
|
+
* @param {string} startTime 区间开始时间,格式yyyy-MM-dd。 开始时间和结束时间间隔不能超过30天
|
134
|
+
* @param {string} endTime 区间结束时间,格式yyyy-MM-dd。 开始时间和结束时间间隔不能超过30天
|
135
|
+
* @param {*} [options] Override http request option.
|
136
|
+
* @throws {RequiredError}
|
137
|
+
*/
|
138
|
+
showListPeriodHistory(showListPeriodHistoryRequest?: ShowListPeriodHistoryRequest): Promise<ShowListPeriodHistoryResponse>;
|
139
|
+
}
|
140
|
+
export declare const ParamCreater: () => {
|
141
|
+
/**
|
142
|
+
* 下载指定租户下的KeyStore文件
|
143
|
+
*
|
144
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
145
|
+
*/
|
146
|
+
downloadKeystore(downloadKeystoreRequest?: DownloadKeystoreRequest): {
|
147
|
+
method: string;
|
148
|
+
url: string;
|
149
|
+
contentType: string;
|
150
|
+
queryParams: {};
|
151
|
+
pathParams: {};
|
152
|
+
headers: {};
|
153
|
+
};
|
154
|
+
/**
|
155
|
+
* 执行构建任务,可传自定义参数。
|
156
|
+
*
|
157
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
158
|
+
*/
|
159
|
+
runJob(runJobRequest?: RunJobRequest): {
|
160
|
+
method: string;
|
161
|
+
url: string;
|
162
|
+
contentType: string;
|
163
|
+
queryParams: {};
|
164
|
+
pathParams: {};
|
165
|
+
headers: {};
|
166
|
+
data: {};
|
167
|
+
};
|
168
|
+
/**
|
169
|
+
* 获取构建历史详情信息接口
|
170
|
+
*
|
171
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
172
|
+
*/
|
173
|
+
showHistoryDetails(showHistoryDetailsRequest?: ShowHistoryDetailsRequest): {
|
174
|
+
method: string;
|
175
|
+
url: string;
|
176
|
+
contentType: string;
|
177
|
+
queryParams: {};
|
178
|
+
pathParams: {};
|
179
|
+
headers: {};
|
180
|
+
};
|
181
|
+
/**
|
182
|
+
* 查看项目下用户的构建任务列表
|
183
|
+
*
|
184
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
185
|
+
*/
|
186
|
+
showJobListByProjectId(showJobListByProjectIdRequest?: ShowJobListByProjectIdRequest): {
|
187
|
+
method: string;
|
188
|
+
url: string;
|
189
|
+
contentType: string;
|
190
|
+
queryParams: {};
|
191
|
+
pathParams: {};
|
192
|
+
headers: {};
|
193
|
+
};
|
194
|
+
/**
|
195
|
+
* 查看任务运行状态
|
196
|
+
*
|
197
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
198
|
+
*/
|
199
|
+
showJobStatus(showJobStatusRequest?: ShowJobStatusRequest): {
|
200
|
+
method: string;
|
201
|
+
url: string;
|
202
|
+
contentType: string;
|
203
|
+
queryParams: {};
|
204
|
+
pathParams: {};
|
205
|
+
headers: {};
|
206
|
+
};
|
207
|
+
/**
|
208
|
+
* 根据开始时间和结束时间查看构建任务的构建成功率
|
209
|
+
*
|
210
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
211
|
+
*/
|
212
|
+
showJobSuccessRatio(showJobSuccessRatioRequest?: ShowJobSuccessRatioRequest): {
|
213
|
+
method: string;
|
214
|
+
url: string;
|
215
|
+
contentType: string;
|
216
|
+
queryParams: {};
|
217
|
+
pathParams: {};
|
218
|
+
headers: {};
|
219
|
+
};
|
220
|
+
/**
|
221
|
+
* 查询指定代码仓库最近一次成功的构建历史
|
222
|
+
*
|
223
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
224
|
+
*/
|
225
|
+
showLastHistory(showLastHistoryRequest?: ShowLastHistoryRequest): {
|
226
|
+
method: string;
|
227
|
+
url: string;
|
228
|
+
contentType: string;
|
229
|
+
queryParams: {};
|
230
|
+
pathParams: {};
|
231
|
+
headers: {};
|
232
|
+
};
|
233
|
+
/**
|
234
|
+
* 查看构建任务的构建历史列表
|
235
|
+
*
|
236
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
237
|
+
*/
|
238
|
+
showListHistory(showListHistoryRequest?: ShowListHistoryRequest): {
|
239
|
+
method: string;
|
240
|
+
url: string;
|
241
|
+
contentType: string;
|
242
|
+
queryParams: {};
|
243
|
+
pathParams: {};
|
244
|
+
headers: {};
|
245
|
+
};
|
246
|
+
/**
|
247
|
+
* 根据开始时间和结束时间查看构建任务的构建历史列表
|
248
|
+
*
|
249
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
250
|
+
*/
|
251
|
+
showListPeriodHistory(showListPeriodHistoryRequest?: ShowListPeriodHistoryRequest): {
|
252
|
+
method: string;
|
253
|
+
url: string;
|
254
|
+
contentType: string;
|
255
|
+
queryParams: {};
|
256
|
+
pathParams: {};
|
257
|
+
headers: {};
|
258
|
+
};
|
259
|
+
};
|
260
|
+
/**
|
261
|
+
*
|
262
|
+
* @export
|
263
|
+
* @class RequiredError
|
264
|
+
* @extends {Error}
|
265
|
+
*/
|
266
|
+
export declare class RequiredError extends Error {
|
267
|
+
field: string;
|
268
|
+
name: "RequiredError";
|
269
|
+
constructor(field: string, msg?: string);
|
270
|
+
}
|
271
|
+
//# sourceMappingURL=CodeArtsBuildClient.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"CodeArtsBuildClient.d.ts","sourceRoot":"","sources":["../../../../services/codeartsbuild/v3/CodeArtsBuildClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,4CAA4C,CAAC;AACtE,OAAO,EAAE,aAAa,EAAE,MAAM,iDAAiD,CAAC;AAIhF,OAAO,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAC1E,OAAO,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AAK5E,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAEtD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAExD,OAAO,EAAE,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AAC9E,OAAO,EAAE,0BAA0B,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,EAAE,6BAA6B,EAAE,MAAM,uC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