@alicloud/websitebuild20250429 2.38.7 → 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.
- package/dist/client.d.ts +49 -14
- package/dist/client.js +88 -14
- package/dist/client.js.map +1 -1
- package/dist/models/AllocateSupabaseForAdminRequest.d.ts +2 -2
- package/dist/models/AllocateSupabaseForAdminResponseBody.d.ts +16 -12
- package/dist/models/AllocateSupabaseForAdminResponseBody.js.map +1 -1
- package/dist/models/AppInstanceAggregate.d.ts +18 -9
- package/dist/models/AppInstanceAggregate.js +2 -0
- package/dist/models/AppInstanceAggregate.js.map +1 -1
- package/dist/models/AppInstanceProfile.d.ts +11 -11
- package/dist/models/AppOperationAddress.d.ts +6 -0
- package/dist/models/AppOperationAddress.js.map +1 -1
- package/dist/models/AppService.d.ts +7 -4
- package/dist/models/AppService.js.map +1 -1
- package/dist/models/AppServiceAggregate.d.ts +7 -4
- package/dist/models/AppServiceAggregate.js.map +1 -1
- package/dist/models/AuthorizeAppProxyOpsResponseBody.d.ts +2 -2
- package/dist/models/BatchCheckResourceMeasureResponseBody.d.ts +3 -0
- package/dist/models/BatchCheckResourceMeasureResponseBody.js.map +1 -1
- package/dist/models/CreateAistaffChatRequest.d.ts +6 -0
- package/dist/models/CreateAistaffChatRequest.js.map +1 -1
- package/dist/models/CreateAppAssistantAgentResponseBody.d.ts +9 -0
- package/dist/models/CreateAppAssistantAgentResponseBody.js.map +1 -1
- package/dist/models/CreateAppAssistantAgentSsoLoginResponseBody.d.ts +3 -0
- package/dist/models/CreateAppAssistantAgentSsoLoginResponseBody.js.map +1 -1
- package/dist/models/GetAistaffPreviewUrlResponseBody.d.ts +4 -1
- package/dist/models/GetAistaffPreviewUrlResponseBody.js.map +1 -1
- package/dist/models/GetAppInstanceEntitlementResponseBody.d.ts +2 -2
- package/dist/models/GetAppInstanceForAdminResponseBody.d.ts +1 -1
- package/dist/models/GetAppInstanceResponseBody.d.ts +4 -4
- package/dist/models/GetAppPluginConfigForAdminRequest.d.ts +33 -0
- package/dist/models/GetAppPluginConfigForAdminRequest.js +60 -0
- package/dist/models/GetAppPluginConfigForAdminRequest.js.map +1 -0
- package/dist/models/GetAppPluginConfigForAdminResponse.d.ts +19 -0
- package/dist/models/GetAppPluginConfigForAdminResponse.js +69 -0
- package/dist/models/GetAppPluginConfigForAdminResponse.js.map +1 -0
- package/dist/models/GetAppPluginConfigForAdminResponseBody.d.ts +137 -0
- package/dist/models/GetAppPluginConfigForAdminResponseBody.js +104 -0
- package/dist/models/GetAppPluginConfigForAdminResponseBody.js.map +1 -0
- package/dist/models/GetAppSupabaseInstanceResponseBody.d.ts +14 -8
- package/dist/models/GetAppSupabaseInstanceResponseBody.js.map +1 -1
- package/dist/models/GetLlmProxyConfigForAdminResponseBody.d.ts +2 -2
- package/dist/models/GetTempDownloadUrlRequest.d.ts +9 -1
- package/dist/models/GetTempDownloadUrlRequest.js +2 -0
- package/dist/models/GetTempDownloadUrlRequest.js.map +1 -1
- package/dist/models/GetTempDownloadUrlResponseBody.d.ts +8 -8
- package/dist/models/ListAppAssistantAgentsResponseBody.d.ts +10 -1
- package/dist/models/ListAppAssistantAgentsResponseBody.js.map +1 -1
- package/dist/models/ListAppCommoditySpecificationsForPartnerResponseBody.d.ts +3 -0
- package/dist/models/ListAppCommoditySpecificationsForPartnerResponseBody.js.map +1 -1
- package/dist/models/ListAppCommoditySpecificationsV2forPartnerResponseBody.d.ts +12 -0
- package/dist/models/ListAppCommoditySpecificationsV2forPartnerResponseBody.js.map +1 -1
- package/dist/models/ListAppInstancesRequest.d.ts +15 -5
- package/dist/models/ListAppInstancesRequest.js +2 -0
- package/dist/models/ListAppInstancesRequest.js.map +1 -1
- package/dist/models/ListAppInstancesResponseBody.d.ts +2 -4
- package/dist/models/ListAppInstancesResponseBody.js.map +1 -1
- package/dist/models/ListAppInstancesShrinkRequest.d.ts +15 -5
- package/dist/models/ListAppInstancesShrinkRequest.js +2 -0
- package/dist/models/ListAppInstancesShrinkRequest.js.map +1 -1
- package/dist/models/ListAppPluginConfigsResponseBody.d.ts +3 -0
- package/dist/models/ListAppPluginConfigsResponseBody.js.map +1 -1
- package/dist/models/ListIsvPaymentPluginConfigsResponseBody.d.ts +3 -0
- package/dist/models/ListIsvPaymentPluginConfigsResponseBody.js.map +1 -1
- package/dist/models/ModuleDataComponentsValue.d.ts +4 -1
- package/dist/models/ModuleDataComponentsValue.js.map +1 -1
- package/dist/models/ModuleNextComponentsValue.d.ts +4 -1
- package/dist/models/ModuleNextComponentsValue.js.map +1 -1
- package/dist/models/ModuleVersionsValue.d.ts +3 -0
- package/dist/models/ModuleVersionsValue.js.map +1 -1
- package/dist/models/ModuleVersionsValueComponentsValue.d.ts +4 -1
- package/dist/models/ModuleVersionsValueComponentsValue.js.map +1 -1
- package/dist/models/QuerySupabaseConfigsForAdminResponseBody.d.ts +3 -0
- package/dist/models/QuerySupabaseConfigsForAdminResponseBody.js.map +1 -1
- package/dist/models/QuerySupabaseInstanceInfoForAdminRequest.d.ts +2 -2
- package/dist/models/QuerySupabaseInstanceInfoForAdminResponseBody.d.ts +20 -14
- package/dist/models/QuerySupabaseInstanceInfoForAdminResponseBody.js.map +1 -1
- package/dist/models/RenewAppSandboxResponseBody.d.ts +3 -0
- package/dist/models/RenewAppSandboxResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +4 -0
- package/dist/models/model.js +24 -16
- package/dist/models/model.js.map +1 -1
- package/package.json +2 -1
- package/src/client.ts +94 -14
- package/src/models/AllocateSupabaseForAdminRequest.ts +2 -2
- package/src/models/AllocateSupabaseForAdminResponseBody.ts +16 -12
- package/src/models/AppInstanceAggregate.ts +20 -9
- package/src/models/AppInstanceProfile.ts +11 -11
- package/src/models/AppOperationAddress.ts +6 -0
- package/src/models/AppService.ts +7 -4
- package/src/models/AppServiceAggregate.ts +7 -4
- package/src/models/AuthorizeAppProxyOpsResponseBody.ts +2 -2
- package/src/models/BatchCheckResourceMeasureResponseBody.ts +3 -0
- package/src/models/CreateAistaffChatRequest.ts +6 -0
- package/src/models/CreateAppAssistantAgentResponseBody.ts +9 -0
- package/src/models/CreateAppAssistantAgentSsoLoginResponseBody.ts +3 -0
- package/src/models/GetAistaffPreviewUrlResponseBody.ts +4 -1
- package/src/models/GetAppInstanceEntitlementResponseBody.ts +2 -2
- package/src/models/GetAppInstanceForAdminResponseBody.ts +1 -1
- package/src/models/GetAppInstanceResponseBody.ts +4 -4
- package/src/models/GetAppPluginConfigForAdminRequest.ts +48 -0
- package/src/models/GetAppPluginConfigForAdminResponse.ts +40 -0
- package/src/models/GetAppPluginConfigForAdminResponseBody.ts +187 -0
- package/src/models/GetAppSupabaseInstanceResponseBody.ts +14 -8
- package/src/models/GetLlmProxyConfigForAdminResponseBody.ts +2 -2
- package/src/models/GetTempDownloadUrlRequest.ts +11 -1
- package/src/models/GetTempDownloadUrlResponseBody.ts +8 -8
- package/src/models/ListAppAssistantAgentsResponseBody.ts +10 -1
- package/src/models/ListAppCommoditySpecificationsForPartnerResponseBody.ts +3 -0
- package/src/models/ListAppCommoditySpecificationsV2forPartnerResponseBody.ts +12 -0
- package/src/models/ListAppInstancesRequest.ts +17 -5
- package/src/models/ListAppInstancesResponseBody.ts +2 -4
- package/src/models/ListAppInstancesShrinkRequest.ts +17 -5
- package/src/models/ListAppPluginConfigsResponseBody.ts +3 -0
- package/src/models/ListIsvPaymentPluginConfigsResponseBody.ts +3 -0
- package/src/models/ModuleDataComponentsValue.ts +4 -1
- package/src/models/ModuleNextComponentsValue.ts +4 -1
- package/src/models/ModuleVersionsValue.ts +3 -0
- package/src/models/ModuleVersionsValueComponentsValue.ts +4 -1
- package/src/models/QuerySupabaseConfigsForAdminResponseBody.ts +3 -0
- package/src/models/QuerySupabaseInstanceInfoForAdminRequest.ts +2 -2
- package/src/models/QuerySupabaseInstanceInfoForAdminResponseBody.ts +20 -14
- package/src/models/RenewAppSandboxResponseBody.ts +3 -0
- package/src/models/model.ts +4 -0
package/dist/client.d.ts
CHANGED
|
@@ -9,10 +9,10 @@ export default class Client extends OpenApi {
|
|
|
9
9
|
[key: string]: string;
|
|
10
10
|
}, endpoint: string): string;
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Allocates a Supabase instance to a resource allocation.
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* Queries the
|
|
15
|
+
* Queries the Supabase instance information of a resource.
|
|
16
16
|
*
|
|
17
17
|
* @param request - AllocateSupabaseForAdminRequest
|
|
18
18
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -20,10 +20,10 @@ export default class Client extends OpenApi {
|
|
|
20
20
|
*/
|
|
21
21
|
allocateSupabaseForAdminWithOptions(request: $_model.AllocateSupabaseForAdminRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AllocateSupabaseForAdminResponse>;
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* Allocates a Supabase instance to a resource allocation.
|
|
24
24
|
*
|
|
25
25
|
* @remarks
|
|
26
|
-
* Queries the
|
|
26
|
+
* Queries the Supabase instance information of a resource.
|
|
27
27
|
*
|
|
28
28
|
* @param request - AllocateSupabaseForAdminRequest
|
|
29
29
|
* @returns AllocateSupabaseForAdminResponse
|
|
@@ -1049,10 +1049,10 @@ export default class Client extends OpenApi {
|
|
|
1049
1049
|
*/
|
|
1050
1050
|
getAppInstanceEntitlement(request: $_model.GetAppInstanceEntitlementRequest): Promise<$_model.GetAppInstanceEntitlementResponse>;
|
|
1051
1051
|
/**
|
|
1052
|
-
* Queries
|
|
1052
|
+
* Queries application instance information.
|
|
1053
1053
|
*
|
|
1054
1054
|
* @remarks
|
|
1055
|
-
* Queries
|
|
1055
|
+
* Queries application instance information.
|
|
1056
1056
|
*
|
|
1057
1057
|
* @param request - GetAppInstanceForAdminRequest
|
|
1058
1058
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1060,10 +1060,10 @@ export default class Client extends OpenApi {
|
|
|
1060
1060
|
*/
|
|
1061
1061
|
getAppInstanceForAdminWithOptions(request: $_model.GetAppInstanceForAdminRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetAppInstanceForAdminResponse>;
|
|
1062
1062
|
/**
|
|
1063
|
-
* Queries
|
|
1063
|
+
* Queries application instance information.
|
|
1064
1064
|
*
|
|
1065
1065
|
* @remarks
|
|
1066
|
-
* Queries
|
|
1066
|
+
* Queries application instance information.
|
|
1067
1067
|
*
|
|
1068
1068
|
* @param request - GetAppInstanceForAdminRequest
|
|
1069
1069
|
* @returns GetAppInstanceForAdminResponse
|
|
@@ -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
|
*
|
|
@@ -1322,10 +1357,10 @@ export default class Client extends OpenApi {
|
|
|
1322
1357
|
*/
|
|
1323
1358
|
getAppSupabaseAuthConfig(request: $_model.GetAppSupabaseAuthConfigRequest): Promise<$_model.GetAppSupabaseAuthConfigResponse>;
|
|
1324
1359
|
/**
|
|
1325
|
-
* Retrieves information about a Supabase instance.
|
|
1360
|
+
* Retrieves the information about a Supabase instance.
|
|
1326
1361
|
*
|
|
1327
1362
|
* @remarks
|
|
1328
|
-
* Queries application instance
|
|
1363
|
+
* Queries the information about an application instance.
|
|
1329
1364
|
*
|
|
1330
1365
|
* @param request - GetAppSupabaseInstanceRequest
|
|
1331
1366
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1333,10 +1368,10 @@ export default class Client extends OpenApi {
|
|
|
1333
1368
|
*/
|
|
1334
1369
|
getAppSupabaseInstanceWithOptions(request: $_model.GetAppSupabaseInstanceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetAppSupabaseInstanceResponse>;
|
|
1335
1370
|
/**
|
|
1336
|
-
* Retrieves information about a Supabase instance.
|
|
1371
|
+
* Retrieves the information about a Supabase instance.
|
|
1337
1372
|
*
|
|
1338
1373
|
* @remarks
|
|
1339
|
-
* Queries application instance
|
|
1374
|
+
* Queries the information about an application instance.
|
|
1340
1375
|
*
|
|
1341
1376
|
* @param request - GetAppSupabaseInstanceRequest
|
|
1342
1377
|
* @returns GetAppSupabaseInstanceResponse
|
|
@@ -1869,7 +1904,7 @@ export default class Client extends OpenApi {
|
|
|
1869
1904
|
*/
|
|
1870
1905
|
listAppInstanceDomains(request: $_model.ListAppInstanceDomainsRequest): Promise<$_model.ListAppInstanceDomainsResponse>;
|
|
1871
1906
|
/**
|
|
1872
|
-
* Queries
|
|
1907
|
+
* Queries the list of application instances.
|
|
1873
1908
|
*
|
|
1874
1909
|
* @param tmpReq - ListAppInstancesRequest
|
|
1875
1910
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1877,7 +1912,7 @@ export default class Client extends OpenApi {
|
|
|
1877
1912
|
*/
|
|
1878
1913
|
listAppInstancesWithOptions(tmpReq: $_model.ListAppInstancesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListAppInstancesResponse>;
|
|
1879
1914
|
/**
|
|
1880
|
-
* Queries
|
|
1915
|
+
* Queries the list of application instances.
|
|
1881
1916
|
*
|
|
1882
1917
|
* @param request - ListAppInstancesRequest
|
|
1883
1918
|
* @returns ListAppInstancesResponse
|
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",
|
|
@@ -86,10 +90,10 @@ class Client extends openapi_core_1.default {
|
|
|
86
90
|
return openapi_core_2.OpenApiUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
87
91
|
}
|
|
88
92
|
/**
|
|
89
|
-
*
|
|
93
|
+
* Allocates a Supabase instance to a resource allocation.
|
|
90
94
|
*
|
|
91
95
|
* @remarks
|
|
92
|
-
* Queries the
|
|
96
|
+
* Queries the Supabase instance information of a resource.
|
|
93
97
|
*
|
|
94
98
|
* @param request - AllocateSupabaseForAdminRequest
|
|
95
99
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -136,10 +140,10 @@ class Client extends openapi_core_1.default {
|
|
|
136
140
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AllocateSupabaseForAdminResponse({}));
|
|
137
141
|
}
|
|
138
142
|
/**
|
|
139
|
-
*
|
|
143
|
+
* Allocates a Supabase instance to a resource allocation.
|
|
140
144
|
*
|
|
141
145
|
* @remarks
|
|
142
|
-
* Queries the
|
|
146
|
+
* Queries the Supabase instance information of a resource.
|
|
143
147
|
*
|
|
144
148
|
* @param request - AllocateSupabaseForAdminRequest
|
|
145
149
|
* @returns AllocateSupabaseForAdminResponse
|
|
@@ -2938,10 +2942,10 @@ class Client extends openapi_core_1.default {
|
|
|
2938
2942
|
return await this.getAppInstanceEntitlementWithOptions(request, runtime);
|
|
2939
2943
|
}
|
|
2940
2944
|
/**
|
|
2941
|
-
* Queries
|
|
2945
|
+
* Queries application instance information.
|
|
2942
2946
|
*
|
|
2943
2947
|
* @remarks
|
|
2944
|
-
* Queries
|
|
2948
|
+
* Queries application instance information.
|
|
2945
2949
|
*
|
|
2946
2950
|
* @param request - GetAppInstanceForAdminRequest
|
|
2947
2951
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2973,10 +2977,10 @@ class Client extends openapi_core_1.default {
|
|
|
2973
2977
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAppInstanceForAdminResponse({}));
|
|
2974
2978
|
}
|
|
2975
2979
|
/**
|
|
2976
|
-
* Queries
|
|
2980
|
+
* Queries application instance information.
|
|
2977
2981
|
*
|
|
2978
2982
|
* @remarks
|
|
2979
|
-
* Queries
|
|
2983
|
+
* Queries application instance information.
|
|
2980
2984
|
*
|
|
2981
2985
|
* @param request - GetAppInstanceForAdminRequest
|
|
2982
2986
|
* @returns GetAppInstanceForAdminResponse
|
|
@@ -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
|
*
|
|
@@ -3568,10 +3634,10 @@ class Client extends openapi_core_1.default {
|
|
|
3568
3634
|
return await this.getAppSupabaseAuthConfigWithOptions(request, runtime);
|
|
3569
3635
|
}
|
|
3570
3636
|
/**
|
|
3571
|
-
* Retrieves information about a Supabase instance.
|
|
3637
|
+
* Retrieves the information about a Supabase instance.
|
|
3572
3638
|
*
|
|
3573
3639
|
* @remarks
|
|
3574
|
-
* Queries application instance
|
|
3640
|
+
* Queries the information about an application instance.
|
|
3575
3641
|
*
|
|
3576
3642
|
* @param request - GetAppSupabaseInstanceRequest
|
|
3577
3643
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3600,10 +3666,10 @@ class Client extends openapi_core_1.default {
|
|
|
3600
3666
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAppSupabaseInstanceResponse({}));
|
|
3601
3667
|
}
|
|
3602
3668
|
/**
|
|
3603
|
-
* Retrieves information about a Supabase instance.
|
|
3669
|
+
* Retrieves the information about a Supabase instance.
|
|
3604
3670
|
*
|
|
3605
3671
|
* @remarks
|
|
3606
|
-
* Queries application instance
|
|
3672
|
+
* Queries the information about an application instance.
|
|
3607
3673
|
*
|
|
3608
3674
|
* @param request - GetAppSupabaseInstanceRequest
|
|
3609
3675
|
* @returns GetAppSupabaseInstanceResponse
|
|
@@ -4168,11 +4234,16 @@ class Client extends openapi_core_1.default {
|
|
|
4168
4234
|
*/
|
|
4169
4235
|
async getTempDownloadUrlWithOptions(request, runtime) {
|
|
4170
4236
|
request.validate();
|
|
4237
|
+
let query = {};
|
|
4238
|
+
if (!$dara.isNull(request.bizId)) {
|
|
4239
|
+
query["BizId"] = request.bizId;
|
|
4240
|
+
}
|
|
4171
4241
|
let body = {};
|
|
4172
4242
|
if (!$dara.isNull(request.ossKey)) {
|
|
4173
4243
|
body["OssKey"] = request.ossKey;
|
|
4174
4244
|
}
|
|
4175
4245
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4246
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
4176
4247
|
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
4177
4248
|
});
|
|
4178
4249
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
@@ -4988,7 +5059,7 @@ class Client extends openapi_core_1.default {
|
|
|
4988
5059
|
return await this.listAppInstanceDomainsWithOptions(request, runtime);
|
|
4989
5060
|
}
|
|
4990
5061
|
/**
|
|
4991
|
-
* Queries
|
|
5062
|
+
* Queries the list of application instances.
|
|
4992
5063
|
*
|
|
4993
5064
|
* @param tmpReq - ListAppInstancesRequest
|
|
4994
5065
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5005,6 +5076,9 @@ class Client extends openapi_core_1.default {
|
|
|
5005
5076
|
request.statusListShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.statusList, "StatusList", "json");
|
|
5006
5077
|
}
|
|
5007
5078
|
let query = {};
|
|
5079
|
+
if (!$dara.isNull(request.applicationType)) {
|
|
5080
|
+
query["ApplicationType"] = request.applicationType;
|
|
5081
|
+
}
|
|
5008
5082
|
if (!$dara.isNull(request.bizId)) {
|
|
5009
5083
|
query["BizId"] = request.bizId;
|
|
5010
5084
|
}
|
|
@@ -5064,7 +5138,7 @@ class Client extends openapi_core_1.default {
|
|
|
5064
5138
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAppInstancesResponse({}));
|
|
5065
5139
|
}
|
|
5066
5140
|
/**
|
|
5067
|
-
* Queries
|
|
5141
|
+
* Queries the list of application instances.
|
|
5068
5142
|
*
|
|
5069
5143
|
* @param request - ListAppInstancesRequest
|
|
5070
5144
|
* @returns ListAppInstancesResponse
|