@huaweicloud/huaweicloud-sdk-devstar 3.0.29-beta → 3.0.32-rc

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@huaweicloud/huaweicloud-sdk-devstar",
3
- "version": "3.0.29-beta",
3
+ "version": "3.0.32-rc",
4
4
  "description": "Huaweicloud SDK for devstar",
5
5
  "main": "huaweicloud-sdk-devstar.js",
6
6
  "typings": "huaweicloud-sdk-devstar.d.ts",
@@ -14,6 +14,6 @@
14
14
  "author": "HuaweiCloud_SDK",
15
15
  "license": "Apache-2.0",
16
16
  "dependencies": {
17
- "@huaweicloud/huaweicloud-sdk-core": "^3.0.29-beta"
17
+ "@huaweicloud/huaweicloud-sdk-core": "^3.0.32-rc"
18
18
  }
19
19
  }
@@ -18,6 +18,8 @@ import { ListPublishedTemplatesRequest } from './model/ListPublishedTemplatesReq
18
18
  import { ListPublishedTemplatesResponse } from './model/ListPublishedTemplatesResponse';
19
19
  import { ListTemplateViewHistoriesRequest } from './model/ListTemplateViewHistoriesRequest';
20
20
  import { ListTemplateViewHistoriesResponse } from './model/ListTemplateViewHistoriesResponse';
21
+ import { ListTemplatesRequest } from './model/ListTemplatesRequest';
22
+ import { ListTemplatesResponse } from './model/ListTemplatesResponse';
21
23
  import { ListTemplatesV2Request } from './model/ListTemplatesV2Request';
22
24
  import { ListTemplatesV2Response } from './model/ListTemplatesV2Response';
23
25
  import { RunCodehubTemplateJobRequest } from './model/RunCodehubTemplateJobRequest';
@@ -38,6 +40,8 @@ import { ShowJobDetailRequest } from './model/ShowJobDetailRequest';
38
40
  import { ShowJobDetailResponse } from './model/ShowJobDetailResponse';
39
41
  import { ShowPipelineLastStatusV2Request } from './model/ShowPipelineLastStatusV2Request';
40
42
  import { ShowPipelineLastStatusV2Response } from './model/ShowPipelineLastStatusV2Response';
43
+ import { ShowRepositoryByCloudIdeRequest } from './model/ShowRepositoryByCloudIdeRequest';
44
+ import { ShowRepositoryByCloudIdeResponse } from './model/ShowRepositoryByCloudIdeResponse';
41
45
  import { ShowRepositoryStatisticalDataV2Request } from './model/ShowRepositoryStatisticalDataV2Request';
42
46
  import { ShowRepositoryStatisticalDataV2Response } from './model/ShowRepositoryStatisticalDataV2Response';
43
47
  import { ShowTemplateDetailRequest } from './model/ShowTemplateDetailRequest';
