@alicloud/agentcore20260804 2.4.0 → 2.6.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 (317) hide show
  1. package/dist/client.d.ts +888 -76
  2. package/dist/client.js +1323 -81
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddMemoriesRequest.d.ts +10 -10
  5. package/dist/models/AddMemoriesResponseBody.d.ts +4 -4
  6. package/dist/models/AddMemoriesShrinkRequest.d.ts +1 -1
  7. package/dist/models/CreateCustomAgentRequest.d.ts +74 -44
  8. package/dist/models/CreateCustomAgentRequest.js +27 -1
  9. package/dist/models/CreateCustomAgentRequest.js.map +1 -1
  10. package/dist/models/CreateCustomAgentResponseBody.d.ts +254 -45
  11. package/dist/models/CreateCustomAgentResponseBody.js +91 -1
  12. package/dist/models/CreateCustomAgentResponseBody.js.map +1 -1
  13. package/dist/models/CreateCustomAgentShrinkRequest.d.ts +1 -1
  14. package/dist/models/CreateIdentityProviderRequest.d.ts +50 -9
  15. package/dist/models/CreateIdentityProviderRequest.js +32 -1
  16. package/dist/models/CreateIdentityProviderRequest.js.map +1 -1
  17. package/dist/models/CreateIdentityProviderResponseBody.d.ts +183 -9
  18. package/dist/models/CreateIdentityProviderResponseBody.js +103 -1
  19. package/dist/models/CreateIdentityProviderResponseBody.js.map +1 -1
  20. package/dist/models/CreateIdentityProviderShrinkRequest.d.ts +1 -1
  21. package/dist/models/CreateIdentityProviderSyncJobRequest.d.ts +13 -0
  22. package/dist/models/CreateIdentityProviderSyncJobRequest.js +54 -0
  23. package/dist/models/CreateIdentityProviderSyncJobRequest.js.map +1 -0
  24. package/dist/models/CreateIdentityProviderSyncJobResponse.d.ts +19 -0
  25. package/dist/models/CreateIdentityProviderSyncJobResponse.js +69 -0
  26. package/dist/models/CreateIdentityProviderSyncJobResponse.js.map +1 -0
  27. package/dist/models/CreateIdentityProviderSyncJobResponseBody.d.ts +121 -0
  28. package/dist/models/CreateIdentityProviderSyncJobResponseBody.js +100 -0
  29. package/dist/models/CreateIdentityProviderSyncJobResponseBody.js.map +1 -0
  30. package/dist/models/CreateImageCacheRequest.d.ts +122 -0
  31. package/dist/models/CreateImageCacheRequest.js +96 -0
  32. package/dist/models/CreateImageCacheRequest.js.map +1 -0
  33. package/dist/models/CreateImageCacheResponse.d.ts +19 -0
  34. package/dist/models/CreateImageCacheResponse.js +69 -0
  35. package/dist/models/CreateImageCacheResponse.js.map +1 -0
  36. package/dist/models/CreateImageCacheResponseBody.d.ts +260 -0
  37. package/dist/models/CreateImageCacheResponseBody.js +140 -0
  38. package/dist/models/CreateImageCacheResponseBody.js.map +1 -0
  39. package/dist/models/CreateImageCacheShrinkRequest.d.ts +50 -0
  40. package/dist/models/CreateImageCacheShrinkRequest.js +64 -0
  41. package/dist/models/CreateImageCacheShrinkRequest.js.map +1 -0
  42. package/dist/models/CreateMemoryStoreRequest.d.ts +6 -6
  43. package/dist/models/CreateMemoryStoreResponseBody.d.ts +7 -7
  44. package/dist/models/CreateMemoryStoreShrinkRequest.d.ts +2 -2
  45. package/dist/models/DeleteIdentityProviderResponseBody.d.ts +144 -19
  46. package/dist/models/DeleteIdentityProviderResponseBody.js +74 -1
  47. package/dist/models/DeleteIdentityProviderResponseBody.js.map +1 -1
  48. package/dist/models/DeleteImageCacheRequest.d.ts +33 -0
  49. package/dist/models/DeleteImageCacheRequest.js +60 -0
  50. package/dist/models/DeleteImageCacheRequest.js.map +1 -0
  51. package/dist/models/DeleteImageCacheResponse.d.ts +19 -0
  52. package/dist/models/DeleteImageCacheResponse.js +69 -0
  53. package/dist/models/DeleteImageCacheResponse.js.map +1 -0
  54. package/dist/models/DeleteImageCacheResponseBody.d.ts +102 -0
  55. package/dist/models/DeleteImageCacheResponseBody.js +92 -0
  56. package/dist/models/DeleteImageCacheResponseBody.js.map +1 -0
  57. package/dist/models/DeleteMemoryStoreResponseBody.d.ts +3 -3
  58. package/dist/models/GetAgentCodePackageDownloadUrlRequest.d.ts +13 -0
  59. package/dist/models/GetAgentCodePackageDownloadUrlRequest.js +54 -0
  60. package/dist/models/GetAgentCodePackageDownloadUrlRequest.js.map +1 -0
  61. package/dist/models/GetAgentCodePackageDownloadUrlResponse.d.ts +19 -0
  62. package/dist/models/GetAgentCodePackageDownloadUrlResponse.js +69 -0
  63. package/dist/models/GetAgentCodePackageDownloadUrlResponse.js.map +1 -0
  64. package/dist/models/GetAgentCodePackageDownloadUrlResponseBody.d.ts +131 -0
  65. package/dist/models/GetAgentCodePackageDownloadUrlResponseBody.js +104 -0
  66. package/dist/models/GetAgentCodePackageDownloadUrlResponseBody.js.map +1 -0
  67. package/dist/models/GetAgentCodePackageOssRamAuthorizeUrlRequest.d.ts +23 -0
  68. package/dist/models/GetAgentCodePackageOssRamAuthorizeUrlRequest.js +58 -0
  69. package/dist/models/GetAgentCodePackageOssRamAuthorizeUrlRequest.js.map +1 -0
  70. package/dist/models/GetAgentCodePackageOssRamAuthorizeUrlResponse.d.ts +19 -0
  71. package/dist/models/GetAgentCodePackageOssRamAuthorizeUrlResponse.js +69 -0
  72. package/dist/models/GetAgentCodePackageOssRamAuthorizeUrlResponse.js.map +1 -0
  73. package/dist/models/GetAgentCodePackageOssRamAuthorizeUrlResponseBody.d.ts +99 -0
  74. package/dist/models/GetAgentCodePackageOssRamAuthorizeUrlResponseBody.js +96 -0
  75. package/dist/models/GetAgentCodePackageOssRamAuthorizeUrlResponseBody.js.map +1 -0
  76. package/dist/models/GetAgentCodePackageUploadUrlRequest.d.ts +62 -0
  77. package/dist/models/GetAgentCodePackageUploadUrlRequest.js +84 -0
  78. package/dist/models/GetAgentCodePackageUploadUrlRequest.js.map +1 -0
  79. package/dist/models/GetAgentCodePackageUploadUrlResponse.d.ts +19 -0
  80. package/dist/models/GetAgentCodePackageUploadUrlResponse.js +69 -0
  81. package/dist/models/GetAgentCodePackageUploadUrlResponse.js.map +1 -0
  82. package/dist/models/GetAgentCodePackageUploadUrlResponseBody.d.ts +114 -0
  83. package/dist/models/GetAgentCodePackageUploadUrlResponseBody.js +103 -0
  84. package/dist/models/GetAgentCodePackageUploadUrlResponseBody.js.map +1 -0
  85. package/dist/models/GetAgentCodePackageUploadUrlShrinkRequest.d.ts +20 -0
  86. package/dist/models/GetAgentCodePackageUploadUrlShrinkRequest.js +58 -0
  87. package/dist/models/GetAgentCodePackageUploadUrlShrinkRequest.js.map +1 -0
  88. package/dist/models/GetCustomAgentResponseBody.d.ts +192 -71
  89. package/dist/models/GetCustomAgentResponseBody.js +63 -1
  90. package/dist/models/GetCustomAgentResponseBody.js.map +1 -1
  91. package/dist/models/GetIdentityProviderResponseBody.d.ts +217 -11
  92. package/dist/models/GetIdentityProviderResponseBody.js +111 -1
  93. package/dist/models/GetIdentityProviderResponseBody.js.map +1 -1
  94. package/dist/models/GetIdentityProviderSyncJobRequest.d.ts +13 -0
  95. package/dist/models/GetIdentityProviderSyncJobRequest.js +54 -0
  96. package/dist/models/GetIdentityProviderSyncJobRequest.js.map +1 -0
  97. package/dist/models/GetIdentityProviderSyncJobResponse.d.ts +19 -0
  98. package/dist/models/GetIdentityProviderSyncJobResponse.js +69 -0
  99. package/dist/models/GetIdentityProviderSyncJobResponse.js.map +1 -0
  100. package/dist/models/GetIdentityProviderSyncJobResponseBody.d.ts +128 -0
  101. package/dist/models/GetIdentityProviderSyncJobResponseBody.js +100 -0
  102. package/dist/models/GetIdentityProviderSyncJobResponseBody.js.map +1 -0
  103. package/dist/models/GetIdentityProviderSyncScopeRequest.d.ts +13 -0
  104. package/dist/models/GetIdentityProviderSyncScopeRequest.js +54 -0
  105. package/dist/models/GetIdentityProviderSyncScopeRequest.js.map +1 -0
  106. package/dist/models/GetIdentityProviderSyncScopeResponse.d.ts +19 -0
  107. package/dist/models/GetIdentityProviderSyncScopeResponse.js +69 -0
  108. package/dist/models/GetIdentityProviderSyncScopeResponse.js.map +1 -0
  109. package/dist/models/GetIdentityProviderSyncScopeResponseBody.d.ts +177 -0
  110. package/dist/models/GetIdentityProviderSyncScopeResponseBody.js +151 -0
  111. package/dist/models/GetIdentityProviderSyncScopeResponseBody.js.map +1 -0
  112. package/dist/models/GetImageCacheRequest.d.ts +33 -0
  113. package/dist/models/GetImageCacheRequest.js +60 -0
  114. package/dist/models/GetImageCacheRequest.js.map +1 -0
  115. package/dist/models/GetImageCacheResponse.d.ts +19 -0
  116. package/dist/models/GetImageCacheResponse.js +69 -0
  117. package/dist/models/GetImageCacheResponse.js.map +1 -0
  118. package/dist/models/GetImageCacheResponseBody.d.ts +264 -0
  119. package/dist/models/GetImageCacheResponseBody.js +140 -0
  120. package/dist/models/GetImageCacheResponseBody.js.map +1 -0
  121. package/dist/models/GetMemoryResponseBody.d.ts +4 -4
  122. package/dist/models/GetMemoryStoreResponseBody.d.ts +3 -3
  123. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlRequest.d.ts +2 -2
  124. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.d.ts +23 -1
  125. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.js.map +1 -1
  126. package/dist/models/ListAgentCodeRuntimesRequest.d.ts +29 -0
  127. package/dist/models/ListAgentCodeRuntimesRequest.js +60 -0
  128. package/dist/models/ListAgentCodeRuntimesRequest.js.map +1 -0
  129. package/dist/models/ListAgentCodeRuntimesResponse.d.ts +19 -0
  130. package/dist/models/ListAgentCodeRuntimesResponse.js +69 -0
  131. package/dist/models/ListAgentCodeRuntimesResponse.js.map +1 -0
  132. package/dist/models/ListAgentCodeRuntimesResponseBody.d.ts +115 -0
  133. package/dist/models/ListAgentCodeRuntimesResponseBody.js +100 -0
  134. package/dist/models/ListAgentCodeRuntimesResponseBody.js.map +1 -0
  135. package/dist/models/ListCustomAgentsRequest.d.ts +2 -2
  136. package/dist/models/ListCustomAgentsResponseBody.d.ts +221 -25
  137. package/dist/models/ListCustomAgentsResponseBody.js +119 -1
  138. package/dist/models/ListCustomAgentsResponseBody.js.map +1 -1
  139. package/dist/models/ListIdentityProviderDepartmentsRequest.d.ts +37 -0
  140. package/dist/models/ListIdentityProviderDepartmentsRequest.js +62 -0
  141. package/dist/models/ListIdentityProviderDepartmentsRequest.js.map +1 -0
  142. package/dist/models/ListIdentityProviderDepartmentsResponse.d.ts +19 -0
  143. package/dist/models/ListIdentityProviderDepartmentsResponse.js +69 -0
  144. package/dist/models/ListIdentityProviderDepartmentsResponse.js.map +1 -0
  145. package/dist/models/ListIdentityProviderDepartmentsResponseBody.d.ts +137 -0
  146. package/dist/models/ListIdentityProviderDepartmentsResponseBody.js +104 -0
  147. package/dist/models/ListIdentityProviderDepartmentsResponseBody.js.map +1 -0
  148. package/dist/models/ListIdentityProvidersRequest.d.ts +2 -2
  149. package/dist/models/ListIdentityProvidersResponseBody.d.ts +226 -20
  150. package/dist/models/ListIdentityProvidersResponseBody.js +111 -1
  151. package/dist/models/ListIdentityProvidersResponseBody.js.map +1 -1
  152. package/dist/models/ListImageCachesRequest.d.ts +113 -0
  153. package/dist/models/ListImageCachesRequest.js +80 -0
  154. package/dist/models/ListImageCachesRequest.js.map +1 -0
  155. package/dist/models/ListImageCachesResponse.d.ts +19 -0
  156. package/dist/models/ListImageCachesResponse.js +69 -0
  157. package/dist/models/ListImageCachesResponse.js.map +1 -0
  158. package/dist/models/ListImageCachesResponseBody.d.ts +290 -0
  159. package/dist/models/ListImageCachesResponseBody.js +146 -0
  160. package/dist/models/ListImageCachesResponseBody.js.map +1 -0
  161. package/dist/models/ListMemoriesResponseBody.d.ts +1 -1
  162. package/dist/models/ListMemorySessionMessagesRequest.d.ts +3 -3
  163. package/dist/models/ListMemorySessionsRequest.d.ts +2 -2
  164. package/dist/models/ListMemorySessionsResponseBody.d.ts +1 -1
  165. package/dist/models/ListMemoryStoresResponseBody.d.ts +2 -2
  166. package/dist/models/RetryImageCacheRequest.d.ts +60 -0
  167. package/dist/models/RetryImageCacheRequest.js +82 -0
  168. package/dist/models/RetryImageCacheRequest.js.map +1 -0
  169. package/dist/models/RetryImageCacheResponse.d.ts +19 -0
  170. package/dist/models/RetryImageCacheResponse.js +69 -0
  171. package/dist/models/RetryImageCacheResponse.js.map +1 -0
  172. package/dist/models/RetryImageCacheResponseBody.d.ts +264 -0
  173. package/dist/models/RetryImageCacheResponseBody.js +140 -0
  174. package/dist/models/RetryImageCacheResponseBody.js.map +1 -0
  175. package/dist/models/RetryImageCacheShrinkRequest.d.ts +48 -0
  176. package/dist/models/RetryImageCacheShrinkRequest.js +64 -0
  177. package/dist/models/RetryImageCacheShrinkRequest.js.map +1 -0
  178. package/dist/models/SearchMemoriesRequest.d.ts +3 -3
  179. package/dist/models/SearchMemoriesResponseBody.d.ts +3 -3
  180. package/dist/models/UpdateCustomAgentRequest.d.ts +87 -54
  181. package/dist/models/UpdateCustomAgentRequest.js +27 -1
  182. package/dist/models/UpdateCustomAgentRequest.js.map +1 -1
  183. package/dist/models/UpdateCustomAgentResponseBody.d.ts +243 -61
  184. package/dist/models/UpdateCustomAgentResponseBody.js +91 -1
  185. package/dist/models/UpdateCustomAgentResponseBody.js.map +1 -1
  186. package/dist/models/UpdateCustomAgentShrinkRequest.d.ts +2 -2
  187. package/dist/models/UpdateIdentityProviderRequest.d.ts +128 -8
  188. package/dist/models/UpdateIdentityProviderRequest.js +71 -1
  189. package/dist/models/UpdateIdentityProviderRequest.js.map +1 -1
  190. package/dist/models/UpdateIdentityProviderResponseBody.d.ts +181 -16
  191. package/dist/models/UpdateIdentityProviderResponseBody.js +103 -1
  192. package/dist/models/UpdateIdentityProviderResponseBody.js.map +1 -1
  193. package/dist/models/UpdateIdentityProviderShrinkRequest.d.ts +1 -1
  194. package/dist/models/UpdateMemoryRequest.d.ts +3 -3
  195. package/dist/models/UpdateMemoryShrinkRequest.d.ts +1 -1
  196. package/dist/models/UpdateMemoryStoreRequest.d.ts +2 -2
  197. package/dist/models/UpdateMemoryStoreResponseBody.d.ts +1 -1
  198. package/dist/models/ValidateAgentCodePackageFromOssRequest.d.ts +52 -0
  199. package/dist/models/ValidateAgentCodePackageFromOssRequest.js +82 -0
  200. package/dist/models/ValidateAgentCodePackageFromOssRequest.js.map +1 -0
  201. package/dist/models/ValidateAgentCodePackageFromOssResponse.d.ts +19 -0
  202. package/dist/models/ValidateAgentCodePackageFromOssResponse.js +69 -0
  203. package/dist/models/ValidateAgentCodePackageFromOssResponse.js.map +1 -0
  204. package/dist/models/ValidateAgentCodePackageFromOssResponseBody.d.ts +99 -0
  205. package/dist/models/ValidateAgentCodePackageFromOssResponseBody.js +96 -0
  206. package/dist/models/ValidateAgentCodePackageFromOssResponseBody.js.map +1 -0
  207. package/dist/models/ValidateAgentCodePackageFromOssShrinkRequest.d.ts +20 -0
  208. package/dist/models/ValidateAgentCodePackageFromOssShrinkRequest.js +58 -0
  209. package/dist/models/ValidateAgentCodePackageFromOssShrinkRequest.js.map +1 -0
  210. package/dist/models/VerifyAgentCodePackageOssRamAuthorizationRequest.d.ts +23 -0
  211. package/dist/models/VerifyAgentCodePackageOssRamAuthorizationRequest.js +58 -0
  212. package/dist/models/VerifyAgentCodePackageOssRamAuthorizationRequest.js.map +1 -0
  213. package/dist/models/VerifyAgentCodePackageOssRamAuthorizationResponse.d.ts +19 -0
  214. package/dist/models/VerifyAgentCodePackageOssRamAuthorizationResponse.js +69 -0
  215. package/dist/models/VerifyAgentCodePackageOssRamAuthorizationResponse.js.map +1 -0
  216. package/dist/models/VerifyAgentCodePackageOssRamAuthorizationResponseBody.d.ts +73 -0
  217. package/dist/models/VerifyAgentCodePackageOssRamAuthorizationResponseBody.js +96 -0
  218. package/dist/models/VerifyAgentCodePackageOssRamAuthorizationResponseBody.js.map +1 -0
  219. package/dist/models/VerifyWorkspaceAcrRamAuthorizationResponseBody.d.ts +33 -3
  220. package/dist/models/VerifyWorkspaceAcrRamAuthorizationResponseBody.js.map +1 -1
  221. package/dist/models/model.d.ts +105 -0
  222. package/dist/models/model.js +341 -129
  223. package/dist/models/model.js.map +1 -1
  224. package/package.json +1 -1
  225. package/src/client.ts +1393 -84
  226. package/src/models/AddMemoriesRequest.ts +10 -10
  227. package/src/models/AddMemoriesResponseBody.ts +4 -4
  228. package/src/models/AddMemoriesShrinkRequest.ts +1 -1
  229. package/src/models/CreateCustomAgentRequest.ts +91 -44
  230. package/src/models/CreateCustomAgentResponseBody.ts +317 -45
  231. package/src/models/CreateCustomAgentShrinkRequest.ts +1 -1
  232. package/src/models/CreateIdentityProviderRequest.ts +72 -9
  233. package/src/models/CreateIdentityProviderResponseBody.ts +258 -9
  234. package/src/models/CreateIdentityProviderShrinkRequest.ts +1 -1
  235. package/src/models/CreateIdentityProviderSyncJobRequest.ts +24 -0
  236. package/src/models/CreateIdentityProviderSyncJobResponse.ts +40 -0
  237. package/src/models/CreateIdentityProviderSyncJobResponseBody.ts +167 -0
  238. package/src/models/CreateImageCacheRequest.ts +164 -0
  239. package/src/models/CreateImageCacheResponse.ts +40 -0
  240. package/src/models/CreateImageCacheResponseBody.ts +337 -0
  241. package/src/models/CreateImageCacheShrinkRequest.ts +69 -0
  242. package/src/models/CreateMemoryStoreRequest.ts +6 -6
  243. package/src/models/CreateMemoryStoreResponseBody.ts +7 -7
  244. package/src/models/CreateMemoryStoreShrinkRequest.ts +2 -2
  245. package/src/models/DeleteIdentityProviderResponseBody.ts +199 -19
  246. package/src/models/DeleteImageCacheRequest.ts +48 -0
  247. package/src/models/DeleteImageCacheResponse.ts +40 -0
  248. package/src/models/DeleteImageCacheResponseBody.ts +140 -0
  249. package/src/models/DeleteMemoryStoreResponseBody.ts +3 -3
  250. package/src/models/GetAgentCodePackageDownloadUrlRequest.ts +24 -0
  251. package/src/models/GetAgentCodePackageDownloadUrlResponse.ts +40 -0
  252. package/src/models/GetAgentCodePackageDownloadUrlResponseBody.ts +181 -0
  253. package/src/models/GetAgentCodePackageOssRamAuthorizeUrlRequest.ts +36 -0
  254. package/src/models/GetAgentCodePackageOssRamAuthorizeUrlResponse.ts +40 -0
  255. package/src/models/GetAgentCodePackageOssRamAuthorizeUrlResponseBody.ts +141 -0
  256. package/src/models/GetAgentCodePackageUploadUrlRequest.ts +92 -0
  257. package/src/models/GetAgentCodePackageUploadUrlResponse.ts +40 -0
  258. package/src/models/GetAgentCodePackageUploadUrlResponseBody.ts +161 -0
  259. package/src/models/GetAgentCodePackageUploadUrlShrinkRequest.ts +33 -0
  260. package/src/models/GetCustomAgentResponseBody.ts +236 -71
  261. package/src/models/GetIdentityProviderResponseBody.ts +300 -11
  262. package/src/models/GetIdentityProviderSyncJobRequest.ts +24 -0
  263. package/src/models/GetIdentityProviderSyncJobResponse.ts +40 -0
  264. package/src/models/GetIdentityProviderSyncJobResponseBody.ts +174 -0
  265. package/src/models/GetIdentityProviderSyncScopeRequest.ts +24 -0
  266. package/src/models/GetIdentityProviderSyncScopeResponse.ts +40 -0
  267. package/src/models/GetIdentityProviderSyncScopeResponseBody.ts +256 -0
  268. package/src/models/GetImageCacheRequest.ts +48 -0
  269. package/src/models/GetImageCacheResponse.ts +40 -0
  270. package/src/models/GetImageCacheResponseBody.ts +341 -0
  271. package/src/models/GetMemoryResponseBody.ts +4 -4
  272. package/src/models/GetMemoryStoreResponseBody.ts +3 -3
  273. package/src/models/GetWorkspaceAcrRamAuthorizeUrlRequest.ts +2 -2
  274. package/src/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.ts +23 -1
  275. package/src/models/ListAgentCodeRuntimesRequest.ts +44 -0
  276. package/src/models/ListAgentCodeRuntimesResponse.ts +40 -0
  277. package/src/models/ListAgentCodeRuntimesResponseBody.ts +161 -0
  278. package/src/models/ListCustomAgentsRequest.ts +2 -2
  279. package/src/models/ListCustomAgentsResponseBody.ts +303 -25
  280. package/src/models/ListIdentityProviderDepartmentsRequest.ts +54 -0
  281. package/src/models/ListIdentityProviderDepartmentsResponse.ts +40 -0
  282. package/src/models/ListIdentityProviderDepartmentsResponseBody.ts +187 -0
  283. package/src/models/ListIdentityProvidersRequest.ts +2 -2
  284. package/src/models/ListIdentityProvidersResponseBody.ts +309 -20
  285. package/src/models/ListImageCachesRequest.ts +148 -0
  286. package/src/models/ListImageCachesResponse.ts +40 -0
  287. package/src/models/ListImageCachesResponseBody.ts +373 -0
  288. package/src/models/ListMemoriesResponseBody.ts +1 -1
  289. package/src/models/ListMemorySessionMessagesRequest.ts +3 -3
  290. package/src/models/ListMemorySessionsRequest.ts +2 -2
  291. package/src/models/ListMemorySessionsResponseBody.ts +1 -1
  292. package/src/models/ListMemoryStoresResponseBody.ts +2 -2
  293. package/src/models/RetryImageCacheRequest.ts +90 -0
  294. package/src/models/RetryImageCacheResponse.ts +40 -0
  295. package/src/models/RetryImageCacheResponseBody.ts +341 -0
  296. package/src/models/RetryImageCacheShrinkRequest.ts +67 -0
  297. package/src/models/SearchMemoriesRequest.ts +3 -3
  298. package/src/models/SearchMemoriesResponseBody.ts +3 -3
  299. package/src/models/UpdateCustomAgentRequest.ts +104 -54
  300. package/src/models/UpdateCustomAgentResponseBody.ts +306 -61
  301. package/src/models/UpdateCustomAgentShrinkRequest.ts +2 -2
  302. package/src/models/UpdateIdentityProviderRequest.ts +180 -8
  303. package/src/models/UpdateIdentityProviderResponseBody.ts +256 -16
  304. package/src/models/UpdateIdentityProviderShrinkRequest.ts +1 -1
  305. package/src/models/UpdateMemoryRequest.ts +3 -3
  306. package/src/models/UpdateMemoryShrinkRequest.ts +1 -1
  307. package/src/models/UpdateMemoryStoreRequest.ts +2 -2
  308. package/src/models/UpdateMemoryStoreResponseBody.ts +1 -1
  309. package/src/models/ValidateAgentCodePackageFromOssRequest.ts +80 -0
  310. package/src/models/ValidateAgentCodePackageFromOssResponse.ts +40 -0
  311. package/src/models/ValidateAgentCodePackageFromOssResponseBody.ts +141 -0
  312. package/src/models/ValidateAgentCodePackageFromOssShrinkRequest.ts +33 -0
  313. package/src/models/VerifyAgentCodePackageOssRamAuthorizationRequest.ts +36 -0
  314. package/src/models/VerifyAgentCodePackageOssRamAuthorizationResponse.ts +40 -0
  315. package/src/models/VerifyAgentCodePackageOssRamAuthorizationResponseBody.ts +115 -0
  316. package/src/models/VerifyWorkspaceAcrRamAuthorizationResponseBody.ts +33 -3
  317. package/src/models/model.ts +105 -0
