@alicloud/apig20240327 11.5.0 → 11.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 (594) hide show
  1. package/dist/client.d.ts +730 -82
  2. package/dist/client.js +1905 -222
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddGatewayQuotaRuleRequest.d.ts +14 -20
  5. package/dist/models/AddGatewayQuotaRuleRequest.js.map +1 -1
  6. package/dist/models/AddGatewayQuotaRuleResponseBody.d.ts +19 -9
  7. package/dist/models/AddGatewayQuotaRuleResponseBody.js +2 -0
  8. package/dist/models/AddGatewayQuotaRuleResponseBody.js.map +1 -1
  9. package/dist/models/AgentServiceConfig.d.ts +12 -4
  10. package/dist/models/AgentServiceConfig.js +2 -0
  11. package/dist/models/AgentServiceConfig.js.map +1 -1
  12. package/dist/models/AiSecurityGuardConfig.d.ts +85 -25
  13. package/dist/models/AiSecurityGuardConfig.js +33 -1
  14. package/dist/models/AiSecurityGuardConfig.js.map +1 -1
  15. package/dist/models/CheckCommodityStatusResponseBody.d.ts +1 -1
  16. package/dist/models/CreateChatSessionResponseBody.d.ts +1 -1
  17. package/dist/models/CreateDeveloperResponseBody.d.ts +1 -1
  18. package/dist/models/CreateGatewayRequest.d.ts +26 -18
  19. package/dist/models/CreateGatewayRequest.js +2 -0
  20. package/dist/models/CreateGatewayRequest.js.map +1 -1
  21. package/dist/models/CreateHttpApiOperationRequest.d.ts +1 -1
  22. package/dist/models/CreateHttpApiOperationResponseBody.d.ts +3 -3
  23. package/dist/models/CreateHttpApiRequest.d.ts +16 -32
  24. package/dist/models/CreateHttpApiRequest.js.map +1 -1
  25. package/dist/models/CreateHttpApiResponseBody.d.ts +1 -1
  26. package/dist/models/CreateHttpApiRouteRequest.d.ts +33 -8
  27. package/dist/models/CreateHttpApiRouteRequest.js +25 -1
  28. package/dist/models/CreateHttpApiRouteRequest.js.map +1 -1
  29. package/dist/models/CreatePortalRequest.d.ts +37 -0
  30. package/dist/models/CreatePortalRequest.js +62 -0
  31. package/dist/models/CreatePortalRequest.js.map +1 -0
  32. package/dist/models/CreatePortalResponse.d.ts +19 -0
  33. package/dist/models/CreatePortalResponse.js +69 -0
  34. package/dist/models/CreatePortalResponse.js.map +1 -0
  35. package/dist/models/CreatePortalResponseBody.d.ts +62 -0
  36. package/dist/models/CreatePortalResponseBody.js +86 -0
  37. package/dist/models/CreatePortalResponseBody.js.map +1 -0
  38. package/dist/models/CreateProductCategoryRequest.d.ts +4 -4
  39. package/dist/models/CreateProductCategoryResponseBody.d.ts +1 -1
  40. package/dist/models/CreateProductRequest.d.ts +78 -0
  41. package/dist/models/CreateProductRequest.js +85 -0
  42. package/dist/models/CreateProductRequest.js.map +1 -0
  43. package/dist/models/CreateProductResponse.d.ts +19 -0
  44. package/dist/models/CreateProductResponse.js +69 -0
  45. package/dist/models/CreateProductResponse.js.map +1 -0
  46. package/dist/models/CreateProductResponseBody.d.ts +62 -0
  47. package/dist/models/CreateProductResponseBody.js +86 -0
  48. package/dist/models/CreateProductResponseBody.js.map +1 -0
  49. package/dist/models/CreateServiceRequest.d.ts +16 -16
  50. package/dist/models/DataFieldPathsValue.d.ts +1 -1
  51. package/dist/models/DataPathConfigsFieldPathsValue.d.ts +3 -3
  52. package/dist/models/DeleteDomainResponseBody.d.ts +1 -1
  53. package/dist/models/GetApiPathFieldConfigResponseBody.d.ts +1 -1
  54. package/dist/models/GetApiPathFieldTemplateRequest.d.ts +1 -1
  55. package/dist/models/GetApiPathFieldTemplateResponseBody.d.ts +1 -1
  56. package/dist/models/GetConsumerAuthorizationRuleResponseBody.d.ts +2 -4
  57. package/dist/models/GetConsumerAuthorizationRuleResponseBody.js.map +1 -1
  58. package/dist/models/GetDeveloperResponseBody.d.ts +2 -2
  59. package/dist/models/GetDomainResponseBody.d.ts +15 -15
  60. package/dist/models/GetGatewayDfpExtProcServiceRequest.d.ts +13 -0
  61. package/dist/models/GetGatewayDfpExtProcServiceRequest.js +54 -0
  62. package/dist/models/GetGatewayDfpExtProcServiceRequest.js.map +1 -0
  63. package/dist/models/GetGatewayDfpExtProcServiceResponse.d.ts +19 -0
  64. package/dist/models/GetGatewayDfpExtProcServiceResponse.js +69 -0
  65. package/dist/models/GetGatewayDfpExtProcServiceResponse.js.map +1 -0
  66. package/dist/models/GetGatewayDfpExtProcServiceResponseBody.d.ts +81 -0
  67. package/dist/models/GetGatewayDfpExtProcServiceResponseBody.js +90 -0
  68. package/dist/models/GetGatewayDfpExtProcServiceResponseBody.js.map +1 -0
  69. package/dist/models/GetGatewayQuotaRuleRequest.d.ts +2 -2
  70. package/dist/models/GetGatewayQuotaRuleResponseBody.d.ts +26 -10
  71. package/dist/models/GetGatewayQuotaRuleResponseBody.js +4 -0
  72. package/dist/models/GetGatewayQuotaRuleResponseBody.js.map +1 -1
  73. package/dist/models/GetGatewayResponseBody.d.ts +225 -50
  74. package/dist/models/GetGatewayResponseBody.js +103 -1
  75. package/dist/models/GetGatewayResponseBody.js.map +1 -1
  76. package/dist/models/GetHiMarketConsumerCredentialResponseBody.d.ts +2 -2
  77. package/dist/models/GetHiMarketConsumerResponseBody.d.ts +3 -3
  78. package/dist/models/GetHttpApiOperationResponseBody.d.ts +1 -1
  79. package/dist/models/GetHttpApiRequest.d.ts +1 -1
  80. package/dist/models/GetPluginAttachmentResponseBody.d.ts +5 -5
  81. package/dist/models/GetPortalRequest.d.ts +13 -0
  82. package/dist/models/GetPortalRequest.js +54 -0
  83. package/dist/models/GetPortalRequest.js.map +1 -0
  84. package/dist/models/GetPortalResponse.d.ts +19 -0
  85. package/dist/models/GetPortalResponse.js +69 -0
  86. package/dist/models/GetPortalResponse.js.map +1 -0
  87. package/dist/models/GetPortalResponseBody.d.ts +106 -0
  88. package/dist/models/GetPortalResponseBody.js +106 -0
  89. package/dist/models/GetPortalResponseBody.js.map +1 -0
  90. package/dist/models/GetProductCategoryRequest.d.ts +13 -0
  91. package/dist/models/GetProductCategoryRequest.js +54 -0
  92. package/dist/models/GetProductCategoryRequest.js.map +1 -0
  93. package/dist/models/GetProductCategoryResponse.d.ts +19 -0
  94. package/dist/models/GetProductCategoryResponse.js +69 -0
  95. package/dist/models/GetProductCategoryResponse.js.map +1 -0
  96. package/dist/models/GetProductCategoryResponseBody.d.ts +84 -0
  97. package/dist/models/GetProductCategoryResponseBody.js +96 -0
  98. package/dist/models/GetProductCategoryResponseBody.js.map +1 -0
  99. package/dist/models/GetProductRefRequest.d.ts +13 -0
  100. package/dist/models/GetProductRefRequest.js +54 -0
  101. package/dist/models/GetProductRefRequest.js.map +1 -0
  102. package/dist/models/GetProductRefResponse.d.ts +19 -0
  103. package/dist/models/GetProductRefResponse.js +69 -0
  104. package/dist/models/GetProductRefResponse.js.map +1 -0
  105. package/dist/models/GetProductRefResponseBody.d.ts +68 -0
  106. package/dist/models/GetProductRefResponseBody.js +92 -0
  107. package/dist/models/GetProductRefResponseBody.js.map +1 -0
  108. package/dist/models/GetProductRequest.d.ts +13 -0
  109. package/dist/models/GetProductRequest.js +54 -0
  110. package/dist/models/GetProductRequest.js.map +1 -0
  111. package/dist/models/GetProductResponse.d.ts +19 -0
  112. package/dist/models/GetProductResponse.js +69 -0
  113. package/dist/models/GetProductResponse.js.map +1 -0
  114. package/dist/models/GetProductResponseBody.d.ts +145 -0
  115. package/dist/models/GetProductResponseBody.js +130 -0
  116. package/dist/models/GetProductResponseBody.js.map +1 -0
  117. package/dist/models/HandleOidcCallbackRequest.d.ts +29 -0
  118. package/dist/models/HandleOidcCallbackRequest.js +60 -0
  119. package/dist/models/HandleOidcCallbackRequest.js.map +1 -0
  120. package/dist/models/HandleOidcCallbackResponse.d.ts +19 -0
  121. package/dist/models/HandleOidcCallbackResponse.js +69 -0
  122. package/dist/models/HandleOidcCallbackResponse.js.map +1 -0
  123. package/dist/models/HandleOidcCallbackResponseBody.d.ts +78 -0
  124. package/dist/models/HandleOidcCallbackResponseBody.js +90 -0
  125. package/dist/models/HandleOidcCallbackResponseBody.js.map +1 -0
  126. package/dist/models/HttpApiApiInfo.d.ts +13 -13
  127. package/dist/models/HttpApiApiInfoDeployCntMapValue.d.ts +2 -2
  128. package/dist/models/HttpApiDeployConfig.d.ts +44 -19
  129. package/dist/models/HttpApiDeployConfig.js +25 -1
  130. package/dist/models/HttpApiDeployConfig.js.map +1 -1
  131. package/dist/models/HttpRoute.d.ts +37 -12
  132. package/dist/models/HttpRoute.js +25 -1
  133. package/dist/models/HttpRoute.js.map +1 -1
  134. package/dist/models/ImportHttpApiRequest.d.ts +12 -13
  135. package/dist/models/ImportHttpApiRequest.js.map +1 -1
  136. package/dist/models/ImportHttpApiResponseBody.d.ts +12 -12
  137. package/dist/models/InitiateOidcAuthRequest.d.ts +21 -0
  138. package/dist/models/InitiateOidcAuthRequest.js +58 -0
  139. package/dist/models/InitiateOidcAuthRequest.js.map +1 -0
  140. package/dist/models/InitiateOidcAuthResponse.d.ts +19 -0
  141. package/dist/models/InitiateOidcAuthResponse.js +69 -0
  142. package/dist/models/InitiateOidcAuthResponse.js.map +1 -0
  143. package/dist/models/InitiateOidcAuthResponseBody.d.ts +37 -0
  144. package/dist/models/InitiateOidcAuthResponseBody.js +62 -0
  145. package/dist/models/InitiateOidcAuthResponseBody.js.map +1 -0
  146. package/dist/models/ListApiPathFieldTemplatesRequest.d.ts +29 -0
  147. package/dist/models/ListApiPathFieldTemplatesRequest.js +60 -0
  148. package/dist/models/ListApiPathFieldTemplatesRequest.js.map +1 -0
  149. package/dist/models/ListApiPathFieldTemplatesResponse.d.ts +19 -0
  150. package/dist/models/ListApiPathFieldTemplatesResponse.js +69 -0
  151. package/dist/models/ListApiPathFieldTemplatesResponse.js.map +1 -0
  152. package/dist/models/ListApiPathFieldTemplatesResponseBody.d.ts +119 -0
  153. package/dist/models/ListApiPathFieldTemplatesResponseBody.js +118 -0
  154. package/dist/models/ListApiPathFieldTemplatesResponseBody.js.map +1 -0
  155. package/dist/models/ListChatSessionsRequest.d.ts +45 -0
  156. package/dist/models/ListChatSessionsRequest.js +64 -0
  157. package/dist/models/ListChatSessionsRequest.js.map +1 -0
  158. package/dist/models/ListChatSessionsResponse.d.ts +19 -0
  159. package/dist/models/ListChatSessionsResponse.js +69 -0
  160. package/dist/models/ListChatSessionsResponse.js.map +1 -0
  161. package/dist/models/ListChatSessionsResponseBody.d.ts +140 -0
  162. package/dist/models/ListChatSessionsResponseBody.js +127 -0
  163. package/dist/models/ListChatSessionsResponseBody.js.map +1 -0
  164. package/dist/models/ListConsumerAuthorizationRulesRequest.d.ts +1 -1
  165. package/dist/models/ListConsumerAuthorizationRulesResponseBody.d.ts +3 -5
  166. package/dist/models/ListConsumerAuthorizationRulesResponseBody.js.map +1 -1
  167. package/dist/models/ListDevelopersRequest.d.ts +69 -0
  168. package/dist/models/ListDevelopersRequest.js +70 -0
  169. package/dist/models/ListDevelopersRequest.js.map +1 -0
  170. package/dist/models/ListDevelopersResponse.d.ts +19 -0
  171. package/dist/models/ListDevelopersResponse.js +69 -0
  172. package/dist/models/ListDevelopersResponse.js.map +1 -0
  173. package/dist/models/ListDevelopersResponseBody.d.ts +143 -0
  174. package/dist/models/ListDevelopersResponseBody.js +124 -0
  175. package/dist/models/ListDevelopersResponseBody.js.map +1 -0
  176. package/dist/models/ListGatewayQuotaRulesRequest.d.ts +2 -2
  177. package/dist/models/ListGatewayQuotaRulesResponseBody.d.ts +9 -1
  178. package/dist/models/ListGatewayQuotaRulesResponseBody.js +2 -0
  179. package/dist/models/ListGatewayQuotaRulesResponseBody.js.map +1 -1
  180. package/dist/models/ListGatewaysRequest.d.ts +5 -5
  181. package/dist/models/ListGatewaysResponseBody.d.ts +206 -39
  182. package/dist/models/ListGatewaysResponseBody.js +97 -1
  183. package/dist/models/ListGatewaysResponseBody.js.map +1 -1
  184. package/dist/models/ListGatewaysShrinkRequest.d.ts +5 -5
  185. package/dist/models/ListHiMarketConsumerSubscriptionsRequest.d.ts +53 -0
  186. package/dist/models/ListHiMarketConsumerSubscriptionsRequest.js +66 -0
  187. package/dist/models/ListHiMarketConsumerSubscriptionsRequest.js.map +1 -0
  188. package/dist/models/ListHiMarketConsumerSubscriptionsResponse.d.ts +19 -0
  189. package/dist/models/ListHiMarketConsumerSubscriptionsResponse.js +69 -0
  190. package/dist/models/ListHiMarketConsumerSubscriptionsResponse.js.map +1 -0
  191. package/dist/models/ListHiMarketConsumerSubscriptionsResponseBody.d.ts +167 -0
  192. package/dist/models/ListHiMarketConsumerSubscriptionsResponseBody.js +130 -0
  193. package/dist/models/ListHiMarketConsumerSubscriptionsResponseBody.js.map +1 -0
  194. package/dist/models/ListHiMarketConsumersRequest.d.ts +69 -0
  195. package/dist/models/ListHiMarketConsumersRequest.js +70 -0
  196. package/dist/models/ListHiMarketConsumersRequest.js.map +1 -0
  197. package/dist/models/ListHiMarketConsumersResponse.d.ts +19 -0
  198. package/dist/models/ListHiMarketConsumersResponse.js +69 -0
  199. package/dist/models/ListHiMarketConsumersResponse.js.map +1 -0
  200. package/dist/models/ListHiMarketConsumersResponseBody.d.ts +140 -0
  201. package/dist/models/ListHiMarketConsumersResponseBody.js +124 -0
  202. package/dist/models/ListHiMarketConsumersResponseBody.js.map +1 -0
  203. package/dist/models/ListHttpApiOperationsRequest.d.ts +10 -10
  204. package/dist/models/ListHttpApiOperationsResponseBody.d.ts +2 -2
  205. package/dist/models/ListHttpApiRoutesRequest.d.ts +11 -11
  206. package/dist/models/ListHttpApiRoutesResponseBody.d.ts +1 -1
  207. package/dist/models/ListHttpApisRequest.d.ts +13 -15
  208. package/dist/models/ListHttpApisRequest.js.map +1 -1
  209. package/dist/models/ListHttpApisResponseBody.d.ts +3 -3
  210. package/dist/models/ListMcpProductToolsRequest.d.ts +13 -0
  211. package/dist/models/ListMcpProductToolsRequest.js +54 -0
  212. package/dist/models/ListMcpProductToolsRequest.js.map +1 -0
  213. package/dist/models/ListMcpProductToolsResponse.d.ts +19 -0
  214. package/dist/models/ListMcpProductToolsResponse.js +69 -0
  215. package/dist/models/ListMcpProductToolsResponse.js.map +1 -0
  216. package/dist/models/ListMcpProductToolsResponseBody.d.ts +123 -0
  217. package/dist/models/ListMcpProductToolsResponseBody.js +132 -0
  218. package/dist/models/ListMcpProductToolsResponseBody.js.map +1 -0
  219. package/dist/models/ListModelCardsRequest.d.ts +21 -0
  220. package/dist/models/ListModelCardsRequest.js +58 -0
  221. package/dist/models/ListModelCardsRequest.js.map +1 -0
  222. package/dist/models/ListModelCardsResponse.d.ts +19 -0
  223. package/dist/models/ListModelCardsResponse.js +69 -0
  224. package/dist/models/ListModelCardsResponse.js.map +1 -0
  225. package/dist/models/ListModelCardsResponseBody.d.ts +157 -0
  226. package/dist/models/ListModelCardsResponseBody.js +155 -0
  227. package/dist/models/ListModelCardsResponseBody.js.map +1 -0
  228. package/dist/models/ListPluginAttachmentsRequest.d.ts +5 -5
  229. package/dist/models/ListPluginAttachmentsResponseBody.d.ts +6 -6
  230. package/dist/models/ListPortalPublicationsRequest.d.ts +37 -0
  231. package/dist/models/ListPortalPublicationsRequest.js +62 -0
  232. package/dist/models/ListPortalPublicationsRequest.js.map +1 -0
  233. package/dist/models/ListPortalPublicationsResponse.d.ts +19 -0
  234. package/dist/models/ListPortalPublicationsResponse.js +69 -0
  235. package/dist/models/ListPortalPublicationsResponse.js.map +1 -0
  236. package/dist/models/ListPortalPublicationsResponseBody.d.ts +143 -0
  237. package/dist/models/ListPortalPublicationsResponseBody.js +124 -0
  238. package/dist/models/ListPortalPublicationsResponseBody.js.map +1 -0
  239. package/dist/models/ListPortalsRequest.d.ts +53 -0
  240. package/dist/models/ListPortalsRequest.js +66 -0
  241. package/dist/models/ListPortalsRequest.js.map +1 -0
  242. package/dist/models/ListPortalsResponse.d.ts +19 -0
  243. package/dist/models/ListPortalsResponse.js +69 -0
  244. package/dist/models/ListPortalsResponse.js.map +1 -0
  245. package/dist/models/ListPortalsResponseBody.d.ts +163 -0
  246. package/dist/models/ListPortalsResponseBody.js +138 -0
  247. package/dist/models/ListPortalsResponseBody.js.map +1 -0
  248. package/dist/models/ListPrivateLinkSecurityGroupsRequest.d.ts +39 -0
  249. package/dist/models/ListPrivateLinkSecurityGroupsRequest.js +62 -0
  250. package/dist/models/ListPrivateLinkSecurityGroupsRequest.js.map +1 -0
  251. package/dist/models/ListPrivateLinkSecurityGroupsResponse.d.ts +19 -0
  252. package/dist/models/ListPrivateLinkSecurityGroupsResponse.js +69 -0
  253. package/dist/models/ListPrivateLinkSecurityGroupsResponse.js.map +1 -0
  254. package/dist/models/ListPrivateLinkSecurityGroupsResponseBody.d.ts +118 -0
  255. package/dist/models/ListPrivateLinkSecurityGroupsResponseBody.js +118 -0
  256. package/dist/models/ListPrivateLinkSecurityGroupsResponseBody.js.map +1 -0
  257. package/dist/models/ListProductCategoriesRequest.d.ts +37 -0
  258. package/dist/models/ListProductCategoriesRequest.js +62 -0
  259. package/dist/models/ListProductCategoriesRequest.js.map +1 -0
  260. package/dist/models/ListProductCategoriesResponse.d.ts +19 -0
  261. package/dist/models/ListProductCategoriesResponse.js +69 -0
  262. package/dist/models/ListProductCategoriesResponse.js.map +1 -0
  263. package/dist/models/ListProductCategoriesResponseBody.d.ts +125 -0
  264. package/dist/models/ListProductCategoriesResponseBody.js +124 -0
  265. package/dist/models/ListProductCategoriesResponseBody.js.map +1 -0
  266. package/dist/models/ListProductPublicationsRequest.d.ts +37 -0
  267. package/dist/models/ListProductPublicationsRequest.js +62 -0
  268. package/dist/models/ListProductPublicationsRequest.js.map +1 -0
  269. package/dist/models/ListProductPublicationsResponse.d.ts +19 -0
  270. package/dist/models/ListProductPublicationsResponse.js +69 -0
  271. package/dist/models/ListProductPublicationsResponse.js.map +1 -0
  272. package/dist/models/ListProductPublicationsResponseBody.d.ts +84 -0
  273. package/dist/models/ListProductPublicationsResponseBody.js +96 -0
  274. package/dist/models/ListProductPublicationsResponseBody.js.map +1 -0
  275. package/dist/models/ListProductSubscriptionsRequest.d.ts +45 -0
  276. package/dist/models/ListProductSubscriptionsRequest.js +64 -0
  277. package/dist/models/ListProductSubscriptionsRequest.js.map +1 -0
  278. package/dist/models/ListProductSubscriptionsResponse.d.ts +19 -0
  279. package/dist/models/ListProductSubscriptionsResponse.js +69 -0
  280. package/dist/models/ListProductSubscriptionsResponse.js.map +1 -0
  281. package/dist/models/ListProductSubscriptionsResponseBody.d.ts +151 -0
  282. package/dist/models/ListProductSubscriptionsResponseBody.js +126 -0
  283. package/dist/models/ListProductSubscriptionsResponseBody.js.map +1 -0
  284. package/dist/models/ListProductsRequest.d.ts +85 -0
  285. package/dist/models/ListProductsRequest.js +74 -0
  286. package/dist/models/ListProductsRequest.js.map +1 -0
  287. package/dist/models/ListProductsResponse.d.ts +19 -0
  288. package/dist/models/ListProductsResponse.js +69 -0
  289. package/dist/models/ListProductsResponse.js.map +1 -0
  290. package/dist/models/ListProductsResponseBody.d.ts +200 -0
  291. package/dist/models/ListProductsResponseBody.js +166 -0
  292. package/dist/models/ListProductsResponseBody.js.map +1 -0
  293. package/dist/models/ListPublishableProductsRequest.d.ts +37 -0
  294. package/dist/models/ListPublishableProductsRequest.js +62 -0
  295. package/dist/models/ListPublishableProductsRequest.js.map +1 -0
  296. package/dist/models/ListPublishableProductsResponse.d.ts +19 -0
  297. package/dist/models/ListPublishableProductsResponse.js +69 -0
  298. package/dist/models/ListPublishableProductsResponse.js.map +1 -0
  299. package/dist/models/ListPublishableProductsResponseBody.d.ts +119 -0
  300. package/dist/models/ListPublishableProductsResponseBody.js +118 -0
  301. package/dist/models/ListPublishableProductsResponseBody.js.map +1 -0
  302. package/dist/models/ListServicesRequest.d.ts +8 -9
  303. package/dist/models/ListServicesRequest.js.map +1 -1
  304. package/dist/models/LoginDeveloperRequest.d.ts +29 -0
  305. package/dist/models/LoginDeveloperRequest.js +60 -0
  306. package/dist/models/LoginDeveloperRequest.js.map +1 -0
  307. package/dist/models/LoginDeveloperResponse.d.ts +19 -0
  308. package/dist/models/LoginDeveloperResponse.js +69 -0
  309. package/dist/models/LoginDeveloperResponse.js.map +1 -0
  310. package/dist/models/LoginDeveloperResponseBody.d.ts +70 -0
  311. package/dist/models/LoginDeveloperResponseBody.js +88 -0
  312. package/dist/models/LoginDeveloperResponseBody.js.map +1 -0
  313. package/dist/models/LogoutDeveloperRequest.d.ts +13 -0
  314. package/dist/models/LogoutDeveloperRequest.js +54 -0
  315. package/dist/models/LogoutDeveloperRequest.js.map +1 -0
  316. package/dist/models/LogoutDeveloperResponse.d.ts +19 -0
  317. package/dist/models/LogoutDeveloperResponse.js +69 -0
  318. package/dist/models/LogoutDeveloperResponse.js.map +1 -0
  319. package/dist/models/LogoutDeveloperResponseBody.d.ts +37 -0
  320. package/dist/models/LogoutDeveloperResponseBody.js +62 -0
  321. package/dist/models/LogoutDeveloperResponseBody.js.map +1 -0
  322. package/dist/models/PublishProductRequest.d.ts +21 -0
  323. package/dist/models/PublishProductRequest.js +58 -0
  324. package/dist/models/PublishProductRequest.js.map +1 -0
  325. package/dist/models/PublishProductResponse.d.ts +19 -0
  326. package/dist/models/PublishProductResponse.js +69 -0
  327. package/dist/models/PublishProductResponse.js.map +1 -0
  328. package/dist/models/PublishProductResponseBody.d.ts +62 -0
  329. package/dist/models/PublishProductResponseBody.js +86 -0
  330. package/dist/models/PublishProductResponseBody.js.map +1 -0
  331. package/dist/models/QueryConsumerAuthorizationRulesRequest.d.ts +7 -7
  332. package/dist/models/QueryConsumerAuthorizationRulesResponseBody.d.ts +4 -4
  333. package/dist/models/RevealServiceCredentialRequest.d.ts +13 -0
  334. package/dist/models/RevealServiceCredentialRequest.js +54 -0
  335. package/dist/models/RevealServiceCredentialRequest.js.map +1 -0
  336. package/dist/models/RevealServiceCredentialResponse.d.ts +19 -0
  337. package/dist/models/RevealServiceCredentialResponse.js +69 -0
  338. package/dist/models/RevealServiceCredentialResponse.js.map +1 -0
  339. package/dist/models/RevealServiceCredentialResponseBody.d.ts +213 -0
  340. package/dist/models/RevealServiceCredentialResponseBody.js +146 -0
  341. package/dist/models/RevealServiceCredentialResponseBody.js.map +1 -0
  342. package/dist/models/Service.d.ts +41 -14
  343. package/dist/models/Service.js +27 -1
  344. package/dist/models/Service.js.map +1 -1
  345. package/dist/models/SubscribeProductRequest.d.ts +21 -0
  346. package/dist/models/SubscribeProductRequest.js +58 -0
  347. package/dist/models/SubscribeProductRequest.js.map +1 -0
  348. package/dist/models/SubscribeProductResponse.d.ts +19 -0
  349. package/dist/models/SubscribeProductResponse.js +69 -0
  350. package/dist/models/SubscribeProductResponse.js.map +1 -0
  351. package/dist/models/SubscribeProductResponseBody.d.ts +110 -0
  352. package/dist/models/SubscribeProductResponseBody.js +98 -0
  353. package/dist/models/SubscribeProductResponseBody.js.map +1 -0
  354. package/dist/models/UnpublishProductRequest.d.ts +13 -0
  355. package/dist/models/UnpublishProductRequest.js +54 -0
  356. package/dist/models/UnpublishProductRequest.js.map +1 -0
  357. package/dist/models/UnpublishProductResponse.d.ts +19 -0
  358. package/dist/models/UnpublishProductResponse.js +69 -0
  359. package/dist/models/UnpublishProductResponse.js.map +1 -0
  360. package/dist/models/UnpublishProductResponseBody.d.ts +37 -0
  361. package/dist/models/UnpublishProductResponseBody.js +62 -0
  362. package/dist/models/UnpublishProductResponseBody.js.map +1 -0
  363. package/dist/models/UpdateCategoryProductsRequest.d.ts +26 -0
  364. package/dist/models/UpdateCategoryProductsRequest.js +63 -0
  365. package/dist/models/UpdateCategoryProductsRequest.js.map +1 -0
  366. package/dist/models/UpdateCategoryProductsResponse.d.ts +19 -0
  367. package/dist/models/UpdateCategoryProductsResponse.js +69 -0
  368. package/dist/models/UpdateCategoryProductsResponse.js.map +1 -0
  369. package/dist/models/UpdateCategoryProductsResponseBody.d.ts +37 -0
  370. package/dist/models/UpdateCategoryProductsResponseBody.js +62 -0
  371. package/dist/models/UpdateCategoryProductsResponseBody.js.map +1 -0
  372. package/dist/models/UpdateDeveloperStatusRequest.d.ts +29 -0
  373. package/dist/models/UpdateDeveloperStatusRequest.js +60 -0
  374. package/dist/models/UpdateDeveloperStatusRequest.js.map +1 -0
  375. package/dist/models/UpdateDeveloperStatusResponse.d.ts +19 -0
  376. package/dist/models/UpdateDeveloperStatusResponse.js +69 -0
  377. package/dist/models/UpdateDeveloperStatusResponse.js.map +1 -0
  378. package/dist/models/UpdateDeveloperStatusResponseBody.d.ts +37 -0
  379. package/dist/models/UpdateDeveloperStatusResponseBody.js +62 -0
  380. package/dist/models/UpdateDeveloperStatusResponseBody.js.map +1 -0
  381. package/dist/models/UpdateGatewayQuotaRuleRequest.d.ts +8 -8
  382. package/dist/models/UpdateGatewayQuotaRuleResponseBody.d.ts +18 -8
  383. package/dist/models/UpdateGatewayQuotaRuleResponseBody.js +2 -0
  384. package/dist/models/UpdateGatewayQuotaRuleResponseBody.js.map +1 -1
  385. package/dist/models/UpdateHttpApiOperationRequest.d.ts +1 -1
  386. package/dist/models/UpdateHttpApiRequest.d.ts +9 -9
  387. package/dist/models/UpdateHttpApiRouteRequest.d.ts +33 -8
  388. package/dist/models/UpdateHttpApiRouteRequest.js +25 -1
  389. package/dist/models/UpdateHttpApiRouteRequest.js.map +1 -1
  390. package/dist/models/UpdatePortalRequest.d.ts +43 -0
  391. package/dist/models/UpdatePortalRequest.js +68 -0
  392. package/dist/models/UpdatePortalRequest.js.map +1 -0
  393. package/dist/models/UpdatePortalResponse.d.ts +19 -0
  394. package/dist/models/UpdatePortalResponse.js +69 -0
  395. package/dist/models/UpdatePortalResponse.js.map +1 -0
  396. package/dist/models/UpdatePortalResponseBody.d.ts +62 -0
  397. package/dist/models/UpdatePortalResponseBody.js +86 -0
  398. package/dist/models/UpdatePortalResponseBody.js.map +1 -0
  399. package/dist/models/UpdateProductCategoryRequest.d.ts +35 -0
  400. package/dist/models/UpdateProductCategoryRequest.js +66 -0
  401. package/dist/models/UpdateProductCategoryRequest.js.map +1 -0
  402. package/dist/models/UpdateProductCategoryResponse.d.ts +19 -0
  403. package/dist/models/UpdateProductCategoryResponse.js +69 -0
  404. package/dist/models/UpdateProductCategoryResponse.js.map +1 -0
  405. package/dist/models/UpdateProductCategoryResponseBody.d.ts +37 -0
  406. package/dist/models/UpdateProductCategoryResponseBody.js +62 -0
  407. package/dist/models/UpdateProductCategoryResponseBody.js.map +1 -0
  408. package/dist/models/UpdateProductRequest.d.ts +75 -0
  409. package/dist/models/UpdateProductRequest.js +85 -0
  410. package/dist/models/UpdateProductRequest.js.map +1 -0
  411. package/dist/models/UpdateProductResponse.d.ts +19 -0
  412. package/dist/models/UpdateProductResponse.js +69 -0
  413. package/dist/models/UpdateProductResponse.js.map +1 -0
  414. package/dist/models/UpdateProductResponseBody.d.ts +37 -0
  415. package/dist/models/UpdateProductResponseBody.js +62 -0
  416. package/dist/models/UpdateProductResponseBody.js.map +1 -0
  417. package/dist/models/UpdateServiceRequest.d.ts +30 -16
  418. package/dist/models/UpdateServiceRequest.js +10 -0
  419. package/dist/models/UpdateServiceRequest.js.map +1 -1
  420. package/dist/models/model.d.ts +161 -0
  421. package/dist/models/model.js +398 -73
  422. package/dist/models/model.js.map +1 -1
  423. package/package.json +2 -1
  424. package/src/client.ts +2028 -173
  425. package/src/models/AddGatewayQuotaRuleRequest.ts +14 -20
  426. package/src/models/AddGatewayQuotaRuleResponseBody.ts +21 -9
  427. package/src/models/AgentServiceConfig.ts +14 -4
  428. package/src/models/AiSecurityGuardConfig.ts +108 -25
  429. package/src/models/CheckCommodityStatusResponseBody.ts +1 -1
  430. package/src/models/CreateChatSessionResponseBody.ts +1 -1
  431. package/src/models/CreateDeveloperResponseBody.ts +1 -1
  432. package/src/models/CreateGatewayRequest.ts +28 -18
  433. package/src/models/CreateHttpApiOperationRequest.ts +1 -1
  434. package/src/models/CreateHttpApiOperationResponseBody.ts +3 -3
  435. package/src/models/CreateHttpApiRequest.ts +16 -32
  436. package/src/models/CreateHttpApiResponseBody.ts +1 -1
  437. package/src/models/CreateHttpApiRouteRequest.ts +48 -8
  438. package/src/models/CreatePortalRequest.ts +54 -0
  439. package/src/models/CreatePortalResponse.ts +40 -0
  440. package/src/models/CreatePortalResponseBody.ts +94 -0
  441. package/src/models/CreateProductCategoryRequest.ts +4 -4
  442. package/src/models/CreateProductCategoryResponseBody.ts +1 -1
  443. package/src/models/CreateProductRequest.ts +116 -0
  444. package/src/models/CreateProductResponse.ts +40 -0
  445. package/src/models/CreateProductResponseBody.ts +94 -0
  446. package/src/models/CreateServiceRequest.ts +16 -16
  447. package/src/models/DataFieldPathsValue.ts +1 -1
  448. package/src/models/DataPathConfigsFieldPathsValue.ts +3 -3
  449. package/src/models/DeleteDomainResponseBody.ts +1 -1
  450. package/src/models/GetApiPathFieldConfigResponseBody.ts +1 -1
  451. package/src/models/GetApiPathFieldTemplateRequest.ts +1 -1
  452. package/src/models/GetApiPathFieldTemplateResponseBody.ts +1 -1
  453. package/src/models/GetConsumerAuthorizationRuleResponseBody.ts +2 -4
  454. package/src/models/GetDeveloperResponseBody.ts +2 -2
  455. package/src/models/GetDomainResponseBody.ts +15 -15
  456. package/src/models/GetGatewayDfpExtProcServiceRequest.ts +24 -0
  457. package/src/models/GetGatewayDfpExtProcServiceResponse.ts +40 -0
  458. package/src/models/GetGatewayDfpExtProcServiceResponseBody.ts +117 -0
  459. package/src/models/GetGatewayQuotaRuleRequest.ts +2 -2
  460. package/src/models/GetGatewayQuotaRuleResponseBody.ts +30 -10
  461. package/src/models/GetGatewayResponseBody.ts +299 -50
  462. package/src/models/GetHiMarketConsumerCredentialResponseBody.ts +2 -2
  463. package/src/models/GetHiMarketConsumerResponseBody.ts +3 -3
  464. package/src/models/GetHttpApiOperationResponseBody.ts +1 -1
  465. package/src/models/GetHttpApiRequest.ts +1 -1
  466. package/src/models/GetPluginAttachmentResponseBody.ts +5 -5
  467. package/src/models/GetPortalRequest.ts +24 -0
  468. package/src/models/GetPortalResponse.ts +40 -0
  469. package/src/models/GetPortalResponseBody.ts +156 -0
  470. package/src/models/GetProductCategoryRequest.ts +24 -0
  471. package/src/models/GetProductCategoryResponse.ts +40 -0
  472. package/src/models/GetProductCategoryResponseBody.ts +125 -0
  473. package/src/models/GetProductRefRequest.ts +24 -0
  474. package/src/models/GetProductRefResponse.ts +40 -0
  475. package/src/models/GetProductRefResponseBody.ts +105 -0
  476. package/src/models/GetProductRequest.ts +24 -0
  477. package/src/models/GetProductResponse.ts +40 -0
  478. package/src/models/GetProductResponseBody.ts +216 -0
  479. package/src/models/HandleOidcCallbackRequest.ts +44 -0
  480. package/src/models/HandleOidcCallbackResponse.ts +40 -0
  481. package/src/models/HandleOidcCallbackResponseBody.ts +114 -0
  482. package/src/models/HttpApiApiInfo.ts +13 -13
  483. package/src/models/HttpApiApiInfoDeployCntMapValue.ts +2 -2
  484. package/src/models/HttpApiDeployConfig.ts +59 -19
  485. package/src/models/HttpRoute.ts +52 -12
  486. package/src/models/ImportHttpApiRequest.ts +12 -13
  487. package/src/models/ImportHttpApiResponseBody.ts +12 -12
  488. package/src/models/InitiateOidcAuthRequest.ts +34 -0
  489. package/src/models/InitiateOidcAuthResponse.ts +40 -0
  490. package/src/models/InitiateOidcAuthResponseBody.ts +54 -0
  491. package/src/models/ListApiPathFieldTemplatesRequest.ts +44 -0
  492. package/src/models/ListApiPathFieldTemplatesResponse.ts +40 -0
  493. package/src/models/ListApiPathFieldTemplatesResponseBody.ts +174 -0
  494. package/src/models/ListChatSessionsRequest.ts +64 -0
  495. package/src/models/ListChatSessionsResponse.ts +40 -0
  496. package/src/models/ListChatSessionsResponseBody.ts +204 -0
  497. package/src/models/ListConsumerAuthorizationRulesRequest.ts +1 -1
  498. package/src/models/ListConsumerAuthorizationRulesResponseBody.ts +3 -5
  499. package/src/models/ListDevelopersRequest.ts +94 -0
  500. package/src/models/ListDevelopersResponse.ts +40 -0
  501. package/src/models/ListDevelopersResponseBody.ts +204 -0
  502. package/src/models/ListGatewayQuotaRulesRequest.ts +2 -2
  503. package/src/models/ListGatewayQuotaRulesResponseBody.ts +11 -1
  504. package/src/models/ListGatewaysRequest.ts +5 -5
  505. package/src/models/ListGatewaysResponseBody.ts +275 -39
  506. package/src/models/ListGatewaysShrinkRequest.ts +5 -5
  507. package/src/models/ListHiMarketConsumerSubscriptionsRequest.ts +74 -0
  508. package/src/models/ListHiMarketConsumerSubscriptionsResponse.ts +40 -0
  509. package/src/models/ListHiMarketConsumerSubscriptionsResponseBody.ts +234 -0
  510. package/src/models/ListHiMarketConsumersRequest.ts +94 -0
  511. package/src/models/ListHiMarketConsumersResponse.ts +40 -0
  512. package/src/models/ListHiMarketConsumersResponseBody.ts +201 -0
  513. package/src/models/ListHttpApiOperationsRequest.ts +10 -10
  514. package/src/models/ListHttpApiOperationsResponseBody.ts +2 -2
  515. package/src/models/ListHttpApiRoutesRequest.ts +11 -11
  516. package/src/models/ListHttpApiRoutesResponseBody.ts +1 -1
  517. package/src/models/ListHttpApisRequest.ts +13 -15
  518. package/src/models/ListHttpApisResponseBody.ts +3 -3
  519. package/src/models/ListMcpProductToolsRequest.ts +24 -0
  520. package/src/models/ListMcpProductToolsResponse.ts +40 -0
  521. package/src/models/ListMcpProductToolsResponseBody.ts +184 -0
  522. package/src/models/ListModelCardsRequest.ts +34 -0
  523. package/src/models/ListModelCardsResponse.ts +40 -0
  524. package/src/models/ListModelCardsResponseBody.ts +234 -0
  525. package/src/models/ListPluginAttachmentsRequest.ts +5 -5
  526. package/src/models/ListPluginAttachmentsResponseBody.ts +6 -6
  527. package/src/models/ListPortalPublicationsRequest.ts +54 -0
  528. package/src/models/ListPortalPublicationsResponse.ts +40 -0
  529. package/src/models/ListPortalPublicationsResponseBody.ts +204 -0
  530. package/src/models/ListPortalsRequest.ts +74 -0
  531. package/src/models/ListPortalsResponse.ts +40 -0
  532. package/src/models/ListPortalsResponseBody.ts +236 -0
  533. package/src/models/ListPrivateLinkSecurityGroupsRequest.ts +56 -0
  534. package/src/models/ListPrivateLinkSecurityGroupsResponse.ts +40 -0
  535. package/src/models/ListPrivateLinkSecurityGroupsResponseBody.ts +173 -0
  536. package/src/models/ListProductCategoriesRequest.ts +54 -0
  537. package/src/models/ListProductCategoriesResponse.ts +40 -0
  538. package/src/models/ListProductCategoriesResponseBody.ts +185 -0
  539. package/src/models/ListProductPublicationsRequest.ts +54 -0
  540. package/src/models/ListProductPublicationsResponse.ts +40 -0
  541. package/src/models/ListProductPublicationsResponseBody.ts +125 -0
  542. package/src/models/ListProductSubscriptionsRequest.ts +64 -0
  543. package/src/models/ListProductSubscriptionsResponse.ts +40 -0
  544. package/src/models/ListProductSubscriptionsResponseBody.ts +214 -0
  545. package/src/models/ListProductsRequest.ts +114 -0
  546. package/src/models/ListProductsResponse.ts +40 -0
  547. package/src/models/ListProductsResponseBody.ts +297 -0
  548. package/src/models/ListPublishableProductsRequest.ts +54 -0
  549. package/src/models/ListPublishableProductsResponse.ts +40 -0
  550. package/src/models/ListPublishableProductsResponseBody.ts +174 -0
  551. package/src/models/ListServicesRequest.ts +8 -9
  552. package/src/models/LoginDeveloperRequest.ts +44 -0
  553. package/src/models/LoginDeveloperResponse.ts +40 -0
  554. package/src/models/LoginDeveloperResponseBody.ts +104 -0
  555. package/src/models/LogoutDeveloperRequest.ts +24 -0
  556. package/src/models/LogoutDeveloperResponse.ts +40 -0
  557. package/src/models/LogoutDeveloperResponseBody.ts +54 -0
  558. package/src/models/PublishProductRequest.ts +34 -0
  559. package/src/models/PublishProductResponse.ts +40 -0
  560. package/src/models/PublishProductResponseBody.ts +94 -0
  561. package/src/models/QueryConsumerAuthorizationRulesRequest.ts +7 -7
  562. package/src/models/QueryConsumerAuthorizationRulesResponseBody.ts +4 -4
  563. package/src/models/RevealServiceCredentialRequest.ts +24 -0
  564. package/src/models/RevealServiceCredentialResponse.ts +40 -0
  565. package/src/models/RevealServiceCredentialResponseBody.ts +296 -0
  566. package/src/models/Service.ts +58 -14
  567. package/src/models/SubscribeProductRequest.ts +34 -0
  568. package/src/models/SubscribeProductResponse.ts +40 -0
  569. package/src/models/SubscribeProductResponseBody.ts +154 -0
  570. package/src/models/UnpublishProductRequest.ts +24 -0
  571. package/src/models/UnpublishProductResponse.ts +40 -0
  572. package/src/models/UnpublishProductResponseBody.ts +54 -0
  573. package/src/models/UpdateCategoryProductsRequest.ts +44 -0
  574. package/src/models/UpdateCategoryProductsResponse.ts +40 -0
  575. package/src/models/UpdateCategoryProductsResponseBody.ts +54 -0
  576. package/src/models/UpdateDeveloperStatusRequest.ts +44 -0
  577. package/src/models/UpdateDeveloperStatusResponse.ts +40 -0
  578. package/src/models/UpdateDeveloperStatusResponseBody.ts +54 -0
  579. package/src/models/UpdateGatewayQuotaRuleRequest.ts +8 -8
  580. package/src/models/UpdateGatewayQuotaRuleResponseBody.ts +20 -8
  581. package/src/models/UpdateHttpApiOperationRequest.ts +1 -1
  582. package/src/models/UpdateHttpApiRequest.ts +9 -9
  583. package/src/models/UpdateHttpApiRouteRequest.ts +48 -8
  584. package/src/models/UpdatePortalRequest.ts +65 -0
  585. package/src/models/UpdatePortalResponse.ts +40 -0
  586. package/src/models/UpdatePortalResponseBody.ts +94 -0
  587. package/src/models/UpdateProductCategoryRequest.ts +55 -0
  588. package/src/models/UpdateProductCategoryResponse.ts +40 -0
  589. package/src/models/UpdateProductCategoryResponseBody.ts +54 -0
  590. package/src/models/UpdateProductRequest.ts +113 -0
  591. package/src/models/UpdateProductResponse.ts +40 -0
  592. package/src/models/UpdateProductResponseBody.ts +54 -0
  593. package/src/models/UpdateServiceRequest.ts +40 -16
  594. package/src/models/model.ts +161 -0
