@alicloud/agentcore20260804 2.5.0 → 3.0.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 (329) hide show
  1. package/dist/client.d.ts +1222 -72
  2. package/dist/client.js +1609 -72
  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 +43 -43
  8. package/dist/models/CreateCustomAgentResponseBody.d.ts +118 -61
  9. package/dist/models/CreateCustomAgentResponseBody.js +33 -1
  10. package/dist/models/CreateCustomAgentResponseBody.js.map +1 -1
  11. package/dist/models/CreateIdentityProviderRequest.d.ts +51 -10
  12. package/dist/models/CreateIdentityProviderRequest.js +32 -1
  13. package/dist/models/CreateIdentityProviderRequest.js.map +1 -1
  14. package/dist/models/CreateIdentityProviderResponseBody.d.ts +150 -8
  15. package/dist/models/CreateIdentityProviderResponseBody.js +95 -1
  16. package/dist/models/CreateIdentityProviderResponseBody.js.map +1 -1
  17. package/dist/models/CreateIdentityProviderScimcredentialRequest.d.ts +13 -0
  18. package/dist/models/CreateIdentityProviderScimcredentialRequest.js +54 -0
  19. package/dist/models/CreateIdentityProviderScimcredentialRequest.js.map +1 -0
  20. package/dist/models/CreateIdentityProviderScimcredentialResponse.d.ts +19 -0
  21. package/dist/models/CreateIdentityProviderScimcredentialResponse.js +69 -0
  22. package/dist/models/CreateIdentityProviderScimcredentialResponse.js.map +1 -0
  23. package/dist/models/CreateIdentityProviderScimcredentialResponseBody.d.ts +157 -0
  24. package/dist/models/CreateIdentityProviderScimcredentialResponseBody.js +146 -0
  25. package/dist/models/CreateIdentityProviderScimcredentialResponseBody.js.map +1 -0
  26. package/dist/models/CreateIdentityProviderShrinkRequest.d.ts +1 -1
  27. package/dist/models/CreateIdentityProviderSyncJobRequest.d.ts +13 -0
  28. package/dist/models/CreateIdentityProviderSyncJobRequest.js +54 -0
  29. package/dist/models/CreateIdentityProviderSyncJobRequest.js.map +1 -0
  30. package/dist/models/CreateIdentityProviderSyncJobResponse.d.ts +19 -0
  31. package/dist/models/CreateIdentityProviderSyncJobResponse.js +69 -0
  32. package/dist/models/CreateIdentityProviderSyncJobResponse.js.map +1 -0
  33. package/dist/models/CreateIdentityProviderSyncJobResponseBody.d.ts +121 -0
  34. package/dist/models/CreateIdentityProviderSyncJobResponseBody.js +100 -0
  35. package/dist/models/CreateIdentityProviderSyncJobResponseBody.js.map +1 -0
  36. package/dist/models/CreateMemoryStoreRequest.d.ts +6 -6
  37. package/dist/models/CreateMemoryStoreResponseBody.d.ts +7 -7
  38. package/dist/models/CreateMemoryStoreShrinkRequest.d.ts +2 -2
  39. package/dist/models/CreateWorkspaceRequest.d.ts +23 -7
  40. package/dist/models/CreateWorkspaceRequest.js +4 -0
  41. package/dist/models/CreateWorkspaceRequest.js.map +1 -1
  42. package/dist/models/CreateWorkspaceResponseBody.d.ts +11 -11
  43. package/dist/models/CreateWorkspaceShrinkRequest.d.ts +1 -1
  44. package/dist/models/DeleteIdentityProviderResponseBody.d.ts +110 -17
  45. package/dist/models/DeleteIdentityProviderResponseBody.js +66 -1
  46. package/dist/models/DeleteIdentityProviderResponseBody.js.map +1 -1
  47. package/dist/models/DeleteIdentityProviderScimcredentialRequest.d.ts +13 -0
  48. package/dist/models/DeleteIdentityProviderScimcredentialRequest.js +54 -0
  49. package/dist/models/DeleteIdentityProviderScimcredentialRequest.js.map +1 -0
  50. package/dist/models/DeleteIdentityProviderScimcredentialResponse.d.ts +19 -0
  51. package/dist/models/DeleteIdentityProviderScimcredentialResponse.js +69 -0
  52. package/dist/models/DeleteIdentityProviderScimcredentialResponse.js.map +1 -0
  53. package/dist/models/DeleteIdentityProviderScimcredentialResponseBody.d.ts +50 -0
  54. package/dist/models/DeleteIdentityProviderScimcredentialResponseBody.js +66 -0
  55. package/dist/models/DeleteIdentityProviderScimcredentialResponseBody.js.map +1 -0
  56. package/dist/models/DeleteMemoryStoreResponseBody.d.ts +3 -3
  57. package/dist/models/GetAgentCodePackageDownloadUrlRequest.d.ts +13 -0
  58. package/dist/models/GetAgentCodePackageDownloadUrlRequest.js +54 -0
  59. package/dist/models/GetAgentCodePackageDownloadUrlRequest.js.map +1 -0
  60. package/dist/models/GetAgentCodePackageDownloadUrlResponse.d.ts +19 -0
  61. package/dist/models/GetAgentCodePackageDownloadUrlResponse.js +69 -0
  62. package/dist/models/GetAgentCodePackageDownloadUrlResponse.js.map +1 -0
  63. package/dist/models/GetAgentCodePackageDownloadUrlResponseBody.d.ts +131 -0
  64. package/dist/models/GetAgentCodePackageDownloadUrlResponseBody.js +104 -0
  65. package/dist/models/GetAgentCodePackageDownloadUrlResponseBody.js.map +1 -0
  66. package/dist/models/GetAgentCodePackageOssRamAuthorizeUrlRequest.d.ts +23 -0
  67. package/dist/models/GetAgentCodePackageOssRamAuthorizeUrlRequest.js +58 -0
  68. package/dist/models/GetAgentCodePackageOssRamAuthorizeUrlRequest.js.map +1 -0
  69. package/dist/models/GetAgentCodePackageOssRamAuthorizeUrlResponse.d.ts +19 -0
  70. package/dist/models/GetAgentCodePackageOssRamAuthorizeUrlResponse.js +69 -0
  71. package/dist/models/GetAgentCodePackageOssRamAuthorizeUrlResponse.js.map +1 -0
  72. package/dist/models/GetAgentCodePackageOssRamAuthorizeUrlResponseBody.d.ts +99 -0
  73. package/dist/models/GetAgentCodePackageOssRamAuthorizeUrlResponseBody.js +96 -0
  74. package/dist/models/GetAgentCodePackageOssRamAuthorizeUrlResponseBody.js.map +1 -0
  75. package/dist/models/GetAgentCodePackageUploadUrlRequest.d.ts +62 -0
  76. package/dist/models/GetAgentCodePackageUploadUrlRequest.js +84 -0
  77. package/dist/models/GetAgentCodePackageUploadUrlRequest.js.map +1 -0
  78. package/dist/models/GetAgentCodePackageUploadUrlResponse.d.ts +19 -0
  79. package/dist/models/GetAgentCodePackageUploadUrlResponse.js +69 -0
  80. package/dist/models/GetAgentCodePackageUploadUrlResponse.js.map +1 -0
  81. package/dist/models/GetAgentCodePackageUploadUrlResponseBody.d.ts +114 -0
  82. package/dist/models/GetAgentCodePackageUploadUrlResponseBody.js +103 -0
  83. package/dist/models/GetAgentCodePackageUploadUrlResponseBody.js.map +1 -0
  84. package/dist/models/GetAgentCodePackageUploadUrlShrinkRequest.d.ts +20 -0
  85. package/dist/models/GetAgentCodePackageUploadUrlShrinkRequest.js +58 -0
  86. package/dist/models/GetAgentCodePackageUploadUrlShrinkRequest.js.map +1 -0
  87. package/dist/models/GetCustomAgentResponseBody.d.ts +105 -48
  88. package/dist/models/GetCustomAgentResponseBody.js +33 -1
  89. package/dist/models/GetCustomAgentResponseBody.js.map +1 -1
  90. package/dist/models/GetIdentityProviderResponseBody.d.ts +183 -9
  91. package/dist/models/GetIdentityProviderResponseBody.js +103 -1
  92. package/dist/models/GetIdentityProviderResponseBody.js.map +1 -1
  93. package/dist/models/GetIdentityProviderScimrequest.d.ts +13 -0
  94. package/dist/models/GetIdentityProviderScimrequest.js +54 -0
  95. package/dist/models/GetIdentityProviderScimrequest.js.map +1 -0
  96. package/dist/models/GetIdentityProviderScimresponse.d.ts +19 -0
  97. package/dist/models/GetIdentityProviderScimresponse.js +69 -0
  98. package/dist/models/GetIdentityProviderScimresponse.js.map +1 -0
  99. package/dist/models/GetIdentityProviderScimresponseBody.d.ts +123 -0
  100. package/dist/models/GetIdentityProviderScimresponseBody.js +118 -0
  101. package/dist/models/GetIdentityProviderScimresponseBody.js.map +1 -0
  102. package/dist/models/GetIdentityProviderServiceProviderRequest.d.ts +23 -0
  103. package/dist/models/GetIdentityProviderServiceProviderRequest.js +58 -0
  104. package/dist/models/GetIdentityProviderServiceProviderRequest.js.map +1 -0
  105. package/dist/models/GetIdentityProviderServiceProviderResponse.d.ts +19 -0
  106. package/dist/models/GetIdentityProviderServiceProviderResponse.js +69 -0
  107. package/dist/models/GetIdentityProviderServiceProviderResponse.js.map +1 -0
  108. package/dist/models/GetIdentityProviderServiceProviderResponseBody.d.ts +99 -0
  109. package/dist/models/GetIdentityProviderServiceProviderResponseBody.js +96 -0
  110. package/dist/models/GetIdentityProviderServiceProviderResponseBody.js.map +1 -0
  111. package/dist/models/GetIdentityProviderSyncJobRequest.d.ts +13 -0
  112. package/dist/models/GetIdentityProviderSyncJobRequest.js +54 -0
  113. package/dist/models/GetIdentityProviderSyncJobRequest.js.map +1 -0
  114. package/dist/models/GetIdentityProviderSyncJobResponse.d.ts +19 -0
  115. package/dist/models/GetIdentityProviderSyncJobResponse.js +69 -0
  116. package/dist/models/GetIdentityProviderSyncJobResponse.js.map +1 -0
  117. package/dist/models/GetIdentityProviderSyncJobResponseBody.d.ts +128 -0
  118. package/dist/models/GetIdentityProviderSyncJobResponseBody.js +100 -0
  119. package/dist/models/GetIdentityProviderSyncJobResponseBody.js.map +1 -0
  120. package/dist/models/GetIdentityProviderSyncScopeRequest.d.ts +13 -0
  121. package/dist/models/GetIdentityProviderSyncScopeRequest.js +54 -0
  122. package/dist/models/GetIdentityProviderSyncScopeRequest.js.map +1 -0
  123. package/dist/models/GetIdentityProviderSyncScopeResponse.d.ts +19 -0
  124. package/dist/models/GetIdentityProviderSyncScopeResponse.js +69 -0
  125. package/dist/models/GetIdentityProviderSyncScopeResponse.js.map +1 -0
  126. package/dist/models/GetIdentityProviderSyncScopeResponseBody.d.ts +177 -0
  127. package/dist/models/GetIdentityProviderSyncScopeResponseBody.js +151 -0
  128. package/dist/models/GetIdentityProviderSyncScopeResponseBody.js.map +1 -0
  129. package/dist/models/GetMemoryResponseBody.d.ts +4 -4
  130. package/dist/models/GetMemoryStoreResponseBody.d.ts +3 -3
  131. package/dist/models/ListAgentCodeRuntimesRequest.d.ts +29 -0
  132. package/dist/models/ListAgentCodeRuntimesRequest.js +60 -0
  133. package/dist/models/ListAgentCodeRuntimesRequest.js.map +1 -0
  134. package/dist/models/ListAgentCodeRuntimesResponse.d.ts +19 -0
  135. package/dist/models/ListAgentCodeRuntimesResponse.js +69 -0
  136. package/dist/models/ListAgentCodeRuntimesResponse.js.map +1 -0
  137. package/dist/models/ListAgentCodeRuntimesResponseBody.d.ts +115 -0
  138. package/dist/models/ListAgentCodeRuntimesResponseBody.js +100 -0
  139. package/dist/models/ListAgentCodeRuntimesResponseBody.js.map +1 -0
  140. package/dist/models/ListCustomAgentsRequest.d.ts +2 -2
  141. package/dist/models/ListCustomAgentsResponseBody.d.ts +221 -25
  142. package/dist/models/ListCustomAgentsResponseBody.js +119 -1
  143. package/dist/models/ListCustomAgentsResponseBody.js.map +1 -1
  144. package/dist/models/ListIdentityProviderDepartmentsRequest.d.ts +37 -0
  145. package/dist/models/ListIdentityProviderDepartmentsRequest.js +62 -0
  146. package/dist/models/ListIdentityProviderDepartmentsRequest.js.map +1 -0
  147. package/dist/models/ListIdentityProviderDepartmentsResponse.d.ts +19 -0
  148. package/dist/models/ListIdentityProviderDepartmentsResponse.js +69 -0
  149. package/dist/models/ListIdentityProviderDepartmentsResponse.js.map +1 -0
  150. package/dist/models/ListIdentityProviderDepartmentsResponseBody.d.ts +137 -0
  151. package/dist/models/ListIdentityProviderDepartmentsResponseBody.js +104 -0
  152. package/dist/models/ListIdentityProviderDepartmentsResponseBody.js.map +1 -0
  153. package/dist/models/ListIdentityProviderScimcredentialsRequest.d.ts +13 -0
  154. package/dist/models/ListIdentityProviderScimcredentialsRequest.js +54 -0
  155. package/dist/models/ListIdentityProviderScimcredentialsRequest.js.map +1 -0
  156. package/dist/models/ListIdentityProviderScimcredentialsResponse.d.ts +19 -0
  157. package/dist/models/ListIdentityProviderScimcredentialsResponse.js +69 -0
  158. package/dist/models/ListIdentityProviderScimcredentialsResponse.js.map +1 -0
  159. package/dist/models/ListIdentityProviderScimcredentialsResponseBody.d.ts +99 -0
  160. package/dist/models/ListIdentityProviderScimcredentialsResponseBody.js +96 -0
  161. package/dist/models/ListIdentityProviderScimcredentialsResponseBody.js.map +1 -0
  162. package/dist/models/ListIdentityProvidersResponseBody.d.ts +187 -25
  163. package/dist/models/ListIdentityProvidersResponseBody.js +103 -1
  164. package/dist/models/ListIdentityProvidersResponseBody.js.map +1 -1
  165. package/dist/models/ListMemoriesResponseBody.d.ts +1 -1
  166. package/dist/models/ListMemorySessionMessagesRequest.d.ts +3 -3
  167. package/dist/models/ListMemorySessionsRequest.d.ts +2 -2
  168. package/dist/models/ListMemorySessionsResponseBody.d.ts +1 -1
  169. package/dist/models/ListMemoryStoresResponseBody.d.ts +2 -2
  170. package/dist/models/PrepareIdentityProviderScimrequest.d.ts +13 -0
  171. package/dist/models/PrepareIdentityProviderScimrequest.js +54 -0
  172. package/dist/models/PrepareIdentityProviderScimrequest.js.map +1 -0
  173. package/dist/models/PrepareIdentityProviderScimresponse.d.ts +19 -0
  174. package/dist/models/PrepareIdentityProviderScimresponse.js +69 -0
  175. package/dist/models/PrepareIdentityProviderScimresponse.js.map +1 -0
  176. package/dist/models/PrepareIdentityProviderScimresponseBody.d.ts +157 -0
  177. package/dist/models/PrepareIdentityProviderScimresponseBody.js +146 -0
  178. package/dist/models/PrepareIdentityProviderScimresponseBody.js.map +1 -0
  179. package/dist/models/SearchMemoriesRequest.d.ts +3 -3
  180. package/dist/models/SearchMemoriesResponseBody.d.ts +3 -3
  181. package/dist/models/UpdateCustomAgentRequest.d.ts +49 -49
  182. package/dist/models/UpdateCustomAgentResponseBody.d.ts +124 -77
  183. package/dist/models/UpdateCustomAgentResponseBody.js +33 -1
  184. package/dist/models/UpdateCustomAgentResponseBody.js.map +1 -1
  185. package/dist/models/UpdateCustomAgentShrinkRequest.d.ts +1 -1
  186. package/dist/models/UpdateIdentityProviderRequest.d.ts +111 -10
  187. package/dist/models/UpdateIdentityProviderRequest.js +67 -1
  188. package/dist/models/UpdateIdentityProviderRequest.js.map +1 -1
  189. package/dist/models/UpdateIdentityProviderResponseBody.d.ts +159 -19
  190. package/dist/models/UpdateIdentityProviderResponseBody.js +95 -1
  191. package/dist/models/UpdateIdentityProviderResponseBody.js.map +1 -1
  192. package/dist/models/UpdateIdentityProviderScimrequest.d.ts +39 -0
  193. package/dist/models/UpdateIdentityProviderScimrequest.js +80 -0
  194. package/dist/models/UpdateIdentityProviderScimrequest.js.map +1 -0
  195. package/dist/models/UpdateIdentityProviderScimresponse.d.ts +19 -0
  196. package/dist/models/UpdateIdentityProviderScimresponse.js +69 -0
  197. package/dist/models/UpdateIdentityProviderScimresponse.js.map +1 -0
  198. package/dist/models/UpdateIdentityProviderScimresponseBody.d.ts +288 -0
  199. package/dist/models/UpdateIdentityProviderScimresponseBody.js +201 -0
  200. package/dist/models/UpdateIdentityProviderScimresponseBody.js.map +1 -0
  201. package/dist/models/UpdateIdentityProviderScimshrinkRequest.d.ts +20 -0
  202. package/dist/models/UpdateIdentityProviderScimshrinkRequest.js +58 -0
  203. package/dist/models/UpdateIdentityProviderScimshrinkRequest.js.map +1 -0
  204. package/dist/models/UpdateIdentityProviderShrinkRequest.d.ts +1 -1
  205. package/dist/models/UpdateMemoryRequest.d.ts +3 -3
  206. package/dist/models/UpdateMemoryShrinkRequest.d.ts +1 -1
  207. package/dist/models/UpdateMemoryStoreRequest.d.ts +2 -2
  208. package/dist/models/UpdateMemoryStoreResponseBody.d.ts +1 -1
  209. package/dist/models/ValidateAgentCodePackageFromOssRequest.d.ts +52 -0
  210. package/dist/models/ValidateAgentCodePackageFromOssRequest.js +82 -0
  211. package/dist/models/ValidateAgentCodePackageFromOssRequest.js.map +1 -0
  212. package/dist/models/ValidateAgentCodePackageFromOssResponse.d.ts +19 -0
  213. package/dist/models/ValidateAgentCodePackageFromOssResponse.js +69 -0
  214. package/dist/models/ValidateAgentCodePackageFromOssResponse.js.map +1 -0
  215. package/dist/models/ValidateAgentCodePackageFromOssResponseBody.d.ts +99 -0
  216. package/dist/models/ValidateAgentCodePackageFromOssResponseBody.js +96 -0
  217. package/dist/models/ValidateAgentCodePackageFromOssResponseBody.js.map +1 -0
  218. package/dist/models/ValidateAgentCodePackageFromOssShrinkRequest.d.ts +20 -0
  219. package/dist/models/ValidateAgentCodePackageFromOssShrinkRequest.js +58 -0
  220. package/dist/models/ValidateAgentCodePackageFromOssShrinkRequest.js.map +1 -0
  221. package/dist/models/VerifyAgentCodePackageOssRamAuthorizationRequest.d.ts +23 -0
  222. package/dist/models/VerifyAgentCodePackageOssRamAuthorizationRequest.js +58 -0
  223. package/dist/models/VerifyAgentCodePackageOssRamAuthorizationRequest.js.map +1 -0
  224. package/dist/models/VerifyAgentCodePackageOssRamAuthorizationResponse.d.ts +19 -0
  225. package/dist/models/VerifyAgentCodePackageOssRamAuthorizationResponse.js +69 -0
  226. package/dist/models/VerifyAgentCodePackageOssRamAuthorizationResponse.js.map +1 -0
  227. package/dist/models/VerifyAgentCodePackageOssRamAuthorizationResponseBody.d.ts +99 -0
  228. package/dist/models/VerifyAgentCodePackageOssRamAuthorizationResponseBody.js +96 -0
  229. package/dist/models/VerifyAgentCodePackageOssRamAuthorizationResponseBody.js.map +1 -0
  230. package/dist/models/model.d.ts +107 -0
  231. package/dist/models/model.js +328 -112
  232. package/dist/models/model.js.map +1 -1
  233. package/package.json +1 -1
  234. package/src/client.ts +1666 -81
  235. package/src/models/AddMemoriesRequest.ts +10 -10
  236. package/src/models/AddMemoriesResponseBody.ts +4 -4
  237. package/src/models/AddMemoriesShrinkRequest.ts +1 -1
  238. package/src/models/CreateCustomAgentRequest.ts +43 -43
  239. package/src/models/CreateCustomAgentResponseBody.ts +141 -61
  240. package/src/models/CreateIdentityProviderRequest.ts +73 -10
  241. package/src/models/CreateIdentityProviderResponseBody.ts +217 -8
  242. package/src/models/CreateIdentityProviderScimcredentialRequest.ts +24 -0
  243. package/src/models/CreateIdentityProviderScimcredentialResponse.ts +40 -0
  244. package/src/models/CreateIdentityProviderScimcredentialResponseBody.ts +231 -0
  245. package/src/models/CreateIdentityProviderShrinkRequest.ts +1 -1
  246. package/src/models/CreateIdentityProviderSyncJobRequest.ts +24 -0
  247. package/src/models/CreateIdentityProviderSyncJobResponse.ts +40 -0
  248. package/src/models/CreateIdentityProviderSyncJobResponseBody.ts +167 -0
  249. package/src/models/CreateMemoryStoreRequest.ts +6 -6
  250. package/src/models/CreateMemoryStoreResponseBody.ts +7 -7
  251. package/src/models/CreateMemoryStoreShrinkRequest.ts +2 -2
  252. package/src/models/CreateWorkspaceRequest.ts +27 -7
  253. package/src/models/CreateWorkspaceResponseBody.ts +11 -11
  254. package/src/models/CreateWorkspaceShrinkRequest.ts +1 -1
  255. package/src/models/DeleteIdentityProviderResponseBody.ts +157 -17
  256. package/src/models/DeleteIdentityProviderScimcredentialRequest.ts +24 -0
  257. package/src/models/DeleteIdentityProviderScimcredentialResponse.ts +40 -0
  258. package/src/models/DeleteIdentityProviderScimcredentialResponseBody.ts +71 -0
  259. package/src/models/DeleteMemoryStoreResponseBody.ts +3 -3
  260. package/src/models/GetAgentCodePackageDownloadUrlRequest.ts +24 -0
  261. package/src/models/GetAgentCodePackageDownloadUrlResponse.ts +40 -0
  262. package/src/models/GetAgentCodePackageDownloadUrlResponseBody.ts +181 -0
  263. package/src/models/GetAgentCodePackageOssRamAuthorizeUrlRequest.ts +36 -0
  264. package/src/models/GetAgentCodePackageOssRamAuthorizeUrlResponse.ts +40 -0
  265. package/src/models/GetAgentCodePackageOssRamAuthorizeUrlResponseBody.ts +141 -0
  266. package/src/models/GetAgentCodePackageUploadUrlRequest.ts +92 -0
  267. package/src/models/GetAgentCodePackageUploadUrlResponse.ts +40 -0
  268. package/src/models/GetAgentCodePackageUploadUrlResponseBody.ts +161 -0
  269. package/src/models/GetAgentCodePackageUploadUrlShrinkRequest.ts +33 -0
  270. package/src/models/GetCustomAgentResponseBody.ts +128 -48
  271. package/src/models/GetIdentityProviderResponseBody.ts +258 -9
  272. package/src/models/GetIdentityProviderScimrequest.ts +24 -0
  273. package/src/models/GetIdentityProviderScimresponse.ts +40 -0
  274. package/src/models/GetIdentityProviderScimresponseBody.ts +178 -0
  275. package/src/models/GetIdentityProviderServiceProviderRequest.ts +36 -0
  276. package/src/models/GetIdentityProviderServiceProviderResponse.ts +40 -0
  277. package/src/models/GetIdentityProviderServiceProviderResponseBody.ts +141 -0
  278. package/src/models/GetIdentityProviderSyncJobRequest.ts +24 -0
  279. package/src/models/GetIdentityProviderSyncJobResponse.ts +40 -0
  280. package/src/models/GetIdentityProviderSyncJobResponseBody.ts +174 -0
  281. package/src/models/GetIdentityProviderSyncScopeRequest.ts +24 -0
  282. package/src/models/GetIdentityProviderSyncScopeResponse.ts +40 -0
  283. package/src/models/GetIdentityProviderSyncScopeResponseBody.ts +256 -0
  284. package/src/models/GetMemoryResponseBody.ts +4 -4
  285. package/src/models/GetMemoryStoreResponseBody.ts +3 -3
  286. package/src/models/ListAgentCodeRuntimesRequest.ts +44 -0
  287. package/src/models/ListAgentCodeRuntimesResponse.ts +40 -0
  288. package/src/models/ListAgentCodeRuntimesResponseBody.ts +161 -0
  289. package/src/models/ListCustomAgentsRequest.ts +2 -2
  290. package/src/models/ListCustomAgentsResponseBody.ts +303 -25
  291. package/src/models/ListIdentityProviderDepartmentsRequest.ts +54 -0
  292. package/src/models/ListIdentityProviderDepartmentsResponse.ts +40 -0
  293. package/src/models/ListIdentityProviderDepartmentsResponseBody.ts +187 -0
  294. package/src/models/ListIdentityProviderScimcredentialsRequest.ts +24 -0
  295. package/src/models/ListIdentityProviderScimcredentialsResponse.ts +40 -0
  296. package/src/models/ListIdentityProviderScimcredentialsResponseBody.ts +141 -0
  297. package/src/models/ListIdentityProvidersResponseBody.ts +262 -25
  298. package/src/models/ListMemoriesResponseBody.ts +1 -1
  299. package/src/models/ListMemorySessionMessagesRequest.ts +3 -3
  300. package/src/models/ListMemorySessionsRequest.ts +2 -2
  301. package/src/models/ListMemorySessionsResponseBody.ts +1 -1
  302. package/src/models/ListMemoryStoresResponseBody.ts +2 -2
  303. package/src/models/PrepareIdentityProviderScimrequest.ts +24 -0
  304. package/src/models/PrepareIdentityProviderScimresponse.ts +40 -0
  305. package/src/models/PrepareIdentityProviderScimresponseBody.ts +231 -0
  306. package/src/models/SearchMemoriesRequest.ts +3 -3
  307. package/src/models/SearchMemoriesResponseBody.ts +3 -3
  308. package/src/models/UpdateCustomAgentRequest.ts +49 -49
  309. package/src/models/UpdateCustomAgentResponseBody.ts +147 -77
  310. package/src/models/UpdateCustomAgentShrinkRequest.ts +1 -1
  311. package/src/models/UpdateIdentityProviderRequest.ts +159 -10
  312. package/src/models/UpdateIdentityProviderResponseBody.ts +226 -19
  313. package/src/models/UpdateIdentityProviderScimrequest.ts +65 -0
  314. package/src/models/UpdateIdentityProviderScimresponse.ts +40 -0
  315. package/src/models/UpdateIdentityProviderScimresponseBody.ts +408 -0
  316. package/src/models/UpdateIdentityProviderScimshrinkRequest.ts +33 -0
  317. package/src/models/UpdateIdentityProviderShrinkRequest.ts +1 -1
  318. package/src/models/UpdateMemoryRequest.ts +3 -3
  319. package/src/models/UpdateMemoryShrinkRequest.ts +1 -1
  320. package/src/models/UpdateMemoryStoreRequest.ts +2 -2
  321. package/src/models/UpdateMemoryStoreResponseBody.ts +1 -1
  322. package/src/models/ValidateAgentCodePackageFromOssRequest.ts +80 -0
  323. package/src/models/ValidateAgentCodePackageFromOssResponse.ts +40 -0
  324. package/src/models/ValidateAgentCodePackageFromOssResponseBody.ts +141 -0
  325. package/src/models/ValidateAgentCodePackageFromOssShrinkRequest.ts +33 -0
  326. package/src/models/VerifyAgentCodePackageOssRamAuthorizationRequest.ts +36 -0
  327. package/src/models/VerifyAgentCodePackageOssRamAuthorizationResponse.ts +40 -0
  328. package/src/models/VerifyAgentCodePackageOssRamAuthorizationResponseBody.ts +141 -0
  329. package/src/models/model.ts +107 -0
