@alicloud/websitebuild20250429 2.38.8 → 2.38.9

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 (86) hide show
  1. package/dist/client.d.ts +35 -0
  2. package/dist/client.js +66 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AppInstanceProfile.d.ts +11 -11
  5. package/dist/models/AppOperationAddress.d.ts +6 -0
  6. package/dist/models/AppOperationAddress.js.map +1 -1
  7. package/dist/models/AppService.d.ts +7 -4
  8. package/dist/models/AppService.js.map +1 -1
  9. package/dist/models/AppServiceAggregate.d.ts +7 -4
  10. package/dist/models/AppServiceAggregate.js.map +1 -1
  11. package/dist/models/AuthorizeAppProxyOpsResponseBody.d.ts +2 -2
  12. package/dist/models/BatchCheckResourceMeasureResponseBody.d.ts +3 -0
  13. package/dist/models/BatchCheckResourceMeasureResponseBody.js.map +1 -1
  14. package/dist/models/CreateAistaffChatRequest.d.ts +6 -0
  15. package/dist/models/CreateAistaffChatRequest.js.map +1 -1
  16. package/dist/models/CreateAppAssistantAgentResponseBody.d.ts +9 -0
  17. package/dist/models/CreateAppAssistantAgentResponseBody.js.map +1 -1
  18. package/dist/models/CreateAppAssistantAgentSsoLoginResponseBody.d.ts +3 -0
  19. package/dist/models/CreateAppAssistantAgentSsoLoginResponseBody.js.map +1 -1
  20. package/dist/models/GetAistaffPreviewUrlResponseBody.d.ts +4 -1
  21. package/dist/models/GetAistaffPreviewUrlResponseBody.js.map +1 -1
  22. package/dist/models/GetAppInstanceEntitlementResponseBody.d.ts +2 -2
  23. package/dist/models/GetAppPluginConfigForAdminRequest.d.ts +33 -0
  24. package/dist/models/GetAppPluginConfigForAdminRequest.js +60 -0
  25. package/dist/models/GetAppPluginConfigForAdminRequest.js.map +1 -0
  26. package/dist/models/GetAppPluginConfigForAdminResponse.d.ts +19 -0
  27. package/dist/models/GetAppPluginConfigForAdminResponse.js +69 -0
  28. package/dist/models/GetAppPluginConfigForAdminResponse.js.map +1 -0
  29. package/dist/models/GetAppPluginConfigForAdminResponseBody.d.ts +137 -0
  30. package/dist/models/GetAppPluginConfigForAdminResponseBody.js +104 -0
  31. package/dist/models/GetAppPluginConfigForAdminResponseBody.js.map +1 -0
  32. package/dist/models/GetLlmProxyConfigForAdminResponseBody.d.ts +2 -2
  33. package/dist/models/ListAppAssistantAgentsResponseBody.d.ts +10 -1
  34. package/dist/models/ListAppAssistantAgentsResponseBody.js.map +1 -1
  35. package/dist/models/ListAppCommoditySpecificationsForPartnerResponseBody.d.ts +3 -0
  36. package/dist/models/ListAppCommoditySpecificationsForPartnerResponseBody.js.map +1 -1
  37. package/dist/models/ListAppCommoditySpecificationsV2forPartnerResponseBody.d.ts +12 -0
  38. package/dist/models/ListAppCommoditySpecificationsV2forPartnerResponseBody.js.map +1 -1
  39. package/dist/models/ListAppPluginConfigsResponseBody.d.ts +3 -0
  40. package/dist/models/ListAppPluginConfigsResponseBody.js.map +1 -1
  41. package/dist/models/ListIsvPaymentPluginConfigsResponseBody.d.ts +3 -0
  42. package/dist/models/ListIsvPaymentPluginConfigsResponseBody.js.map +1 -1
  43. package/dist/models/ModuleDataComponentsValue.d.ts +4 -1
  44. package/dist/models/ModuleDataComponentsValue.js.map +1 -1
  45. package/dist/models/ModuleNextComponentsValue.d.ts +4 -1
  46. package/dist/models/ModuleNextComponentsValue.js.map +1 -1
  47. package/dist/models/ModuleVersionsValue.d.ts +3 -0
  48. package/dist/models/ModuleVersionsValue.js.map +1 -1
  49. package/dist/models/ModuleVersionsValueComponentsValue.d.ts +4 -1
  50. package/dist/models/ModuleVersionsValueComponentsValue.js.map +1 -1
  51. package/dist/models/QuerySupabaseConfigsForAdminResponseBody.d.ts +3 -0
  52. package/dist/models/QuerySupabaseConfigsForAdminResponseBody.js.map +1 -1
  53. package/dist/models/RenewAppSandboxResponseBody.d.ts +3 -0
  54. package/dist/models/RenewAppSandboxResponseBody.js.map +1 -1
  55. package/dist/models/model.d.ts +4 -0
  56. package/dist/models/model.js +24 -16
  57. package/dist/models/model.js.map +1 -1
  58. package/package.json +2 -1
  59. package/src/client.ts +70 -0
  60. package/src/models/AppInstanceProfile.ts +11 -11
  61. package/src/models/AppOperationAddress.ts +6 -0
  62. package/src/models/AppService.ts +7 -4
  63. package/src/models/AppServiceAggregate.ts +7 -4
  64. package/src/models/AuthorizeAppProxyOpsResponseBody.ts +2 -2
  65. package/src/models/BatchCheckResourceMeasureResponseBody.ts +3 -0
  66. package/src/models/CreateAistaffChatRequest.ts +6 -0
  67. package/src/models/CreateAppAssistantAgentResponseBody.ts +9 -0
  68. package/src/models/CreateAppAssistantAgentSsoLoginResponseBody.ts +3 -0
  69. package/src/models/GetAistaffPreviewUrlResponseBody.ts +4 -1
  70. package/src/models/GetAppInstanceEntitlementResponseBody.ts +2 -2
  71. package/src/models/GetAppPluginConfigForAdminRequest.ts +48 -0
  72. package/src/models/GetAppPluginConfigForAdminResponse.ts +40 -0
  73. package/src/models/GetAppPluginConfigForAdminResponseBody.ts +187 -0
  74. package/src/models/GetLlmProxyConfigForAdminResponseBody.ts +2 -2
  75. package/src/models/ListAppAssistantAgentsResponseBody.ts +10 -1
  76. package/src/models/ListAppCommoditySpecificationsForPartnerResponseBody.ts +3 -0
  77. package/src/models/ListAppCommoditySpecificationsV2forPartnerResponseBody.ts +12 -0
  78. package/src/models/ListAppPluginConfigsResponseBody.ts +3 -0
  79. package/src/models/ListIsvPaymentPluginConfigsResponseBody.ts +3 -0
  80. package/src/models/ModuleDataComponentsValue.ts +4 -1
  81. package/src/models/ModuleNextComponentsValue.ts +4 -1
  82. package/src/models/ModuleVersionsValue.ts +3 -0
  83. package/src/models/ModuleVersionsValueComponentsValue.ts +4 -1
  84. package/src/models/QuerySupabaseConfigsForAdminResponseBody.ts +3 -0
  85. package/src/models/RenewAppSandboxResponseBody.ts +3 -0
  86. package/src/models/model.ts +4 -0
