@huaweicloud/huaweicloud-sdk-swr 3.1.16 → 3.1.17

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-swr",
3
- "version": "3.1.16",
3
+ "version": "3.1.17",
4
4
  "description": "Huaweicloud SDK for swr",
5
5
  "main": "huaweicloud-sdk-swr.js",
6
6
  "typings": "huaweicloud-sdk-swr.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.1.16"
17
+ "@huaweicloud/huaweicloud-sdk-core": "^3.1.17"
18
18
  }
19
19
  }
package/v2/SwrClient.d.ts CHANGED
@@ -384,14 +384,14 @@ export declare class SwrClient {
384
384
  *
385
385
  * @summary 查询镜像仓库列表
386
386
  * @param {'application/json;charset=utf-8' | 'application/json'} contentType 消息体的类型(格式),下方类型可任选其一使用: application/json;charset=utf-8 application/json
387
- * @param {string} [namespace] 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。
388
- * @param {string} [name] 镜像仓库名称
389
- * @param {string} [category] 镜像仓库分类,可设置为app_server, linux, framework_app, database, lang, other, windows, arm
387
+ * @param {string} [namespace] 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。注意:和filter最好分开使用,如果同时使用,此过滤参数将失效,以filter为准。
388
+ * @param {string} [name] 镜像仓库名称。注意:和filter最好分开使用,如果同时使用,此过滤参数将失效,以filter为准。
389
+ * @param {string} [category] 镜像仓库分类,可设置为app_server, linux, framework_app, database, lang, other, windows, arm。注意:和filter最好分开使用,如果同时使用,此过滤参数将失效,以filter为准。
390
390
  * @param {string} [limit] 返回条数。注意:offset和limit参数需要配套使用。
391
391
  * @param {string} [offset] 起始索引。注意:offset和limit参数需要配套使用。
392
392
  * @param {string} [orderColumn] 按列排序,可设置为updated_at(按更新时间排序)。注意:order_column和order_type参数需要配套使用。
393
393
  * @param {string} [orderType] 排序类型,可设置为desc(降序)、asc(升序)。注意:order_column和order_type参数需要配套使用。
394
- * @param {string} [filter] 注意:至少要传递一个filter参数。其中{namespace}为组织名称,模糊匹配。 {name}为镜像仓库名称,模糊匹配。{category}为镜像仓库分类,可设置为app_server、linux、framework_app、database、lang、other、windows、arm。 {limit}为返回条数,{offset}为起始索引,注意:offset和limit参数需要配套使用。{order_column}为按列排序,可设置为name、updated_time、tag_count,{order_type}为排序类型, 可设置为desc(降序)、asc(升序),注意:order_column和order_type参数需要配套使用。
394
+ * @param {string} [filter] 注意:如果使用filter至少要传递一个filter参数。应填写 namespace::{namespace}|name::{name}|limit::{limit}|offset::{offset}|order_column::{order_column}|order_type::{order_type},其中{namespace}为组织名称。 {name}为镜像仓库名称,模糊匹配。{category}为镜像仓库分类,可设置为app_server、linux、framework_app、database、lang、other、windows、arm。 {limit}为返回条数,{offset}为起始索引,注意:offset和limit参数需要配套使用。{order_column}为按列排序,可设置为name、updated_time、tag_count,{order_type}为排序类型, 可设置为desc(降序)、asc(升序),注意:order_column和order_type参数需要配套使用。
395
395
  * @param {*} [options] Override http request option.
396
396
  * @throws {RequiredError}
397
397
  */
package/v2/SwrClient.js CHANGED
@@ -87,8 +87,8 @@ var SwrClient = /** @class */ (function () {
87
87
  */
88
88
  SwrClient.prototype.createImageSyncRepo = function (createImageSyncRepoRequest) {
89
89
  var options = (0, exports.ParamCreater)().createImageSyncRepo(createImageSyncRepoRequest);
90
- options['responseHeaders'] = [''];
91
90
  // @ts-ignore
91
+ options['responseHeaders'] = [''];
92
92
  return this.hcClient.sendRequest(options);
93
93
  };
94
94
  /**
@@ -106,8 +106,8 @@ var SwrClient = /** @class */ (function () {
106
106
  */
107
107
  SwrClient.prototype.createManualImageSyncRepo = function (createManualImageSyncRepoRequest) {
108
108
  var options = (0, exports.ParamCreater)().createManualImageSyncRepo(createManualImageSyncRepoRequest);
109
- options['responseHeaders'] = [''];
110
109
  // @ts-ignore
110
+ options['responseHeaders'] = [''];
111
111
  return this.hcClient.sendRequest(options);
112
112
  };
113
113
  /**
@@ -123,8 +123,8 @@ var SwrClient = /** @class */ (function () {
123
123
  */
124
124
  SwrClient.prototype.createNamespace = function (createNamespaceRequest) {
125
125
  var options = (0, exports.ParamCreater)().createNamespace(createNamespaceRequest);
126
- options['responseHeaders'] = [''];
127
126
  // @ts-ignore
127
+ options['responseHeaders'] = [''];
128
128
  return this.hcClient.sendRequest(options);
129
129
  };
130
130
  /**
@@ -141,8 +141,8 @@ var SwrClient = /** @class */ (function () {
141
141
  */
142
142
  SwrClient.prototype.createNamespaceAuth = function (createNamespaceAuthRequest) {
143
143
  var options = (0, exports.ParamCreater)().createNamespaceAuth(createNamespaceAuthRequest);
144
- options['responseHeaders'] = [''];
145
144
  // @ts-ignore
145
+ options['responseHeaders'] = [''];
146
146
  return this.hcClient.sendRequest(options);
147
147
  };
148
148
  /**
@@ -159,8 +159,8 @@ var SwrClient = /** @class */ (function () {
159
159
  */
160
160
  SwrClient.prototype.createRepo = function (createRepoRequest) {
161
161
  var options = (0, exports.ParamCreater)().createRepo(createRepoRequest);
162
- options['responseHeaders'] = [''];
163
162
  // @ts-ignore
163
+ options['responseHeaders'] = [''];
164
164
  return this.hcClient.sendRequest(options);
165
165
  };
166
166
  /**
@@ -178,8 +178,8 @@ var SwrClient = /** @class */ (function () {
178
178
  */
179
179
  SwrClient.prototype.createRepoDomains = function (createRepoDomainsRequest) {
180
180
  var options = (0, exports.ParamCreater)().createRepoDomains(createRepoDomainsRequest);
181
- options['responseHeaders'] = [''];
182
181
  // @ts-ignore
182
+ options['responseHeaders'] = [''];
183
183
  return this.hcClient.sendRequest(options);
184
184
  };
185
185
  /**
@@ -197,8 +197,8 @@ var SwrClient = /** @class */ (function () {
197
197
  */
198
198
  SwrClient.prototype.createRetention = function (createRetentionRequest) {
199
199
  var options = (0, exports.ParamCreater)().createRetention(createRetentionRequest);
200
- options['responseHeaders'] = [''];
201
200
  // @ts-ignore
201
+ options['responseHeaders'] = [''];
202
202
  return this.hcClient.sendRequest(options);
203
203
  };
204
204
  /**
@@ -214,8 +214,8 @@ var SwrClient = /** @class */ (function () {
214
214
  */
215
215
  SwrClient.prototype.createSecret = function (createSecretRequest) {
216
216
  var options = (0, exports.ParamCreater)().createSecret(createSecretRequest);
217
- options['responseHeaders'] = ['X-Swr-Dockerlogin'];
218
217
  // @ts-ignore
218
+ options['responseHeaders'] = ['X-Swr-Dockerlogin'];
219
219
  return this.hcClient.sendRequest(options);
220
220
  };
221
221
  /**
@@ -233,8 +233,8 @@ var SwrClient = /** @class */ (function () {
233
233
  */
234
234
  SwrClient.prototype.createTrigger = function (createTriggerRequest) {
235
235
  var options = (0, exports.ParamCreater)().createTrigger(createTriggerRequest);
236
- options['responseHeaders'] = [''];
237
236
  // @ts-ignore
237
+ options['responseHeaders'] = [''];
238
238
  return this.hcClient.sendRequest(options);
239
239
  };
240
240
  /**
@@ -252,8 +252,8 @@ var SwrClient = /** @class */ (function () {
252
252
  */
253
253
  SwrClient.prototype.createUserRepositoryAuth = function (createUserRepositoryAuthRequest) {
254
254
  var options = (0, exports.ParamCreater)().createUserRepositoryAuth(createUserRepositoryAuthRequest);
255
- options['responseHeaders'] = [''];
256
255
  // @ts-ignore
256
+ options['responseHeaders'] = [''];
257
257
  return this.hcClient.sendRequest(options);
258
258
  };
259
259
  /**
@@ -271,8 +271,8 @@ var SwrClient = /** @class */ (function () {
271
271
  */
272
272
  SwrClient.prototype.deleteImageSyncRepo = function (deleteImageSyncRepoRequest) {
273
273
  var options = (0, exports.ParamCreater)().deleteImageSyncRepo(deleteImageSyncRepoRequest);
274
- options['responseHeaders'] = [''];
275
274
  // @ts-ignore
275
+ options['responseHeaders'] = [''];
276
276
  return this.hcClient.sendRequest(options);
277
277
  };
278
278
  /**
@@ -289,8 +289,8 @@ var SwrClient = /** @class */ (function () {
289
289
  */
290
290
  SwrClient.prototype.deleteNamespaceAuth = function (deleteNamespaceAuthRequest) {
291
291
  var options = (0, exports.ParamCreater)().deleteNamespaceAuth(deleteNamespaceAuthRequest);
292
- options['responseHeaders'] = [''];
293
292
  // @ts-ignore
293
+ options['responseHeaders'] = [''];
294
294
  return this.hcClient.sendRequest(options);
295
295
  };
296
296
  /**
@@ -306,8 +306,8 @@ var SwrClient = /** @class */ (function () {
306
306
  */
307
307
  SwrClient.prototype.deleteNamespaces = function (deleteNamespacesRequest) {
308
308
  var options = (0, exports.ParamCreater)().deleteNamespaces(deleteNamespacesRequest);
309
- options['responseHeaders'] = [''];
310
309
  // @ts-ignore
310
+ options['responseHeaders'] = [''];
311
311
  return this.hcClient.sendRequest(options);
312
312
  };
313
313
  /**
@@ -324,8 +324,8 @@ var SwrClient = /** @class */ (function () {
324
324
  */
325
325
  SwrClient.prototype.deleteRepo = function (deleteRepoRequest) {
326
326
  var options = (0, exports.ParamCreater)().deleteRepo(deleteRepoRequest);
327
- options['responseHeaders'] = [''];
328
327
  // @ts-ignore
328
+ options['responseHeaders'] = [''];
329
329
  return this.hcClient.sendRequest(options);
330
330
  };
331
331
  /**
@@ -343,8 +343,8 @@ var SwrClient = /** @class */ (function () {
343
343
  */
344
344
  SwrClient.prototype.deleteRepoDomains = function (deleteRepoDomainsRequest) {
345
345
  var options = (0, exports.ParamCreater)().deleteRepoDomains(deleteRepoDomainsRequest);
346
- options['responseHeaders'] = [''];
347
346
  // @ts-ignore
347
+ options['responseHeaders'] = [''];
348
348
  return this.hcClient.sendRequest(options);
349
349
  };
350
350
  /**
@@ -362,8 +362,8 @@ var SwrClient = /** @class */ (function () {
362
362
  */
363
363
  SwrClient.prototype.deleteRepoTag = function (deleteRepoTagRequest) {
364
364
  var options = (0, exports.ParamCreater)().deleteRepoTag(deleteRepoTagRequest);
365
- options['responseHeaders'] = [''];
366
365
  // @ts-ignore
366
+ options['responseHeaders'] = [''];
367
367
  return this.hcClient.sendRequest(options);
368
368
  };
369
369
  /**
@@ -381,8 +381,8 @@ var SwrClient = /** @class */ (function () {
381
381
  */
382
382
  SwrClient.prototype.deleteRetention = function (deleteRetentionRequest) {
383
383
  var options = (0, exports.ParamCreater)().deleteRetention(deleteRetentionRequest);
384
- options['responseHeaders'] = [''];
385
384
  // @ts-ignore
385
+ options['responseHeaders'] = [''];
386
386
  return this.hcClient.sendRequest(options);
387
387
  };
388
388
  /**
@@ -400,8 +400,8 @@ var SwrClient = /** @class */ (function () {
400
400
  */
401
401
  SwrClient.prototype.deleteTrigger = function (deleteTriggerRequest) {
402
402
  var options = (0, exports.ParamCreater)().deleteTrigger(deleteTriggerRequest);
403
- options['responseHeaders'] = [''];
404
403
  // @ts-ignore
404
+ options['responseHeaders'] = [''];
405
405
  return this.hcClient.sendRequest(options);
406
406
  };
407
407
  /**
@@ -419,8 +419,8 @@ var SwrClient = /** @class */ (function () {
419
419
  */
420
420
  SwrClient.prototype.deleteUserRepositoryAuth = function (deleteUserRepositoryAuthRequest) {
421
421
  var options = (0, exports.ParamCreater)().deleteUserRepositoryAuth(deleteUserRepositoryAuthRequest);
422
- options['responseHeaders'] = [''];
423
422
  // @ts-ignore
423
+ options['responseHeaders'] = [''];
424
424
  return this.hcClient.sendRequest(options);
425
425
  };
426
426
  /**
@@ -437,8 +437,8 @@ var SwrClient = /** @class */ (function () {
437
437
  */
438
438
  SwrClient.prototype.listImageAutoSyncReposDetails = function (listImageAutoSyncReposDetailsRequest) {
439
439
  var options = (0, exports.ParamCreater)().listImageAutoSyncReposDetails(listImageAutoSyncReposDetailsRequest);
440
- options['responseHeaders'] = [''];
441
440
  // @ts-ignore
441
+ options['responseHeaders'] = [''];
442
442
  return this.hcClient.sendRequest(options);
443
443
  };
444
444
  /**
@@ -455,8 +455,8 @@ var SwrClient = /** @class */ (function () {
455
455
  */
456
456
  SwrClient.prototype.listNamespaces = function (listNamespacesRequest) {
457
457
  var options = (0, exports.ParamCreater)().listNamespaces(listNamespacesRequest);
458
- options['responseHeaders'] = [''];
459
458
  // @ts-ignore
459
+ options['responseHeaders'] = [''];
460
460
  return this.hcClient.sendRequest(options);
461
461
  };
462
462
  /**
@@ -471,8 +471,8 @@ var SwrClient = /** @class */ (function () {
471
471
  */
472
472
  SwrClient.prototype.listQuotas = function (listQuotasRequest) {
473
473
  var options = (0, exports.ParamCreater)().listQuotas(listQuotasRequest);
474
- options['responseHeaders'] = [''];
475
474
  // @ts-ignore
475
+ options['responseHeaders'] = [''];
476
476
  return this.hcClient.sendRequest(options);
477
477
  };
478
478
  /**
@@ -489,8 +489,8 @@ var SwrClient = /** @class */ (function () {
489
489
  */
490
490
  SwrClient.prototype.listRepoDomains = function (listRepoDomainsRequest) {
491
491
  var options = (0, exports.ParamCreater)().listRepoDomains(listRepoDomainsRequest);
492
- options['responseHeaders'] = [''];
493
492
  // @ts-ignore
493
+ options['responseHeaders'] = [''];
494
494
  return this.hcClient.sendRequest(options);
495
495
  };
496
496
  /**
@@ -500,21 +500,21 @@ var SwrClient = /** @class */ (function () {
500
500
  *
501
501
  * @summary 查询镜像仓库列表
502
502
  * @param {'application/json;charset=utf-8' | 'application/json'} contentType 消息体的类型(格式),下方类型可任选其一使用: application/json;charset=utf-8 application/json
503
- * @param {string} [namespace] 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。
504
- * @param {string} [name] 镜像仓库名称
505
- * @param {string} [category] 镜像仓库分类,可设置为app_server, linux, framework_app, database, lang, other, windows, arm
503
+ * @param {string} [namespace] 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。注意:和filter最好分开使用,如果同时使用,此过滤参数将失效,以filter为准。
504
+ * @param {string} [name] 镜像仓库名称。注意:和filter最好分开使用,如果同时使用,此过滤参数将失效,以filter为准。
505
+ * @param {string} [category] 镜像仓库分类,可设置为app_server, linux, framework_app, database, lang, other, windows, arm。注意:和filter最好分开使用,如果同时使用,此过滤参数将失效,以filter为准。
506
506
  * @param {string} [limit] 返回条数。注意:offset和limit参数需要配套使用。
507
507
  * @param {string} [offset] 起始索引。注意:offset和limit参数需要配套使用。
508
508
  * @param {string} [orderColumn] 按列排序,可设置为updated_at(按更新时间排序)。注意:order_column和order_type参数需要配套使用。
509
509
  * @param {string} [orderType] 排序类型,可设置为desc(降序)、asc(升序)。注意:order_column和order_type参数需要配套使用。
510
- * @param {string} [filter] 注意:至少要传递一个filter参数。其中{namespace}为组织名称,模糊匹配。 {name}为镜像仓库名称,模糊匹配。{category}为镜像仓库分类,可设置为app_server、linux、framework_app、database、lang、other、windows、arm。 {limit}为返回条数,{offset}为起始索引,注意:offset和limit参数需要配套使用。{order_column}为按列排序,可设置为name、updated_time、tag_count,{order_type}为排序类型, 可设置为desc(降序)、asc(升序),注意:order_column和order_type参数需要配套使用。
510
+ * @param {string} [filter] 注意:如果使用filter至少要传递一个filter参数。应填写 namespace::{namespace}|name::{name}|limit::{limit}|offset::{offset}|order_column::{order_column}|order_type::{order_type},其中{namespace}为组织名称。 {name}为镜像仓库名称,模糊匹配。{category}为镜像仓库分类,可设置为app_server、linux、framework_app、database、lang、other、windows、arm。 {limit}为返回条数,{offset}为起始索引,注意:offset和limit参数需要配套使用。{order_column}为按列排序,可设置为name、updated_time、tag_count,{order_type}为排序类型, 可设置为desc(降序)、asc(升序),注意:order_column和order_type参数需要配套使用。
511
511
  * @param {*} [options] Override http request option.
512
512
  * @throws {RequiredError}
513
513
  */
514
514
  SwrClient.prototype.listReposDetails = function (listReposDetailsRequest) {
515
515
  var options = (0, exports.ParamCreater)().listReposDetails(listReposDetailsRequest);
516
- options['responseHeaders'] = ['Content-Range'];
517
516
  // @ts-ignore
517
+ options['responseHeaders'] = ['Content-Range'];
518
518
  return this.hcClient.sendRequest(options);
519
519
  };
520
520
  /**
@@ -537,8 +537,8 @@ var SwrClient = /** @class */ (function () {
537
537
  */
538
538
  SwrClient.prototype.listRepositoryTags = function (listRepositoryTagsRequest) {
539
539
  var options = (0, exports.ParamCreater)().listRepositoryTags(listRepositoryTagsRequest);
540
- options['responseHeaders'] = ['Content-Range'];
541
540
  // @ts-ignore
541
+ options['responseHeaders'] = ['Content-Range'];
542
542
  return this.hcClient.sendRequest(options);
543
543
  };
544
544
  /**
@@ -556,8 +556,8 @@ var SwrClient = /** @class */ (function () {
556
556
  */
557
557
  SwrClient.prototype.listRetentionHistories = function (listRetentionHistoriesRequest) {
558
558
  var options = (0, exports.ParamCreater)().listRetentionHistories(listRetentionHistoriesRequest);
559
- options['responseHeaders'] = ['Content-Range'];
560
559
  // @ts-ignore
560
+ options['responseHeaders'] = ['Content-Range'];
561
561
  return this.hcClient.sendRequest(options);
562
562
  };
563
563
  /**
@@ -574,8 +574,8 @@ var SwrClient = /** @class */ (function () {
574
574
  */
575
575
  SwrClient.prototype.listRetentions = function (listRetentionsRequest) {
576
576
  var options = (0, exports.ParamCreater)().listRetentions(listRetentionsRequest);
577
- options['responseHeaders'] = [''];
578
577
  // @ts-ignore
578
+ options['responseHeaders'] = [''];
579
579
  return this.hcClient.sendRequest(options);
580
580
  };
581
581
  /**
@@ -598,8 +598,8 @@ var SwrClient = /** @class */ (function () {
598
598
  */
599
599
  SwrClient.prototype.listSharedReposDetails = function (listSharedReposDetailsRequest) {
600
600
  var options = (0, exports.ParamCreater)().listSharedReposDetails(listSharedReposDetailsRequest);
601
- options['responseHeaders'] = ['Content-Range'];
602
601
  // @ts-ignore
602
+ options['responseHeaders'] = ['Content-Range'];
603
603
  return this.hcClient.sendRequest(options);
604
604
  };
605
605
  /**
@@ -616,8 +616,8 @@ var SwrClient = /** @class */ (function () {
616
616
  */
617
617
  SwrClient.prototype.listTriggersDetails = function (listTriggersDetailsRequest) {
618
618
  var options = (0, exports.ParamCreater)().listTriggersDetails(listTriggersDetailsRequest);
619
- options['responseHeaders'] = [''];
620
619
  // @ts-ignore
620
+ options['responseHeaders'] = [''];
621
621
  return this.hcClient.sendRequest(options);
622
622
  };
623
623
  /**
@@ -635,8 +635,8 @@ var SwrClient = /** @class */ (function () {
635
635
  */
636
636
  SwrClient.prototype.showAccessDomain = function (showAccessDomainRequest) {
637
637
  var options = (0, exports.ParamCreater)().showAccessDomain(showAccessDomainRequest);
638
- options['responseHeaders'] = [''];
639
638
  // @ts-ignore
639
+ options['responseHeaders'] = [''];
640
640
  return this.hcClient.sendRequest(options);
641
641
  };
642
642
  /**
@@ -652,8 +652,8 @@ var SwrClient = /** @class */ (function () {
652
652
  */
653
653
  SwrClient.prototype.showNamespace = function (showNamespaceRequest) {
654
654
  var options = (0, exports.ParamCreater)().showNamespace(showNamespaceRequest);
655
- options['responseHeaders'] = [''];
656
655
  // @ts-ignore
656
+ options['responseHeaders'] = [''];
657
657
  return this.hcClient.sendRequest(options);
658
658
  };
659
659
  /**
@@ -669,8 +669,8 @@ var SwrClient = /** @class */ (function () {
669
669
  */
670
670
  SwrClient.prototype.showNamespaceAuth = function (showNamespaceAuthRequest) {
671
671
  var options = (0, exports.ParamCreater)().showNamespaceAuth(showNamespaceAuthRequest);
672
- options['responseHeaders'] = [''];
673
672
  // @ts-ignore
673
+ options['responseHeaders'] = [''];
674
674
  return this.hcClient.sendRequest(options);
675
675
  };
676
676
  /**
@@ -687,8 +687,8 @@ var SwrClient = /** @class */ (function () {
687
687
  */
688
688
  SwrClient.prototype.showRepository = function (showRepositoryRequest) {
689
689
  var options = (0, exports.ParamCreater)().showRepository(showRepositoryRequest);
690
- options['responseHeaders'] = [''];
691
690
  // @ts-ignore
691
+ options['responseHeaders'] = [''];
692
692
  return this.hcClient.sendRequest(options);
693
693
  };
694
694
  /**
@@ -706,8 +706,8 @@ var SwrClient = /** @class */ (function () {
706
706
  */
707
707
  SwrClient.prototype.showRetention = function (showRetentionRequest) {
708
708
  var options = (0, exports.ParamCreater)().showRetention(showRetentionRequest);
709
- options['responseHeaders'] = [''];
710
709
  // @ts-ignore
710
+ options['responseHeaders'] = [''];
711
711
  return this.hcClient.sendRequest(options);
712
712
  };
713
713
  /**
@@ -725,8 +725,8 @@ var SwrClient = /** @class */ (function () {
725
725
  */
726
726
  SwrClient.prototype.showSyncJob = function (showSyncJobRequest) {
727
727
  var options = (0, exports.ParamCreater)().showSyncJob(showSyncJobRequest);
728
- options['responseHeaders'] = ['Content-Range'];
729
728
  // @ts-ignore
729
+ options['responseHeaders'] = ['Content-Range'];
730
730
  return this.hcClient.sendRequest(options);
731
731
  };
732
732
  /**
@@ -744,8 +744,8 @@ var SwrClient = /** @class */ (function () {
744
744
  */
745
745
  SwrClient.prototype.showTrigger = function (showTriggerRequest) {
746
746
  var options = (0, exports.ParamCreater)().showTrigger(showTriggerRequest);
747
- options['responseHeaders'] = [''];
748
747
  // @ts-ignore
748
+ options['responseHeaders'] = [''];
749
749
  return this.hcClient.sendRequest(options);
750
750
  };
751
751
  /**
@@ -762,8 +762,8 @@ var SwrClient = /** @class */ (function () {
762
762
  */
763
763
  SwrClient.prototype.showUserRepositoryAuth = function (showUserRepositoryAuthRequest) {
764
764
  var options = (0, exports.ParamCreater)().showUserRepositoryAuth(showUserRepositoryAuthRequest);
765
- options['responseHeaders'] = [''];
766
765
  // @ts-ignore
766
+ options['responseHeaders'] = [''];
767
767
  return this.hcClient.sendRequest(options);
768
768
  };
769
769
  /**
@@ -780,8 +780,8 @@ var SwrClient = /** @class */ (function () {
780
780
  */
781
781
  SwrClient.prototype.updateNamespaceAuth = function (updateNamespaceAuthRequest) {
782
782
  var options = (0, exports.ParamCreater)().updateNamespaceAuth(updateNamespaceAuthRequest);
783
- options['responseHeaders'] = [''];
784
783
  // @ts-ignore
784
+ options['responseHeaders'] = [''];
785
785
  return this.hcClient.sendRequest(options);
786
786
  };
787
787
  /**
@@ -799,8 +799,8 @@ var SwrClient = /** @class */ (function () {
799
799
  */
800
800
  SwrClient.prototype.updateRepo = function (updateRepoRequest) {
801
801
  var options = (0, exports.ParamCreater)().updateRepo(updateRepoRequest);
802
- options['responseHeaders'] = [''];
803
802
  // @ts-ignore
803
+ options['responseHeaders'] = [''];
804
804
  return this.hcClient.sendRequest(options);
805
805
  };
806
806
  /**
@@ -819,8 +819,8 @@ var SwrClient = /** @class */ (function () {
819
819
  */
820
820
  SwrClient.prototype.updateRepoDomains = function (updateRepoDomainsRequest) {
821
821
  var options = (0, exports.ParamCreater)().updateRepoDomains(updateRepoDomainsRequest);
822
- options['responseHeaders'] = [''];
823
822
  // @ts-ignore
823
+ options['responseHeaders'] = [''];
824
824
  return this.hcClient.sendRequest(options);
825
825
  };
826
826
  /**
@@ -839,8 +839,8 @@ var SwrClient = /** @class */ (function () {
839
839
  */
840
840
  SwrClient.prototype.updateRetention = function (updateRetentionRequest) {
841
841
  var options = (0, exports.ParamCreater)().updateRetention(updateRetentionRequest);
842
- options['responseHeaders'] = [''];
843
842
  // @ts-ignore
843
+ options['responseHeaders'] = [''];
844
844
  return this.hcClient.sendRequest(options);
845
845
  };
846
846
  /**
@@ -859,8 +859,8 @@ var SwrClient = /** @class */ (function () {
859
859
  */
860
860
  SwrClient.prototype.updateTrigger = function (updateTriggerRequest) {
861
861
  var options = (0, exports.ParamCreater)().updateTrigger(updateTriggerRequest);
862
- options['responseHeaders'] = [''];
863
862
  // @ts-ignore
863
+ options['responseHeaders'] = [''];
864
864
  return this.hcClient.sendRequest(options);
865
865
  };
866
866
  /**
@@ -878,8 +878,8 @@ var SwrClient = /** @class */ (function () {
878
878
  */
879
879
  SwrClient.prototype.updateUserRepositoryAuth = function (updateUserRepositoryAuthRequest) {
880
880
  var options = (0, exports.ParamCreater)().updateUserRepositoryAuth(updateUserRepositoryAuthRequest);
881
- options['responseHeaders'] = [''];
882
881
  // @ts-ignore
882
+ options['responseHeaders'] = [''];
883
883
  return this.hcClient.sendRequest(options);
884
884
  };
885
885
  /**
@@ -894,8 +894,8 @@ var SwrClient = /** @class */ (function () {
894
894
  */
895
895
  SwrClient.prototype.listApiVersions = function (listApiVersionsRequest) {
896
896
  var options = (0, exports.ParamCreater)().listApiVersions(listApiVersionsRequest);
897
- options['responseHeaders'] = [''];
898
897
  // @ts-ignore
898
+ options['responseHeaders'] = [''];
899
899
  return this.hcClient.sendRequest(options);
900
900
  };
901
901
  /**
@@ -911,8 +911,8 @@ var SwrClient = /** @class */ (function () {
911
911
  */
912
912
  SwrClient.prototype.showApiVersion = function (showApiVersionRequest) {
913
913
  var options = (0, exports.ParamCreater)().showApiVersion(showApiVersionRequest);
914
- options['responseHeaders'] = [''];
915
914
  // @ts-ignore
915
+ options['responseHeaders'] = [''];
916
916
  return this.hcClient.sendRequest(options);
917
917
  };
918
918
  return SwrClient;
package/v2/SwrRegion.d.ts CHANGED
@@ -12,6 +12,11 @@ export declare class SwrRegion {
12
12
  static CN_SOUTH_2: any;
13
13
  static CN_SOUTHWEST_2: any;
14
14
  static RU_NORTHWEST_2: any;
15
+ static LA_SOUTH_2: any;
16
+ static SA_BRAZIL_1: any;
17
+ static CN_NORTH_9: any;
18
+ static NA_MEXICO_1: any;
19
+ static LA_NORTH_2: any;
15
20
  private static STATIC_FIELDS;
16
21
  private static createStaticFields;
17
22
  static valueOf(regionId: String): any;
package/v2/SwrRegion.js CHANGED
@@ -20,6 +20,11 @@ var SwrRegion = /** @class */ (function () {
20
20
  map.set("cn-south-2", SwrRegion.CN_SOUTH_2);
21
21
  map.set("cn-southwest-2", SwrRegion.CN_SOUTHWEST_2);
22
22
  map.set("ru-northwest-2", SwrRegion.RU_NORTHWEST_2);
23
+ map.set("la-south-2", SwrRegion.LA_SOUTH_2);
24
+ map.set("sa-brazil-1", SwrRegion.SA_BRAZIL_1);
25
+ map.set("cn-north-9", SwrRegion.CN_NORTH_9);
26
+ map.set("na-mexico-1", SwrRegion.NA_MEXICO_1);
27
+ map.set("la-north-2", SwrRegion.LA_NORTH_2);
23
28
  return map;
24
29
  };
25
30
  SwrRegion.valueOf = function (regionId) {
@@ -45,6 +50,11 @@ var SwrRegion = /** @class */ (function () {
45
50
  SwrRegion.CN_SOUTH_2 = new region_1.Region("cn-south-2", "https://swr-api.cn-south-2.myhuaweicloud.com");
46
51
  SwrRegion.CN_SOUTHWEST_2 = new region_1.Region("cn-southwest-2", "https://swr-api.cn-southwest-2.myhuaweicloud.com");
47
52
  SwrRegion.RU_NORTHWEST_2 = new region_1.Region("ru-northwest-2", "https://swr-api.ru-northwest-2.myhuaweicloud.com");
53
+ SwrRegion.LA_SOUTH_2 = new region_1.Region("la-south-2", "https://swr-api.la-south-2.myhuaweicloud.com");
54
+ SwrRegion.SA_BRAZIL_1 = new region_1.Region("sa-brazil-1", "https://swr-api.sa-brazil-1.myhuaweicloud.com");
55
+ SwrRegion.CN_NORTH_9 = new region_1.Region("cn-north-9", "https://swr-api.cn-north-9.myhuaweicloud.com");
56
+ SwrRegion.NA_MEXICO_1 = new region_1.Region("na-mexico-1", "https://swr-api.na-mexico-1.myhuaweicloud.com");
57
+ SwrRegion.LA_NORTH_2 = new region_1.Region("la-north-2", "https://swr-api.la-north-2.myhuaweicloud.com");
48
58
  SwrRegion.STATIC_FIELDS = SwrRegion.createStaticFields();
49
59
  return SwrRegion;
50
60
  }());