@alicloud/appstream-center20210901 5.6.5 → 5.7.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.
Files changed (33) hide show
  1. package/dist/client.d.ts +23 -2
  2. package/dist/client.js +47 -2
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/GetFileUploadInfoRequest.d.ts +23 -0
  5. package/dist/models/GetFileUploadInfoRequest.js +58 -0
  6. package/dist/models/GetFileUploadInfoRequest.js.map +1 -0
  7. package/dist/models/GetFileUploadInfoResponse.d.ts +19 -0
  8. package/dist/models/GetFileUploadInfoResponse.js +69 -0
  9. package/dist/models/GetFileUploadInfoResponse.js.map +1 -0
  10. package/dist/models/GetFileUploadInfoResponseBody.d.ts +118 -0
  11. package/dist/models/GetFileUploadInfoResponseBody.js +100 -0
  12. package/dist/models/GetFileUploadInfoResponseBody.js.map +1 -0
  13. package/dist/models/ListModelProviderTemplatesRequest.d.ts +1 -1
  14. package/dist/models/ListModelProviderTemplatesResponseBody.d.ts +11 -3
  15. package/dist/models/ListModelProviderTemplatesResponseBody.js +2 -0
  16. package/dist/models/ListModelProviderTemplatesResponseBody.js.map +1 -1
  17. package/dist/models/ListModelProviderTemplatesShrinkRequest.d.ts +1 -1
  18. package/dist/models/ModifyBrowserInstanceGroupRequest.d.ts +45 -12
  19. package/dist/models/ModifyBrowserInstanceGroupRequest.js +27 -1
  20. package/dist/models/ModifyBrowserInstanceGroupRequest.js.map +1 -1
  21. package/dist/models/model.d.ts +5 -0
  22. package/dist/models/model.js +26 -16
  23. package/dist/models/model.js.map +1 -1
  24. package/package.json +1 -1
  25. package/src/client.ts +50 -2
  26. package/src/models/GetFileUploadInfoRequest.ts +36 -0
  27. package/src/models/GetFileUploadInfoResponse.ts +40 -0
  28. package/src/models/GetFileUploadInfoResponseBody.ts +164 -0
  29. package/src/models/ListModelProviderTemplatesRequest.ts +1 -1
  30. package/src/models/ListModelProviderTemplatesResponseBody.ts +13 -3
  31. package/src/models/ListModelProviderTemplatesShrinkRequest.ts +1 -1
  32. package/src/models/ModifyBrowserInstanceGroupRequest.ts +62 -12
  33. package/src/models/model.ts +5 -0