@@ -5,12 +5,12 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class UpdateCustomAgentShrinkRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The update configuration for the custom agent. Provide at least one top-level field. Omitted top-level fields retain their original values. When providing a configuration object, you must specify its required subfields and include any optional configurations that you want to retain. Arrays are replaced as a whole.
8
+ * The update configuration for the custom agent. Provide at least one top-level field. Omitted top-level fields retain their original values. When providing a configuration object, specify its required subfields and include any optional configurations that you want to retain. Arrays are replaced as a whole.
9
9
  */
10
10
  bodyShrink?: string;
11
11
  /**
12
12
  * @remarks
13
- * Idempotency is not currently guaranteed. Do not rely on this parameter to prevent duplicate requests.
13
+ * Idempotence is not currently guaranteed. Do not rely on this parameter to prevent duplicate requests.
14
14
  *
15
15
  * @example
16
16
  * custom-agent-request-20261010-001
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class UpdateIdentityProviderRequestBodyMetadata extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The App ID of the Lark application. This parameter is required when the binding type is Feishu.
8
+ * The App ID of the Feishu application. This parameter is required when the binding type is Feishu.
9
9
  *
10
10
  * @example
11
11
  * cli_exampleappid01
@@ -21,7 +21,7 @@ export class UpdateIdentityProviderRequestBodyMetadata extends $dara.Model {
21
21
  appKey?: string;
22
22
  /**
23
23
  * @remarks
24
- * Required. The secret of the external identity provider application. This parameter is write-only and is not returned by query operations.
24
+ * Required. The secret of the external identity provider application. This parameter is used only for writing and is not returned by query APIs.
25
25
  *
26
26
  * @example
27
27
  * example-app-secret
@@ -29,7 +29,7 @@ export class UpdateIdentityProviderRequestBodyMetadata extends $dara.Model {
29
29
  appSecret?: string;
30
30
  /**
31
31
  * @remarks
32
- * The CorpId of the DingTalk organization. This parameter is required when the binding type is DingTalk.
32
+ * The CorpId of the DingTalk enterprise. This parameter is required when the binding type is DingTalk.
33
33
  *
34
34
  * @example
35
35
  * dingexamplecorpid01
@@ -37,7 +37,7 @@ export class UpdateIdentityProviderRequestBodyMetadata extends $dara.Model {
37
37
  corpId?: string;
38
38
  /**
39
39
  * @remarks
40
- * The data encryption key for event subscriptions. The value must match the one configured in the external identity provider application. This parameter is write-only and is not returned by query operations.
40
+ * The data encryption key for event subscription. The value must be the same as the one configured in the external identity provider application. This parameter is used only for writing and is not returned by query APIs.
41
41
  *
42
42
  * @example
43
43
  * example-encrypt-key
@@ -45,7 +45,7 @@ export class UpdateIdentityProviderRequestBodyMetadata extends $dara.Model {
45
45
  encryptKey?: string;
46
46
  /**
47
47
  * @remarks
48
- * The verification token for event subscriptions. The value must match the one configured in the external identity provider application. This parameter is write-only and is not returned by query operations.
48
+ * The verification token for event subscription. The value must be the same as the one configured in the external identity provider application. This parameter is used only for writing and is not returned by query APIs.
49
49
  *
50
50
  * @example
51
51
  * example-verification-token
@@ -82,27 +82,190 @@ export class UpdateIdentityProviderRequestBodyMetadata extends $dara.Model {
82
82
  }
83
83
  }
84
84
 
85
+ export class UpdateIdentityProviderRequestBodySaml extends $dara.Model {
86
+ /**
87
+ * @remarks
88
+ * HTTP-Redirect or HTTP-POST. This parameter is required for manual entry. Queries return the short name.
89
+ *
90
+ * @example
91
+ * HTTP-Redirect
92
+ */
93
+ bindingType?: string;
94
+ /**
95
+ * @remarks
96
+ * Required for manual entry. It must be non-empty and up to 2,048 characters in length. Existing configurations do not support replacement. It is different from the local entity ID returned by SP queries.
97
+ *
98
+ * @example
99
+ * https://idp.example.com/entity
100
+ */
101
+ entityId?: string;
102
+ /**
103
+ * @remarks
104
+ * Can be set independently. If omitted during an update, the existing value is retained. If omitted for the first time, the default value is false. A valid SAML configuration is required.
105
+ *
106
+ * @example
107
+ * false
108
+ */
109
+ jitProvisionEnabled?: boolean;
110
+ /**
111
+ * @remarks
112
+ * Can be set independently. If omitted during an update, the existing value is retained. If omitted for the first time, the default value is false. A valid SAML configuration is required.
113
+ *
114
+ * @example
115
+ * false
116
+ */
117
+ jitUpdateEnabled?: boolean;
118
+ /**
119
+ * @remarks
120
+ * Required for manual entry. It must be an absolute HTTPS URL without user credentials or fragments.
121
+ *
122
+ * @example
123
+ * https://idp.example.com/sso
124
+ */
125
+ loginUrl?: string;
126
+ /**
127
+ * @remarks
128
+ * The input is the XML text of a single IdP EntityDescriptor, with a maximum size of 1 MiB. It cannot be a URL or a file path. It is mutually exclusive with the four manual entry fields.
129
+ *
130
+ * @example
131
+ * <EntityDescriptor xmlns="urn:oasis:names:tc:SAML:2.0:metadata" entityID="https://idp.example.com/entity"><IDPSSODescriptor protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol"><KeyDescriptor use="signing"><KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"><X509Data><X509Certificate>MIICwDCCAaigAwIBAgIULlsHLfcADyBax5ZtFlj+YGzZVo0wDQYJKoZIhvcNAQELBQAwGjEYMBYGA1UEAwwPaWRwLmV4YW1wbGUuY29tMB4XDTI2MDEwMTAwMDAwMFoXDTM2MDEwMTAwMDAwMFowGjEYMBYGA1UEAwwPaWRwLmV4YW1wbGUuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAto0DN0W1CrPRzK9QZ9A1aApb4Lg8oGlp2c0PbN3LokXe/HzwxCMXx65IDnrenttxzTwp9BgUnUN/3LRzWaOL2UQ/vNYNW9LFLkI1T64UPyI7eyi28YlALhb41xkYhEp7rz+MjqifBzVZeTDUxBYtbK2hAhbYEL1+udwsXEx0KB7xuQ/rbI2OKeqAEAD1tfYg7T/SM2wrXNYhx+o1HtchM4/0I8Okkk27JQ4y3ofzC5sTySmFF1Y7XcpSd+5WSyazedhkAieo8AB01DkJV6nnKfH8sH0EBsnH3FP8FhqCLrIeEkjX9B9OcIRLGjiZqx4u/ryW1QhMldnv+pFfNjWy/wIDAQABMA0GCSqGSIb3DQEBCwUAA4IBAQC1hSQG8AwtGOoX2gKBK4Hi5XBrBreij8WlLTUWld0FINQ0Rg84f/27CjDthywj6wgxCesCuOVFhpxQa1UacsP/Gcai1aKABtLWImcaWECRYK5gDkwhTMFKM9mXA26hH1l4v/UR2iTpEK9H78egC4W7bs2LDTpPryuaNKTqP2O0tMbNkAHB8yecz5LxHXnxadL9Egow25g2RClvpifWqDnuS9TSbKkIWLcPLjocJj2K9ILpBwhXiXi/BiSgyYTLiYvVvih9vX4s+hKGZNJc0j92YLiOHDF0XH1oxgdVjfTmRiedeb2VZJZElptD92z0AqFR7z2d5B+OqpPA2gjuMLV5</X509Certificate></X509Data></KeyInfo></KeyDescriptor><SingleSignOnService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://idp.example.com/sso"/></IDPSSODescriptor></EntityDescriptor>
132
+ */
133
+ metadataXml?: string;
134
+ /**
135
+ * @remarks
136
+ * Required for manual entry. It must be a non-empty array using PEM X.509 certificate text. The current validity period is validated, and up to 10 certificates are supported.
137
+ *
138
+ * @example
139
+ * ["-----BEGIN CERTIFICATE-----\\\\nMIICwDCCAaigAwIBAgIULlsHLfcADyBax5ZtFlj+YGzZVo0wDQYJKoZIhvcNAQEL\\\\nBQAwGjEYMBYGA1UEAwwPaWRwLmV4YW1wbGUuY29tMB4XDTI2MDEwMTAwMDAwMFoX\\\\nDTM2MDEwMTAwMDAwMFowGjEYMBYGA1UEAwwPaWRwLmV4YW1wbGUuY29tMIIBIjAN\\\\nBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAto0DN0W1CrPRzK9QZ9A1aApb4Lg8\\\\noGlp2c0PbN3LokXe/HzwxCMXx65IDnrenttxzTwp9BgUnUN/3LRzWaOL2UQ/vNYN\\\\nW9LFLkI1T64UPyI7eyi28YlALhb41xkYhEp7rz+MjqifBzVZeTDUxBYtbK2hAhbY\\\\nEL1+udwsXEx0KB7xuQ/rbI2OKeqAEAD1tfYg7T/SM2wrXNYhx+o1HtchM4/0I8Ok\\\\nkk27JQ4y3ofzC5sTySmFF1Y7XcpSd+5WSyazedhkAieo8AB01DkJV6nnKfH8sH0E\\\\nBsnH3FP8FhqCLrIeEkjX9B9OcIRLGjiZqx4u/ryW1QhMldnv+pFfNjWy/wIDAQAB\\\\nMA0GCSqGSIb3DQEBCwUAA4IBAQC1hSQG8AwtGOoX2gKBK4Hi5XBrBreij8WlLTUW\\\\nld0FINQ0Rg84f/27CjDthywj6wgxCesCuOVFhpxQa1UacsP/Gcai1aKABtLWImca\\\\nWECRYK5gDkwhTMFKM9mXA26hH1l4v/UR2iTpEK9H78egC4W7bs2LDTpPryuaNKTq\\\\nP2O0tMbNkAHB8yecz5LxHXnxadL9Egow25g2RClvpifWqDnuS9TSbKkIWLcPLjoc\\\\nJj2K9ILpBwhXiXi/BiSgyYTLiYvVvih9vX4s+hKGZNJc0j92YLiOHDF0XH1oxgdV\\\\njfTmRiedeb2VZJZElptD92z0AqFR7z2d5B+OqpPA2gjuMLV5\\\\n-----END CERTIFICATE-----"]
140
+ */
141
+ x509Certificates?: string[];
142
+ static names(): { [key: string]: string } {
143
+ return {
144
+ bindingType: 'bindingType',
145
+ entityId: 'entityId',
146
+ jitProvisionEnabled: 'jitProvisionEnabled',
147
+ jitUpdateEnabled: 'jitUpdateEnabled',
148
+ loginUrl: 'loginUrl',
149
+ metadataXml: 'metadataXml',
150
+ x509Certificates: 'x509Certificates',
151
+ };
152
+ }
153
+
154
+ static types(): { [key: string]: any } {
155
+ return {
156
+ bindingType: 'string',
157
+ entityId: 'string',
158
+ jitProvisionEnabled: 'boolean',
159
+ jitUpdateEnabled: 'boolean',
160
+ loginUrl: 'string',
161
+ metadataXml: 'string',
162
+ x509Certificates: { 'type': 'array', 'itemType': 'string' },
163
+ };
164
+ }
165
+
166
+ validate() {
167
+ if(Array.isArray(this.x509Certificates)) {
168
+ $dara.Model.validateArray(this.x509Certificates);
169
+ }
170
+ super.validate();
171
+ }
172
+
173
+ constructor(map?: { [key: string]: any }) {
174
+ super(map);
175
+ }
176
+ }
177
+
178
+ export class UpdateIdentityProviderRequestBodySyncScope extends $dara.Model {
179
+ /**
180
+ * @remarks
181
+ * When the mode is SelectedDepartments, it must contain at least one non-empty department ID, which should be obtained from ListIdentityProviderDepartments. When the mode is AllAuthorized, pass an empty array or omit this parameter.
182
+ *
183
+ * @example
184
+ * ["10001"]
185
+ */
186
+ departmentIds?: string[];
187
+ /**
188
+ * @remarks
189
+ * Valid values:
190
+ * - AllAuthorized: The full authorization scope, subject to the application address book authorization limits.
191
+ * - SelectedDepartments: The selected departments and all their sub-departments.
192
+ * When explicitly submitting syncScope, you must provide a valid mode, which is validated by the backend.
193
+ *
194
+ * @example
195
+ * SelectedDepartments
196
+ */
197
+ mode?: string;
198
+ static names(): { [key: string]: string } {
199
+ return {
200
+ departmentIds: 'departmentIds',
201
+ mode: 'mode',
202
+ };
203
+ }
204
+
205
+ static types(): { [key: string]: any } {
206
+ return {
207
+ departmentIds: { 'type': 'array', 'itemType': 'string' },
208
+ mode: 'string',
209
+ };
210
+ }
211
+
212
+ validate() {
213
+ if(Array.isArray(this.departmentIds)) {
214
+ $dara.Model.validateArray(this.departmentIds);
215
+ }
216
+ super.validate();
217
+ }
218
+
219
+ constructor(map?: { [key: string]: any }) {
220
+ super(map);
221
+ }
222
+ }
223
+
85
224
  export class UpdateIdentityProviderRequestBody extends $dara.Model {
86
225
  /**
87
226
  * @remarks
88
- * Specifies whether workspace users are allowed to log on through this external identity provider.
227
+ * Specifies whether to allow workspace users to log on through the external identity provider.
89
228
  */
90
229
  loginEnabled?: boolean;
91
230
  /**
92
231
  * @remarks
93
232
  * The new application configuration of the external identity provider. If not specified, the existing configuration remains unchanged.
233
+ *
234
+ * @example
235
+ * {"appSecret":"example-app-secret"}
94
236
  */
95
237
  metadata?: UpdateIdentityProviderRequestBodyMetadata;
96
238
  /**
97
239
  * @remarks
98
- * Specifies whether to enable organization member synchronization. When enabled, the external identity provider synchronizes organization members as workspace users.
240
+ * Currently, only SAML is supported. This parameter may not be returned if no valid configuration is saved. OIDC placeholder initialization is not supported.
241
+ *
242
+ * @example
243
+ * SAML
244
+ */
245
+ protocol?: string;
246
+ /**
247
+ * @remarks
248
+ * The input supports either XML or complete manual entry. Queries return standardized configurations and do not echo the original XML. This parameter can be omitted if it is not configured.
249
+ */
250
+ saml?: UpdateIdentityProviderRequestBodySaml;
251
+ /**
252
+ * @remarks
253
+ * Specifies whether to enable organization member synchronization. After it is enabled, the external identity provider synchronizes organization members as workspace users.
99
254
  */
100
255
  syncEnabled?: boolean;
256
+ /**
257
+ * @remarks
258
+ * Follows the synchronization scope definition by department. If omitted during creation, the default value is AllAuthorized. The first vendor synchronization is determined by syncOnBind. If omitted or set to null during an update, the original value is retained. Updating and saving the scope does not automatically perform full synchronization.
259
+ */
260
+ syncScope?: UpdateIdentityProviderRequestBodySyncScope;
101
261
  static names(): { [key: string]: string } {
102
262
  return {
103
263
  loginEnabled: 'loginEnabled',
104
264
  metadata: 'metadata',
265
+ protocol: 'protocol',
266
+ saml: 'saml',
105
267
  syncEnabled: 'syncEnabled',
268
+ syncScope: 'syncScope',
106
269
  };
107
270
  }
108
271
 
@@ -110,7 +273,10 @@ export class UpdateIdentityProviderRequestBody extends $dara.Model {
110
273
  return {
111
274
  loginEnabled: 'boolean',
112
275
  metadata: UpdateIdentityProviderRequestBodyMetadata,
276
+ protocol: 'string',
277
+ saml: UpdateIdentityProviderRequestBodySaml,
113
278
  syncEnabled: 'boolean',
279
+ syncScope: UpdateIdentityProviderRequestBodySyncScope,
114
280
  };
115
281
  }
116
282
 
@@ -118,6 +284,12 @@ export class UpdateIdentityProviderRequestBody extends $dara.Model {
118
284
  if(this.metadata && typeof (this.metadata as any).validate === 'function') {
119
285
  (this.metadata as any).validate();
120
286
  }
287
+ if(this.saml && typeof (this.saml as any).validate === 'function') {
288
+ (this.saml as any).validate();
289
+ }
290
+ if(this.syncScope && typeof (this.syncScope as any).validate === 'function') {
291
+ (this.syncScope as any).validate();
292
+ }
121
293
  super.validate();
122
294
  }
123
295
 
@@ -129,7 +301,7 @@ export class UpdateIdentityProviderRequestBody extends $dara.Model {
129
301
  export class UpdateIdentityProviderRequest extends $dara.Model {
130
302
  /**
131
303
  * @remarks
132
- * The request body for updating the external identity provider.
304
+ * The request content for updating the external identity provider.
133
305
  */
134
306
  body?: UpdateIdentityProviderRequestBody;
135
307
  static names(): { [key: string]: string } {
@@ -2,10 +2,224 @@
2
2
  import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
+ export class UpdateIdentityProviderResponseBodyDataConfiguration extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * HTTP-Redirect or HTTP-POST. This parameter is required for manual entry. Queries return the short name.
9
+ *
10
+ * @example
11
+ * HTTP-Redirect
12
+ */
13
+ bindingType?: string;
14
+ /**
15
+ * @remarks
16
+ * Required for manual entry. It must be non-empty and up to 2,048 characters in length. Existing configurations do not support replacement. It is different from the local entity ID returned by SP queries.
17
+ *
18
+ * @example
19
+ * https://idp.example.com/entity
20
+ */
21
+ entityId?: string;
22
+ /**
23
+ * @remarks
24
+ * The actual switch value. Valid values: Enabled and Disabled.
25
+ *
26
+ * @example
27
+ * Disabled
28
+ */
29
+ jitProvisionStatus?: string;
30
+ /**
31
+ * @remarks
32
+ * The actual switch value. Valid values: Enabled and Disabled.
33
+ *
34
+ * @example
35
+ * Disabled
36
+ */
37
+ jitUpdateStatus?: string;
38
+ /**
39
+ * @remarks
40
+ * Required for manual entry. It must be an absolute HTTPS URL without user credentials or fragments.
41
+ *
42
+ * @example
43
+ * https://idp.example.com/sso
44
+ */
45
+ loginUrl?: string;
46
+ /**
47
+ * @remarks
48
+ * The actual switch value. Valid values: Enabled and Disabled. This value is not equivalent to the expected loginEnabled value saved in AC.
49
+ *
50
+ * @example
51
+ * Enabled
52
+ */
53
+ ssoStatus?: string;
54
+ static names(): { [key: string]: string } {
55
+ return {
56
+ bindingType: 'bindingType',
57
+ entityId: 'entityId',
58
+ jitProvisionStatus: 'jitProvisionStatus',
59
+ jitUpdateStatus: 'jitUpdateStatus',
60
+ loginUrl: 'loginUrl',
61
+ ssoStatus: 'ssoStatus',
62
+ };
63
+ }
64
+
65
+ static types(): { [key: string]: any } {
66
+ return {
67
+ bindingType: 'string',
68
+ entityId: 'string',
69
+ jitProvisionStatus: 'string',
70
+ jitUpdateStatus: 'string',
71
+ loginUrl: 'string',
72
+ ssoStatus: 'string',
73
+ };
74
+ }
75
+
76
+ validate() {
77
+ super.validate();
78
+ }
79
+
80
+ constructor(map?: { [key: string]: any }) {
81
+ super(map);
82
+ }
83
+ }
84
+
85
+ export class UpdateIdentityProviderResponseBodyDataSaml extends $dara.Model {
86
+ /**
87
+ * @remarks
88
+ * HTTP-Redirect or HTTP-POST. This parameter is required for manual entry. Queries return the short name.
89
+ *
90
+ * @example
91
+ * HTTP-Redirect
92
+ */
93
+ bindingType?: string;
94
+ /**
95
+ * @remarks
96
+ * Required for manual entry. It must be non-empty and up to 2,048 characters in length. Existing configurations do not support replacement. It is different from the local entity ID returned by SP queries.
97
+ *
98
+ * @example
99
+ * https://idp.example.com/entity
100
+ */
101
+ entityId?: string;
102
+ /**
103
+ * @remarks
104
+ * Can be set independently. If omitted during an update, the existing value is retained. If omitted for the first time, the default value is false. A valid SAML configuration is required.
105
+ *
106
+ * @example
107
+ * false
108
+ */
109
+ jitProvisionEnabled?: boolean;
110
+ /**
111
+ * @remarks
112
+ * Can be set independently. If omitted during an update, the existing value is retained. If omitted for the first time, the default value is false. A valid SAML configuration is required.
113
+ *
114
+ * @example
115
+ * false
116
+ */
117
+ jitUpdateEnabled?: boolean;
118
+ /**
119
+ * @remarks
120
+ * Required for manual entry. It must be an absolute HTTPS URL without user credentials or fragments.
121
+ *
122
+ * @example
123
+ * https://idp.example.com/sso
124
+ */
125
+ loginUrl?: string;
126
+ /**
127
+ * @remarks
128
+ * Required for manual entry. It must be a non-empty array using PEM X.509 certificate text. The current validity period is validated, and up to 10 certificates are supported.
129
+ *
130
+ * @example
131
+ * ["-----BEGIN CERTIFICATE-----\\\\nMIICwDCCAaigAwIBAgIULlsHLfcADyBax5ZtFlj+YGzZVo0wDQYJKoZIhvcNAQEL\\\\nBQAwGjEYMBYGA1UEAwwPaWRwLmV4YW1wbGUuY29tMB4XDTI2MDEwMTAwMDAwMFoX\\\\nDTM2MDEwMTAwMDAwMFowGjEYMBYGA1UEAwwPaWRwLmV4YW1wbGUuY29tMIIBIjAN\\\\nBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAto0DN0W1CrPRzK9QZ9A1aApb4Lg8\\\\noGlp2c0PbN3LokXe/HzwxCMXx65IDnrenttxzTwp9BgUnUN/3LRzWaOL2UQ/vNYN\\\\nW9LFLkI1T64UPyI7eyi28YlALhb41xkYhEp7rz+MjqifBzVZeTDUxBYtbK2hAhbY\\\\nEL1+udwsXEx0KB7xuQ/rbI2OKeqAEAD1tfYg7T/SM2wrXNYhx+o1HtchM4/0I8Ok\\\\nkk27JQ4y3ofzC5sTySmFF1Y7XcpSd+5WSyazedhkAieo8AB01DkJV6nnKfH8sH0E\\\\nBsnH3FP8FhqCLrIeEkjX9B9OcIRLGjiZqx4u/ryW1QhMldnv+pFfNjWy/wIDAQAB\\\\nMA0GCSqGSIb3DQEBCwUAA4IBAQC1hSQG8AwtGOoX2gKBK4Hi5XBrBreij8WlLTUW\\\\nld0FINQ0Rg84f/27CjDthywj6wgxCesCuOVFhpxQa1UacsP/Gcai1aKABtLWImca\\\\nWECRYK5gDkwhTMFKM9mXA26hH1l4v/UR2iTpEK9H78egC4W7bs2LDTpPryuaNKTq\\\\nP2O0tMbNkAHB8yecz5LxHXnxadL9Egow25g2RClvpifWqDnuS9TSbKkIWLcPLjoc\\\\nJj2K9ILpBwhXiXi/BiSgyYTLiYvVvih9vX4s+hKGZNJc0j92YLiOHDF0XH1oxgdV\\\\njfTmRiedeb2VZJZElptD92z0AqFR7z2d5B+OqpPA2gjuMLV5\\\\n-----END CERTIFICATE-----"]
132
+ */
133
+ x509Certificates?: string[];
134
+ static names(): { [key: string]: string } {
135
+ return {
136
+ bindingType: 'bindingType',
137
+ entityId: 'entityId',
138
+ jitProvisionEnabled: 'jitProvisionEnabled',
139
+ jitUpdateEnabled: 'jitUpdateEnabled',
140
+ loginUrl: 'loginUrl',
141
+ x509Certificates: 'x509Certificates',
142
+ };
143
+ }
144
+
145
+ static types(): { [key: string]: any } {
146
+ return {
147
+ bindingType: 'string',
148
+ entityId: 'string',
149
+ jitProvisionEnabled: 'boolean',
150
+ jitUpdateEnabled: 'boolean',
151
+ loginUrl: 'string',
152
+ x509Certificates: { 'type': 'array', 'itemType': 'string' },
153
+ };
154
+ }
155
+
156
+ validate() {
157
+ if(Array.isArray(this.x509Certificates)) {
158
+ $dara.Model.validateArray(this.x509Certificates);
159
+ }
160
+ super.validate();
161
+ }
162
+
163
+ constructor(map?: { [key: string]: any }) {
164
+ super(map);
165
+ }
166
+ }
167
+
168
+ export class UpdateIdentityProviderResponseBodyDataSyncScope extends $dara.Model {
169
+ /**
170
+ * @remarks
171
+ * When the mode is SelectedDepartments, it must contain at least one non-empty department ID, which should be obtained from ListIdentityProviderDepartments. When the mode is AllAuthorized, pass an empty array or omit this parameter.
172
+ *
173
+ * @example
174
+ * ["10001"]
175
+ */
176
+ departmentIds?: string[];
177
+ /**
178
+ * @remarks
179
+ * Valid values:
180
+ * - AllAuthorized: The full authorization scope, subject to the application address book authorization limits.
181
+ * - SelectedDepartments: The selected departments and all their sub-departments.
182
+ * When explicitly submitting syncScope, you must provide a valid mode, which is validated by the backend.
183
+ *
184
+ * @example
185
+ * SelectedDepartments
186
+ */
187
+ mode?: string;
188
+ static names(): { [key: string]: string } {
189
+ return {
190
+ departmentIds: 'departmentIds',
191
+ mode: 'mode',
192
+ };
193
+ }
194
+
195
+ static types(): { [key: string]: any } {
196
+ return {
197
+ departmentIds: { 'type': 'array', 'itemType': 'string' },
198
+ mode: 'string',
199
+ };
200
+ }
201
+
202
+ validate() {
203
+ if(Array.isArray(this.departmentIds)) {
204
+ $dara.Model.validateArray(this.departmentIds);
205
+ }
206
+ super.validate();
207
+ }
208
+
209
+ constructor(map?: { [key: string]: any }) {
210
+ super(map);
211
+ }
212
+ }
213
+
5
214
  export class UpdateIdentityProviderResponseBodyData extends $dara.Model {
6
215
  /**
7
216
  * @remarks
8
- * The type of the external identity provider. Valid values: DingTalk, Feishu.
217
+ * The actual SAML configuration is read back on demand only by GetIdentityProvider. SCIM queries and preparations return the actual received status and URL.
218
+ */
219
+ configuration?: UpdateIdentityProviderResponseBodyDataConfiguration;
220
+ /**
221
+ * @remarks
222
+ * The type of the external identity provider. Valid values: DingTalk and Feishu.
9
223
  *
10
224
  * @example
11
225
  * DingTalk
@@ -13,21 +227,25 @@ export class UpdateIdentityProviderResponseBodyData extends $dara.Model {
13
227
  identityProviderType?: string;
14
228
  /**
15
229
  * @remarks
16
- * Specifies whether workspace users are allowed to log on through this external identity provider.
230
+ * Specifies whether to allow workspace users to log on through the external identity provider.
17
231
  */
18
232
  loginEnabled?: boolean;
19
233
  /**
20
234
  * @remarks
21
- * The binding status. Valid values:
22
- * - CONFIGURED: The configuration has been accepted and is waiting for user pool provisioning.
23
- * - SYNCING: Organization members are being synchronized.
24
- * - SYNCED: Organization member synchronization is complete.
25
- * - READY: The binding is active.
26
- * - SYNC_FAILED: Organization member synchronization failed.
27
- * - UPDATING: The configuration is being updated.
28
- * - UPDATE_FAILED: The configuration update failed.
29
- * - DISCONNECTING: The binding is being removed.
30
- * - DISCONNECT_FAILED: The unbinding failed.
235
+ * Currently, only SAML is supported. This parameter may not be returned if no valid configuration is saved. OIDC placeholder initialization is not supported.
236
+ *
237
+ * @example
238
+ * SAML
239
+ */
240
+ protocol?: string;
241
+ /**
242
+ * @remarks
243
+ * The input supports either XML or complete manual entry. Queries return standardized configurations and do not echo the original XML. This parameter can be omitted if it is not configured.
244
+ */
245
+ saml?: UpdateIdentityProviderResponseBodyDataSaml;
246
+ /**
247
+ * @remarks
248
+ * The binding status. Valid values: CONFIGURED (the configuration is accepted and waiting for the user pool to be activated), SYNCING (synchronizing organization members), SYNCED (organization member synchronization is completed), READY (the binding is in effect), SYNC_FAILED (organization member synchronization failed), UPDATING (updating the configuration), UPDATE_FAILED (configuration update failed), DISCONNECTING (disconnecting), and DISCONNECT_FAILED (disconnection failed).
31
249
  *
32
250
  * @example
33
251
  * READY
@@ -35,9 +253,14 @@ export class UpdateIdentityProviderResponseBodyData extends $dara.Model {
35
253
  status?: string;
36
254
  /**
37
255
  * @remarks
38
- * Specifies whether to enable organization member synchronization. When enabled, the external identity provider synchronizes organization members as workspace users.
256
+ * Specifies whether to enable organization member synchronization. After it is enabled, the external identity provider synchronizes organization members as workspace users.
39
257
  */
40
258
  syncEnabled?: boolean;
259
+ /**
260
+ * @remarks
261
+ * Follows the synchronization scope definition by department. If omitted during creation, the default value is AllAuthorized. The first vendor synchronization is determined by syncOnBind. If omitted or set to null during an update, the original value is retained. Updating and saving the scope does not automatically perform full synchronization.
262
+ */
263
+ syncScope?: UpdateIdentityProviderResponseBodyDataSyncScope;
41
264
  /**
42
265
  * @remarks
43
266
  * The workspace ID.
@@ -48,25 +271,42 @@ export class UpdateIdentityProviderResponseBodyData extends $dara.Model {
48
271
  workspaceId?: string;
49
272
  static names(): { [key: string]: string } {
50
273
  return {
274
+ configuration: 'configuration',
51
275
  identityProviderType: 'identityProviderType',
52
276
  loginEnabled: 'loginEnabled',
277
+ protocol: 'protocol',
278
+ saml: 'saml',
53
279
  status: 'status',
54
280
  syncEnabled: 'syncEnabled',
281
+ syncScope: 'syncScope',
55
282
  workspaceId: 'workspaceId',
56
283
  };
57
284
  }
58
285
 
59
286
  static types(): { [key: string]: any } {
60
287
  return {
288
+ configuration: UpdateIdentityProviderResponseBodyDataConfiguration,
61
289
  identityProviderType: 'string',
62
290
  loginEnabled: 'boolean',
291
+ protocol: 'string',
292
+ saml: UpdateIdentityProviderResponseBodyDataSaml,
63
293
  status: 'string',
64
294
  syncEnabled: 'boolean',
295
+ syncScope: UpdateIdentityProviderResponseBodyDataSyncScope,
65
296
  workspaceId: 'string',
66
297
  };
67
298
  }
68
299
 
69
300
  validate() {
301
+ if(this.configuration && typeof (this.configuration as any).validate === 'function') {
302
+ (this.configuration as any).validate();
303
+ }
304
+ if(this.saml && typeof (this.saml as any).validate === 'function') {
305
+ (this.saml as any).validate();
306
+ }
307
+ if(this.syncScope && typeof (this.syncScope as any).validate === 'function') {
308
+ (this.syncScope as any).validate();
309
+ }
70
310
  super.validate();
71
311
  }
72
312
 
@@ -86,7 +326,7 @@ export class UpdateIdentityProviderResponseBody extends $dara.Model {
86
326
  code?: string;
87
327
  /**
88
328
  * @remarks
89
- * The binding information of the external identity provider after the update.
329
+ * The updated external identity provider binding information.
90
330
  */
91
331
  data?: UpdateIdentityProviderResponseBodyData;
92
332
  /**
@@ -99,7 +339,7 @@ export class UpdateIdentityProviderResponseBody extends $dara.Model {
99
339
  httpStatusCode?: number;
100
340
  /**
101
341
  * @remarks
102
- * The response message. An error description is returned if the request failed.
342
+ * The response message. An error description is returned when the request fails.
103
343
  *
104
344
  * @example
105
345
  * success
@@ -115,7 +355,7 @@ export class UpdateIdentityProviderResponseBody extends $dara.Model {
115
355
  requestId?: string;
116
356
  /**
117
357
  * @remarks
118
- * Indicates whether the request was successful.
358
+ * Indicates whether the request is successful.
119
359
  */
120
360
  success?: boolean;
121
361
  static names(): { [key: string]: string } {
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class UpdateIdentityProviderShrinkRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The request body for updating the external identity provider.
8
+ * The request content for updating the external identity provider.
9
9
  */
10
10
  bodyShrink?: string;
11
11
  static names(): { [key: string]: string } {
@@ -5,12 +5,12 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class UpdateMemoryRequestBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The updated string key-value metadata. You must provide at least one of Metadata or Text. A maximum of 16 keys are allowed. Each key can be up to 64 characters in length, and each value can be up to 1,024 characters in length.
8
+ * The updated string key-value metadata. You must provide at least one of Metadata or Text. A maximum of 16 keys are allowed. The maximum length of a key is 64 characters, and the maximum length of a value is 1,024 characters.
9
9
  */
10
10
  metadata?: { [key: string]: string };
11
11
  /**
12
12
  * @remarks
13
- * The updated memory text. You must provide at least one of Text or Metadata. The text cannot exceed 32,000 UTF-8 bytes.
13
+ * The updated memory text. You must provide at least one of Text or Metadata. The maximum size is 32,000 UTF-8 bytes.
14
14
  *
15
15
  * @example
16
16
  * The user enjoys hiking on weekends
@@ -45,7 +45,7 @@ export class UpdateMemoryRequestBody extends $dara.Model {
45
45
  export class UpdateMemoryRequest extends $dara.Model {
46
46
  /**
47
47
  * @remarks
48
- * The request to update a memory.
48
+ * The update memory request.
49
49
  *
50
50
  * This parameter is required.
51
51
  */
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class UpdateMemoryShrinkRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The request to update a memory.
8
+ * The update memory request.
9
9
  *
10
10
  * This parameter is required.
11
11
  */