package/dist/client.js CHANGED
@@ -61,6 +61,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
61
61
  Object.defineProperty(exports, "__esModule", { value: true });
62
62
  // This file is auto-generated, don't edit it
63
63
  const $dara = __importStar(require("@darabonba/typescript"));
64
+ const gateway_pop_1 = __importDefault(require("@alicloud/gateway-pop"));
64
65
  const openapi_core_1 = __importDefault(require("@alicloud/openapi-core"));
65
66
  const openapi_core_2 = require("@alicloud/openapi-core");
66
67
  const $_model = __importStar(require("./models/model"));
@@ -68,6 +69,9 @@ __exportStar(require("./models/model"), exports);
68
69
  class Client extends openapi_core_1.default {
69
70
  constructor(config) {
70
71
  super(config);
72
+ this._productId = "APIG";
73
+ let gatewayClient = new gateway_pop_1.default();
74
+ this._spi = gatewayClient;
71
75
  this._endpointRule = "regional";
72
76
  this.checkConfig(config);
73
77
  this._endpoint = this.getEndpoint("apig", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
@@ -85,15 +89,15 @@ class Client extends openapi_core_1.default {
85
89
  * Creates a gateway quota throttling rule.
86
90
  *
87
91
  * @remarks
88
- * Creates a consumer-based or consumer group-based quota rule for an AI gateway. This operation takes effect only on AI gateways of version 2.1.21 or later.
92
+ * This operation adds a quota rule based on consumers or consumer groups for an AI gateway. Note that this operation takes effect only for AI gateways of a version later than 2.1.21.
89
93
  * >
90
- * > Recommended call sequence:
91
- * > - Step 1: Perform a dry run to check for rule conflicts.
92
- * > - - Set dryRun to true.
93
- * > - - The response returns a conflict preview that contains the conflictHash value.
94
- * > - Step 2: Submit the request after confirmation.
95
- * > - - No conflicts: Set dryRun to false and overwrite to false.
96
- * > - - Conflicts exist and you confirm the overwrite: Set dryRun to false, overwrite to true, and conflictHash to the value returned in the previous step.
94
+ * > Recommended call logic:
95
+ * > - 1. Perform a dry run to check for rule conflicts.
96
+ * > - - Set dryRun=true.
97
+ * > - - The response returns a conflict preview containing conflictHash.
98
+ * > - 2. Formally submit the request after confirmation.
99
+ * > - - If no conflict exists: Set dryRun=false and overwrite=false.
100
+ * > - - If a conflict exists and you confirm to overwrite: Set dryRun=false, overwrite=true, and conflictHash=<value returned in the previous step>.
97
101
  *
98
102
  * @param request - AddGatewayQuotaRuleRequest
99
103
  * @param headers - map
@@ -163,15 +167,15 @@ class Client extends openapi_core_1.default {
163
167
  * Creates a gateway quota throttling rule.
164
168
  *
165
169
  * @remarks
166
- * Creates a consumer-based or consumer group-based quota rule for an AI gateway. This operation takes effect only on AI gateways of version 2.1.21 or later.
170
+ * This operation adds a quota rule based on consumers or consumer groups for an AI gateway. Note that this operation takes effect only for AI gateways of a version later than 2.1.21.
167
171
  * >
168
- * > Recommended call sequence:
169
- * > - Step 1: Perform a dry run to check for rule conflicts.
170
- * > - - Set dryRun to true.
171
- * > - - The response returns a conflict preview that contains the conflictHash value.
172
- * > - Step 2: Submit the request after confirmation.
173
- * > - - No conflicts: Set dryRun to false and overwrite to false.
174
- * > - - Conflicts exist and you confirm the overwrite: Set dryRun to false, overwrite to true, and conflictHash to the value returned in the previous step.
172
+ * > Recommended call logic:
173
+ * > - 1. Perform a dry run to check for rule conflicts.
174
+ * > - - Set dryRun=true.
175
+ * > - - The response returns a conflict preview containing conflictHash.
176
+ * > - 2. Formally submit the request after confirmation.
177
+ * > - - If no conflict exists: Set dryRun=false and overwrite=false.
178
+ * > - - If a conflict exists and you confirm to overwrite: Set dryRun=false, overwrite=true, and conflictHash=<value returned in the previous step>.
175
179
  *
176
180
  * @param request - AddGatewayQuotaRuleRequest
177
181
  * @returns AddGatewayQuotaRuleResponse
@@ -578,7 +582,7 @@ class Client extends openapi_core_1.default {
578
582
  return await this.changeResourceGroupWithOptions(request, headers, runtime);
579
583
  }
580
584
  /**
581
- * Queries the activation status of the API management service.
585
+ * Retrieves the activation status of the API management service.
582
586
  *
583
587
  * @param request - CheckCommodityStatusRequest
584
588
  * @param headers - map
@@ -604,7 +608,7 @@ class Client extends openapi_core_1.default {
604
608
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CheckCommodityStatusResponse({}));
605
609
  }
606
610
  /**
607
- * Queries the activation status of the API management service.
611
+ * Retrieves the activation status of the API management service.
608
612
  *
609
613
  * @param request - CheckCommodityStatusRequest
610
614
  * @returns CheckCommodityStatusResponse
@@ -1081,7 +1085,7 @@ class Client extends openapi_core_1.default {
1081
1085
  return await this.createConsumerGroupWithOptions(request, headers, runtime);
1082
1086
  }
1083
1087
  /**
1084
- * Registers a HiMarket developer account and returns the ID of the new developer.
1088
+ * Registers a HiMarket developer account and returns the ID of the newly created developer upon successful creation.
1085
1089
  *
1086
1090
  * @param request - CreateDeveloperRequest
1087
1091
  * @param headers - map
@@ -1115,7 +1119,7 @@ class Client extends openapi_core_1.default {
1115
1119
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateDeveloperResponse({}));
1116
1120
  }
1117
1121
  /**
1118
- * Registers a HiMarket developer account and returns the ID of the new developer.
1122
+ * Registers a HiMarket developer account and returns the ID of the newly created developer upon successful creation.
1119
1123
  *
1120
1124
  * @param request - CreateDeveloperRequest
1121
1125
  * @returns CreateDeveloperResponse
@@ -1450,7 +1454,7 @@ class Client extends openapi_core_1.default {
1450
1454
  return await this.createHttpApiWithOptions(request, headers, runtime);
1451
1455
  }
1452
1456
  /**
1453
- * Creates operations for an HTTP API.
1457
+ * Creates an API operation for an HTTP API.
1454
1458
  *
1455
1459
  * @param request - CreateHttpApiOperationRequest
1456
1460
  * @param headers - map
@@ -1481,7 +1485,7 @@ class Client extends openapi_core_1.default {
1481
1485
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateHttpApiOperationResponse({}));
1482
1486
  }
1483
1487
  /**
1484
- * Creates operations for an HTTP API.
1488
+ * Creates an API operation for an HTTP API.
1485
1489
  *
1486
1490
  * @param request - CreateHttpApiOperationRequest
1487
1491
  * @returns CreateHttpApiOperationResponse
@@ -1511,6 +1515,9 @@ class Client extends openapi_core_1.default {
1511
1515
  if (!$dara.isNull(request.description)) {
1512
1516
  body["description"] = request.description;
1513
1517
  }
1518
+ if (!$dara.isNull(request.dfpConfig)) {
1519
+ body["dfpConfig"] = request.dfpConfig;
1520
+ }
1514
1521
  if (!$dara.isNull(request.domainIds)) {
1515
1522
  body["domainIds"] = request.domainIds;
1516
1523
  }
@@ -2034,6 +2041,124 @@ class Client extends openapi_core_1.default {
2034
2041
  let headers = {};
2035
2042
  return await this.createPolicyAttachmentWithOptions(request, headers, runtime);
2036
2043
  }
2044
+ /**
2045
+ * Creates a HiMarket developer portal and returns the ID of the newly created portal upon success.
2046
+ *
2047
+ * @param request - CreatePortalRequest
2048
+ * @param headers - map
2049
+ * @param runtime - runtime options for this request RuntimeOptions
2050
+ * @returns CreatePortalResponse
2051
+ */
2052
+ async createPortalWithOptions(request, headers, runtime) {
2053
+ request.validate();
2054
+ let query = {};
2055
+ if (!$dara.isNull(request.clientToken)) {
2056
+ query["clientToken"] = request.clientToken;
2057
+ }
2058
+ let body = {};
2059
+ if (!$dara.isNull(request.description)) {
2060
+ body["description"] = request.description;
2061
+ }
2062
+ if (!$dara.isNull(request.name)) {
2063
+ body["name"] = request.name;
2064
+ }
2065
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2066
+ headers: headers,
2067
+ query: openapi_core_2.OpenApiUtil.query(query),
2068
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
2069
+ });
2070
+ let params = new openapi_core_2.$OpenApiUtil.Params({
2071
+ action: "CreatePortal",
2072
+ version: "2024-03-27",
2073
+ protocol: "HTTPS",
2074
+ pathname: `/himarket/v1/portals`,
2075
+ method: "POST",
2076
+ authType: "AK",
2077
+ style: "ROA",
2078
+ reqBodyType: "json",
2079
+ bodyType: "json",
2080
+ });
2081
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreatePortalResponse({}));
2082
+ }
2083
+ /**
2084
+ * Creates a HiMarket developer portal and returns the ID of the newly created portal upon success.
2085
+ *
2086
+ * @param request - CreatePortalRequest
2087
+ * @returns CreatePortalResponse
2088
+ */
2089
+ async createPortal(request) {
2090
+ let runtime = new $dara.RuntimeOptions({});
2091
+ let headers = {};
2092
+ return await this.createPortalWithOptions(request, headers, runtime);
2093
+ }
2094
+ /**
2095
+ * Creates an API product in the product catalog of the HiMarket portal and returns the ID of the new product upon successful creation.
2096
+ *
2097
+ * @param request - CreateProductRequest
2098
+ * @param headers - map
2099
+ * @param runtime - runtime options for this request RuntimeOptions
2100
+ * @returns CreateProductResponse
2101
+ */
2102
+ async createProductWithOptions(request, headers, runtime) {
2103
+ request.validate();
2104
+ let query = {};
2105
+ if (!$dara.isNull(request.clientToken)) {
2106
+ query["clientToken"] = request.clientToken;
2107
+ }
2108
+ let body = {};
2109
+ if (!$dara.isNull(request.autoApprove)) {
2110
+ body["autoApprove"] = request.autoApprove;
2111
+ }
2112
+ if (!$dara.isNull(request.categories)) {
2113
+ body["categories"] = request.categories;
2114
+ }
2115
+ if (!$dara.isNull(request.description)) {
2116
+ body["description"] = request.description;
2117
+ }
2118
+ if (!$dara.isNull(request.document)) {
2119
+ body["document"] = request.document;
2120
+ }
2121
+ if (!$dara.isNull(request.feature)) {
2122
+ body["feature"] = request.feature;
2123
+ }
2124
+ if (!$dara.isNull(request.icon)) {
2125
+ body["icon"] = request.icon;
2126
+ }
2127
+ if (!$dara.isNull(request.name)) {
2128
+ body["name"] = request.name;
2129
+ }
2130
+ if (!$dara.isNull(request.type)) {
2131
+ body["type"] = request.type;
2132
+ }
2133
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2134
+ headers: headers,
2135
+ query: openapi_core_2.OpenApiUtil.query(query),
2136
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
2137
+ });
2138
+ let params = new openapi_core_2.$OpenApiUtil.Params({
2139
+ action: "CreateProduct",
2140
+ version: "2024-03-27",
2141
+ protocol: "HTTPS",
2142
+ pathname: `/himarket/v1/products`,
2143
+ method: "POST",
2144
+ authType: "AK",
2145
+ style: "ROA",
2146
+ reqBodyType: "json",
2147
+ bodyType: "json",
2148
+ });
2149
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateProductResponse({}));
2150
+ }
2151
+ /**
2152
+ * Creates an API product in the product catalog of the HiMarket portal and returns the ID of the new product upon successful creation.
2153
+ *
2154
+ * @param request - CreateProductRequest
2155
+ * @returns CreateProductResponse
2156
+ */
2157
+ async createProduct(request) {
2158
+ let runtime = new $dara.RuntimeOptions({});
2159
+ let headers = {};
2160
+ return await this.createProductWithOptions(request, headers, runtime);
2161
+ }
2037
2162
  /**
2038
2163
  * Creates a product category for an API product and returns the ID and name of the new category upon success.
2039
2164
  *
@@ -2083,7 +2208,7 @@ class Client extends openapi_core_1.default {
2083
2208
  return await this.createProductCategoryWithOptions(request, headers, runtime);
2084
2209
  }
2085
2210
  /**
2086
- * Associates an API configuration with a specified API product by submitting the gatewayId and apigRefConfig parameters to the /himarket/v1/products/{productId}/ref endpoint. The association result can be queried by GetProductRef and removed by DeleteProductRef at the same path.
2211
+ * Associates an API configuration with a specified API product by submitting the gatewayId and apigRefConfig parameters to the /himarket/v1/products/{productId}/ref endpoint. You can query the association result by calling GetProductRef or remove the association by calling DeleteProductRef at the same path.
2087
2212
  *
2088
2213
  * @param request - CreateProductRefRequest
2089
2214
  * @param headers - map
@@ -2117,7 +2242,7 @@ class Client extends openapi_core_1.default {
2117
2242
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateProductRefResponse({}));
2118
2243
  }
2119
2244
  /**
2120
- * Associates an API configuration with a specified API product by submitting the gatewayId and apigRefConfig parameters to the /himarket/v1/products/{productId}/ref endpoint. The association result can be queried by GetProductRef and removed by DeleteProductRef at the same path.
2245
+ * Associates an API configuration with a specified API product by submitting the gatewayId and apigRefConfig parameters to the /himarket/v1/products/{productId}/ref endpoint. You can query the association result by calling GetProductRef or remove the association by calling DeleteProductRef at the same path.
2121
2246
  *
2122
2247
  * @param request - CreateProductRefRequest
2123
2248
  * @returns CreateProductRefResponse
@@ -2222,7 +2347,7 @@ class Client extends openapi_core_1.default {
2222
2347
  return await this.createSecretWithOptions(request, headers, runtime);
2223
2348
  }
2224
2349
  /**
2225
- * Creates services.
2350
+ * Creates a service.
2226
2351
  *
2227
2352
  * @remarks
2228
2353
  * This operation supports creating multiple services.
@@ -2270,7 +2395,7 @@ class Client extends openapi_core_1.default {
2270
2395
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateServiceResponse({}));
2271
2396
  }
2272
2397
  /**
2273
- * Creates services.
2398
+ * Creates a service.
2274
2399
  *
2275
2400
  * @remarks
2276
2401
  * This operation supports creating multiple services.
@@ -3183,7 +3308,7 @@ class Client extends openapi_core_1.default {
3183
3308
  return await this.deleteProductCategoryWithOptions(categoryId, request, headers, runtime);
3184
3309
  }
3185
3310
  /**
3186
- * Dissociates an API product from an API by API product ID. This association is established by CreateProductRef on the same resource path and can be queried by GetProductRef.
3311
+ * Dissociates an API product from an API by API product ID. The association is established by CreateProductRef on the same resource path and can be queried by GetProductRef.
3187
3312
  *
3188
3313
  * @param request - DeleteProductRefRequest
3189
3314
  * @param headers - map
@@ -3209,7 +3334,7 @@ class Client extends openapi_core_1.default {
3209
3334
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteProductRefResponse({}));
3210
3335
  }
3211
3336
  /**
3212
- * Dissociates an API product from an API by API product ID. This association is established by CreateProductRef on the same resource path and can be queried by GetProductRef.
3337
+ * Dissociates an API product from an API by API product ID. The association is established by CreateProductRef on the same resource path and can be queried by GetProductRef.
3213
3338
  *
3214
3339
  * @param request - DeleteProductRefRequest
3215
3340
  * @returns DeleteProductRefResponse
@@ -3657,7 +3782,7 @@ class Client extends openapi_core_1.default {
3657
3782
  return await this.getAiModelProviderWithOptions(modelProviderId, request, headers, runtime);
3658
3783
  }
3659
3784
  /**
3660
- * Queries the effective field collection configurations for an HTTP API across each URI of the request in a specified cloud-native API gateway, including the field source, JSONPath, collection status, switch permission, and whether the configuration is derived from a field template.
3785
+ * Queries the effective field collection configurations for each request path of an HTTP API in a specified cloud-native API gateway, including the field source, JSONPath, whether it is collected, whether switching is allowed, and whether it is from a field template.
3661
3786
  *
3662
3787
  * @param request - GetApiPathFieldConfigRequest
3663
3788
  * @param headers - map
@@ -3691,7 +3816,7 @@ class Client extends openapi_core_1.default {
3691
3816
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetApiPathFieldConfigResponse({}));
3692
3817
  }
3693
3818
  /**
3694
- * Queries the effective field collection configurations for an HTTP API across each URI of the request in a specified cloud-native API gateway, including the field source, JSONPath, collection status, switch permission, and whether the configuration is derived from a field template.
3819
+ * Queries the effective field collection configurations for each request path of an HTTP API in a specified cloud-native API gateway, including the field source, JSONPath, whether it is collected, whether switching is allowed, and whether it is from a field template.
3695
3820
  *
3696
3821
  * @param request - GetApiPathFieldConfigRequest
3697
3822
  * @returns GetApiPathFieldConfigResponse
@@ -3702,7 +3827,7 @@ class Client extends openapi_core_1.default {
3702
3827
  return await this.getApiPathFieldConfigWithOptions(request, headers, runtime);
3703
3828
  }
3704
3829
  /**
3705
- * Queries the field template corresponding to the API request path and returns the template name, applicable protocol, template description, and the set of fields defined by the template, including field keys, JSONPaths, value sources, and statistical categories.
3830
+ * Queries the field template corresponding to an API request path and returns the template name, applicable protocol, template description, and the set of fields defined by the template, including field keys, JSONPaths, value sources, and statistical categories.
3706
3831
  *
3707
3832
  * @param request - GetApiPathFieldTemplateRequest
3708
3833
  * @param headers - map
@@ -3733,7 +3858,7 @@ class Client extends openapi_core_1.default {
3733
3858
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetApiPathFieldTemplateResponse({}));
3734
3859
  }
3735
3860
  /**
3736
- * Queries the field template corresponding to the API request path and returns the template name, applicable protocol, template description, and the set of fields defined by the template, including field keys, JSONPaths, value sources, and statistical categories.
3861
+ * Queries the field template corresponding to an API request path and returns the template name, applicable protocol, template description, and the set of fields defined by the template, including field keys, JSONPaths, value sources, and statistical categories.
3737
3862
  *
3738
3863
  * @param request - GetApiPathFieldTemplateRequest
3739
3864
  * @returns GetApiPathFieldTemplateResponse
@@ -3851,7 +3976,7 @@ class Client extends openapi_core_1.default {
3851
3976
  return await this.getConsumerWithOptions(consumerId, headers, runtime);
3852
3977
  }
3853
3978
  /**
3854
- * Retrieves a consumer authorization rule.
3979
+ * Retrieves consumer authorization rules.
3855
3980
  *
3856
3981
  * @param headers - map
3857
3982
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3875,7 +4000,7 @@ class Client extends openapi_core_1.default {
3875
4000
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetConsumerAuthorizationRuleResponse({}));
3876
4001
  }
3877
4002
  /**
3878
- * Retrieves a consumer authorization rule.
4003
+ * Retrieves consumer authorization rules.
3879
4004
  * @returns GetConsumerAuthorizationRuleResponse
3880
4005
  */