package/dist/client.d.ts CHANGED
@@ -536,6 +536,27 @@ export default class Client extends OpenApi {
536
536
  * @returns GetDebugAppInstanceResponse
537
537
  */
538
538
  getDebugAppInstance(request: $_model.GetDebugAppInstanceRequest): Promise<$_model.GetDebugAppInstanceResponse>;
539
+ /**
540
+ * Retrieves file upload information.
541
+ *
542
+ * @remarks
543
+ * Visitor information is filled in on the lead capture page when visitors execute a cloud flow. Therefore, the usage mode of cloud applications does not generate visitor information.
544
+ *
545
+ * @param request - GetFileUploadInfoRequest
546
+ * @param runtime - runtime options for this request RuntimeOptions
547
+ * @returns GetFileUploadInfoResponse
548
+ */
549
+ getFileUploadInfoWithOptions(request: $_model.GetFileUploadInfoRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetFileUploadInfoResponse>;
550
+ /**
551
+ * Retrieves file upload information.
552
+ *
553
+ * @remarks
554
+ * Visitor information is filled in on the lead capture page when visitors execute a cloud flow. Therefore, the usage mode of cloud applications does not generate visitor information.
555
+ *
556
+ * @param request - GetFileUploadInfoRequest
557
+ * @returns GetFileUploadInfoResponse
558
+ */
559
+ getFileUploadInfo(request: $_model.GetFileUploadInfoRequest): Promise<$_model.GetFileUploadInfoResponse>;
539
560
  /**
540
561
  * Queries the details of a model provider template.
541
562
  *
@@ -780,7 +801,7 @@ export default class Client extends OpenApi {
780
801
  * Queries the list of model provider templates.
781
802
  *
782
803
  * @remarks
783
- * You can perform a paged query to retrieve the list of model provider templates under a specified model group in the WUYING Agent Management Center. Filtering by provider name, model group ID, and provider template ID is supported. Paging is controlled by the PageSize and PageNumber parameters.
804
+ * You can perform a paged query to retrieve the list of model provider templates under a specified model group in the WUYING Agent Management Center. Filtering by provider name, model group ID, and provider template ID is supported. Use the paging parameters to control the number of results returned per page.
784
805
  * Before using this operation, make sure that you are familiar with the operations and usage of the WUYING Agent Management Center.
785
806
  *
786
807
  * @param tmpReq - ListModelProviderTemplatesRequest
@@ -792,7 +813,7 @@ export default class Client extends OpenApi {
792
813
  * Queries the list of model provider templates.
793
814
  *
794
815
  * @remarks
795
- * You can perform a paged query to retrieve the list of model provider templates under a specified model group in the WUYING Agent Management Center. Filtering by provider name, model group ID, and provider template ID is supported. Paging is controlled by the PageSize and PageNumber parameters.
816
+ * You can perform a paged query to retrieve the list of model provider templates under a specified model group in the WUYING Agent Management Center. Filtering by provider name, model group ID, and provider template ID is supported. Use the paging parameters to control the number of results returned per page.
796
817
  * Before using this operation, make sure that you are familiar with the operations and usage of the WUYING Agent Management Center.
797
818
  *
798
819
  * @param request - ListModelProviderTemplatesRequest
package/dist/client.js CHANGED
@@ -1639,6 +1639,51 @@ class Client extends openapi_core_1.default {
1639
1639
  let runtime = new $dara.RuntimeOptions({});
1640
1640
  return await this.getDebugAppInstanceWithOptions(request, runtime);
1641
1641
  }
1642
+ /**
1643
+ * Retrieves file upload information.
1644
+ *
1645
+ * @remarks
1646
+ * Visitor information is filled in on the lead capture page when visitors execute a cloud flow. Therefore, the usage mode of cloud applications does not generate visitor information.
1647
+ *
1648
+ * @param request - GetFileUploadInfoRequest
1649
+ * @param runtime - runtime options for this request RuntimeOptions
1650
+ * @returns GetFileUploadInfoResponse
1651
+ */
1652
+ async getFileUploadInfoWithOptions(request, runtime) {
1653
+ request.validate();
1654
+ let query = {};
1655
+ if (!$dara.isNull(request.fileType)) {
1656
+ query["FileType"] = request.fileType;
1657
+ }
1658
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
1659
+ query: openapi_core_2.OpenApiUtil.query(query),
1660
+ });
1661
+ let params = new openapi_core_2.$OpenApiUtil.Params({
1662
+ action: "GetFileUploadInfo",
1663
+ version: "2021-09-01",
1664
+ protocol: "HTTPS",
1665
+ pathname: "/",
1666
+ method: "POST",
1667
+ authType: "AK",
1668
+ style: "RPC",
1669
+ reqBodyType: "formData",
1670
+ bodyType: "json",
1671
+ });
1672
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetFileUploadInfoResponse({}));
1673
+ }
1674
+ /**
1675
+ * Retrieves file upload information.
1676
+ *
1677
+ * @remarks
1678
+ * Visitor information is filled in on the lead capture page when visitors execute a cloud flow. Therefore, the usage mode of cloud applications does not generate visitor information.
1679
+ *
1680
+ * @param request - GetFileUploadInfoRequest
1681
+ * @returns GetFileUploadInfoResponse
1682
+ */
1683
+ async getFileUploadInfo(request) {
1684
+ let runtime = new $dara.RuntimeOptions({});
1685
+ return await this.getFileUploadInfoWithOptions(request, runtime);
1686
+ }
1642
1687
  /**
1643
1688
  * Queries the details of a model provider template.
1644
1689
  *
@@ -2548,7 +2593,7 @@ class Client extends openapi_core_1.default {
2548
2593
  * Queries the list of model provider templates.
2549
2594
  *
2550
2595
  * @remarks
2551
- * You can perform a paged query to retrieve the list of model provider templates under a specified model group in the WUYING Agent Management Center. Filtering by provider name, model group ID, and provider template ID is supported. Paging is controlled by the PageSize and PageNumber parameters.
2596
+ * You can perform a paged query to retrieve the list of model provider templates under a specified model group in the WUYING Agent Management Center. Filtering by provider name, model group ID, and provider template ID is supported. Use the paging parameters to control the number of results returned per page.
2552
2597
  * Before using this operation, make sure that you are familiar with the operations and usage of the WUYING Agent Management Center.
2553
2598
  *
2554
2599
  * @param tmpReq - ListModelProviderTemplatesRequest
@@ -2607,7 +2652,7 @@ class Client extends openapi_core_1.default {
2607
2652
  * Queries the list of model provider templates.
2608
2653
  *
2609
2654
  * @remarks
2610
- * You can perform a paged query to retrieve the list of model provider templates under a specified model group in the WUYING Agent Management Center. Filtering by provider name, model group ID, and provider template ID is supported. Paging is controlled by the PageSize and PageNumber parameters.
2655
+ * You can perform a paged query to retrieve the list of model provider templates under a specified model group in the WUYING Agent Management Center. Filtering by provider name, model group ID, and provider template ID is supported. Use the paging parameters to control the number of results returned per page.
2611
2656
  * Before using this operation, make sure that you are familiar with the operations and usage of the WUYING Agent Management Center.
2612
2657
  *
2613
2658
  * @param request - ListModelProviderTemplatesRequest