@alicloud/cms20240330 3.2.5 → 3.3.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 (77) hide show
  1. package/dist/client.d.ts +89 -2
  2. package/dist/client.js +208 -2
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateIntegrationPolicyRequest.d.ts +9 -2
  5. package/dist/models/CreateIntegrationPolicyRequest.js.map +1 -1
  6. package/dist/models/CreateIntegrationPolicyResponseBody.d.ts +1 -1
  7. package/dist/models/DeleteUmodelCommonSchemaRefRequest.d.ts +21 -0
  8. package/dist/models/DeleteUmodelCommonSchemaRefRequest.js +58 -0
  9. package/dist/models/DeleteUmodelCommonSchemaRefRequest.js.map +1 -0
  10. package/dist/models/DeleteUmodelCommonSchemaRefResponse.d.ts +19 -0
  11. package/dist/models/DeleteUmodelCommonSchemaRefResponse.js +69 -0
  12. package/dist/models/DeleteUmodelCommonSchemaRefResponse.js.map +1 -0
  13. package/dist/models/DeleteUmodelCommonSchemaRefResponseBody.d.ts +18 -0
  14. package/dist/models/DeleteUmodelCommonSchemaRefResponseBody.js +58 -0
  15. package/dist/models/DeleteUmodelCommonSchemaRefResponseBody.js.map +1 -0
  16. package/dist/models/GetUmodelCommonSchemaRefResponse.d.ts +19 -0
  17. package/dist/models/GetUmodelCommonSchemaRefResponse.js +69 -0
  18. package/dist/models/GetUmodelCommonSchemaRefResponse.js.map +1 -0
  19. package/dist/models/GetUmodelCommonSchemaRefResponseBody.d.ts +36 -0
  20. package/dist/models/GetUmodelCommonSchemaRefResponseBody.js +82 -0
  21. package/dist/models/GetUmodelCommonSchemaRefResponseBody.js.map +1 -0
  22. package/dist/models/ListIntegrationPoliciesRequest.d.ts +10 -10
  23. package/dist/models/ListIntegrationPoliciesResponseBody.d.ts +13 -6
  24. package/dist/models/ListIntegrationPoliciesResponseBody.js.map +1 -1
  25. package/dist/models/ListIntegrationPoliciesShrinkRequest.d.ts +10 -10
  26. package/dist/models/UpdateNotifyStrategyRequest.d.ts +20 -0
  27. package/dist/models/UpdateNotifyStrategyRequest.js +64 -0
  28. package/dist/models/UpdateNotifyStrategyRequest.js.map +1 -0
  29. package/dist/models/UpdateNotifyStrategyResponse.d.ts +19 -0
  30. package/dist/models/UpdateNotifyStrategyResponse.js +69 -0
  31. package/dist/models/UpdateNotifyStrategyResponse.js.map +1 -0
  32. package/dist/models/UpdateNotifyStrategyResponseBody.d.ts +26 -0
  33. package/dist/models/UpdateNotifyStrategyResponseBody.js +60 -0
  34. package/dist/models/UpdateNotifyStrategyResponseBody.js.map +1 -0
  35. package/dist/models/UpdateSubscriptionRequest.d.ts +20 -0
  36. package/dist/models/UpdateSubscriptionRequest.js +64 -0
  37. package/dist/models/UpdateSubscriptionRequest.js.map +1 -0
  38. package/dist/models/UpdateSubscriptionResponse.d.ts +19 -0
  39. package/dist/models/UpdateSubscriptionResponse.js +69 -0
  40. package/dist/models/UpdateSubscriptionResponse.js.map +1 -0
  41. package/dist/models/UpdateSubscriptionResponseBody.d.ts +26 -0
  42. package/dist/models/UpdateSubscriptionResponseBody.js +60 -0
  43. package/dist/models/UpdateSubscriptionResponseBody.js.map +1 -0
  44. package/dist/models/UpsertUmodelCommonSchemaRefRequest.d.ts +29 -0
  45. package/dist/models/UpsertUmodelCommonSchemaRefRequest.js +60 -0
  46. package/dist/models/UpsertUmodelCommonSchemaRefRequest.js.map +1 -0
  47. package/dist/models/UpsertUmodelCommonSchemaRefResponse.d.ts +19 -0
  48. package/dist/models/UpsertUmodelCommonSchemaRefResponse.js +69 -0
  49. package/dist/models/UpsertUmodelCommonSchemaRefResponse.js.map +1 -0
  50. package/dist/models/UpsertUmodelCommonSchemaRefResponseBody.d.ts +18 -0
  51. package/dist/models/UpsertUmodelCommonSchemaRefResponseBody.js +58 -0
  52. package/dist/models/UpsertUmodelCommonSchemaRefResponseBody.js.map +1 -0
  53. package/dist/models/model.d.ts +15 -0
  54. package/dist/models/model.js +37 -6
  55. package/dist/models/model.js.map +1 -1
  56. package/package.json +1 -1
  57. package/src/client.ts +223 -2
  58. package/src/models/CreateIntegrationPolicyRequest.ts +9 -2
  59. package/src/models/CreateIntegrationPolicyResponseBody.ts +1 -1
  60. package/src/models/DeleteUmodelCommonSchemaRefRequest.ts +34 -0
  61. package/src/models/DeleteUmodelCommonSchemaRefResponse.ts +40 -0
  62. package/src/models/DeleteUmodelCommonSchemaRefResponseBody.ts +31 -0
  63. package/src/models/GetUmodelCommonSchemaRefResponse.ts +40 -0
  64. package/src/models/GetUmodelCommonSchemaRefResponseBody.ts +64 -0
  65. package/src/models/ListIntegrationPoliciesRequest.ts +10 -10
  66. package/src/models/ListIntegrationPoliciesResponseBody.ts +13 -6
  67. package/src/models/ListIntegrationPoliciesShrinkRequest.ts +10 -10
  68. package/src/models/UpdateNotifyStrategyRequest.ts +38 -0
  69. package/src/models/UpdateNotifyStrategyResponse.ts +40 -0
  70. package/src/models/UpdateNotifyStrategyResponseBody.ts +41 -0
  71. package/src/models/UpdateSubscriptionRequest.ts +38 -0
  72. package/src/models/UpdateSubscriptionResponse.ts +40 -0
  73. package/src/models/UpdateSubscriptionResponseBody.ts +41 -0
  74. package/src/models/UpsertUmodelCommonSchemaRefRequest.ts +44 -0
  75. package/src/models/UpsertUmodelCommonSchemaRefResponse.ts +40 -0
  76. package/src/models/UpsertUmodelCommonSchemaRefResponseBody.ts +31 -0
  77. package/src/models/model.ts +15 -0