@@ -81,6 +85,8 @@ export declare class DevStarClient {
81
85
  * @summary 获取应用依赖元数据资源
82
86
  * @param {string} applicationId 应用id
83
87
  * @param {'zh-cn' | 'en-us'} [xLanguage] 语言类型 中文:zh-cn 英文:en-us
88
+ * @param {number} [limit] 每页显示的条目数量
89
+ * @param {number} [offset] 偏移量,表示从此偏移量开始查询
84
90
  * @param {*} [options] Override http request option.
85
91
  * @throws {RequiredError}
86
92
  */
@@ -240,6 +246,20 @@ export declare class DevStarClient {
240
246
  * @throws {RequiredError}
241
247
  */
242
248
  checkRepositoryDuplicateName(checkRepositoryDuplicateNameRequest?: CheckRepositoryDuplicateNameRequest): Promise<CheckRepositoryDuplicateNameResponse>;
249
+ /**
250
+ * 使用 CloudIDE 实例打开应用代码。CloudIDE会保存用户项目数据,相同用户使用同一个CloudIDE,使用要求: - 用户需为登录状态。 - 拥有仓库权限。
251
+ * @summary 使用 CloudIDE 实例打开应用代码
252
+ * @param {string} repositoryId 仓库id。
253
+ * @param {string} repositorySshUrl 仓库下载地址。
254
+ * @param {'zh-cn' | 'en-us'} [xLanguage] 语言类型 中文:zh-cn 英文:en-us
255
+ * @param {string} [regionId] 区域ID,目前仅支持北京四:cn-north-4及北京一:cn-north-1。
256
+ * @param {string} [spacePrefix] 工作空间名称前缀,仅在is_open_last为false时生效,由用户自定义,支持大小写字母、中文、_、-,长度1-256。
257
+ * @param {boolean} [isOpenLast] 是否打开上一次的工作空间,true表示打开上一次工作空间,如果没有上一次工作空间会返回空,false代表打开一个全新的工作空间。
258
+ * @param {boolean} [isFree] 是否创建 CloudIDE 免费实例链接,true表示创建一个 CloudIDE 免费实例链接,false表示创建一个 CloudIDE 收费实例链接。
259
+ * @param {*} [options] Override http request option.
260
+ * @throws {RequiredError}
261
+ */
262
+ showRepositoryByCloudIde(showRepositoryByCloudIdeRequest?: ShowRepositoryByCloudIdeRequest): Promise<ShowRepositoryByCloudIdeResponse>;
243
263
  /**
244
264
  * 查询代码仓库的统计信息,包括代码仓的名称,代码行数等信息
245
265
  * @summary 应用代码仓库统计信息
@@ -270,7 +290,7 @@ export declare class DevStarClient {
270
290
  */
271
291
  createTemplateViewHistories(createTemplateViewHistoriesRequest?: CreateTemplateViewHistoriesRequest): Promise<CreateTemplateViewHistoriesResponse>;
272
292
  /**
273
- * 查询模板列表,推荐使用V2版本接口。
293
+ * 查询模板列表,推荐使用/v1/templates/query接口。
274
294
  * @summary 查询模板列表(V1)
275
295
  * @param {'zh-cn' | 'en-us'} [xLanguage] 语言类型,缺省值为“zh-cn”。 枚举值: - zh-cn:中文 - en-us:英文
276
296
  * @param {string} [keyword] 搜索关键字,支持按名称和描述搜索,默认null。
@@ -289,6 +309,15 @@ export declare class DevStarClient {
289
309
  * @throws {RequiredError}
290
310
  */
291
311
  listTemplateViewHistories(listTemplateViewHistoriesRequest?: ListTemplateViewHistoriesRequest): Promise<ListTemplateViewHistoriesResponse>;
312
+ /**
313
+ * 查询模板列表。
314
+ * @summary 查询模板列表
315
+ * @param {'zh-cn' | 'en-us'} [xLanguage] 语言类型,缺省值为“zh-cn”。 枚举值: - zh-cn:中文 - en-us:英文
316
+ * @param {TemplateQuery} [listTemplatesRequestBody] 模板列表查询参数
317
+ * @param {*} [options] Override http request option.
318
+ * @throws {RequiredError}
319
+ */
320
+ listTemplates(listTemplatesRequest?: ListTemplatesRequest): Promise<ListTemplatesResponse>;
292
321
  /**
293
322
  * 查询模板列表。
294
323
  * @summary 查询模板列表(V2)
@@ -535,6 +564,18 @@ export declare const ParamCreater: () => {
535
564
  headers: {};
536
565
  data: {};
537
566
  };
567
+ /**
568
+ * 使用 CloudIDE 实例打开应用代码。CloudIDE会保存用户项目数据,相同用户使用同一个CloudIDE,使用要求: - 用户需为登录状态。 - 拥有仓库权限。
569
+ */
570
+ showRepositoryByCloudIde(showRepositoryByCloudIdeRequest?: ShowRepositoryByCloudIdeRequest | undefined): {
571
+ method: string;
572
+ url: string;
573
+ contentType: string;
574
+ queryParams: {};
575
+ pathParams: {};
576
+ headers: {};
577
+ data: {};
578
+ };
538
579
  /**
539
580
  * 查询代码仓库的统计信息,包括代码仓的名称,代码行数等信息
540
581
  */
@@ -572,7 +613,7 @@ export declare const ParamCreater: () => {
572
613
  data: {};
573
614
  };
574
615
  /**
575
- * 查询模板列表,推荐使用V2版本接口。
616
+ * 查询模板列表,推荐使用/v1/templates/query接口。
576
617
  */
577
618
  listPublishedTemplates(listPublishedTemplatesRequest?: ListPublishedTemplatesRequest | undefined): {
578
619
  method: string;
@@ -595,6 +636,18 @@ export declare const ParamCreater: () => {
595
636
  headers: {};
596
637
  data: {};
597
638
  };
639
+ /**
640
+ * 查询模板列表。
641
+ */
642
+ listTemplates(listTemplatesRequest?: ListTemplatesRequest | undefined): {
643
+ method: string;
644
+ url: string;
645
+ contentType: string;
646
+ queryParams: {};
647
+ pathParams: {};
648
+ headers: {};
649
+ data: {};
650
+ };
598
651
  /**
599
652
  * 查询模板列表。
600
653
  */
@@ -27,6 +27,7 @@ var ListPipelineTemplatesRequest_1 = require("./model/ListPipelineTemplatesReque
27
27
  var ListProjectsV4Request_1 = require("./model/ListProjectsV4Request");
28
28
  var ListPublishedTemplatesRequest_1 = require("./model/ListPublishedTemplatesRequest");
29
29
  var ListTemplateViewHistoriesRequest_1 = require("./model/ListTemplateViewHistoriesRequest");
30
+ var ListTemplatesRequest_1 = require("./model/ListTemplatesRequest");
30
31
  var ListTemplatesV2Request_1 = require("./model/ListTemplatesV2Request");
31
32
  var RunCodehubTemplateJobRequest_1 = require("./model/RunCodehubTemplateJobRequest");
32
33
  var RunDevstarTemplateJobRequest_1 = require("./model/RunDevstarTemplateJobRequest");
@@ -37,6 +38,7 @@ var ShowApplicationV3Request_1 = require("./model/ShowApplicationV3Request");
37
38
  var ShowDeploymentJobsRequest_1 = require("./model/ShowDeploymentJobsRequest");
38
39
  var ShowJobDetailRequest_1 = require("./model/ShowJobDetailRequest");
39
40
  var ShowPipelineLastStatusV2Request_1 = require("./model/ShowPipelineLastStatusV2Request");
41
+ var ShowRepositoryByCloudIdeRequest_1 = require("./model/ShowRepositoryByCloudIdeRequest");
40
42
  var ShowRepositoryStatisticalDataV2Request_1 = require("./model/ShowRepositoryStatisticalDataV2Request");
41
43
  var ShowTemplateDetailRequest_1 = require("./model/ShowTemplateDetailRequest");
42
44
  var ShowTemplateFileRequest_1 = require("./model/ShowTemplateFileRequest");
@@ -90,6 +92,8 @@ var DevStarClient = /** @class */ (function () {
90
92
  * @summary 获取应用依赖元数据资源
91
93
  * @param {string} applicationId 应用id
92
94
  * @param {'zh-cn' | 'en-us'} [xLanguage] 语言类型 中文:zh-cn 英文:en-us
95
+ * @param {number} [limit] 每页显示的条目数量
96
+ * @param {number} [offset] 偏移量,表示从此偏移量开始查询
93
97
  * @param {*} [options] Override http request option.
94
98
  * @throws {RequiredError}
95
99
  */
@@ -329,6 +333,25 @@ var DevStarClient = /** @class */ (function () {
329
333
  // @ts-ignore
330
334
  return this.hcClient.sendRequest(options);
331
335
  };
336
+ /**
337
+ * 使用 CloudIDE 实例打开应用代码。CloudIDE会保存用户项目数据,相同用户使用同一个CloudIDE,使用要求: - 用户需为登录状态。 - 拥有仓库权限。
338
+ * @summary 使用 CloudIDE 实例打开应用代码
339
+ * @param {string} repositoryId 仓库id。
340
+ * @param {string} repositorySshUrl 仓库下载地址。
341
+ * @param {'zh-cn' | 'en-us'} [xLanguage] 语言类型 中文:zh-cn 英文:en-us
342
+ * @param {string} [regionId] 区域ID,目前仅支持北京四:cn-north-4及北京一:cn-north-1。
343
+ * @param {string} [spacePrefix] 工作空间名称前缀,仅在is_open_last为false时生效,由用户自定义,支持大小写字母、中文、_、-,长度1-256。
344
+ * @param {boolean} [isOpenLast] 是否打开上一次的工作空间,true表示打开上一次工作空间,如果没有上一次工作空间会返回空,false代表打开一个全新的工作空间。
345
+ * @param {boolean} [isFree] 是否创建 CloudIDE 免费实例链接,true表示创建一个 CloudIDE 免费实例链接,false表示创建一个 CloudIDE 收费实例链接。
346
+ * @param {*} [options] Override http request option.
347
+ * @throws {RequiredError}
348
+ */
349
+ DevStarClient.prototype.showRepositoryByCloudIde = function (showRepositoryByCloudIdeRequest) {
350
+ var options = (0, exports.ParamCreater)().showRepositoryByCloudIde(showRepositoryByCloudIdeRequest);
351
+ options['responseHeaders'] = [''];
352
+ // @ts-ignore
353
+ return this.hcClient.sendRequest(options);
354
+ };
332
355
  /**
333
356
  * 查询代码仓库的统计信息,包括代码仓的名称,代码行数等信息
334
357
  * @summary 应用代码仓库统计信息
@@ -374,7 +397,7 @@ var DevStarClient = /** @class */ (function () {
374
397
  return this.hcClient.sendRequest(options);
375
398
  };
376
399
  /**
377
- * 查询模板列表,推荐使用V2版本接口。
400
+ * 查询模板列表,推荐使用/v1/templates/query接口。
378
401
  * @summary 查询模板列表(V1)
379
402
  * @param {'zh-cn' | 'en-us'} [xLanguage] 语言类型,缺省值为“zh-cn”。 枚举值: - zh-cn:中文 - en-us:英文
380
403
  * @param {string} [keyword] 搜索关键字,支持按名称和描述搜索,默认null。
@@ -403,6 +426,20 @@ var DevStarClient = /** @class */ (function () {
403
426
  // @ts-ignore
404
427
  return this.hcClient.sendRequest(options);
405
428
  };
429
+ /**
430
+ * 查询模板列表。
431
+ * @summary 查询模板列表
432
+ * @param {'zh-cn' | 'en-us'} [xLanguage] 语言类型,缺省值为“zh-cn”。 枚举值: - zh-cn:中文 - en-us:英文
433
+ * @param {TemplateQuery} [listTemplatesRequestBody] 模板列表查询参数
434
+ * @param {*} [options] Override http request option.
435
+ * @throws {RequiredError}
436
+ */
437
+ DevStarClient.prototype.listTemplates = function (listTemplatesRequest) {
438
+ var options = (0, exports.ParamCreater)().listTemplates(listTemplatesRequest);
439
+ options['responseHeaders'] = [''];
440
+ // @ts-ignore
441
+ return this.hcClient.sendRequest(options);
442
+ };
406
443
  /**
407
444
  * 查询模板列表。
408
445
  * @summary 查询模板列表(V2)
@@ -563,24 +600,38 @@ var ParamCreater = function () {
563
600
  data: {}
564
601
  };
565
602
  var localVarHeaderParameter = {};
603
+ var localVarQueryParameter = {};
566
604
  var applicationId;
567
605
  var xLanguage;
606
+ var limit;
607
+ var offset;
568
608
  if (showApplicationDependentResourcesRequest !== null && showApplicationDependentResourcesRequest !== undefined) {
569
609
  if (showApplicationDependentResourcesRequest instanceof ShowApplicationDependentResourcesRequest_1.ShowApplicationDependentResourcesRequest) {
570
610
  applicationId = showApplicationDependentResourcesRequest.applicationId;
571
611
  xLanguage = showApplicationDependentResourcesRequest.xLanguage;
612
+ limit = showApplicationDependentResourcesRequest.limit;
613
+ offset = showApplicationDependentResourcesRequest.offset;
572
614
  }
573
615
  else {
574
616
  applicationId = showApplicationDependentResourcesRequest['application_id'];
575
617
  xLanguage = showApplicationDependentResourcesRequest['X-Language'];
618
+ limit = showApplicationDependentResourcesRequest['limit'];
619
+ offset = showApplicationDependentResourcesRequest['offset'];
576
620
  }
577
621
  }
578
622
  if (applicationId === null || applicationId === undefined) {
579
623
  throw new RequiredError('applicationId', 'Required parameter applicationId was null or undefined when calling showApplicationDependentResources.');
580
624
  }
625
+ if (limit !== null && limit !== undefined) {
626
+ localVarQueryParameter['limit'] = limit;
627
+ }
628
+ if (offset !== null && offset !== undefined) {
629
+ localVarQueryParameter['offset'] = offset;
630
+ }
581
631
  if (xLanguage !== undefined && xLanguage !== null) {
582
632
  localVarHeaderParameter['X-Language'] = String(xLanguage);
583
633
  }
634
+ options.queryParams = localVarQueryParameter;
584
635
  options.pathParams = { 'application_id': applicationId, };
585
636
  options.headers = localVarHeaderParameter;
586
637
  return options;
@@ -1273,6 +1324,77 @@ var ParamCreater = function () {
1273
1324
  options.headers = localVarHeaderParameter;
1274
1325
  return options;
1275
1326
  },
1327
+ /**
1328
+ * 使用 CloudIDE 实例打开应用代码。CloudIDE会保存用户项目数据,相同用户使用同一个CloudIDE,使用要求: - 用户需为登录状态。 - 拥有仓库权限。
1329
+ */
1330
+ showRepositoryByCloudIde: function (showRepositoryByCloudIdeRequest) {
1331
+ var options = {
1332
+ method: "GET",
1333
+ url: "/v1/repositories/{repository_id}/show/cloudide",
1334
+ contentType: "application/json",
1335
+ queryParams: {},
1336
+ pathParams: {},
1337
+ headers: {},
1338
+ data: {}
1339
+ };
1340
+ var localVarHeaderParameter = {};
1341
+ var localVarQueryParameter = {};
1342
+ var repositoryId;
1343
+ var repositorySshUrl;
1344
+ var xLanguage;
1345
+ var regionId;
1346
+ var spacePrefix;
1347
+ var isOpenLast;
1348
+ var isFree;
1349
+ if (showRepositoryByCloudIdeRequest !== null && showRepositoryByCloudIdeRequest !== undefined) {
1350
+ if (showRepositoryByCloudIdeRequest instanceof ShowRepositoryByCloudIdeRequest_1.ShowRepositoryByCloudIdeRequest) {
1351
+ repositoryId = showRepositoryByCloudIdeRequest.repositoryId;
1352
+ repositorySshUrl = showRepositoryByCloudIdeRequest.repositorySshUrl;
1353
+ xLanguage = showRepositoryByCloudIdeRequest.xLanguage;
1354
+ regionId = showRepositoryByCloudIdeRequest.regionId;
1355
+ spacePrefix = showRepositoryByCloudIdeRequest.spacePrefix;
1356
+ isOpenLast = showRepositoryByCloudIdeRequest.isOpenLast;
1357
+ isFree = showRepositoryByCloudIdeRequest.isFree;
1358
+ }
1359
+ else {
1360
+ repositoryId = showRepositoryByCloudIdeRequest['repository_id'];
1361
+ repositorySshUrl = showRepositoryByCloudIdeRequest['repository_ssh_url'];
1362
+ xLanguage = showRepositoryByCloudIdeRequest['X-Language'];
1363
+ regionId = showRepositoryByCloudIdeRequest['region_id'];
1364
+ spacePrefix = showRepositoryByCloudIdeRequest['space_prefix'];
1365
+ isOpenLast = showRepositoryByCloudIdeRequest['is_open_last'];
1366
+ isFree = showRepositoryByCloudIdeRequest['is_free'];
1367
+ }
1368
+ }
1369
+ if (repositoryId === null || repositoryId === undefined) {
1370
+ throw new RequiredError('repositoryId', 'Required parameter repositoryId was null or undefined when calling showRepositoryByCloudIde.');
1371
+ }
1372
+ if (repositorySshUrl === null || repositorySshUrl === undefined) {
1373
+ throw new RequiredError('repositorySshUrl', 'Required parameter repositorySshUrl was null or undefined when calling showRepositoryByCloudIde.');
1374
+ }
1375
+ if (repositorySshUrl !== null && repositorySshUrl !== undefined) {
1376
+ localVarQueryParameter['repository_ssh_url'] = repositorySshUrl;
1377
+ }
1378
+ if (regionId !== null && regionId !== undefined) {
1379
+ localVarQueryParameter['region_id'] = regionId;
1380
+ }
1381
+ if (spacePrefix !== null && spacePrefix !== undefined) {
1382
+ localVarQueryParameter['space_prefix'] = spacePrefix;
1383
+ }
1384
+ if (isOpenLast !== null && isOpenLast !== undefined) {
1385
+ localVarQueryParameter['is_open_last'] = isOpenLast;
1386
+ }
1387
+ if (isFree !== null && isFree !== undefined) {
1388
+ localVarQueryParameter['is_free'] = isFree;
1389
+ }
1390
+ if (xLanguage !== undefined && xLanguage !== null) {
1391
+ localVarHeaderParameter['X-Language'] = String(xLanguage);
1392
+ }
1393
+ options.queryParams = localVarQueryParameter;
1394
+ options.pathParams = { 'repository_id': repositoryId, };
1395
+ options.headers = localVarHeaderParameter;
1396
+ return options;
1397
+ },
1276
1398
  /**
1277
1399
  * 查询代码仓库的统计信息,包括代码仓的名称,代码行数等信息
1278
1400
  */
@@ -1400,7 +1522,7 @@ var ParamCreater = function () {
1400
1522
  return options;
1401
1523
  },
1402
1524
  /**
1403
- * 查询模板列表,推荐使用V2版本接口。
1525
+ * 查询模板列表,推荐使用/v1/templates/query接口。
1404
1526
  */
1405
1527
  listPublishedTemplates: function (listPublishedTemplatesRequest) {
1406
1528
  var options = {
@@ -1488,6 +1610,40 @@ var ParamCreater = function () {
1488
1610
  options.headers = localVarHeaderParameter;
1489
1611
  return options;
1490
1612
  },
1613
+ /**
1614
+ * 查询模板列表。
1615
+ */
1616
+ listTemplates: function (listTemplatesRequest) {
1617
+ var options = {
1618
+ method: "POST",
1619
+ url: "/v1/templates/query",
1620
+ contentType: "application/json;charset=UTF-8",
1621
+ queryParams: {},
1622
+ pathParams: {},
1623
+ headers: {},
1624
+ data: {}
1625
+ };
1626
+ var localVarHeaderParameter = {};
1627
+ var body;
1628
+ var xLanguage;
1629
+ if (listTemplatesRequest !== null && listTemplatesRequest !== undefined) {
1630
+ if (listTemplatesRequest instanceof ListTemplatesRequest_1.ListTemplatesRequest) {
1631
+ xLanguage = listTemplatesRequest.xLanguage;
1632
+ body = listTemplatesRequest.body;
1633
+ }
1634
+ else {
1635
+ xLanguage = listTemplatesRequest['X-Language'];
1636
+ body = listTemplatesRequest['body'];
1637
+ }
1638
+ }
1639
+ if (xLanguage !== undefined && xLanguage !== null) {
1640
+ localVarHeaderParameter['X-Language'] = String(xLanguage);
1641
+ }
1642
+ localVarHeaderParameter['Content-Type'] = 'application/json;charset=UTF-8';
1643
+ options.data = body !== undefined ? body : {};
1644
+ options.headers = localVarHeaderParameter;
1645
+ return options;
1646
+ },
1491
1647
  /**
1492
1648
  * 查询模板列表。
1493
1649
  */
@@ -0,0 +1,18 @@
1
+ import { TemplateQuery } from './TemplateQuery';
2
+ export declare class ListTemplatesRequest {
3
+ private 'X-Language'?;
4
+ body?: TemplateQuery;
5
+ constructor();
6
+ withXLanguage(xLanguage: ListTemplatesRequestXLanguageEnum): ListTemplatesRequest;
7
+ set xLanguage(xLanguage: ListTemplatesRequestXLanguageEnum | undefined);
8
+ get xLanguage(): ListTemplatesRequestXLanguageEnum | undefined;
9
+ withBody(body: TemplateQuery): ListTemplatesRequest;
10
+ }
11
+ /**
12
+ * @export
13
+ * @enum {string}
14
+ */
15
+ export declare enum ListTemplatesRequestXLanguageEnum {
16
+ ZH_CN = "zh-cn",
17
+ EN_US = "en-us"
18
+ }
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListTemplatesRequestXLanguageEnum = exports.ListTemplatesRequest = void 0;
4
+ var ListTemplatesRequest = /** @class */ (function () {
5
+ function ListTemplatesRequest() {
6
+ }
7
+ ListTemplatesRequest.prototype.withXLanguage = function (xLanguage) {
8
+ this['X-Language'] = xLanguage;
9
+ return this;
10
+ };
11
+ Object.defineProperty(ListTemplatesRequest.prototype, "xLanguage", {
12
+ get: function () {
13
+ return this['X-Language'];
14
+ },
15
+ set: function (xLanguage) {
16
+ this['X-Language'] = xLanguage;
17
+ },
18
+ enumerable: false,
19
+ configurable: true
20
+ });
21
+ ListTemplatesRequest.prototype.withBody = function (body) {
22
+ this['body'] = body;
23
+ return this;
24
+ };
25
+ return ListTemplatesRequest;
26
+ }());
27
+ exports.ListTemplatesRequest = ListTemplatesRequest;
28
+ /**
29
+ * @export
30
+ * @enum {string}
31
+ */
32
+ var ListTemplatesRequestXLanguageEnum;
33
+ (function (ListTemplatesRequestXLanguageEnum) {
34
+ ListTemplatesRequestXLanguageEnum["ZH_CN"] = "zh-cn";
35
+ ListTemplatesRequestXLanguageEnum["EN_US"] = "en-us";
36
+ })(ListTemplatesRequestXLanguageEnum = exports.ListTemplatesRequestXLanguageEnum || (exports.ListTemplatesRequestXLanguageEnum = {}));
@@ -0,0 +1,13 @@
1
+ import { TemplateInfo } from './TemplateInfo';
2
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
3
+ export declare class ListTemplatesResponse extends SdkResponse {
4
+ count?: number;
5
+ private 'invalid_count'?;
6
+ templates?: Array<TemplateInfo>;
7
+ constructor();
8
+ withCount(count: number): ListTemplatesResponse;
9
+ withInvalidCount(invalidCount: number): ListTemplatesResponse;
10
+ set invalidCount(invalidCount: number | undefined);
11
+ get invalidCount(): number | undefined;
12
+ withTemplates(templates: Array<TemplateInfo>): ListTemplatesResponse;
13
+ }
@@ -0,0 +1,49 @@
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.ListTemplatesResponse = void 0;
19
+ var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
20
+ var ListTemplatesResponse = /** @class */ (function (_super) {
21
+ __extends(ListTemplatesResponse, _super);
22
+ function ListTemplatesResponse() {
23
+ return _super.call(this) || this;
24
+ }
25
+ ListTemplatesResponse.prototype.withCount = function (count) {
26
+ this['count'] = count;
27
+ return this;
28
+ };
29
+ ListTemplatesResponse.prototype.withInvalidCount = function (invalidCount) {
30
+ this['invalid_count'] = invalidCount;
31
+ return this;
32
+ };
33
+ Object.defineProperty(ListTemplatesResponse.prototype, "invalidCount", {
34
+ get: function () {
35
+ return this['invalid_count'];
36
+ },
37
+ set: function (invalidCount) {
38
+ this['invalid_count'] = invalidCount;
39
+ },
40
+ enumerable: false,
41
+ configurable: true
42
+ });
43
+ ListTemplatesResponse.prototype.withTemplates = function (templates) {
44
+ this['templates'] = templates;
45
+ return this;
46
+ };
47
+ return ListTemplatesResponse;
48
+ }(SdkResponse_1.SdkResponse));
49
+ exports.ListTemplatesResponse = ListTemplatesResponse;
@@ -1,6 +1,8 @@
1
1
  export declare class ShowApplicationDependentResourcesRequest {
2
2
  private 'X-Language'?;
3
3
  private 'application_id';
4
+ limit?: number;
5
+ offset?: number;
4
6
  constructor(applicationId?: any);
5
7
  withXLanguage(xLanguage: ShowApplicationDependentResourcesRequestXLanguageEnum): ShowApplicationDependentResourcesRequest;
6
8
  set xLanguage(xLanguage: ShowApplicationDependentResourcesRequestXLanguageEnum | undefined);
@@ -8,6 +10,8 @@ export declare class ShowApplicationDependentResourcesRequest {
8
10
  withApplicationId(applicationId: string): ShowApplicationDependentResourcesRequest;
9
11
  set applicationId(applicationId: string | undefined);
10
12
  get applicationId(): string | undefined;
13
+ withLimit(limit: number): ShowApplicationDependentResourcesRequest;
14
+ withOffset(offset: number): ShowApplicationDependentResourcesRequest;
11
15
  }
12
16
  /**
13
17
  * @export
@@ -33,6 +33,14 @@ var ShowApplicationDependentResourcesRequest = /** @class */ (function () {
33
33
  enumerable: false,
34
34
  configurable: true
35
35
  });
36
+ ShowApplicationDependentResourcesRequest.prototype.withLimit = function (limit) {
37
+ this['limit'] = limit;
38
+ return this;
39
+ };
40
+ ShowApplicationDependentResourcesRequest.prototype.withOffset = function (offset) {
41
+ this['offset'] = offset;
42
+ return this;
43
+ };
36
44
  return ShowApplicationDependentResourcesRequest;
37
45
  }());
38
46
  exports.ShowApplicationDependentResourcesRequest = ShowApplicationDependentResourcesRequest;
@@ -2,8 +2,10 @@ import { ResouceInfo } from './ResouceInfo';
2
2
  import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
3
3
  export declare class ShowApplicationDependentResourcesResponse extends SdkResponse {
4
4
  private 'dependent_services'?;
5
+ count?: number;
5
6
  constructor();
6
7
  withDependentServices(dependentServices: Array<ResouceInfo>): ShowApplicationDependentResourcesResponse;
7
8
  set dependentServices(dependentServices: Array<ResouceInfo> | undefined);
8
9
  get dependentServices(): Array<ResouceInfo> | undefined;
10
+ withCount(count: number): ShowApplicationDependentResourcesResponse;
9
11
  }
@@ -36,6 +36,10 @@ var ShowApplicationDependentResourcesResponse = /** @class */ (function (_super)
36
36
  enumerable: false,
37
37
  configurable: true
38
38
  });
39
+ ShowApplicationDependentResourcesResponse.prototype.withCount = function (count) {
40
+ this['count'] = count;
41
+ return this;
42
+ };
39
43
  return ShowApplicationDependentResourcesResponse;
40
44
  }(SdkResponse_1.SdkResponse));
41
45
  exports.ShowApplicationDependentResourcesResponse = ShowApplicationDependentResourcesResponse;
@@ -0,0 +1,39 @@
1
+ export declare class ShowRepositoryByCloudIdeRequest {
2
+ private 'X-Language'?;
3
+ private 'repository_id';
4
+ private 'repository_ssh_url';
5
+ private 'region_id'?;
6
+ private 'space_prefix'?;
7
+ private 'is_open_last'?;
8
+ private 'is_free'?;
9
+ constructor(repositoryId?: any, repositorySshUrl?: any);
10
+ withXLanguage(xLanguage: ShowRepositoryByCloudIdeRequestXLanguageEnum): ShowRepositoryByCloudIdeRequest;
11
+ set xLanguage(xLanguage: ShowRepositoryByCloudIdeRequestXLanguageEnum | undefined);
12
+ get xLanguage(): ShowRepositoryByCloudIdeRequestXLanguageEnum | undefined;
13
+ withRepositoryId(repositoryId: string): ShowRepositoryByCloudIdeRequest;
14
+ set repositoryId(repositoryId: string | undefined);
15
+ get repositoryId(): string | undefined;
16
+ withRepositorySshUrl(repositorySshUrl: string): ShowRepositoryByCloudIdeRequest;
17
+ set repositorySshUrl(repositorySshUrl: string | undefined);
18
+ get repositorySshUrl(): string | undefined;
19
+ withRegionId(regionId: string): ShowRepositoryByCloudIdeRequest;
20
+ set regionId(regionId: string | undefined);
21
+ get regionId(): string | undefined;
22
+ withSpacePrefix(spacePrefix: string): ShowRepositoryByCloudIdeRequest;
23
+ set spacePrefix(spacePrefix: string | undefined);
24
+ get spacePrefix(): string | undefined;
25
+ withIsOpenLast(isOpenLast: boolean): ShowRepositoryByCloudIdeRequest;
26
+ set isOpenLast(isOpenLast: boolean | undefined);
27
+ get isOpenLast(): boolean | undefined;
28
+ withIsFree(isFree: boolean): ShowRepositoryByCloudIdeRequest;
29
+ set isFree(isFree: boolean | undefined);
30
+ get isFree(): boolean | undefined;
31
+ }
32
+ /**
33
+ * @export
34
+ * @enum {string}
35
+ */
36
+ export declare enum ShowRepositoryByCloudIdeRequestXLanguageEnum {
37
+ ZH_CN = "zh-cn",
38
+ EN_US = "en-us"
39
+ }
@@ -0,0 +1,118 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ShowRepositoryByCloudIdeRequestXLanguageEnum = exports.ShowRepositoryByCloudIdeRequest = void 0;
4
+ var ShowRepositoryByCloudIdeRequest = /** @class */ (function () {
5
+ function ShowRepositoryByCloudIdeRequest(repositoryId, repositorySshUrl) {
6
+ this['repository_id'] = repositoryId;
7
+ this['repository_ssh_url'] = repositorySshUrl;
8
+ }
9
+ ShowRepositoryByCloudIdeRequest.prototype.withXLanguage = function (xLanguage) {
10
+ this['X-Language'] = xLanguage;
11
+ return this;
12
+ };
13
+ Object.defineProperty(ShowRepositoryByCloudIdeRequest.prototype, "xLanguage", {
14
+ get: function () {
15
+ return this['X-Language'];
16
+ },
17
+ set: function (xLanguage) {
18
+ this['X-Language'] = xLanguage;
19
+ },
20
+ enumerable: false,
21
+ configurable: true
22
+ });
23
+ ShowRepositoryByCloudIdeRequest.prototype.withRepositoryId = function (repositoryId) {
24
+ this['repository_id'] = repositoryId;
25
+ return this;
26
+ };
27
+ Object.defineProperty(ShowRepositoryByCloudIdeRequest.prototype, "repositoryId", {
28
+ get: function () {
29
+ return this['repository_id'];
30
+ },
31
+ set: function (repositoryId) {
32
+ this['repository_id'] = repositoryId;
33
+ },
34
+ enumerable: false,
35
+ configurable: true
36
+ });
37
+ ShowRepositoryByCloudIdeRequest.prototype.withRepositorySshUrl = function (repositorySshUrl) {
38
+ this['repository_ssh_url'] = repositorySshUrl;
39
+ return this;
40
+ };
41
+ Object.defineProperty(ShowRepositoryByCloudIdeRequest.prototype, "repositorySshUrl", {
42
+ get: function () {
43
+ return this['repository_ssh_url'];
44
+ },
45
+ set: function (repositorySshUrl) {
46
+ this['repository_ssh_url'] = repositorySshUrl;
47
+ },
48
+ enumerable: false,
49
+ configurable: true
50
+ });
51
+ ShowRepositoryByCloudIdeRequest.prototype.withRegionId = function (regionId) {
52
+ this['region_id'] = regionId;
53
+ return this;
54
+ };
55
+ Object.defineProperty(ShowRepositoryByCloudIdeRequest.prototype, "regionId", {
56
+ get: function () {
57
+ return this['region_id'];
58
+ },
59
+ set: function (regionId) {
60
+ this['region_id'] = regionId;
61
+ },
62
+ enumerable: false,
63
+ configurable: true
64
+ });
65
+ ShowRepositoryByCloudIdeRequest.prototype.withSpacePrefix = function (spacePrefix) {
66
+ this['space_prefix'] = spacePrefix;
67
+ return this;
68
+ };
69
+ Object.defineProperty(ShowRepositoryByCloudIdeRequest.prototype, "spacePrefix", {
70
+ get: function () {
71
+ return this['space_prefix'];
72
+ },
73
+ set: function (spacePrefix) {
74
+ this['space_prefix'] = spacePrefix;
75
+ },
76
+ enumerable: false,
77
+ configurable: true
78
+ });
79
+ ShowRepositoryByCloudIdeRequest.prototype.withIsOpenLast = function (isOpenLast) {
80
+ this['is_open_last'] = isOpenLast;
81
+ return this;
82
+ };
83
+ Object.defineProperty(ShowRepositoryByCloudIdeRequest.prototype, "isOpenLast", {
84
+ get: function () {
85
+ return this['is_open_last'];
86
+ },
87
+ set: function (isOpenLast) {
88
+ this['is_open_last'] = isOpenLast;
89
+ },
90
+ enumerable: false,
91
+ configurable: true
92
+ });
93
+ ShowRepositoryByCloudIdeRequest.prototype.withIsFree = function (isFree) {
94
+ this['is_free'] = isFree;
95
+ return this;
96
+ };
97
+ Object.defineProperty(ShowRepositoryByCloudIdeRequest.prototype, "isFree", {
98
+ get: function () {
99
+ return this['is_free'];
100
+ },
101
+ set: function (isFree) {
102
+ this['is_free'] = isFree;
103
+ },
104
+ enumerable: false,
105
+ configurable: true
106
+ });
107
+ return ShowRepositoryByCloudIdeRequest;
108
+ }());
109
+ exports.ShowRepositoryByCloudIdeRequest = ShowRepositoryByCloudIdeRequest;
110
+ /**
111
+ * @export
112
+ * @enum {string}
113
+ */
114
+ var ShowRepositoryByCloudIdeRequestXLanguageEnum;
115
+ (function (ShowRepositoryByCloudIdeRequestXLanguageEnum) {
116
+ ShowRepositoryByCloudIdeRequestXLanguageEnum["ZH_CN"] = "zh-cn";
117
+ ShowRepositoryByCloudIdeRequestXLanguageEnum["EN_US"] = "en-us";
118
+ })(ShowRepositoryByCloudIdeRequestXLanguageEnum = exports.ShowRepositoryByCloudIdeRequestXLanguageEnum || (exports.ShowRepositoryByCloudIdeRequestXLanguageEnum = {}));
@@ -0,0 +1,6 @@
1
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
2
+ export declare class ShowRepositoryByCloudIdeResponse extends SdkResponse {
3
+ url?: string;
4
+ constructor();
5
+ withUrl(url: string): ShowRepositoryByCloudIdeResponse;
6
+ }
@@ -0,0 +1,31 @@
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.ShowRepositoryByCloudIdeResponse = void 0;
19
+ var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
20
+ var ShowRepositoryByCloudIdeResponse = /** @class */ (function (_super) {
21
+ __extends(ShowRepositoryByCloudIdeResponse, _super);
22
+ function ShowRepositoryByCloudIdeResponse() {
23
+ return _super.call(this) || this;
24
+ }
25
+ ShowRepositoryByCloudIdeResponse.prototype.withUrl = function (url) {
26
+ this['url'] = url;
27
+ return this;
28
+ };
29
+ return ShowRepositoryByCloudIdeResponse;
30
+ }(SdkResponse_1.SdkResponse));
31
+ exports.ShowRepositoryByCloudIdeResponse = ShowRepositoryByCloudIdeResponse;
@@ -0,0 +1,65 @@
1
+ export declare class TemplateQuery {
2
+ category?: Array<string>;
3
+ keyword?: string;
4
+ private 'sort_key'?;
5
+ private 'sort_dir'?;
6
+ label?: TemplateQueryLabelEnum;
7
+ private 'my_templates'?;
8
+ status?: number;
9
+ private 'status_array'?;
10
+ private 'has_notices'?;
11
+ productshorts?: Array<string>;
12
+ offset?: number;
13
+ limit?: number;
14
+ private 'tag_ids'?;
15
+ types?: Array<number>;
16
+ private 'is_static'?;
17
+ private 'platform_source'?;
18
+ private 'tag_names'?;
19
+ constructor();
20
+ withCategory(category: Array<string>): TemplateQuery;
21
+ withKeyword(keyword: string): TemplateQuery;
22
+ withSortKey(sortKey: Array<string>): TemplateQuery;
23
+ set sortKey(sortKey: Array<string> | undefined);
24
+ get sortKey(): Array<string> | undefined;
25
+ withSortDir(sortDir: Array<string>): TemplateQuery;
26
+ set sortDir(sortDir: Array<string> | undefined);
27
+ get sortDir(): Array<string> | undefined;
28
+ withLabel(label: TemplateQueryLabelEnum): TemplateQuery;
29
+ withMyTemplates(myTemplates: boolean): TemplateQuery;
30
+ set myTemplates(myTemplates: boolean | undefined);
31
+ get myTemplates(): boolean | undefined;
32
+ withStatus(status: number): TemplateQuery;
33
+ withStatusArray(statusArray: Array<number>): TemplateQuery;
34
+ set statusArray(statusArray: Array<number> | undefined);
35
+ get statusArray(): Array<number> | undefined;
36
+ withHasNotices(hasNotices: boolean): TemplateQuery;
37
+ set hasNotices(hasNotices: boolean | undefined);
38
+ get hasNotices(): boolean | undefined;
39
+ withProductshorts(productshorts: Array<string>): TemplateQuery;
40
+ withOffset(offset: number): TemplateQuery;
41
+ withLimit(limit: number): TemplateQuery;
42
+ withTagIds(tagIds: Array<string>): TemplateQuery;
43
+ set tagIds(tagIds: Array<string> | undefined);
44
+ get tagIds(): Array<string> | undefined;
45
+ withTypes(types: Array<number>): TemplateQuery;
46
+ withIsStatic(isStatic: number): TemplateQuery;
47
+ set isStatic(isStatic: number | undefined);
48
+ get isStatic(): number | undefined;
49
+ withPlatformSource(platformSource: Array<number>): TemplateQuery;
50
+ set platformSource(platformSource: Array<number> | undefined);
51
+ get platformSource(): Array<number> | undefined;
52
+ withTagNames(tagNames: Array<string>): TemplateQuery;
53
+ set tagNames(tagNames: Array<string> | undefined);
54
+ get tagNames(): Array<string> | undefined;
55
+ }
56
+ /**
57
+ * @export
58
+ * @enum {string}
59
+ */
60
+ export declare enum TemplateQueryLabelEnum {
61
+ ALL = "all",
62
+ NEW = "new",
63
+ HOT = "hot",
64
+ RECOMMEND = "recommend"
65
+ }
@@ -0,0 +1,178 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TemplateQueryLabelEnum = exports.TemplateQuery = void 0;
4
+ var TemplateQuery = /** @class */ (function () {
5
+ function TemplateQuery() {
6
+ }
7
+ TemplateQuery.prototype.withCategory = function (category) {
8
+ this['category'] = category;
9
+ return this;
10
+ };
11
+ TemplateQuery.prototype.withKeyword = function (keyword) {
12
+ this['keyword'] = keyword;
13
+ return this;
14
+ };
15
+ TemplateQuery.prototype.withSortKey = function (sortKey) {
16
+ this['sort_key'] = sortKey;
17
+ return this;
18
+ };
19
+ Object.defineProperty(TemplateQuery.prototype, "sortKey", {
20
+ get: function () {
21
+ return this['sort_key'];
22
+ },
23
+ set: function (sortKey) {
24
+ this['sort_key'] = sortKey;
25
+ },
26
+ enumerable: false,
27
+ configurable: true
28
+ });
29
+ TemplateQuery.prototype.withSortDir = function (sortDir) {
30
+ this['sort_dir'] = sortDir;
31
+ return this;
32
+ };
33
+ Object.defineProperty(TemplateQuery.prototype, "sortDir", {
34
+ get: function () {
35
+ return this['sort_dir'];
36
+ },
37
+ set: function (sortDir) {
38
+ this['sort_dir'] = sortDir;
39
+ },
40
+ enumerable: false,
41
+ configurable: true
42
+ });
43
+ TemplateQuery.prototype.withLabel = function (label) {
44
+ this['label'] = label;
45
+ return this;
46
+ };
47
+ TemplateQuery.prototype.withMyTemplates = function (myTemplates) {
48
+ this['my_templates'] = myTemplates;
49
+ return this;
50
+ };
51
+ Object.defineProperty(TemplateQuery.prototype, "myTemplates", {
52
+ get: function () {
53
+ return this['my_templates'];
54
+ },
55
+ set: function (myTemplates) {
56
+ this['my_templates'] = myTemplates;
57
+ },
58
+ enumerable: false,
59
+ configurable: true
60
+ });
61
+ TemplateQuery.prototype.withStatus = function (status) {
62
+ this['status'] = status;
63
+ return this;
64
+ };
65
+ TemplateQuery.prototype.withStatusArray = function (statusArray) {
66
+ this['status_array'] = statusArray;
67
+ return this;
68
+ };
69
+ Object.defineProperty(TemplateQuery.prototype, "statusArray", {
70
+ get: function () {
71
+ return this['status_array'];
72
+ },
73
+ set: function (statusArray) {
74
+ this['status_array'] = statusArray;
75
+ },
76
+ enumerable: false,
77
+ configurable: true
78
+ });
79
+ TemplateQuery.prototype.withHasNotices = function (hasNotices) {
80
+ this['has_notices'] = hasNotices;
81
+ return this;
82
+ };
83
+ Object.defineProperty(TemplateQuery.prototype, "hasNotices", {
84
+ get: function () {
85
+ return this['has_notices'];
86
+ },
87
+ set: function (hasNotices) {
88
+ this['has_notices'] = hasNotices;
89
+ },
90
+ enumerable: false,
91
+ configurable: true
92
+ });
93
+ TemplateQuery.prototype.withProductshorts = function (productshorts) {
94
+ this['productshorts'] = productshorts;
95
+ return this;
96
+ };
97
+ TemplateQuery.prototype.withOffset = function (offset) {
98
+ this['offset'] = offset;
99
+ return this;
100
+ };
101
+ TemplateQuery.prototype.withLimit = function (limit) {
102
+ this['limit'] = limit;
103
+ return this;
104
+ };
105
+ TemplateQuery.prototype.withTagIds = function (tagIds) {
106
+ this['tag_ids'] = tagIds;
107
+ return this;
108
+ };
109
+ Object.defineProperty(TemplateQuery.prototype, "tagIds", {
110
+ get: function () {
111
+ return this['tag_ids'];
112
+ },
113
+ set: function (tagIds) {
114
+ this['tag_ids'] = tagIds;
115
+ },
116
+ enumerable: false,
117
+ configurable: true
118
+ });
119
+ TemplateQuery.prototype.withTypes = function (types) {
120
+ this['types'] = types;
121
+ return this;
122
+ };
123
+ TemplateQuery.prototype.withIsStatic = function (isStatic) {
124
+ this['is_static'] = isStatic;
125
+ return this;
126
+ };
127
+ Object.defineProperty(TemplateQuery.prototype, "isStatic", {
128
+ get: function () {
129
+ return this['is_static'];
130
+ },
131
+ set: function (isStatic) {
132
+ this['is_static'] = isStatic;
133
+ },
134
+ enumerable: false,
135
+ configurable: true
136
+ });
137
+ TemplateQuery.prototype.withPlatformSource = function (platformSource) {
138
+ this['platform_source'] = platformSource;
139
+ return this;
140
+ };
141
+ Object.defineProperty(TemplateQuery.prototype, "platformSource", {
142
+ get: function () {
143
+ return this['platform_source'];
144
+ },
145
+ set: function (platformSource) {
146
+ this['platform_source'] = platformSource;
147
+ },
148
+ enumerable: false,
149
+ configurable: true
150
+ });
151
+ TemplateQuery.prototype.withTagNames = function (tagNames) {
152
+ this['tag_names'] = tagNames;
153
+ return this;
154
+ };
155
+ Object.defineProperty(TemplateQuery.prototype, "tagNames", {
156
+ get: function () {
157
+ return this['tag_names'];
158
+ },
159
+ set: function (tagNames) {
160
+ this['tag_names'] = tagNames;
161
+ },
162
+ enumerable: false,
163
+ configurable: true
164
+ });
165
+ return TemplateQuery;
166
+ }());
167
+ exports.TemplateQuery = TemplateQuery;
168
+ /**
169
+ * @export
170
+ * @enum {string}
171
+ */
172
+ var TemplateQueryLabelEnum;
173
+ (function (TemplateQueryLabelEnum) {
174
+ TemplateQueryLabelEnum["ALL"] = "all";
175
+ TemplateQueryLabelEnum["NEW"] = "new";
176
+ TemplateQueryLabelEnum["HOT"] = "hot";
177
+ TemplateQueryLabelEnum["RECOMMEND"] = "recommend";
178
+ })(TemplateQueryLabelEnum = exports.TemplateQueryLabelEnum || (exports.TemplateQueryLabelEnum = {}));
@@ -27,6 +27,8 @@ export * from './model/ListPublishedTemplatesRequest';
27
27
  export * from './model/ListPublishedTemplatesResponse';
28
28
  export * from './model/ListTemplateViewHistoriesRequest';
29
29
  export * from './model/ListTemplateViewHistoriesResponse';
30
+ export * from './model/ListTemplatesRequest';
31
+ export * from './model/ListTemplatesResponse';
30
32
  export * from './model/ListTemplatesV2Request';
31
33
  export * from './model/ListTemplatesV2Response';
32
34
  export * from './model/PipelineBasic';
@@ -60,6 +62,8 @@ export * from './model/ShowJobDetailRequest';
60
62
  export * from './model/ShowJobDetailResponse';
61
63
  export * from './model/ShowPipelineLastStatusV2Request';
62
64
  export * from './model/ShowPipelineLastStatusV2Response';
65
+ export * from './model/ShowRepositoryByCloudIdeRequest';
66
+ export * from './model/ShowRepositoryByCloudIdeResponse';
63
67
  export * from './model/ShowRepositoryStatisticalDataV2Request';
64
68
  export * from './model/ShowRepositoryStatisticalDataV2Response';
65
69
  export * from './model/ShowTemplateDetailRequest';
@@ -74,6 +78,7 @@ export * from './model/TagInfo';
74
78
  export * from './model/TemplateInfo';
75
79
  export * from './model/TemplateJobInfo';
76
80
  export * from './model/TemplateProductExt';
81
+ export * from './model/TemplateQuery';
77
82
  export * from './model/TemplateQueryV2';
78
83
  export * from './model/TemplateSimpleInfo';
79
84
  export * from './model/TemplateType';
package/v1/public-api.js CHANGED
@@ -39,6 +39,8 @@ __exportStar(require("./model/ListPublishedTemplatesRequest"), exports);
39
39
  __exportStar(require("./model/ListPublishedTemplatesResponse"), exports);
40
40
  __exportStar(require("./model/ListTemplateViewHistoriesRequest"), exports);
41
41
  __exportStar(require("./model/ListTemplateViewHistoriesResponse"), exports);
42
+ __exportStar(require("./model/ListTemplatesRequest"), exports);
43
+ __exportStar(require("./model/ListTemplatesResponse"), exports);
42
44
  __exportStar(require("./model/ListTemplatesV2Request"), exports);
43
45
  __exportStar(require("./model/ListTemplatesV2Response"), exports);
44
46
  __exportStar(require("./model/PipelineBasic"), exports);
@@ -72,6 +74,8 @@ __exportStar(require("./model/ShowJobDetailRequest"), exports);
72
74
  __exportStar(require("./model/ShowJobDetailResponse"), exports);
73
75
  __exportStar(require("./model/ShowPipelineLastStatusV2Request"), exports);
74
76
  __exportStar(require("./model/ShowPipelineLastStatusV2Response"), exports);
77
+ __exportStar(require("./model/ShowRepositoryByCloudIdeRequest"), exports);
78
+ __exportStar(require("./model/ShowRepositoryByCloudIdeResponse"), exports);
75
79
  __exportStar(require("./model/ShowRepositoryStatisticalDataV2Request"), exports);
76
80
  __exportStar(require("./model/ShowRepositoryStatisticalDataV2Response"), exports);
77
81
  __exportStar(require("./model/ShowTemplateDetailRequest"), exports);
@@ -86,6 +90,7 @@ __exportStar(require("./model/TagInfo"), exports);
86
90
  __exportStar(require("./model/TemplateInfo"), exports);
87
91
  __exportStar(require("./model/TemplateJobInfo"), exports);
88
92
  __exportStar(require("./model/TemplateProductExt"), exports);
93
+ __exportStar(require("./model/TemplateQuery"), exports);
89
94
  __exportStar(require("./model/TemplateQueryV2"), exports);
90
95
  __exportStar(require("./model/TemplateSimpleInfo"), exports);
91
96
  __exportStar(require("./model/TemplateType"), exports);