3881
4006
  async getConsumerAuthorizationRule(consumerAuthorizationRuleId, consumerId) {
@@ -4121,7 +4246,7 @@ class Client extends openapi_core_1.default {
4121
4246
  return await this.getEnvironmentWithOptions(environmentId, request, headers, runtime);
4122
4247
  }
4123
4248
  /**
4124
- * Retrieves basic information about a gateway, including the VPC, vSwitch, and gateway ingress.
4249
+ * Retrieves the basic information of a gateway, such as the associated VPC, vSwitch, and gateway endpoint.
4125
4250
  *
4126
4251
  * @param headers - map
4127
4252
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4145,7 +4270,7 @@ class Client extends openapi_core_1.default {
4145
4270
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetGatewayResponse({}));
4146
4271
  }
4147
4272
  /**
4148
- * Retrieves basic information about a gateway, including the VPC, vSwitch, and gateway ingress.
4273
+ * Retrieves the basic information of a gateway, such as the associated VPC, vSwitch, and gateway endpoint.
4149
4274
  * @returns GetGatewayResponse
4150
4275
  */
4151
4276
  async getGateway(gatewayId) {
@@ -4153,6 +4278,49 @@ class Client extends openapi_core_1.default {
4153
4278
  let headers = {};
4154
4279
  return await this.getGatewayWithOptions(gatewayId, headers, runtime);
4155
4280
  }
4281
+ /**
4282
+ * Retrieves the dynamic forwarding ExtProc service bound to the gateway.
4283
+ *
4284
+ * @remarks
4285
+ * Queries the dynamic forwarding ExtProc gRPC service and port currently bound to the specified gateway. If no service is bound, the operation returns bound=false.
4286
+ *
4287
+ * @param request - GetGatewayDfpExtProcServiceRequest
4288
+ * @param headers - map
4289
+ * @param runtime - runtime options for this request RuntimeOptions
4290
+ * @returns GetGatewayDfpExtProcServiceResponse
4291
+ */
4292
+ async getGatewayDfpExtProcServiceWithOptions(gatewayId, request, headers, runtime) {
4293
+ request.validate();
4294
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
4295
+ headers: headers,
4296
+ });
4297
+ let params = new openapi_core_2.$OpenApiUtil.Params({
4298
+ action: "GetGatewayDfpExtProcService",
4299
+ version: "2024-03-27",
4300
+ protocol: "HTTPS",
4301
+ pathname: `/v1/gateways/${$dara.URL.percentEncode(gatewayId)}/dfp-ext-proc-service`,
4302
+ method: "GET",
4303
+ authType: "AK",
4304
+ style: "ROA",
4305
+ reqBodyType: "json",
4306
+ bodyType: "json",
4307
+ });
4308
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetGatewayDfpExtProcServiceResponse({}));
4309
+ }
4310
+ /**
4311
+ * Retrieves the dynamic forwarding ExtProc service bound to the gateway.
4312
+ *
4313
+ * @remarks
4314
+ * Queries the dynamic forwarding ExtProc gRPC service and port currently bound to the specified gateway. If no service is bound, the operation returns bound=false.
4315
+ *
4316
+ * @param request - GetGatewayDfpExtProcServiceRequest
4317
+ * @returns GetGatewayDfpExtProcServiceResponse
4318
+ */
4319
+ async getGatewayDfpExtProcService(gatewayId, request) {
4320
+ let runtime = new $dara.RuntimeOptions({});
4321
+ let headers = {};
4322
+ return await this.getGatewayDfpExtProcServiceWithOptions(gatewayId, request, headers, runtime);
4323
+ }
4156
4324
  /**
4157
4325
  * Retrieves the elastic scaling rule of a gateway.
4158
4326
  *
@@ -4194,7 +4362,7 @@ class Client extends openapi_core_1.default {
4194
4362
  * Queries the details of a gateway quota throttling rule.
4195
4363
  *
4196
4364
  * @remarks
4197
- * Queries a specific API consumer quota rule on an AI gateway.
4365
+ * Queries a consumer quota rule on an AI gateway.
4198
4366
  *
4199
4367
  * @param request - GetGatewayQuotaRuleRequest
4200
4368
  * @param headers - map
@@ -4237,7 +4405,7 @@ class Client extends openapi_core_1.default {
4237
4405
  * Queries the details of a gateway quota throttling rule.
4238
4406
  *
4239
4407
  * @remarks
4240
- * Queries a specific API consumer quota rule on an AI gateway.
4408
+ * Queries a consumer quota rule on an AI gateway.
4241
4409
  *
4242
4410
  * @param request - GetGatewayQuotaRuleRequest
4243
4411
  * @returns GetGatewayQuotaRuleResponse
@@ -4353,7 +4521,7 @@ class Client extends openapi_core_1.default {
4353
4521
  return await this.getGatewayResourceQuotaUsageWithOptions(gatewayId, request, headers, runtime);
4354
4522
  }
4355
4523
  /**
4356
- * Queries the details of a single HiMarket consumer by consumer ID and returns the consumer ID, name, description, and whether the consumer is the primary consumer.
4524
+ * Queries the details of a single HiMarket consumer by consumer ID, including the consumer ID, name, description, and whether the consumer is a primary consumer.
4357
4525
  *
4358
4526
  * @param request - GetHiMarketConsumerRequest
4359
4527
  * @param headers - map
@@ -4379,7 +4547,7 @@ class Client extends openapi_core_1.default {
4379
4547
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetHiMarketConsumerResponse({}));
4380
4548
  }
4381
4549
  /**
4382
- * Queries the details of a single HiMarket consumer by consumer ID and returns the consumer ID, name, description, and whether the consumer is the primary consumer.
4550
+ * Queries the details of a single HiMarket consumer by consumer ID, including the consumer ID, name, description, and whether the consumer is a primary consumer.
4383
4551
  *
4384
4552
  * @param request - GetHiMarketConsumerRequest
4385
4553
  * @returns GetHiMarketConsumerResponse
@@ -4390,7 +4558,7 @@ class Client extends openapi_core_1.default {
4390
4558
  return await this.getHiMarketConsumerWithOptions(consumerId, request, headers, runtime);
4391
4559
  }
4392
4560
  /**
4393
- * Queries the credential information of a HiMarket consumer by consumer ID. The response includes API key and HMAC credential configurations. The credential members are defined by the common data structures HiMarketApiKeyConfig and HiMarketHmacConfig.
4561
+ * Queries the credential information of a HiMarket consumer by consumer ID and returns two types of containers: API key credential configuration and HMAC credential configuration. The credential members are defined by the common data structures HiMarketApiKeyConfig and HiMarketHmacConfig.
4394
4562
  *
4395
4563
  * @param request - GetHiMarketConsumerCredentialRequest
4396
4564
  * @param headers - map
@@ -4416,7 +4584,7 @@ class Client extends openapi_core_1.default {
4416
4584
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetHiMarketConsumerCredentialResponse({}));
4417
4585
  }
4418
4586
  /**
4419
- * Queries the credential information of a HiMarket consumer by consumer ID. The response includes API key and HMAC credential configurations. The credential members are defined by the common data structures HiMarketApiKeyConfig and HiMarketHmacConfig.
4587
+ * Queries the credential information of a HiMarket consumer by consumer ID and returns two types of containers: API key credential configuration and HMAC credential configuration. The credential members are defined by the common data structures HiMarketApiKeyConfig and HiMarketHmacConfig.
4420
4588
  *
4421
4589
  * @param request - GetHiMarketConsumerCredentialRequest
4422
4590
  * @returns GetHiMarketConsumerCredentialResponse
@@ -4469,7 +4637,7 @@ class Client extends openapi_core_1.default {
4469
4637
  return await this.getHttpApiWithOptions(httpApiId, request, headers, runtime);
4470
4638
  }
4471
4639
  /**
4472
- * Retrieves operation information.
4640
+ * Retrieves API operation information.
4473
4641
  *
4474
4642
  * @param headers - map
4475
4643
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4493,7 +4661,7 @@ class Client extends openapi_core_1.default {
4493
4661
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetHttpApiOperationResponse({}));
4494
4662
  }
4495
4663
  /**
4496
- * Retrieves operation information.
4664
+ * Retrieves API operation information.
4497
4665
  * @returns GetHttpApiOperationResponse
4498
4666
  */
