@alicloud/websitebuild20250429 2.24.0 → 2.25.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 +83 -2
- package/dist/client.js +258 -16
- package/dist/client.js.map +1 -1
- package/dist/models/AppInstanceProfile.d.ts +2 -0
- package/dist/models/AppInstanceProfile.js +4 -0
- package/dist/models/AppInstanceProfile.js.map +1 -1
- package/dist/models/CreateAistaffChatResponseBody.d.ts +1 -1
- package/dist/models/CreateAppLlmApiKeyForPartnerRequest.d.ts +29 -0
- package/dist/models/CreateAppLlmApiKeyForPartnerRequest.js +67 -0
- package/dist/models/CreateAppLlmApiKeyForPartnerRequest.js.map +1 -0
- package/dist/models/CreateAppLlmApiKeyForPartnerResponse.d.ts +19 -0
- package/dist/models/CreateAppLlmApiKeyForPartnerResponse.js +69 -0
- package/dist/models/CreateAppLlmApiKeyForPartnerResponse.js.map +1 -0
- package/dist/models/CreateAppLlmApiKeyForPartnerResponseBody.d.ts +76 -0
- package/dist/models/CreateAppLlmApiKeyForPartnerResponseBody.js +103 -0
- package/dist/models/CreateAppLlmApiKeyForPartnerResponseBody.js.map +1 -0
- package/dist/models/GetAistaffPreviewUrlResponseBody.d.ts +1 -1
- package/dist/models/GetAppCodeWorkspaceDetailResponseBody.d.ts +1 -1
- package/dist/models/GetAppInstanceForAdminRequest.d.ts +11 -0
- package/dist/models/GetAppInstanceForAdminRequest.js.map +1 -1
- package/dist/models/GetAppInstanceForAdminResponseBody.d.ts +43 -1
- package/dist/models/GetAppInstanceForAdminResponseBody.js.map +1 -1
- package/dist/models/GetAppSupabaseSecretsResponseBody.d.ts +1 -1
- package/dist/models/GetMiniAppAuthUrlRequest.d.ts +24 -0
- package/dist/models/GetMiniAppAuthUrlRequest.js +62 -0
- package/dist/models/GetMiniAppAuthUrlRequest.js.map +1 -0
- package/dist/models/GetMiniAppAuthUrlResponse.d.ts +19 -0
- package/dist/models/GetMiniAppAuthUrlResponse.js +69 -0
- package/dist/models/GetMiniAppAuthUrlResponse.js.map +1 -0
- package/dist/models/GetMiniAppAuthUrlResponseBody.d.ts +32 -0
- package/dist/models/GetMiniAppAuthUrlResponseBody.js +82 -0
- package/dist/models/GetMiniAppAuthUrlResponseBody.js.map +1 -0
- package/dist/models/GetMiniAppBindingForAdminRequest.d.ts +28 -0
- package/dist/models/GetMiniAppBindingForAdminRequest.js +62 -0
- package/dist/models/GetMiniAppBindingForAdminRequest.js.map +1 -0
- package/dist/models/GetMiniAppBindingForAdminResponse.d.ts +19 -0
- package/dist/models/GetMiniAppBindingForAdminResponse.js +69 -0
- package/dist/models/GetMiniAppBindingForAdminResponse.js.map +1 -0
- package/dist/models/GetMiniAppBindingForAdminResponseBody.d.ts +49 -0
- package/dist/models/GetMiniAppBindingForAdminResponseBody.js +86 -0
- package/dist/models/GetMiniAppBindingForAdminResponseBody.js.map +1 -0
- package/dist/models/GetMiniAppBindingRequest.d.ts +24 -0
- package/dist/models/GetMiniAppBindingRequest.js +65 -0
- package/dist/models/GetMiniAppBindingRequest.js.map +1 -0
- package/dist/models/GetMiniAppBindingResponse.d.ts +19 -0
- package/dist/models/GetMiniAppBindingResponse.js +69 -0
- package/dist/models/GetMiniAppBindingResponse.js.map +1 -0
- package/dist/models/GetMiniAppBindingResponseBody.d.ts +51 -0
- package/dist/models/GetMiniAppBindingResponseBody.js +97 -0
- package/dist/models/GetMiniAppBindingResponseBody.js.map +1 -0
- package/dist/models/GetMiniAppBindingShrinkRequest.d.ts +24 -0
- package/dist/models/GetMiniAppBindingShrinkRequest.js +62 -0
- package/dist/models/GetMiniAppBindingShrinkRequest.js.map +1 -0
- package/dist/models/ListAppChatMessagesResponseBody.d.ts +1 -1
- package/dist/models/ListAppPublishHistoryResponseBody.d.ts +1 -1
- package/dist/models/ListIsvPaymentPluginConfigsResponseBody.d.ts +1 -1
- package/dist/models/RollbackAppCodeSnapshotResponseBody.d.ts +1 -1
- package/dist/models/UpdateAppFileResponseBody.d.ts +1 -1
- package/dist/models/UpdateAppSeoStatusRequest.d.ts +9 -0
- package/dist/models/UpdateAppSeoStatusRequest.js.map +1 -1
- package/dist/models/UpdateAppSeoStatusResponseBody.d.ts +38 -2
- package/dist/models/UpdateAppSeoStatusResponseBody.js.map +1 -1
- package/dist/models/UpdateMiniAppBindingRequest.d.ts +33 -0
- package/dist/models/UpdateMiniAppBindingRequest.js +64 -0
- package/dist/models/UpdateMiniAppBindingRequest.js.map +1 -0
- package/dist/models/UpdateMiniAppBindingResponse.d.ts +19 -0
- package/dist/models/UpdateMiniAppBindingResponse.js +69 -0
- package/dist/models/UpdateMiniAppBindingResponse.js.map +1 -0
- package/dist/models/UpdateMiniAppBindingResponseBody.d.ts +39 -0
- package/dist/models/UpdateMiniAppBindingResponseBody.js +82 -0
- package/dist/models/UpdateMiniAppBindingResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +21 -0
- package/dist/models/model.js +54 -12
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +286 -16
- package/src/models/AppInstanceProfile.ts +6 -0
- package/src/models/CreateAistaffChatResponseBody.ts +1 -1
- package/src/models/CreateAppLlmApiKeyForPartnerRequest.ts +51 -0
- package/src/models/CreateAppLlmApiKeyForPartnerResponse.ts +40 -0
- package/src/models/CreateAppLlmApiKeyForPartnerResponseBody.ts +125 -0
- package/src/models/GetAistaffPreviewUrlResponseBody.ts +1 -1
- package/src/models/GetAppCodeWorkspaceDetailResponseBody.ts +1 -1
- package/src/models/GetAppInstanceForAdminRequest.ts +11 -0
- package/src/models/GetAppInstanceForAdminResponseBody.ts +43 -1
- package/src/models/GetAppSupabaseSecretsResponseBody.ts +1 -1
- package/src/models/GetMiniAppAuthUrlRequest.ts +41 -0
- package/src/models/GetMiniAppAuthUrlResponse.ts +40 -0
- package/src/models/GetMiniAppAuthUrlResponseBody.ts +60 -0
- package/src/models/GetMiniAppBindingForAdminRequest.ts +45 -0
- package/src/models/GetMiniAppBindingForAdminResponse.ts +40 -0
- package/src/models/GetMiniAppBindingForAdminResponseBody.ts +81 -0
- package/src/models/GetMiniAppBindingRequest.ts +44 -0
- package/src/models/GetMiniAppBindingResponse.ts +40 -0
- package/src/models/GetMiniAppBindingResponseBody.ts +92 -0
- package/src/models/GetMiniAppBindingShrinkRequest.ts +41 -0
- package/src/models/ListAppChatMessagesResponseBody.ts +1 -1
- package/src/models/ListAppPublishHistoryResponseBody.ts +1 -1
- package/src/models/ListIsvPaymentPluginConfigsResponseBody.ts +1 -1
- package/src/models/RollbackAppCodeSnapshotResponseBody.ts +1 -1
- package/src/models/UpdateAppFileResponseBody.ts +1 -1
- package/src/models/UpdateAppSeoStatusRequest.ts +9 -0
- package/src/models/UpdateAppSeoStatusResponseBody.ts +38 -2
- package/src/models/UpdateMiniAppBindingRequest.ts +52 -0
- package/src/models/UpdateMiniAppBindingResponse.ts +40 -0
- package/src/models/UpdateMiniAppBindingResponseBody.ts +67 -0
- package/src/models/model.ts +21 -0
package/dist/client.d.ts
CHANGED
|
@@ -211,6 +211,21 @@ export default class Client extends OpenApi {
|
|
|
211
211
|
* @returns CreateAppInstanceTicketResponse
|
|
212
212
|
*/
|
|
213
213
|
createAppInstanceTicket(request: $_model.CreateAppInstanceTicketRequest): Promise<$_model.CreateAppInstanceTicketResponse>;
|
|
214
|
+
/**
|
|
215
|
+
* 应用实例创建 LLM 网关 API-KEY
|
|
216
|
+
*
|
|
217
|
+
* @param request - CreateAppLlmApiKeyForPartnerRequest
|
|
218
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
219
|
+
* @returns CreateAppLlmApiKeyForPartnerResponse
|
|
220
|
+
*/
|
|
221
|
+
createAppLlmApiKeyForPartnerWithOptions(request: $_model.CreateAppLlmApiKeyForPartnerRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateAppLlmApiKeyForPartnerResponse>;
|
|
222
|
+
/**
|
|
223
|
+
* 应用实例创建 LLM 网关 API-KEY
|
|
224
|
+
*
|
|
225
|
+
* @param request - CreateAppLlmApiKeyForPartnerRequest
|
|
226
|
+
* @returns CreateAppLlmApiKeyForPartnerResponse
|
|
227
|
+
*/
|
|
228
|
+
createAppLlmApiKeyForPartner(request: $_model.CreateAppLlmApiKeyForPartnerRequest): Promise<$_model.CreateAppLlmApiKeyForPartnerResponse>;
|
|
214
229
|
/**
|
|
215
230
|
* Activate the Wanxiaozhi Inspiration Value service
|
|
216
231
|
*
|
|
@@ -838,6 +853,51 @@ export default class Client extends OpenApi {
|
|
|
838
853
|
* @returns GetLlmProxyConfigForAdminResponse
|
|
839
854
|
*/
|
|
840
855
|
getLlmProxyConfigForAdmin(request: $_model.GetLlmProxyConfigForAdminRequest): Promise<$_model.GetLlmProxyConfigForAdminResponse>;
|
|
856
|
+
/**
|
|
857
|
+
* 获取小程序授权链接
|
|
858
|
+
*
|
|
859
|
+
* @param request - GetMiniAppAuthUrlRequest
|
|
860
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
861
|
+
* @returns GetMiniAppAuthUrlResponse
|
|
862
|
+
*/
|
|
863
|
+
getMiniAppAuthUrlWithOptions(request: $_model.GetMiniAppAuthUrlRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetMiniAppAuthUrlResponse>;
|
|
864
|
+
/**
|
|
865
|
+
* 获取小程序授权链接
|
|
866
|
+
*
|
|
867
|
+
* @param request - GetMiniAppAuthUrlRequest
|
|
868
|
+
* @returns GetMiniAppAuthUrlResponse
|
|
869
|
+
*/
|
|
870
|
+
getMiniAppAuthUrl(request: $_model.GetMiniAppAuthUrlRequest): Promise<$_model.GetMiniAppAuthUrlResponse>;
|
|
871
|
+
/**
|
|
872
|
+
* 查询站点绑定的小程序
|
|
873
|
+
*
|
|
874
|
+
* @param tmpReq - GetMiniAppBindingRequest
|
|
875
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
876
|
+
* @returns GetMiniAppBindingResponse
|
|
877
|
+
*/
|
|
878
|
+
getMiniAppBindingWithOptions(tmpReq: $_model.GetMiniAppBindingRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetMiniAppBindingResponse>;
|
|
879
|
+
/**
|
|
880
|
+
* 查询站点绑定的小程序
|
|
881
|
+
*
|
|
882
|
+
* @param request - GetMiniAppBindingRequest
|
|
883
|
+
* @returns GetMiniAppBindingResponse
|
|
884
|
+
*/
|
|
885
|
+
getMiniAppBinding(request: $_model.GetMiniAppBindingRequest): Promise<$_model.GetMiniAppBindingResponse>;
|
|
886
|
+
/**
|
|
887
|
+
* 根据条件查询应用实例绑定的小程序
|
|
888
|
+
*
|
|
889
|
+
* @param request - GetMiniAppBindingForAdminRequest
|
|
890
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
891
|
+
* @returns GetMiniAppBindingForAdminResponse
|
|
892
|
+
*/
|
|
893
|
+
getMiniAppBindingForAdminWithOptions(request: $_model.GetMiniAppBindingForAdminRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetMiniAppBindingForAdminResponse>;
|
|
894
|
+
/**
|
|
895
|
+
* 根据条件查询应用实例绑定的小程序
|
|
896
|
+
*
|
|
897
|
+
* @param request - GetMiniAppBindingForAdminRequest
|
|
898
|
+
* @returns GetMiniAppBindingForAdminResponse
|
|
899
|
+
*/
|
|
900
|
+
getMiniAppBindingForAdmin(request: $_model.GetMiniAppBindingForAdminRequest): Promise<$_model.GetMiniAppBindingForAdminResponse>;
|
|
841
901
|
/**
|
|
842
902
|
* 通过授权码得到accessToken
|
|
843
903
|
*
|
|
@@ -1805,7 +1865,10 @@ export default class Client extends OpenApi {
|
|
|
1805
1865
|
*/
|
|
1806
1866
|
updateAppInstance(request: $_model.UpdateAppInstanceRequest): Promise<$_model.UpdateAppInstanceResponse>;
|
|
1807
1867
|
/**
|
|
1808
|
-
*
|
|
1868
|
+
* Update SEO Index Status
|
|
1869
|
+
*
|
|
1870
|
+
* @remarks
|
|
1871
|
+
* WanXiaoZhi 2.0 AI Conversation
|
|
1809
1872
|
*
|
|
1810
1873
|
* @param request - UpdateAppSeoStatusRequest
|
|
1811
1874
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1813,7 +1876,10 @@ export default class Client extends OpenApi {
|
|
|
1813
1876
|
*/
|
|
1814
1877
|
updateAppSeoStatusWithOptions(request: $_model.UpdateAppSeoStatusRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateAppSeoStatusResponse>;
|
|
1815
1878
|
/**
|
|
1816
|
-
*
|
|
1879
|
+
* Update SEO Index Status
|
|
1880
|
+
*
|
|
1881
|
+
* @remarks
|
|
1882
|
+
* WanXiaoZhi 2.0 AI Conversation
|
|
1817
1883
|
*
|
|
1818
1884
|
* @param request - UpdateAppSeoStatusRequest
|
|
1819
1885
|
* @returns UpdateAppSeoStatusResponse
|
|
@@ -1849,6 +1915,21 @@ export default class Client extends OpenApi {
|
|
|
1849
1915
|
* @returns UpdateAppSupabaseSecretResponse
|
|
1850
1916
|
*/
|
|
1851
1917
|
updateAppSupabaseSecret(request: $_model.UpdateAppSupabaseSecretRequest): Promise<$_model.UpdateAppSupabaseSecretResponse>;
|
|
1918
|
+
/**
|
|
1919
|
+
* 更新绑定小程序信息
|
|
1920
|
+
*
|
|
1921
|
+
* @param request - UpdateMiniAppBindingRequest
|
|
1922
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1923
|
+
* @returns UpdateMiniAppBindingResponse
|
|
1924
|
+
*/
|
|
1925
|
+
updateMiniAppBindingWithOptions(request: $_model.UpdateMiniAppBindingRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateMiniAppBindingResponse>;
|
|
1926
|
+
/**
|
|
1927
|
+
* 更新绑定小程序信息
|
|
1928
|
+
*
|
|
1929
|
+
* @param request - UpdateMiniAppBindingRequest
|
|
1930
|
+
* @returns UpdateMiniAppBindingResponse
|
|
1931
|
+
*/
|
|
1932
|
+
updateMiniAppBinding(request: $_model.UpdateMiniAppBindingRequest): Promise<$_model.UpdateMiniAppBindingResponse>;
|
|
1852
1933
|
/**
|
|
1853
1934
|
* 上传到站点根目录
|
|
1854
1935
|
*
|
package/dist/client.js
CHANGED
|
@@ -589,24 +589,24 @@ class Client extends openapi_core_1.default {
|
|
|
589
589
|
return __asyncGenerator(this, arguments, function* createAppChatWithSSE_1() {
|
|
590
590
|
var _a, e_1, _b, _c;
|
|
591
591
|
request.validate();
|
|
592
|
-
let
|
|
592
|
+
let body = {};
|
|
593
593
|
if (!$dara.isNull(request.botId)) {
|
|
594
|
-
|
|
594
|
+
body["BotId"] = request.botId;
|
|
595
595
|
}
|
|
596
596
|
if (!$dara.isNull(request.chatId)) {
|
|
597
|
-
|
|
597
|
+
body["ChatId"] = request.chatId;
|
|
598
598
|
}
|
|
599
599
|
if (!$dara.isNull(request.conversationId)) {
|
|
600
|
-
|
|
600
|
+
body["ConversationId"] = request.conversationId;
|
|
601
601
|
}
|
|
602
602
|
if (!$dara.isNull(request.messages)) {
|
|
603
|
-
|
|
603
|
+
body["Messages"] = request.messages;
|
|
604
604
|
}
|
|
605
605
|
if (!$dara.isNull(request.siteId)) {
|
|
606
|
-
|
|
606
|
+
body["SiteId"] = request.siteId;
|
|
607
607
|
}
|
|
608
608
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
609
|
-
|
|
609
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
610
610
|
});
|
|
611
611
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
612
612
|
action: "CreateAppChat",
|
|
@@ -655,24 +655,24 @@ class Client extends openapi_core_1.default {
|
|
|
655
655
|
*/
|
|
656
656
|
async createAppChatWithOptions(request, runtime) {
|
|
657
657
|
request.validate();
|
|
658
|
-
let
|
|
658
|
+
let body = {};
|
|
659
659
|
if (!$dara.isNull(request.botId)) {
|
|
660
|
-
|
|
660
|
+
body["BotId"] = request.botId;
|
|
661
661
|
}
|
|
662
662
|
if (!$dara.isNull(request.chatId)) {
|
|
663
|
-
|
|
663
|
+
body["ChatId"] = request.chatId;
|
|
664
664
|
}
|
|
665
665
|
if (!$dara.isNull(request.conversationId)) {
|
|
666
|
-
|
|
666
|
+
body["ConversationId"] = request.conversationId;
|
|
667
667
|
}
|
|
668
668
|
if (!$dara.isNull(request.messages)) {
|
|
669
|
-
|
|
669
|
+
body["Messages"] = request.messages;
|
|
670
670
|
}
|
|
671
671
|
if (!$dara.isNull(request.siteId)) {
|
|
672
|
-
|
|
672
|
+
body["SiteId"] = request.siteId;
|
|
673
673
|
}
|
|
674
674
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
675
|
-
|
|
675
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
676
676
|
});
|
|
677
677
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
678
678
|
action: "CreateAppChat",
|
|
@@ -830,6 +830,54 @@ class Client extends openapi_core_1.default {
|
|
|
830
830
|
let runtime = new $dara.RuntimeOptions({});
|
|
831
831
|
return await this.createAppInstanceTicketWithOptions(request, runtime);
|
|
832
832
|
}
|
|
833
|
+
/**
|
|
834
|
+
* 应用实例创建 LLM 网关 API-KEY
|
|
835
|
+
*
|
|
836
|
+
* @param request - CreateAppLlmApiKeyForPartnerRequest
|
|
837
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
838
|
+
* @returns CreateAppLlmApiKeyForPartnerResponse
|
|
839
|
+
*/
|
|
840
|
+
async createAppLlmApiKeyForPartnerWithOptions(request, runtime) {
|
|
841
|
+
request.validate();
|
|
842
|
+
let body = {};
|
|
843
|
+
if (!$dara.isNull(request.bizId)) {
|
|
844
|
+
body["BizId"] = request.bizId;
|
|
845
|
+
}
|
|
846
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
847
|
+
body["ClientToken"] = request.clientToken;
|
|
848
|
+
}
|
|
849
|
+
if (!$dara.isNull(request.description)) {
|
|
850
|
+
body["Description"] = request.description;
|
|
851
|
+
}
|
|
852
|
+
if (!$dara.isNull(request.ipWhiteList)) {
|
|
853
|
+
body["IpWhiteList"] = request.ipWhiteList;
|
|
854
|
+
}
|
|
855
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
856
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
857
|
+
});
|
|
858
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
859
|
+
action: "CreateAppLlmApiKeyForPartner",
|
|
860
|
+
version: "2025-04-29",
|
|
861
|
+
protocol: "HTTPS",
|
|
862
|
+
pathname: "/",
|
|
863
|
+
method: "POST",
|
|
864
|
+
authType: "AK",
|
|
865
|
+
style: "RPC",
|
|
866
|
+
reqBodyType: "formData",
|
|
867
|
+
bodyType: "json",
|
|
868
|
+
});
|
|
869
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateAppLlmApiKeyForPartnerResponse({}));
|
|
870
|
+
}
|
|
871
|
+
/**
|
|
872
|
+
* 应用实例创建 LLM 网关 API-KEY
|
|
873
|
+
*
|
|
874
|
+
* @param request - CreateAppLlmApiKeyForPartnerRequest
|
|
875
|
+
* @returns CreateAppLlmApiKeyForPartnerResponse
|
|
876
|
+
*/
|
|
877
|
+
async createAppLlmApiKeyForPartner(request) {
|
|
878
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
879
|
+
return await this.createAppLlmApiKeyForPartnerWithOptions(request, runtime);
|
|
880
|
+
}
|
|
833
881
|
/**
|
|
834
882
|
* Activate the Wanxiaozhi Inspiration Value service
|
|
835
883
|
*
|
|
@@ -2609,6 +2657,146 @@ class Client extends openapi_core_1.default {
|
|
|
2609
2657
|
let runtime = new $dara.RuntimeOptions({});
|
|
2610
2658
|
return await this.getLlmProxyConfigForAdminWithOptions(request, runtime);
|
|
2611
2659
|
}
|
|
2660
|
+
/**
|
|
2661
|
+
* 获取小程序授权链接
|
|
2662
|
+
*
|
|
2663
|
+
* @param request - GetMiniAppAuthUrlRequest
|
|
2664
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2665
|
+
* @returns GetMiniAppAuthUrlResponse
|
|
2666
|
+
*/
|
|
2667
|
+
async getMiniAppAuthUrlWithOptions(request, runtime) {
|
|
2668
|
+
request.validate();
|
|
2669
|
+
let query = {};
|
|
2670
|
+
if (!$dara.isNull(request.bizId)) {
|
|
2671
|
+
query["BizId"] = request.bizId;
|
|
2672
|
+
}
|
|
2673
|
+
if (!$dara.isNull(request.channel)) {
|
|
2674
|
+
query["Channel"] = request.channel;
|
|
2675
|
+
}
|
|
2676
|
+
if (!$dara.isNull(request.redirectUri)) {
|
|
2677
|
+
query["RedirectUri"] = request.redirectUri;
|
|
2678
|
+
}
|
|
2679
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2680
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2681
|
+
});
|
|
2682
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2683
|
+
action: "GetMiniAppAuthUrl",
|
|
2684
|
+
version: "2025-04-29",
|
|
2685
|
+
protocol: "HTTPS",
|
|
2686
|
+
pathname: "/",
|
|
2687
|
+
method: "POST",
|
|
2688
|
+
authType: "AK",
|
|
2689
|
+
style: "RPC",
|
|
2690
|
+
reqBodyType: "formData",
|
|
2691
|
+
bodyType: "json",
|
|
2692
|
+
});
|
|
2693
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetMiniAppAuthUrlResponse({}));
|
|
2694
|
+
}
|
|
2695
|
+
/**
|
|
2696
|
+
* 获取小程序授权链接
|
|
2697
|
+
*
|
|
2698
|
+
* @param request - GetMiniAppAuthUrlRequest
|
|
2699
|
+
* @returns GetMiniAppAuthUrlResponse
|
|
2700
|
+
*/
|
|
2701
|
+
async getMiniAppAuthUrl(request) {
|
|
2702
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2703
|
+
return await this.getMiniAppAuthUrlWithOptions(request, runtime);
|
|
2704
|
+
}
|
|
2705
|
+
/**
|
|
2706
|
+
* 查询站点绑定的小程序
|
|
2707
|
+
*
|
|
2708
|
+
* @param tmpReq - GetMiniAppBindingRequest
|
|
2709
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2710
|
+
* @returns GetMiniAppBindingResponse
|
|
2711
|
+
*/
|
|
2712
|
+
async getMiniAppBindingWithOptions(tmpReq, runtime) {
|
|
2713
|
+
tmpReq.validate();
|
|
2714
|
+
let request = new $_model.GetMiniAppBindingShrinkRequest({});
|
|
2715
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
2716
|
+
if (!$dara.isNull(tmpReq.settingKeys)) {
|
|
2717
|
+
request.settingKeysShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.settingKeys, "SettingKeys", "json");
|
|
2718
|
+
}
|
|
2719
|
+
let query = {};
|
|
2720
|
+
if (!$dara.isNull(request.bizId)) {
|
|
2721
|
+
query["BizId"] = request.bizId;
|
|
2722
|
+
}
|
|
2723
|
+
if (!$dara.isNull(request.channel)) {
|
|
2724
|
+
query["Channel"] = request.channel;
|
|
2725
|
+
}
|
|
2726
|
+
if (!$dara.isNull(request.settingKeysShrink)) {
|
|
2727
|
+
query["SettingKeys"] = request.settingKeysShrink;
|
|
2728
|
+
}
|
|
2729
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2730
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2731
|
+
});
|
|
2732
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2733
|
+
action: "GetMiniAppBinding",
|
|
2734
|
+
version: "2025-04-29",
|
|
2735
|
+
protocol: "HTTPS",
|
|
2736
|
+
pathname: "/",
|
|
2737
|
+
method: "POST",
|
|
2738
|
+
authType: "AK",
|
|
2739
|
+
style: "RPC",
|
|
2740
|
+
reqBodyType: "formData",
|
|
2741
|
+
bodyType: "json",
|
|
2742
|
+
});
|
|
2743
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetMiniAppBindingResponse({}));
|
|
2744
|
+
}
|
|
2745
|
+
/**
|
|
2746
|
+
* 查询站点绑定的小程序
|
|
2747
|
+
*
|
|
2748
|
+
* @param request - GetMiniAppBindingRequest
|
|
2749
|
+
* @returns GetMiniAppBindingResponse
|
|
2750
|
+
*/
|
|
2751
|
+
async getMiniAppBinding(request) {
|
|
2752
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2753
|
+
return await this.getMiniAppBindingWithOptions(request, runtime);
|
|
2754
|
+
}
|
|
2755
|
+
/**
|
|
2756
|
+
* 根据条件查询应用实例绑定的小程序
|
|
2757
|
+
*
|
|
2758
|
+
* @param request - GetMiniAppBindingForAdminRequest
|
|
2759
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2760
|
+
* @returns GetMiniAppBindingForAdminResponse
|
|
2761
|
+
*/
|
|
2762
|
+
async getMiniAppBindingForAdminWithOptions(request, runtime) {
|
|
2763
|
+
request.validate();
|
|
2764
|
+
let query = {};
|
|
2765
|
+
if (!$dara.isNull(request.bizId)) {
|
|
2766
|
+
query["BizId"] = request.bizId;
|
|
2767
|
+
}
|
|
2768
|
+
if (!$dara.isNull(request.channel)) {
|
|
2769
|
+
query["Channel"] = request.channel;
|
|
2770
|
+
}
|
|
2771
|
+
if (!$dara.isNull(request.platformAppid)) {
|
|
2772
|
+
query["PlatformAppid"] = request.platformAppid;
|
|
2773
|
+
}
|
|
2774
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2775
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2776
|
+
});
|
|
2777
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2778
|
+
action: "GetMiniAppBindingForAdmin",
|
|
2779
|
+
version: "2025-04-29",
|
|
2780
|
+
protocol: "HTTPS",
|
|
2781
|
+
pathname: "/",
|
|
2782
|
+
method: "POST",
|
|
2783
|
+
authType: "AK",
|
|
2784
|
+
style: "RPC",
|
|
2785
|
+
reqBodyType: "formData",
|
|
2786
|
+
bodyType: "json",
|
|
2787
|
+
});
|
|
2788
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetMiniAppBindingForAdminResponse({}));
|
|
2789
|
+
}
|
|
2790
|
+
/**
|
|
2791
|
+
* 根据条件查询应用实例绑定的小程序
|
|
2792
|
+
*
|
|
2793
|
+
* @param request - GetMiniAppBindingForAdminRequest
|
|
2794
|
+
* @returns GetMiniAppBindingForAdminResponse
|
|
2795
|
+
*/
|
|
2796
|
+
async getMiniAppBindingForAdmin(request) {
|
|
2797
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2798
|
+
return await this.getMiniAppBindingForAdminWithOptions(request, runtime);
|
|
2799
|
+
}
|
|
2612
2800
|
/**
|
|
2613
2801
|
* 通过授权码得到accessToken
|
|
2614
2802
|
*
|
|
@@ -5972,7 +6160,10 @@ class Client extends openapi_core_1.default {
|
|
|
5972
6160
|
return await this.updateAppInstanceWithOptions(request, runtime);
|
|
5973
6161
|
}
|
|
5974
6162
|
/**
|
|
5975
|
-
*
|
|
6163
|
+
* Update SEO Index Status
|
|
6164
|
+
*
|
|
6165
|
+
* @remarks
|
|
6166
|
+
* WanXiaoZhi 2.0 AI Conversation
|
|
5976
6167
|
*
|
|
5977
6168
|
* @param request - UpdateAppSeoStatusRequest
|
|
5978
6169
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6007,7 +6198,10 @@ class Client extends openapi_core_1.default {
|
|
|
6007
6198
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateAppSeoStatusResponse({}));
|
|
6008
6199
|
}
|
|
6009
6200
|
/**
|
|
6010
|
-
*
|
|
6201
|
+
* Update SEO Index Status
|
|
6202
|
+
*
|
|
6203
|
+
* @remarks
|
|
6204
|
+
* WanXiaoZhi 2.0 AI Conversation
|
|
6011
6205
|
*
|
|
6012
6206
|
* @param request - UpdateAppSeoStatusRequest
|
|
6013
6207
|
* @returns UpdateAppSeoStatusResponse
|
|
@@ -6109,6 +6303,54 @@ class Client extends openapi_core_1.default {
|
|
|
6109
6303
|
let runtime = new $dara.RuntimeOptions({});
|
|
6110
6304
|
return await this.updateAppSupabaseSecretWithOptions(request, runtime);
|
|
6111
6305
|
}
|
|
6306
|
+
/**
|
|
6307
|
+
* 更新绑定小程序信息
|
|
6308
|
+
*
|
|
6309
|
+
* @param request - UpdateMiniAppBindingRequest
|
|
6310
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6311
|
+
* @returns UpdateMiniAppBindingResponse
|
|
6312
|
+
*/
|
|
6313
|
+
async updateMiniAppBindingWithOptions(request, runtime) {
|
|
6314
|
+
request.validate();
|
|
6315
|
+
let query = {};
|
|
6316
|
+
if (!$dara.isNull(request.bizId)) {
|
|
6317
|
+
query["BizId"] = request.bizId;
|
|
6318
|
+
}
|
|
6319
|
+
if (!$dara.isNull(request.channel)) {
|
|
6320
|
+
query["Channel"] = request.channel;
|
|
6321
|
+
}
|
|
6322
|
+
if (!$dara.isNull(request.settingKey)) {
|
|
6323
|
+
query["SettingKey"] = request.settingKey;
|
|
6324
|
+
}
|
|
6325
|
+
if (!$dara.isNull(request.settingValue)) {
|
|
6326
|
+
query["SettingValue"] = request.settingValue;
|
|
6327
|
+
}
|
|
6328
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
6329
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
6330
|
+
});
|
|
6331
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
6332
|
+
action: "UpdateMiniAppBinding",
|
|
6333
|
+
version: "2025-04-29",
|
|
6334
|
+
protocol: "HTTPS",
|
|
6335
|
+
pathname: "/",
|
|
6336
|
+
method: "POST",
|
|
6337
|
+
authType: "AK",
|
|
6338
|
+
style: "RPC",
|
|
6339
|
+
reqBodyType: "formData",
|
|
6340
|
+
bodyType: "json",
|
|
6341
|
+
});
|
|
6342
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateMiniAppBindingResponse({}));
|
|
6343
|
+
}
|
|
6344
|
+
/**
|
|
6345
|
+
* 更新绑定小程序信息
|
|
6346
|
+
*
|
|
6347
|
+
* @param request - UpdateMiniAppBindingRequest
|
|
6348
|
+
* @returns UpdateMiniAppBindingResponse
|
|
6349
|
+
*/
|
|
6350
|
+
async updateMiniAppBinding(request) {
|
|
6351
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
6352
|
+
return await this.updateMiniAppBindingWithOptions(request, runtime);
|
|
6353
|
+
}
|
|
6112
6354
|
/**
|
|
6113
6355
|
* 上传到站点根目录
|
|
6114
6356
|
*
|