@alicloud/websitebuild20250429 2.30.3 → 2.31.0

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
@@ -29,6 +29,21 @@ export default class Client extends OpenApi {
29
29
  * @returns AllocateSupabaseForAdminResponse
30
30
  */
31
31
  allocateSupabaseForAdmin(request: $_model.AllocateSupabaseForAdminRequest): Promise<$_model.AllocateSupabaseForAdminResponse>;
32
+ /**
33
+ * Grants proxy-based O&M permissions for an application instance.
34
+ *
35
+ * @param request - AuthorizeAppProxyOpsRequest
36
+ * @param runtime - runtime options for this request RuntimeOptions
37
+ * @returns AuthorizeAppProxyOpsResponse
38
+ */
39
+ authorizeAppProxyOpsWithOptions(request: $_model.AuthorizeAppProxyOpsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AuthorizeAppProxyOpsResponse>;
40
+ /**
41
+ * Grants proxy-based O&M permissions for an application instance.
42
+ *
43
+ * @param request - AuthorizeAppProxyOpsRequest
44
+ * @returns AuthorizeAppProxyOpsResponse
45
+ */
46
+ authorizeAppProxyOps(request: $_model.AuthorizeAppProxyOpsRequest): Promise<$_model.AuthorizeAppProxyOpsResponse>;
32
47
  /**
33
48
  * Checks resource usage in batches.
34
49
  *
@@ -1659,10 +1674,10 @@ export default class Client extends OpenApi {
1659
1674
  */
1660
1675
  listAppTemplateDicts(request: $_model.ListAppTemplateDictsRequest): Promise<$_model.ListAppTemplateDictsResponse>;
1661
1676
  /**
1662
- * Query template list
1677
+ * Queries the list of website templates.
1663
1678
  *
1664
1679
  * @remarks
1665
- * Obtain barcode generation plugin configuration information
1680
+ * Retrieves the configuration information of the code generation plugin.
1666
1681
  *
1667
1682
  * @param request - ListAppTemplatesRequest
1668
1683
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1670,10 +1685,10 @@ export default class Client extends OpenApi {
1670
1685
  */
1671
1686
  listAppTemplatesWithOptions(request: $_model.ListAppTemplatesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListAppTemplatesResponse>;
1672
1687
  /**
1673
- * Query template list
1688
+ * Queries the list of website templates.
1674
1689
  *
1675
1690
  * @remarks
1676
- * Obtain barcode generation plugin configuration information
1691
+ * Retrieves the configuration information of the code generation plugin.
1677
1692
  *
1678
1693
  * @param request - ListAppTemplatesRequest
1679
1694
  * @returns ListAppTemplatesResponse
package/dist/client.js CHANGED
@@ -148,6 +148,45 @@ class Client extends openapi_core_1.default {
148
148
  let runtime = new $dara.RuntimeOptions({});
149
149
  return await this.allocateSupabaseForAdminWithOptions(request, runtime);
150
150
  }
151
+ /**
152
+ * Grants proxy-based O&M permissions for an application instance.
153
+ *
154
+ * @param request - AuthorizeAppProxyOpsRequest
155
+ * @param runtime - runtime options for this request RuntimeOptions
156
+ * @returns AuthorizeAppProxyOpsResponse
157
+ */
158
+ async authorizeAppProxyOpsWithOptions(request, runtime) {
159
+ request.validate();
160
+ let body = {};
161
+ if (!$dara.isNull(request.conversationId)) {
162
+ body["ConversationId"] = request.conversationId;
163
+ }
164
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
165
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
166
+ });
167
+ let params = new openapi_core_2.$OpenApiUtil.Params({
168
+ action: "AuthorizeAppProxyOps",
169
+ version: "2025-04-29",
170
+ protocol: "HTTPS",
171
+ pathname: "/",
172
+ method: "POST",
173
+ authType: "AK",
174
+ style: "RPC",
175
+ reqBodyType: "formData",
176
+ bodyType: "json",
177
+ });
178
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.AuthorizeAppProxyOpsResponse({}));
179
+ }
180
+ /**
181
+ * Grants proxy-based O&M permissions for an application instance.
182
+ *
183
+ * @param request - AuthorizeAppProxyOpsRequest
184
+ * @returns AuthorizeAppProxyOpsResponse
185
+ */
186
+ async authorizeAppProxyOps(request) {
187
+ let runtime = new $dara.RuntimeOptions({});
188
+ return await this.authorizeAppProxyOpsWithOptions(request, runtime);
189
+ }
151
190
  /**
152
191
  * Checks resource usage in batches.
153
192
  *
@@ -4541,10 +4580,10 @@ class Client extends openapi_core_1.default {
4541
4580
  return await this.listAppTemplateDictsWithOptions(request, runtime);
4542
4581
  }
4543
4582
  /**
4544
- * Query template list
4583
+ * Queries the list of website templates.
4545
4584
  *
4546
4585
  * @remarks
4547
- * Obtain barcode generation plugin configuration information
4586
+ * Retrieves the configuration information of the code generation plugin.
4548
4587
  *
4549
4588
  * @param request - ListAppTemplatesRequest
4550
4589
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4600,10 +4639,10 @@ class Client extends openapi_core_1.default {
4600
4639
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAppTemplatesResponse({}));
4601
4640
  }
4602
4641
  /**
4603
- * Query template list
4642
+ * Queries the list of website templates.
4604
4643
  *
4605
4644
  * @remarks
4606
- * Obtain barcode generation plugin configuration information
4645
+ * Retrieves the configuration information of the code generation plugin.
4607
4646
  *
4608
4647
  * @param request - ListAppTemplatesRequest
4609
4648
  * @returns ListAppTemplatesResponse