@alicloud/appstream-center20210901 5.6.3 → 5.6.5

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 (69) hide show
  1. package/dist/client.d.ts +12 -12
  2. package/dist/client.js +36 -12
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateImageByInstanceRequest.d.ts +2 -1
  5. package/dist/models/CreateImageByInstanceRequest.js +2 -0
  6. package/dist/models/CreateImageByInstanceRequest.js.map +1 -1
  7. package/dist/models/CreateImageByInstanceResponseBody.d.ts +4 -4
  8. package/dist/models/CreateModelTemplateRequest.d.ts +8 -3
  9. package/dist/models/CreateModelTemplateRequest.js +2 -0
  10. package/dist/models/CreateModelTemplateRequest.js.map +1 -1
  11. package/dist/models/GetRuntimeModelConfigResponseBody.d.ts +31 -4
  12. package/dist/models/GetRuntimeModelConfigResponseBody.js +27 -1
  13. package/dist/models/GetRuntimeModelConfigResponseBody.js.map +1 -1
  14. package/dist/models/ListDesktopAgentRuntimeRequest.d.ts +27 -6
  15. package/dist/models/ListDesktopAgentRuntimeRequest.js.map +1 -1
  16. package/dist/models/ListDesktopAgentRuntimeResponseBody.d.ts +28 -12
  17. package/dist/models/ListDesktopAgentRuntimeResponseBody.js.map +1 -1
  18. package/dist/models/ListLlmTemplatesRequest.d.ts +14 -1
  19. package/dist/models/ListLlmTemplatesRequest.js +4 -0
  20. package/dist/models/ListLlmTemplatesRequest.js.map +1 -1
  21. package/dist/models/ListLlmTemplatesResponseBody.d.ts +139 -4
  22. package/dist/models/ListLlmTemplatesResponseBody.js +127 -1
  23. package/dist/models/ListLlmTemplatesResponseBody.js.map +1 -1
  24. package/dist/models/ListLlmTemplatesShrinkRequest.d.ts +14 -1
  25. package/dist/models/ListLlmTemplatesShrinkRequest.js +4 -0
  26. package/dist/models/ListLlmTemplatesShrinkRequest.js.map +1 -1
  27. package/dist/models/ListModelTemplatesRequest.d.ts +32 -3
  28. package/dist/models/ListModelTemplatesRequest.js +6 -0
  29. package/dist/models/ListModelTemplatesRequest.js.map +1 -1
  30. package/dist/models/ListModelTemplatesResponseBody.d.ts +29 -3
  31. package/dist/models/ListModelTemplatesResponseBody.js +8 -0
  32. package/dist/models/ListModelTemplatesResponseBody.js.map +1 -1
  33. package/dist/models/ListModelTemplatesShrinkRequest.d.ts +32 -3
  34. package/dist/models/ListModelTemplatesShrinkRequest.js +6 -0
  35. package/dist/models/ListModelTemplatesShrinkRequest.js.map +1 -1
  36. package/dist/models/ListWuyingServerRequest.d.ts +16 -1
  37. package/dist/models/ListWuyingServerRequest.js.map +1 -1
  38. package/dist/models/ListWuyingServerResponseBody.d.ts +14 -14
  39. package/dist/models/ModifyBrowserInstanceGroupRequest.d.ts +111 -7
  40. package/dist/models/ModifyBrowserInstanceGroupRequest.js +55 -1
  41. package/dist/models/ModifyBrowserInstanceGroupRequest.js.map +1 -1
  42. package/dist/models/ModifyBrowserInstanceGroupShrinkRequest.d.ts +7 -0
  43. package/dist/models/ModifyBrowserInstanceGroupShrinkRequest.js.map +1 -1
  44. package/dist/models/UpdateModelTemplateRequest.d.ts +10 -5
  45. package/dist/models/UpdateModelTemplateRequest.js +2 -0
  46. package/dist/models/UpdateModelTemplateRequest.js.map +1 -1
  47. package/dist/models/model.d.ts +7 -0
  48. package/dist/models/model.js +39 -25
  49. package/dist/models/model.js.map +1 -1
  50. package/package.json +1 -1
  51. package/src/client.ts +44 -12
  52. package/src/models/CreateImageByInstanceRequest.ts +4 -1
  53. package/src/models/CreateImageByInstanceResponseBody.ts +4 -4
  54. package/src/models/CreateModelTemplateRequest.ts +10 -3
  55. package/src/models/GetRuntimeModelConfigResponseBody.ts +48 -4
  56. package/src/models/ListDesktopAgentRuntimeRequest.ts +27 -6
  57. package/src/models/ListDesktopAgentRuntimeResponseBody.ts +28 -12
  58. package/src/models/ListLlmTemplatesRequest.ts +18 -1
  59. package/src/models/ListLlmTemplatesResponseBody.ts +227 -4
  60. package/src/models/ListLlmTemplatesShrinkRequest.ts +18 -1
  61. package/src/models/ListModelTemplatesRequest.ts +38 -3
  62. package/src/models/ListModelTemplatesResponseBody.ts +37 -3
  63. package/src/models/ListModelTemplatesShrinkRequest.ts +38 -3
  64. package/src/models/ListWuyingServerRequest.ts +16 -1
  65. package/src/models/ListWuyingServerResponseBody.ts +14 -14
  66. package/src/models/ModifyBrowserInstanceGroupRequest.ts +147 -7
  67. package/src/models/ModifyBrowserInstanceGroupShrinkRequest.ts +7 -0
  68. package/src/models/UpdateModelTemplateRequest.ts +12 -5
  69. 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
