@alicloud/appstream-center20210901 5.6.3 → 5.6.4

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 (63) hide show
  1. package/dist/client.d.ts +12 -12
  2. package/dist/client.js +33 -12
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateModelTemplateRequest.d.ts +8 -3
  5. package/dist/models/CreateModelTemplateRequest.js +2 -0
  6. package/dist/models/CreateModelTemplateRequest.js.map +1 -1
  7. package/dist/models/GetRuntimeModelConfigResponseBody.d.ts +31 -4
  8. package/dist/models/GetRuntimeModelConfigResponseBody.js +27 -1
  9. package/dist/models/GetRuntimeModelConfigResponseBody.js.map +1 -1
  10. package/dist/models/ListDesktopAgentRuntimeRequest.d.ts +27 -6
  11. package/dist/models/ListDesktopAgentRuntimeRequest.js.map +1 -1
  12. package/dist/models/ListDesktopAgentRuntimeResponseBody.d.ts +28 -12
  13. package/dist/models/ListDesktopAgentRuntimeResponseBody.js.map +1 -1
  14. package/dist/models/ListLlmTemplatesRequest.d.ts +14 -1
  15. package/dist/models/ListLlmTemplatesRequest.js +4 -0
  16. package/dist/models/ListLlmTemplatesRequest.js.map +1 -1
  17. package/dist/models/ListLlmTemplatesResponseBody.d.ts +139 -4
  18. package/dist/models/ListLlmTemplatesResponseBody.js +127 -1
  19. package/dist/models/ListLlmTemplatesResponseBody.js.map +1 -1
  20. package/dist/models/ListLlmTemplatesShrinkRequest.d.ts +14 -1
  21. package/dist/models/ListLlmTemplatesShrinkRequest.js +4 -0
  22. package/dist/models/ListLlmTemplatesShrinkRequest.js.map +1 -1
  23. package/dist/models/ListModelTemplatesRequest.d.ts +32 -3
  24. package/dist/models/ListModelTemplatesRequest.js +6 -0
  25. package/dist/models/ListModelTemplatesRequest.js.map +1 -1
  26. package/dist/models/ListModelTemplatesResponseBody.d.ts +29 -3
  27. package/dist/models/ListModelTemplatesResponseBody.js +8 -0
  28. package/dist/models/ListModelTemplatesResponseBody.js.map +1 -1
  29. package/dist/models/ListModelTemplatesShrinkRequest.d.ts +32 -3
  30. package/dist/models/ListModelTemplatesShrinkRequest.js +6 -0
  31. package/dist/models/ListModelTemplatesShrinkRequest.js.map +1 -1
  32. package/dist/models/ListWuyingServerRequest.d.ts +16 -1
  33. package/dist/models/ListWuyingServerRequest.js.map +1 -1
  34. package/dist/models/ListWuyingServerResponseBody.d.ts +14 -14
  35. package/dist/models/ModifyBrowserInstanceGroupRequest.d.ts +111 -7
  36. package/dist/models/ModifyBrowserInstanceGroupRequest.js +55 -1
  37. package/dist/models/ModifyBrowserInstanceGroupRequest.js.map +1 -1
  38. package/dist/models/ModifyBrowserInstanceGroupShrinkRequest.d.ts +7 -0
  39. package/dist/models/ModifyBrowserInstanceGroupShrinkRequest.js.map +1 -1
  40. package/dist/models/UpdateModelTemplateRequest.d.ts +10 -5
  41. package/dist/models/UpdateModelTemplateRequest.js +2 -0
  42. package/dist/models/UpdateModelTemplateRequest.js.map +1 -1
  43. package/dist/models/model.d.ts +7 -0
  44. package/dist/models/model.js +39 -25
  45. package/dist/models/model.js.map +1 -1
  46. package/package.json +1 -1
  47. package/src/client.ts +40 -12
  48. package/src/models/CreateModelTemplateRequest.ts +10 -3
  49. package/src/models/GetRuntimeModelConfigResponseBody.ts +48 -4
  50. package/src/models/ListDesktopAgentRuntimeRequest.ts +27 -6
  51. package/src/models/ListDesktopAgentRuntimeResponseBody.ts +28 -12
  52. package/src/models/ListLlmTemplatesRequest.ts +18 -1
  53. package/src/models/ListLlmTemplatesResponseBody.ts +227 -4
  54. package/src/models/ListLlmTemplatesShrinkRequest.ts +18 -1
  55. package/src/models/ListModelTemplatesRequest.ts +38 -3
  56. package/src/models/ListModelTemplatesResponseBody.ts +37 -3
  57. package/src/models/ListModelTemplatesShrinkRequest.ts +38 -3
  58. package/src/models/ListWuyingServerRequest.ts +16 -1
  59. package/src/models/ListWuyingServerResponseBody.ts +14 -14
  60. package/src/models/ModifyBrowserInstanceGroupRequest.ts +147 -7
  61. package/src/models/ModifyBrowserInstanceGroupShrinkRequest.ts +7 -0
  62. package/src/models/UpdateModelTemplateRequest.ts +12 -5
  63. package/src/models/model.ts +7 -0
