@alicloud/websitebuild20250429 2.27.0 → 2.27.1

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/dist/client.d.ts CHANGED
@@ -129,10 +129,10 @@ export default class Client extends OpenApi {
129
129
  */
130
130
  checkUserResourceMeasure(request: $_model.CheckUserResourceMeasureRequest): Promise<$_model.CheckUserResourceMeasureResponse>;
131
131
  /**
132
- * 试用转正
132
+ * Converts a trial instance to a paid instance.
133
133
  *
134
134
  * @remarks
135
- * 查询应用实例信息
135
+ * Queries application instance information.
136
136
  *
137
137
  * @param request - ConfirmAppInstanceRequest
138
138
  * @param runtime - runtime options for this request RuntimeOptions
@@ -140,10 +140,10 @@ export default class Client extends OpenApi {
140
140
  */
141
141
  confirmAppInstanceWithOptions(request: $_model.ConfirmAppInstanceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ConfirmAppInstanceResponse>;
142
142
  /**
143
- * 试用转正
143
+ * Converts a trial instance to a paid instance.
144
144
  *
145
145
  * @remarks
146
- * 查询应用实例信息
146
+ * Queries application instance information.
147
147
  *
148
148
  * @param request - ConfirmAppInstanceRequest
149
149
  * @returns ConfirmAppInstanceResponse
@@ -1755,10 +1755,10 @@ export default class Client extends OpenApi {
1755
1755
  */
1756
1756
  moveMaterialFile(request: $_model.MoveMaterialFileRequest): Promise<$_model.MoveMaterialFileResponse>;
1757
1757
  /**
1758
- * 数据变更通知触发(for admin
1758
+ * Triggers a data change notification (for admin).
1759
1759
  *
1760
1760
  * @remarks
1761
- * 查询应用实例信息
1761
+ * Queries application instance information.
1762
1762
  *
1763
1763
  * @param request - NotifyAppNotificationForAdminRequest
1764
1764
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1766,10 +1766,10 @@ export default class Client extends OpenApi {
1766
1766
  */
1767
1767
  notifyAppNotificationForAdminWithOptions(request: $_model.NotifyAppNotificationForAdminRequest, runtime: $dara.RuntimeOptions): Promise<$_model.NotifyAppNotificationForAdminResponse>;
1768
1768
  /**
1769
- * 数据变更通知触发(for admin
1769
+ * Triggers a data change notification (for admin).
1770
1770
  *
1771
1771
  * @remarks
1772
- * 查询应用实例信息
1772
+ * Queries application instance information.
1773
1773
  *
1774
1774
  * @param request - NotifyAppNotificationForAdminRequest
1775
1775
  * @returns NotifyAppNotificationForAdminResponse
package/dist/client.js CHANGED
@@ -68,7 +68,11 @@ __exportStar(require("./models/model"), exports);
68
68
  class Client extends openapi_core_1.default {
69
69
  constructor(config) {
70
70
  super(config);
71
- this._endpointRule = "";
71
+ this._endpointRule = "regional";
72
+ this._endpointMap = {
73
+ public: "websitebuild.aliyuncs.com",
74
+ 'cn-zhangjiakou': "websitebuild.aliyuncs.com",
75
+ };
72
76
  this.checkConfig(config);
73
77
  this._endpoint = this.getEndpoint("websitebuild", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
74
78
  }
@@ -433,10 +437,10 @@ class Client extends openapi_core_1.default {
433
437
  return await this.checkUserResourceMeasureWithOptions(request, runtime);
434
438
  }
435
439
  /**
436
- * 试用转正
440
+ * Converts a trial instance to a paid instance.
437
441
  *
438
442
  * @remarks
439
- * 查询应用实例信息
443
+ * Queries application instance information.
440
444
  *
441
445
  * @param request - ConfirmAppInstanceRequest
442
446
  * @param runtime - runtime options for this request RuntimeOptions
@@ -498,10 +502,10 @@ class Client extends openapi_core_1.default {
498
502
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ConfirmAppInstanceResponse({}));
499
503
  }
500
504
  /**
501
- * 试用转正
505
+ * Converts a trial instance to a paid instance.
502
506
  *
503
507
  * @remarks
504
- * 查询应用实例信息
508
+ * Queries application instance information.
505
509
  *
506
510
  * @param request - ConfirmAppInstanceRequest
507
511
  * @returns ConfirmAppInstanceResponse
@@ -4832,10 +4836,10 @@ class Client extends openapi_core_1.default {
4832
4836
  return await this.moveMaterialFileWithOptions(request, runtime);
4833
4837
  }
4834
4838
  /**
4835
- * 数据变更通知触发(for admin
4839
+ * Triggers a data change notification (for admin).
4836
4840
  *
4837
4841
  * @remarks
4838
- * 查询应用实例信息
4842
+ * Queries application instance information.
4839
4843
  *
4840
4844
  * @param request - NotifyAppNotificationForAdminRequest
4841
4845
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4850,6 +4854,9 @@ class Client extends openapi_core_1.default {
4850
4854
  if (!$dara.isNull(request.env)) {
4851
4855
  query["Env"] = request.env;
4852
4856
  }
4857
+ if (!$dara.isNull(request.payload)) {
4858
+ query["Payload"] = request.payload;
4859
+ }
4853
4860
  if (!$dara.isNull(request.sceneId)) {
4854
4861
  query["SceneId"] = request.sceneId;
4855
4862
  }
@@ -4870,10 +4877,10 @@ class Client extends openapi_core_1.default {
4870
4877
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.NotifyAppNotificationForAdminResponse({}));
4871
4878
  }
4872
4879
  /**
4873
- * 数据变更通知触发(for admin
4880
+ * Triggers a data change notification (for admin).
4874
4881
  *
4875
4882
  * @remarks
4876
- * 查询应用实例信息
4883
+ * Queries application instance information.
4877
4884
  *
4878
4885
  * @param request - NotifyAppNotificationForAdminRequest
4879
4886
  * @returns NotifyAppNotificationForAdminResponse