4499
4667
  async getHttpApiOperation(httpApiId, operationId) {
@@ -4648,7 +4816,7 @@ class Client extends openapi_core_1.default {
4648
4816
  return await this.getMigrationTaskWithOptions(taskId, request, headers, runtime);
4649
4817
  }
4650
4818
  /**
4651
- * Queries a plugin mount.
4819
+ * Queries a plugin attachment.
4652
4820
  *
4653
4821
  * @param headers - map
4654
4822
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4672,7 +4840,7 @@ class Client extends openapi_core_1.default {
4672
4840
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetPluginAttachmentResponse({}));
4673
4841
  }
4674
4842
  /**
4675
- * Queries a plugin mount.
4843
+ * Queries a plugin attachment.
4676
4844
  * @returns GetPluginAttachmentResponse
4677
4845
  */
4678
4846
  async getPluginAttachment(pluginAttachmentId) {
@@ -4820,6 +4988,154 @@ class Client extends openapi_core_1.default {
4820
4988
  let headers = {};
4821
4989
  return await this.getPolicyAttachmentWithOptions(policyAttachmentId, headers, runtime);
4822
4990
  }
4991
+ /**
4992
+ * Queries the details of a single HiMarket developer portal by portal ID and returns the portal name, description, region ID, portal settings, and portal domain configurations.
4993
+ *
4994
+ * @param request - GetPortalRequest
4995
+ * @param headers - map
4996
+ * @param runtime - runtime options for this request RuntimeOptions
4997
+ * @returns GetPortalResponse
4998
+ */
4999
+ async getPortalWithOptions(portalId, request, headers, runtime) {
5000
+ request.validate();
5001
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
5002
+ headers: headers,
5003
+ });
5004
+ let params = new openapi_core_2.$OpenApiUtil.Params({
5005
+ action: "GetPortal",
5006
+ version: "2024-03-27",
5007
+ protocol: "HTTPS",
5008
+ pathname: `/himarket/v1/portals/${$dara.URL.percentEncode(portalId)}`,
5009
+ method: "GET",
5010
+ authType: "AK",
5011
+ style: "ROA",
5012
+ reqBodyType: "json",
5013
+ bodyType: "json",
5014
+ });
5015
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetPortalResponse({}));
5016
+ }
5017
+ /**
5018
+ * Queries the details of a single HiMarket developer portal by portal ID and returns the portal name, description, region ID, portal settings, and portal domain configurations.
5019
+ *
5020
+ * @param request - GetPortalRequest
5021
+ * @returns GetPortalResponse
5022
+ */
5023
+ async getPortal(portalId, request) {
5024
+ let runtime = new $dara.RuntimeOptions({});
5025
+ let headers = {};
5026
+ return await this.getPortalWithOptions(portalId, request, headers, runtime);
5027
+ }
5028
+ /**
5029
+ * Queries the details of a single API product by API product ID and returns information such as the name, description, status, type, documentation, icon, automatic subscription approval status, MCP, Agent, and model configurations, product capability configurations, and the region.
5030
+ *
5031
+ * @param request - GetProductRequest
5032
+ * @param headers - map
5033
+ * @param runtime - runtime options for this request RuntimeOptions
5034
+ * @returns GetProductResponse
5035
+ */
5036
+ async getProductWithOptions(productId, request, headers, runtime) {
5037
+ request.validate();
5038
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
5039
+ headers: headers,
5040
+ });
5041
+ let params = new openapi_core_2.$OpenApiUtil.Params({
5042
+ action: "GetProduct",
5043
+ version: "2024-03-27",
5044
+ protocol: "HTTPS",
5045
+ pathname: `/himarket/v1/products/${$dara.URL.percentEncode(productId)}`,
5046
+ method: "GET",
5047
+ authType: "AK",
5048
+ style: "ROA",
5049
+ reqBodyType: "json",
5050
+ bodyType: "json",
5051
+ });
5052
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetProductResponse({}));
5053
+ }
5054
+ /**
5055
+ * Queries the details of a single API product by API product ID and returns information such as the name, description, status, type, documentation, icon, automatic subscription approval status, MCP, Agent, and model configurations, product capability configurations, and the region.
5056
+ *
5057
+ * @param request - GetProductRequest
5058
+ * @returns GetProductResponse
5059
+ */
5060
+ async getProduct(productId, request) {
5061
+ let runtime = new $dara.RuntimeOptions({});
5062
+ let headers = {};
5063
+ return await this.getProductWithOptions(productId, request, headers, runtime);
5064
+ }
5065
+ /**
5066
+ * Queries the details of a single product category by category ID and returns the ID, name, description, and icon of the category.
5067
+ *
5068
+ * @param request - GetProductCategoryRequest
5069
+ * @param headers - map
5070
+ * @param runtime - runtime options for this request RuntimeOptions
5071
+ * @returns GetProductCategoryResponse
5072
+ */
5073
+ async getProductCategoryWithOptions(categoryId, request, headers, runtime) {
5074
+ request.validate();
5075
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
5076
+ headers: headers,
5077
+ });
5078
+ let params = new openapi_core_2.$OpenApiUtil.Params({
5079
+ action: "GetProductCategory",
5080
+ version: "2024-03-27",
5081
+ protocol: "HTTPS",
5082
+ pathname: `/himarket/v1/product-categories/${$dara.URL.percentEncode(categoryId)}`,
5083
+ method: "GET",
5084
+ authType: "AK",
5085
+ style: "ROA",
5086
+ reqBodyType: "json",
5087
+ bodyType: "json",
5088
+ });
5089
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetProductCategoryResponse({}));
5090
+ }
5091
+ /**
5092
+ * Queries the details of a single product category by category ID and returns the ID, name, description, and icon of the category.
5093
+ *
5094
+ * @param request - GetProductCategoryRequest
5095
+ * @returns GetProductCategoryResponse
5096
+ */
5097
+ async getProductCategory(categoryId, request) {
5098
+ let runtime = new $dara.RuntimeOptions({});
5099
+ let headers = {};
5100
+ return await this.getProductCategoryWithOptions(categoryId, request, headers, runtime);
5101
+ }
5102
+ /**
5103
+ * Queries the API configurations associated with an API product by product ID, and returns the gateway ID and APIG association configuration.
5104
+ *
5105
+ * @param request - GetProductRefRequest
5106
+ * @param headers - map
5107
+ * @param runtime - runtime options for this request RuntimeOptions
5108
+ * @returns GetProductRefResponse
5109
+ */
5110
+ async getProductRefWithOptions(productId, request, headers, runtime) {
5111
+ request.validate();
5112
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
5113
+ headers: headers,
5114
+ });
5115
+ let params = new openapi_core_2.$OpenApiUtil.Params({
5116
+ action: "GetProductRef",
5117
+ version: "2024-03-27",
5118
+ protocol: "HTTPS",
5119
+ pathname: `/himarket/v1/products/${$dara.URL.percentEncode(productId)}/ref`,
5120
+ method: "GET",
5121
+ authType: "AK",
5122
+ style: "ROA",
5123
+ reqBodyType: "json",
5124
+ bodyType: "json",
5125
+ });
5126
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetProductRefResponse({}));
5127
+ }
5128
+ /**
5129
+ * Queries the API configurations associated with an API product by product ID, and returns the gateway ID and APIG association configuration.
5130
+ *
5131
+ * @param request - GetProductRefRequest
5132
+ * @returns GetProductRefResponse
5133
+ */
5134
+ async getProductRef(productId, request) {
5135
+ let runtime = new $dara.RuntimeOptions({});
5136
+ let headers = {};
5137
+ return await this.getProductRefWithOptions(productId, request, headers, runtime);
5138
+ }
4823
5139
  /**
4824
5140
  * Retrieves the resource overview information.
4825
5141
  *
@@ -5091,39 +5407,84 @@ class Client extends openapi_core_1.default {
5091
5407
  return await this.getTraceConfigWithOptions(gatewayId, request, headers, runtime);
5092
5408
  }
5093
5409
  /**
5094
- * Imports an HTTP API. You can import an OpenAPI 2.0 or OpenAPI 3.0.x definition file as a REST API.
5410
+ * Executes the callback step in the OIDC logon flow by submitting the code and state query parameters carried in the callback via a GET request, and returns the accessToken, tokenType, and expiresIn fields in the response data.
5095
5411
  *
5096
- * @param request - ImportHttpApiRequest
5412
+ * @param request - HandleOidcCallbackRequest
5097
5413
  * @param headers - map
5098
5414
  * @param runtime - runtime options for this request RuntimeOptions
5099
- * @returns ImportHttpApiResponse
5415
+ * @returns HandleOidcCallbackResponse
5100
5416
  */
