@alicloud/websitebuild20250429 2.27.0 → 2.27.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.
Files changed (32) hide show
  1. package/dist/client.d.ts +8 -8
  2. package/dist/client.js +22 -9
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AppInstanceProfile.d.ts +3 -2
  5. package/dist/models/AppInstanceProfile.js +6 -4
  6. package/dist/models/AppInstanceProfile.js.map +1 -1
  7. package/dist/models/ConfirmAppInstanceRequest.d.ts +37 -0
  8. package/dist/models/ConfirmAppInstanceRequest.js.map +1 -1
  9. package/dist/models/ConfirmAppInstanceResponseBody.d.ts +47 -0
  10. package/dist/models/ConfirmAppInstanceResponseBody.js.map +1 -1
  11. package/dist/models/ListAppInstancesRequest.d.ts +4 -3
  12. package/dist/models/ListAppInstancesRequest.js +5 -0
  13. package/dist/models/ListAppInstancesRequest.js.map +1 -1
  14. package/dist/models/ListAppInstancesResponseBody.d.ts +3 -3
  15. package/dist/models/ListAppInstancesShrinkRequest.d.ts +4 -3
  16. package/dist/models/ListAppInstancesShrinkRequest.js +2 -0
  17. package/dist/models/ListAppInstancesShrinkRequest.js.map +1 -1
  18. package/dist/models/NotifyAppNotificationForAdminRequest.d.ts +10 -0
  19. package/dist/models/NotifyAppNotificationForAdminRequest.js +2 -0
  20. package/dist/models/NotifyAppNotificationForAdminRequest.js.map +1 -1
  21. package/dist/models/NotifyAppNotificationForAdminResponseBody.d.ts +34 -0
  22. package/dist/models/NotifyAppNotificationForAdminResponseBody.js.map +1 -1
  23. package/package.json +1 -1
  24. package/src/client.ts +25 -9
  25. package/src/models/AppInstanceProfile.ts +9 -6
  26. package/src/models/ConfirmAppInstanceRequest.ts +37 -0
  27. package/src/models/ConfirmAppInstanceResponseBody.ts +47 -0
  28. package/src/models/ListAppInstancesRequest.ts +9 -3
  29. package/src/models/ListAppInstancesResponseBody.ts +3 -3
  30. package/src/models/ListAppInstancesShrinkRequest.ts +6 -3
  31. package/src/models/NotifyAppNotificationForAdminRequest.ts +12 -0
  32. package/src/models/NotifyAppNotificationForAdminResponseBody.ts +34 -0
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
@@ -4110,6 +4114,9 @@ class Client extends openapi_core_1.default {
4110
4114
  tmpReq.validate();
4111
4115
  let request = new $_model.ListAppInstancesShrinkRequest({});
4112
4116
  openapi_core_2.OpenApiUtil.convert(tmpReq, request);
4117
+ if (!$dara.isNull(tmpReq.bizIds)) {
4118
+ request.bizIdsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.bizIds, "BizIds", "json");
4119
+ }
4113
4120
  if (!$dara.isNull(tmpReq.statusList)) {
4114
4121
  request.statusListShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.statusList, "StatusList", "json");
4115
4122
  }
@@ -4117,6 +4124,9 @@ class Client extends openapi_core_1.default {
4117
4124
  if (!$dara.isNull(request.bizId)) {
4118
4125
  query["BizId"] = request.bizId;
4119
4126
  }
4127
+ if (!$dara.isNull(request.bizIdsShrink)) {
4128
+ query["BizIds"] = request.bizIdsShrink;
4129
+ }
4120
4130
  if (!$dara.isNull(request.endTimeBegin)) {
4121
4131
  query["EndTimeBegin"] = request.endTimeBegin;
4122
4132
  }
@@ -4832,10 +4842,10 @@ class Client extends openapi_core_1.default {
4832
4842
  return await this.moveMaterialFileWithOptions(request, runtime);
4833
4843
  }
4834
4844
  /**
4835
- * 数据变更通知触发(for admin
4845
+ * Triggers a data change notification (for admin).
4836
4846
  *
4837
4847
  * @remarks
4838
- * 查询应用实例信息
4848
+ * Queries application instance information.
4839
4849
  *
4840
4850
  * @param request - NotifyAppNotificationForAdminRequest
4841
4851
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4850,6 +4860,9 @@ class Client extends openapi_core_1.default {
4850
4860
  if (!$dara.isNull(request.env)) {
4851
4861
  query["Env"] = request.env;
4852
4862
  }
4863
+ if (!$dara.isNull(request.payload)) {
4864
+ query["Payload"] = request.payload;
4865
+ }
4853
4866
  if (!$dara.isNull(request.sceneId)) {
4854
4867
  query["SceneId"] = request.sceneId;
4855
4868
  }
@@ -4870,10 +4883,10 @@ class Client extends openapi_core_1.default {
4870
4883
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.NotifyAppNotificationForAdminResponse({}));
4871
4884
  }
4872
4885
  /**
4873
- * 数据变更通知触发(for admin
4886
+ * Triggers a data change notification (for admin).
4874
4887
  *
4875
4888
  * @remarks
4876
- * 查询应用实例信息
4889
+ * Queries application instance information.
4877
4890
  *
4878
4891
  * @param request - NotifyAppNotificationForAdminRequest
4879
4892
  * @returns NotifyAppNotificationForAdminResponse