@alicloud/esa20240910 2.9.2 → 2.10.2

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": "@alicloud/esa20240910",
3
- "version": "2.9.2",
3
+ "version": "2.10.2",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -18468,10 +18468,12 @@ export class ListPagesRequest extends $tea.Model {
18468
18468
  * 20
18469
18469
  */
18470
18470
  pageSize?: number;
18471
+ queryArgs?: ListPagesRequestQueryArgs;
18471
18472
  static names(): { [key: string]: string } {
18472
18473
  return {
18473
18474
  pageNumber: 'PageNumber',
18474
18475
  pageSize: 'PageSize',
18476
+ queryArgs: 'QueryArgs',
18475
18477
  };
18476
18478
  }
18477
18479
 
@@ -18479,6 +18481,46 @@ export class ListPagesRequest extends $tea.Model {
18479
18481
  return {
18480
18482
  pageNumber: 'number',
18481
18483
  pageSize: 'number',
18484
+ queryArgs: ListPagesRequestQueryArgs,
18485
+ };
18486
+ }
18487
+
18488
+ constructor(map?: { [key: string]: any }) {
18489
+ super(map);
18490
+ }
18491
+ }
18492
+
18493
+ export class ListPagesShrinkRequest extends $tea.Model {
18494
+ /**
18495
+ * @remarks
18496
+ * The page number. Valid values: **1 to 100000**. Default value: 1.
18497
+ *
18498
+ * @example
18499
+ * 1
18500
+ */
18501
+ pageNumber?: number;
18502
+ /**
18503
+ * @remarks
18504
+ * The number of entries per page. Default value: 20.
18505
+ *
18506
+ * @example
18507
+ * 20
18508
+ */
18509
+ pageSize?: number;
18510
+ queryArgsShrink?: string;
18511
+ static names(): { [key: string]: string } {
18512
+ return {
18513
+ pageNumber: 'PageNumber',
18514
+ pageSize: 'PageSize',
18515
+ queryArgsShrink: 'QueryArgs',
18516
+ };
18517
+ }
18518
+
18519
+ static types(): { [key: string]: any } {
18520
+ return {
18521
+ pageNumber: 'number',
18522
+ pageSize: 'number',
18523
+ queryArgsShrink: 'string',
18482
18524
  };
18483
18525
  }
18484
18526
 
@@ -19331,6 +19373,12 @@ export class ListSitesRequest extends $tea.Model {
19331
19373
  */
19332
19374
  onlyEnterprise?: boolean;
19333
19375
  /**
19376
+ * @remarks
19377
+ * null
19378
+ *
19379
+ * * null
19380
+ * * null
19381
+ *
19334
19382
  * @example
19335
19383
  * visitTime
19336
19384
  */
@@ -19345,7 +19393,7 @@ export class ListSitesRequest extends $tea.Model {
19345
19393
  pageNumber?: number;
19346
19394
  /**
19347
19395
  * @remarks
19348
- * The number of entries per page. Default value: **500**.
19396
+ * The number of entries per page. Default value: 500.
19349
19397
  *
19350
19398
  * @example
19351
19399
  * 20
@@ -19386,7 +19434,7 @@ export class ListSitesRequest extends $tea.Model {
19386
19434
  *
19387
19435
  * * **prefix**: match by prefix.
19388
19436
  * * **suffix**: match by suffix.
19389
- * * **exact**: exact match.
19437
+ * * **null**
19390
19438
  * * **fuzzy**: fuzzy match.
19391
19439
  *
19392
19440
  * @example
@@ -19478,6 +19526,12 @@ export class ListSitesShrinkRequest extends $tea.Model {
19478
19526
  */
19479
19527
  onlyEnterprise?: boolean;
19480
19528
  /**
19529
+ * @remarks
19530
+ * null
19531
+ *
19532
+ * * null
19533
+ * * null
19534
+ *
19481
19535
  * @example
19482
19536
  * visitTime
19483
19537
  */
@@ -19492,7 +19546,7 @@ export class ListSitesShrinkRequest extends $tea.Model {
19492
19546
  pageNumber?: number;
19493
19547
  /**
19494
19548
  * @remarks
19495
- * The number of entries per page. Default value: **500**.
19549
+ * The number of entries per page. Default value: 500.
19496
19550
  *
19497
19551
  * @example
19498
19552
  * 20
@@ -19533,7 +19587,7 @@ export class ListSitesShrinkRequest extends $tea.Model {
19533
19587
  *
19534
19588
  * * **prefix**: match by prefix.
19535
19589
  * * **suffix**: match by suffix.
19536
- * * **exact**: exact match.
19590
+ * * **null**
19537
19591
  * * **fuzzy**: fuzzy match.
19538
19592
  *
19539
19593
  * @example
@@ -19712,7 +19766,7 @@ export class ListTagResourcesRequest extends $tea.Model {
19712
19766
  regionId?: string;
19713
19767
  /**
19714
19768
  * @remarks
19715
- * The website information. Valid values of he number of website IDs: **1** to **50**.
19769
+ * The website ID.
19716
19770
  */
19717
19771
  resourceId?: string[];
19718
19772
  /**
@@ -23072,6 +23126,7 @@ export class SetCertificateRequest extends $tea.Model {
23072
23126
  }
23073
23127
 
23074
23128
  export class SetCertificateResponseBody extends $tea.Model {
23129
+ id?: string;
23075
23130
  /**
23076
23131
  * @remarks
23077
23132
  * The request ID.
@@ -23082,12 +23137,14 @@ export class SetCertificateResponseBody extends $tea.Model {
23082
23137
  requestId?: string;
23083
23138
  static names(): { [key: string]: string } {
23084
23139
  return {
23140
+ id: 'Id',
23085
23141
  requestId: 'RequestId',
23086
23142
  };
23087
23143
  }
23088
23144
 
23089
23145
  static types(): { [key: string]: any } {
23090
23146
  return {
23147
+ id: 'string',
23091
23148
  requestId: 'string',
23092
23149
  };
23093
23150
  }
@@ -37702,6 +37759,25 @@ export class ListOriginPoolsResponseBodyOriginPools extends $tea.Model {
37702
37759
  }
37703
37760
  }
37704
37761
 
37762
+ export class ListPagesRequestQueryArgs extends $tea.Model {
37763
+ nameDescriptionLike?: string;
37764
+ static names(): { [key: string]: string } {
37765
+ return {
37766
+ nameDescriptionLike: 'NameDescriptionLike',
37767
+ };
37768
+ }
37769
+
37770
+ static types(): { [key: string]: any } {
37771
+ return {
37772
+ nameDescriptionLike: 'string',
37773
+ };
37774
+ }
37775
+
37776
+ constructor(map?: { [key: string]: any }) {
37777
+ super(map);
37778
+ }
37779
+ }
37780
+
37705
37781
  export class ListPagesResponseBodyPages extends $tea.Model {
37706
37782
  /**
37707
37783
  * @remarks
@@ -38775,6 +38851,9 @@ export class ListSitesResponseBodySites extends $tea.Model {
38775
38851
  */
38776
38852
  verifyCode?: string;
38777
38853
  /**
38854
+ * @remarks
38855
+ * null
38856
+ *
38778
38857
  * @example
38779
38858
  * 2023-12-24T02:01:11Z
38780
38859
  */
@@ -39151,6 +39230,7 @@ export class ListUserRatePlanInstancesResponseBodyInstanceInfo extends $tea.Mode
39151
39230
  */
39152
39231
  billingMode?: string;
39153
39232
  botInstanceLevel?: string;
39233
+ botRequest?: string;
39154
39234
  /**
39155
39235
  * @remarks
39156
39236
  * The service locations for the websites that can be associated with the plan. Multiple values are separated by commas (,). Valid values:
@@ -39254,6 +39334,7 @@ export class ListUserRatePlanInstancesResponseBodyInstanceInfo extends $tea.Mode
39254
39334
  return {
39255
39335
  billingMode: 'BillingMode',
39256
39336
  botInstanceLevel: 'BotInstanceLevel',
39337
+ botRequest: 'BotRequest',
39257
39338
  coverages: 'Coverages',
39258
39339
  createTime: 'CreateTime',
39259
39340
  crossborderTraffic: 'CrossborderTraffic',
@@ -39282,6 +39363,7 @@ export class ListUserRatePlanInstancesResponseBodyInstanceInfo extends $tea.Mode
39282
39363
  return {
39283
39364
  billingMode: 'string',
39284
39365
  botInstanceLevel: 'string',
39366
+ botRequest: 'string',
39285
39367
  coverages: 'string',
39286
39368
  createTime: 'string',
39287
39369
  crossborderTraffic: 'string',
@@ -47269,12 +47351,18 @@ export default class Client extends OpenApi {
47269
47351
  /**
47270
47352
  * Lists all custom error pages that you created. You can define the page number and the number of entries per page to display the response.
47271
47353
  *
47272
- * @param request - ListPagesRequest
47354
+ * @param tmpReq - ListPagesRequest
47273
47355
  * @param runtime - runtime options for this request RuntimeOptions
47274
47356
  * @returns ListPagesResponse
47275
47357
  */
47276
- async listPagesWithOptions(request: ListPagesRequest, runtime: $Util.RuntimeOptions): Promise<ListPagesResponse> {
47277
- Util.validateModel(request);
47358
+ async listPagesWithOptions(tmpReq: ListPagesRequest, runtime: $Util.RuntimeOptions): Promise<ListPagesResponse> {
47359
+ Util.validateModel(tmpReq);
47360
+ let request = new ListPagesShrinkRequest({ });
47361
+ OpenApiUtil.convert(tmpReq, request);
47362
+ if (!Util.isUnset(tmpReq.queryArgs)) {
47363
+ request.queryArgsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.queryArgs, "QueryArgs", "json");
47364
+ }
47365
+
47278
47366
  let query = { };
47279
47367
  if (!Util.isUnset(request.pageNumber)) {
47280
47368
  query["PageNumber"] = request.pageNumber;
@@ -47284,6 +47372,10 @@ export default class Client extends OpenApi {
47284
47372
  query["PageSize"] = request.pageSize;
47285
47373
  }
47286
47374
 
47375
+ if (!Util.isUnset(request.queryArgsShrink)) {
47376
+ query["QueryArgs"] = request.queryArgsShrink;
47377
+ }
47378
+
47287
47379
  let req = new $OpenApi.OpenApiRequest({
47288
47380
  query: OpenApiUtil.query(query),
47289
47381
  });
@@ -49701,9 +49793,9 @@ export default class Client extends OpenApi {
49701
49793
  * Converts the DNS setup option of a website.
49702
49794
  *
49703
49795
  * @remarks
49704
- * When you change the DNS setup of a website from NS to CNAME, take note of the following items:
49705
- * * Make sure that the website has only proxied A/AAAA and CNAME records.
49706
- * * Make sure that ESA proxy is not disabled for the website and custom nameservers are not configured.
49796
+ * When you change the DNS setup of a website from NS to CNAME, note the following prerequisites:
49797
+ * * The website only has proxied A/AAAA and CNAME records.
49798
+ * * The DNS passthrough mode and custom nameserver features are not enabled for the website.
49707
49799
  *
49708
49800
  * @param request - UpdateSiteAccessTypeRequest
49709
49801
  * @param runtime - runtime options for this request RuntimeOptions
@@ -49741,9 +49833,9 @@ export default class Client extends OpenApi {
49741
49833
  * Converts the DNS setup option of a website.
49742
49834
  *
49743
49835
  * @remarks
49744
- * When you change the DNS setup of a website from NS to CNAME, take note of the following items:
49745
- * * Make sure that the website has only proxied A/AAAA and CNAME records.
49746
- * * Make sure that ESA proxy is not disabled for the website and custom nameservers are not configured.
49836
+ * When you change the DNS setup of a website from NS to CNAME, note the following prerequisites:
49837
+ * * The website only has proxied A/AAAA and CNAME records.
49838
+ * * The DNS passthrough mode and custom nameserver features are not enabled for the website.
49747
49839
  *
49748
49840
  * @param request - UpdateSiteAccessTypeRequest
49749
49841
  * @returns UpdateSiteAccessTypeResponse