5101
- async importHttpApiWithOptions(request, headers, runtime) {
5417
+ async handleOidcCallbackWithOptions(request, headers, runtime) {
5102
5418
  request.validate();
5103
- let body = {};
5104
- if (!$dara.isNull(request.deployConfigs)) {
5105
- body["deployConfigs"] = request.deployConfigs;
5106
- }
5107
- if (!$dara.isNull(request.description)) {
5108
- body["description"] = request.description;
5109
- }
5110
- if (!$dara.isNull(request.dryRun)) {
5111
- body["dryRun"] = request.dryRun;
5112
- }
5113
- if (!$dara.isNull(request.gatewayId)) {
5114
- body["gatewayId"] = request.gatewayId;
5115
- }
5116
- if (!$dara.isNull(request.mcpRouteId)) {
5117
- body["mcpRouteId"] = request.mcpRouteId;
5118
- }
5119
- if (!$dara.isNull(request.name)) {
5120
- body["name"] = request.name;
5121
- }
5122
- if (!$dara.isNull(request.resourceGroupId)) {
5123
- body["resourceGroupId"] = request.resourceGroupId;
5419
+ let query = {};
5420
+ if (!$dara.isNull(request.code)) {
5421
+ query["code"] = request.code;
5124
5422
  }
5125
- if (!$dara.isNull(request.specContentBase64)) {
5126
- body["specContentBase64"] = request.specContentBase64;
5423
+ if (!$dara.isNull(request.state)) {
5424
+ query["state"] = request.state;
5425
+ }
5426
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
5427
+ headers: headers,
5428
+ query: openapi_core_2.OpenApiUtil.query(query),
5429
+ });
5430
+ let params = new openapi_core_2.$OpenApiUtil.Params({
5431
+ action: "HandleOidcCallback",
5432
+ version: "2024-03-27",
5433
+ protocol: "HTTPS",
5434
+ pathname: `/himarket/v1/oidc/callback`,
5435
+ method: "GET",
5436
+ authType: "AK",
5437
+ style: "ROA",
5438
+ reqBodyType: "json",
5439
+ bodyType: "json",
5440
+ });
5441
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.HandleOidcCallbackResponse({}));
5442
+ }
5443
+ /**
5444
+ * Executes the callback step in the OIDC logon flow by submitting the code and state query parameters carried in the callback via a GET request, and returns the accessToken, tokenType, and expiresIn fields in the response data.
5445
+ *
5446
+ * @param request - HandleOidcCallbackRequest
5447
+ * @returns HandleOidcCallbackResponse
5448
+ */
5449
+ async handleOidcCallback(request) {
5450
+ let runtime = new $dara.RuntimeOptions({});
5451
+ let headers = {};
5452
+ return await this.handleOidcCallbackWithOptions(request, headers, runtime);
5453
+ }
5454
+ /**
5455
+ * Imports an HTTP API and supports importing OpenAPI 2.0 and OpenAPI 3.0.x definition files as REST APIs.
5456
+ *
5457
+ * @param request - ImportHttpApiRequest
5458
+ * @param headers - map
5459
+ * @param runtime - runtime options for this request RuntimeOptions
5460
+ * @returns ImportHttpApiResponse
5461
+ */
5462
+ async importHttpApiWithOptions(request, headers, runtime) {
5463
+ request.validate();
5464
+ let body = {};
5465
+ if (!$dara.isNull(request.deployConfigs)) {
5466
+ body["deployConfigs"] = request.deployConfigs;
5467
+ }
5468
+ if (!$dara.isNull(request.description)) {
5469
+ body["description"] = request.description;
5470
+ }
5471
+ if (!$dara.isNull(request.dryRun)) {
5472
+ body["dryRun"] = request.dryRun;
5473
+ }
5474
+ if (!$dara.isNull(request.gatewayId)) {
5475
+ body["gatewayId"] = request.gatewayId;
5476
+ }
5477
+ if (!$dara.isNull(request.mcpRouteId)) {
5478
+ body["mcpRouteId"] = request.mcpRouteId;
5479
+ }
5480
+ if (!$dara.isNull(request.name)) {
5481
+ body["name"] = request.name;
5482
+ }
5483
+ if (!$dara.isNull(request.resourceGroupId)) {
5484
+ body["resourceGroupId"] = request.resourceGroupId;
5485
+ }
5486
+ if (!$dara.isNull(request.specContentBase64)) {
5487
+ body["specContentBase64"] = request.specContentBase64;
5127
5488
  }
5128
5489
  if (!$dara.isNull(request.specFileUrl)) {
5129
5490
  body["specFileUrl"] = request.specFileUrl;
@@ -5161,7 +5522,7 @@ class Client extends openapi_core_1.default {
5161
5522
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ImportHttpApiResponse({}));
5162
5523
  }
5163
5524
  /**
5164
- * Imports an HTTP API. You can import an OpenAPI 2.0 or OpenAPI 3.0.x definition file as a REST API.
5525
+ * Imports an HTTP API and supports importing OpenAPI 2.0 and OpenAPI 3.0.x definition files as REST APIs.
5165
5526
  *
5166
5527
  * @param request - ImportHttpApiRequest
5167
5528
  * @returns ImportHttpApiResponse
@@ -5171,6 +5532,48 @@ class Client extends openapi_core_1.default {
5171
5532
  let headers = {};
5172
5533
  return await this.importHttpApiWithOptions(request, headers, runtime);
5173
5534
  }
5535
+ /**
5536
+ * Initiates the Authorize step in the OpenID Connect (OIDC) logon process based on the OIDC provider identifier. The response body defined by the API operation contains only the requestId, code, and message fields, and does not declare the data business output parameter.
5537
+ *
5538
+ * @param request - InitiateOidcAuthRequest
5539
+ * @param headers - map
5540
+ * @param runtime - runtime options for this request RuntimeOptions
5541
+ * @returns InitiateOidcAuthResponse
5542
+ */
5543
+ async initiateOidcAuthWithOptions(request, headers, runtime) {
5544
+ request.validate();
5545
+ let query = {};
5546
+ if (!$dara.isNull(request.provider)) {
5547
+ query["provider"] = request.provider;
5548
+ }
5549
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
5550
+ headers: headers,
5551
+ query: openapi_core_2.OpenApiUtil.query(query),
5552
+ });
5553
+ let params = new openapi_core_2.$OpenApiUtil.Params({
5554
+ action: "InitiateOidcAuth",
5555
+ version: "2024-03-27",
5556
+ protocol: "HTTPS",
5557
+ pathname: `/himarket/v1/oidc/authorize`,
5558
+ method: "GET",
5559
+ authType: "AK",
5560
+ style: "ROA",
5561
+ reqBodyType: "json",
5562
+ bodyType: "json",
5563
+ });
5564
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.InitiateOidcAuthResponse({}));
5565
+ }
5566
+ /**
5567
+ * Initiates the Authorize step in the OpenID Connect (OIDC) logon process based on the OIDC provider identifier. The response body defined by the API operation contains only the requestId, code, and message fields, and does not declare the data business output parameter.
5568
+ *
5569
+ * @param request - InitiateOidcAuthRequest
5570
+ * @returns InitiateOidcAuthResponse
5571
+ */
5572
+ async initiateOidcAuth(request) {
5573
+ let runtime = new $dara.RuntimeOptions({});
5574
+ let headers = {};
5575
+ return await this.initiateOidcAuthWithOptions(request, headers, runtime);
5576
+ }
5174
5577
  /**
5175
5578
  * Installs a plug-in.
5176
5579
  *
@@ -5442,6 +5845,51 @@ class Client extends openapi_core_1.default {
5442
5845
  let headers = {};
5443
5846
  return await this.listAiModelProvidersWithOptions(request, headers, runtime);
5444
5847
  }
5848
+ /**
5849
+ * Queries the list of field templates by using paging and returns the template ID, corresponding API request path, and applicable protocol for each template record.
5850
+ *
5851
+ * @param request - ListApiPathFieldTemplatesRequest
5852
+ * @param headers - map
5853
+ * @param runtime - runtime options for this request RuntimeOptions
5854
+ * @returns ListApiPathFieldTemplatesResponse
5855
+ */
5856
+ async listApiPathFieldTemplatesWithOptions(request, headers, runtime) {
5857
+ request.validate();
5858
+ let query = {};
5859
+ if (!$dara.isNull(request.pageNumber)) {
5860
+ query["pageNumber"] = request.pageNumber;
5861
+ }
5862
+ if (!$dara.isNull(request.pageSize)) {
5863
+ query["pageSize"] = request.pageSize;
5864
+ }
5865
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
5866
+ headers: headers,
5867
+ query: openapi_core_2.OpenApiUtil.query(query),
5868
+ });
5869
+ let params = new openapi_core_2.$OpenApiUtil.Params({
5870
+ action: "ListApiPathFieldTemplates",
5871
+ version: "2024-03-27",
5872
+ protocol: "HTTPS",
5873
+ pathname: `/v1/api-path-fields/templates`,
5874
+ method: "GET",
5875
+ authType: "AK",
5876
+ style: "ROA",
5877
+ reqBodyType: "json",
5878
+ bodyType: "json",
5879
+ });
5880
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListApiPathFieldTemplatesResponse({}));
5881
+ }
5882
+ /**
5883
+ * Queries the list of field templates by using paging and returns the template ID, corresponding API request path, and applicable protocol for each template record.
5884
+ *
5885
+ * @param request - ListApiPathFieldTemplatesRequest
5886
+ * @returns ListApiPathFieldTemplatesResponse
5887
+ */
5888
+ async listApiPathFieldTemplates(request) {
5889
+ let runtime = new $dara.RuntimeOptions({});
5890
+ let headers = {};
5891
+ return await this.listApiPathFieldTemplatesWithOptions(request, headers, runtime);
5892
+ }
5445
5893
  /**
5446
5894
  * Queries a list of batch export tasks.
5447
5895
  *
@@ -5505,6 +5953,57 @@ class Client extends openapi_core_1.default {
5505
5953
  let headers = {};
5506
5954
  return await this.listBatchExportTasksWithOptions(request, headers, runtime);
5507
5955
  }
5956
+ /**
5957
+ * Performs a paged query on the list of HiMarket chat sessions. For each session, the response returns the session ID, name, conversation type, and associated API products. The response also returns the paging page number, paging size, and total count.
5958
+ *
5959
+ * @param request - ListChatSessionsRequest
5960
+ * @param headers - map
5961
+ * @param runtime - runtime options for this request RuntimeOptions
5962
+ * @returns ListChatSessionsResponse
5963
+ */
5964
+ async listChatSessionsWithOptions(request, headers, runtime) {
5965
+ request.validate();
5966
+ let query = {};
5967
+ if (!$dara.isNull(request.maxResults)) {
5968
+ query["maxResults"] = request.maxResults;
5969
+ }
5970
+ if (!$dara.isNull(request.nextToken)) {
5971
+ query["nextToken"] = request.nextToken;
5972
+ }
5973
+ if (!$dara.isNull(request.pageNumber)) {
5974
+ query["pageNumber"] = request.pageNumber;
5975
+ }
5976
+ if (!$dara.isNull(request.pageSize)) {
5977
+ query["pageSize"] = request.pageSize;
5978
+ }
5979
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
5980
+ headers: headers,
5981
+ query: openapi_core_2.OpenApiUtil.query(query),
5982
+ });
5983
+ let params = new openapi_core_2.$OpenApiUtil.Params({
5984
+ action: "ListChatSessions",
5985
+ version: "2024-03-27",
5986
+ protocol: "HTTPS",
5987
+ pathname: `/himarket/v1/sessions`,
5988
+ method: "GET",
5989
+ authType: "AK",
5990
+ style: "ROA",
5991
+ reqBodyType: "json",
5992
+ bodyType: "json",
5993
+ });
5994
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListChatSessionsResponse({}));
5995
+ }
5996
+ /**
5997
+ * Performs a paged query on the list of HiMarket chat sessions. For each session, the response returns the session ID, name, conversation type, and associated API products. The response also returns the paging page number, paging size, and total count.
5998
+ *
5999
+ * @param request - ListChatSessionsRequest
6000
+ * @returns ListChatSessionsResponse
6001
+ */
6002
+ async listChatSessions(request) {
6003
+ let runtime = new $dara.RuntimeOptions({});
6004
+ let headers = {};
6005
+ return await this.listChatSessionsWithOptions(request, headers, runtime);
6006
+ }
5508
6007
  /**
5509
6008
  * Retrieves the list of consumer authorization rules.
5510
6009
  *
@@ -5811,6 +6310,66 @@ class Client extends openapi_core_1.default {
5811
6310
  let headers = {};
5812
6311
  return await this.listConsumersWithOptions(request, headers, runtime);
5813
6312
  }
6313
+ /**
6314
+ * Performs a paging query on the HiMarket developer list. You can filter the results by portal ID, username, and developer status. The response includes the developer ID, portal ID, username, and status.
6315
+ *
6316
+ * @param request - ListDevelopersRequest
6317
+ * @param headers - map
6318
+ * @param runtime - runtime options for this request RuntimeOptions
6319
+ * @returns ListDevelopersResponse
6320
+ */
6321
+ async listDevelopersWithOptions(request, headers, runtime) {
6322
+ request.validate();
6323
+ let query = {};
6324
+ if (!$dara.isNull(request.maxResults)) {
6325
+ query["maxResults"] = request.maxResults;
6326
+ }
6327
+ if (!$dara.isNull(request.nextToken)) {
6328
+ query["nextToken"] = request.nextToken;
6329
+ }
6330
+ if (!$dara.isNull(request.pageNumber)) {
6331
+ query["pageNumber"] = request.pageNumber;
6332
+ }
6333
+ if (!$dara.isNull(request.pageSize)) {
6334
+ query["pageSize"] = request.pageSize;
6335
+ }
6336
+ if (!$dara.isNull(request.portalId)) {
6337
+ query["portalId"] = request.portalId;
6338
+ }
6339
+ if (!$dara.isNull(request.status)) {
6340
+ query["status"] = request.status;
6341
+ }
6342
+ if (!$dara.isNull(request.username)) {
6343
+ query["username"] = request.username;
6344
+ }
6345
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
6346
+ headers: headers,
6347
+ query: openapi_core_2.OpenApiUtil.query(query),
6348
+ });
6349
+ let params = new openapi_core_2.$OpenApiUtil.Params({
6350
+ action: "ListDevelopers",
6351
+ version: "2024-03-27",
6352
+ protocol: "HTTPS",
6353
+ pathname: `/himarket/v1/developers`,
6354
+ method: "GET",
6355
+ authType: "AK",
6356
+ style: "ROA",
6357
+ reqBodyType: "json",
6358
+ bodyType: "json",
6359
+ });
6360
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListDevelopersResponse({}));
6361
+ }
6362
+ /**
6363
+ * Performs a paging query on the HiMarket developer list. You can filter the results by portal ID, username, and developer status. The response includes the developer ID, portal ID, username, and status.
6364
+ *
6365
+ * @param request - ListDevelopersRequest
6366
+ * @returns ListDevelopersResponse
6367
+ */
6368
+ async listDevelopers(request) {
6369
+ let runtime = new $dara.RuntimeOptions({});
6370
+ let headers = {};
6371
+ return await this.listDevelopersWithOptions(request, headers, runtime);
6372
+ }
5814
6373
  /**
5815
6374
  * Queries a list of domain names.
5816
6375
  *
@@ -6229,10 +6788,10 @@ class Client extends openapi_core_1.default {
6229
6788
  return await this.listGatewayLoadBalancersWithOptions(gatewayId, request, headers, runtime);
6230
6789
  }
6231
6790
  /**
6232
- * Queries the list of FinOps quota rules bound to a gateway.
6791
+ * Queries the FinOps quota rules associated with a gateway.
6233
6792
  *
6234
6793
  * @remarks
6235
- * Queries the list of FinOps quota rules bound to a gateway.
6794
+ * This operation queries the FinOps quota rules associated with a gateway.
6236
6795
  *
6237
6796
  * @param request - ListGatewayQuotaRulesRequest
6238
6797
  * @param headers - map
@@ -6275,10 +6834,10 @@ class Client extends openapi_core_1.default {
6275
6834
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListGatewayQuotaRulesResponse({}));
6276
6835
  }
6277
6836
  /**
6278
- * Queries the list of FinOps quota rules bound to a gateway.
6837
+ * Queries the FinOps quota rules associated with a gateway.
6279
6838
  *
6280
6839
  * @remarks
6281
- * Queries the list of FinOps quota rules bound to a gateway.
6840
+ * This operation queries the FinOps quota rules associated with a gateway.
6282
6841
  *
6283
6842
  * @param request - ListGatewayQuotaRulesRequest
6284
6843
  * @returns ListGatewayQuotaRulesResponse
@@ -6438,36 +6997,21 @@ class Client extends openapi_core_1.default {
6438
6997
  return await this.listGlobalPoliciesWithOptions(request, headers, runtime);
6439
6998
  }
6440
6999
  /**
6441
- * Retrieves a list of API operations.
7000
+ * Performs a paged query to retrieve the API product subscriptions of a specified HiMarket consumer. You can filter the paging results by status. Each subscription record includes the subscription ID, the ID, name, and type of the subscribed API product, the consumer ID and name, and the subscription status.
6442
7001
  *
6443
- * @param request - ListHttpApiOperationsRequest
7002
+ * @param request - ListHiMarketConsumerSubscriptionsRequest
6444
7003
  * @param headers - map
6445
7004
  * @param runtime - runtime options for this request RuntimeOptions
6446
- * @returns ListHttpApiOperationsResponse
7005
+ * @returns ListHiMarketConsumerSubscriptionsResponse
6447
7006
  */
6448
- async listHttpApiOperationsWithOptions(httpApiId, request, headers, runtime) {
7007
+ async listHiMarketConsumerSubscriptionsWithOptions(consumerId, request, headers, runtime) {
6449
7008
  request.validate();
6450
7009
  let query = {};
6451
- if (!$dara.isNull(request.consumerAuthorizationRuleId)) {
6452
- query["consumerAuthorizationRuleId"] = request.consumerAuthorizationRuleId;
6453
- }
6454
- if (!$dara.isNull(request.enableAuth)) {
6455
- query["enableAuth"] = request.enableAuth;
6456
- }
6457
- if (!$dara.isNull(request.forDeploy)) {
6458
- query["forDeploy"] = request.forDeploy;
6459
- }
6460
- if (!$dara.isNull(request.gatewayId)) {
6461
- query["gatewayId"] = request.gatewayId;
6462
- }
6463
- if (!$dara.isNull(request.method)) {
6464
- query["method"] = request.method;
6465
- }
6466
- if (!$dara.isNull(request.name)) {
6467
- query["name"] = request.name;
7010
+ if (!$dara.isNull(request.maxResults)) {
7011
+ query["maxResults"] = request.maxResults;
6468
7012
  }
6469
- if (!$dara.isNull(request.nameLike)) {
6470
- query["nameLike"] = request.nameLike;
7013
+ if (!$dara.isNull(request.nextToken)) {
7014
+ query["nextToken"] = request.nextToken;
6471
7015
  }
6472
7016
  if (!$dara.isNull(request.pageNumber)) {
6473
7017
  query["pageNumber"] = request.pageNumber;
@@ -6475,65 +7019,194 @@ class Client extends openapi_core_1.default {
6475
7019
  if (!$dara.isNull(request.pageSize)) {
6476
7020
  query["pageSize"] = request.pageSize;
6477
7021
  }
6478
- if (!$dara.isNull(request.pathLike)) {
6479
- query["pathLike"] = request.pathLike;
6480
- }
6481
- if (!$dara.isNull(request.withConsumerInEnvironmentId)) {
6482
- query["withConsumerInEnvironmentId"] = request.withConsumerInEnvironmentId;
6483
- }
6484
- if (!$dara.isNull(request.withConsumerInfoById)) {
6485
- query["withConsumerInfoById"] = request.withConsumerInfoById;
6486
- }
6487
- if (!$dara.isNull(request.withPluginAttachmentByPluginId)) {
6488
- query["withPluginAttachmentByPluginId"] = request.withPluginAttachmentByPluginId;
7022
+ if (!$dara.isNull(request.status)) {
7023
+ query["status"] = request.status;
6489
7024
  }
6490
7025
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
6491
7026
  headers: headers,
6492
7027
  query: openapi_core_2.OpenApiUtil.query(query),
6493
7028
  });
6494
7029
  let params = new openapi_core_2.$OpenApiUtil.Params({
6495
- action: "ListHttpApiOperations",
7030
+ action: "ListHiMarketConsumerSubscriptions",
6496
7031
  version: "2024-03-27",
6497
7032
  protocol: "HTTPS",
6498
- pathname: `/v1/http-apis/${$dara.URL.percentEncode(httpApiId)}/operations`,
7033
+ pathname: `/himarket/v1/consumers/${$dara.URL.percentEncode(consumerId)}/subscriptions`,
6499
7034
  method: "GET",
6500
7035
  authType: "AK",
6501
7036
  style: "ROA",
6502
7037
  reqBodyType: "json",
6503
7038
  bodyType: "json",
6504
7039
  });
6505
- return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListHttpApiOperationsResponse({}));
7040
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListHiMarketConsumerSubscriptionsResponse({}));
6506
7041
  }
6507
7042
  /**
6508
- * Retrieves a list of API operations.
7043
+ * Performs a paged query to retrieve the API product subscriptions of a specified HiMarket consumer. You can filter the paging results by status. Each subscription record includes the subscription ID, the ID, name, and type of the subscribed API product, the consumer ID and name, and the subscription status.
6509
7044
  *
6510
- * @param request - ListHttpApiOperationsRequest
6511
- * @returns ListHttpApiOperationsResponse
7045
+ * @param request - ListHiMarketConsumerSubscriptionsRequest
7046
+ * @returns ListHiMarketConsumerSubscriptionsResponse
6512
7047
  */
6513
- async listHttpApiOperations(httpApiId, request) {
7048
+ async listHiMarketConsumerSubscriptions(consumerId, request) {
6514
7049
  let runtime = new $dara.RuntimeOptions({});
6515
7050
  let headers = {};
6516
- return await this.listHttpApiOperationsWithOptions(httpApiId, request, headers, runtime);
7051
+ return await this.listHiMarketConsumerSubscriptionsWithOptions(consumerId, request, headers, runtime);
6517
7052
  }
6518
7053
  /**
6519
- * Queries the route list of an HTTP API.
7054
+ * Performs a paged query on the HiMarket consumer list. You can filter the results by consumer name keyword, portal ID, or developer ID. The paging result includes the consumer ID, name, description, and whether each consumer is a primary consumer.
6520
7055
  *
6521
- * @param request - ListHttpApiRoutesRequest
7056
+ * @param request - ListHiMarketConsumersRequest
6522
7057
  * @param headers - map
6523
7058
  * @param runtime - runtime options for this request RuntimeOptions
6524
- * @returns ListHttpApiRoutesResponse
7059
+ * @returns ListHiMarketConsumersResponse
6525
7060
  */
6526
- async listHttpApiRoutesWithOptions(httpApiId, request, headers, runtime) {
7061
+ async listHiMarketConsumersWithOptions(request, headers, runtime) {
6527
7062
  request.validate();
6528
7063
  let query = {};
6529
- if (!$dara.isNull(request.backendServiceName)) {
6530
- query["backendServiceName"] = request.backendServiceName;
7064
+ if (!$dara.isNull(request.developerId)) {
7065
+ query["developerId"] = request.developerId;
6531
7066
  }
6532
- if (!$dara.isNull(request.consumerAuthorizationRuleId)) {
6533
- query["consumerAuthorizationRuleId"] = request.consumerAuthorizationRuleId;
7067
+ if (!$dara.isNull(request.maxResults)) {
7068
+ query["maxResults"] = request.maxResults;
6534
7069
  }
6535
- if (!$dara.isNull(request.deployStatuses)) {
6536
- query["deployStatuses"] = request.deployStatuses;
7070
+ if (!$dara.isNull(request.name)) {
7071
+ query["name"] = request.name;
7072
+ }
7073
+ if (!$dara.isNull(request.nextToken)) {
7074
+ query["nextToken"] = request.nextToken;
7075
+ }
7076
+ if (!$dara.isNull(request.pageNumber)) {
7077
+ query["pageNumber"] = request.pageNumber;
7078
+ }
7079
+ if (!$dara.isNull(request.pageSize)) {
7080
+ query["pageSize"] = request.pageSize;
7081
+ }
7082
+ if (!$dara.isNull(request.portalId)) {
7083
+ query["portalId"] = request.portalId;
7084
+ }
7085
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
7086
+ headers: headers,
7087
+ query: openapi_core_2.OpenApiUtil.query(query),
7088
+ });
7089
+ let params = new openapi_core_2.$OpenApiUtil.Params({
7090
+ action: "ListHiMarketConsumers",
7091
+ version: "2024-03-27",
7092
+ protocol: "HTTPS",
7093
+ pathname: `/himarket/v1/consumers`,
7094
+ method: "GET",
7095
+ authType: "AK",
7096
+ style: "ROA",
7097
+ reqBodyType: "json",
7098
+ bodyType: "json",
7099
+ });
7100
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListHiMarketConsumersResponse({}));
7101
+ }
7102
+ /**
7103
+ * Performs a paged query on the HiMarket consumer list. You can filter the results by consumer name keyword, portal ID, or developer ID. The paging result includes the consumer ID, name, description, and whether each consumer is a primary consumer.
7104
+ *
7105
+ * @param request - ListHiMarketConsumersRequest
7106
+ * @returns ListHiMarketConsumersResponse
7107
+ */
7108
+ async listHiMarketConsumers(request) {
7109
+ let runtime = new $dara.RuntimeOptions({});
7110
+ let headers = {};
7111
+ return await this.listHiMarketConsumersWithOptions(request, headers, runtime);
7112
+ }
7113
+ /**
7114
+ * Retrieves the list of API operations.
7115
+ *
7116
+ * @param request - ListHttpApiOperationsRequest
7117
+ * @param headers - map
7118
+ * @param runtime - runtime options for this request RuntimeOptions
7119
+ * @returns ListHttpApiOperationsResponse
7120
+ */
7121
+ async listHttpApiOperationsWithOptions(httpApiId, request, headers, runtime) {
7122
+ request.validate();
7123
+ let query = {};
7124
+ if (!$dara.isNull(request.consumerAuthorizationRuleId)) {
7125
+ query["consumerAuthorizationRuleId"] = request.consumerAuthorizationRuleId;
7126
+ }
7127
+ if (!$dara.isNull(request.enableAuth)) {
7128
+ query["enableAuth"] = request.enableAuth;
7129
+ }
7130
+ if (!$dara.isNull(request.forDeploy)) {
7131
+ query["forDeploy"] = request.forDeploy;
7132
+ }
7133
+ if (!$dara.isNull(request.gatewayId)) {
7134
+ query["gatewayId"] = request.gatewayId;
7135
+ }
7136
+ if (!$dara.isNull(request.method)) {
7137
+ query["method"] = request.method;
7138
+ }
7139
+ if (!$dara.isNull(request.name)) {
7140
+ query["name"] = request.name;
7141
+ }
7142
+ if (!$dara.isNull(request.nameLike)) {
7143
+ query["nameLike"] = request.nameLike;
7144
+ }
7145
+ if (!$dara.isNull(request.pageNumber)) {
7146
+ query["pageNumber"] = request.pageNumber;
7147
+ }
7148
+ if (!$dara.isNull(request.pageSize)) {
7149
+ query["pageSize"] = request.pageSize;
7150
+ }
7151
+ if (!$dara.isNull(request.pathLike)) {
7152
+ query["pathLike"] = request.pathLike;
7153
+ }
7154
+ if (!$dara.isNull(request.withConsumerInEnvironmentId)) {
7155
+ query["withConsumerInEnvironmentId"] = request.withConsumerInEnvironmentId;
7156
+ }
7157
+ if (!$dara.isNull(request.withConsumerInfoById)) {
7158
+ query["withConsumerInfoById"] = request.withConsumerInfoById;
7159
+ }
7160
+ if (!$dara.isNull(request.withPluginAttachmentByPluginId)) {
7161
+ query["withPluginAttachmentByPluginId"] = request.withPluginAttachmentByPluginId;
7162
+ }
7163
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
7164
+ headers: headers,
7165
+ query: openapi_core_2.OpenApiUtil.query(query),
7166
+ });
7167
+ let params = new openapi_core_2.$OpenApiUtil.Params({
7168
+ action: "ListHttpApiOperations",
7169
+ version: "2024-03-27",
7170
+ protocol: "HTTPS",
7171
+ pathname: `/v1/http-apis/${$dara.URL.percentEncode(httpApiId)}/operations`,
7172
+ method: "GET",
7173
+ authType: "AK",
7174
+ style: "ROA",
7175
+ reqBodyType: "json",
7176
+ bodyType: "json",
7177
+ });
7178
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListHttpApiOperationsResponse({}));
7179
+ }
7180
+ /**
7181
+ * Retrieves the list of API operations.
7182
+ *
7183
+ * @param request - ListHttpApiOperationsRequest
7184
+ * @returns ListHttpApiOperationsResponse
7185
+ */
7186
+ async listHttpApiOperations(httpApiId, request) {
7187
+ let runtime = new $dara.RuntimeOptions({});
7188
+ let headers = {};
7189
+ return await this.listHttpApiOperationsWithOptions(httpApiId, request, headers, runtime);
7190
+ }
7191
+ /**
7192
+ * Queries the routes of an HTTP API.
7193
+ *
7194
+ * @param request - ListHttpApiRoutesRequest
7195
+ * @param headers - map
7196
+ * @param runtime - runtime options for this request RuntimeOptions
7197
+ * @returns ListHttpApiRoutesResponse
7198
+ */
7199
+ async listHttpApiRoutesWithOptions(httpApiId, request, headers, runtime) {
7200
+ request.validate();
7201
+ let query = {};
7202
+ if (!$dara.isNull(request.backendServiceName)) {
7203
+ query["backendServiceName"] = request.backendServiceName;
7204
+ }
7205
+ if (!$dara.isNull(request.consumerAuthorizationRuleId)) {
7206
+ query["consumerAuthorizationRuleId"] = request.consumerAuthorizationRuleId;
7207
+ }
7208
+ if (!$dara.isNull(request.deployStatuses)) {
7209
+ query["deployStatuses"] = request.deployStatuses;
6537
7210
  }
6538
7211
  if (!$dara.isNull(request.domainId)) {
6539
7212
  query["domainId"] = request.domainId;
@@ -6589,7 +7262,7 @@ class Client extends openapi_core_1.default {
6589
7262
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListHttpApiRoutesResponse({}));
6590
7263
  }
6591
7264
  /**
6592
- * Queries the route list of an HTTP API.
7265
+ * Queries the routes of an HTTP API.
6593
7266
  *
6594
7267
  * @param request - ListHttpApiRoutesRequest
6595
7268
  * @returns ListHttpApiRoutesResponse
@@ -6779,6 +7452,43 @@ class Client extends openapi_core_1.default {
6779
7452
  let headers = {};
6780
7453
  return await this.listK8sClusterSourcesWithOptions(gatewayId, request, headers, runtime);
6781
7454
  }
7455
+ /**
7456
+ * Queries the details of MCP tools included in an API product of the MCP Server type and returns a list of tools. Each tool contains three text members (name, title, and description) and four map structure members (inputSchema, outputSchema, annotations, and meta).
7457
+ *
7458
+ * @param request - ListMcpProductToolsRequest
7459
+ * @param headers - map
7460
+ * @param runtime - runtime options for this request RuntimeOptions
7461
+ * @returns ListMcpProductToolsResponse
7462
+ */
7463
+ async listMcpProductToolsWithOptions(productId, request, headers, runtime) {
7464
+ request.validate();
7465
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
7466
+ headers: headers,
7467
+ });
7468
+ let params = new openapi_core_2.$OpenApiUtil.Params({
7469
+ action: "ListMcpProductTools",
7470
+ version: "2024-03-27",
7471
+ protocol: "HTTPS",
7472
+ pathname: `/himarket/v1/products/${$dara.URL.percentEncode(productId)}/tools`,
7473
+ method: "GET",
7474
+ authType: "AK",
7475
+ style: "ROA",
7476
+ reqBodyType: "json",
7477
+ bodyType: "json",
7478
+ });
7479
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListMcpProductToolsResponse({}));
7480
+ }
7481
+ /**
7482
+ * Queries the details of MCP tools included in an API product of the MCP Server type and returns a list of tools. Each tool contains three text members (name, title, and description) and four map structure members (inputSchema, outputSchema, annotations, and meta).
7483
+ *
7484
+ * @param request - ListMcpProductToolsRequest
7485
+ * @returns ListMcpProductToolsResponse
7486
+ */
7487
+ async listMcpProductTools(productId, request) {
7488
+ let runtime = new $dara.RuntimeOptions({});
7489
+ let headers = {};
7490
+ return await this.listMcpProductToolsWithOptions(productId, request, headers, runtime);
7491
+ }
6782
7492
  /**
6783
7493
  * Retrieves a list of MCP servers.
6784
7494
  *
@@ -6890,6 +7600,48 @@ class Client extends openapi_core_1.default {
6890
7600
  let headers = {};
6891
7601
  return await this.listMigrationTasksWithOptions(request, headers, runtime);
6892
7602
  }
7603
+ /**
7604
+ * Queries a list of model cards and returns the model name, provider, and source identifier for each card, along with its features, pricing, meta, availablePaths, and snapshots structures. The only request parameter is the provider identifier.
7605
+ *
7606
+ * @param request - ListModelCardsRequest
7607
+ * @param headers - map
7608
+ * @param runtime - runtime options for this request RuntimeOptions
7609
+ * @returns ListModelCardsResponse
7610
+ */
7611
+ async listModelCardsWithOptions(request, headers, runtime) {
7612
+ request.validate();
7613
+ let query = {};
7614
+ if (!$dara.isNull(request.provider)) {
7615
+ query["provider"] = request.provider;
7616
+ }
7617
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
7618
+ headers: headers,
7619
+ query: openapi_core_2.OpenApiUtil.query(query),
7620
+ });
7621
+ let params = new openapi_core_2.$OpenApiUtil.Params({
7622
+ action: "ListModelCards",
7623
+ version: "2024-03-27",
7624
+ protocol: "HTTPS",
7625
+ pathname: `/v1/model-cards`,
7626
+ method: "GET",
7627
+ authType: "AK",
7628
+ style: "ROA",
7629
+ reqBodyType: "json",
7630
+ bodyType: "json",
7631
+ });
7632
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListModelCardsResponse({}));
7633
+ }
7634
+ /**
7635
+ * Queries a list of model cards and returns the model name, provider, and source identifier for each card, along with its features, pricing, meta, availablePaths, and snapshots structures. The only request parameter is the provider identifier.
7636
+ *
7637
+ * @param request - ListModelCardsRequest
7638
+ * @returns ListModelCardsResponse
7639
+ */
7640
+ async listModelCards(request) {
7641
+ let runtime = new $dara.RuntimeOptions({});
7642
+ let headers = {};
7643
+ return await this.listModelCardsWithOptions(request, headers, runtime);
7644
+ }
6893
7645
  /**
6894
7646
  * Queries the list of instances that can be added as Nacos sources.
6895
7647
  *
@@ -6928,7 +7680,7 @@ class Client extends openapi_core_1.default {
6928
7680
  return await this.listMseNacosSourcesWithOptions(gatewayId, request, headers, runtime);
6929
7681
  }
6930
7682
  /**
6931
- * Retrieves the list of plug-in mounts.
7683
+ * Retrieves the plugin mount list.
6932
7684
  *
6933
7685
  * @param request - ListPluginAttachmentsRequest
6934
7686
  * @param headers - map
@@ -6983,7 +7735,7 @@ class Client extends openapi_core_1.default {
6983
7735
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPluginAttachmentsResponse({}));
6984
7736
  }
6985
7737
  /**
6986
- * Retrieves the list of plug-in mounts.
7738
+ * Retrieves the plugin mount list.
6987
7739
  *
6988
7740
  * @param request - ListPluginAttachmentsRequest
6989
7741
  * @returns ListPluginAttachmentsResponse
@@ -7337,70 +8089,73 @@ class Client extends openapi_core_1.default {
7337
8089
  return await this.listPolicyClassesWithOptions(request, headers, runtime);
7338
8090
  }
7339
8091
  /**
7340
- * Queries risk detection results.
8092
+ * Performs a paged query to retrieve the list of published API products on a specified HiMarket developer portal. This paging operation returns a list where each item includes the publication record ID, API product ID, API product name, and API product type.
7341
8093
  *
7342
- * @param request - ListRiskCheckResultsRequest
8094
+ * @param request - ListPortalPublicationsRequest
7343
8095
  * @param headers - map
7344
8096
  * @param runtime - runtime options for this request RuntimeOptions
7345
- * @returns ListRiskCheckResultsResponse
8097
+ * @returns ListPortalPublicationsResponse
7346
8098
  */