package/dist/client.d.ts CHANGED
@@ -1153,6 +1153,41 @@ export default class Client extends OpenApi {
1153
1153
  * @returns GetAppPluginConfigResponse
1154
1154
  */
1155
1155
  getAppPluginConfig(request: $_model.GetAppPluginConfigRequest): Promise<$_model.GetAppPluginConfigResponse>;
1156
+ /**
1157
+ * Retrieves the plugin configuration of a Wanxiaozhi site for internal services and returns an encrypted configuration string.
1158
+ *
1159
+ * @remarks
1160
+ * ## Request description
1161
+ * - The service design of this operation is exclusively for internal platform services to read the plugin configuration of a specific site by using a service identity.
1162
+ * - Authentication relies entirely on gateway RAM control and is available only to trusted internal service accounts.
1163
+ * - If the specified plugin is not installed on the site or the request parameters are empty, the operation returns a success status with an empty Module. Clients that invoke the operation should treat this as unconfigured.
1164
+ * - The returned `PluginConfig` field contains an AES-encrypted JSON character string. Clients that invoke the operation must perform decryption before use.
1165
+ * - To invoke in user mode, continue to use the `GetAppPluginConfig` operation instead of this operation.
1166
+ * - The `BizId` and `PluginId` parameters are both required in the contract. Passing empty character strings is not blocked by the gateway but causes the backend to return an empty Module. This is a fault-tolerance behavior, and clients that invoke the operation should not rely on it.
1167
+ * - This operation supports HTTPS and RPC-style POST requests, with parameters passed through formData.
1168
+ *
1169
+ * @param request - GetAppPluginConfigForAdminRequest
1170
+ * @param runtime - runtime options for this request RuntimeOptions
1171
+ * @returns GetAppPluginConfigForAdminResponse
1172
+ */
1173
+ getAppPluginConfigForAdminWithOptions(request: $_model.GetAppPluginConfigForAdminRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetAppPluginConfigForAdminResponse>;
1174
+ /**
1175
+ * Retrieves the plugin configuration of a Wanxiaozhi site for internal services and returns an encrypted configuration string.
1176
+ *
1177
+ * @remarks
1178
+ * ## Request description
1179
+ * - The service design of this operation is exclusively for internal platform services to read the plugin configuration of a specific site by using a service identity.
1180
+ * - Authentication relies entirely on gateway RAM control and is available only to trusted internal service accounts.
1181
+ * - If the specified plugin is not installed on the site or the request parameters are empty, the operation returns a success status with an empty Module. Clients that invoke the operation should treat this as unconfigured.
1182
+ * - The returned `PluginConfig` field contains an AES-encrypted JSON character string. Clients that invoke the operation must perform decryption before use.
1183
+ * - To invoke in user mode, continue to use the `GetAppPluginConfig` operation instead of this operation.
1184
+ * - The `BizId` and `PluginId` parameters are both required in the contract. Passing empty character strings is not blocked by the gateway but causes the backend to return an empty Module. This is a fault-tolerance behavior, and clients that invoke the operation should not rely on it.
1185
+ * - This operation supports HTTPS and RPC-style POST requests, with parameters passed through formData.
1186
+ *
1187
+ * @param request - GetAppPluginConfigForAdminRequest
1188
+ * @returns GetAppPluginConfigForAdminResponse
1189
+ */
1190
+ getAppPluginConfigForAdmin(request: $_model.GetAppPluginConfigForAdminRequest): Promise<$_model.GetAppPluginConfigForAdminResponse>;
1156
1191
  /**
1157
1192
  * Queries the publish status.
1158
1193
  *
package/dist/client.js CHANGED
@@ -61,6 +61,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
61
61
  Object.defineProperty(exports, "__esModule", { value: true });
62
62
  // This file is auto-generated, don't edit it
63
63
  const $dara = __importStar(require("@darabonba/typescript"));
64
+ const gateway_pop_1 = __importDefault(require("@alicloud/gateway-pop"));
64
65
  const openapi_core_1 = __importDefault(require("@alicloud/openapi-core"));
65
66
  const openapi_core_2 = require("@alicloud/openapi-core");
66
67
  const $_model = __importStar(require("./models/model"));
@@ -68,6 +69,9 @@ __exportStar(require("./models/model"), exports);
68
69
  class Client extends openapi_core_1.default {
69
70
  constructor(config) {
70
71
  super(config);
72
+ this._productId = "WebsiteBuild";
73
+ let gatewayClient = new gateway_pop_1.default();
74
+ this._spi = gatewayClient;
71
75
  this._endpointRule = "regional";
72
76
  this._endpointMap = {
73
77
  'cn-zhangjiakou': "websitebuild.aliyuncs.com",
@@ -3168,6 +3172,68 @@ class Client extends openapi_core_1.default {
3168
3172
  let runtime = new $dara.RuntimeOptions({});
3169
3173
  return await this.getAppPluginConfigWithOptions(request, runtime);
3170
3174
  }
3175
+ /**
3176
+ * Retrieves the plugin configuration of a Wanxiaozhi site for internal services and returns an encrypted configuration string.
3177
+ *
3178
+ * @remarks
3179
+ * ## Request description
3180
+ * - The service design of this operation is exclusively for internal platform services to read the plugin configuration of a specific site by using a service identity.
3181
+ * - Authentication relies entirely on gateway RAM control and is available only to trusted internal service accounts.
3182
+ * - If the specified plugin is not installed on the site or the request parameters are empty, the operation returns a success status with an empty Module. Clients that invoke the operation should treat this as unconfigured.
3183
+ * - The returned `PluginConfig` field contains an AES-encrypted JSON character string. Clients that invoke the operation must perform decryption before use.
3184
+ * - To invoke in user mode, continue to use the `GetAppPluginConfig` operation instead of this operation.
3185
+ * - The `BizId` and `PluginId` parameters are both required in the contract. Passing empty character strings is not blocked by the gateway but causes the backend to return an empty Module. This is a fault-tolerance behavior, and clients that invoke the operation should not rely on it.
3186
+ * - This operation supports HTTPS and RPC-style POST requests, with parameters passed through formData.
3187
+ *
3188
+ * @param request - GetAppPluginConfigForAdminRequest
3189
+ * @param runtime - runtime options for this request RuntimeOptions
3190
+ * @returns GetAppPluginConfigForAdminResponse
3191
+ */
3192
+ async getAppPluginConfigForAdminWithOptions(request, runtime) {
3193
+ request.validate();
3194
+ let body = {};
3195
+ if (!$dara.isNull(request.bizId)) {
3196
+ body["BizId"] = request.bizId;
3197
+ }
3198
+ if (!$dara.isNull(request.pluginId)) {
3199
+ body["PluginId"] = request.pluginId;
3200
+ }
3201
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
3202
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
3203
+ });
3204
+ let params = new openapi_core_2.$OpenApiUtil.Params({
3205
+ action: "GetAppPluginConfigForAdmin",
3206
+ version: "2025-04-29",
3207
+ protocol: "HTTPS",
3208
+ pathname: "/",
3209
+ method: "POST",
3210
+ authType: "AK",
3211
+ style: "RPC",
3212
+ reqBodyType: "formData",
3213
+ bodyType: "json",
3214
+ });
3215
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAppPluginConfigForAdminResponse({}));
3216
+ }
3217
+ /**
3218
+ * Retrieves the plugin configuration of a Wanxiaozhi site for internal services and returns an encrypted configuration string.
3219
+ *
3220
+ * @remarks
3221
+ * ## Request description
3222
+ * - The service design of this operation is exclusively for internal platform services to read the plugin configuration of a specific site by using a service identity.
3223
+ * - Authentication relies entirely on gateway RAM control and is available only to trusted internal service accounts.
3224
+ * - If the specified plugin is not installed on the site or the request parameters are empty, the operation returns a success status with an empty Module. Clients that invoke the operation should treat this as unconfigured.
3225
+ * - The returned `PluginConfig` field contains an AES-encrypted JSON character string. Clients that invoke the operation must perform decryption before use.
3226
+ * - To invoke in user mode, continue to use the `GetAppPluginConfig` operation instead of this operation.
3227
+ * - The `BizId` and `PluginId` parameters are both required in the contract. Passing empty character strings is not blocked by the gateway but causes the backend to return an empty Module. This is a fault-tolerance behavior, and clients that invoke the operation should not rely on it.
3228
+ * - This operation supports HTTPS and RPC-style POST requests, with parameters passed through formData.
3229
+ *
3230
+ * @param request - GetAppPluginConfigForAdminRequest
3231
+ * @returns GetAppPluginConfigForAdminResponse
3232
+ */
3233
+ async getAppPluginConfigForAdmin(request) {
3234
+ let runtime = new $dara.RuntimeOptions({});
3235
+ return await this.getAppPluginConfigForAdminWithOptions(request, runtime);
3236
+ }
3171
3237
  /**
3172
3238
  * Queries the publish status.
3173
3239
  *