package/dist/client.d.ts CHANGED
@@ -233,8 +233,8 @@ export default class Client extends OpenApi {
233
233
  * Creates a model creation template.
234
234
  *
235
235
  * @remarks
236
- * You can create a model group in the Wuying Agent Management Center to manage the model providers and model scope that an Agent can invoke. After creation, you can attach the model group to a cloud computer as the inference engine configuration for Agent task execution.
237
- * Make sure you are familiar with the operations and usage of the Wuying Agent Management Center before invoking this operation.
236
+ * You can create a model group in the WUYING Agent Management Center to manage the model providers and model scope that an Agent can invoke. After creation, you can attach the model group to a cloud computer as the inference engine configuration for Agent task execution.
237
+ * Make sure that you are familiar with the operations and usage of the WUYING Agent Management Center before invoking this operation.
238
238
  *
239
239
  * @param request - CreateModelTemplateRequest
240
240
  * @param runtime - runtime options for this request RuntimeOptions
@@ -245,8 +245,8 @@ export default class Client extends OpenApi {
245
245
  * Creates a model creation template.
246
246
  *
247
247
  * @remarks
248
- * You can create a model group in the Wuying Agent Management Center to manage the model providers and model scope that an Agent can invoke. After creation, you can attach the model group to a cloud computer as the inference engine configuration for Agent task execution.
249
- * Make sure you are familiar with the operations and usage of the Wuying Agent Management Center before invoking this operation.
248
+ * You can create a model group in the WUYING Agent Management Center to manage the model providers and model scope that an Agent can invoke. After creation, you can attach the model group to a cloud computer as the inference engine configuration for Agent task execution.
249
+ * Make sure that you are familiar with the operations and usage of the WUYING Agent Management Center before invoking this operation.
250
250
  *
251
251
  * @param request - CreateModelTemplateRequest
252
252
  * @returns CreateModelTemplateResponse
@@ -631,7 +631,7 @@ export default class Client extends OpenApi {
631
631
  * Queries the model configuration details of a cloud computer.
632
632
  *
633
633
  * @remarks
634
- * You can query the model configuration details currently bound to a specified cloud computer in the Wuying Agent Management Center, including model groups, model provider lists, and associated model information. After risk information mode is enabled, you can also identify differences between the end user\\"s actual configuration and the configuration delivered by the administrator.
634
+ * You can query the model configuration details currently bound to a specified cloud computer in the Wuying Agent Management Center, including model groups, model provider lists, and associated model information. After enabling the risk information mode, you can also identify differences between the end user\\"s actual configuration and the configuration delivered by the administrator.
635
635
  *
636
636
  * @param request - GetRuntimeModelConfigRequest
637
637
  * @param runtime - runtime options for this request RuntimeOptions
@@ -642,7 +642,7 @@ export default class Client extends OpenApi {
642
642
  * Queries the model configuration details of a cloud computer.
643
643
  *
644
644
  * @remarks
645
- * You can query the model configuration details currently bound to a specified cloud computer in the Wuying Agent Management Center, including model groups, model provider lists, and associated model information. After risk information mode is enabled, you can also identify differences between the end user\\"s actual configuration and the configuration delivered by the administrator.
645
+ * You can query the model configuration details currently bound to a specified cloud computer in the Wuying Agent Management Center, including model groups, model provider lists, and associated model information. After enabling the risk information mode, you can also identify differences between the end user\\"s actual configuration and the configuration delivered by the administrator.
646
646
  *
647
647
  * @param request - GetRuntimeModelConfigRequest
648
648
  * @returns GetRuntimeModelConfigResponse
@@ -742,7 +742,7 @@ export default class Client extends OpenApi {
742
742
  * Queries the list of LLM templates.
743
743
  *
744
744
  * @remarks
745
- * You can use paged query to retrieve the list of model templates under a model provider template in the Wuying Agent Management Center with paging support. Filtering by model group ID, model provider template ID, model template ID, and model encoding is supported. When querying by model group dimension, the default model is automatically placed at the top.
745
+ * You can query the list of model templates under a model provider template in the Wuying Agent Management Center with paging. Filtering by model group ID, model provider template ID, model template ID, and model encoding is supported. When querying by model group dimension, the default model is automatically placed at the top.
746
746
  * Before using this operation, make sure you are familiar with the operations and usage of the Wuying Agent Management Center.
747
747
  *
748
748
  * @param tmpReq - ListLlmTemplatesRequest
@@ -754,7 +754,7 @@ export default class Client extends OpenApi {
754
754
  * Queries the list of LLM templates.
755
755
  *
756
756
  * @remarks
757
- * You can use paged query to retrieve the list of model templates under a model provider template in the Wuying Agent Management Center with paging support. Filtering by model group ID, model provider template ID, model template ID, and model encoding is supported. When querying by model group dimension, the default model is automatically placed at the top.
757
+ * You can query the list of model templates under a model provider template in the Wuying Agent Management Center with paging. Filtering by model group ID, model provider template ID, model template ID, and model encoding is supported. When querying by model group dimension, the default model is automatically placed at the top.
758
758
  * Before using this operation, make sure you are familiar with the operations and usage of the Wuying Agent Management Center.
759
759
  *
760
760
  * @param request - ListLlmTemplatesRequest
@@ -826,8 +826,8 @@ export default class Client extends OpenApi {
826
826
  * Queries the list of model templates.
827
827
  *
828
828
  * @remarks
829
- * You can use paged query to retrieve the list of model groups created in the WUYING Agent Management Center. You can filter results by Agent provider, Agent platform, template group ID, and whether a model has been configured. Paging is supported.
830
- * Before using this operation, make sure that you are familiar with the operations and usage of the WUYING Agent Management Center.
829
+ * You can query the model groups created in the WUYING Agent Management Center with paging. Filtering is supported by Agent provider, Agent platform, template group ID, and whether models have been configured.
830
+ * Before using this operation, make sure you are familiar with the operations and usage of the WUYING Agent Management Center.
831
831
  *
832
832
  * @param tmpReq - ListModelTemplatesRequest
833
833
  * @param runtime - runtime options for this request RuntimeOptions
@@ -838,8 +838,8 @@ export default class Client extends OpenApi {
838
838
  * Queries the list of model templates.
839
839
  *
840
840
  * @remarks
841
- * You can use paged query to retrieve the list of model groups created in the WUYING Agent Management Center. You can filter results by Agent provider, Agent platform, template group ID, and whether a model has been configured. Paging is supported.
842
- * Before using this operation, make sure that you are familiar with the operations and usage of the WUYING Agent Management Center.
841
+ * You can query the model groups created in the WUYING Agent Management Center with paging. Filtering is supported by Agent provider, Agent platform, template group ID, and whether models have been configured.
842
+ * Before using this operation, make sure you are familiar with the operations and usage of the WUYING Agent Management Center.
843
843
  *
844
844
  * @param request - ListModelTemplatesRequest
845
845
  * @returns ListModelTemplatesResponse
package/dist/client.js CHANGED
@@ -807,8 +807,8 @@ class Client extends openapi_core_1.default {
807
807
  * Creates a model creation template.
808
808
  *
809
809
  * @remarks
810
- * You can create a model group in the Wuying Agent Management Center to manage the model providers and model scope that an Agent can invoke. After creation, you can attach the model group to a cloud computer as the inference engine configuration for Agent task execution.
811
- * Make sure you are familiar with the operations and usage of the Wuying Agent Management Center before invoking this operation.
810
+ * You can create a model group in the WUYING Agent Management Center to manage the model providers and model scope that an Agent can invoke. After creation, you can attach the model group to a cloud computer as the inference engine configuration for Agent task execution.
811
+ * Make sure that you are familiar with the operations and usage of the WUYING Agent Management Center before invoking this operation.
812
812
  *
813
813
  * @param request - CreateModelTemplateRequest
814
814
  * @param runtime - runtime options for this request RuntimeOptions
@@ -832,6 +832,9 @@ class Client extends openapi_core_1.default {
832
832
  if (!$dara.isNull(request.name)) {
833
833
  query["Name"] = request.name;
834
834
  }
835
+ if (!$dara.isNull(request.refScope)) {
836
+ query["RefScope"] = request.refScope;
837
+ }
835
838
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
836
839
  query: openapi_core_2.OpenApiUtil.query(query),
837
840
  });
@@ -852,8 +855,8 @@ class Client extends openapi_core_1.default {
852
855
  * Creates a model creation template.
853
856
  *
854
857
  * @remarks
855
- * You can create a model group in the Wuying Agent Management Center to manage the model providers and model scope that an Agent can invoke. After creation, you can attach the model group to a cloud computer as the inference engine configuration for Agent task execution.
856
- * Make sure you are familiar with the operations and usage of the Wuying Agent Management Center before invoking this operation.
858
+ * You can create a model group in the WUYING Agent Management Center to manage the model providers and model scope that an Agent can invoke. After creation, you can attach the model group to a cloud computer as the inference engine configuration for Agent task execution.
859
+ * Make sure that you are familiar with the operations and usage of the WUYING Agent Management Center before invoking this operation.
857
860
  *
858
861
  * @param request - CreateModelTemplateRequest
859
862
  * @returns CreateModelTemplateResponse
@@ -1890,7 +1893,7 @@ class Client extends openapi_core_1.default {
1890
1893
  * Queries the model configuration details of a cloud computer.
1891
1894
  *
1892
1895
  * @remarks
1893
- * You can query the model configuration details currently bound to a specified cloud computer in the Wuying Agent Management Center, including model groups, model provider lists, and associated model information. After risk information mode is enabled, you can also identify differences between the end user\\"s actual configuration and the configuration delivered by the administrator.
1896
+ * You can query the model configuration details currently bound to a specified cloud computer in the Wuying Agent Management Center, including model groups, model provider lists, and associated model information. After enabling the risk information mode, you can also identify differences between the end user\\"s actual configuration and the configuration delivered by the administrator.
1894
1897
  *
1895
1898
  * @param request - GetRuntimeModelConfigRequest
1896
1899
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1934,7 +1937,7 @@ class Client extends openapi_core_1.default {
1934
1937
  * Queries the model configuration details of a cloud computer.
1935
1938
  *
1936
1939
  * @remarks
1937
- * You can query the model configuration details currently bound to a specified cloud computer in the Wuying Agent Management Center, including model groups, model provider lists, and associated model information. After risk information mode is enabled, you can also identify differences between the end user\\"s actual configuration and the configuration delivered by the administrator.
1940
+ * You can query the model configuration details currently bound to a specified cloud computer in the Wuying Agent Management Center, including model groups, model provider lists, and associated model information. After enabling the risk information mode, you can also identify differences between the end user\\"s actual configuration and the configuration delivered by the administrator.
1938
1941
  *
1939
1942
  * @param request - GetRuntimeModelConfigRequest
1940
1943
  * @returns GetRuntimeModelConfigResponse
@@ -2421,7 +2424,7 @@ class Client extends openapi_core_1.default {
2421
2424
  * Queries the list of LLM templates.
2422
2425
  *
2423
2426
  * @remarks
2424
- * You can use paged query to retrieve the list of model templates under a model provider template in the Wuying Agent Management Center with paging support. Filtering by model group ID, model provider template ID, model template ID, and model encoding is supported. When querying by model group dimension, the default model is automatically placed at the top.
2427
+ * You can query the list of model templates under a model provider template in the Wuying Agent Management Center with paging. Filtering by model group ID, model provider template ID, model template ID, and model encoding is supported. When querying by model group dimension, the default model is automatically placed at the top.
2425
2428
  * Before using this operation, make sure you are familiar with the operations and usage of the Wuying Agent Management Center.
2426
2429
  *
2427
2430
  * @param tmpReq - ListLlmTemplatesRequest
@@ -2436,6 +2439,9 @@ class Client extends openapi_core_1.default {
2436
2439
  request.llmTemplateIdsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.llmTemplateIds, "LlmTemplateIds", "json");
2437
2440
  }
2438
2441
  let query = {};
2442
+ if (!$dara.isNull(request.bizType)) {
2443
+ query["BizType"] = request.bizType;
2444
+ }
2439
2445
  if (!$dara.isNull(request.llmCode)) {
2440
2446
  query["LlmCode"] = request.llmCode;
2441
2447
  }
@@ -2454,6 +2460,9 @@ class Client extends openapi_core_1.default {
2454
2460
  if (!$dara.isNull(request.providerTemplateId)) {
2455
2461
  query["ProviderTemplateId"] = request.providerTemplateId;
2456
2462
  }
2463
+ if (!$dara.isNull(request.smartModel)) {
2464
+ query["SmartModel"] = request.smartModel;
2465
+ }
2457
2466
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2458
2467
  query: openapi_core_2.OpenApiUtil.query(query),
2459
2468
  });
@@ -2474,7 +2483,7 @@ class Client extends openapi_core_1.default {
2474
2483
  * Queries the list of LLM templates.
2475
2484
  *
2476
2485
  * @remarks
2477
- * You can use paged query to retrieve the list of model templates under a model provider template in the Wuying Agent Management Center with paging support. Filtering by model group ID, model provider template ID, model template ID, and model encoding is supported. When querying by model group dimension, the default model is automatically placed at the top.
2486
+ * You can query the list of model templates under a model provider template in the Wuying Agent Management Center with paging. Filtering by model group ID, model provider template ID, model template ID, and model encoding is supported. When querying by model group dimension, the default model is automatically placed at the top.
2478
2487
  * Before using this operation, make sure you are familiar with the operations and usage of the Wuying Agent Management Center.
2479
2488
  *
2480
2489
  * @param request - ListLlmTemplatesRequest
@@ -2665,8 +2674,8 @@ class Client extends openapi_core_1.default {
2665
2674
  * Queries the list of model templates.
2666
2675
  *
2667
2676
  * @remarks
2668
- * You can use paged query to retrieve the list of model groups created in the WUYING Agent Management Center. You can filter results by Agent provider, Agent platform, template group ID, and whether a model has been configured. Paging is supported.
2669
- * Before using this operation, make sure that you are familiar with the operations and usage of the WUYING Agent Management Center.
2677
+ * You can query the model groups created in the WUYING Agent Management Center with paging. Filtering is supported by Agent provider, Agent platform, template group ID, and whether models have been configured.
2678
+ * Before using this operation, make sure you are familiar with the operations and usage of the WUYING Agent Management Center.
2670
2679
  *
2671
2680
  * @param tmpReq - ListModelTemplatesRequest
2672
2681
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2701,12 +2710,21 @@ class Client extends openapi_core_1.default {
2701
2710
  if (!$dara.isNull(request.modelTemplateIdListShrink)) {
2702
2711
  query["ModelTemplateIdList"] = request.modelTemplateIdListShrink;
2703
2712
  }
2713
+ if (!$dara.isNull(request.name)) {
2714
+ query["Name"] = request.name;
2715
+ }
2704
2716
  if (!$dara.isNull(request.pageNumber)) {
2705
2717
  query["PageNumber"] = request.pageNumber;
2706
2718
  }
2707
2719
  if (!$dara.isNull(request.pageSize)) {
2708
2720
  query["PageSize"] = request.pageSize;
2709
2721
  }
2722
+ if (!$dara.isNull(request.refScope)) {
2723
+ query["RefScope"] = request.refScope;
2724
+ }
2725
+ if (!$dara.isNull(request.source)) {
2726
+ query["Source"] = request.source;
2727
+ }
2710
2728
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2711
2729
  query: openapi_core_2.OpenApiUtil.query(query),
2712
2730
  });
@@ -2727,8 +2745,8 @@ class Client extends openapi_core_1.default {
2727
2745
  * Queries the list of model templates.
2728
2746
  *
2729
2747
  * @remarks
2730
- * You can use paged query to retrieve the list of model groups created in the WUYING Agent Management Center. You can filter results by Agent provider, Agent platform, template group ID, and whether a model has been configured. Paging is supported.
2731
- * Before using this operation, make sure that you are familiar with the operations and usage of the WUYING Agent Management Center.
2748
+ * You can query the model groups created in the WUYING Agent Management Center with paging. Filtering is supported by Agent provider, Agent platform, template group ID, and whether models have been configured.
2749
+ * Before using this operation, make sure you are familiar with the operations and usage of the WUYING Agent Management Center.
2732
2750
  *
2733
2751
  * @param request - ListModelTemplatesRequest
2734
2752
  * @returns ListModelTemplatesResponse
@@ -4540,6 +4558,9 @@ class Client extends openapi_core_1.default {
4540
4558
  if (!$dara.isNull(request.name)) {
4541
4559
  query["Name"] = request.name;
4542
4560
  }
4561
+ if (!$dara.isNull(request.refScope)) {
4562
+ query["RefScope"] = request.refScope;
4563
+ }
4543
4564
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
4544
4565
  query: openapi_core_2.OpenApiUtil.query(query),
4545
4566
  });