@@ -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 Lark application. If this parameter is omitted during an update, the existing value is retained. If explicitly submitted, it must be a non-empty value. The merged configuration for Lark must include this field.
9
9
  *
10
10
  * @example
11
11
  * cli_exampleappid01
@@ -13,7 +13,7 @@ export class UpdateIdentityProviderRequestBodyMetadata extends $dara.Model {
13
13
  appId?: string;
14
14
  /**
15
15
  * @remarks
16
- * The AppKey of the DingTalk application. This parameter is required when the binding type is DingTalk.
16
+ * The AppKey of the DingTalk application. If this parameter is omitted during an update, the existing value is retained. If explicitly submitted, it must be a non-empty value. The merged configuration for DingTalk must include this field.
17
17
  *
18
18
  * @example
19
19
  * dingexampleappkey01
@@ -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
+ * The AppSecret of the DingTalk or Lark application. If this parameter is omitted during an update, the existing secret is retained and does not need to be retransmitted each time. If explicitly submitted, it must be a non-empty value, and the merged configuration must include this field. This is sensitive input and is not echoed in queries. The example is a fictitious value.
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 organization to which the DingTalk application belongs. If this parameter is omitted during an update, the existing value is retained. If explicitly submitted, it must be a non-empty value and must match the organization to which the application belongs. The merged configuration for DingTalk must include this field.
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 encryption key for vendor event callbacks, which must be consistent with the vendor application configuration. If this parameter is omitted during an update, the existing value is retained. When incremental synchronization is enabled, the merged configuration must include this field. This is sensitive input and is not echoed in queries.
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 vendor event callbacks, which must be consistent with the vendor application configuration. If this parameter is omitted during an update, the existing value is retained. When incremental synchronization is enabled, the merged configuration must include this field. This is sensitive input and is not echoed in queries.
49
49
  *
50
50
  * @example
51
51
  * example-verification-token
@@ -82,27 +82,167 @@ export class UpdateIdentityProviderRequestBodyMetadata extends $dara.Model {
82
82
  }
83
83
  }
84
84
 
85
+ export class UpdateIdentityProviderRequestBodySaml extends $dara.Model {
86
+ /**
87
+ * @remarks
88
+ * The binding type for manual SAML configuration. HTTP-Redirect and HTTP-POST are supported. This parameter must be submitted together with entityId, loginUrl, and x509Certificates, and cannot be mixed with metadataXml.
89
+ *
90
+ * @example
91
+ * HTTP-Redirect
92
+ */
93
+ bindingType?: string;
94
+ /**
95
+ * @remarks
96
+ * The entity ID of the enterprise IdP. This parameter is required for manual configuration. It must be non-empty and up to 2,048 characters, and cannot be changed after saving. It must be submitted together with loginUrl, bindingType, and x509Certificates, and cannot be mixed with metadataXml.
97
+ *
98
+ * @example
99
+ * https://idp.example.com/entity
100
+ */
101
+ entityId?: string;
102
+ /**
103
+ * @remarks
104
+ * The SSO logon URL of the enterprise IdP. This parameter is required for manual configuration. It must be an absolute HTTPS URL without user credentials and fragments. It must be submitted together with entityId, bindingType, and x509Certificates, and cannot be mixed with metadataXml.
105
+ *
106
+ * @example
107
+ * https://idp.example.com/sso
108
+ */
109
+ loginUrl?: string;
110
+ /**
111
+ * @remarks
112
+ * The original SAML metadata XML text of the enterprise IdP, not a URL or file path. The maximum size is 1 MiB. It must contain a single EntityDescriptor. DTDs and external entities are prohibited. It cannot be mixed with the four manual configuration fields. After saving, queries return the standardized configuration and do not echo the original XML text.
113
+ *
114
+ * @example
115
+ * <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>
116
+ */
117
+ metadataXml?: string;
118
+ /**
119
+ * @remarks
120
+ * The list of X.509 signing certificates for the enterprise IdP. For manual configuration, a non-empty list must be provided, with a maximum of 10 certificates. The certificates must be valid. This parameter must be submitted together with entityId, loginUrl, and bindingType, and cannot be mixed with metadataXml.
121
+ *
122
+ * @example
123
+ * ["-----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-----"]
124
+ */
125
+ x509Certificates?: string[];
126
+ static names(): { [key: string]: string } {
127
+ return {
128
+ bindingType: 'bindingType',
129
+ entityId: 'entityId',
130
+ loginUrl: 'loginUrl',
131
+ metadataXml: 'metadataXml',
132
+ x509Certificates: 'x509Certificates',
133
+ };
134
+ }
135
+
136
+ static types(): { [key: string]: any } {
137
+ return {
138
+ bindingType: 'string',
139
+ entityId: 'string',
140
+ loginUrl: 'string',
141
+ metadataXml: 'string',
142
+ x509Certificates: { 'type': 'array', 'itemType': 'string' },
143
+ };
144
+ }
145
+
146
+ validate() {
147
+ if(Array.isArray(this.x509Certificates)) {
148
+ $dara.Model.validateArray(this.x509Certificates);
149
+ }
150
+ super.validate();
151
+ }
152
+
153
+ constructor(map?: { [key: string]: any }) {
154
+ super(map);
155
+ }
156
+ }
157
+
158
+ export class UpdateIdentityProviderRequestBodySyncScope extends $dara.Model {
159
+ /**
160
+ * @remarks
161
+ * The list of department IDs in the synchronization scope, obtained from ListIdentityProviderDepartments. In SelectedDepartments mode, at least one non-empty department ID must be provided. In AllAuthorized mode, this parameter should be omitted or an empty array should be passed.
162
+ *
163
+ * @example
164
+ * ["10001"]
165
+ */
166
+ departmentIds?: string[];
167
+ /**
168
+ * @remarks
169
+ * The synchronization scope mode. AllAuthorized: all members within the authorization scope of the application address book. SelectedDepartments: the selected departments and all their sub-departments. A valid mode must be provided when syncScope is explicitly submitted.
170
+ *
171
+ * @example
172
+ * SelectedDepartments
173
+ */
174
+ mode?: string;
175
+ static names(): { [key: string]: string } {
176
+ return {
177
+ departmentIds: 'departmentIds',
178
+ mode: 'mode',
179
+ };
180
+ }
181
+
182
+ static types(): { [key: string]: any } {
183
+ return {
184
+ departmentIds: { 'type': 'array', 'itemType': 'string' },
185
+ mode: 'string',
186
+ };
187
+ }
188
+
189
+ validate() {
190
+ if(Array.isArray(this.departmentIds)) {
191
+ $dara.Model.validateArray(this.departmentIds);
192
+ }
193
+ super.validate();
194
+ }
195
+
196
+ constructor(map?: { [key: string]: any }) {
197
+ super(map);
198
+ }
199
+ }
200
+
85
201
  export class UpdateIdentityProviderRequestBody extends $dara.Model {
86
202
  /**
87
203
  * @remarks
88
- * Specifies whether workspace users are allowed to log on through this external identity provider.
204
+ * Specifies whether to allow logon by using this identity provider. If this parameter is omitted or set to null during an update, the original value is retained. For CustomSSO, a valid SAML configuration must exist before logon is enabled. Disabling logon does not delete the saved SAML or SCIM configurations.
89
205
  */
90
206
  loginEnabled?: boolean;
91
207
  /**
92
208
  * @remarks
93
- * The new application configuration of the external identity provider. If not specified, the existing configuration remains unchanged.
209
+ * Applies only to DingTalk and Lark. The application configuration is merged by field. Omitted fields and existing keys retain their original values. Explicitly submitted fields must not be null, empty strings, or blank strings. The merged configuration must meet the complete configuration requirements of the vendor. CustomSSO does not accept this field.
210
+ *
211
+ * @example
212
+ * {"appSecret":"example-app-secret"}
94
213
  */
95
214
  metadata?: UpdateIdentityProviderRequestBodyMetadata;
96
215
  /**
97
216
  * @remarks
98
- * Specifies whether to enable organization member synchronization. When enabled, the external identity provider synchronizes organization members as workspace users.
217
+ * The logon protocol, which applies only to CustomSSO. Currently, only SAML is supported. DingTalk and Lark do not accept this field. If submitted with a non-empty saml configuration, this field can be omitted and the server processes it as SAML.
218
+ *
219
+ * @example
220
+ * SAML
221
+ */
222
+ protocol?: string;
223
+ /**
224
+ * @remarks
225
+ * Applies only to CustomSSO. You can either provide metadataXml or provide the four complete manual configuration fields. The two methods cannot be mixed. If a valid configuration already exists, you can also modify only the JIT switches. Saving the configuration does not automatically enable logon.
226
+ */
227
+ saml?: UpdateIdentityProviderRequestBodySaml;
228
+ /**
229
+ * @remarks
230
+ * Applies only to DingTalk and Lark. Controls the incremental synchronization of subsequent address book change events. If this parameter is omitted or set to null during an update, the original value is retained. It does not control the initial synchronization or manual synchronization. When enabled, the merged metadata must include encryptKey and verificationToken. For CustomSSO, use UpdateIdentityProviderSCIM to manage the synchronization switch.
99
231
  */
100
232
  syncEnabled?: boolean;
233
+ /**
234
+ * @remarks
235
+ * The address book synchronization scope, which applies only to DingTalk and Lark. If this parameter is omitted or set to null, the current scope is retained. Saving the scope does not automatically trigger a full synchronization. CustomSSO does not accept this field.
236
+ */
237
+ syncScope?: UpdateIdentityProviderRequestBodySyncScope;
101
238
  static names(): { [key: string]: string } {
102
239
  return {
103
240
  loginEnabled: 'loginEnabled',
104
241
  metadata: 'metadata',
242
+ protocol: 'protocol',
243
+ saml: 'saml',
105
244
  syncEnabled: 'syncEnabled',
245
+ syncScope: 'syncScope',
106
246
  };
107
247
  }
108
248
 
@@ -110,7 +250,10 @@ export class UpdateIdentityProviderRequestBody extends $dara.Model {
110
250
  return {
111
251
  loginEnabled: 'boolean',
112
252
  metadata: UpdateIdentityProviderRequestBodyMetadata,
253
+ protocol: 'string',
254
+ saml: UpdateIdentityProviderRequestBodySaml,
113
255
  syncEnabled: 'boolean',
256
+ syncScope: UpdateIdentityProviderRequestBodySyncScope,
114
257
  };
115
258
  }
116
259
 
@@ -118,6 +261,12 @@ export class UpdateIdentityProviderRequestBody extends $dara.Model {
118
261
  if(this.metadata && typeof (this.metadata as any).validate === 'function') {
119
262
  (this.metadata as any).validate();
120
263
  }
264
+ if(this.saml && typeof (this.saml as any).validate === 'function') {
265
+ (this.saml as any).validate();
266
+ }
267
+ if(this.syncScope && typeof (this.syncScope as any).validate === 'function') {
268
+ (this.syncScope as any).validate();
269
+ }
121
270
  super.validate();
122
271
  }
123
272
 
@@ -129,7 +278,7 @@ export class UpdateIdentityProviderRequestBody extends $dara.Model {
129
278
  export class UpdateIdentityProviderRequest extends $dara.Model {
130
279
  /**
131
280
  * @remarks
132
- * The request body for updating the external identity provider.
281
+ * The configuration fields to be modified. For DingTalk and Lark, you must submit at least one of loginEnabled, syncEnabled, metadata, and syncScope. For CustomSSO, use protocol, saml, and loginEnabled. You cannot submit vendor metadata, syncEnabled, or syncScope.
133
282
  */
134
283
  body?: UpdateIdentityProviderRequestBody;
135
284
  static names(): { [key: string]: string } {
@@ -2,10 +2,181 @@
2
2
  import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
+ export class UpdateIdentityProviderResponseBodyDataConfiguration extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The actual SAML binding type saved in the upstream, which is HTTP-Redirect or HTTP-POST.
9
+ *
10
+ * @example
11
+ * HTTP-Redirect
12
+ */
13
+ bindingType?: string;
14
+ /**
15
+ * @remarks
16
+ * The actual enterprise IdP entity ID saved in the upstream.
17
+ *
18
+ * @example
19
+ * https://idp.example.com/entity
20
+ */
21
+ entityId?: string;
22
+ /**
23
+ * @remarks
24
+ * The actual enterprise IdP SSO logon URL saved in the upstream.
25
+ *
26
+ * @example
27
+ * https://idp.example.com/sso
28
+ */
29
+ loginUrl?: string;
30
+ /**
31
+ * @remarks
32
+ * The actual SSO logon status in the upstream. Enabled indicates that it is turned on, and Disabled indicates that it is turned off. This should be evaluated separately from the expected value of loginEnabled.
33
+ *
34
+ * @example
35
+ * Enabled
36
+ */
37
+ ssoStatus?: string;
38
+ static names(): { [key: string]: string } {
39
+ return {
40
+ bindingType: 'bindingType',
41
+ entityId: 'entityId',
42
+ loginUrl: 'loginUrl',
43
+ ssoStatus: 'ssoStatus',
44
+ };
45
+ }
46
+
47
+ static types(): { [key: string]: any } {
48
+ return {
49
+ bindingType: 'string',
50
+ entityId: 'string',
51
+ loginUrl: 'string',
52
+ ssoStatus: 'string',
53
+ };
54
+ }
55
+
56
+ validate() {
57
+ super.validate();
58
+ }
59
+
60
+ constructor(map?: { [key: string]: any }) {
61
+ super(map);
62
+ }
63
+ }
64
+
65
+ export class UpdateIdentityProviderResponseBodyDataSaml extends $dara.Model {
66
+ /**
67
+ * @remarks
68
+ * The saved SAML binding type, which is HTTP-Redirect or HTTP-POST.
69
+ *
70
+ * @example
71
+ * HTTP-Redirect
72
+ */
73
+ bindingType?: string;
74
+ /**
75
+ * @remarks
76
+ * The saved enterprise IdP entity ID, which is different from the entity ID of the service provider (SP).
77
+ *
78
+ * @example
79
+ * https://idp.example.com/entity
80
+ */
81
+ entityId?: string;
82
+ /**
83
+ * @remarks
84
+ * The saved enterprise IdP SSO logon URL.
85
+ *
86
+ * @example
87
+ * https://idp.example.com/sso
88
+ */
89
+ loginUrl?: string;
90
+ /**
91
+ * @remarks
92
+ * The list of saved enterprise IdP X.509 signing certificates.
93
+ *
94
+ * @example
95
+ * ["-----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-----"]
96
+ */
97
+ x509Certificates?: string[];
98
+ static names(): { [key: string]: string } {
99
+ return {
100
+ bindingType: 'bindingType',
101
+ entityId: 'entityId',
102
+ loginUrl: 'loginUrl',
103
+ x509Certificates: 'x509Certificates',
104
+ };
105
+ }
106
+
107
+ static types(): { [key: string]: any } {
108
+ return {
109
+ bindingType: 'string',
110
+ entityId: 'string',
111
+ loginUrl: 'string',
112
+ x509Certificates: { 'type': 'array', 'itemType': 'string' },
113
+ };
114
+ }
115
+
116
+ validate() {
117
+ if(Array.isArray(this.x509Certificates)) {
118
+ $dara.Model.validateArray(this.x509Certificates);
119
+ }
120
+ super.validate();
121
+ }
122
+
123
+ constructor(map?: { [key: string]: any }) {
124
+ super(map);
125
+ }
126
+ }
127
+
128
+ export class UpdateIdentityProviderResponseBodyDataSyncScope extends $dara.Model {
129
+ /**
130
+ * @remarks
131
+ * The list of department IDs in the synchronization scope, obtained from ListIdentityProviderDepartments. In SelectedDepartments mode, at least one non-empty department ID must be provided. In AllAuthorized mode, this parameter should be omitted or an empty array should be passed.
132
+ *
133
+ * @example
134
+ * ["10001"]
135
+ */
136
+ departmentIds?: string[];
137
+ /**
138
+ * @remarks
139
+ * The synchronization scope mode. AllAuthorized: all members within the authorization scope of the application address book. SelectedDepartments: the selected departments and all their sub-departments. A valid mode must be provided when syncScope is explicitly submitted.
140
+ *
141
+ * @example
142
+ * SelectedDepartments
143
+ */
144
+ mode?: string;
145
+ static names(): { [key: string]: string } {
146
+ return {
147
+ departmentIds: 'departmentIds',
148
+ mode: 'mode',
149
+ };
150
+ }
151
+
152
+ static types(): { [key: string]: any } {
153
+ return {
154
+ departmentIds: { 'type': 'array', 'itemType': 'string' },
155
+ mode: 'string',
156
+ };
157
+ }
158
+
159
+ validate() {
160
+ if(Array.isArray(this.departmentIds)) {
161
+ $dara.Model.validateArray(this.departmentIds);
162
+ }
163
+ super.validate();
164
+ }
165
+
166
+ constructor(map?: { [key: string]: any }) {
167
+ super(map);
168
+ }
169
+ }
170
+
5
171
  export class UpdateIdentityProviderResponseBodyData extends $dara.Model {
6
172
  /**
7
173
  * @remarks
8
- * The type of the external identity provider. Valid values: DingTalk, Feishu.
174
+ * The actual SAML configuration read back from the upstream. This update operation does not perform the read-back and usually does not return this field. Use GetIdentityProvider to obtain it.
175
+ */
176
+ configuration?: UpdateIdentityProviderResponseBodyDataConfiguration;
177
+ /**
178
+ * @remarks
179
+ * The type of the identity provider. DingTalk: DingTalk. Feishu: Lark. CustomSSO: custom enterprise identity provider connected through SAML. The value must be the same as the type of the identity provider bound to the current workspace.
9
180
  *
10
181
  * @example
11
182
  * DingTalk
@@ -13,21 +184,35 @@ export class UpdateIdentityProviderResponseBodyData extends $dara.Model {
13
184
  identityProviderType?: string;
14
185
  /**
15
186
  * @remarks
16
- * Specifies whether workspace users are allowed to log on through this external identity provider.
187
+ * The currently saved expected value of the logon switch, which alone does not prove that the upstream logon configuration has taken effect.
17
188
  */
18
189
  loginEnabled?: boolean;
19
190
  /**
20
191
  * @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.
192
+ * The currently saved logon protocol for CustomSSO, which is SAML when configured. This field is not returned for DingTalk or Lark.
193
+ *
194
+ * @example
195
+ * SAML
196
+ */
197
+ protocol?: string;
198
+ /**
199
+ * @remarks
200
+ * The saved standardized SAML configuration for CustomSSO. The original metadata XML is not echoed. This field is not returned if no valid configuration is saved or if the identity provider is DingTalk or Lark. This value is the locally saved configuration and is not equivalent to the actual upstream configuration.
201
+ */
202
+ saml?: UpdateIdentityProviderResponseBodyDataSaml;
203
+ /**
204
+ * @remarks
205
+ * The status of the identity provider resource and logon configuration. Valid values:
206
+ * - CONFIGURED: The configuration is accepted.
27
207
  * - 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.
208
+ * - SYNCING: Synchronization is in progress.
209
+ * - SYNCED: The synchronization phase is completed.
210
+ * - READY: The resource is ready.
211
+ * - SYNC_FAILED: Synchronization failed.
212
+ * - UPDATE_FAILED: The update failed.
213
+ * - DISCONNECTING: Unbinding is in progress.
214
+ * - DISCONNECT_FAILED: Unbinding failed.
215
+ * READY alone does not indicate that users have been imported. Query the SCIM operation results for CustomSSO separately.
31
216
  *
32
217
  * @example
33
218
  * READY
@@ -35,12 +220,17 @@ export class UpdateIdentityProviderResponseBodyData extends $dara.Model {
35
220
  status?: string;
36
221
  /**
37
222
  * @remarks
38
- * Specifies whether to enable organization member synchronization. When enabled, the external identity provider synchronizes organization members as workspace users.
223
+ * The currently saved expected value of the synchronization switch. For DingTalk and Lark, it is used for subsequent address book change events. The SCIM switch for CustomSSO is managed through UpdateIdentityProviderSCIM, and the operation results are queried through GetIdentityProviderSCIM.
39
224
  */
40
225
  syncEnabled?: boolean;
41
226
  /**
42
227
  * @remarks
43
- * The workspace ID.
228
+ * The saved synchronization scope for DingTalk and Lark. The default value for valid historical configurations is AllAuthorized, and this field may not be returned for corrupted historical configurations. This field is not returned for CustomSSO.
229
+ */
230
+ syncScope?: UpdateIdentityProviderResponseBodyDataSyncScope;
231
+ /**
232
+ * @remarks
233
+ * The ID of the workspace to which the identity provider belongs.
44
234
  *
45
235
  * @example
46
236
  * ws-123456
@@ -48,25 +238,42 @@ export class UpdateIdentityProviderResponseBodyData extends $dara.Model {
48
238
  workspaceId?: string;
49
239
  static names(): { [key: string]: string } {
50
240
  return {
241
+ configuration: 'configuration',
51
242
  identityProviderType: 'identityProviderType',
52
243
  loginEnabled: 'loginEnabled',
244
+ protocol: 'protocol',
245
+ saml: 'saml',
53
246
  status: 'status',
54
247
  syncEnabled: 'syncEnabled',
248
+ syncScope: 'syncScope',
55
249
  workspaceId: 'workspaceId',
56
250
  };
57
251
  }
58
252
 
59
253
  static types(): { [key: string]: any } {
60
254
  return {
255
+ configuration: UpdateIdentityProviderResponseBodyDataConfiguration,
61
256
  identityProviderType: 'string',
62
257
  loginEnabled: 'boolean',
258
+ protocol: 'string',
259
+ saml: UpdateIdentityProviderResponseBodyDataSaml,
63
260
  status: 'string',
64
261
  syncEnabled: 'boolean',
262
+ syncScope: UpdateIdentityProviderResponseBodyDataSyncScope,
65
263
  workspaceId: 'string',
66
264
  };
67
265
  }
68
266
 
69
267
  validate() {
268
+ if(this.configuration && typeof (this.configuration as any).validate === 'function') {
269
+ (this.configuration as any).validate();
270
+ }
271
+ if(this.saml && typeof (this.saml as any).validate === 'function') {
272
+ (this.saml as any).validate();
273
+ }
274
+ if(this.syncScope && typeof (this.syncScope as any).validate === 'function') {
275
+ (this.syncScope as any).validate();
276
+ }
70
277
  super.validate();
71
278
  }
72
279
 
@@ -78,7 +285,7 @@ export class UpdateIdentityProviderResponseBodyData extends $dara.Model {
78
285
  export class UpdateIdentityProviderResponseBody extends $dara.Model {
79
286
  /**
80
287
  * @remarks
81
- * The business status code.
288
+ * The business status code of the API request. SUCCESS indicates that the request is successful, but does not mean that the asynchronous configuration or synchronization task is completed.
82
289
  *
83
290
  * @example
84
291
  * SUCCESS
@@ -86,12 +293,12 @@ export class UpdateIdentityProviderResponseBody extends $dara.Model {
86
293
  code?: string;
87
294
  /**
88
295
  * @remarks
89
- * The binding information of the external identity provider after the update.
296
+ * The currently saved identity provider binding information, including the expected configuration and resource status. The actual update may still be executing in the background.
90
297
  */
91
298
  data?: UpdateIdentityProviderResponseBodyData;
92
299
  /**
93
300
  * @remarks
94
- * The HTTP status code.
301
+ * The HTTP status code of the API request, which does not represent the execution result of the background task.
95
302
  *
96
303
  * @example
97
304
  * 200
@@ -99,7 +306,7 @@ export class UpdateIdentityProviderResponseBody extends $dara.Model {
99
306
  httpStatusCode?: number;
100
307
  /**
101
308
  * @remarks
102
- * The response message. An error description is returned if the request failed.
309
+ * The response message of the API request. An error description is returned if the request fails.
103
310
  *
104
311
  * @example
105
312
  * success
@@ -107,7 +314,7 @@ export class UpdateIdentityProviderResponseBody extends $dara.Model {
107
314
  message?: string;
108
315
  /**
109
316
  * @remarks
110
- * The request ID.
317
+ * The unique identifier of the request. Provide this value when you troubleshoot issues.
111
318
  *
112
319
  * @example
113
320
  * request-123456
@@ -115,7 +322,7 @@ export class UpdateIdentityProviderResponseBody extends $dara.Model {
115
322
  requestId?: string;
116
323
  /**
117
324
  * @remarks
118
- * Indicates whether the request was successful.
325
+ * Indicates whether the API request is successful. To check whether the background configuration has taken effect, query the identity provider status separately.
119
326
  */
120
327
  success?: boolean;
121
328
  static names(): { [key: string]: string } {
@@ -0,0 +1,65 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class UpdateIdentityProviderSCIMRequestBody extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * Do not set this parameter to true during CustomSSO initialization. You can only update it later by calling UpdateIdentityProviderSCIM. Determine the result based on operationStatus.
9
+ *
10
+ * This parameter is required.
11
+ */
12
+ syncEnabled?: boolean;
13
+ static names(): { [key: string]: string } {
14
+ return {
15
+ syncEnabled: 'syncEnabled',
16
+ };
17
+ }
18
+
19
+ static types(): { [key: string]: any } {
20
+ return {
21
+ syncEnabled: 'boolean',
22
+ };
23
+ }
24
+
25
+ validate() {
26
+ super.validate();
27
+ }
28
+
29
+ constructor(map?: { [key: string]: any }) {
30
+ super(map);
31
+ }
32
+ }
33
+
34
+ export class UpdateIdentityProviderSCIMRequest extends $dara.Model {
35
+ /**
36
+ * @remarks
37
+ * Submits business parameters as described in this API. The body parameters of the public API are mapped to the backend wrapper by the gateway. Do not mix them with the backend direct connection body wrapper.
38
+ *
39
+ * This parameter is required.
40
+ */
41
+ body?: UpdateIdentityProviderSCIMRequestBody;
42
+ static names(): { [key: string]: string } {
43
+ return {
44
+ body: 'body',
45
+ };
46
+ }
47
+
48
+ static types(): { [key: string]: any } {
49
+ return {
50
+ body: UpdateIdentityProviderSCIMRequestBody,
51
+ };
52
+ }
53
+
54
+ validate() {
55
+ if(this.body && typeof (this.body as any).validate === 'function') {
56
+ (this.body as any).validate();
57
+ }
58
+ super.validate();
59
+ }
60
+
61
+ constructor(map?: { [key: string]: any }) {
62
+ super(map);
63
+ }
64
+ }
65
+