7347
- async listRiskCheckResultsWithOptions(gatewayId, request, headers, runtime) {
8099
+ async listPortalPublicationsWithOptions(portalId, request, headers, runtime) {
7348
8100
  request.validate();
7349
8101
  let query = {};
7350
- if (!$dara.isNull(request.maxResults)) {
7351
- query["maxResults"] = request.maxResults;
7352
- }
7353
- if (!$dara.isNull(request.nextToken)) {
7354
- query["nextToken"] = request.nextToken;
7355
- }
7356
8102
  if (!$dara.isNull(request.pageNumber)) {
7357
8103
  query["pageNumber"] = request.pageNumber;
7358
8104
  }
7359
8105
  if (!$dara.isNull(request.pageSize)) {
7360
8106
  query["pageSize"] = request.pageSize;
7361
8107
  }
8108
+ if (!$dara.isNull(request.productName)) {
8109
+ query["productName"] = request.productName;
8110
+ }
7362
8111
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
7363
8112
  headers: headers,
7364
8113
  query: openapi_core_2.OpenApiUtil.query(query),
7365
8114
  });
7366
8115
  let params = new openapi_core_2.$OpenApiUtil.Params({
7367
- action: "ListRiskCheckResults",
8116
+ action: "ListPortalPublications",
7368
8117
  version: "2024-03-27",
7369
8118
  protocol: "HTTPS",
7370
- pathname: `/v1/gateways/${$dara.URL.percentEncode(gatewayId)}/risk-check/results`,
8119
+ pathname: `/himarket/v1/portals/${$dara.URL.percentEncode(portalId)}/publications`,
7371
8120
  method: "GET",
7372
8121
  authType: "AK",
7373
8122
  style: "ROA",
7374
8123
  reqBodyType: "json",
7375
8124
  bodyType: "json",
7376
8125
  });
7377
- return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListRiskCheckResultsResponse({}));
8126
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPortalPublicationsResponse({}));
7378
8127
  }
7379
8128
  /**
7380
- * Queries risk detection results.
8129
+ * Performs a paged query to retrieve the list of published API products on a specified HiMarket developer portal. This paging operation returns a list where each item includes the publication record ID, API product ID, API product name, and API product type.
7381
8130
  *
7382
- * @param request - ListRiskCheckResultsRequest
7383
- * @returns ListRiskCheckResultsResponse
8131
+ * @param request - ListPortalPublicationsRequest
8132
+ * @returns ListPortalPublicationsResponse
7384
8133
  */
7385
- async listRiskCheckResults(gatewayId, request) {
8134
+ async listPortalPublications(portalId, request) {
7386
8135
  let runtime = new $dara.RuntimeOptions({});
7387
8136
  let headers = {};
7388
- return await this.listRiskCheckResultsWithOptions(gatewayId, request, headers, runtime);
8137
+ return await this.listPortalPublicationsWithOptions(portalId, request, headers, runtime);
7389
8138
  }
7390
8139
  /**
7391
- * Lists secret references.
7392
- *
7393
- * @remarks
7394
- * The operation supports creating multiple services.
8140
+ * Queries the list of HiMarket developer portals under the current tenant by using paging. Each list item returns the portal ID, portal name, portal description, region ID, portal configuration, and portal domain configuration.
7395
8141
  *
7396
- * @param request - ListSecretReferencesRequest
8142
+ * @param request - ListPortalsRequest
7397
8143
  * @param headers - map
7398
8144
  * @param runtime - runtime options for this request RuntimeOptions
7399
- * @returns ListSecretReferencesResponse
8145
+ * @returns ListPortalsResponse
7400
8146
  */
7401
- async listSecretReferencesWithOptions(secretId, request, headers, runtime) {
8147
+ async listPortalsWithOptions(request, headers, runtime) {
7402
8148
  request.validate();
7403
8149
  let query = {};
8150
+ if (!$dara.isNull(request.maxResults)) {
8151
+ query["maxResults"] = request.maxResults;
8152
+ }
8153
+ if (!$dara.isNull(request.name)) {
8154
+ query["name"] = request.name;
8155
+ }
8156
+ if (!$dara.isNull(request.nextToken)) {
8157
+ query["nextToken"] = request.nextToken;
8158
+ }
7404
8159
  if (!$dara.isNull(request.pageNumber)) {
7405
8160
  query["pageNumber"] = request.pageNumber;
7406
8161
  }
@@ -7412,85 +8167,499 @@ class Client extends openapi_core_1.default {
7412
8167
  query: openapi_core_2.OpenApiUtil.query(query),
7413
8168
  });
7414
8169
  let params = new openapi_core_2.$OpenApiUtil.Params({
7415
- action: "ListSecretReferences",
8170
+ action: "ListPortals",
7416
8171
  version: "2024-03-27",
7417
8172
  protocol: "HTTPS",
7418
- pathname: `/v1/secrets/${$dara.URL.percentEncode(secretId)}/references`,
8173
+ pathname: `/himarket/v1/portals`,
7419
8174
  method: "GET",
7420
8175
  authType: "AK",
7421
8176
  style: "ROA",
7422
8177
  reqBodyType: "json",
7423
8178
  bodyType: "json",
7424
8179
  });
7425
- return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListSecretReferencesResponse({}));
8180
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPortalsResponse({}));
7426
8181
  }
7427
8182
  /**
7428
- * Lists secret references.
7429
- *
7430
- * @remarks
7431
- * The operation supports creating multiple services.
8183
+ * Queries the list of HiMarket developer portals under the current tenant by using paging. Each list item returns the portal ID, portal name, portal description, region ID, portal configuration, and portal domain configuration.
7432
8184
  *
7433
- * @param request - ListSecretReferencesRequest
7434
- * @returns ListSecretReferencesResponse
8185
+ * @param request - ListPortalsRequest
8186
+ * @returns ListPortalsResponse
7435
8187
  */
