@alicloud/websitebuild20250429 2.38.12 → 2.39.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 +25 -2
- package/dist/client.js +52 -2
- package/dist/client.js.map +1 -1
- package/dist/models/AuthorizeAppProxyOpsResponseBody.d.ts +3 -3
- package/dist/models/BrandKnowledgeBase.d.ts +34 -2
- package/dist/models/BrandKnowledgeBase.js.map +1 -1
- package/dist/models/BrandKnowledgeBasePage.d.ts +16 -0
- package/dist/models/BrandKnowledgeBasePage.js.map +1 -1
- package/dist/models/BrandKnowledgeDocument.d.ts +21 -11
- package/dist/models/BrandKnowledgeDocument.js.map +1 -1
- package/dist/models/BrandKnowledgeMaterial.d.ts +42 -2
- package/dist/models/BrandKnowledgeMaterial.js.map +1 -1
- package/dist/models/BrandKnowledgeOperation.d.ts +9 -0
- package/dist/models/BrandKnowledgeOperation.js.map +1 -1
- package/dist/models/BrandKnowledgeProfile.d.ts +28 -5
- package/dist/models/BrandKnowledgeProfile.js.map +1 -1
- package/dist/models/BrandKnowledgeProfileAnalysis.d.ts +66 -7
- package/dist/models/BrandKnowledgeProfileAnalysis.js.map +1 -1
- package/dist/models/BrandKnowledgeWebsitePage.d.ts +36 -3
- package/dist/models/BrandKnowledgeWebsitePage.js.map +1 -1
- package/dist/models/CheckAppVerifyCodeResponseBody.d.ts +1 -1
- package/dist/models/ContentPlanTopic.d.ts +34 -12
- package/dist/models/ContentPlanTopic.js.map +1 -1
- package/dist/models/CopyAppPluginConfigResponseBody.d.ts +1 -1
- package/dist/models/CreateAistaffChatRequest.d.ts +4 -1
- package/dist/models/CreateAistaffChatRequest.js.map +1 -1
- package/dist/models/CreateAistaffChatResponseBody.d.ts +3 -3
- package/dist/models/CreateInspirationResponseBody.d.ts +1 -1
- package/dist/models/DeleteAppFileResponseBody.d.ts +1 -1
- package/dist/models/DeleteAppSupabaseSecretsResponseBody.d.ts +1 -1
- package/dist/models/GetAistaffPreviewUrlResponseBody.d.ts +2 -2
- package/dist/models/GetAklessTmpIdentityForPartnerRequest.d.ts +31 -0
- package/dist/models/GetAklessTmpIdentityForPartnerRequest.js +60 -0
- package/dist/models/GetAklessTmpIdentityForPartnerRequest.js.map +1 -0
- package/dist/models/GetAklessTmpIdentityForPartnerResponse.d.ts +19 -0
- package/dist/models/GetAklessTmpIdentityForPartnerResponse.js +69 -0
- package/dist/models/GetAklessTmpIdentityForPartnerResponse.js.map +1 -0
- package/dist/models/GetAklessTmpIdentityForPartnerResponseBody.d.ts +100 -0
- package/dist/models/GetAklessTmpIdentityForPartnerResponseBody.js +114 -0
- package/dist/models/GetAklessTmpIdentityForPartnerResponseBody.js.map +1 -0
- package/dist/models/GetAppInstanceEntitlementResponseBody.d.ts +3 -3
- package/dist/models/GetAppSeoTrendsResponseBody.d.ts +1 -1
- package/dist/models/GetAppSitemapResponseBody.d.ts +1 -1
- package/dist/models/GetAppSupabaseAuthConfigResponseBody.d.ts +1 -1
- package/dist/models/GetAppSupabaseSecretsResponseBody.d.ts +1 -1
- package/dist/models/MarketingChannelDistribution.d.ts +6 -0
- package/dist/models/MarketingChannelDistribution.js.map +1 -1
- package/dist/models/MarketingContentTodo.d.ts +31 -1
- package/dist/models/MarketingContentTodo.js.map +1 -1
- package/dist/models/MarketingEndedPlan.d.ts +9 -0
- package/dist/models/MarketingEndedPlan.js.map +1 -1
- package/dist/models/MarketingGenerationDay.d.ts +12 -0
- package/dist/models/MarketingGenerationDay.js.map +1 -1
- package/dist/models/MarketingOverview.d.ts +71 -0
- package/dist/models/MarketingOverview.js.map +1 -1
- package/dist/models/OperateAppTemplateLikeResponseBody.d.ts +1 -1
- package/dist/models/SaveAppSupabaseSecretsResponseBody.d.ts +1 -1
- package/dist/models/SubmitAppSeoIndexResponseBody.d.ts +1 -1
- package/dist/models/SwitchAppConversationResponseBody.d.ts +1 -1
- package/dist/models/UpdateAppSupabaseSecretRequest.d.ts +1 -1
- package/dist/models/UpdateAppSupabaseSecretResponseBody.d.ts +1 -1
- package/dist/models/UploadAppSiteValidationFileResponseBody.d.ts +1 -1
- package/dist/models/model.d.ts +5 -0
- package/dist/models/model.js +27 -17
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +56 -2
- package/src/models/AuthorizeAppProxyOpsResponseBody.ts +3 -3
- package/src/models/BrandKnowledgeBase.ts +34 -2
- package/src/models/BrandKnowledgeBasePage.ts +16 -0
- package/src/models/BrandKnowledgeDocument.ts +21 -11
- package/src/models/BrandKnowledgeMaterial.ts +42 -2
- package/src/models/BrandKnowledgeOperation.ts +9 -0
- package/src/models/BrandKnowledgeProfile.ts +28 -5
- package/src/models/BrandKnowledgeProfileAnalysis.ts +66 -7
- package/src/models/BrandKnowledgeWebsitePage.ts +36 -3
- package/src/models/CheckAppVerifyCodeResponseBody.ts +1 -1
- package/src/models/ContentPlanTopic.ts +34 -12
- package/src/models/CopyAppPluginConfigResponseBody.ts +1 -1
- package/src/models/CreateAistaffChatRequest.ts +4 -1
- package/src/models/CreateAistaffChatResponseBody.ts +3 -3
- package/src/models/CreateInspirationResponseBody.ts +1 -1
- package/src/models/DeleteAppFileResponseBody.ts +1 -1
- package/src/models/DeleteAppSupabaseSecretsResponseBody.ts +1 -1
- package/src/models/GetAistaffPreviewUrlResponseBody.ts +2 -2
- package/src/models/GetAklessTmpIdentityForPartnerRequest.ts +46 -0
- package/src/models/GetAklessTmpIdentityForPartnerResponse.ts +40 -0
- package/src/models/GetAklessTmpIdentityForPartnerResponseBody.ts +151 -0
- package/src/models/GetAppInstanceEntitlementResponseBody.ts +3 -3
- package/src/models/GetAppSeoTrendsResponseBody.ts +1 -1
- package/src/models/GetAppSitemapResponseBody.ts +1 -1
- package/src/models/GetAppSupabaseAuthConfigResponseBody.ts +1 -1
- package/src/models/GetAppSupabaseSecretsResponseBody.ts +1 -1
- package/src/models/MarketingChannelDistribution.ts +6 -0
- package/src/models/MarketingContentTodo.ts +31 -1
- package/src/models/MarketingEndedPlan.ts +9 -0
- package/src/models/MarketingGenerationDay.ts +12 -0
- package/src/models/MarketingOverview.ts +71 -0
- package/src/models/OperateAppTemplateLikeResponseBody.ts +1 -1
- package/src/models/SaveAppSupabaseSecretsResponseBody.ts +1 -1
- package/src/models/SubmitAppSeoIndexResponseBody.ts +1 -1
- package/src/models/SwitchAppConversationResponseBody.ts +1 -1
- package/src/models/UpdateAppSupabaseSecretRequest.ts +1 -1
- package/src/models/UpdateAppSupabaseSecretResponseBody.ts +1 -1
- package/src/models/UploadAppSiteValidationFileResponseBody.ts +1 -1
- package/src/models/model.ts +5 -0
package/dist/client.d.ts
CHANGED
|
@@ -210,7 +210,7 @@ export default class Client extends OpenApi {
|
|
|
210
210
|
* Asynchronously initiates a conversation with an AI agent.
|
|
211
211
|
*
|
|
212
212
|
* @remarks
|
|
213
|
-
*
|
|
213
|
+
* The Wanxiaozhi 2.0 AI conversation.
|
|
214
214
|
*
|
|
215
215
|
* @param request - CreateAIStaffChatRequest
|
|
216
216
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -221,7 +221,7 @@ export default class Client extends OpenApi {
|
|
|
221
221
|
* Asynchronously initiates a conversation with an AI agent.
|
|
222
222
|
*
|
|
223
223
|
* @remarks
|
|
224
|
-
*
|
|
224
|
+
* The Wanxiaozhi 2.0 AI conversation.
|
|
225
225
|
*
|
|
226
226
|
* @param request - CreateAIStaffChatRequest
|
|
227
227
|
* @returns CreateAIStaffChatResponse
|
|
@@ -901,6 +901,29 @@ export default class Client extends OpenApi {
|
|
|
901
901
|
* @returns GetAIStaffPreviewUrlResponse
|
|
902
902
|
*/
|
|
903
903
|
getAIStaffPreviewUrl(request: $_model.GetAIStaffPreviewUrlRequest): Promise<$_model.GetAIStaffPreviewUrlResponse>;
|
|
904
|
+
/**
|
|
905
|
+
* Retrieves encrypted zero-trust temporary credentials by role for authorized partners. Each call returns a temporary AccessKey ID, AccessKey secret, and security token.
|
|
906
|
+
*
|
|
907
|
+
* @remarks
|
|
908
|
+
* Sign the request with an identity that is added to the partner whitelist and granted the websitebuild:GetAklessTmpIdentityForPartner permission. Pass a role code in the query parameters and make a separate call for each role.
|
|
909
|
+
* After a successful call, read the three ciphertext strings from Data.Credentials and decrypt them by using the pre-shared key. After decryption, configure the AccessKey ID, AccessKey secret, and security token from the same response into the SDK of the target cloud service. The validity period of the temporary credentials is managed by Akless.
|
|
910
|
+
*
|
|
911
|
+
* @param request - GetAklessTmpIdentityForPartnerRequest
|
|
912
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
913
|
+
* @returns GetAklessTmpIdentityForPartnerResponse
|
|
914
|
+
*/
|
|
915
|
+
getAklessTmpIdentityForPartnerWithOptions(request: $_model.GetAklessTmpIdentityForPartnerRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetAklessTmpIdentityForPartnerResponse>;
|
|
916
|
+
/**
|
|
917
|
+
* Retrieves encrypted zero-trust temporary credentials by role for authorized partners. Each call returns a temporary AccessKey ID, AccessKey secret, and security token.
|
|
918
|
+
*
|
|
919
|
+
* @remarks
|
|
920
|
+
* Sign the request with an identity that is added to the partner whitelist and granted the websitebuild:GetAklessTmpIdentityForPartner permission. Pass a role code in the query parameters and make a separate call for each role.
|
|
921
|
+
* After a successful call, read the three ciphertext strings from Data.Credentials and decrypt them by using the pre-shared key. After decryption, configure the AccessKey ID, AccessKey secret, and security token from the same response into the SDK of the target cloud service. The validity period of the temporary credentials is managed by Akless.
|
|
922
|
+
*
|
|
923
|
+
* @param request - GetAklessTmpIdentityForPartnerRequest
|
|
924
|
+
* @returns GetAklessTmpIdentityForPartnerResponse
|
|
925
|
+
*/
|
|
926
|
+
getAklessTmpIdentityForPartner(request: $_model.GetAklessTmpIdentityForPartnerRequest): Promise<$_model.GetAklessTmpIdentityForPartnerResponse>;
|
|
904
927
|
/**
|
|
905
928
|
* Retrieves the details of a code workspace.
|
|
906
929
|
*
|
package/dist/client.js
CHANGED
|
@@ -669,7 +669,7 @@ class Client extends openapi_core_1.default {
|
|
|
669
669
|
* Asynchronously initiates a conversation with an AI agent.
|
|
670
670
|
*
|
|
671
671
|
* @remarks
|
|
672
|
-
*
|
|
672
|
+
* The Wanxiaozhi 2.0 AI conversation.
|
|
673
673
|
*
|
|
674
674
|
* @param request - CreateAIStaffChatRequest
|
|
675
675
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -718,7 +718,7 @@ class Client extends openapi_core_1.default {
|
|
|
718
718
|
* Asynchronously initiates a conversation with an AI agent.
|
|
719
719
|
*
|
|
720
720
|
* @remarks
|
|
721
|
-
*
|
|
721
|
+
* The Wanxiaozhi 2.0 AI conversation.
|
|
722
722
|
*
|
|
723
723
|
* @param request - CreateAIStaffChatRequest
|
|
724
724
|
* @returns CreateAIStaffChatResponse
|
|
@@ -2620,6 +2620,56 @@ class Client extends openapi_core_1.default {
|
|
|
2620
2620
|
let runtime = new $dara.RuntimeOptions({});
|
|
2621
2621
|
return await this.getAIStaffPreviewUrlWithOptions(request, runtime);
|
|
2622
2622
|
}
|
|
2623
|
+
/**
|
|
2624
|
+
* Retrieves encrypted zero-trust temporary credentials by role for authorized partners. Each call returns a temporary AccessKey ID, AccessKey secret, and security token.
|
|
2625
|
+
*
|
|
2626
|
+
* @remarks
|
|
2627
|
+
* Sign the request with an identity that is added to the partner whitelist and granted the websitebuild:GetAklessTmpIdentityForPartner permission. Pass a role code in the query parameters and make a separate call for each role.
|
|
2628
|
+
* After a successful call, read the three ciphertext strings from Data.Credentials and decrypt them by using the pre-shared key. After decryption, configure the AccessKey ID, AccessKey secret, and security token from the same response into the SDK of the target cloud service. The validity period of the temporary credentials is managed by Akless.
|
|
2629
|
+
*
|
|
2630
|
+
* @param request - GetAklessTmpIdentityForPartnerRequest
|
|
2631
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2632
|
+
* @returns GetAklessTmpIdentityForPartnerResponse
|
|
2633
|
+
*/
|
|
2634
|
+
async getAklessTmpIdentityForPartnerWithOptions(request, runtime) {
|
|
2635
|
+
request.validate();
|
|
2636
|
+
let query = {};
|
|
2637
|
+
if (!$dara.isNull(request.appCode)) {
|
|
2638
|
+
query["AppCode"] = request.appCode;
|
|
2639
|
+
}
|
|
2640
|
+
if (!$dara.isNull(request.roleCode)) {
|
|
2641
|
+
query["RoleCode"] = request.roleCode;
|
|
2642
|
+
}
|
|
2643
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2644
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2645
|
+
});
|
|
2646
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2647
|
+
action: "GetAklessTmpIdentityForPartner",
|
|
2648
|
+
version: "2025-04-29",
|
|
2649
|
+
protocol: "HTTPS",
|
|
2650
|
+
pathname: "/",
|
|
2651
|
+
method: "POST",
|
|
2652
|
+
authType: "AK",
|
|
2653
|
+
style: "RPC",
|
|
2654
|
+
reqBodyType: "formData",
|
|
2655
|
+
bodyType: "json",
|
|
2656
|
+
});
|
|
2657
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAklessTmpIdentityForPartnerResponse({}));
|
|
2658
|
+
}
|
|
2659
|
+
/**
|
|
2660
|
+
* Retrieves encrypted zero-trust temporary credentials by role for authorized partners. Each call returns a temporary AccessKey ID, AccessKey secret, and security token.
|
|
2661
|
+
*
|
|
2662
|
+
* @remarks
|
|
2663
|
+
* Sign the request with an identity that is added to the partner whitelist and granted the websitebuild:GetAklessTmpIdentityForPartner permission. Pass a role code in the query parameters and make a separate call for each role.
|
|
2664
|
+
* After a successful call, read the three ciphertext strings from Data.Credentials and decrypt them by using the pre-shared key. After decryption, configure the AccessKey ID, AccessKey secret, and security token from the same response into the SDK of the target cloud service. The validity period of the temporary credentials is managed by Akless.
|
|
2665
|
+
*
|
|
2666
|
+
* @param request - GetAklessTmpIdentityForPartnerRequest
|
|
2667
|
+
* @returns GetAklessTmpIdentityForPartnerResponse
|
|
2668
|
+
*/
|
|
2669
|
+
async getAklessTmpIdentityForPartner(request) {
|
|
2670
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2671
|
+
return await this.getAklessTmpIdentityForPartnerWithOptions(request, runtime);
|
|
2672
|
+
}
|
|
2623
2673
|
/**
|
|
2624
2674
|
* Retrieves the details of a code workspace.
|
|
2625
2675
|
*
|