@@ -636,6 +636,9 @@ class Client extends openapi_core_1.default {
636
636
  if (!$dara.isNull(request.bizType)) {
637
637
  body["BizType"] = request.bizType;
638
638
  }
639
+ if (!$dara.isNull(request.copyProfile)) {
640
+ body["CopyProfile"] = request.copyProfile;
641
+ }
639
642
  if (!$dara.isNull(request.description)) {
640
643
  body["Description"] = request.description;
641
644
  }
@@ -807,8 +810,8 @@ class Client extends openapi_core_1.default {
807
810
  * Creates a model creation template.
808
811
  *
809
812
  * @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.
813
+ * 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.
814
+ * Make sure that you are familiar with the operations and usage of the WUYING Agent Management Center before invoking this operation.
812
815
  *
813
816
  * @param request - CreateModelTemplateRequest
814
817
  * @param runtime - runtime options for this request RuntimeOptions
@@ -832,6 +835,9 @@ class Client extends openapi_core_1.default {
832
835
  if (!$dara.isNull(request.name)) {
833
836
  query["Name"] = request.name;
834
837
  }
838
+ if (!$dara.isNull(request.refScope)) {
839
+ query["RefScope"] = request.refScope;
840
+ }
835
841
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
836
842
  query: openapi_core_2.OpenApiUtil.query(query),
837
843
  });
@@ -852,8 +858,8 @@ class Client extends openapi_core_1.default {
852
858
  * Creates a model creation template.
853
859
  *
854
860
  * @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.
861
+ * 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.
862
+ * Make sure that you are familiar with the operations and usage of the WUYING Agent Management Center before invoking this operation.
857
863
  *
858
864
  * @param request - CreateModelTemplateRequest
859
865
  * @returns CreateModelTemplateResponse
@@ -1890,7 +1896,7 @@ class Client extends openapi_core_1.default {
1890
1896
  * Queries the model configuration details of a cloud computer.
1891
1897
  *
1892
1898
  * @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.
1899
+ * 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
1900
  *
1895
1901
  * @param request - GetRuntimeModelConfigRequest
1896
1902
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1934,7 +1940,7 @@ class Client extends openapi_core_1.default {
1934
1940
  * Queries the model configuration details of a cloud computer.
1935
1941
  *
1936
1942
  * @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.
1943
+ * 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
1944
  *
1939
1945
  * @param request - GetRuntimeModelConfigRequest
1940
1946
  * @returns GetRuntimeModelConfigResponse
@@ -2421,7 +2427,7 @@ class Client extends openapi_core_1.default {
2421
2427
  * Queries the list of LLM templates.
2422
2428
  *
2423
2429
  * @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.
2430
+ * 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
2431
  * Before using this operation, make sure you are familiar with the operations and usage of the Wuying Agent Management Center.
2426
2432
  *
2427
2433
  * @param tmpReq - ListLlmTemplatesRequest
@@ -2436,6 +2442,9 @@ class Client extends openapi_core_1.default {
2436
2442
  request.llmTemplateIdsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.llmTemplateIds, "LlmTemplateIds", "json");
2437
2443
  }
2438
2444
  let query = {};
2445
+ if (!$dara.isNull(request.bizType)) {
2446
+ query["BizType"] = request.bizType;
2447
+ }
2439
2448
  if (!$dara.isNull(request.llmCode)) {
2440
2449
  query["LlmCode"] = request.llmCode;
2441
2450
  }
@@ -2454,6 +2463,9 @@ class Client extends openapi_core_1.default {
2454
2463
  if (!$dara.isNull(request.providerTemplateId)) {
2455
2464
  query["ProviderTemplateId"] = request.providerTemplateId;
2456
2465
  }
2466
+ if (!$dara.isNull(request.smartModel)) {
2467
+ query["SmartModel"] = request.smartModel;
2468
+ }
2457
2469
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2458
2470
  query: openapi_core_2.OpenApiUtil.query(query),
2459
2471
  });
@@ -2474,7 +2486,7 @@ class Client extends openapi_core_1.default {
2474
2486
  * Queries the list of LLM templates.
2475
2487
  *
2476
2488
  * @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.
2489
+ * 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
2490
  * Before using this operation, make sure you are familiar with the operations and usage of the Wuying Agent Management Center.
2479
2491
  *
2480
2492
  * @param request - ListLlmTemplatesRequest
@@ -2665,8 +2677,8 @@ class Client extends openapi_core_1.default {
2665
2677
  * Queries the list of model templates.
2666
2678
  *
2667
2679
  * @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.
2680
+ * 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.
2681
+ * Before using this operation, make sure you are familiar with the operations and usage of the WUYING Agent Management Center.
2670
2682
  *
2671
2683
  * @param tmpReq - ListModelTemplatesRequest
2672
2684
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2701,12 +2713,21 @@ class Client extends openapi_core_1.default {
2701
2713
  if (!$dara.isNull(request.modelTemplateIdListShrink)) {
2702
2714
  query["ModelTemplateIdList"] = request.modelTemplateIdListShrink;
2703
2715
  }
2716
+ if (!$dara.isNull(request.name)) {
2717
+ query["Name"] = request.name;
2718
+ }
2704
2719
  if (!$dara.isNull(request.pageNumber)) {
2705
2720
  query["PageNumber"] = request.pageNumber;
2706
2721
  }
2707
2722
  if (!$dara.isNull(request.pageSize)) {
2708
2723
  query["PageSize"] = request.pageSize;
2709
2724
  }
2725
+ if (!$dara.isNull(request.refScope)) {
2726
+ query["RefScope"] = request.refScope;
2727
+ }
2728
+ if (!$dara.isNull(request.source)) {
2729
+ query["Source"] = request.source;
2730
+ }
2710
2731
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2711
2732
  query: openapi_core_2.OpenApiUtil.query(query),
2712
2733
  });
@@ -2727,8 +2748,8 @@ class Client extends openapi_core_1.default {
2727
2748
  * Queries the list of model templates.
2728
2749
  *
2729
2750
  * @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.
2751
+ * 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.
2752
+ * Before using this operation, make sure you are familiar with the operations and usage of the WUYING Agent Management Center.
2732
2753
  *
2733
2754
  * @param request - ListModelTemplatesRequest
2734
2755
  * @returns ListModelTemplatesResponse
@@ -4540,6 +4561,9 @@ class Client extends openapi_core_1.default {
4540
4561
  if (!$dara.isNull(request.name)) {
4541
4562
  query["Name"] = request.name;
4542
4563
  }
4564
+ if (!$dara.isNull(request.refScope)) {
4565
+ query["RefScope"] = request.refScope;
4566
+ }
4543
4567
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
4544
4568
  query: openapi_core_2.OpenApiUtil.query(query),
4545
4569
  });