7436
- async listSecretReferences(secretId, request) {
8188
+ async listPortals(request) {
7437
8189
  let runtime = new $dara.RuntimeOptions({});
7438
8190
  let headers = {};
7439
- return await this.listSecretReferencesWithOptions(secretId, request, headers, runtime);
8191
+ return await this.listPortalsWithOptions(request, headers, runtime);
7440
8192
  }
7441
8193
  /**
7442
- * Lists keys.
8194
+ * Queries the unmanaged security groups available for private endpoints.
7443
8195
  *
7444
8196
  * @remarks
7445
- * The operation supports creating multiple services.
8197
+ * The API operation supports creating multiple services.
7446
8198
  *
7447
- * @param request - ListSecretsRequest
8199
+ * @param request - ListPrivateLinkSecurityGroupsRequest
7448
8200
  * @param headers - map
7449
8201
  * @param runtime - runtime options for this request RuntimeOptions
7450
- * @returns ListSecretsResponse
8202
+ * @returns ListPrivateLinkSecurityGroupsResponse
7451
8203
  */
7452
- async listSecretsWithOptions(request, headers, runtime) {
8204
+ async listPrivateLinkSecurityGroupsWithOptions(request, headers, runtime) {
7453
8205
  request.validate();
7454
8206
  let query = {};
7455
- if (!$dara.isNull(request.gatewayType)) {
7456
- query["gatewayType"] = request.gatewayType;
7457
- }
7458
- if (!$dara.isNull(request.nameLike)) {
7459
- query["nameLike"] = request.nameLike;
8207
+ if (!$dara.isNull(request.maxResults)) {
8208
+ query["maxResults"] = request.maxResults;
7460
8209
  }
7461
- if (!$dara.isNull(request.pageNumber)) {
7462
- query["pageNumber"] = request.pageNumber;
8210
+ if (!$dara.isNull(request.nextToken)) {
8211
+ query["nextToken"] = request.nextToken;
7463
8212
  }
7464
- if (!$dara.isNull(request.pageSize)) {
7465
- query["pageSize"] = request.pageSize;
8213
+ if (!$dara.isNull(request.vpcId)) {
8214
+ query["vpcId"] = request.vpcId;
7466
8215
  }
7467
8216
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
7468
8217
  headers: headers,
7469
8218
  query: openapi_core_2.OpenApiUtil.query(query),
7470
8219
  });
7471
8220
  let params = new openapi_core_2.$OpenApiUtil.Params({
7472
- action: "ListSecrets",
8221
+ action: "ListPrivateLinkSecurityGroups",
7473
8222
  version: "2024-03-27",
7474
8223
  protocol: "HTTPS",
7475
- pathname: `/v1/secrets`,
8224
+ pathname: `/v1/private-link-security-groups`,
7476
8225
  method: "GET",
7477
8226
  authType: "AK",
7478
8227
  style: "ROA",
7479
8228
  reqBodyType: "json",
7480
8229
  bodyType: "json",
7481
8230
  });
7482
- return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListSecretsResponse({}));
8231
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPrivateLinkSecurityGroupsResponse({}));
7483
8232
  }
7484
8233
  /**
7485
- * Lists keys.
8234
+ * Queries the unmanaged security groups available for private endpoints.
7486
8235
  *
7487
8236
  * @remarks
7488
- * The operation supports creating multiple services.
8237
+ * The API operation supports creating multiple services.
7489
8238
  *
7490
- * @param request - ListSecretsRequest
7491
- * @returns ListSecretsResponse
8239
+ * @param request - ListPrivateLinkSecurityGroupsRequest
8240
+ * @returns ListPrivateLinkSecurityGroupsResponse
7492
8241
  */
7493
- async listSecrets(request) {
8242
+ async listPrivateLinkSecurityGroups(request) {
8243
+ let runtime = new $dara.RuntimeOptions({});
8244
+ let headers = {};
8245
+ return await this.listPrivateLinkSecurityGroupsWithOptions(request, headers, runtime);
8246
+ }
8247
+ /**
8248
+ * Performs a paging query on the product categories under the current tenant. You can search for categories by name keywords. The list items return the category ID, name, description, and icon.
8249
+ *
8250
+ * @param request - ListProductCategoriesRequest
8251
+ * @param headers - map
8252
+ * @param runtime - runtime options for this request RuntimeOptions
8253
+ * @returns ListProductCategoriesResponse
8254
+ */
8255
+ async listProductCategoriesWithOptions(request, headers, runtime) {
8256
+ request.validate();
8257
+ let query = {};
8258
+ if (!$dara.isNull(request.name)) {
8259
+ query["name"] = request.name;
8260
+ }
8261
+ if (!$dara.isNull(request.pageNumber)) {
8262
+ query["pageNumber"] = request.pageNumber;
8263
+ }
8264
+ if (!$dara.isNull(request.pageSize)) {
8265
+ query["pageSize"] = request.pageSize;
8266
+ }
8267
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
8268
+ headers: headers,
8269
+ query: openapi_core_2.OpenApiUtil.query(query),
8270
+ });
8271
+ let params = new openapi_core_2.$OpenApiUtil.Params({
8272
+ action: "ListProductCategories",
8273
+ version: "2024-03-27",
8274
+ protocol: "HTTPS",
8275
+ pathname: `/himarket/v1/product-categories`,
8276
+ method: "GET",
8277
+ authType: "AK",
8278
+ style: "ROA",
8279
+ reqBodyType: "json",
8280
+ bodyType: "json",
8281
+ });
8282
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListProductCategoriesResponse({}));
8283
+ }
8284
+ /**
8285
+ * Performs a paging query on the product categories under the current tenant. You can search for categories by name keywords. The list items return the category ID, name, description, and icon.
8286
+ *
8287
+ * @param request - ListProductCategoriesRequest
8288
+ * @returns ListProductCategoriesResponse
8289
+ */
8290
+ async listProductCategories(request) {
8291
+ let runtime = new $dara.RuntimeOptions({});
8292
+ let headers = {};
8293
+ return await this.listProductCategoriesWithOptions(request, headers, runtime);
8294
+ }
8295
+ /**
8296
+ * Performs a paged query on the publication information of a specified API product, which is the list of portal records to which the product is published. Each list item includes the publication record ID, portal ID, portal name, API product ID, API product name, and API product type. You can query the records by portal name and perform a parameter query by using paging parameters.
8297
+ *
8298
+ * @param request - ListProductPublicationsRequest
8299
+ * @param headers - map
8300
+ * @param runtime - runtime options for this request RuntimeOptions
8301
+ * @returns ListProductPublicationsResponse
8302
+ */
8303
+ async listProductPublicationsWithOptions(productId, request, headers, runtime) {
8304
+ request.validate();
8305
+ let query = {};
8306
+ if (!$dara.isNull(request.pageNumber)) {
8307
+ query["pageNumber"] = request.pageNumber;
8308
+ }
8309
+ if (!$dara.isNull(request.pageSize)) {
8310
+ query["pageSize"] = request.pageSize;
8311
+ }
8312
+ if (!$dara.isNull(request.portalName)) {
8313
+ query["portalName"] = request.portalName;
8314
+ }
8315
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
8316
+ headers: headers,
8317
+ query: openapi_core_2.OpenApiUtil.query(query),
8318
+ });
8319
+ let params = new openapi_core_2.$OpenApiUtil.Params({
8320
+ action: "ListProductPublications",
8321
+ version: "2024-03-27",
8322
+ protocol: "HTTPS",
8323
+ pathname: `/himarket/v1/products/${$dara.URL.percentEncode(productId)}/publications`,
8324
+ method: "GET",
8325
+ authType: "AK",
8326
+ style: "ROA",
8327
+ reqBodyType: "json",
8328
+ bodyType: "json",
8329
+ });
8330
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListProductPublicationsResponse({}));
8331
+ }
8332
+ /**
8333
+ * Performs a paged query on the publication information of a specified API product, which is the list of portal records to which the product is published. Each list item includes the publication record ID, portal ID, portal name, API product ID, API product name, and API product type. You can query the records by portal name and perform a parameter query by using paging parameters.
8334
+ *
8335
+ * @param request - ListProductPublicationsRequest
8336
+ * @returns ListProductPublicationsResponse
8337
+ */
8338
+ async listProductPublications(productId, request) {
8339
+ let runtime = new $dara.RuntimeOptions({});
8340
+ let headers = {};
8341
+ return await this.listProductPublicationsWithOptions(productId, request, headers, runtime);
8342
+ }
8343
+ /**
8344
+ * Performs a paging query to retrieve the list of subscription records for a specified API product. The records can be filtered by subscription status and searched by consumer name keywords. Each record includes the subscription ID, API product ID and name, API product type, consumer ID and name, and subscription status.
8345
+ *
8346
+ * @param request - ListProductSubscriptionsRequest
8347
+ * @param headers - map
8348
+ * @param runtime - runtime options for this request RuntimeOptions
8349
+ * @returns ListProductSubscriptionsResponse
8350
+ */
8351
+ async listProductSubscriptionsWithOptions(productId, request, headers, runtime) {
8352
+ request.validate();
8353
+ let query = {};
8354
+ if (!$dara.isNull(request.consumerName)) {
8355
+ query["consumerName"] = request.consumerName;
8356
+ }
8357
+ if (!$dara.isNull(request.pageNumber)) {
8358
+ query["pageNumber"] = request.pageNumber;
8359
+ }
8360
+ if (!$dara.isNull(request.pageSize)) {
8361
+ query["pageSize"] = request.pageSize;
8362
+ }
8363
+ if (!$dara.isNull(request.status)) {
8364
+ query["status"] = request.status;
8365
+ }
8366
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
8367
+ headers: headers,
8368
+ query: openapi_core_2.OpenApiUtil.query(query),
8369
+ });
8370
+ let params = new openapi_core_2.$OpenApiUtil.Params({
8371
+ action: "ListProductSubscriptions",
8372
+ version: "2024-03-27",
8373
+ protocol: "HTTPS",
8374
+ pathname: `/himarket/v1/products/${$dara.URL.percentEncode(productId)}/subscriptions`,
8375
+ method: "GET",
8376
+ authType: "AK",
8377
+ style: "ROA",
8378
+ reqBodyType: "json",
8379
+ bodyType: "json",
8380
+ });
8381
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListProductSubscriptionsResponse({}));
8382
+ }
8383
+ /**
8384
+ * Performs a paging query to retrieve the list of subscription records for a specified API product. The records can be filtered by subscription status and searched by consumer name keywords. Each record includes the subscription ID, API product ID and name, API product type, consumer ID and name, and subscription status.
8385
+ *
8386
+ * @param request - ListProductSubscriptionsRequest
8387
+ * @returns ListProductSubscriptionsResponse
8388
+ */
8389
+ async listProductSubscriptions(productId, request) {
8390
+ let runtime = new $dara.RuntimeOptions({});
8391
+ let headers = {};
8392
+ return await this.listProductSubscriptionsWithOptions(productId, request, headers, runtime);
8393
+ }
8394
+ /**
8395
+ * Performs a paged query to retrieve the list of API products under the current tenant. Request parameters can specify the product name, product type, product status, product categories, and the portal where the product is published. List items return the product ID, name, description, status, type, plaintext documentation, icon, product categorization, whether to automatically approve subscribe requests, and MCP, agent, model, and product capability configurations.
8396
+ *
8397
+ * @param request - ListProductsRequest
8398
+ * @param headers - map
8399
+ * @param runtime - runtime options for this request RuntimeOptions
8400
+ * @returns ListProductsResponse
8401
+ */
8402
+ async listProductsWithOptions(request, headers, runtime) {
8403
+ request.validate();
8404
+ let query = {};
8405
+ if (!$dara.isNull(request.categoryIds)) {
8406
+ query["categoryIds"] = request.categoryIds;
8407
+ }
8408
+ if (!$dara.isNull(request.maxResults)) {
8409
+ query["maxResults"] = request.maxResults;
8410
+ }
8411
+ if (!$dara.isNull(request.name)) {
8412
+ query["name"] = request.name;
8413
+ }
8414
+ if (!$dara.isNull(request.nextToken)) {
8415
+ query["nextToken"] = request.nextToken;
8416
+ }
8417
+ if (!$dara.isNull(request.pageNumber)) {
8418
+ query["pageNumber"] = request.pageNumber;
8419
+ }
8420
+ if (!$dara.isNull(request.pageSize)) {
8421
+ query["pageSize"] = request.pageSize;
8422
+ }
8423
+ if (!$dara.isNull(request.portalId)) {
8424
+ query["portalId"] = request.portalId;
8425
+ }
8426
+ if (!$dara.isNull(request.status)) {
8427
+ query["status"] = request.status;
8428
+ }
8429
+ if (!$dara.isNull(request.type)) {
8430
+ query["type"] = request.type;
8431
+ }
8432
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
8433
+ headers: headers,
8434
+ query: openapi_core_2.OpenApiUtil.query(query),
8435
+ });
8436
+ let params = new openapi_core_2.$OpenApiUtil.Params({
8437
+ action: "ListProducts",
8438
+ version: "2024-03-27",
8439
+ protocol: "HTTPS",
8440
+ pathname: `/himarket/v1/products`,
8441
+ method: "GET",
8442
+ authType: "AK",
8443
+ style: "ROA",
8444
+ reqBodyType: "json",
8445
+ bodyType: "json",
8446
+ });
8447
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListProductsResponse({}));
8448
+ }
8449
+ /**
8450
+ * Performs a paged query to retrieve the list of API products under the current tenant. Request parameters can specify the product name, product type, product status, product categories, and the portal where the product is published. List items return the product ID, name, description, status, type, plaintext documentation, icon, product categorization, whether to automatically approve subscribe requests, and MCP, agent, model, and product capability configurations.
8451
+ *
8452
+ * @param request - ListProductsRequest
8453
+ * @returns ListProductsResponse
8454
+ */
8455
+ async listProducts(request) {
8456
+ let runtime = new $dara.RuntimeOptions({});
8457
+ let headers = {};
8458
+ return await this.listProductsWithOptions(request, headers, runtime);
8459
+ }
8460
+ /**
8461
+ * Performs a paged query to retrieve the list of API products that can be published to a specified HiMarket developer portal. The request accepts the portal ID, API product name, and paging parameters, and the response returns the API product ID, API product name, and API product description for each item.
8462
+ *
8463
+ * @param request - ListPublishableProductsRequest
8464
+ * @param headers - map
8465
+ * @param runtime - runtime options for this request RuntimeOptions
8466
+ * @returns ListPublishableProductsResponse
8467
+ */
8468
+ async listPublishableProductsWithOptions(portalId, request, headers, runtime) {
8469
+ request.validate();
8470
+ let query = {};
8471
+ if (!$dara.isNull(request.name)) {
8472
+ query["name"] = request.name;
8473
+ }
8474
+ if (!$dara.isNull(request.pageNumber)) {
8475
+ query["pageNumber"] = request.pageNumber;
8476
+ }
8477
+ if (!$dara.isNull(request.pageSize)) {
8478
+ query["pageSize"] = request.pageSize;
8479
+ }
8480
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
8481
+ headers: headers,
8482
+ query: openapi_core_2.OpenApiUtil.query(query),
8483
+ });
8484
+ let params = new openapi_core_2.$OpenApiUtil.Params({
8485
+ action: "ListPublishableProducts",
8486
+ version: "2024-03-27",
8487
+ protocol: "HTTPS",
8488
+ pathname: `/himarket/v1/portals/${$dara.URL.percentEncode(portalId)}/publishable-products`,
8489
+ method: "GET",
8490
+ authType: "AK",
8491
+ style: "ROA",
8492
+ reqBodyType: "json",
8493
+ bodyType: "json",
8494
+ });
8495
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPublishableProductsResponse({}));
8496
+ }
8497
+ /**
8498
+ * Performs a paged query to retrieve the list of API products that can be published to a specified HiMarket developer portal. The request accepts the portal ID, API product name, and paging parameters, and the response returns the API product ID, API product name, and API product description for each item.
8499
+ *
8500
+ * @param request - ListPublishableProductsRequest
8501
+ * @returns ListPublishableProductsResponse
8502
+ */
8503
+ async listPublishableProducts(portalId, request) {
8504
+ let runtime = new $dara.RuntimeOptions({});
8505
+ let headers = {};
8506
+ return await this.listPublishableProductsWithOptions(portalId, request, headers, runtime);
8507
+ }
8508
+ /**
8509
+ * Queries risk detection results.
8510
+ *
8511
+ * @param request - ListRiskCheckResultsRequest
8512
+ * @param headers - map
8513
+ * @param runtime - runtime options for this request RuntimeOptions
8514
+ * @returns ListRiskCheckResultsResponse
8515
+ */
8516
+ async listRiskCheckResultsWithOptions(gatewayId, request, headers, runtime) {
8517
+ request.validate();
8518
+ let query = {};
8519
+ if (!$dara.isNull(request.maxResults)) {
8520
+ query["maxResults"] = request.maxResults;
8521
+ }
8522
+ if (!$dara.isNull(request.nextToken)) {
8523
+ query["nextToken"] = request.nextToken;
8524
+ }
8525
+ if (!$dara.isNull(request.pageNumber)) {
8526
+ query["pageNumber"] = request.pageNumber;
8527
+ }
8528
+ if (!$dara.isNull(request.pageSize)) {
8529
+ query["pageSize"] = request.pageSize;
8530
+ }
8531
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
8532
+ headers: headers,
8533
+ query: openapi_core_2.OpenApiUtil.query(query),
8534
+ });
8535
+ let params = new openapi_core_2.$OpenApiUtil.Params({
8536
+ action: "ListRiskCheckResults",
8537
+ version: "2024-03-27",
8538
+ protocol: "HTTPS",
8539
+ pathname: `/v1/gateways/${$dara.URL.percentEncode(gatewayId)}/risk-check/results`,
8540
+ method: "GET",
8541
+ authType: "AK",
8542
+ style: "ROA",
8543
+ reqBodyType: "json",
8544
+ bodyType: "json",
8545
+ });
8546
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListRiskCheckResultsResponse({}));
8547
+ }
8548
+ /**
8549
+ * Queries risk detection results.
8550
+ *
8551
+ * @param request - ListRiskCheckResultsRequest
8552
+ * @returns ListRiskCheckResultsResponse
8553
+ */
8554
+ async listRiskCheckResults(gatewayId, request) {
8555
+ let runtime = new $dara.RuntimeOptions({});
8556
+ let headers = {};
8557
+ return await this.listRiskCheckResultsWithOptions(gatewayId, request, headers, runtime);
8558
+ }
8559
+ /**
8560
+ * Lists secret references.
8561
+ *
8562
+ * @remarks
8563
+ * The operation supports creating multiple services.
8564
+ *
8565
+ * @param request - ListSecretReferencesRequest
8566
+ * @param headers - map
8567
+ * @param runtime - runtime options for this request RuntimeOptions
8568
+ * @returns ListSecretReferencesResponse
8569
+ */
8570
+ async listSecretReferencesWithOptions(secretId, request, headers, runtime) {
8571
+ request.validate();
8572
+ let query = {};
8573
+ if (!$dara.isNull(request.pageNumber)) {
8574
+ query["pageNumber"] = request.pageNumber;
8575
+ }
8576
+ if (!$dara.isNull(request.pageSize)) {
8577
+ query["pageSize"] = request.pageSize;
8578
+ }
8579
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
8580
+ headers: headers,
8581
+ query: openapi_core_2.OpenApiUtil.query(query),
8582
+ });
8583
+ let params = new openapi_core_2.$OpenApiUtil.Params({
8584
+ action: "ListSecretReferences",
8585
+ version: "2024-03-27",
8586
+ protocol: "HTTPS",
8587
+ pathname: `/v1/secrets/${$dara.URL.percentEncode(secretId)}/references`,
8588
+ method: "GET",
8589
+ authType: "AK",
8590
+ style: "ROA",
8591
+ reqBodyType: "json",
8592
+ bodyType: "json",
8593
+ });
8594
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListSecretReferencesResponse({}));
8595
+ }
8596
+ /**
8597
+ * Lists secret references.
8598
+ *
8599
+ * @remarks
8600
+ * The operation supports creating multiple services.
8601
+ *
8602
+ * @param request - ListSecretReferencesRequest
8603
+ * @returns ListSecretReferencesResponse
8604
+ */
8605
+ async listSecretReferences(secretId, request) {
8606
+ let runtime = new $dara.RuntimeOptions({});
8607
+ let headers = {};
8608
+ return await this.listSecretReferencesWithOptions(secretId, request, headers, runtime);
8609
+ }
8610
+ /**
8611
+ * Lists keys.
8612
+ *
8613
+ * @remarks
8614
+ * The operation supports creating multiple services.
8615
+ *
8616
+ * @param request - ListSecretsRequest
8617
+ * @param headers - map
8618
+ * @param runtime - runtime options for this request RuntimeOptions
8619
+ * @returns ListSecretsResponse
8620
+ */
8621
+ async listSecretsWithOptions(request, headers, runtime) {
8622
+ request.validate();
8623
+ let query = {};
8624
+ if (!$dara.isNull(request.gatewayType)) {
8625
+ query["gatewayType"] = request.gatewayType;
8626
+ }
8627
+ if (!$dara.isNull(request.nameLike)) {
8628
+ query["nameLike"] = request.nameLike;
8629
+ }
8630
+ if (!$dara.isNull(request.pageNumber)) {
8631
+ query["pageNumber"] = request.pageNumber;
8632
+ }
8633
+ if (!$dara.isNull(request.pageSize)) {
8634
+ query["pageSize"] = request.pageSize;
8635
+ }
8636
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
8637
+ headers: headers,
8638
+ query: openapi_core_2.OpenApiUtil.query(query),
8639
+ });
8640
+ let params = new openapi_core_2.$OpenApiUtil.Params({
8641
+ action: "ListSecrets",
8642
+ version: "2024-03-27",
8643
+ protocol: "HTTPS",
8644
+ pathname: `/v1/secrets`,
8645
+ method: "GET",
8646
+ authType: "AK",
8647
+ style: "ROA",
8648
+ reqBodyType: "json",
8649
+ bodyType: "json",
8650
+ });
8651
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListSecretsResponse({}));
8652
+ }
8653
+ /**
8654
+ * Lists keys.
8655
+ *
8656
+ * @remarks
8657
+ * The operation supports creating multiple services.
8658
+ *
8659
+ * @param request - ListSecretsRequest
8660
+ * @returns ListSecretsResponse
8661
+ */
8662
+ async listSecrets(request) {
7494
8663
  let runtime = new $dara.RuntimeOptions({});
7495
8664
  let headers = {};
7496
8665
  return await this.listSecretsWithOptions(request, headers, runtime);
@@ -7810,7 +8979,131 @@ class Client extends openapi_core_1.default {
7810
8979
  return await this.listZonesWithOptions(request, headers, runtime);
7811
8980
  }
7812
8981
  /**
7813
- * Queries the list of consumer authorization rules.
8982
+ * Logs in to a HiMarket developer account with a developer username and password, and returns the accessToken and expiresIn fields in the data object of a successful response.
8983
+ *
8984
+ * @param request - LoginDeveloperRequest
8985
+ * @param headers - map
8986
+ * @param runtime - runtime options for this request RuntimeOptions
8987
+ * @returns LoginDeveloperResponse
8988
+ */
8989
+ async loginDeveloperWithOptions(request, headers, runtime) {
8990
+ request.validate();
8991
+ let body = {};
8992
+ if (!$dara.isNull(request.password)) {
8993
+ body["password"] = request.password;
8994
+ }
8995
+ if (!$dara.isNull(request.username)) {
8996
+ body["username"] = request.username;
8997
+ }
8998
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
8999
+ headers: headers,
9000
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
9001
+ });
9002
+ let params = new openapi_core_2.$OpenApiUtil.Params({
9003
+ action: "LoginDeveloper",
9004
+ version: "2024-03-27",
9005
+ protocol: "HTTPS",
9006
+ pathname: `/himarket/v1/developers/login`,
9007
+ method: "POST",
9008
+ authType: "AK",
9009
+ style: "ROA",
9010
+ reqBodyType: "json",
9011
+ bodyType: "json",
9012
+ });
9013
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.LoginDeveloperResponse({}));
9014
+ }
9015
+ /**
9016
+ * Logs in to a HiMarket developer account with a developer username and password, and returns the accessToken and expiresIn fields in the data object of a successful response.
9017
+ *
9018
+ * @param request - LoginDeveloperRequest
9019
+ * @returns LoginDeveloperResponse
9020
+ */
9021
+ async loginDeveloper(request) {
9022
+ let runtime = new $dara.RuntimeOptions({});
9023
+ let headers = {};
9024
+ return await this.loginDeveloperWithOptions(request, headers, runtime);
9025
+ }
9026
+ /**
9027
+ * Logs out a HiMarket developer account. This operation has no business request parameters. A successful response returns only the requestId, code, and message fields.
9028
+ *
9029
+ * @param request - LogoutDeveloperRequest
9030
+ * @param headers - map
9031
+ * @param runtime - runtime options for this request RuntimeOptions
9032
+ * @returns LogoutDeveloperResponse
9033
+ */
9034
+ async logoutDeveloperWithOptions(request, headers, runtime) {
9035
+ request.validate();
9036
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
9037
+ headers: headers,
9038
+ });
9039
+ let params = new openapi_core_2.$OpenApiUtil.Params({
9040
+ action: "LogoutDeveloper",
9041
+ version: "2024-03-27",
9042
+ protocol: "HTTPS",
9043
+ pathname: `/himarket/v1/developers/logout`,
9044
+ method: "POST",
9045
+ authType: "AK",
9046
+ style: "ROA",
9047
+ reqBodyType: "json",
9048
+ bodyType: "json",
9049
+ });
9050
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.LogoutDeveloperResponse({}));
9051
+ }
9052
+ /**
9053
+ * Logs out a HiMarket developer account. This operation has no business request parameters. A successful response returns only the requestId, code, and message fields.
9054
+ *
9055
+ * @param request - LogoutDeveloperRequest
9056
+ * @returns LogoutDeveloperResponse
9057
+ */
9058
+ async logoutDeveloper(request) {
9059
+ let runtime = new $dara.RuntimeOptions({});
9060
+ let headers = {};
9061
+ return await this.logoutDeveloperWithOptions(request, headers, runtime);
9062
+ }
9063
+ /**
9064
+ * Publishes a specified API product to a specified HiMarket portal. The path parameter specifies the API product ID, and the request body specifies the target portal ID. This operation returns the publication record ID for the publication. You can query the publication record by calling ListProductPublications and unpublish the product by calling UnpublishProduct at /himarket/v1/products/{productId}/publications/{publicationId}.
9065
+ *
9066
+ * @param request - PublishProductRequest
9067
+ * @param headers - map
9068
+ * @param runtime - runtime options for this request RuntimeOptions
9069
+ * @returns PublishProductResponse
9070
+ */
9071
+ async publishProductWithOptions(productId, request, headers, runtime) {
9072
+ request.validate();
9073
+ let body = {};
9074
+ if (!$dara.isNull(request.portalId)) {
9075
+ body["portalId"] = request.portalId;
9076
+ }
9077
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
9078
+ headers: headers,
9079
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
9080
+ });
9081
+ let params = new openapi_core_2.$OpenApiUtil.Params({
9082
+ action: "PublishProduct",
9083
+ version: "2024-03-27",
9084
+ protocol: "HTTPS",
9085
+ pathname: `/himarket/v1/products/${$dara.URL.percentEncode(productId)}/publications`,
9086
+ method: "POST",
9087
+ authType: "AK",
9088
+ style: "ROA",
9089
+ reqBodyType: "json",
9090
+ bodyType: "json",
9091
+ });
9092
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.PublishProductResponse({}));
9093
+ }
9094
+ /**
9095
+ * Publishes a specified API product to a specified HiMarket portal. The path parameter specifies the API product ID, and the request body specifies the target portal ID. This operation returns the publication record ID for the publication. You can query the publication record by calling ListProductPublications and unpublish the product by calling UnpublishProduct at /himarket/v1/products/{productId}/publications/{publicationId}.
9096
+ *
9097
+ * @param request - PublishProductRequest
9098
+ * @returns PublishProductResponse
9099
+ */
9100
+ async publishProduct(productId, request) {
9101
+ let runtime = new $dara.RuntimeOptions({});
9102
+ let headers = {};
9103
+ return await this.publishProductWithOptions(productId, request, headers, runtime);
9104
+ }
9105
+ /**
9106
+ * Queries consumer authorization rules.
7814
9107
  *
7815
9108
  * @param request - QueryConsumerAuthorizationRulesRequest
7816
9109
  * @param headers - map
@@ -7880,7 +9173,7 @@ class Client extends openapi_core_1.default {
7880
9173
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryConsumerAuthorizationRulesResponse({}));
7881
9174
  }
7882
9175
  /**
7883
- * Queries the list of consumer authorization rules.
9176
+ * Queries consumer authorization rules.
7884
9177
  *
7885
9178
  * @param request - QueryConsumerAuthorizationRulesRequest
7886
9179
  * @returns QueryConsumerAuthorizationRulesResponse
@@ -8062,26 +9355,69 @@ class Client extends openapi_core_1.default {
8062
9355
  headers: headers,
8063
9356
  });
8064
9357
  let params = new openapi_core_2.$OpenApiUtil.Params({
8065
- action: "RestartGateway",
9358
+ action: "RestartGateway",
9359
+ version: "2024-03-27",
9360
+ protocol: "HTTPS",
9361
+ pathname: `/v1/gateways/${$dara.URL.percentEncode(gatewayId)}/restart`,
9362
+ method: "POST",
9363
+ authType: "AK",
9364
+ style: "ROA",
9365
+ reqBodyType: "json",
9366
+ bodyType: "json",
9367
+ });
9368
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.RestartGatewayResponse({}));
9369
+ }
9370
+ /**
9371
+ * Restarts a gateway.
9372
+ * @returns RestartGatewayResponse
9373
+ */
9374
+ async restartGateway(gatewayId) {
9375
+ let runtime = new $dara.RuntimeOptions({});
9376
+ let headers = {};
9377
+ return await this.restartGatewayWithOptions(gatewayId, headers, runtime);
9378
+ }
9379
+ /**
9380
+ * Queries the currently active credentials for an AI service.
9381
+ *
9382
+ * @remarks
9383
+ * Queries the currently active credentials for an AI service.
9384
+ *
9385
+ * @param request - RevealServiceCredentialRequest
9386
+ * @param headers - map
9387
+ * @param runtime - runtime options for this request RuntimeOptions
9388
+ * @returns RevealServiceCredentialResponse
9389
+ */
9390
+ async revealServiceCredentialWithOptions(serviceId, request, headers, runtime) {
9391
+ request.validate();
9392
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
9393
+ headers: headers,
9394
+ });
9395
+ let params = new openapi_core_2.$OpenApiUtil.Params({
9396
+ action: "RevealServiceCredential",
8066
9397
  version: "2024-03-27",
8067
9398
  protocol: "HTTPS",
8068
- pathname: `/v1/gateways/${$dara.URL.percentEncode(gatewayId)}/restart`,
9399
+ pathname: `/v1/services/${$dara.URL.percentEncode(serviceId)}/reveal-credential`,
8069
9400
  method: "POST",
8070
9401
  authType: "AK",
8071
9402
  style: "ROA",
8072
9403
  reqBodyType: "json",
8073
9404
  bodyType: "json",
8074
9405
  });
8075
- return $dara.cast(await this.callApi(params, req, runtime), new $_model.RestartGatewayResponse({}));
9406
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.RevealServiceCredentialResponse({}));
8076
9407
  }
8077
9408
  /**
8078
- * Restarts a gateway.
8079
- * @returns RestartGatewayResponse
9409
+ * Queries the currently active credentials for an AI service.
9410
+ *
9411
+ * @remarks
9412
+ * Queries the currently active credentials for an AI service.
9413
+ *
9414
+ * @param request - RevealServiceCredentialRequest
9415
+ * @returns RevealServiceCredentialResponse
8080
9416
  */