package/dist/client.d.ts CHANGED
@@ -359,6 +359,24 @@ export default class Client extends OpenApi {
359
359
  * @returns DeleteUmodelResponse
360
360
  */
361
361
  deleteUmodel(workspace: string): Promise<$_model.DeleteUmodelResponse>;
362
+ /**
363
+ * 删除Umodel配置信息
364
+ *
365
+ * @param request - DeleteUmodelCommonSchemaRefRequest
366
+ * @param headers - map
367
+ * @param runtime - runtime options for this request RuntimeOptions
368
+ * @returns DeleteUmodelCommonSchemaRefResponse
369
+ */
370
+ deleteUmodelCommonSchemaRefWithOptions(workspace: string, request: $_model.DeleteUmodelCommonSchemaRefRequest, headers: {
371
+ [key: string]: string;
372
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteUmodelCommonSchemaRefResponse>;
373
+ /**
374
+ * 删除Umodel配置信息
375
+ *
376
+ * @param request - DeleteUmodelCommonSchemaRefRequest
377
+ * @returns DeleteUmodelCommonSchemaRefResponse
378
+ */
379
+ deleteUmodelCommonSchemaRef(workspace: string, request: $_model.DeleteUmodelCommonSchemaRefRequest): Promise<$_model.DeleteUmodelCommonSchemaRefResponse>;
362
380
  /**
363
381
  * Delete Umodel Elements
364
382
  *
@@ -573,6 +591,21 @@ export default class Client extends OpenApi {
573
591
  * @returns GetUmodelResponse
574
592
  */
575
593
  getUmodel(workspace: string): Promise<$_model.GetUmodelResponse>;
594
+ /**
595
+ * 获取Umodel配置信息
596
+ *
597
+ * @param headers - map
598
+ * @param runtime - runtime options for this request RuntimeOptions
599
+ * @returns GetUmodelCommonSchemaRefResponse
600
+ */
601
+ getUmodelCommonSchemaRefWithOptions(workspace: string, headers: {
602
+ [key: string]: string;
603
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.GetUmodelCommonSchemaRefResponse>;
604
+ /**
605
+ * 获取Umodel配置信息
606
+ * @returns GetUmodelCommonSchemaRefResponse
607
+ */
608
+ getUmodelCommonSchemaRef(workspace: string): Promise<$_model.GetUmodelCommonSchemaRefResponse>;
576
609
  /**
577
610
  * Retrieve associated Umodel graph data
578
611
  *
@@ -676,7 +709,7 @@ export default class Client extends OpenApi {
676
709
  * Query Access Center Policy List Information
677
710
  *
678
711
  * @remarks
679
- * Query Integration List
712
+ * Query integration list
680
713
  *
681
714
  * @param tmpReq - ListIntegrationPoliciesRequest
682
715
  * @param headers - map
@@ -690,7 +723,7 @@ export default class Client extends OpenApi {
690
723
  * Query Access Center Policy List Information
691
724
  *
692
725
  * @remarks
693
- * Query Integration List
726
+ * Query integration list
694
727
  *
695
728
  * @param request - ListIntegrationPoliciesRequest
696
729
  * @returns ListIntegrationPoliciesResponse
@@ -1012,6 +1045,24 @@ export default class Client extends OpenApi {
1012
1045
  * @returns UpdateIntegrationPolicyResponse
1013
1046
  */
1014
1047
  updateIntegrationPolicy(integrationPolicyId: string, request: $_model.UpdateIntegrationPolicyRequest): Promise<$_model.UpdateIntegrationPolicyResponse>;
1048
+ /**
1049
+ * 更新订阅
1050
+ *
1051
+ * @param request - UpdateNotifyStrategyRequest
1052
+ * @param headers - map
1053
+ * @param runtime - runtime options for this request RuntimeOptions
1054
+ * @returns UpdateNotifyStrategyResponse
1055
+ */
1056
+ updateNotifyStrategyWithOptions(notifyStrategyId: string, request: $_model.UpdateNotifyStrategyRequest, headers: {
1057
+ [key: string]: string;
1058
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateNotifyStrategyResponse>;
1059
+ /**
1060
+ * 更新订阅
1061
+ *
1062
+ * @param request - UpdateNotifyStrategyRequest
1063
+ * @returns UpdateNotifyStrategyResponse
1064
+ */
1065
+ updateNotifyStrategy(notifyStrategyId: string, request: $_model.UpdateNotifyStrategyRequest): Promise<$_model.UpdateNotifyStrategyResponse>;
1015
1066
  /**
1016
1067
  * Update Prometheus instance information
1017
1068
  *
@@ -1078,6 +1129,24 @@ export default class Client extends OpenApi {
1078
1129
  * @returns UpdateServiceResponse
1079
1130
  */
1080
1131
  updateService(workspace: string, serviceId: string, request: $_model.UpdateServiceRequest): Promise<$_model.UpdateServiceResponse>;
1132
+ /**
1133
+ * 更新订阅
1134
+ *
1135
+ * @param request - UpdateSubscriptionRequest
1136
+ * @param headers - map
1137
+ * @param runtime - runtime options for this request RuntimeOptions
1138
+ * @returns UpdateSubscriptionResponse
1139
+ */
1140
+ updateSubscriptionWithOptions(subscriptionId: string, request: $_model.UpdateSubscriptionRequest, headers: {
1141
+ [key: string]: string;
1142
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateSubscriptionResponse>;
1143
+ /**
1144
+ * 更新订阅
1145
+ *
1146
+ * @param request - UpdateSubscriptionRequest
1147
+ * @returns UpdateSubscriptionResponse
1148
+ */
1149
+ updateSubscription(subscriptionId: string, request: $_model.UpdateSubscriptionRequest): Promise<$_model.UpdateSubscriptionResponse>;
1081
1150
  /**
1082
1151
  * Update Umodel configuration information
1083
1152
  *
@@ -1102,6 +1171,24 @@ export default class Client extends OpenApi {
1102
1171
  * @returns UpdateUmodelResponse
1103
1172
  */
1104
1173
  updateUmodel(workspace: string, request: $_model.UpdateUmodelRequest): Promise<$_model.UpdateUmodelResponse>;
1174
+ /**
1175
+ * 更新Umodel配置信息
1176
+ *
1177
+ * @param request - UpsertUmodelCommonSchemaRefRequest
1178
+ * @param headers - map
1179
+ * @param runtime - runtime options for this request RuntimeOptions
1180
+ * @returns UpsertUmodelCommonSchemaRefResponse
1181
+ */
1182
+ upsertUmodelCommonSchemaRefWithOptions(workspace: string, request: $_model.UpsertUmodelCommonSchemaRefRequest, headers: {
1183
+ [key: string]: string;
1184
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.UpsertUmodelCommonSchemaRefResponse>;
1185
+ /**
1186
+ * 更新Umodel配置信息
1187
+ *
1188
+ * @param request - UpsertUmodelCommonSchemaRefRequest
1189
+ * @returns UpsertUmodelCommonSchemaRefResponse
1190
+ */
1191
+ upsertUmodelCommonSchemaRef(workspace: string, request: $_model.UpsertUmodelCommonSchemaRefRequest): Promise<$_model.UpsertUmodelCommonSchemaRefResponse>;
1105
1192
  /**
1106
1193
  * Write Umodel Elements
1107
1194
  *
package/dist/client.js CHANGED
@@ -981,6 +981,48 @@ class Client extends openapi_core_1.default {
981
981
  let headers = {};
982
982
  return await this.deleteUmodelWithOptions(workspace, headers, runtime);
983
983
  }
984
+ /**
985
+ * 删除Umodel配置信息
986
+ *
987
+ * @param request - DeleteUmodelCommonSchemaRefRequest
988
+ * @param headers - map
989
+ * @param runtime - runtime options for this request RuntimeOptions
990
+ * @returns DeleteUmodelCommonSchemaRefResponse
991
+ */
992
+ async deleteUmodelCommonSchemaRefWithOptions(workspace, request, headers, runtime) {
993
+ request.validate();
994
+ let query = {};
995
+ if (!$dara.isNull(request.group)) {
996
+ query["group"] = request.group;
997
+ }
998
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
999
+ headers: headers,
1000
+ query: openapi_core_2.OpenApiUtil.query(query),
1001
+ });
1002
+ let params = new openapi_core_2.$OpenApiUtil.Params({
1003
+ action: "DeleteUmodelCommonSchemaRef",
1004
+ version: "2024-03-30",
1005
+ protocol: "HTTPS",
1006
+ pathname: `/workspace/${$dara.URL.percentEncode(workspace)}/umodel/common-schema-ref`,
1007
+ method: "DELETE",
1008
+ authType: "AK",
1009
+ style: "ROA",
1010
+ reqBodyType: "json",
1011
+ bodyType: "json",
1012
+ });
1013
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteUmodelCommonSchemaRefResponse({}));
1014
+ }
1015
+ /**
1016
+ * 删除Umodel配置信息
1017
+ *
1018
+ * @param request - DeleteUmodelCommonSchemaRefRequest
1019
+ * @returns DeleteUmodelCommonSchemaRefResponse
1020
+ */
1021
+ async deleteUmodelCommonSchemaRef(workspace, request) {
1022
+ let runtime = new $dara.RuntimeOptions({});
1023
+ let headers = {};
1024
+ return await this.deleteUmodelCommonSchemaRefWithOptions(workspace, request, headers, runtime);
1025
+ }
984
1026
  /**
985
1027
  * Delete Umodel Elements
986
1028
  *
@@ -1462,6 +1504,39 @@ class Client extends openapi_core_1.default {
1462
1504
  let headers = {};
1463
1505
  return await this.getUmodelWithOptions(workspace, headers, runtime);
1464
1506
  }
1507
+ /**
1508
+ * 获取Umodel配置信息
1509
+ *
1510
+ * @param headers - map
1511
+ * @param runtime - runtime options for this request RuntimeOptions
1512
+ * @returns GetUmodelCommonSchemaRefResponse
1513
+ */
1514
+ async getUmodelCommonSchemaRefWithOptions(workspace, headers, runtime) {
1515
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
1516
+ headers: headers,
1517
+ });
1518
+ let params = new openapi_core_2.$OpenApiUtil.Params({
1519
+ action: "GetUmodelCommonSchemaRef",
1520
+ version: "2024-03-30",
1521
+ protocol: "HTTPS",
1522
+ pathname: `/workspace/${$dara.URL.percentEncode(workspace)}/umodel/common-schema-ref`,
1523
+ method: "GET",
1524
+ authType: "AK",
1525
+ style: "ROA",
1526
+ reqBodyType: "json",
1527
+ bodyType: "json",
1528
+ });
1529
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetUmodelCommonSchemaRefResponse({}));
1530
+ }
1531
+ /**
1532
+ * 获取Umodel配置信息
1533
+ * @returns GetUmodelCommonSchemaRefResponse
1534
+ */
1535
+ async getUmodelCommonSchemaRef(workspace) {
1536
+ let runtime = new $dara.RuntimeOptions({});
1537
+ let headers = {};
1538
+ return await this.getUmodelCommonSchemaRefWithOptions(workspace, headers, runtime);
1539
+ }
1465
1540
  /**
1466
1541
  * Retrieve associated Umodel graph data
1467
1542
  *
@@ -1730,7 +1805,7 @@ class Client extends openapi_core_1.default {
1730
1805
  * Query Access Center Policy List Information
1731
1806
  *
1732
1807
  * @remarks
1733
- * Query Integration List
1808
+ * Query integration list
1734
1809
  *
1735
1810
  * @param tmpReq - ListIntegrationPoliciesRequest
1736
1811
  * @param headers - map
@@ -1808,7 +1883,7 @@ class Client extends openapi_core_1.default {
1808
1883
  * Query Access Center Policy List Information
1809
1884
  *
1810
1885
  * @remarks
1811
- * Query Integration List
1886
+ * Query integration list
1812
1887
  *
1813
1888
  * @param request - ListIntegrationPoliciesRequest
1814
1889
  * @returns ListIntegrationPoliciesResponse
@@ -2674,6 +2749,49 @@ class Client extends openapi_core_1.default {
2674
2749
  let headers = {};
2675
2750
  return await this.updateIntegrationPolicyWithOptions(integrationPolicyId, request, headers, runtime);
2676
2751
  }
2752
+ /**
2753
+ * 更新订阅
2754
+ *
2755
+ * @param request - UpdateNotifyStrategyRequest
2756
+ * @param headers - map
2757
+ * @param runtime - runtime options for this request RuntimeOptions
2758
+ * @returns UpdateNotifyStrategyResponse
2759
+ */
2760
+ async updateNotifyStrategyWithOptions(notifyStrategyId, request, headers, runtime) {
2761
+ request.validate();
2762
+ let query = {};
2763
+ if (!$dara.isNull(request.workspace)) {
2764
+ query["workspace"] = request.workspace;
2765
+ }
2766
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2767
+ headers: headers,
2768
+ query: openapi_core_2.OpenApiUtil.query(query),
2769
+ body: openapi_core_2.OpenApiUtil.parseToMap(request.body),
2770
+ });
2771
+ let params = new openapi_core_2.$OpenApiUtil.Params({
2772
+ action: "UpdateNotifyStrategy",
2773
+ version: "2024-03-30",
2774
+ protocol: "HTTPS",
2775
+ pathname: `/notifyStrategies/${$dara.URL.percentEncode(notifyStrategyId)}`,
2776
+ method: "PUT",
2777
+ authType: "AK",
2778
+ style: "ROA",
2779
+ reqBodyType: "json",
2780
+ bodyType: "json",
2781
+ });
2782
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateNotifyStrategyResponse({}));
2783
+ }
2784
+ /**
2785
+ * 更新订阅
2786
+ *
2787
+ * @param request - UpdateNotifyStrategyRequest
2788
+ * @returns UpdateNotifyStrategyResponse
2789
+ */
2790
+ async updateNotifyStrategy(notifyStrategyId, request) {
2791
+ let runtime = new $dara.RuntimeOptions({});
2792
+ let headers = {};
2793
+ return await this.updateNotifyStrategyWithOptions(notifyStrategyId, request, headers, runtime);
2794
+ }
2677
2795
  /**
2678
2796
  * Update Prometheus instance information
2679
2797
  *
@@ -2869,6 +2987,49 @@ class Client extends openapi_core_1.default {
2869
2987
  let headers = {};
2870
2988
  return await this.updateServiceWithOptions(workspace, serviceId, request, headers, runtime);
2871
2989
  }
2990
+ /**
2991
+ * 更新订阅
2992
+ *
2993
+ * @param request - UpdateSubscriptionRequest
2994
+ * @param headers - map
2995
+ * @param runtime - runtime options for this request RuntimeOptions
2996
+ * @returns UpdateSubscriptionResponse
2997
+ */
2998
+ async updateSubscriptionWithOptions(subscriptionId, request, headers, runtime) {
2999
+ request.validate();
3000
+ let query = {};
3001
+ if (!$dara.isNull(request.workspace)) {
3002
+ query["workspace"] = request.workspace;
3003
+ }
3004
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
3005
+ headers: headers,
3006
+ query: openapi_core_2.OpenApiUtil.query(query),
3007
+ body: openapi_core_2.OpenApiUtil.parseToMap(request.body),
3008
+ });
3009
+ let params = new openapi_core_2.$OpenApiUtil.Params({
3010
+ action: "UpdateSubscription",
3011
+ version: "2024-03-30",
3012
+ protocol: "HTTPS",
3013
+ pathname: `/subscriptions/${$dara.URL.percentEncode(subscriptionId)}`,
3014
+ method: "PUT",
3015
+ authType: "AK",
3016
+ style: "ROA",
3017
+ reqBodyType: "json",
3018
+ bodyType: "json",
3019
+ });
3020
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateSubscriptionResponse({}));
3021
+ }
3022
+ /**
3023
+ * 更新订阅
3024
+ *
3025
+ * @param request - UpdateSubscriptionRequest
3026
+ * @returns UpdateSubscriptionResponse
3027
+ */
3028
+ async updateSubscription(subscriptionId, request) {
3029
+ let runtime = new $dara.RuntimeOptions({});
3030
+ let headers = {};
3031
+ return await this.updateSubscriptionWithOptions(subscriptionId, request, headers, runtime);
3032
+ }
2872
3033
  /**
2873
3034
  * Update Umodel configuration information
2874
3035
  *
@@ -2917,6 +3078,51 @@ class Client extends openapi_core_1.default {
2917
3078
  let headers = {};
2918
3079
  return await this.updateUmodelWithOptions(workspace, request, headers, runtime);
2919
3080
  }
3081
+ /**
3082
+ * 更新Umodel配置信息
3083
+ *
3084
+ * @param request - UpsertUmodelCommonSchemaRefRequest
3085
+ * @param headers - map
3086
+ * @param runtime - runtime options for this request RuntimeOptions
3087
+ * @returns UpsertUmodelCommonSchemaRefResponse
3088
+ */
3089
+ async upsertUmodelCommonSchemaRefWithOptions(workspace, request, headers, runtime) {
3090
+ request.validate();
3091
+ let query = {};
3092
+ if (!$dara.isNull(request.group)) {
3093
+ query["group"] = request.group;
3094
+ }
3095
+ if (!$dara.isNull(request.version)) {
3096
+ query["version"] = request.version;
3097
+ }
3098
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
3099
+ headers: headers,
3100
+ query: openapi_core_2.OpenApiUtil.query(query),
3101
+ });
3102
+ let params = new openapi_core_2.$OpenApiUtil.Params({
3103
+ action: "UpsertUmodelCommonSchemaRef",
3104
+ version: "2024-03-30",
3105
+ protocol: "HTTPS",
3106
+ pathname: `/workspace/${$dara.URL.percentEncode(workspace)}/umodel/common-schema-ref`,
3107
+ method: "PATCH",
3108
+ authType: "AK",
3109
+ style: "ROA",
3110
+ reqBodyType: "json",
3111
+ bodyType: "json",
3112
+ });
3113
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpsertUmodelCommonSchemaRefResponse({}));
3114
+ }
3115
+ /**
3116
+ * 更新Umodel配置信息
3117
+ *
3118
+ * @param request - UpsertUmodelCommonSchemaRefRequest
3119
+ * @returns UpsertUmodelCommonSchemaRefResponse
3120
+ */
3121
+ async upsertUmodelCommonSchemaRef(workspace, request) {
3122
+ let runtime = new $dara.RuntimeOptions({});
3123
+ let headers = {};
3124
+ return await this.upsertUmodelCommonSchemaRefWithOptions(workspace, request, headers, runtime);
3125
+ }
2920
3126
  /**
2921
3127
  * Write Umodel Elements
2922
3128
  *