8081
- async restartGateway(gatewayId) {
9417
+ async revealServiceCredential(serviceId, request) {
8082
9418
  let runtime = new $dara.RuntimeOptions({});
8083
9419
  let headers = {};
8084
- return await this.restartGatewayWithOptions(gatewayId, headers, runtime);
9420
+ return await this.revealServiceCredentialWithOptions(serviceId, request, headers, runtime);
8085
9421
  }
8086
9422
  /**
8087
9423
  * Runs a pipeline in a plug-in workspace.
@@ -8120,6 +9456,48 @@ class Client extends openapi_core_1.default {
8120
9456
  let headers = {};
8121
9457
  return await this.runPluginPipelineWithOptions(workspaceId, request, headers, runtime);
8122
9458
  }
9459
+ /**
9460
+ * Subscribes to an API product for a specified HiMarket consumer. The path parameter specifies the consumer ID, and the request body specifies the ID of the API product to subscribe to. The response includes the subscription ID, API product ID and name, API product type, consumer ID and name, and subscription status of the subscription record.
9461
+ *
9462
+ * @param request - SubscribeProductRequest
9463
+ * @param headers - map
9464
+ * @param runtime - runtime options for this request RuntimeOptions
9465
+ * @returns SubscribeProductResponse
9466
+ */
9467
+ async subscribeProductWithOptions(consumerId, request, headers, runtime) {
9468
+ request.validate();
9469
+ let body = {};
9470
+ if (!$dara.isNull(request.productId)) {
9471
+ body["productId"] = request.productId;
9472
+ }
9473
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
9474
+ headers: headers,
9475
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
9476
+ });
9477
+ let params = new openapi_core_2.$OpenApiUtil.Params({
9478
+ action: "SubscribeProduct",
9479
+ version: "2024-03-27",
9480
+ protocol: "HTTPS",
9481
+ pathname: `/himarket/v1/consumers/${$dara.URL.percentEncode(consumerId)}/subscriptions`,
9482
+ method: "POST",
9483
+ authType: "AK",
9484
+ style: "ROA",
9485
+ reqBodyType: "json",
9486
+ bodyType: "json",
9487
+ });
9488
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.SubscribeProductResponse({}));
9489
+ }
9490
+ /**
9491
+ * Subscribes to an API product for a specified HiMarket consumer. The path parameter specifies the consumer ID, and the request body specifies the ID of the API product to subscribe to. The response includes the subscription ID, API product ID and name, API product type, consumer ID and name, and subscription status of the subscription record.
9492
+ *
9493
+ * @param request - SubscribeProductRequest
9494
+ * @returns SubscribeProductResponse
9495
+ */
9496
+ async subscribeProduct(consumerId, request) {
9497
+ let runtime = new $dara.RuntimeOptions({});
9498
+ let headers = {};
9499
+ return await this.subscribeProductWithOptions(consumerId, request, headers, runtime);
9500
+ }
8123
9501
  /**
8124
9502
  * Syncs an external MCP server.
8125
9503
  *
@@ -8339,6 +9717,43 @@ class Client extends openapi_core_1.default {
8339
9717
  let headers = {};
8340
9718
  return await this.uninstallPluginWithOptions(pluginId, headers, runtime);
8341
9719
  }
9720
+ /**
9721
+ * Takes a publication record of an API product offline based on the API product ID and publication record ID. Both identifiers are parameters in the /himarket/v1/products/{productId}/publications/{publicationId} path. The publication record is created by the PublishProduct operation and can be queried by using the ListProductPublications operation. This operation only affects the publication record and does not delete the API product itself. To delete a product, use the DeleteProduct operation. The response returns only the requestId, code, and message.
9722
+ *
9723
+ * @param request - UnpublishProductRequest
9724
+ * @param headers - map
9725
+ * @param runtime - runtime options for this request RuntimeOptions
9726
+ * @returns UnpublishProductResponse
9727
+ */
9728
+ async unpublishProductWithOptions(productId, publicationId, request, headers, runtime) {
9729
+ request.validate();
9730
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
9731
+ headers: headers,
9732
+ });
9733
+ let params = new openapi_core_2.$OpenApiUtil.Params({
9734
+ action: "UnpublishProduct",
9735
+ version: "2024-03-27",
9736
+ protocol: "HTTPS",
9737
+ pathname: `/himarket/v1/products/${$dara.URL.percentEncode(productId)}/publications/${$dara.URL.percentEncode(publicationId)}`,
9738
+ method: "DELETE",
9739
+ authType: "AK",
9740
+ style: "ROA",
9741
+ reqBodyType: "json",
9742
+ bodyType: "json",
9743
+ });
9744
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.UnpublishProductResponse({}));
9745
+ }
9746
+ /**
9747
+ * Takes a publication record of an API product offline based on the API product ID and publication record ID. Both identifiers are parameters in the /himarket/v1/products/{productId}/publications/{publicationId} path. The publication record is created by the PublishProduct operation and can be queried by using the ListProductPublications operation. This operation only affects the publication record and does not delete the API product itself. To delete a product, use the DeleteProduct operation. The response returns only the requestId, code, and message.
9748
+ *
9749
+ * @param request - UnpublishProductRequest
9750
+ * @returns UnpublishProductResponse
9751
+ */
9752
+ async unpublishProduct(productId, publicationId, request) {
9753
+ let runtime = new $dara.RuntimeOptions({});
9754
+ let headers = {};
9755
+ return await this.unpublishProductWithOptions(productId, publicationId, request, headers, runtime);
9756
+ }
8342
9757
  /**
8343
9758
  * Removes tags from resources.
8344
9759
  *
@@ -8602,6 +10017,51 @@ class Client extends openapi_core_1.default {
8602
10017
  let headers = {};
8603
10018
  return await this.updateAuthorizationRuleWithOptions(consumerAuthorizationRuleId, request, headers, runtime);
8604
10019
  }
10020
+ /**
10021
+ * Adds or removes API products in batches under a specified product category. The path parameter specifies the category ID, the action in the request body specifies the operation direction, and productIds specifies the list of API product IDs to process. The response returns only the requestId, code, and message without returning item-by-item processing results.
10022
+ *
10023
+ * @param request - UpdateCategoryProductsRequest
10024
+ * @param headers - map
10025
+ * @param runtime - runtime options for this request RuntimeOptions
10026
+ * @returns UpdateCategoryProductsResponse
10027
+ */
10028
+ async updateCategoryProductsWithOptions(categoryId, request, headers, runtime) {
10029
+ request.validate();
10030
+ let body = {};
10031
+ if (!$dara.isNull(request.action)) {
10032
+ body["action"] = request.action;
10033
+ }
10034
+ if (!$dara.isNull(request.productIds)) {
10035
+ body["productIds"] = request.productIds;
10036
+ }
10037
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
10038
+ headers: headers,
10039
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
10040
+ });
10041
+ let params = new openapi_core_2.$OpenApiUtil.Params({
10042
+ action: "UpdateCategoryProducts",
10043
+ version: "2024-03-27",
10044
+ protocol: "HTTPS",
10045
+ pathname: `/himarket/v1/product-categories/${$dara.URL.percentEncode(categoryId)}/products`,
10046
+ method: "POST",
10047
+ authType: "AK",
10048
+ style: "ROA",
10049
+ reqBodyType: "json",
10050
+ bodyType: "json",
10051
+ });
10052
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateCategoryProductsResponse({}));
10053
+ }
10054
+ /**
10055
+ * Adds or removes API products in batches under a specified product category. The path parameter specifies the category ID, the action in the request body specifies the operation direction, and productIds specifies the list of API product IDs to process. The response returns only the requestId, code, and message without returning item-by-item processing results.
10056
+ *
10057
+ * @param request - UpdateCategoryProductsRequest
10058
+ * @returns UpdateCategoryProductsResponse
10059
+ */
10060
+ async updateCategoryProducts(categoryId, request) {
10061
+ let runtime = new $dara.RuntimeOptions({});
10062
+ let headers = {};
10063
+ return await this.updateCategoryProductsWithOptions(categoryId, request, headers, runtime);
10064
+ }
8605
10065
  /**
8606
10066
  * Updates a consumer.
8607
10067
  *
@@ -8755,6 +10215,51 @@ class Client extends openapi_core_1.default {
8755
10215
  let headers = {};
8756
10216
  return await this.updateConsumerGroupWithOptions(consumerGroupId, request, headers, runtime);
8757
10217
  }
10218
+ /**
10219
+ * Updates the status of a HiMarket developer by developer ID. The request body specifies the target status and portal ID. A successful response returns only the requestId, code, and message, without returning the updated developer information.
10220
+ *
10221
+ * @param request - UpdateDeveloperStatusRequest
10222
+ * @param headers - map
10223
+ * @param runtime - runtime options for this request RuntimeOptions
10224
+ * @returns UpdateDeveloperStatusResponse
10225
+ */
10226
+ async updateDeveloperStatusWithOptions(developerId, request, headers, runtime) {
10227
+ request.validate();
10228
+ let body = {};
10229
+ if (!$dara.isNull(request.portalId)) {
10230
+ body["portalId"] = request.portalId;
10231
+ }
10232
+ if (!$dara.isNull(request.status)) {
10233
+ body["status"] = request.status;
10234
+ }
10235
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
10236
+ headers: headers,
10237
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
10238
+ });
10239
+ let params = new openapi_core_2.$OpenApiUtil.Params({
10240
+ action: "UpdateDeveloperStatus",
10241
+ version: "2024-03-27",
10242
+ protocol: "HTTPS",
10243
+ pathname: `/himarket/v1/developers/${$dara.URL.percentEncode(developerId)}/status`,
10244
+ method: "PATCH",
10245
+ authType: "AK",
10246
+ style: "ROA",
10247
+ reqBodyType: "json",
10248
+ bodyType: "json",
10249
+ });
10250
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateDeveloperStatusResponse({}));
10251
+ }
10252
+ /**
10253
+ * Updates the status of a HiMarket developer by developer ID. The request body specifies the target status and portal ID. A successful response returns only the requestId, code, and message, without returning the updated developer information.
10254
+ *
10255
+ * @param request - UpdateDeveloperStatusRequest
10256
+ * @returns UpdateDeveloperStatusResponse
10257
+ */
10258
+ async updateDeveloperStatus(developerId, request) {
10259
+ let runtime = new $dara.RuntimeOptions({});
10260
+ let headers = {};
10261
+ return await this.updateDeveloperStatusWithOptions(developerId, request, headers, runtime);
10262
+ }
8758
10263
  /**
8759
10264
  * Updates a domain name.
8760
10265
  *
@@ -9111,17 +10616,17 @@ class Client extends openapi_core_1.default {
9111
10616
  return await this.updateGatewayNameWithOptions(gatewayId, request, headers, runtime);
9112
10617
  }
9113
10618
  /**
9114
- * Edits a quota throttling rule on a gateway.
10619
+ * Updates a quota throttling rule on a gateway.
9115
10620
  *
9116
10621
  * @remarks
9117
- * Edits a quota rule on a gateway. This operation takes effect only on AI gateways running version 2.1.21 or later. Editing a rule preserves the historical usage of consumer subjects bound to the rule.
9118
- * > Recommended call logic:
9119
- * > - Step 1: Perform a dry run to check for rule conflicts.
9120
- * > - - Set dryRun to true.
9121
- * > - - The response contains a conflict preview with a conflictHash value.
9122
- * > - Step 2: Confirm and submit the request.
9123
- * > - - No conflict: Set dryRun to false and overwrite to false.
9124
- * > - - Conflict exists and you confirm the overwrite: Set dryRun to false, overwrite to true, and conflictHash to the value returned in the previous step.
10622
+ * This operation updates a quota rule on a gateway. Note that this operation takes effect only on AI gateways of a version later than 2.1.21. The update retains the historical usage of the consumption subjects on the rule.
10623
+ * > Recommended call logic:
10624
+ * > - 1. Perform a dry run to check for rule conflicts.
10625
+ * > - - Set dryRun=true.
10626
+ * > - - The response returns a conflict preview containing a conflictHash.
10627
+ * > - 2. Formally submit the request after confirmation.
10628
+ * > - - If no conflicts exist: Set dryRun=false and overwrite=false.
10629
+ * > - - If conflicts exist and you confirm to overwrite: Set dryRun=false, overwrite=true, and conflictHash=<the value returned in the previous step>.
9125
10630
  *
9126
10631
  * @param request - UpdateGatewayQuotaRuleRequest
9127
10632
  * @param headers - map
@@ -9173,17 +10678,17 @@ class Client extends openapi_core_1.default {
9173
10678
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateGatewayQuotaRuleResponse({}));
9174
10679
  }
9175
10680
  /**
9176
- * Edits a quota throttling rule on a gateway.
10681
+ * Updates a quota throttling rule on a gateway.
9177
10682
  *
9178
10683
  * @remarks
9179
- * Edits a quota rule on a gateway. This operation takes effect only on AI gateways running version 2.1.21 or later. Editing a rule preserves the historical usage of consumer subjects bound to the rule.
9180
- * > Recommended call logic:
9181
- * > - Step 1: Perform a dry run to check for rule conflicts.
9182
- * > - - Set dryRun to true.
9183
- * > - - The response contains a conflict preview with a conflictHash value.
9184
- * > - Step 2: Confirm and submit the request.
9185
- * > - - No conflict: Set dryRun to false and overwrite to false.
9186
- * > - - Conflict exists and you confirm the overwrite: Set dryRun to false, overwrite to true, and conflictHash to the value returned in the previous step.
10684
+ * This operation updates a quota rule on a gateway. Note that this operation takes effect only on AI gateways of a version later than 2.1.21. The update retains the historical usage of the consumption subjects on the rule.
10685
+ * > Recommended call logic:
10686
+ * > - 1. Perform a dry run to check for rule conflicts.
10687
+ * > - - Set dryRun=true.
10688
+ * > - - The response returns a conflict preview containing a conflictHash.
10689
+ * > - 2. Formally submit the request after confirmation.
10690
+ * > - - If no conflicts exist: Set dryRun=false and overwrite=false.
10691
+ * > - - If conflicts exist and you confirm to overwrite: Set dryRun=false, overwrite=true, and conflictHash=<the value returned in the previous step>.
9187
10692
  *
9188
10693
  * @param request - UpdateGatewayQuotaRuleRequest
9189
10694
  * @returns UpdateGatewayQuotaRuleResponse
@@ -9373,7 +10878,7 @@ class Client extends openapi_core_1.default {
9373
10878
  return await this.updateHttpApiOperationWithOptions(httpApiId, operationId, request, headers, runtime);
9374
10879
  }
9375
10880
  /**
9376
- * Updates a route of an HTTP API.
10881
+ * Updates a route for an HTTP API.
9377
10882
  *
9378
10883
  * @param request - UpdateHttpApiRouteRequest
9379
10884
  * @param headers - map
@@ -9389,6 +10894,9 @@ class Client extends openapi_core_1.default {
9389
10894
  if (!$dara.isNull(request.description)) {
9390
10895
  body["description"] = request.description;
9391
10896
  }
10897
+ if (!$dara.isNull(request.dfpConfig)) {
10898
+ body["dfpConfig"] = request.dfpConfig;
10899
+ }
9392
10900
  if (!$dara.isNull(request.domainIds)) {
9393
10901
  body["domainIds"] = request.domainIds;
9394
10902
  }
@@ -9422,7 +10930,7 @@ class Client extends openapi_core_1.default {
9422
10930
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateHttpApiRouteResponse({}));
9423
10931
  }
9424
10932
  /**
9425
- * Updates a route of an HTTP API.
10933
+ * Updates a route for an HTTP API.
9426
10934
  *
9427
10935
  * @param request - UpdateHttpApiRouteRequest
9428
10936
  * @returns UpdateHttpApiRouteResponse
@@ -9714,6 +11222,175 @@ class Client extends openapi_core_1.default {
9714
11222
  let headers = {};
9715
11223
  return await this.updatePolicyWithOptions(policyId, request, headers, runtime);
9716
11224
  }
11225
+ /**
11226
+ * Updates the name, description, and portal configurations of a HiMarket developer portal by portal ID. The request body is in JSON format. A successful response returns the ID of the updated portal.
11227
+ *
11228
+ * @param request - UpdatePortalRequest
11229
+ * @param headers - map
11230
+ * @param runtime - runtime options for this request RuntimeOptions
11231
+ * @returns UpdatePortalResponse
11232
+ */
11233
+ async updatePortalWithOptions(portalId, request, headers, runtime) {
11234
+ request.validate();
11235
+ let query = {};
11236
+ if (!$dara.isNull(request.clientToken)) {
11237
+ query["clientToken"] = request.clientToken;
11238
+ }
11239
+ let body = {};
11240
+ if (!$dara.isNull(request.description)) {
11241
+ body["description"] = request.description;
11242
+ }
11243
+ if (!$dara.isNull(request.name)) {
11244
+ body["name"] = request.name;
11245
+ }
11246
+ if (!$dara.isNull(request.portalSettingConfig)) {
11247
+ body["portalSettingConfig"] = request.portalSettingConfig;
11248
+ }
11249
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
11250
+ headers: headers,
11251
+ query: openapi_core_2.OpenApiUtil.query(query),
11252
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
11253
+ });
11254
+ let params = new openapi_core_2.$OpenApiUtil.Params({
11255
+ action: "UpdatePortal",
11256
+ version: "2024-03-27",
11257
+ protocol: "HTTPS",
11258
+ pathname: `/himarket/v1/portals/${$dara.URL.percentEncode(portalId)}`,
11259
+ method: "PUT",
11260
+ authType: "AK",
11261
+ style: "ROA",
11262
+ reqBodyType: "json",
11263
+ bodyType: "json",
11264
+ });
11265
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdatePortalResponse({}));
11266
+ }
11267
+ /**
11268
+ * Updates the name, description, and portal configurations of a HiMarket developer portal by portal ID. The request body is in JSON format. A successful response returns the ID of the updated portal.
11269
+ *
11270
+ * @param request - UpdatePortalRequest
11271
+ * @returns UpdatePortalResponse
11272
+ */
11273
+ async updatePortal(portalId, request) {
11274
+ let runtime = new $dara.RuntimeOptions({});
11275
+ let headers = {};
11276
+ return await this.updatePortalWithOptions(portalId, request, headers, runtime);
11277
+ }
11278
+ /**
11279
+ * Updates the name, description, type, documentation, icon, automatic subscription approval, product category, and product capabilities of an API product by API product ID. The request body is in JSON format. A successful response returns only the requestId, code, and message, and does not return the updated product information.
11280
+ *
11281
+ * @param request - UpdateProductRequest
11282
+ * @param headers - map
11283
+ * @param runtime - runtime options for this request RuntimeOptions
11284
+ * @returns UpdateProductResponse
11285
+ */
11286
+ async updateProductWithOptions(productId, request, headers, runtime) {
11287
+ request.validate();
11288
+ let query = {};
11289
+ if (!$dara.isNull(request.clientToken)) {
11290
+ query["clientToken"] = request.clientToken;
11291
+ }
11292
+ let body = {};
11293
+ if (!$dara.isNull(request.autoApprove)) {
11294
+ body["autoApprove"] = request.autoApprove;
11295
+ }
11296
+ if (!$dara.isNull(request.categories)) {
11297
+ body["categories"] = request.categories;
11298
+ }
11299
+ if (!$dara.isNull(request.description)) {
11300
+ body["description"] = request.description;
11301
+ }
11302
+ if (!$dara.isNull(request.document)) {
11303
+ body["document"] = request.document;
11304
+ }
11305
+ if (!$dara.isNull(request.feature)) {
11306
+ body["feature"] = request.feature;
11307
+ }
11308
+ if (!$dara.isNull(request.icon)) {
11309
+ body["icon"] = request.icon;
11310
+ }
11311
+ if (!$dara.isNull(request.name)) {
11312
+ body["name"] = request.name;
11313
+ }
11314
+ if (!$dara.isNull(request.type)) {
11315
+ body["type"] = request.type;
11316
+ }
11317
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
11318
+ headers: headers,
11319
+ query: openapi_core_2.OpenApiUtil.query(query),
11320
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
11321
+ });
11322
+ let params = new openapi_core_2.$OpenApiUtil.Params({
11323
+ action: "UpdateProduct",
11324
+ version: "2024-03-27",
11325
+ protocol: "HTTPS",
11326
+ pathname: `/himarket/v1/products/${$dara.URL.percentEncode(productId)}`,
11327
+ method: "PUT",
11328
+ authType: "AK",
11329
+ style: "ROA",
11330
+ reqBodyType: "json",
11331
+ bodyType: "json",
11332
+ });
11333
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateProductResponse({}));
11334
+ }
11335
+ /**
11336
+ * Updates the name, description, type, documentation, icon, automatic subscription approval, product category, and product capabilities of an API product by API product ID. The request body is in JSON format. A successful response returns only the requestId, code, and message, and does not return the updated product information.
11337
+ *
11338
+ * @param request - UpdateProductRequest
11339
+ * @returns UpdateProductResponse
11340
+ */
11341
+ async updateProduct(productId, request) {
11342
+ let runtime = new $dara.RuntimeOptions({});
11343
+ let headers = {};
11344
+ return await this.updateProductWithOptions(productId, request, headers, runtime);
11345
+ }
11346
+ /**
11347
+ * Updates the name, description, and icon of a product category by ID. The request body is in JSON format, and the response returns only the request ID, status code, and response message.
11348
+ *
11349
+ * @param request - UpdateProductCategoryRequest
11350
+ * @param headers - map
11351
+ * @param runtime - runtime options for this request RuntimeOptions
11352
+ * @returns UpdateProductCategoryResponse
11353
+ */
11354
+ async updateProductCategoryWithOptions(categoryId, request, headers, runtime) {
11355
+ request.validate();
11356
+ let body = {};
11357
+ if (!$dara.isNull(request.description)) {
11358
+ body["description"] = request.description;
11359
+ }
11360
+ if (!$dara.isNull(request.icon)) {
11361
+ body["icon"] = request.icon;
11362
+ }
11363
+ if (!$dara.isNull(request.name)) {
11364
+ body["name"] = request.name;
11365
+ }
11366
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
11367
+ headers: headers,
11368
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
11369
+ });
11370
+ let params = new openapi_core_2.$OpenApiUtil.Params({
11371
+ action: "UpdateProductCategory",
11372
+ version: "2024-03-27",
11373
+ protocol: "HTTPS",
11374
+ pathname: `/himarket/v1/product-categories/${$dara.URL.percentEncode(categoryId)}`,
11375
+ method: "PUT",
11376
+ authType: "AK",
11377
+ style: "ROA",
11378
+ reqBodyType: "json",
11379
+ bodyType: "json",
11380
+ });
11381
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateProductCategoryResponse({}));
11382
+ }
11383
+ /**
11384
+ * Updates the name, description, and icon of a product category by ID. The request body is in JSON format, and the response returns only the request ID, status code, and response message.
11385
+ *
11386
+ * @param request - UpdateProductCategoryRequest
11387
+ * @returns UpdateProductCategoryResponse
11388
+ */
11389
+ async updateProductCategory(categoryId, request) {
11390
+ let runtime = new $dara.RuntimeOptions({});
11391
+ let headers = {};
11392
+ return await this.updateProductCategoryWithOptions(categoryId, request, headers, runtime);
11393
+ }
9717
11394
  /**
9718
11395
  * Updates the notification configuration for risk items.
9719
11396
  *
@@ -9808,7 +11485,7 @@ class Client extends openapi_core_1.default {
9808
11485
  return await this.updateSecretWithOptions(secretId, request, headers, runtime);
9809
11486
  }
9810
11487
  /**
9811
- * Updates a service. You can update the health check configuration, DNS domain name, and address configuration of fixed addresses for the service.
11488
+ * Updates a service. Supports updating the health check configuration, DNS domain names, and static address configurations of the service.
9812
11489
  *
9813
11490
  * @param request - UpdateServiceRequest
9814
11491
  * @param headers - map
@@ -9827,6 +11504,12 @@ class Client extends openapi_core_1.default {
9827
11504
  if (!$dara.isNull(request.aiServiceConfig)) {
9828
11505
  body["aiServiceConfig"] = request.aiServiceConfig;
9829
11506
  }
11507
+ if (!$dara.isNull(request.apiKeyReferencesToAdd)) {
11508
+ body["apiKeyReferencesToAdd"] = request.apiKeyReferencesToAdd;
11509
+ }
11510
+ if (!$dara.isNull(request.apiKeysToAdd)) {
11511
+ body["apiKeysToAdd"] = request.apiKeysToAdd;
11512
+ }
9830
11513
  if (!$dara.isNull(request.dnsServers)) {
9831
11514
  body["dnsServers"] = request.dnsServers;
9832
11515
  }
@@ -9866,7 +11549,7 @@ class Client extends openapi_core_1.default {
9866
11549
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateServiceResponse({}));
9867
11550
  }
9868
11551
  /**
9869
- * Updates a service. You can update the health check configuration, DNS domain name, and address configuration of fixed addresses for the service.
11552
+ * Updates a service. Supports updating the health check configuration, DNS domain names, and static address configurations of the service.
9870
11553
  *
9871
11554
  * @param request - UpdateServiceRequest
9872
11555
  * @returns UpdateServiceResponse