aidp-typescript-client 1.0.2 → 2.0.1

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 (1271) hide show
  1. package/dist/lib/client.d.ts +518 -43
  2. package/dist/lib/client.js +2703 -609
  3. package/dist/lib/client.js.map +1 -1
  4. package/dist/lib/model/agent-collection.d.ts +14 -0
  5. package/dist/lib/model/agent-collection.js +61 -0
  6. package/dist/lib/model/agent-collection.js.map +1 -0
  7. package/dist/lib/model/agent-dependency-item.d.ts +21 -0
  8. package/dist/lib/model/agent-dependency-item.js +19 -0
  9. package/dist/lib/model/agent-dependency-item.js.map +1 -0
  10. package/dist/lib/model/agent-dependency.d.ts +22 -0
  11. package/dist/lib/model/agent-dependency.js +61 -0
  12. package/dist/lib/model/agent-dependency.js.map +1 -0
  13. package/dist/lib/model/agent-deployment-collection.d.ts +14 -0
  14. package/dist/lib/model/agent-deployment-collection.js +61 -0
  15. package/dist/lib/model/agent-deployment-collection.js.map +1 -0
  16. package/dist/lib/model/agent-deployment-summary.d.ts +58 -0
  17. package/dist/lib/model/agent-deployment-summary.js +19 -0
  18. package/dist/lib/model/agent-deployment-summary.js.map +1 -0
  19. package/dist/lib/model/agent-deployment.d.ts +68 -0
  20. package/dist/lib/model/agent-deployment.js +63 -0
  21. package/dist/lib/model/agent-deployment.js.map +1 -0
  22. package/dist/lib/model/agent-diagram-agent-node.d.ts +32 -0
  23. package/dist/lib/model/agent-diagram-agent-node.js +69 -0
  24. package/dist/lib/model/agent-diagram-agent-node.js.map +1 -0
  25. package/dist/lib/model/agent-diagram-custom-tool-node.d.ts +18 -0
  26. package/dist/lib/model/agent-diagram-custom-tool-node.js +53 -0
  27. package/dist/lib/model/agent-diagram-custom-tool-node.js.map +1 -0
  28. package/dist/lib/model/agent-diagram-guardrail-node.d.ts +22 -0
  29. package/dist/lib/model/agent-diagram-guardrail-node.js +53 -0
  30. package/dist/lib/model/agent-diagram-guardrail-node.js.map +1 -0
  31. package/dist/lib/model/agent-diagram-http-tool-node.d.ts +18 -0
  32. package/dist/lib/model/agent-diagram-http-tool-node.js +53 -0
  33. package/dist/lib/model/agent-diagram-http-tool-node.js.map +1 -0
  34. package/dist/lib/model/agent-diagram-mcp-tool-node.d.ts +18 -0
  35. package/dist/lib/model/agent-diagram-mcp-tool-node.js +53 -0
  36. package/dist/lib/model/agent-diagram-mcp-tool-node.js.map +1 -0
  37. package/dist/lib/model/agent-diagram-node.d.ts +73 -0
  38. package/dist/lib/model/agent-diagram-node.js +128 -0
  39. package/dist/lib/model/agent-diagram-node.js.map +1 -0
  40. package/dist/lib/model/agent-diagram-prompt-tool-node.d.ts +18 -0
  41. package/dist/lib/model/agent-diagram-prompt-tool-node.js +53 -0
  42. package/dist/lib/model/agent-diagram-prompt-tool-node.js.map +1 -0
  43. package/dist/lib/model/agent-diagram-rag-tool-node.d.ts +13 -0
  44. package/dist/lib/model/agent-diagram-rag-tool-node.js +59 -0
  45. package/dist/lib/model/agent-diagram-rag-tool-node.js.map +1 -0
  46. package/dist/lib/model/agent-diagram-sql-tool-node.d.ts +18 -0
  47. package/dist/lib/model/agent-diagram-sql-tool-node.js +53 -0
  48. package/dist/lib/model/agent-diagram-sql-tool-node.js.map +1 -0
  49. package/dist/lib/model/agent-diagram-start-node.d.ts +18 -0
  50. package/dist/lib/model/agent-diagram-start-node.js +53 -0
  51. package/dist/lib/model/agent-diagram-start-node.js.map +1 -0
  52. package/dist/lib/model/agent-diagram-supervisor-agent-node.d.ts +38 -0
  53. package/dist/lib/model/agent-diagram-supervisor-agent-node.js +69 -0
  54. package/dist/lib/model/agent-diagram-supervisor-agent-node.js.map +1 -0
  55. package/dist/lib/model/agent-diagram.d.ts +50 -0
  56. package/dist/lib/model/agent-diagram.js +80 -0
  57. package/dist/lib/model/agent-diagram.js.map +1 -0
  58. package/dist/lib/model/agent-edge.d.ts +60 -0
  59. package/dist/lib/model/agent-edge.js +67 -0
  60. package/dist/lib/model/agent-edge.js.map +1 -0
  61. package/dist/lib/model/agent-guardrails-collection.d.ts +14 -0
  62. package/dist/lib/model/agent-guardrails-collection.js +61 -0
  63. package/dist/lib/model/agent-guardrails-collection.js.map +1 -0
  64. package/dist/lib/model/agent-guardrails-summary.d.ts +38 -0
  65. package/dist/lib/model/agent-guardrails-summary.js +61 -0
  66. package/dist/lib/model/agent-guardrails-summary.js.map +1 -0
  67. package/dist/lib/model/agent-info.d.ts +96 -0
  68. package/dist/lib/model/agent-info.js +29 -0
  69. package/dist/lib/model/agent-info.js.map +1 -0
  70. package/dist/lib/model/agent-permission-collection.d.ts +14 -0
  71. package/dist/lib/model/agent-permission-collection.js +61 -0
  72. package/dist/lib/model/agent-permission-collection.js.map +1 -0
  73. package/dist/lib/model/agent-permission-summary.d.ts +52 -0
  74. package/dist/lib/model/agent-permission-summary.js +30 -0
  75. package/dist/lib/model/agent-permission-summary.js.map +1 -0
  76. package/dist/lib/model/agent-privilege-for-manage.d.ts +13 -0
  77. package/dist/lib/model/agent-privilege-for-manage.js +25 -0
  78. package/dist/lib/model/agent-privilege-for-manage.js.map +1 -0
  79. package/dist/lib/model/agent-privilege.d.ts +18 -0
  80. package/dist/lib/model/agent-privilege.js +30 -0
  81. package/dist/lib/model/agent-privilege.js.map +1 -0
  82. package/dist/lib/model/agent-session-collection.d.ts +14 -0
  83. package/dist/lib/model/agent-session-collection.js +61 -0
  84. package/dist/lib/model/agent-session-collection.js.map +1 -0
  85. package/dist/lib/model/agent-session-context.d.ts +11 -0
  86. package/dist/lib/model/agent-session-context.js +59 -0
  87. package/dist/lib/model/agent-session-context.js.map +1 -0
  88. package/dist/lib/model/agent-session-summary.d.ts +58 -0
  89. package/dist/lib/model/agent-session-summary.js +19 -0
  90. package/dist/lib/model/agent-session-summary.js.map +1 -0
  91. package/dist/lib/model/agent-session.d.ts +59 -0
  92. package/dist/lib/model/agent-session.js +59 -0
  93. package/dist/lib/model/agent-session.js.map +1 -0
  94. package/dist/lib/model/agent.d.ts +114 -0
  95. package/dist/lib/model/agent.js +91 -0
  96. package/dist/lib/model/agent.js.map +1 -0
  97. package/dist/lib/model/ai-compute.d.ts +13 -0
  98. package/dist/lib/model/ai-compute.js +59 -0
  99. package/dist/lib/model/ai-compute.js.map +1 -0
  100. package/dist/lib/model/assign-agent-permission-details.d.ts +28 -0
  101. package/dist/lib/model/assign-agent-permission-details.js +65 -0
  102. package/dist/lib/model/assign-agent-permission-details.js.map +1 -0
  103. package/dist/lib/model/assign-table-permission-details.d.ts +8 -0
  104. package/dist/lib/model/assign-table-permission-details.js.map +1 -1
  105. package/dist/lib/model/async-operation-action-type.d.ts +1 -1
  106. package/dist/lib/model/async-operation-action-type.js +1 -1
  107. package/dist/lib/model/async-operation-action-type.js.map +1 -1
  108. package/dist/lib/model/async-operation-resource-type.d.ts +1 -1
  109. package/dist/lib/model/async-operation-resource-type.js +1 -1
  110. package/dist/lib/model/async-operation-resource-type.js.map +1 -1
  111. package/dist/lib/model/audit-log-search-result-summary.d.ts +4 -0
  112. package/dist/lib/model/audit-log-search-result-summary.js.map +1 -1
  113. package/dist/lib/model/auth-type.d.ts +6 -1
  114. package/dist/lib/model/auth-type.js +5 -0
  115. package/dist/lib/model/auth-type.js.map +1 -1
  116. package/dist/lib/model/auth.d.ts +1 -1
  117. package/dist/lib/model/bearer-token-auth.d.ts +1 -1
  118. package/dist/lib/model/chat-message.d.ts +6 -1
  119. package/dist/lib/model/chat-message.js +5 -0
  120. package/dist/lib/model/chat-message.js.map +1 -1
  121. package/dist/lib/model/clear-tool-uses-context-management-details.d.ts +13 -0
  122. package/dist/lib/model/clear-tool-uses-context-management-details.js +19 -0
  123. package/dist/lib/model/clear-tool-uses-context-management-details.js.map +1 -0
  124. package/dist/lib/model/clear-tool-uses-context-management-rule.d.ts +13 -0
  125. package/dist/lib/model/clear-tool-uses-context-management-rule.js +59 -0
  126. package/dist/lib/model/clear-tool-uses-context-management-rule.js.map +1 -0
  127. package/dist/lib/model/cluster-summary.d.ts +3 -2
  128. package/dist/lib/model/cluster-summary.js +4 -0
  129. package/dist/lib/model/cluster-summary.js.map +1 -1
  130. package/dist/lib/model/cluster-type.d.ts +1 -1
  131. package/dist/lib/model/cluster-type.js +1 -1
  132. package/dist/lib/model/cluster-type.js.map +1 -1
  133. package/dist/lib/model/cluster.js +4 -4
  134. package/dist/lib/model/cluster.js.map +1 -1
  135. package/dist/lib/model/content-moderation-category-config.d.ts +5 -5
  136. package/dist/lib/model/content-moderation-category.d.ts +7 -2
  137. package/dist/lib/model/content-moderation-category.js +6 -1
  138. package/dist/lib/model/content-moderation-category.js.map +1 -1
  139. package/dist/lib/model/content-moderation-policy.d.ts +2 -2
  140. package/dist/lib/model/context-management-configuration.d.ts +14 -0
  141. package/dist/lib/model/context-management-configuration.js +61 -0
  142. package/dist/lib/model/context-management-configuration.js.map +1 -0
  143. package/dist/lib/model/context-management-rule.d.ts +10 -0
  144. package/dist/lib/model/context-management-rule.js +72 -0
  145. package/dist/lib/model/context-management-rule.js.map +1 -0
  146. package/dist/lib/model/context-management-strategy.d.ts +15 -0
  147. package/dist/lib/model/context-management-strategy.js +27 -0
  148. package/dist/lib/model/context-management-strategy.js.map +1 -0
  149. package/dist/lib/model/copy-agent-details.d.ts +25 -0
  150. package/dist/lib/model/copy-agent-details.js +19 -0
  151. package/dist/lib/model/copy-agent-details.js.map +1 -0
  152. package/dist/lib/model/create-agent-details.d.ts +46 -0
  153. package/dist/lib/model/create-agent-details.js +76 -0
  154. package/dist/lib/model/create-agent-details.js.map +1 -0
  155. package/dist/lib/model/create-agent-diagram-agent-node-details.d.ts +28 -0
  156. package/dist/lib/model/create-agent-diagram-agent-node-details.js +69 -0
  157. package/dist/lib/model/create-agent-diagram-agent-node-details.js.map +1 -0
  158. package/dist/lib/model/create-agent-diagram-custom-tool-node-details.d.ts +23 -0
  159. package/dist/lib/model/create-agent-diagram-custom-tool-node-details.js +59 -0
  160. package/dist/lib/model/create-agent-diagram-custom-tool-node-details.js.map +1 -0
  161. package/dist/lib/model/create-agent-diagram-http-tool-node-details.d.ts +23 -0
  162. package/dist/lib/model/create-agent-diagram-http-tool-node-details.js +59 -0
  163. package/dist/lib/model/create-agent-diagram-http-tool-node-details.js.map +1 -0
  164. package/dist/lib/model/create-agent-diagram-mcp-tool-node-details.d.ts +23 -0
  165. package/dist/lib/model/create-agent-diagram-mcp-tool-node-details.js +59 -0
  166. package/dist/lib/model/create-agent-diagram-mcp-tool-node-details.js.map +1 -0
  167. package/dist/lib/model/create-agent-diagram-node-details.d.ts +52 -0
  168. package/dist/lib/model/create-agent-diagram-node-details.js +96 -0
  169. package/dist/lib/model/create-agent-diagram-node-details.js.map +1 -0
  170. package/dist/lib/model/create-agent-diagram-prompt-tool-node-details.d.ts +23 -0
  171. package/dist/lib/model/create-agent-diagram-prompt-tool-node-details.js +59 -0
  172. package/dist/lib/model/create-agent-diagram-prompt-tool-node-details.js.map +1 -0
  173. package/dist/lib/model/create-agent-diagram-rag-tool-node-details.d.ts +18 -0
  174. package/dist/lib/model/create-agent-diagram-rag-tool-node-details.js +63 -0
  175. package/dist/lib/model/create-agent-diagram-rag-tool-node-details.js.map +1 -0
  176. package/dist/lib/model/create-agent-diagram-sql-tool-node-details.d.ts +23 -0
  177. package/dist/lib/model/create-agent-diagram-sql-tool-node-details.js +59 -0
  178. package/dist/lib/model/create-agent-diagram-sql-tool-node-details.js.map +1 -0
  179. package/dist/lib/model/create-agent-edge-details.d.ts +45 -0
  180. package/dist/lib/model/create-agent-edge-details.js +61 -0
  181. package/dist/lib/model/create-agent-edge-details.js.map +1 -0
  182. package/dist/lib/model/create-agent-session-details.d.ts +19 -0
  183. package/dist/lib/model/create-agent-session-details.js +59 -0
  184. package/dist/lib/model/create-agent-session-details.js.map +1 -0
  185. package/dist/lib/model/create-ai-compute-details.d.ts +13 -0
  186. package/dist/lib/model/create-ai-compute-details.js +59 -0
  187. package/dist/lib/model/create-ai-compute-details.js.map +1 -0
  188. package/dist/lib/model/create-bundle-details.d.ts +1 -1
  189. package/dist/lib/model/create-cluster-details.js +8 -4
  190. package/dist/lib/model/create-cluster-details.js.map +1 -1
  191. package/dist/lib/model/create-dfl-compute-details.d.ts +12 -0
  192. package/dist/lib/model/create-dfl-compute-details.js +53 -0
  193. package/dist/lib/model/create-dfl-compute-details.js.map +1 -0
  194. package/dist/lib/model/create-ontology-project-details.d.ts +12 -0
  195. package/dist/lib/model/create-ontology-project-details.js +19 -0
  196. package/dist/lib/model/create-ontology-project-details.js.map +1 -0
  197. package/dist/lib/model/custom-pii-rule.d.ts +8 -8
  198. package/dist/lib/model/denied-topic.d.ts +4 -4
  199. package/dist/lib/model/denied-topics-policy.d.ts +2 -2
  200. package/dist/lib/model/deploy-agent-details.d.ts +28 -0
  201. package/dist/lib/model/deploy-agent-details.js +63 -0
  202. package/dist/lib/model/deploy-agent-details.js.map +1 -0
  203. package/dist/lib/model/deployment-lifecycle-state.d.ts +7 -2
  204. package/dist/lib/model/deployment-lifecycle-state.js +6 -1
  205. package/dist/lib/model/deployment-lifecycle-state.js.map +1 -1
  206. package/dist/lib/model/deployment-type.d.ts +7 -2
  207. package/dist/lib/model/deployment-type.js +6 -1
  208. package/dist/lib/model/deployment-type.js.map +1 -1
  209. package/dist/lib/model/dfl-compute-status-result.d.ts +25 -0
  210. package/dist/lib/model/dfl-compute-status-result.js +19 -0
  211. package/dist/lib/model/dfl-compute-status-result.js.map +1 -0
  212. package/dist/lib/model/external-catalog-source-type.d.ts +3 -0
  213. package/dist/lib/model/external-catalog-source-type.js +3 -0
  214. package/dist/lib/model/external-catalog-source-type.js.map +1 -1
  215. package/dist/lib/model/guardrails-configuration.d.ts +1 -1
  216. package/dist/lib/model/http-method.d.ts +6 -1
  217. package/dist/lib/model/http-method.js +5 -0
  218. package/dist/lib/model/http-method.js.map +1 -1
  219. package/dist/lib/model/index.d.ts +196 -174
  220. package/dist/lib/model/index.js +215 -193
  221. package/dist/lib/model/index.js.map +1 -1
  222. package/dist/lib/model/job-run.d.ts +13 -0
  223. package/dist/lib/model/job-run.js +10 -0
  224. package/dist/lib/model/job-run.js.map +1 -1
  225. package/dist/lib/model/manage-agent-permission-details.d.ts +12 -0
  226. package/dist/lib/model/manage-agent-permission-details.js +63 -0
  227. package/dist/lib/model/manage-agent-permission-details.js.map +1 -0
  228. package/dist/lib/model/mcp-object-type.d.ts +6 -1
  229. package/dist/lib/model/mcp-object-type.js +5 -0
  230. package/dist/lib/model/mcp-object-type.js.map +1 -1
  231. package/dist/lib/model/memory-configuration.d.ts +1 -0
  232. package/dist/lib/model/memory-configuration.js +4 -0
  233. package/dist/lib/model/memory-configuration.js.map +1 -1
  234. package/dist/lib/model/memory-limit-strategy.d.ts +6 -1
  235. package/dist/lib/model/memory-limit-strategy.js +5 -0
  236. package/dist/lib/model/memory-limit-strategy.js.map +1 -1
  237. package/dist/lib/model/mysql-external-catalog-connection-property-key.d.ts +15 -0
  238. package/dist/lib/model/mysql-external-catalog-connection-property-key.js +27 -0
  239. package/dist/lib/model/mysql-external-catalog-connection-property-key.js.map +1 -0
  240. package/dist/lib/model/mysql-schema-summary.d.ts +12 -0
  241. package/dist/lib/model/mysql-schema-summary.js +53 -0
  242. package/dist/lib/model/mysql-schema-summary.js.map +1 -0
  243. package/dist/lib/model/mysql-schema.d.ts +12 -0
  244. package/dist/lib/model/mysql-schema.js +53 -0
  245. package/dist/lib/model/mysql-schema.js.map +1 -0
  246. package/dist/lib/model/mysql-table-summary.d.ts +12 -0
  247. package/dist/lib/model/mysql-table-summary.js +53 -0
  248. package/dist/lib/model/mysql-table-summary.js.map +1 -0
  249. package/dist/lib/model/mysql-table.d.ts +12 -0
  250. package/dist/lib/model/mysql-table.js +53 -0
  251. package/dist/lib/model/mysql-table.js.map +1 -0
  252. package/dist/lib/model/node-io-color.d.ts +6 -1
  253. package/dist/lib/model/node-io-color.js +5 -0
  254. package/dist/lib/model/node-io-color.js.map +1 -1
  255. package/dist/lib/model/node-io.d.ts +6 -1
  256. package/dist/lib/model/node-io.js +5 -0
  257. package/dist/lib/model/node-io.js.map +1 -1
  258. package/dist/lib/model/node-port-position.d.ts +6 -1
  259. package/dist/lib/model/node-port-position.js +5 -0
  260. package/dist/lib/model/node-port-position.js.map +1 -1
  261. package/dist/lib/model/node-type.d.ts +6 -4
  262. package/dist/lib/model/node-type.js +5 -3
  263. package/dist/lib/model/node-type.js.map +1 -1
  264. package/dist/lib/model/o-auth-configuration.d.ts +1 -1
  265. package/dist/lib/model/oac-child-item-collection.d.ts +14 -0
  266. package/dist/lib/model/oac-child-item-collection.js +61 -0
  267. package/dist/lib/model/oac-child-item-collection.js.map +1 -0
  268. package/dist/lib/model/oac-child-item-summary.d.ts +37 -0
  269. package/dist/lib/model/oac-child-item-summary.js +19 -0
  270. package/dist/lib/model/oac-child-item-summary.js.map +1 -0
  271. package/dist/lib/model/object-type.d.ts +1 -1
  272. package/dist/lib/model/object-type.js +1 -1
  273. package/dist/lib/model/object-type.js.map +1 -1
  274. package/dist/lib/model/ontology-project-collection.d.ts +9 -0
  275. package/dist/lib/model/ontology-project-collection.js +61 -0
  276. package/dist/lib/model/ontology-project-collection.js.map +1 -0
  277. package/dist/lib/model/ontology-project.d.ts +33 -0
  278. package/dist/lib/model/ontology-project.js +19 -0
  279. package/dist/lib/model/ontology-project.js.map +1 -0
  280. package/dist/lib/model/pii-category-type.d.ts +7 -2
  281. package/dist/lib/model/pii-category-type.js +6 -1
  282. package/dist/lib/model/pii-category-type.js.map +1 -1
  283. package/dist/lib/model/pii-category.d.ts +5 -5
  284. package/dist/lib/model/pii-detection-policy.d.ts +3 -3
  285. package/dist/lib/model/policy-action.d.ts +7 -2
  286. package/dist/lib/model/policy-action.js +6 -1
  287. package/dist/lib/model/policy-action.js.map +1 -1
  288. package/dist/lib/model/policy-scope.d.ts +7 -2
  289. package/dist/lib/model/policy-scope.js +6 -1
  290. package/dist/lib/model/policy-scope.js.map +1 -1
  291. package/dist/lib/model/policy-type.d.ts +7 -2
  292. package/dist/lib/model/policy-type.js +6 -1
  293. package/dist/lib/model/policy-type.js.map +1 -1
  294. package/dist/lib/model/preview-agent-card-details.d.ts +11 -0
  295. package/dist/lib/model/preview-agent-card-details.js +59 -0
  296. package/dist/lib/model/preview-agent-card-details.js.map +1 -0
  297. package/dist/lib/model/prompt-attacks-prevention-policy.d.ts +1 -1
  298. package/dist/lib/model/query-replica-ids-details.d.ts +22 -0
  299. package/dist/lib/model/query-replica-ids-details.js +19 -0
  300. package/dist/lib/model/query-replica-ids-details.js.map +1 -0
  301. package/dist/lib/model/query-replica-ids-result.d.ts +13 -0
  302. package/dist/lib/model/query-replica-ids-result.js +19 -0
  303. package/dist/lib/model/query-replica-ids-result.js.map +1 -0
  304. package/dist/lib/model/repair-history.d.ts +4 -0
  305. package/dist/lib/model/repair-history.js.map +1 -1
  306. package/dist/lib/model/repair-job-run-details.d.ts +13 -1
  307. package/dist/lib/model/repair-job-run-details.js +11 -0
  308. package/dist/lib/model/repair-job-run-details.js.map +1 -1
  309. package/dist/lib/model/repair-task-details.d.ts +21 -0
  310. package/dist/lib/model/repair-task-details.js +19 -0
  311. package/dist/lib/model/repair-task-details.js.map +1 -0
  312. package/dist/lib/model/replica-config.d.ts +17 -0
  313. package/dist/lib/model/replica-config.js +19 -0
  314. package/dist/lib/model/replica-config.js.map +1 -0
  315. package/dist/lib/model/revoke-agent-permission-details.d.ts +28 -0
  316. package/dist/lib/model/revoke-agent-permission-details.js +65 -0
  317. package/dist/lib/model/revoke-agent-permission-details.js.map +1 -0
  318. package/dist/lib/model/revoke-table-permission-details.d.ts +8 -0
  319. package/dist/lib/model/revoke-table-permission-details.js.map +1 -1
  320. package/dist/lib/model/row-filter-type.d.ts +15 -0
  321. package/dist/lib/model/row-filter-type.js +27 -0
  322. package/dist/lib/model/row-filter-type.js.map +1 -0
  323. package/dist/lib/model/safety-policy.d.ts +6 -6
  324. package/dist/lib/model/schema-catalog-type.d.ts +3 -0
  325. package/dist/lib/model/schema-catalog-type.js +3 -0
  326. package/dist/lib/model/schema-catalog-type.js.map +1 -1
  327. package/dist/lib/model/schema-summary.js +12 -0
  328. package/dist/lib/model/schema-summary.js.map +1 -1
  329. package/dist/lib/model/schema.js +12 -0
  330. package/dist/lib/model/schema.js.map +1 -1
  331. package/dist/lib/model/session-configuration.d.ts +2 -2
  332. package/dist/lib/model/session-retention-configuration.d.ts +1 -1
  333. package/dist/lib/model/snowflake-external-catalog-connection-property-key.d.ts +20 -0
  334. package/dist/lib/model/snowflake-external-catalog-connection-property-key.js +32 -0
  335. package/dist/lib/model/snowflake-external-catalog-connection-property-key.js.map +1 -0
  336. package/dist/lib/model/snowflake-schema-summary.d.ts +12 -0
  337. package/dist/lib/model/snowflake-schema-summary.js +53 -0
  338. package/dist/lib/model/snowflake-schema-summary.js.map +1 -0
  339. package/dist/lib/model/snowflake-schema.d.ts +12 -0
  340. package/dist/lib/model/snowflake-schema.js +53 -0
  341. package/dist/lib/model/snowflake-schema.js.map +1 -0
  342. package/dist/lib/model/snowflake-table-summary.d.ts +12 -0
  343. package/dist/lib/model/snowflake-table-summary.js +53 -0
  344. package/dist/lib/model/snowflake-table-summary.js.map +1 -0
  345. package/dist/lib/model/snowflake-table.d.ts +12 -0
  346. package/dist/lib/model/snowflake-table.js +53 -0
  347. package/dist/lib/model/snowflake-table.js.map +1 -0
  348. package/dist/lib/model/spark-cluster.d.ts +2 -2
  349. package/dist/lib/model/sql-server-on-azure-external-catalog-connection-property-key.d.ts +15 -0
  350. package/dist/lib/model/sql-server-on-azure-external-catalog-connection-property-key.js +27 -0
  351. package/dist/lib/model/sql-server-on-azure-external-catalog-connection-property-key.js.map +1 -0
  352. package/dist/lib/model/sql-server-on-azure-schema-summary.d.ts +12 -0
  353. package/dist/lib/model/sql-server-on-azure-schema-summary.js +53 -0
  354. package/dist/lib/model/sql-server-on-azure-schema-summary.js.map +1 -0
  355. package/dist/lib/model/sql-server-on-azure-schema.d.ts +12 -0
  356. package/dist/lib/model/sql-server-on-azure-schema.js +53 -0
  357. package/dist/lib/model/sql-server-on-azure-schema.js.map +1 -0
  358. package/dist/lib/model/sql-server-on-azure-table-summary.d.ts +12 -0
  359. package/dist/lib/model/sql-server-on-azure-table-summary.js +53 -0
  360. package/dist/lib/model/sql-server-on-azure-table-summary.js.map +1 -0
  361. package/dist/lib/model/sql-server-on-azure-table.d.ts +12 -0
  362. package/dist/lib/model/sql-server-on-azure-table.js +53 -0
  363. package/dist/lib/model/sql-server-on-azure-table.js.map +1 -0
  364. package/dist/lib/model/sql-tool-configuration.d.ts +12 -3
  365. package/dist/lib/model/sql-tool-configuration.js.map +1 -1
  366. package/dist/lib/model/sql-tool-query-type.d.ts +16 -0
  367. package/dist/lib/model/sql-tool-query-type.js +28 -0
  368. package/dist/lib/model/sql-tool-query-type.js.map +1 -0
  369. package/dist/lib/model/summarize-metrics-data-details.d.ts +6 -0
  370. package/dist/lib/model/summarize-metrics-data-details.js.map +1 -1
  371. package/dist/lib/model/table-catalog-type.d.ts +3 -0
  372. package/dist/lib/model/table-catalog-type.js +3 -0
  373. package/dist/lib/model/table-catalog-type.js.map +1 -1
  374. package/dist/lib/model/table-permission-summary.d.ts +8 -0
  375. package/dist/lib/model/table-permission-summary.js.map +1 -1
  376. package/dist/lib/model/table-summary.js +12 -0
  377. package/dist/lib/model/table-summary.js.map +1 -1
  378. package/dist/lib/model/table.js +12 -0
  379. package/dist/lib/model/table.js.map +1 -1
  380. package/dist/lib/model/tool-type.d.ts +6 -1
  381. package/dist/lib/model/tool-type.js +5 -0
  382. package/dist/lib/model/tool-type.js.map +1 -1
  383. package/dist/lib/model/update-agent-deployment-details.d.ts +27 -0
  384. package/dist/lib/model/update-agent-deployment-details.js +59 -0
  385. package/dist/lib/model/update-agent-deployment-details.js.map +1 -0
  386. package/dist/lib/model/update-agent-deployment-metadata-details.d.ts +15 -0
  387. package/dist/lib/model/update-agent-deployment-metadata-details.js +59 -0
  388. package/dist/lib/model/update-agent-deployment-metadata-details.js.map +1 -0
  389. package/dist/lib/model/update-agent-details.d.ts +46 -0
  390. package/dist/lib/model/update-agent-details.js +71 -0
  391. package/dist/lib/model/update-agent-details.js.map +1 -0
  392. package/dist/lib/model/update-agent-diagram-agent-node-details.d.ts +28 -0
  393. package/dist/lib/model/update-agent-diagram-agent-node-details.js +69 -0
  394. package/dist/lib/model/update-agent-diagram-agent-node-details.js.map +1 -0
  395. package/dist/lib/model/update-agent-diagram-custom-tool-node-details.d.ts +23 -0
  396. package/dist/lib/model/update-agent-diagram-custom-tool-node-details.js +59 -0
  397. package/dist/lib/model/update-agent-diagram-custom-tool-node-details.js.map +1 -0
  398. package/dist/lib/model/update-agent-diagram-http-tool-node-details.d.ts +18 -0
  399. package/dist/lib/model/update-agent-diagram-http-tool-node-details.js +53 -0
  400. package/dist/lib/model/update-agent-diagram-http-tool-node-details.js.map +1 -0
  401. package/dist/lib/model/update-agent-diagram-mcp-tool-node-details.d.ts +18 -0
  402. package/dist/lib/model/update-agent-diagram-mcp-tool-node-details.js +53 -0
  403. package/dist/lib/model/update-agent-diagram-mcp-tool-node-details.js.map +1 -0
  404. package/dist/lib/model/update-agent-diagram-node-details.d.ts +48 -0
  405. package/dist/lib/model/update-agent-diagram-node-details.js +96 -0
  406. package/dist/lib/model/update-agent-diagram-node-details.js.map +1 -0
  407. package/dist/lib/model/update-agent-diagram-prompt-tool-node-details.d.ts +18 -0
  408. package/dist/lib/model/update-agent-diagram-prompt-tool-node-details.js +53 -0
  409. package/dist/lib/model/update-agent-diagram-prompt-tool-node-details.js.map +1 -0
  410. package/dist/lib/model/update-agent-diagram-rag-tool-node-details.d.ts +13 -0
  411. package/dist/lib/model/update-agent-diagram-rag-tool-node-details.js +59 -0
  412. package/dist/lib/model/update-agent-diagram-rag-tool-node-details.js.map +1 -0
  413. package/dist/lib/model/update-agent-diagram-sql-tool-node-details.d.ts +18 -0
  414. package/dist/lib/model/update-agent-diagram-sql-tool-node-details.js +53 -0
  415. package/dist/lib/model/update-agent-diagram-sql-tool-node-details.js.map +1 -0
  416. package/dist/lib/model/update-agent-session-details.d.ts +23 -0
  417. package/dist/lib/model/update-agent-session-details.js +59 -0
  418. package/dist/lib/model/update-agent-session-details.js.map +1 -0
  419. package/dist/lib/model/update-ai-compute-details.d.ts +13 -0
  420. package/dist/lib/model/update-ai-compute-details.js +59 -0
  421. package/dist/lib/model/update-ai-compute-details.js.map +1 -0
  422. package/dist/lib/model/update-cluster-details.js +4 -4
  423. package/dist/lib/model/update-cluster-details.js.map +1 -1
  424. package/dist/lib/model/update-ontology-project-details.d.ts +12 -0
  425. package/dist/lib/model/update-ontology-project-details.js +19 -0
  426. package/dist/lib/model/update-ontology-project-details.js.map +1 -0
  427. package/dist/lib/model/validate-agent-response.d.ts +18 -0
  428. package/dist/lib/model/validate-agent-response.js +61 -0
  429. package/dist/lib/model/validate-agent-response.js.map +1 -0
  430. package/dist/lib/model/validation-error.d.ts +1 -1
  431. package/dist/lib/model/word-filters-policy.d.ts +3 -3
  432. package/dist/lib/model/worker-config.d.ts +1 -1
  433. package/dist/lib/request/checkout-branch-request.d.ts +0 -4
  434. package/dist/lib/request/copy-agent-request.d.ts +52 -0
  435. package/dist/lib/request/copy-agent-request.js +4 -0
  436. package/dist/lib/request/copy-agent-request.js.map +1 -0
  437. package/dist/lib/request/create-agent-request.d.ts +40 -0
  438. package/dist/lib/request/create-agent-request.js +4 -0
  439. package/dist/lib/request/create-agent-request.js.map +1 -0
  440. package/dist/lib/request/create-bundle-action-request.d.ts +36 -0
  441. package/dist/lib/request/create-bundle-action-request.js +4 -0
  442. package/dist/lib/request/create-bundle-action-request.js.map +1 -0
  443. package/dist/lib/request/create-cluster-request.d.ts +1 -1
  444. package/dist/lib/request/create-experiment-request.d.ts +0 -4
  445. package/dist/lib/request/create-experiment-run-request.d.ts +0 -4
  446. package/dist/lib/request/create-git-folder-request.d.ts +0 -4
  447. package/dist/lib/request/create-model-version-request.d.ts +0 -4
  448. package/dist/lib/request/create-registered-model-request.d.ts +0 -4
  449. package/dist/lib/request/create-workspace-model-version-request.d.ts +0 -4
  450. package/dist/lib/request/delete-agent-deployment-request.d.ts +38 -0
  451. package/dist/lib/request/delete-agent-deployment-request.js +4 -0
  452. package/dist/lib/request/delete-agent-deployment-request.js.map +1 -0
  453. package/dist/lib/request/delete-agent-request.d.ts +38 -0
  454. package/dist/lib/request/delete-agent-request.js +4 -0
  455. package/dist/lib/request/delete-agent-request.js.map +1 -0
  456. package/dist/lib/request/delete-agent-session-request.d.ts +38 -0
  457. package/dist/lib/request/delete-agent-session-request.js +4 -0
  458. package/dist/lib/request/delete-agent-session-request.js.map +1 -0
  459. package/dist/lib/request/delete-experiment-request.d.ts +0 -4
  460. package/dist/lib/request/delete-experiment-run-request.d.ts +0 -4
  461. package/dist/lib/request/delete-experiment-run-tag-request.d.ts +0 -4
  462. package/dist/lib/request/delete-experiment-tag-request.d.ts +0 -4
  463. package/dist/lib/request/delete-model-version-request.d.ts +0 -4
  464. package/dist/lib/request/delete-model-version-tag-request.d.ts +0 -4
  465. package/dist/lib/request/delete-registered-model-request.d.ts +0 -4
  466. package/dist/lib/request/delete-registered-model-tag-request.d.ts +0 -4
  467. package/dist/lib/request/deploy-agent-request.d.ts +40 -0
  468. package/dist/lib/request/deploy-agent-request.js +4 -0
  469. package/dist/lib/request/deploy-agent-request.js.map +1 -0
  470. package/dist/lib/request/deploy-bundle-action-request.d.ts +36 -0
  471. package/dist/lib/request/deploy-bundle-action-request.js +4 -0
  472. package/dist/lib/request/deploy-bundle-action-request.js.map +1 -0
  473. package/dist/lib/request/fetch-bundle-deployment-status-action-request.d.ts +27 -0
  474. package/dist/lib/request/fetch-bundle-deployment-status-action-request.js +4 -0
  475. package/dist/lib/request/fetch-bundle-deployment-status-action-request.js.map +1 -0
  476. package/dist/lib/request/get-agent-deployment-request.d.ts +30 -0
  477. package/dist/lib/request/get-agent-deployment-request.js +4 -0
  478. package/dist/lib/request/get-agent-deployment-request.js.map +1 -0
  479. package/dist/lib/request/get-agent-request.d.ts +30 -0
  480. package/dist/lib/request/get-agent-request.js +4 -0
  481. package/dist/lib/request/get-agent-request.js.map +1 -0
  482. package/dist/lib/request/get-agent-session-request.d.ts +30 -0
  483. package/dist/lib/request/get-agent-session-request.js +4 -0
  484. package/dist/lib/request/get-agent-session-request.js.map +1 -0
  485. package/dist/lib/request/get-agent-session-trace-request.d.ts +34 -0
  486. package/dist/lib/request/get-agent-session-trace-request.js +4 -0
  487. package/dist/lib/request/get-agent-session-trace-request.js.map +1 -0
  488. package/dist/lib/request/get-experiment-by-id-request.d.ts +0 -4
  489. package/dist/lib/request/get-experiment-by-name-request.d.ts +0 -4
  490. package/dist/lib/request/get-experiment-run-by-id-request.d.ts +0 -4
  491. package/dist/lib/request/get-experiment-run-metric-history-request.d.ts +0 -4
  492. package/dist/lib/request/get-model-version-request.d.ts +0 -4
  493. package/dist/lib/request/get-registered-model-request.d.ts +0 -4
  494. package/dist/lib/request/index.d.ts +54 -0
  495. package/dist/lib/request/index.js +9 -1
  496. package/dist/lib/request/index.js.map +1 -1
  497. package/dist/lib/request/list-agent-deployments-request.d.ts +79 -0
  498. package/dist/lib/request/list-agent-deployments-request.js +13 -0
  499. package/dist/lib/request/list-agent-deployments-request.js.map +1 -0
  500. package/dist/lib/request/list-agent-permissions-request.d.ts +59 -0
  501. package/dist/lib/request/list-agent-permissions-request.js +13 -0
  502. package/dist/lib/request/list-agent-permissions-request.js.map +1 -0
  503. package/dist/lib/request/list-agent-session-chat-histories-request.d.ts +44 -0
  504. package/dist/lib/request/list-agent-session-chat-histories-request.js +4 -0
  505. package/dist/lib/request/list-agent-session-chat-histories-request.js.map +1 -0
  506. package/dist/lib/request/list-agent-sessions-request.d.ts +67 -0
  507. package/dist/lib/request/list-agent-sessions-request.js +13 -0
  508. package/dist/lib/request/list-agent-sessions-request.js.map +1 -0
  509. package/dist/lib/request/list-agents-request.d.ts +63 -0
  510. package/dist/lib/request/list-agents-request.js +13 -0
  511. package/dist/lib/request/list-agents-request.js.map +1 -0
  512. package/dist/lib/request/list-artifacts-request.d.ts +0 -4
  513. package/dist/lib/request/list-clusters-request.d.ts +1 -1
  514. package/dist/lib/request/list-experiment-runs-request.d.ts +0 -4
  515. package/dist/lib/request/list-experiments-request.d.ts +0 -4
  516. package/dist/lib/request/list-jobs-request.d.ts +4 -0
  517. package/dist/lib/request/list-jobs-request.js.map +1 -1
  518. package/dist/lib/request/list-logged-models-request.d.ts +0 -4
  519. package/dist/lib/request/list-model-versions-request.d.ts +0 -4
  520. package/dist/lib/request/list-registered-models-request.d.ts +0 -4
  521. package/dist/lib/request/log-experiment-run-batch-request.d.ts +0 -4
  522. package/dist/lib/request/log-experiment-run-inputs-request.d.ts +0 -4
  523. package/dist/lib/request/log-experiment-run-metric-request.d.ts +0 -4
  524. package/dist/lib/request/log-experiment-run-model-request.d.ts +0 -4
  525. package/dist/lib/request/log-experiment-run-param-request.d.ts +0 -4
  526. package/dist/lib/request/manage-agent-permission-request.d.ts +43 -0
  527. package/dist/lib/request/manage-agent-permission-request.js +4 -0
  528. package/dist/lib/request/manage-agent-permission-request.js.map +1 -0
  529. package/dist/lib/request/preview-agent-agent-card-request.d.ts +48 -0
  530. package/dist/lib/request/preview-agent-agent-card-request.js +4 -0
  531. package/dist/lib/request/preview-agent-agent-card-request.js.map +1 -0
  532. package/dist/lib/request/purge-bundle-action-request.d.ts +36 -0
  533. package/dist/lib/request/purge-bundle-action-request.js +4 -0
  534. package/dist/lib/request/purge-bundle-action-request.js.map +1 -0
  535. package/dist/lib/request/query-replica-ids-request.d.ts +31 -0
  536. package/dist/lib/request/query-replica-ids-request.js +4 -0
  537. package/dist/lib/request/query-replica-ids-request.js.map +1 -0
  538. package/dist/lib/request/redeploy-agent-by-key-request.d.ts +48 -0
  539. package/dist/lib/request/redeploy-agent-by-key-request.js +4 -0
  540. package/dist/lib/request/redeploy-agent-by-key-request.js.map +1 -0
  541. package/dist/lib/request/rename-registered-model-request.d.ts +0 -4
  542. package/dist/lib/request/restore-experiment-request.d.ts +0 -4
  543. package/dist/lib/request/restore-experiment-run-request.d.ts +0 -4
  544. package/dist/lib/request/set-experiment-run-tag-request.d.ts +0 -4
  545. package/dist/lib/request/set-experiment-tag-request.d.ts +0 -4
  546. package/dist/lib/request/set-model-version-tag-request.d.ts +0 -4
  547. package/dist/lib/request/set-registered-model-tag-request.d.ts +0 -4
  548. package/dist/lib/request/sync-bundle-action-request.d.ts +36 -0
  549. package/dist/lib/request/sync-bundle-action-request.js +4 -0
  550. package/dist/lib/request/sync-bundle-action-request.js.map +1 -0
  551. package/dist/lib/request/transition-model-version-stage-request.d.ts +0 -4
  552. package/dist/lib/request/update-agent-deployment-metadata-request.d.ts +52 -0
  553. package/dist/lib/request/update-agent-deployment-metadata-request.js +4 -0
  554. package/dist/lib/request/update-agent-deployment-metadata-request.js.map +1 -0
  555. package/dist/lib/request/update-agent-request.d.ts +43 -0
  556. package/dist/lib/request/update-agent-request.js +4 -0
  557. package/dist/lib/request/update-agent-request.js.map +1 -0
  558. package/dist/lib/request/update-cluster-request.d.ts +1 -1
  559. package/dist/lib/request/update-experiment-request.d.ts +0 -4
  560. package/dist/lib/request/update-experiment-run-request.d.ts +0 -4
  561. package/dist/lib/request/update-experiment-run-tags-request.d.ts +0 -4
  562. package/dist/lib/request/update-experiment-tags-request.d.ts +0 -4
  563. package/dist/lib/request/update-model-version-request.d.ts +0 -4
  564. package/dist/lib/request/update-model-version-tags-request.d.ts +0 -4
  565. package/dist/lib/request/update-registered-model-request.d.ts +0 -4
  566. package/dist/lib/request/update-registered-model-tags-request.d.ts +0 -4
  567. package/dist/lib/request/validate-agent-request.d.ts +30 -0
  568. package/dist/lib/request/validate-agent-request.js +4 -0
  569. package/dist/lib/request/validate-agent-request.js.map +1 -0
  570. package/dist/lib/response/copy-agent-response.d.ts +26 -0
  571. package/dist/lib/response/copy-agent-response.js +4 -0
  572. package/dist/lib/response/copy-agent-response.js.map +1 -0
  573. package/dist/lib/response/create-agent-response.d.ts +26 -0
  574. package/dist/lib/response/create-agent-response.js +4 -0
  575. package/dist/lib/response/create-agent-response.js.map +1 -0
  576. package/dist/lib/response/create-bundle-action-response.d.ts +14 -0
  577. package/dist/lib/response/create-bundle-action-response.js +4 -0
  578. package/dist/lib/response/create-bundle-action-response.js.map +1 -0
  579. package/dist/lib/response/delete-agent-deployment-response.d.ts +8 -0
  580. package/dist/lib/response/delete-agent-deployment-response.js +4 -0
  581. package/dist/lib/response/delete-agent-deployment-response.js.map +1 -0
  582. package/dist/lib/response/delete-agent-response.d.ts +8 -0
  583. package/dist/lib/response/delete-agent-response.js +4 -0
  584. package/dist/lib/response/delete-agent-response.js.map +1 -0
  585. package/dist/lib/response/delete-agent-session-response.d.ts +8 -0
  586. package/dist/lib/response/delete-agent-session-response.js +4 -0
  587. package/dist/lib/response/delete-agent-session-response.js.map +1 -0
  588. package/dist/lib/response/deploy-agent-response.d.ts +32 -0
  589. package/dist/lib/response/deploy-agent-response.js +4 -0
  590. package/dist/lib/response/deploy-agent-response.js.map +1 -0
  591. package/dist/lib/response/deploy-bundle-action-response.d.ts +14 -0
  592. package/dist/lib/response/deploy-bundle-action-response.js +4 -0
  593. package/dist/lib/response/deploy-bundle-action-response.js.map +1 -0
  594. package/dist/lib/response/fetch-bundle-deployment-status-action-response.d.ts +13 -0
  595. package/dist/lib/response/fetch-bundle-deployment-status-action-response.js +4 -0
  596. package/dist/lib/response/fetch-bundle-deployment-status-action-response.js.map +1 -0
  597. package/dist/lib/response/get-agent-deployment-response.d.ts +18 -0
  598. package/dist/lib/response/get-agent-deployment-response.js +4 -0
  599. package/dist/lib/response/get-agent-deployment-response.js.map +1 -0
  600. package/dist/lib/response/get-agent-response.d.ts +18 -0
  601. package/dist/lib/response/get-agent-response.js +4 -0
  602. package/dist/lib/response/get-agent-response.js.map +1 -0
  603. package/dist/lib/response/get-agent-session-response.d.ts +18 -0
  604. package/dist/lib/response/get-agent-session-response.js +4 -0
  605. package/dist/lib/response/get-agent-session-response.js.map +1 -0
  606. package/dist/lib/response/get-agent-session-trace-response.d.ts +19 -0
  607. package/dist/lib/response/get-agent-session-trace-response.js +4 -0
  608. package/dist/lib/response/get-agent-session-trace-response.js.map +1 -0
  609. package/dist/lib/response/index.d.ts +54 -0
  610. package/dist/lib/response/list-agent-deployments-response.d.ts +19 -0
  611. package/dist/lib/response/list-agent-deployments-response.js +4 -0
  612. package/dist/lib/response/list-agent-deployments-response.js.map +1 -0
  613. package/dist/lib/response/list-agent-permissions-response.d.ts +19 -0
  614. package/dist/lib/response/list-agent-permissions-response.js +4 -0
  615. package/dist/lib/response/list-agent-permissions-response.js.map +1 -0
  616. package/dist/lib/response/list-agent-session-chat-histories-response.d.ts +19 -0
  617. package/dist/lib/response/list-agent-session-chat-histories-response.js +4 -0
  618. package/dist/lib/response/list-agent-session-chat-histories-response.js.map +1 -0
  619. package/dist/lib/response/list-agent-sessions-response.d.ts +25 -0
  620. package/dist/lib/response/list-agent-sessions-response.js +4 -0
  621. package/dist/lib/response/list-agent-sessions-response.js.map +1 -0
  622. package/dist/lib/response/list-agents-response.d.ts +19 -0
  623. package/dist/lib/response/list-agents-response.js +4 -0
  624. package/dist/lib/response/list-agents-response.js.map +1 -0
  625. package/dist/lib/response/manage-agent-permission-response.d.ts +8 -0
  626. package/dist/lib/response/manage-agent-permission-response.js +4 -0
  627. package/dist/lib/response/manage-agent-permission-response.js.map +1 -0
  628. package/dist/lib/response/preview-agent-agent-card-response.d.ts +18 -0
  629. package/dist/lib/response/preview-agent-agent-card-response.js +4 -0
  630. package/dist/lib/response/preview-agent-agent-card-response.js.map +1 -0
  631. package/dist/lib/response/purge-bundle-action-response.d.ts +14 -0
  632. package/dist/lib/response/purge-bundle-action-response.js +4 -0
  633. package/dist/lib/response/purge-bundle-action-response.js.map +1 -0
  634. package/dist/lib/response/query-replica-ids-response.d.ts +13 -0
  635. package/dist/lib/response/query-replica-ids-response.js +4 -0
  636. package/dist/lib/response/query-replica-ids-response.js.map +1 -0
  637. package/dist/lib/response/redeploy-agent-by-key-response.d.ts +32 -0
  638. package/dist/lib/response/redeploy-agent-by-key-response.js +4 -0
  639. package/dist/lib/response/redeploy-agent-by-key-response.js.map +1 -0
  640. package/dist/lib/response/sync-bundle-action-response.d.ts +14 -0
  641. package/dist/lib/response/sync-bundle-action-response.js +4 -0
  642. package/dist/lib/response/sync-bundle-action-response.js.map +1 -0
  643. package/dist/lib/response/update-agent-deployment-metadata-response.d.ts +18 -0
  644. package/dist/lib/response/update-agent-deployment-metadata-response.js +4 -0
  645. package/dist/lib/response/update-agent-deployment-metadata-response.js.map +1 -0
  646. package/dist/lib/response/update-agent-response.d.ts +18 -0
  647. package/dist/lib/response/update-agent-response.js +4 -0
  648. package/dist/lib/response/update-agent-response.js.map +1 -0
  649. package/dist/lib/response/validate-agent-response.d.ts +18 -0
  650. package/dist/lib/response/validate-agent-response.js +4 -0
  651. package/dist/lib/response/validate-agent-response.js.map +1 -0
  652. package/lib/client.ts +3002 -657
  653. package/lib/model/agent-collection.ts +50 -0
  654. package/lib/model/agent-dependency-item.ts +56 -0
  655. package/lib/model/agent-dependency.ts +64 -0
  656. package/lib/model/agent-deployment-collection.ts +50 -0
  657. package/lib/model/agent-deployment-summary.ts +119 -0
  658. package/lib/model/agent-deployment.ts +153 -0
  659. package/lib/model/agent-diagram-agent-node.ts +92 -0
  660. package/lib/model/agent-diagram-custom-tool-node.ts +43 -0
  661. package/lib/model/agent-diagram-guardrail-node.ts +50 -0
  662. package/lib/model/agent-diagram-http-tool-node.ts +43 -0
  663. package/lib/model/agent-diagram-mcp-tool-node.ts +43 -0
  664. package/lib/model/agent-diagram-node.ts +218 -0
  665. package/lib/model/agent-diagram-prompt-tool-node.ts +43 -0
  666. package/lib/model/agent-diagram-rag-tool-node.ts +46 -0
  667. package/lib/model/agent-diagram-sql-tool-node.ts +43 -0
  668. package/lib/model/agent-diagram-start-node.ts +43 -0
  669. package/lib/model/agent-diagram-supervisor-agent-node.ts +99 -0
  670. package/lib/model/agent-diagram.ts +123 -0
  671. package/lib/model/agent-edge.ts +135 -0
  672. package/lib/model/agent-guardrails-collection.ts +50 -0
  673. package/lib/model/agent-guardrails-summary.ts +92 -0
  674. package/lib/model/agent-info.ts +181 -0
  675. package/lib/model/agent-permission-collection.ts +50 -0
  676. package/lib/model/agent-permission-summary.ts +103 -0
  677. package/lib/model/agent-privilege-for-manage.ts +25 -0
  678. package/lib/model/agent-privilege.ts +30 -0
  679. package/lib/model/agent-session-collection.ts +50 -0
  680. package/lib/model/agent-session-context.ts +45 -0
  681. package/lib/model/agent-session-summary.ts +119 -0
  682. package/lib/model/agent-session.ts +129 -0
  683. package/lib/model/agent.ts +239 -0
  684. package/lib/model/ai-compute.ts +46 -0
  685. package/lib/model/assign-agent-permission-details.ts +74 -0
  686. package/lib/model/assign-table-permission-details.ts +14 -0
  687. package/lib/model/async-operation-action-type.ts +1 -1
  688. package/lib/model/async-operation-resource-type.ts +1 -1
  689. package/lib/model/audit-log-search-result-summary.ts +7 -0
  690. package/lib/model/auth-type.ts +6 -1
  691. package/lib/model/auth.ts +1 -1
  692. package/lib/model/bearer-token-auth.ts +1 -1
  693. package/lib/model/chat-message.ts +6 -2
  694. package/lib/model/clear-tool-uses-context-management-details.ts +42 -0
  695. package/lib/model/clear-tool-uses-context-management-rule.ts +46 -0
  696. package/lib/model/cluster-summary.ts +12 -2
  697. package/lib/model/cluster-type.ts +1 -1
  698. package/lib/model/cluster.ts +4 -4
  699. package/lib/model/content-moderation-category-config.ts +5 -5
  700. package/lib/model/content-moderation-category.ts +7 -2
  701. package/lib/model/content-moderation-policy.ts +2 -2
  702. package/lib/model/context-management-configuration.ts +50 -0
  703. package/lib/model/context-management-rule.ts +53 -0
  704. package/lib/model/context-management-strategy.ts +27 -0
  705. package/lib/model/copy-agent-details.ts +63 -0
  706. package/lib/model/create-agent-details.ts +131 -0
  707. package/lib/model/create-agent-diagram-agent-node-details.ts +85 -0
  708. package/lib/model/create-agent-diagram-custom-tool-node-details.ts +60 -0
  709. package/lib/model/create-agent-diagram-http-tool-node-details.ts +60 -0
  710. package/lib/model/create-agent-diagram-mcp-tool-node-details.ts +60 -0
  711. package/lib/model/create-agent-diagram-node-details.ts +147 -0
  712. package/lib/model/create-agent-diagram-prompt-tool-node-details.ts +60 -0
  713. package/lib/model/create-agent-diagram-rag-tool-node-details.ts +63 -0
  714. package/lib/model/create-agent-diagram-sql-tool-node-details.ts +60 -0
  715. package/lib/model/create-agent-edge-details.ts +99 -0
  716. package/lib/model/create-agent-session-details.ts +59 -0
  717. package/lib/model/create-ai-compute-details.ts +46 -0
  718. package/lib/model/create-bundle-details.ts +1 -1
  719. package/lib/model/create-cluster-details.ts +8 -4
  720. package/lib/model/create-dfl-compute-details.ts +36 -0
  721. package/lib/model/create-ontology-project-details.ts +56 -0
  722. package/lib/model/custom-pii-rule.ts +8 -8
  723. package/lib/model/denied-topic.ts +4 -4
  724. package/lib/model/denied-topics-policy.ts +2 -2
  725. package/lib/model/deploy-agent-details.ts +83 -0
  726. package/lib/model/deployment-lifecycle-state.ts +7 -2
  727. package/lib/model/deployment-type.ts +7 -2
  728. package/lib/model/dfl-compute-status-result.ts +63 -0
  729. package/lib/model/external-catalog-source-type.ts +3 -0
  730. package/lib/model/guardrails-configuration.ts +1 -1
  731. package/lib/model/http-method.ts +6 -1
  732. package/lib/model/index.ts +196 -174
  733. package/lib/model/job-run.ts +18 -0
  734. package/lib/model/manage-agent-permission-details.ts +55 -0
  735. package/lib/model/mcp-object-type.ts +6 -1
  736. package/lib/model/memory-configuration.ts +10 -0
  737. package/lib/model/memory-limit-strategy.ts +6 -1
  738. package/lib/model/mysql-external-catalog-connection-property-key.ts +27 -0
  739. package/lib/model/mysql-schema-summary.ts +36 -0
  740. package/lib/model/mysql-schema.ts +36 -0
  741. package/lib/model/mysql-table-summary.ts +36 -0
  742. package/lib/model/mysql-table.ts +36 -0
  743. package/lib/model/node-io-color.ts +6 -2
  744. package/lib/model/node-io.ts +6 -2
  745. package/lib/model/node-port-position.ts +6 -1
  746. package/lib/model/node-type.ts +6 -4
  747. package/lib/model/o-auth-configuration.ts +1 -1
  748. package/lib/model/oac-child-item-collection.ts +50 -0
  749. package/lib/model/oac-child-item-summary.ts +84 -0
  750. package/lib/model/object-type.ts +1 -1
  751. package/lib/model/ontology-project-collection.ts +48 -0
  752. package/lib/model/ontology-project.ts +91 -0
  753. package/lib/model/pii-category-type.ts +7 -2
  754. package/lib/model/pii-category.ts +5 -5
  755. package/lib/model/pii-detection-policy.ts +3 -3
  756. package/lib/model/policy-action.ts +7 -2
  757. package/lib/model/policy-scope.ts +7 -2
  758. package/lib/model/policy-type.ts +7 -2
  759. package/lib/model/preview-agent-card-details.ts +45 -0
  760. package/lib/model/prompt-attacks-prevention-policy.ts +1 -1
  761. package/lib/model/query-replica-ids-details.ts +57 -0
  762. package/lib/model/query-replica-ids-result.ts +42 -0
  763. package/lib/model/repair-history.ts +7 -0
  764. package/lib/model/repair-job-run-details.ts +30 -1
  765. package/lib/model/repair-task-details.ts +56 -0
  766. package/lib/model/replica-config.ts +49 -0
  767. package/lib/model/revoke-agent-permission-details.ts +74 -0
  768. package/lib/model/revoke-table-permission-details.ts +14 -0
  769. package/lib/model/row-filter-type.ts +27 -0
  770. package/lib/model/safety-policy.ts +6 -6
  771. package/lib/model/schema-catalog-type.ts +3 -0
  772. package/lib/model/schema-summary.ts +12 -0
  773. package/lib/model/schema.ts +12 -0
  774. package/lib/model/session-configuration.ts +2 -2
  775. package/lib/model/session-retention-configuration.ts +1 -1
  776. package/lib/model/snowflake-external-catalog-connection-property-key.ts +32 -0
  777. package/lib/model/snowflake-schema-summary.ts +36 -0
  778. package/lib/model/snowflake-schema.ts +36 -0
  779. package/lib/model/snowflake-table-summary.ts +36 -0
  780. package/lib/model/snowflake-table.ts +36 -0
  781. package/lib/model/spark-cluster.ts +2 -2
  782. package/lib/model/sql-server-on-azure-external-catalog-connection-property-key.ts +27 -0
  783. package/lib/model/sql-server-on-azure-schema-summary.ts +36 -0
  784. package/lib/model/sql-server-on-azure-schema.ts +36 -0
  785. package/lib/model/sql-server-on-azure-table-summary.ts +36 -0
  786. package/lib/model/sql-server-on-azure-table.ts +36 -0
  787. package/lib/model/sql-tool-configuration.ts +17 -3
  788. package/lib/model/sql-tool-query-type.ts +28 -0
  789. package/lib/model/summarize-metrics-data-details.ts +9 -0
  790. package/lib/model/table-catalog-type.ts +3 -0
  791. package/lib/model/table-permission-summary.ts +14 -0
  792. package/lib/model/table-summary.ts +12 -0
  793. package/lib/model/table.ts +12 -0
  794. package/lib/model/tool-type.ts +6 -1
  795. package/lib/model/update-agent-deployment-details.ts +73 -0
  796. package/lib/model/update-agent-deployment-metadata-details.ts +52 -0
  797. package/lib/model/update-agent-details.ts +131 -0
  798. package/lib/model/update-agent-diagram-agent-node-details.ts +85 -0
  799. package/lib/model/update-agent-diagram-custom-tool-node-details.ts +60 -0
  800. package/lib/model/update-agent-diagram-http-tool-node-details.ts +43 -0
  801. package/lib/model/update-agent-diagram-mcp-tool-node-details.ts +43 -0
  802. package/lib/model/update-agent-diagram-node-details.ts +140 -0
  803. package/lib/model/update-agent-diagram-prompt-tool-node-details.ts +43 -0
  804. package/lib/model/update-agent-diagram-rag-tool-node-details.ts +46 -0
  805. package/lib/model/update-agent-diagram-sql-tool-node-details.ts +43 -0
  806. package/lib/model/update-agent-session-details.ts +66 -0
  807. package/lib/model/update-ai-compute-details.ts +46 -0
  808. package/lib/model/update-cluster-details.ts +4 -4
  809. package/lib/model/update-ontology-project-details.ts +56 -0
  810. package/lib/model/validate-agent-response.ts +57 -0
  811. package/lib/model/validation-error.ts +1 -1
  812. package/lib/model/word-filters-policy.ts +3 -3
  813. package/lib/model/worker-config.ts +1 -1
  814. package/lib/request/checkout-branch-request.ts +0 -4
  815. package/lib/request/copy-agent-request.ts +56 -0
  816. package/lib/request/create-agent-request.ts +44 -0
  817. package/lib/request/create-bundle-action-request.ts +40 -0
  818. package/lib/request/create-cluster-request.ts +1 -1
  819. package/lib/request/create-experiment-request.ts +0 -4
  820. package/lib/request/create-experiment-run-request.ts +0 -4
  821. package/lib/request/create-git-folder-request.ts +0 -4
  822. package/lib/request/create-model-version-request.ts +0 -4
  823. package/lib/request/create-registered-model-request.ts +0 -4
  824. package/lib/request/create-workspace-model-version-request.ts +0 -4
  825. package/lib/request/delete-agent-deployment-request.ts +43 -0
  826. package/lib/request/delete-agent-request.ts +43 -0
  827. package/lib/request/delete-agent-session-request.ts +43 -0
  828. package/lib/request/delete-experiment-request.ts +0 -4
  829. package/lib/request/delete-experiment-run-request.ts +0 -4
  830. package/lib/request/delete-experiment-run-tag-request.ts +0 -4
  831. package/lib/request/delete-experiment-tag-request.ts +0 -4
  832. package/lib/request/delete-model-version-request.ts +0 -4
  833. package/lib/request/delete-model-version-tag-request.ts +0 -4
  834. package/lib/request/delete-registered-model-request.ts +0 -4
  835. package/lib/request/delete-registered-model-tag-request.ts +0 -4
  836. package/lib/request/deploy-agent-request.ts +44 -0
  837. package/lib/request/deploy-bundle-action-request.ts +40 -0
  838. package/lib/request/fetch-bundle-deployment-status-action-request.ts +31 -0
  839. package/lib/request/get-agent-deployment-request.ts +35 -0
  840. package/lib/request/get-agent-request.ts +35 -0
  841. package/lib/request/get-agent-session-request.ts +35 -0
  842. package/lib/request/get-agent-session-trace-request.ts +39 -0
  843. package/lib/request/get-experiment-by-id-request.ts +0 -4
  844. package/lib/request/get-experiment-by-name-request.ts +0 -4
  845. package/lib/request/get-experiment-run-by-id-request.ts +0 -4
  846. package/lib/request/get-experiment-run-metric-history-request.ts +0 -4
  847. package/lib/request/get-model-version-request.ts +0 -4
  848. package/lib/request/get-registered-model-request.ts +0 -4
  849. package/lib/request/index.ts +54 -0
  850. package/lib/request/list-agent-deployments-request.ts +85 -0
  851. package/lib/request/list-agent-permissions-request.ts +65 -0
  852. package/lib/request/list-agent-session-chat-histories-request.ts +49 -0
  853. package/lib/request/list-agent-sessions-request.ts +73 -0
  854. package/lib/request/list-agents-request.ts +69 -0
  855. package/lib/request/list-artifacts-request.ts +0 -4
  856. package/lib/request/list-clusters-request.ts +1 -1
  857. package/lib/request/list-experiment-runs-request.ts +0 -4
  858. package/lib/request/list-experiments-request.ts +0 -4
  859. package/lib/request/list-jobs-request.ts +4 -0
  860. package/lib/request/list-logged-models-request.ts +0 -4
  861. package/lib/request/list-model-versions-request.ts +0 -4
  862. package/lib/request/list-registered-models-request.ts +0 -4
  863. package/lib/request/log-experiment-run-batch-request.ts +0 -4
  864. package/lib/request/log-experiment-run-inputs-request.ts +0 -4
  865. package/lib/request/log-experiment-run-metric-request.ts +0 -4
  866. package/lib/request/log-experiment-run-model-request.ts +0 -4
  867. package/lib/request/log-experiment-run-param-request.ts +0 -4
  868. package/lib/request/manage-agent-permission-request.ts +47 -0
  869. package/lib/request/preview-agent-agent-card-request.ts +52 -0
  870. package/lib/request/purge-bundle-action-request.ts +40 -0
  871. package/lib/request/query-replica-ids-request.ts +35 -0
  872. package/lib/request/redeploy-agent-by-key-request.ts +52 -0
  873. package/lib/request/rename-registered-model-request.ts +0 -4
  874. package/lib/request/restore-experiment-request.ts +0 -4
  875. package/lib/request/restore-experiment-run-request.ts +0 -4
  876. package/lib/request/set-experiment-run-tag-request.ts +0 -4
  877. package/lib/request/set-experiment-tag-request.ts +0 -4
  878. package/lib/request/set-model-version-tag-request.ts +0 -4
  879. package/lib/request/set-registered-model-tag-request.ts +0 -4
  880. package/lib/request/sync-bundle-action-request.ts +40 -0
  881. package/lib/request/transition-model-version-stage-request.ts +0 -4
  882. package/lib/request/update-agent-deployment-metadata-request.ts +56 -0
  883. package/lib/request/update-agent-request.ts +47 -0
  884. package/lib/request/update-cluster-request.ts +1 -1
  885. package/lib/request/update-experiment-request.ts +0 -4
  886. package/lib/request/update-experiment-run-request.ts +0 -4
  887. package/lib/request/update-experiment-run-tags-request.ts +0 -4
  888. package/lib/request/update-experiment-tags-request.ts +0 -4
  889. package/lib/request/update-model-version-request.ts +0 -4
  890. package/lib/request/update-model-version-tags-request.ts +0 -4
  891. package/lib/request/update-registered-model-request.ts +0 -4
  892. package/lib/request/update-registered-model-tags-request.ts +0 -4
  893. package/lib/request/validate-agent-request.ts +35 -0
  894. package/lib/response/copy-agent-response.ts +31 -0
  895. package/lib/response/create-agent-response.ts +31 -0
  896. package/lib/response/create-bundle-action-response.ts +21 -0
  897. package/lib/response/delete-agent-deployment-response.ts +15 -0
  898. package/lib/response/delete-agent-response.ts +15 -0
  899. package/lib/response/delete-agent-session-response.ts +15 -0
  900. package/lib/response/deploy-agent-response.ts +37 -0
  901. package/lib/response/deploy-bundle-action-response.ts +21 -0
  902. package/lib/response/fetch-bundle-deployment-status-action-response.ts +18 -0
  903. package/lib/response/get-agent-deployment-response.ts +23 -0
  904. package/lib/response/get-agent-response.ts +23 -0
  905. package/lib/response/get-agent-session-response.ts +23 -0
  906. package/lib/response/get-agent-session-trace-response.ts +24 -0
  907. package/lib/response/index.ts +54 -0
  908. package/lib/response/list-agent-deployments-response.ts +24 -0
  909. package/lib/response/list-agent-permissions-response.ts +24 -0
  910. package/lib/response/list-agent-session-chat-histories-response.ts +24 -0
  911. package/lib/response/list-agent-sessions-response.ts +30 -0
  912. package/lib/response/list-agents-response.ts +24 -0
  913. package/lib/response/manage-agent-permission-response.ts +15 -0
  914. package/lib/response/preview-agent-agent-card-response.ts +23 -0
  915. package/lib/response/purge-bundle-action-response.ts +21 -0
  916. package/lib/response/query-replica-ids-response.ts +18 -0
  917. package/lib/response/redeploy-agent-by-key-response.ts +37 -0
  918. package/lib/response/sync-bundle-action-response.ts +21 -0
  919. package/lib/response/update-agent-deployment-metadata-response.ts +23 -0
  920. package/lib/response/update-agent-response.ts +23 -0
  921. package/lib/response/validate-agent-response.ts +23 -0
  922. package/npm-shrinkwrap.json +2 -2
  923. package/package.json +1 -1
  924. package/dist/lib/model/agent-flow-attachment.d.ts +0 -17
  925. package/dist/lib/model/agent-flow-attachment.js +0 -19
  926. package/dist/lib/model/agent-flow-attachment.js.map +0 -1
  927. package/dist/lib/model/agent-flow-collection.d.ts +0 -14
  928. package/dist/lib/model/agent-flow-collection.js +0 -61
  929. package/dist/lib/model/agent-flow-collection.js.map +0 -1
  930. package/dist/lib/model/agent-flow-compute.d.ts +0 -12
  931. package/dist/lib/model/agent-flow-compute.js +0 -53
  932. package/dist/lib/model/agent-flow-compute.js.map +0 -1
  933. package/dist/lib/model/agent-flow-dependency-item.d.ts +0 -21
  934. package/dist/lib/model/agent-flow-dependency-item.js +0 -19
  935. package/dist/lib/model/agent-flow-dependency-item.js.map +0 -1
  936. package/dist/lib/model/agent-flow-dependency.d.ts +0 -22
  937. package/dist/lib/model/agent-flow-dependency.js +0 -61
  938. package/dist/lib/model/agent-flow-dependency.js.map +0 -1
  939. package/dist/lib/model/agent-flow-deployment-collection.d.ts +0 -14
  940. package/dist/lib/model/agent-flow-deployment-collection.js +0 -61
  941. package/dist/lib/model/agent-flow-deployment-collection.js.map +0 -1
  942. package/dist/lib/model/agent-flow-deployment-summary.d.ts +0 -58
  943. package/dist/lib/model/agent-flow-deployment-summary.js +0 -19
  944. package/dist/lib/model/agent-flow-deployment-summary.js.map +0 -1
  945. package/dist/lib/model/agent-flow-deployment.d.ts +0 -68
  946. package/dist/lib/model/agent-flow-deployment.js +0 -63
  947. package/dist/lib/model/agent-flow-deployment.js.map +0 -1
  948. package/dist/lib/model/agent-flow-detachment.d.ts +0 -17
  949. package/dist/lib/model/agent-flow-detachment.js +0 -19
  950. package/dist/lib/model/agent-flow-detachment.js.map +0 -1
  951. package/dist/lib/model/agent-flow-diagram.d.ts +0 -50
  952. package/dist/lib/model/agent-flow-diagram.js +0 -80
  953. package/dist/lib/model/agent-flow-diagram.js.map +0 -1
  954. package/dist/lib/model/agent-flow-edge.d.ts +0 -60
  955. package/dist/lib/model/agent-flow-edge.js +0 -67
  956. package/dist/lib/model/agent-flow-edge.js.map +0 -1
  957. package/dist/lib/model/agent-flow-guardrails-collection.d.ts +0 -14
  958. package/dist/lib/model/agent-flow-guardrails-collection.js +0 -61
  959. package/dist/lib/model/agent-flow-guardrails-collection.js.map +0 -1
  960. package/dist/lib/model/agent-flow-guardrails-summary.d.ts +0 -38
  961. package/dist/lib/model/agent-flow-guardrails-summary.js +0 -61
  962. package/dist/lib/model/agent-flow-guardrails-summary.js.map +0 -1
  963. package/dist/lib/model/agent-flow-node.d.ts +0 -73
  964. package/dist/lib/model/agent-flow-node.js +0 -140
  965. package/dist/lib/model/agent-flow-node.js.map +0 -1
  966. package/dist/lib/model/agent-flow-permission-collection.d.ts +0 -14
  967. package/dist/lib/model/agent-flow-permission-collection.js +0 -61
  968. package/dist/lib/model/agent-flow-permission-collection.js.map +0 -1
  969. package/dist/lib/model/agent-flow-permission-summary.d.ts +0 -47
  970. package/dist/lib/model/agent-flow-permission-summary.js +0 -25
  971. package/dist/lib/model/agent-flow-permission-summary.js.map +0 -1
  972. package/dist/lib/model/agent-flow-privilege-for-manage.d.ts +0 -13
  973. package/dist/lib/model/agent-flow-privilege-for-manage.js +0 -25
  974. package/dist/lib/model/agent-flow-privilege-for-manage.js.map +0 -1
  975. package/dist/lib/model/agent-flow-privilege.d.ts +0 -13
  976. package/dist/lib/model/agent-flow-privilege.js +0 -25
  977. package/dist/lib/model/agent-flow-privilege.js.map +0 -1
  978. package/dist/lib/model/agent-flow-session-collection.d.ts +0 -14
  979. package/dist/lib/model/agent-flow-session-collection.js +0 -61
  980. package/dist/lib/model/agent-flow-session-collection.js.map +0 -1
  981. package/dist/lib/model/agent-flow-session-context.d.ts +0 -11
  982. package/dist/lib/model/agent-flow-session-context.js +0 -59
  983. package/dist/lib/model/agent-flow-session-context.js.map +0 -1
  984. package/dist/lib/model/agent-flow-session-metric.d.ts +0 -116
  985. package/dist/lib/model/agent-flow-session-metric.js +0 -65
  986. package/dist/lib/model/agent-flow-session-metric.js.map +0 -1
  987. package/dist/lib/model/agent-flow-session-metrics-range.d.ts +0 -25
  988. package/dist/lib/model/agent-flow-session-metrics-range.js +0 -19
  989. package/dist/lib/model/agent-flow-session-metrics-range.js.map +0 -1
  990. package/dist/lib/model/agent-flow-session-summary.d.ts +0 -58
  991. package/dist/lib/model/agent-flow-session-summary.js +0 -19
  992. package/dist/lib/model/agent-flow-session-summary.js.map +0 -1
  993. package/dist/lib/model/agent-flow-session.d.ts +0 -59
  994. package/dist/lib/model/agent-flow-session.js +0 -59
  995. package/dist/lib/model/agent-flow-session.js.map +0 -1
  996. package/dist/lib/model/agent-flow-summary.d.ts +0 -91
  997. package/dist/lib/model/agent-flow-summary.js +0 -24
  998. package/dist/lib/model/agent-flow-summary.js.map +0 -1
  999. package/dist/lib/model/agent-flow-validation-issue.d.ts +0 -63
  1000. package/dist/lib/model/agent-flow-validation-issue.js +0 -33
  1001. package/dist/lib/model/agent-flow-validation-issue.js.map +0 -1
  1002. package/dist/lib/model/agent-flow-validation-metadata.d.ts +0 -42
  1003. package/dist/lib/model/agent-flow-validation-metadata.js +0 -27
  1004. package/dist/lib/model/agent-flow-validation-metadata.js.map +0 -1
  1005. package/dist/lib/model/agent-flow-validation-options.d.ts +0 -17
  1006. package/dist/lib/model/agent-flow-validation-options.js +0 -19
  1007. package/dist/lib/model/agent-flow-validation-options.js.map +0 -1
  1008. package/dist/lib/model/agent-flow-validation-result.d.ts +0 -28
  1009. package/dist/lib/model/agent-flow-validation-result.js +0 -74
  1010. package/dist/lib/model/agent-flow-validation-result.js.map +0 -1
  1011. package/dist/lib/model/agent-flow-validation-summary.d.ts +0 -31
  1012. package/dist/lib/model/agent-flow-validation-summary.js +0 -19
  1013. package/dist/lib/model/agent-flow-validation-summary.js.map +0 -1
  1014. package/dist/lib/model/agent-flow.d.ts +0 -104
  1015. package/dist/lib/model/agent-flow.js +0 -81
  1016. package/dist/lib/model/agent-flow.js.map +0 -1
  1017. package/dist/lib/model/agent-node.d.ts +0 -32
  1018. package/dist/lib/model/agent-node.js +0 -69
  1019. package/dist/lib/model/agent-node.js.map +0 -1
  1020. package/dist/lib/model/aggregated-time-series-data-point.d.ts +0 -17
  1021. package/dist/lib/model/aggregated-time-series-data-point.js +0 -19
  1022. package/dist/lib/model/aggregated-time-series-data-point.js.map +0 -1
  1023. package/dist/lib/model/assign-agent-flow-permission-details.d.ts +0 -28
  1024. package/dist/lib/model/assign-agent-flow-permission-details.js +0 -65
  1025. package/dist/lib/model/assign-agent-flow-permission-details.js.map +0 -1
  1026. package/dist/lib/model/attach-compute-details.d.ts +0 -13
  1027. package/dist/lib/model/attach-compute-details.js +0 -19
  1028. package/dist/lib/model/attach-compute-details.js.map +0 -1
  1029. package/dist/lib/model/copy-agent-flow-details.d.ts +0 -25
  1030. package/dist/lib/model/copy-agent-flow-details.js +0 -19
  1031. package/dist/lib/model/copy-agent-flow-details.js.map +0 -1
  1032. package/dist/lib/model/create-agent-flow-compute-details.d.ts +0 -12
  1033. package/dist/lib/model/create-agent-flow-compute-details.js +0 -53
  1034. package/dist/lib/model/create-agent-flow-compute-details.js.map +0 -1
  1035. package/dist/lib/model/create-agent-flow-details.d.ts +0 -46
  1036. package/dist/lib/model/create-agent-flow-details.js +0 -76
  1037. package/dist/lib/model/create-agent-flow-details.js.map +0 -1
  1038. package/dist/lib/model/create-agent-flow-edge-details.d.ts +0 -45
  1039. package/dist/lib/model/create-agent-flow-edge-details.js +0 -61
  1040. package/dist/lib/model/create-agent-flow-edge-details.js.map +0 -1
  1041. package/dist/lib/model/create-agent-flow-node-details.d.ts +0 -52
  1042. package/dist/lib/model/create-agent-flow-node-details.js +0 -96
  1043. package/dist/lib/model/create-agent-flow-node-details.js.map +0 -1
  1044. package/dist/lib/model/create-agent-flow-session-details.d.ts +0 -19
  1045. package/dist/lib/model/create-agent-flow-session-details.js +0 -59
  1046. package/dist/lib/model/create-agent-flow-session-details.js.map +0 -1
  1047. package/dist/lib/model/create-agent-node-details.d.ts +0 -28
  1048. package/dist/lib/model/create-agent-node-details.js +0 -69
  1049. package/dist/lib/model/create-agent-node-details.js.map +0 -1
  1050. package/dist/lib/model/create-custom-tool-node-details.d.ts +0 -23
  1051. package/dist/lib/model/create-custom-tool-node-details.js +0 -59
  1052. package/dist/lib/model/create-custom-tool-node-details.js.map +0 -1
  1053. package/dist/lib/model/create-http-tool-node-details.d.ts +0 -23
  1054. package/dist/lib/model/create-http-tool-node-details.js +0 -59
  1055. package/dist/lib/model/create-http-tool-node-details.js.map +0 -1
  1056. package/dist/lib/model/create-mcp-tool-node-details.d.ts +0 -23
  1057. package/dist/lib/model/create-mcp-tool-node-details.js +0 -59
  1058. package/dist/lib/model/create-mcp-tool-node-details.js.map +0 -1
  1059. package/dist/lib/model/create-prompt-tool-node-details.d.ts +0 -23
  1060. package/dist/lib/model/create-prompt-tool-node-details.js +0 -59
  1061. package/dist/lib/model/create-prompt-tool-node-details.js.map +0 -1
  1062. package/dist/lib/model/create-rag-tool-node-details.d.ts +0 -18
  1063. package/dist/lib/model/create-rag-tool-node-details.js +0 -63
  1064. package/dist/lib/model/create-rag-tool-node-details.js.map +0 -1
  1065. package/dist/lib/model/create-sql-tool-node-details.d.ts +0 -23
  1066. package/dist/lib/model/create-sql-tool-node-details.js +0 -59
  1067. package/dist/lib/model/create-sql-tool-node-details.js.map +0 -1
  1068. package/dist/lib/model/custom-tool-node.d.ts +0 -18
  1069. package/dist/lib/model/custom-tool-node.js +0 -53
  1070. package/dist/lib/model/custom-tool-node.js.map +0 -1
  1071. package/dist/lib/model/deploy-agent-flow-details.d.ts +0 -32
  1072. package/dist/lib/model/deploy-agent-flow-details.js +0 -63
  1073. package/dist/lib/model/deploy-agent-flow-details.js.map +0 -1
  1074. package/dist/lib/model/detach-compute-details.d.ts +0 -13
  1075. package/dist/lib/model/detach-compute-details.js +0 -19
  1076. package/dist/lib/model/detach-compute-details.js.map +0 -1
  1077. package/dist/lib/model/external-agent-node.d.ts +0 -22
  1078. package/dist/lib/model/external-agent-node.js +0 -53
  1079. package/dist/lib/model/external-agent-node.js.map +0 -1
  1080. package/dist/lib/model/git-folder-metadatum.d.ts +0 -17
  1081. package/dist/lib/model/git-folder-metadatum.js +0 -19
  1082. package/dist/lib/model/git-folder-metadatum.js.map +0 -1
  1083. package/dist/lib/model/git-restore-branch-details.d.ts +0 -21
  1084. package/dist/lib/model/git-restore-branch-details.js +0 -19
  1085. package/dist/lib/model/git-restore-branch-details.js.map +0 -1
  1086. package/dist/lib/model/guardrail-node.d.ts +0 -22
  1087. package/dist/lib/model/guardrail-node.js +0 -53
  1088. package/dist/lib/model/guardrail-node.js.map +0 -1
  1089. package/dist/lib/model/http-tool-node.d.ts +0 -18
  1090. package/dist/lib/model/http-tool-node.js +0 -53
  1091. package/dist/lib/model/http-tool-node.js.map +0 -1
  1092. package/dist/lib/model/human-in-the-loop-node.d.ts +0 -18
  1093. package/dist/lib/model/human-in-the-loop-node.js +0 -53
  1094. package/dist/lib/model/human-in-the-loop-node.js.map +0 -1
  1095. package/dist/lib/model/keyed-time-series.d.ts +0 -18
  1096. package/dist/lib/model/keyed-time-series.js +0 -61
  1097. package/dist/lib/model/keyed-time-series.js.map +0 -1
  1098. package/dist/lib/model/manage-agent-flow-permission-details.d.ts +0 -12
  1099. package/dist/lib/model/manage-agent-flow-permission-details.js +0 -63
  1100. package/dist/lib/model/manage-agent-flow-permission-details.js.map +0 -1
  1101. package/dist/lib/model/mcp-tool-node.d.ts +0 -18
  1102. package/dist/lib/model/mcp-tool-node.js +0 -53
  1103. package/dist/lib/model/mcp-tool-node.js.map +0 -1
  1104. package/dist/lib/model/nested-agent-flow-node.d.ts +0 -23
  1105. package/dist/lib/model/nested-agent-flow-node.js +0 -59
  1106. package/dist/lib/model/nested-agent-flow-node.js.map +0 -1
  1107. package/dist/lib/model/playground-cache.d.ts +0 -16
  1108. package/dist/lib/model/playground-cache.js +0 -62
  1109. package/dist/lib/model/playground-cache.js.map +0 -1
  1110. package/dist/lib/model/preview-agent-flow-agent-card-details.d.ts +0 -11
  1111. package/dist/lib/model/preview-agent-flow-agent-card-details.js +0 -59
  1112. package/dist/lib/model/preview-agent-flow-agent-card-details.js.map +0 -1
  1113. package/dist/lib/model/prompt-tool-node.d.ts +0 -18
  1114. package/dist/lib/model/prompt-tool-node.js +0 -53
  1115. package/dist/lib/model/prompt-tool-node.js.map +0 -1
  1116. package/dist/lib/model/rag-tool-node.d.ts +0 -13
  1117. package/dist/lib/model/rag-tool-node.js +0 -59
  1118. package/dist/lib/model/rag-tool-node.js.map +0 -1
  1119. package/dist/lib/model/revoke-agent-flow-permission-details.d.ts +0 -28
  1120. package/dist/lib/model/revoke-agent-flow-permission-details.js +0 -65
  1121. package/dist/lib/model/revoke-agent-flow-permission-details.js.map +0 -1
  1122. package/dist/lib/model/session-variable.d.ts +0 -17
  1123. package/dist/lib/model/session-variable.js +0 -19
  1124. package/dist/lib/model/session-variable.js.map +0 -1
  1125. package/dist/lib/model/sql-tool-node.d.ts +0 -18
  1126. package/dist/lib/model/sql-tool-node.js +0 -53
  1127. package/dist/lib/model/sql-tool-node.js.map +0 -1
  1128. package/dist/lib/model/start-node.d.ts +0 -18
  1129. package/dist/lib/model/start-node.js +0 -53
  1130. package/dist/lib/model/start-node.js.map +0 -1
  1131. package/dist/lib/model/stop-agent-flow-session-details.d.ts +0 -9
  1132. package/dist/lib/model/stop-agent-flow-session-details.js +0 -19
  1133. package/dist/lib/model/stop-agent-flow-session-details.js.map +0 -1
  1134. package/dist/lib/model/supervisor-agent-node.d.ts +0 -38
  1135. package/dist/lib/model/supervisor-agent-node.js +0 -69
  1136. package/dist/lib/model/supervisor-agent-node.js.map +0 -1
  1137. package/dist/lib/model/update-agent-flow-compute-details.d.ts +0 -12
  1138. package/dist/lib/model/update-agent-flow-compute-details.js +0 -53
  1139. package/dist/lib/model/update-agent-flow-compute-details.js.map +0 -1
  1140. package/dist/lib/model/update-agent-flow-deployment-details.d.ts +0 -31
  1141. package/dist/lib/model/update-agent-flow-deployment-details.js +0 -59
  1142. package/dist/lib/model/update-agent-flow-deployment-details.js.map +0 -1
  1143. package/dist/lib/model/update-agent-flow-deployment-metadata-details.d.ts +0 -15
  1144. package/dist/lib/model/update-agent-flow-deployment-metadata-details.js +0 -59
  1145. package/dist/lib/model/update-agent-flow-deployment-metadata-details.js.map +0 -1
  1146. package/dist/lib/model/update-agent-flow-details.d.ts +0 -46
  1147. package/dist/lib/model/update-agent-flow-details.js +0 -71
  1148. package/dist/lib/model/update-agent-flow-details.js.map +0 -1
  1149. package/dist/lib/model/update-agent-flow-node-details.d.ts +0 -48
  1150. package/dist/lib/model/update-agent-flow-node-details.js +0 -96
  1151. package/dist/lib/model/update-agent-flow-node-details.js.map +0 -1
  1152. package/dist/lib/model/update-agent-flow-session-details.d.ts +0 -23
  1153. package/dist/lib/model/update-agent-flow-session-details.js +0 -59
  1154. package/dist/lib/model/update-agent-flow-session-details.js.map +0 -1
  1155. package/dist/lib/model/update-agent-flow-session-playground-cache-details.d.ts +0 -16
  1156. package/dist/lib/model/update-agent-flow-session-playground-cache-details.js +0 -62
  1157. package/dist/lib/model/update-agent-flow-session-playground-cache-details.js.map +0 -1
  1158. package/dist/lib/model/update-agent-node-details.d.ts +0 -28
  1159. package/dist/lib/model/update-agent-node-details.js +0 -69
  1160. package/dist/lib/model/update-agent-node-details.js.map +0 -1
  1161. package/dist/lib/model/update-custom-tool-node-details.d.ts +0 -23
  1162. package/dist/lib/model/update-custom-tool-node-details.js +0 -59
  1163. package/dist/lib/model/update-custom-tool-node-details.js.map +0 -1
  1164. package/dist/lib/model/update-http-tool-node-details.d.ts +0 -18
  1165. package/dist/lib/model/update-http-tool-node-details.js +0 -53
  1166. package/dist/lib/model/update-http-tool-node-details.js.map +0 -1
  1167. package/dist/lib/model/update-mcp-tool-node-details.d.ts +0 -18
  1168. package/dist/lib/model/update-mcp-tool-node-details.js +0 -53
  1169. package/dist/lib/model/update-mcp-tool-node-details.js.map +0 -1
  1170. package/dist/lib/model/update-prompt-tool-node-details.d.ts +0 -18
  1171. package/dist/lib/model/update-prompt-tool-node-details.js +0 -53
  1172. package/dist/lib/model/update-prompt-tool-node-details.js.map +0 -1
  1173. package/dist/lib/model/update-rag-tool-node-details.d.ts +0 -13
  1174. package/dist/lib/model/update-rag-tool-node-details.js +0 -59
  1175. package/dist/lib/model/update-rag-tool-node-details.js.map +0 -1
  1176. package/dist/lib/model/update-sql-tool-node-details.d.ts +0 -18
  1177. package/dist/lib/model/update-sql-tool-node-details.js +0 -53
  1178. package/dist/lib/model/update-sql-tool-node-details.js.map +0 -1
  1179. package/dist/lib/model/validate-agent-flow-diagram-details.d.ts +0 -28
  1180. package/dist/lib/model/validate-agent-flow-diagram-details.js +0 -68
  1181. package/dist/lib/model/validate-agent-flow-diagram-details.js.map +0 -1
  1182. package/dist/lib/model/validate-agent-flow-response.d.ts +0 -18
  1183. package/dist/lib/model/validate-agent-flow-response.js +0 -61
  1184. package/dist/lib/model/validate-agent-flow-response.js.map +0 -1
  1185. package/lib/model/agent-flow-attachment.ts +0 -49
  1186. package/lib/model/agent-flow-collection.ts +0 -50
  1187. package/lib/model/agent-flow-compute.ts +0 -36
  1188. package/lib/model/agent-flow-dependency-item.ts +0 -56
  1189. package/lib/model/agent-flow-dependency.ts +0 -64
  1190. package/lib/model/agent-flow-deployment-collection.ts +0 -50
  1191. package/lib/model/agent-flow-deployment-summary.ts +0 -119
  1192. package/lib/model/agent-flow-deployment.ts +0 -153
  1193. package/lib/model/agent-flow-detachment.ts +0 -49
  1194. package/lib/model/agent-flow-diagram.ts +0 -123
  1195. package/lib/model/agent-flow-edge.ts +0 -135
  1196. package/lib/model/agent-flow-guardrails-collection.ts +0 -50
  1197. package/lib/model/agent-flow-guardrails-summary.ts +0 -92
  1198. package/lib/model/agent-flow-node.ts +0 -230
  1199. package/lib/model/agent-flow-permission-collection.ts +0 -50
  1200. package/lib/model/agent-flow-permission-summary.ts +0 -99
  1201. package/lib/model/agent-flow-privilege-for-manage.ts +0 -25
  1202. package/lib/model/agent-flow-privilege.ts +0 -25
  1203. package/lib/model/agent-flow-session-collection.ts +0 -50
  1204. package/lib/model/agent-flow-session-context.ts +0 -45
  1205. package/lib/model/agent-flow-session-metric.ts +0 -236
  1206. package/lib/model/agent-flow-session-metrics-range.ts +0 -63
  1207. package/lib/model/agent-flow-session-summary.ts +0 -119
  1208. package/lib/model/agent-flow-session.ts +0 -129
  1209. package/lib/model/agent-flow-summary.ts +0 -177
  1210. package/lib/model/agent-flow-validation-issue.ts +0 -123
  1211. package/lib/model/agent-flow-validation-metadata.ts +0 -87
  1212. package/lib/model/agent-flow-validation-options.ts +0 -49
  1213. package/lib/model/agent-flow-validation-result.ts +0 -91
  1214. package/lib/model/agent-flow-validation-summary.ts +0 -70
  1215. package/lib/model/agent-flow.ts +0 -231
  1216. package/lib/model/agent-node.ts +0 -92
  1217. package/lib/model/aggregated-time-series-data-point.ts +0 -49
  1218. package/lib/model/assign-agent-flow-permission-details.ts +0 -74
  1219. package/lib/model/attach-compute-details.ts +0 -42
  1220. package/lib/model/copy-agent-flow-details.ts +0 -63
  1221. package/lib/model/create-agent-flow-compute-details.ts +0 -36
  1222. package/lib/model/create-agent-flow-details.ts +0 -131
  1223. package/lib/model/create-agent-flow-edge-details.ts +0 -99
  1224. package/lib/model/create-agent-flow-node-details.ts +0 -147
  1225. package/lib/model/create-agent-flow-session-details.ts +0 -59
  1226. package/lib/model/create-agent-node-details.ts +0 -85
  1227. package/lib/model/create-custom-tool-node-details.ts +0 -60
  1228. package/lib/model/create-http-tool-node-details.ts +0 -60
  1229. package/lib/model/create-mcp-tool-node-details.ts +0 -60
  1230. package/lib/model/create-prompt-tool-node-details.ts +0 -60
  1231. package/lib/model/create-rag-tool-node-details.ts +0 -63
  1232. package/lib/model/create-sql-tool-node-details.ts +0 -60
  1233. package/lib/model/custom-tool-node.ts +0 -43
  1234. package/lib/model/deploy-agent-flow-details.ts +0 -90
  1235. package/lib/model/detach-compute-details.ts +0 -42
  1236. package/lib/model/external-agent-node.ts +0 -50
  1237. package/lib/model/git-folder-metadatum.ts +0 -49
  1238. package/lib/model/git-restore-branch-details.ts +0 -56
  1239. package/lib/model/guardrail-node.ts +0 -50
  1240. package/lib/model/http-tool-node.ts +0 -43
  1241. package/lib/model/human-in-the-loop-node.ts +0 -43
  1242. package/lib/model/keyed-time-series.ts +0 -57
  1243. package/lib/model/manage-agent-flow-permission-details.ts +0 -55
  1244. package/lib/model/mcp-tool-node.ts +0 -43
  1245. package/lib/model/nested-agent-flow-node.ts +0 -60
  1246. package/lib/model/playground-cache.ts +0 -50
  1247. package/lib/model/preview-agent-flow-agent-card-details.ts +0 -45
  1248. package/lib/model/prompt-tool-node.ts +0 -43
  1249. package/lib/model/rag-tool-node.ts +0 -46
  1250. package/lib/model/revoke-agent-flow-permission-details.ts +0 -74
  1251. package/lib/model/session-variable.ts +0 -49
  1252. package/lib/model/sql-tool-node.ts +0 -43
  1253. package/lib/model/start-node.ts +0 -43
  1254. package/lib/model/stop-agent-flow-session-details.ts +0 -35
  1255. package/lib/model/supervisor-agent-node.ts +0 -99
  1256. package/lib/model/update-agent-flow-compute-details.ts +0 -36
  1257. package/lib/model/update-agent-flow-deployment-details.ts +0 -80
  1258. package/lib/model/update-agent-flow-deployment-metadata-details.ts +0 -52
  1259. package/lib/model/update-agent-flow-details.ts +0 -131
  1260. package/lib/model/update-agent-flow-node-details.ts +0 -140
  1261. package/lib/model/update-agent-flow-session-details.ts +0 -66
  1262. package/lib/model/update-agent-flow-session-playground-cache-details.ts +0 -50
  1263. package/lib/model/update-agent-node-details.ts +0 -85
  1264. package/lib/model/update-custom-tool-node-details.ts +0 -60
  1265. package/lib/model/update-http-tool-node-details.ts +0 -43
  1266. package/lib/model/update-mcp-tool-node-details.ts +0 -43
  1267. package/lib/model/update-prompt-tool-node-details.ts +0 -43
  1268. package/lib/model/update-rag-tool-node-details.ts +0 -46
  1269. package/lib/model/update-sql-tool-node-details.ts +0 -43
  1270. package/lib/model/validate-agent-flow-diagram-details.ts +0 -83
  1271. package/lib/model/validate-agent-flow-response.ts +0 -57
package/lib/client.ts CHANGED
@@ -11,12 +11,12 @@ const Breaker = require("opossum");
11
11
  // This file is autogenerated - Please do not edit
12
12
  // ===============================================
13
13
 
14
- export enum AsyncOperationsApiKeys {
14
+ export enum AgentApiKeys {
15
15
  }
16
16
  /**
17
17
  * This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
18
18
  */
19
- export class AsyncOperationsClient {
19
+ export class AgentClient {
20
20
  protected static serviceEndpointTemplate = 'https://datalake.{region}.oci.{secondLevelDomain}';
21
21
  protected static endpointServiceName = '';
22
22
  protected "_realmSpecificEndpointTemplateEnabled" : boolean | undefined = undefined;
@@ -26,7 +26,7 @@ export class AsyncOperationsClient {
26
26
  protected _circuitBreaker: typeof Breaker | null = null;
27
27
  protected _httpOptions: any = undefined;
28
28
  protected _bodyDuplexMode: any = undefined;
29
- public targetService = "AsyncOperations";
29
+ public targetService = "Agent";
30
30
  protected _regionId : string = '';
31
31
  protected "_region" : common.Region;
32
32
  protected _lastSetRegionOrRegionId : string = "";
@@ -83,7 +83,7 @@ export class AsyncOperationsClient {
83
83
  this._endpoint = endpoint;
84
84
  this._endpoint = this._endpoint + '/20260430';
85
85
  if (this.logger)
86
- this.logger.info(`AsyncOperationsClient endpoint set to ${this._endpoint}`);
86
+ this.logger.info(`AgentClient endpoint set to ${this._endpoint}`);
87
87
  }
88
88
 
89
89
  public get logger() {
@@ -101,16 +101,16 @@ export class AsyncOperationsClient {
101
101
  this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
102
102
  if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
103
103
  this.endpoint = common.EndpointBuilder.createEndpointFromRegion(
104
- AsyncOperationsClient.serviceEndpointTemplate,
104
+ AgentClient.serviceEndpointTemplate,
105
105
  this._region,
106
- AsyncOperationsClient.endpointServiceName,
106
+ AgentClient.endpointServiceName,
107
107
 
108
108
  );
109
109
  } else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) {
110
110
  this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(
111
- AsyncOperationsClient.serviceEndpointTemplate,
111
+ AgentClient.serviceEndpointTemplate,
112
112
  this._regionId,
113
- AsyncOperationsClient.endpointServiceName,
113
+ AgentClient.endpointServiceName,
114
114
 
115
115
  );
116
116
  }
@@ -124,9 +124,9 @@ export class AsyncOperationsClient {
124
124
  public set region(region: common.Region) {
125
125
  this._region = region;
126
126
  this.endpoint = common.EndpointBuilder.createEndpointFromRegion(
127
- AsyncOperationsClient.serviceEndpointTemplate,
127
+ AgentClient.serviceEndpointTemplate,
128
128
  region,
129
- AsyncOperationsClient.endpointServiceName,
129
+ AgentClient.endpointServiceName,
130
130
 
131
131
  );
132
132
  this._lastSetRegionOrRegionId = common.Region.REGION_STRING;
@@ -143,9 +143,9 @@ export class AsyncOperationsClient {
143
143
  public set regionId(regionId: string) {
144
144
  this._regionId = regionId;
145
145
  this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(
146
- AsyncOperationsClient.serviceEndpointTemplate,
146
+ AgentClient.serviceEndpointTemplate,
147
147
  regionId,
148
- AsyncOperationsClient.endpointServiceName,
148
+ AgentClient.endpointServiceName,
149
149
 
150
150
  );
151
151
  this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING;
@@ -181,22 +181,22 @@ export class AsyncOperationsClient {
181
181
  }
182
182
 
183
183
  /**
184
- * Get detailed information for a particular async operation
185
- *
184
+ * Copy an Agent.
186
185
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
187
- * @param GetAsyncOperationRequest
188
- * @return GetAsyncOperationResponse
186
+ * @param CopyAgentRequest
187
+ * @return CopyAgentResponse
189
188
  * @throws OciError when an error occurs
190
- * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/GetAsyncOperation.ts.html |here} to see how to use GetAsyncOperation API.
189
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/CopyAgent.ts.html |here} to see how to use CopyAgent API.
191
190
  */
192
- public async getAsyncOperation (getAsyncOperationRequest: requests.GetAsyncOperationRequest) : Promise<responses.GetAsyncOperationResponse> {
191
+ public async copyAgent (copyAgentRequest: requests.CopyAgentRequest) : Promise<responses.CopyAgentResponse> {
193
192
  if (this.logger)
194
- this.logger.debug("Calling operation AsyncOperationsClient#getAsyncOperation.");
195
- const operationName = "getAsyncOperation";
193
+ this.logger.debug("Calling operation AgentClient#copyAgent.");
194
+ const operationName = "copyAgent";
196
195
  const apiReferenceLink = "";
197
196
  const pathParams = {
198
- "{aiDataPlatformId}": getAsyncOperationRequest.aiDataPlatformId,
199
- "{asyncOperationKey}": getAsyncOperationRequest.asyncOperationKey,
197
+ "{aiDataPlatformId}": copyAgentRequest.aiDataPlatformId,
198
+ "{workspaceKey}": copyAgentRequest.workspaceKey,
199
+ "{agentKey}": copyAgentRequest.agentKey,
200
200
  };
201
201
 
202
202
  const queryParams = {
@@ -204,21 +204,24 @@ export class AsyncOperationsClient {
204
204
 
205
205
  let headerParams = {
206
206
  "Content-Type": common.Constants.APPLICATION_JSON,
207
- 'opc-request-id': getAsyncOperationRequest.opcRequestId,
207
+ 'should-update-recent': copyAgentRequest.shouldUpdateRecent,'opc-retry-token': copyAgentRequest.opcRetryToken,'opc-request-id': copyAgentRequest.opcRequestId,'if-match': copyAgentRequest.ifMatch,
208
208
  };
209
209
 
210
210
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
211
211
  const retrier = GenericRetrier.createPreferredRetrier(
212
212
  this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
213
- getAsyncOperationRequest.retryConfiguration,
213
+ copyAgentRequest.retryConfiguration,
214
214
  specRetryConfiguration
215
215
  );
216
216
  if (this.logger) retrier.logger = this.logger;
217
217
  const request = await composeRequest({
218
218
  baseEndpoint: this._endpoint,
219
219
  defaultHeaders: this._defaultHeaders,
220
- path: '/aiDataPlatforms/{aiDataPlatformId}/asyncOperations/{asyncOperationKey}',
221
- method: 'GET',
220
+ path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/agents/{agentKey}/actions/copy',
221
+ method: 'POST',
222
+ bodyContent: common.ObjectSerializer.serialize(copyAgentRequest.copyAgentDetails, "CopyAgentDetails"
223
+ , model.CopyAgentDetails.getJsonObj)
224
+ ,
222
225
  pathParams: pathParams,
223
226
  headerParams: headerParams,
224
227
  queryParams: queryParams
@@ -226,20 +229,30 @@ export class AsyncOperationsClient {
226
229
  try {
227
230
  const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
228
231
  const sdkResponse = composeResponse({
229
- responseObject: <responses.GetAsyncOperationResponse>{},
232
+ responseObject: <responses.CopyAgentResponse>{},
230
233
  body: await response.json(),
231
- bodyKey: "asyncOperation",
232
- bodyModel: model.AsyncOperation,
233
- type: "model.AsyncOperation",
234
+ bodyKey: "agent",
235
+ bodyModel: model.Agent,
236
+ type: "model.Agent",
234
237
  responseHeaders: [
235
238
  {
236
- value: response.headers.get("opc-request-id"),
237
- key: "opcRequestId",
239
+ value: response.headers.get("location"),
240
+ key: "location",
238
241
  dataType: "string"
239
242
  },
240
243
  {
241
- value: response.headers.get("opc-next-page"),
242
- key: "opcNextPage",
244
+ value: response.headers.get("content-location"),
245
+ key: "contentLocation",
246
+ dataType: "string"
247
+ },
248
+ {
249
+ value: response.headers.get("etag"),
250
+ key: "etag",
251
+ dataType: "string"
252
+ },
253
+ {
254
+ value: response.headers.get("opc-request-id"),
255
+ key: "opcRequestId",
243
256
  dataType: "string"
244
257
  },
245
258
  ]
@@ -253,53 +266,46 @@ export class AsyncOperationsClient {
253
266
  }
254
267
 
255
268
  /**
256
- * List all async operations for a resource type.
257
- * Filters can be used to narrow the search down.
258
- *
269
+ * Create an Agent.
259
270
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
260
- * @param ListAsyncOperationsRequest
261
- * @return ListAsyncOperationsResponse
271
+ * @param CreateAgentRequest
272
+ * @return CreateAgentResponse
262
273
  * @throws OciError when an error occurs
263
- * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/ListAsyncOperations.ts.html |here} to see how to use ListAsyncOperations API.
274
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/CreateAgent.ts.html |here} to see how to use CreateAgent API.
264
275
  */
265
- public async listAsyncOperations (listAsyncOperationsRequest: requests.ListAsyncOperationsRequest) : Promise<responses.ListAsyncOperationsResponse> {
276
+ public async createAgent (createAgentRequest: requests.CreateAgentRequest) : Promise<responses.CreateAgentResponse> {
266
277
  if (this.logger)
267
- this.logger.debug("Calling operation AsyncOperationsClient#listAsyncOperations.");
268
- const operationName = "listAsyncOperations";
278
+ this.logger.debug("Calling operation AgentClient#createAgent.");
279
+ const operationName = "createAgent";
269
280
  const apiReferenceLink = "";
270
281
  const pathParams = {
271
- "{aiDataPlatformId}": listAsyncOperationsRequest.aiDataPlatformId,
282
+ "{aiDataPlatformId}": createAgentRequest.aiDataPlatformId,
283
+ "{workspaceKey}": createAgentRequest.workspaceKey,
272
284
  };
273
285
 
274
286
  const queryParams = {
275
- 'resourceType': listAsyncOperationsRequest.resourceType,
276
- 'resourceName': listAsyncOperationsRequest.resourceName,
277
- 'matchResourceName': listAsyncOperationsRequest.matchResourceName,
278
- 'status': listAsyncOperationsRequest.status,
279
- 'shouldFilterByCallingPrincipal': listAsyncOperationsRequest.shouldFilterByCallingPrincipal,
280
- 'limit': listAsyncOperationsRequest.limit,
281
- 'page': listAsyncOperationsRequest.page,
282
- 'sortOrder': listAsyncOperationsRequest.sortOrder,
283
- 'sortBy': listAsyncOperationsRequest.sortBy,
284
287
  };
285
288
 
286
289
  let headerParams = {
287
290
  "Content-Type": common.Constants.APPLICATION_JSON,
288
- 'opc-request-id': listAsyncOperationsRequest.opcRequestId,
291
+ 'should-update-recent': createAgentRequest.shouldUpdateRecent,'opc-retry-token': createAgentRequest.opcRetryToken,'opc-request-id': createAgentRequest.opcRequestId,
289
292
  };
290
293
 
291
294
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
292
295
  const retrier = GenericRetrier.createPreferredRetrier(
293
296
  this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
294
- listAsyncOperationsRequest.retryConfiguration,
297
+ createAgentRequest.retryConfiguration,
295
298
  specRetryConfiguration
296
299
  );
297
300
  if (this.logger) retrier.logger = this.logger;
298
301
  const request = await composeRequest({
299
302
  baseEndpoint: this._endpoint,
300
303
  defaultHeaders: this._defaultHeaders,
301
- path: '/aiDataPlatforms/{aiDataPlatformId}/asyncOperations',
302
- method: 'GET',
304
+ path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/agents',
305
+ method: 'POST',
306
+ bodyContent: common.ObjectSerializer.serialize(createAgentRequest.createAgentDetails, "CreateAgentDetails"
307
+ , model.CreateAgentDetails.getJsonObj)
308
+ ,
303
309
  pathParams: pathParams,
304
310
  headerParams: headerParams,
305
311
  queryParams: queryParams
@@ -307,20 +313,30 @@ export class AsyncOperationsClient {
307
313
  try {
308
314
  const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
309
315
  const sdkResponse = composeResponse({
310
- responseObject: <responses.ListAsyncOperationsResponse>{},
316
+ responseObject: <responses.CreateAgentResponse>{},
311
317
  body: await response.json(),
312
- bodyKey: "asyncOperationCollection",
313
- bodyModel: model.AsyncOperationCollection,
314
- type: "model.AsyncOperationCollection",
318
+ bodyKey: "agent",
319
+ bodyModel: model.Agent,
320
+ type: "model.Agent",
315
321
  responseHeaders: [
316
322
  {
317
- value: response.headers.get("opc-request-id"),
318
- key: "opcRequestId",
323
+ value: response.headers.get("location"),
324
+ key: "location",
319
325
  dataType: "string"
320
326
  },
321
327
  {
322
- value: response.headers.get("opc-next-page"),
323
- key: "opcNextPage",
328
+ value: response.headers.get("content-location"),
329
+ key: "contentLocation",
330
+ dataType: "string"
331
+ },
332
+ {
333
+ value: response.headers.get("etag"),
334
+ key: "etag",
335
+ dataType: "string"
336
+ },
337
+ {
338
+ value: response.headers.get("opc-request-id"),
339
+ key: "opcRequestId",
324
340
  dataType: "string"
325
341
  },
326
342
  ]
@@ -333,191 +349,214 @@ export class AsyncOperationsClient {
333
349
  }
334
350
  }
335
351
 
336
- }
337
- export enum AuditApiKeys {
338
- }
339
- /**
340
- * This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
341
- */
342
- export class AuditClient {
343
- protected static serviceEndpointTemplate = 'https://datalake.{region}.oci.{secondLevelDomain}';
344
- protected static endpointServiceName = '';
345
- protected "_realmSpecificEndpointTemplateEnabled" : boolean | undefined = undefined;
346
- protected "_endpoint" : string = '';
347
- protected "_defaultHeaders" : any = {};
348
- protected "_clientConfiguration": common.ClientConfiguration;
349
- protected _circuitBreaker: typeof Breaker | null = null;
350
- protected _httpOptions: any = undefined;
351
- protected _bodyDuplexMode: any = undefined;
352
- public targetService = "Audit";
353
- protected _regionId : string = '';
354
- protected "_region" : common.Region;
355
- protected _lastSetRegionOrRegionId : string = "";
356
-
357
- protected _httpClient: common.HttpClient;
358
- protected _authProvider: common.AuthenticationDetailsProvider | undefined;
352
+ /**
353
+ * Delete an Agent from the schema
354
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
355
+ * @param DeleteAgentRequest
356
+ * @return DeleteAgentResponse
357
+ * @throws OciError when an error occurs
358
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/DeleteAgent.ts.html |here} to see how to use DeleteAgent API.
359
+ */
360
+ public async deleteAgent (deleteAgentRequest: requests.DeleteAgentRequest) : Promise<responses.DeleteAgentResponse> {
361
+ if (this.logger)
362
+ this.logger.debug("Calling operation AgentClient#deleteAgent.");
363
+ const operationName = "deleteAgent";
364
+ const apiReferenceLink = "";
365
+ const pathParams = {
366
+ "{aiDataPlatformId}": deleteAgentRequest.aiDataPlatformId,
367
+ "{workspaceKey}": deleteAgentRequest.workspaceKey,
368
+ "{agentKey}": deleteAgentRequest.agentKey,
369
+ };
359
370
 
360
- constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration) {
361
- const requestSigner = params.authenticationDetailsProvider
362
- ? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
363
- : null;
364
- this._authProvider = params.authenticationDetailsProvider;
365
- if (clientConfiguration) {
366
- this._clientConfiguration = clientConfiguration;
367
- this._circuitBreaker = clientConfiguration.circuitBreaker ? clientConfiguration.circuitBreaker!.circuit : null;
368
- this._httpOptions = clientConfiguration.httpOptions ? clientConfiguration.httpOptions : undefined;
369
- this._bodyDuplexMode = clientConfiguration.bodyDuplexMode ? clientConfiguration.bodyDuplexMode : undefined;
370
- }
371
+ const queryParams = {
372
+ };
371
373
 
372
- if (!developerToolConfiguration.isServiceEnabled("aidp"))
373
- {
374
- let errmsg = "The developerToolConfiguration configuration disabled this service, this behavior is controlled by developerToolConfiguration.ociEnabledServiceSet variable. Please check if your local developer_tool_configuration file has configured the service you're targeting or contact the cloud provider on the availability of this service : ";
375
- throw errmsg.concat("aidp");
376
- }
374
+ let headerParams = {
375
+ "Content-Type": common.Constants.APPLICATION_JSON,
376
+ 'if-match': deleteAgentRequest.ifMatch,'opc-request-id': deleteAgentRequest.opcRequestId,'should-update-recent': deleteAgentRequest.shouldUpdateRecent,
377
+ };
377
378
 
378
- // if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
379
- const specCircuitBreakerEnabled = true;
380
- if (!this._circuitBreaker && common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!) && (specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
381
- this._circuitBreaker = new common.CircuitBreaker().circuit;
382
- }
383
- this._httpClient = params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions, this._bodyDuplexMode);
379
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
380
+ const retrier = GenericRetrier.createPreferredRetrier(
381
+ this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
382
+ deleteAgentRequest.retryConfiguration,
383
+ specRetryConfiguration
384
+ );
385
+ if (this.logger) retrier.logger = this.logger;
386
+ const request = await composeRequest({
387
+ baseEndpoint: this._endpoint,
388
+ defaultHeaders: this._defaultHeaders,
389
+ path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/agents/{agentKey}',
390
+ method: 'DELETE',
391
+ pathParams: pathParams,
392
+ headerParams: headerParams,
393
+ queryParams: queryParams
394
+ });
395
+ try {
396
+ const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
397
+ const sdkResponse = composeResponse({
398
+ responseObject: <responses.DeleteAgentResponse>{},
399
+ responseHeaders: [
400
+ {
401
+ value: response.headers.get("opc-request-id"),
402
+ key: "opcRequestId",
403
+ dataType: "string"
404
+ },
405
+ ]
406
+ });
384
407
 
385
- if (params.authenticationDetailsProvider &&
386
- common.isRegionProvider(params.authenticationDetailsProvider)) {
387
- const provider: common.RegionProvider = params.authenticationDetailsProvider;
388
- if (provider.getRegion()) {
389
- this.region = provider.getRegion();
408
+ return sdkResponse;
409
+ }
410
+ catch (err) {
411
+ throw err;
390
412
  }
391
- }
392
- }
393
-
394
- /**
395
- * Get the endpoint that is being used to call (ex, https://www.example.com).
396
- */
397
- public get endpoint() {
398
- return this._endpoint;
399
413
  }
400
414
 
401
415
  /**
402
- * Sets the endpoint to call (ex, https://www.example.com).
403
- * @param endpoint The endpoint of the service.
404
- */
405
- public set endpoint(endpoint: string) {
406
- this._endpoint = endpoint;
407
- this._endpoint = this._endpoint + '/20260430';
416
+ * Delete an Agent Deployment.
417
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
418
+ * @param DeleteAgentDeploymentRequest
419
+ * @return DeleteAgentDeploymentResponse
420
+ * @throws OciError when an error occurs
421
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/DeleteAgentDeployment.ts.html |here} to see how to use DeleteAgentDeployment API.
422
+ */
423
+ public async deleteAgentDeployment (deleteAgentDeploymentRequest: requests.DeleteAgentDeploymentRequest) : Promise<responses.DeleteAgentDeploymentResponse> {
408
424
  if (this.logger)
409
- this.logger.info(`AuditClient endpoint set to ${this._endpoint}`);
410
- }
425
+ this.logger.debug("Calling operation AgentClient#deleteAgentDeployment.");
426
+ const operationName = "deleteAgentDeployment";
427
+ const apiReferenceLink = "";
428
+ const pathParams = {
429
+ "{aiDataPlatformId}": deleteAgentDeploymentRequest.aiDataPlatformId,
430
+ "{workspaceKey}": deleteAgentDeploymentRequest.workspaceKey,
431
+ "{agentKey}": deleteAgentDeploymentRequest.agentKey,
432
+ "{agentDeploymentKey}": deleteAgentDeploymentRequest.agentDeploymentKey,
433
+ };
411
434
 
412
- public get logger() {
413
- return common.LOG.logger;
435
+ const queryParams = {
436
+ };
437
+
438
+ let headerParams = {
439
+ "Content-Type": common.Constants.APPLICATION_JSON,
440
+ 'if-match': deleteAgentDeploymentRequest.ifMatch,'opc-request-id': deleteAgentDeploymentRequest.opcRequestId,
441
+ };
442
+
443
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
444
+ const retrier = GenericRetrier.createPreferredRetrier(
445
+ this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
446
+ deleteAgentDeploymentRequest.retryConfiguration,
447
+ specRetryConfiguration
448
+ );
449
+ if (this.logger) retrier.logger = this.logger;
450
+ const request = await composeRequest({
451
+ baseEndpoint: this._endpoint,
452
+ defaultHeaders: this._defaultHeaders,
453
+ path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/agents/{agentKey}/deployments/{agentDeploymentKey}',
454
+ method: 'DELETE',
455
+ pathParams: pathParams,
456
+ headerParams: headerParams,
457
+ queryParams: queryParams
458
+ });
459
+ try {
460
+ const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
461
+ const sdkResponse = composeResponse({
462
+ responseObject: <responses.DeleteAgentDeploymentResponse>{},
463
+ responseHeaders: [
464
+ {
465
+ value: response.headers.get("opc-request-id"),
466
+ key: "opcRequestId",
467
+ dataType: "string"
468
+ },
469
+ ]
470
+ });
471
+
472
+ return sdkResponse;
473
+ }
474
+ catch (err) {
475
+ throw err;
476
+ }
414
477
  }
415
478
 
416
479
  /**
417
- * Determines whether realm specific endpoint should be used or not.
418
- * Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false"
419
- * @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template
420
- */
421
- public set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled : boolean) {
422
- this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
480
+ * Delete an Agent Session.
481
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
482
+ * @param DeleteAgentSessionRequest
483
+ * @return DeleteAgentSessionResponse
484
+ * @throws OciError when an error occurs
485
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/DeleteAgentSession.ts.html |here} to see how to use DeleteAgentSession API.
486
+ */
487
+ public async deleteAgentSession (deleteAgentSessionRequest: requests.DeleteAgentSessionRequest) : Promise<responses.DeleteAgentSessionResponse> {
423
488
  if (this.logger)
424
- this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
425
- if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
426
- this.endpoint = common.EndpointBuilder.createEndpointFromRegion(
427
- AuditClient.serviceEndpointTemplate,
428
- this._region,
429
- AuditClient.endpointServiceName,
430
-
431
- );
432
- } else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) {
433
- this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(
434
- AuditClient.serviceEndpointTemplate,
435
- this._regionId,
436
- AuditClient.endpointServiceName,
437
-
438
- );
439
- }
440
- }
489
+ this.logger.debug("Calling operation AgentClient#deleteAgentSession.");
490
+ const operationName = "deleteAgentSession";
491
+ const apiReferenceLink = "";
492
+ const pathParams = {
493
+ "{aiDataPlatformId}": deleteAgentSessionRequest.aiDataPlatformId,
494
+ "{workspaceKey}": deleteAgentSessionRequest.workspaceKey,
495
+ "{agentKey}": deleteAgentSessionRequest.agentKey,
496
+ "{sessionId}": deleteAgentSessionRequest.sessionId,
497
+ };
441
498
 
442
- /**
443
- * Sets the region to call (ex, Region.US_PHOENIX_1).
444
- * Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
445
- * @param region The region of the service.
446
- */
447
- public set region(region: common.Region) {
448
- this._region = region;
449
- this.endpoint = common.EndpointBuilder.createEndpointFromRegion(
450
- AuditClient.serviceEndpointTemplate,
451
- region,
452
- AuditClient.endpointServiceName,
453
-
454
- );
455
- this._lastSetRegionOrRegionId = common.Region.REGION_STRING;
456
- }
499
+ const queryParams = {
500
+ };
457
501
 
458
- /**
459
- * Sets the regionId to call (ex, 'us-phoenix-1').
460
- *
461
- * Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}.
462
- * If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1
463
- * and then call {@link #endpoint(String) endpoint}.
464
- * @param regionId The public region ID.
465
- */
466
- public set regionId(regionId: string) {
467
- this._regionId = regionId;
468
- this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(
469
- AuditClient.serviceEndpointTemplate,
470
- regionId,
471
- AuditClient.endpointServiceName,
472
-
473
- );
474
- this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING;
475
- }
502
+ let headerParams = {
503
+ "Content-Type": common.Constants.APPLICATION_JSON,
504
+ 'opc-request-id': deleteAgentSessionRequest.opcRequestId,'if-match': deleteAgentSessionRequest.ifMatch,
505
+ };
476
506
 
477
-
507
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
508
+ const retrier = GenericRetrier.createPreferredRetrier(
509
+ this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
510
+ deleteAgentSessionRequest.retryConfiguration,
511
+ specRetryConfiguration
512
+ );
513
+ if (this.logger) retrier.logger = this.logger;
514
+ const request = await composeRequest({
515
+ baseEndpoint: this._endpoint,
516
+ defaultHeaders: this._defaultHeaders,
517
+ path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/agents/{agentKey}/sessions/{sessionId}',
518
+ method: 'DELETE',
519
+ pathParams: pathParams,
520
+ headerParams: headerParams,
521
+ queryParams: queryParams
522
+ });
523
+ try {
524
+ const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
525
+ const sdkResponse = composeResponse({
526
+ responseObject: <responses.DeleteAgentSessionResponse>{},
527
+ responseHeaders: [
528
+ {
529
+ value: response.headers.get("opc-request-id"),
530
+ key: "opcRequestId",
531
+ dataType: "string"
532
+ },
533
+ ]
534
+ });
478
535
 
479
- /**
480
- * Shutdown the circuit breaker used by the client when it is no longer needed
481
- */
482
- public shutdownCircuitBreaker() {
483
- if (this._circuitBreaker) {
484
- this._circuitBreaker.shutdown();
536
+ return sdkResponse;
485
537
  }
486
- }
487
-
488
- /**
489
- * Close the provider if possible which in turn shuts down any associated circuit breaker
490
- */
491
- public closeProvider() {
492
- if (this._authProvider) {
493
- if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider)
494
- (<common.AbstractRequestingAuthenticationDetailsProvider>this._authProvider).closeProvider();
538
+ catch (err) {
539
+ throw err;
495
540
  }
496
541
  }
497
542
 
498
543
  /**
499
- * Close the client once it is no longer needed
500
- */
501
- public close() {
502
- this.shutdownCircuitBreaker();
503
- this.closeProvider();
504
- }
505
-
506
- /**
507
- * Manages audit logs for AI Data Platform Workbench.
544
+ * Deploys an Agent.
508
545
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
509
- * @param ManageAuditLogsRequest
510
- * @return ManageAuditLogsResponse
546
+ * @param DeployAgentRequest
547
+ * @return DeployAgentResponse
511
548
  * @throws OciError when an error occurs
512
- * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/ManageAuditLogs.ts.html |here} to see how to use ManageAuditLogs API.
549
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/DeployAgent.ts.html |here} to see how to use DeployAgent API.
513
550
  */
514
- public async manageAuditLogs (manageAuditLogsRequest: requests.ManageAuditLogsRequest) : Promise<responses.ManageAuditLogsResponse> {
551
+ public async deployAgent (deployAgentRequest: requests.DeployAgentRequest) : Promise<responses.DeployAgentResponse> {
515
552
  if (this.logger)
516
- this.logger.debug("Calling operation AuditClient#manageAuditLogs.");
517
- const operationName = "manageAuditLogs";
553
+ this.logger.debug("Calling operation AgentClient#deployAgent.");
554
+ const operationName = "deployAgent";
518
555
  const apiReferenceLink = "";
519
556
  const pathParams = {
520
- "{aiDataPlatformId}": manageAuditLogsRequest.aiDataPlatformId,
557
+ "{aiDataPlatformId}": deployAgentRequest.aiDataPlatformId,
558
+ "{workspaceKey}": deployAgentRequest.workspaceKey,
559
+ "{agentKey}": deployAgentRequest.agentKey,
521
560
  };
522
561
 
523
562
  const queryParams = {
@@ -525,23 +564,23 @@ export class AuditClient {
525
564
 
526
565
  let headerParams = {
527
566
  "Content-Type": common.Constants.APPLICATION_JSON,
528
- 'opc-retry-token': manageAuditLogsRequest.opcRetryToken,'opc-request-id': manageAuditLogsRequest.opcRequestId,
567
+ 'opc-retry-token': deployAgentRequest.opcRetryToken,'opc-request-id': deployAgentRequest.opcRequestId,
529
568
  };
530
569
 
531
570
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
532
571
  const retrier = GenericRetrier.createPreferredRetrier(
533
572
  this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
534
- manageAuditLogsRequest.retryConfiguration,
573
+ deployAgentRequest.retryConfiguration,
535
574
  specRetryConfiguration
536
575
  );
537
576
  if (this.logger) retrier.logger = this.logger;
538
577
  const request = await composeRequest({
539
578
  baseEndpoint: this._endpoint,
540
579
  defaultHeaders: this._defaultHeaders,
541
- path: '/aiDataPlatforms/{aiDataPlatformId}/actions/manageAuditLogs',
580
+ path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/agents/{agentKey}/deployments/actions/deploy',
542
581
  method: 'POST',
543
- bodyContent: common.ObjectSerializer.serialize(manageAuditLogsRequest.manageAuditLogsDetails, "ManageAuditLogsDetails"
544
- , model.ManageAuditLogsDetails.getJsonObj)
582
+ bodyContent: common.ObjectSerializer.serialize(deployAgentRequest.deployAgentDetails, "DeployAgentDetails"
583
+ , model.DeployAgentDetails.getJsonObj)
545
584
  ,
546
585
  pathParams: pathParams,
547
586
  headerParams: headerParams,
@@ -550,8 +589,32 @@ export class AuditClient {
550
589
  try {
551
590
  const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
552
591
  const sdkResponse = composeResponse({
553
- responseObject: <responses.ManageAuditLogsResponse>{},
592
+ responseObject: <responses.DeployAgentResponse>{},
593
+ body: await response.json(),
594
+ bodyKey: "agentDeployment",
595
+ bodyModel: model.AgentDeployment,
596
+ type: "model.AgentDeployment",
554
597
  responseHeaders: [
598
+ {
599
+ value: response.headers.get("location"),
600
+ key: "location",
601
+ dataType: "string"
602
+ },
603
+ {
604
+ value: response.headers.get("content-location"),
605
+ key: "contentLocation",
606
+ dataType: "string"
607
+ },
608
+ {
609
+ value: response.headers.get("etag"),
610
+ key: "etag",
611
+ dataType: "string"
612
+ },
613
+ {
614
+ value: response.headers.get("aidp-async-operation-key"),
615
+ key: "aidpAsyncOperationKey",
616
+ dataType: "string"
617
+ },
555
618
  {
556
619
  value: response.headers.get("opc-request-id"),
557
620
  key: "opcRequestId",
@@ -568,47 +631,44 @@ export class AuditClient {
568
631
  }
569
632
 
570
633
  /**
571
- * Searches audit logs for AI Data Platform Workbench.
634
+ * Returns detailed information about an Agent.
572
635
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
573
- * @param SearchAuditLogsRequest
574
- * @return SearchAuditLogsResponse
636
+ * @param GetAgentRequest
637
+ * @return GetAgentResponse
575
638
  * @throws OciError when an error occurs
576
- * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/SearchAuditLogs.ts.html |here} to see how to use SearchAuditLogs API.
639
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/GetAgent.ts.html |here} to see how to use GetAgent API.
577
640
  */
578
- public async searchAuditLogs (searchAuditLogsRequest: requests.SearchAuditLogsRequest) : Promise<responses.SearchAuditLogsResponse> {
641
+ public async getAgent (getAgentRequest: requests.GetAgentRequest) : Promise<responses.GetAgentResponse> {
579
642
  if (this.logger)
580
- this.logger.debug("Calling operation AuditClient#searchAuditLogs.");
581
- const operationName = "searchAuditLogs";
643
+ this.logger.debug("Calling operation AgentClient#getAgent.");
644
+ const operationName = "getAgent";
582
645
  const apiReferenceLink = "";
583
646
  const pathParams = {
584
- "{aiDataPlatformId}": searchAuditLogsRequest.aiDataPlatformId,
647
+ "{aiDataPlatformId}": getAgentRequest.aiDataPlatformId,
648
+ "{workspaceKey}": getAgentRequest.workspaceKey,
649
+ "{agentKey}": getAgentRequest.agentKey,
585
650
  };
586
651
 
587
652
  const queryParams = {
588
- 'limit': searchAuditLogsRequest.limit,
589
- 'page': searchAuditLogsRequest.page,
590
653
  };
591
654
 
592
655
  let headerParams = {
593
656
  "Content-Type": common.Constants.APPLICATION_JSON,
594
- 'opc-retry-token': searchAuditLogsRequest.opcRetryToken,'opc-request-id': searchAuditLogsRequest.opcRequestId,
657
+ 'opc-request-id': getAgentRequest.opcRequestId,'should-update-recent': getAgentRequest.shouldUpdateRecent,
595
658
  };
596
659
 
597
660
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
598
661
  const retrier = GenericRetrier.createPreferredRetrier(
599
662
  this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
600
- searchAuditLogsRequest.retryConfiguration,
663
+ getAgentRequest.retryConfiguration,
601
664
  specRetryConfiguration
602
665
  );
603
666
  if (this.logger) retrier.logger = this.logger;
604
667
  const request = await composeRequest({
605
668
  baseEndpoint: this._endpoint,
606
669
  defaultHeaders: this._defaultHeaders,
607
- path: '/aiDataPlatforms/{aiDataPlatformId}/actions/searchAuditLogs',
608
- method: 'POST',
609
- bodyContent: common.ObjectSerializer.serialize(searchAuditLogsRequest.searchAuditLogsDetails, "SearchAuditLogsDetails"
610
- , model.SearchAuditLogsDetails.getJsonObj)
611
- ,
670
+ path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/agents/{agentKey}',
671
+ method: 'GET',
612
672
  pathParams: pathParams,
613
673
  headerParams: headerParams,
614
674
  queryParams: queryParams
@@ -616,20 +676,20 @@ export class AuditClient {
616
676
  try {
617
677
  const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
618
678
  const sdkResponse = composeResponse({
619
- responseObject: <responses.SearchAuditLogsResponse>{},
679
+ responseObject: <responses.GetAgentResponse>{},
620
680
  body: await response.json(),
621
- bodyKey: "auditLogSearchResultCollection",
622
- bodyModel: model.AuditLogSearchResultCollection,
623
- type: "model.AuditLogSearchResultCollection",
681
+ bodyKey: "agent",
682
+ bodyModel: model.Agent,
683
+ type: "model.Agent",
624
684
  responseHeaders: [
625
685
  {
626
- value: response.headers.get("opc-request-id"),
627
- key: "opcRequestId",
686
+ value: response.headers.get("etag"),
687
+ key: "etag",
628
688
  dataType: "string"
629
689
  },
630
690
  {
631
- value: response.headers.get("opc-next-page"),
632
- key: "opcNextPage",
691
+ value: response.headers.get("opc-request-id"),
692
+ key: "opcRequestId",
633
693
  dataType: "string"
634
694
  },
635
695
  ]
@@ -642,162 +702,1861 @@ export class AuditClient {
642
702
  }
643
703
  }
644
704
 
645
- }
646
- export enum BundleApiKeys {
647
- }
648
- /**
649
- * This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
650
- */
651
- export class BundleClient {
652
- protected static serviceEndpointTemplate = 'https://datalake.{region}.oci.{secondLevelDomain}';
653
- protected static endpointServiceName = '';
654
- protected "_realmSpecificEndpointTemplateEnabled" : boolean | undefined = undefined;
655
- protected "_endpoint" : string = '';
656
- protected "_defaultHeaders" : any = {};
657
- protected "_clientConfiguration": common.ClientConfiguration;
658
- protected _circuitBreaker: typeof Breaker | null = null;
659
- protected _httpOptions: any = undefined;
660
- protected _bodyDuplexMode: any = undefined;
661
- public targetService = "Bundle";
662
- protected _regionId : string = '';
663
- protected "_region" : common.Region;
664
- protected _lastSetRegionOrRegionId : string = "";
665
-
666
- protected _httpClient: common.HttpClient;
667
- protected _authProvider: common.AuthenticationDetailsProvider | undefined;
668
-
669
- constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration) {
670
- const requestSigner = params.authenticationDetailsProvider
671
- ? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
672
- : null;
673
- this._authProvider = params.authenticationDetailsProvider;
674
- if (clientConfiguration) {
675
- this._clientConfiguration = clientConfiguration;
676
- this._circuitBreaker = clientConfiguration.circuitBreaker ? clientConfiguration.circuitBreaker!.circuit : null;
677
- this._httpOptions = clientConfiguration.httpOptions ? clientConfiguration.httpOptions : undefined;
678
- this._bodyDuplexMode = clientConfiguration.bodyDuplexMode ? clientConfiguration.bodyDuplexMode : undefined;
679
- }
680
-
681
- if (!developerToolConfiguration.isServiceEnabled("aidp"))
682
- {
683
- let errmsg = "The developerToolConfiguration configuration disabled this service, this behavior is controlled by developerToolConfiguration.ociEnabledServiceSet variable. Please check if your local developer_tool_configuration file has configured the service you're targeting or contact the cloud provider on the availability of this service : ";
684
- throw errmsg.concat("aidp");
685
- }
686
-
687
- // if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
688
- const specCircuitBreakerEnabled = true;
689
- if (!this._circuitBreaker && common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!) && (specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
690
- this._circuitBreaker = new common.CircuitBreaker().circuit;
691
- }
692
- this._httpClient = params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions, this._bodyDuplexMode);
693
-
694
- if (params.authenticationDetailsProvider &&
695
- common.isRegionProvider(params.authenticationDetailsProvider)) {
696
- const provider: common.RegionProvider = params.authenticationDetailsProvider;
697
- if (provider.getRegion()) {
698
- this.region = provider.getRegion();
699
- }
700
- }
701
- }
702
-
703
- /**
704
- * Get the endpoint that is being used to call (ex, https://www.example.com).
705
- */
706
- public get endpoint() {
707
- return this._endpoint;
708
- }
709
-
710
705
  /**
711
- * Sets the endpoint to call (ex, https://www.example.com).
712
- * @param endpoint The endpoint of the service.
713
- */
714
- public set endpoint(endpoint: string) {
715
- this._endpoint = endpoint;
716
- this._endpoint = this._endpoint + '/20260430';
706
+ * Returns detailed information about an Agent deployment.
707
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
708
+ * @param GetAgentDeploymentRequest
709
+ * @return GetAgentDeploymentResponse
710
+ * @throws OciError when an error occurs
711
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/GetAgentDeployment.ts.html |here} to see how to use GetAgentDeployment API.
712
+ */
713
+ public async getAgentDeployment (getAgentDeploymentRequest: requests.GetAgentDeploymentRequest) : Promise<responses.GetAgentDeploymentResponse> {
717
714
  if (this.logger)
718
- this.logger.info(`BundleClient endpoint set to ${this._endpoint}`);
719
- }
715
+ this.logger.debug("Calling operation AgentClient#getAgentDeployment.");
716
+ const operationName = "getAgentDeployment";
717
+ const apiReferenceLink = "";
718
+ const pathParams = {
719
+ "{aiDataPlatformId}": getAgentDeploymentRequest.aiDataPlatformId,
720
+ "{workspaceKey}": getAgentDeploymentRequest.workspaceKey,
721
+ "{agentKey}": getAgentDeploymentRequest.agentKey,
722
+ "{agentDeploymentKey}": getAgentDeploymentRequest.agentDeploymentKey,
723
+ };
720
724
 
721
- public get logger() {
722
- return common.LOG.logger;
725
+ const queryParams = {
726
+ };
727
+
728
+ let headerParams = {
729
+ "Content-Type": common.Constants.APPLICATION_JSON,
730
+ 'opc-request-id': getAgentDeploymentRequest.opcRequestId,
731
+ };
732
+
733
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
734
+ const retrier = GenericRetrier.createPreferredRetrier(
735
+ this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
736
+ getAgentDeploymentRequest.retryConfiguration,
737
+ specRetryConfiguration
738
+ );
739
+ if (this.logger) retrier.logger = this.logger;
740
+ const request = await composeRequest({
741
+ baseEndpoint: this._endpoint,
742
+ defaultHeaders: this._defaultHeaders,
743
+ path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/agents/{agentKey}/deployments/{agentDeploymentKey}',
744
+ method: 'GET',
745
+ pathParams: pathParams,
746
+ headerParams: headerParams,
747
+ queryParams: queryParams
748
+ });
749
+ try {
750
+ const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
751
+ const sdkResponse = composeResponse({
752
+ responseObject: <responses.GetAgentDeploymentResponse>{},
753
+ body: await response.json(),
754
+ bodyKey: "agentDeployment",
755
+ bodyModel: model.AgentDeployment,
756
+ type: "model.AgentDeployment",
757
+ responseHeaders: [
758
+ {
759
+ value: response.headers.get("etag"),
760
+ key: "etag",
761
+ dataType: "string"
762
+ },
763
+ {
764
+ value: response.headers.get("opc-request-id"),
765
+ key: "opcRequestId",
766
+ dataType: "string"
767
+ },
768
+ ]
769
+ });
770
+
771
+ return sdkResponse;
772
+ }
773
+ catch (err) {
774
+ throw err;
775
+ }
723
776
  }
724
777
 
725
778
  /**
726
- * Determines whether realm specific endpoint should be used or not.
727
- * Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false"
728
- * @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template
729
- */
730
- public set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled : boolean) {
731
- this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
779
+ * Returns detailed information about an Agent Session.
780
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
781
+ * @param GetAgentSessionRequest
782
+ * @return GetAgentSessionResponse
783
+ * @throws OciError when an error occurs
784
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/GetAgentSession.ts.html |here} to see how to use GetAgentSession API.
785
+ */
786
+ public async getAgentSession (getAgentSessionRequest: requests.GetAgentSessionRequest) : Promise<responses.GetAgentSessionResponse> {
732
787
  if (this.logger)
733
- this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
734
- if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
735
- this.endpoint = common.EndpointBuilder.createEndpointFromRegion(
736
- BundleClient.serviceEndpointTemplate,
737
- this._region,
738
- BundleClient.endpointServiceName,
739
-
740
- );
741
- } else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) {
742
- this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(
743
- BundleClient.serviceEndpointTemplate,
744
- this._regionId,
745
- BundleClient.endpointServiceName,
746
-
747
- );
788
+ this.logger.debug("Calling operation AgentClient#getAgentSession.");
789
+ const operationName = "getAgentSession";
790
+ const apiReferenceLink = "";
791
+ const pathParams = {
792
+ "{aiDataPlatformId}": getAgentSessionRequest.aiDataPlatformId,
793
+ "{workspaceKey}": getAgentSessionRequest.workspaceKey,
794
+ "{agentKey}": getAgentSessionRequest.agentKey,
795
+ "{sessionId}": getAgentSessionRequest.sessionId,
796
+ };
797
+
798
+ const queryParams = {
799
+ };
800
+
801
+ let headerParams = {
802
+ "Content-Type": common.Constants.APPLICATION_JSON,
803
+ 'opc-request-id': getAgentSessionRequest.opcRequestId,
804
+ };
805
+
806
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
807
+ const retrier = GenericRetrier.createPreferredRetrier(
808
+ this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
809
+ getAgentSessionRequest.retryConfiguration,
810
+ specRetryConfiguration
811
+ );
812
+ if (this.logger) retrier.logger = this.logger;
813
+ const request = await composeRequest({
814
+ baseEndpoint: this._endpoint,
815
+ defaultHeaders: this._defaultHeaders,
816
+ path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/agents/{agentKey}/sessions/{sessionId}',
817
+ method: 'GET',
818
+ pathParams: pathParams,
819
+ headerParams: headerParams,
820
+ queryParams: queryParams
821
+ });
822
+ try {
823
+ const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
824
+ const sdkResponse = composeResponse({
825
+ responseObject: <responses.GetAgentSessionResponse>{},
826
+ body: await response.json(),
827
+ bodyKey: "agentSession",
828
+ bodyModel: model.AgentSession,
829
+ type: "model.AgentSession",
830
+ responseHeaders: [
831
+ {
832
+ value: response.headers.get("etag"),
833
+ key: "etag",
834
+ dataType: "string"
835
+ },
836
+ {
837
+ value: response.headers.get("opc-request-id"),
838
+ key: "opcRequestId",
839
+ dataType: "string"
840
+ },
841
+ ]
842
+ });
843
+
844
+ return sdkResponse;
845
+ }
846
+ catch (err) {
847
+ throw err;
748
848
  }
749
849
  }
750
850
 
751
851
  /**
752
- * Sets the region to call (ex, Region.US_PHOENIX_1).
753
- * Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
754
- * @param region The region of the service.
755
- */
756
- public set region(region: common.Region) {
757
- this._region = region;
758
- this.endpoint = common.EndpointBuilder.createEndpointFromRegion(
759
- BundleClient.serviceEndpointTemplate,
760
- region,
761
- BundleClient.endpointServiceName,
762
-
763
- );
764
- this._lastSetRegionOrRegionId = common.Region.REGION_STRING;
765
- }
852
+ * Returns trace details for a given message key.
853
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
854
+ * @param GetAgentSessionTraceRequest
855
+ * @return GetAgentSessionTraceResponse
856
+ * @throws OciError when an error occurs
857
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/GetAgentSessionTrace.ts.html |here} to see how to use GetAgentSessionTrace API.
858
+ */
859
+ public async getAgentSessionTrace (getAgentSessionTraceRequest: requests.GetAgentSessionTraceRequest) : Promise<responses.GetAgentSessionTraceResponse> {
860
+ if (this.logger)
861
+ this.logger.debug("Calling operation AgentClient#getAgentSessionTrace.");
862
+ const operationName = "getAgentSessionTrace";
863
+ const apiReferenceLink = "";
864
+ const pathParams = {
865
+ "{aiDataPlatformId}": getAgentSessionTraceRequest.aiDataPlatformId,
866
+ "{workspaceKey}": getAgentSessionTraceRequest.workspaceKey,
867
+ "{agentKey}": getAgentSessionTraceRequest.agentKey,
868
+ "{sessionId}": getAgentSessionTraceRequest.sessionId,
869
+ "{traceKey}": getAgentSessionTraceRequest.traceKey,
870
+ };
766
871
 
767
- /**
768
- * Sets the regionId to call (ex, 'us-phoenix-1').
769
- *
770
- * Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}.
771
- * If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1
772
- * and then call {@link #endpoint(String) endpoint}.
773
- * @param regionId The public region ID.
774
- */
775
- public set regionId(regionId: string) {
776
- this._regionId = regionId;
777
- this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(
778
- BundleClient.serviceEndpointTemplate,
779
- regionId,
780
- BundleClient.endpointServiceName,
781
-
872
+ const queryParams = {
873
+ };
874
+
875
+ let headerParams = {
876
+ "Content-Type": common.Constants.APPLICATION_JSON,
877
+ 'opc-request-id': getAgentSessionTraceRequest.opcRequestId,
878
+ };
879
+
880
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
881
+ const retrier = GenericRetrier.createPreferredRetrier(
882
+ this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
883
+ getAgentSessionTraceRequest.retryConfiguration,
884
+ specRetryConfiguration
782
885
  );
783
- this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING;
784
- }
886
+ if (this.logger) retrier.logger = this.logger;
887
+ const request = await composeRequest({
888
+ baseEndpoint: this._endpoint,
889
+ defaultHeaders: this._defaultHeaders,
890
+ path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/agents/{agentKey}/sessions/{sessionId}/traces/{traceKey}',
891
+ method: 'GET',
892
+ pathParams: pathParams,
893
+ headerParams: headerParams,
894
+ queryParams: queryParams
895
+ });
896
+ try {
897
+ const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
898
+ const sdkResponse = composeResponse({
899
+ responseObject: <responses.GetAgentSessionTraceResponse>{},
900
+ body: await response.json(),
901
+ bodyKey: "traceDetails",
902
+ bodyModel: model.TraceDetails,
903
+ type: "model.TraceDetails",
904
+ responseHeaders: [
905
+ {
906
+ value: response.headers.get("opc-request-id"),
907
+ key: "opcRequestId",
908
+ dataType: "string"
909
+ },
910
+ {
911
+ value: response.headers.get("opc-next-page"),
912
+ key: "opcNextPage",
913
+ dataType: "string"
914
+ },
915
+ ]
916
+ });
785
917
 
786
-
918
+ return sdkResponse;
919
+ }
920
+ catch (err) {
921
+ throw err;
922
+ }
923
+ }
787
924
 
788
925
  /**
789
- * Shutdown the circuit breaker used by the client when it is no longer needed
926
+ * Returns a list of deployments of an agent.
927
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
928
+ * @param ListAgentDeploymentsRequest
929
+ * @return ListAgentDeploymentsResponse
930
+ * @throws OciError when an error occurs
931
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/ListAgentDeployments.ts.html |here} to see how to use ListAgentDeployments API.
790
932
  */
791
- public shutdownCircuitBreaker() {
792
- if (this._circuitBreaker) {
793
- this._circuitBreaker.shutdown();
933
+ public async listAgentDeployments (listAgentDeploymentsRequest: requests.ListAgentDeploymentsRequest) : Promise<responses.ListAgentDeploymentsResponse> {
934
+ if (this.logger)
935
+ this.logger.debug("Calling operation AgentClient#listAgentDeployments.");
936
+ const operationName = "listAgentDeployments";
937
+ const apiReferenceLink = "";
938
+ const pathParams = {
939
+ "{aiDataPlatformId}": listAgentDeploymentsRequest.aiDataPlatformId,
940
+ "{workspaceKey}": listAgentDeploymentsRequest.workspaceKey,
941
+ "{agentKey}": listAgentDeploymentsRequest.agentKey,
942
+ };
943
+
944
+ const queryParams = {
945
+ 'limit': listAgentDeploymentsRequest.limit,
946
+ 'page': listAgentDeploymentsRequest.page,
947
+ 'sortOrder': listAgentDeploymentsRequest.sortOrder,
948
+ 'displayName': listAgentDeploymentsRequest.displayName,
949
+ 'displayNameContains': listAgentDeploymentsRequest.displayNameContains,
950
+ 'lifecycleState': listAgentDeploymentsRequest.lifecycleState,
951
+ 'timeCreatedGreaterThanOrEqualTo': listAgentDeploymentsRequest.timeCreatedGreaterThanOrEqualTo,
952
+ 'timeCreatedLessThanOrEqualTo': listAgentDeploymentsRequest.timeCreatedLessThanOrEqualTo,
953
+ 'sortBy': listAgentDeploymentsRequest.sortBy,
954
+ 'computeKey': listAgentDeploymentsRequest.computeKey,
955
+ };
956
+
957
+ let headerParams = {
958
+ "Content-Type": common.Constants.APPLICATION_JSON,
959
+ 'opc-request-id': listAgentDeploymentsRequest.opcRequestId,
960
+ };
961
+
962
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
963
+ const retrier = GenericRetrier.createPreferredRetrier(
964
+ this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
965
+ listAgentDeploymentsRequest.retryConfiguration,
966
+ specRetryConfiguration
967
+ );
968
+ if (this.logger) retrier.logger = this.logger;
969
+ const request = await composeRequest({
970
+ baseEndpoint: this._endpoint,
971
+ defaultHeaders: this._defaultHeaders,
972
+ path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/agents/{agentKey}/deployments',
973
+ method: 'GET',
974
+ pathParams: pathParams,
975
+ headerParams: headerParams,
976
+ queryParams: queryParams
977
+ });
978
+ try {
979
+ const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
980
+ const sdkResponse = composeResponse({
981
+ responseObject: <responses.ListAgentDeploymentsResponse>{},
982
+ body: await response.json(),
983
+ bodyKey: "agentDeploymentCollection",
984
+ bodyModel: model.AgentDeploymentCollection,
985
+ type: "model.AgentDeploymentCollection",
986
+ responseHeaders: [
987
+ {
988
+ value: response.headers.get("opc-request-id"),
989
+ key: "opcRequestId",
990
+ dataType: "string"
991
+ },
992
+ {
993
+ value: response.headers.get("opc-next-page"),
994
+ key: "opcNextPage",
995
+ dataType: "string"
996
+ },
997
+ ]
998
+ });
999
+
1000
+ return sdkResponse;
1001
+ }
1002
+ catch (err) {
1003
+ throw err;
794
1004
  }
795
1005
  }
796
1006
 
797
1007
  /**
798
- * Close the provider if possible which in turn shuts down any associated circuit breaker
799
- */
800
- public closeProvider() {
1008
+ * Returns a list of permissions for a given Agent.
1009
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1010
+ * @param ListAgentPermissionsRequest
1011
+ * @return ListAgentPermissionsResponse
1012
+ * @throws OciError when an error occurs
1013
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/ListAgentPermissions.ts.html |here} to see how to use ListAgentPermissions API.
1014
+ */
1015
+ public async listAgentPermissions (listAgentPermissionsRequest: requests.ListAgentPermissionsRequest) : Promise<responses.ListAgentPermissionsResponse> {
1016
+ if (this.logger)
1017
+ this.logger.debug("Calling operation AgentClient#listAgentPermissions.");
1018
+ const operationName = "listAgentPermissions";
1019
+ const apiReferenceLink = "";
1020
+ const pathParams = {
1021
+ "{aiDataPlatformId}": listAgentPermissionsRequest.aiDataPlatformId,
1022
+ "{workspaceKey}": listAgentPermissionsRequest.workspaceKey,
1023
+ "{agentKey}": listAgentPermissionsRequest.agentKey,
1024
+ };
1025
+
1026
+ const queryParams = {
1027
+ 'limit': listAgentPermissionsRequest.limit,
1028
+ 'page': listAgentPermissionsRequest.page,
1029
+ 'sortOrder': listAgentPermissionsRequest.sortOrder,
1030
+ 'sortBy': listAgentPermissionsRequest.sortBy,
1031
+ };
1032
+
1033
+ let headerParams = {
1034
+ "Content-Type": common.Constants.APPLICATION_JSON,
1035
+ 'opc-request-id': listAgentPermissionsRequest.opcRequestId,'should-update-recent': listAgentPermissionsRequest.shouldUpdateRecent,
1036
+ };
1037
+
1038
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1039
+ const retrier = GenericRetrier.createPreferredRetrier(
1040
+ this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
1041
+ listAgentPermissionsRequest.retryConfiguration,
1042
+ specRetryConfiguration
1043
+ );
1044
+ if (this.logger) retrier.logger = this.logger;
1045
+ const request = await composeRequest({
1046
+ baseEndpoint: this._endpoint,
1047
+ defaultHeaders: this._defaultHeaders,
1048
+ path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/agents/{agentKey}/permissions',
1049
+ method: 'GET',
1050
+ pathParams: pathParams,
1051
+ headerParams: headerParams,
1052
+ queryParams: queryParams
1053
+ });
1054
+ try {
1055
+ const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1056
+ const sdkResponse = composeResponse({
1057
+ responseObject: <responses.ListAgentPermissionsResponse>{},
1058
+ body: await response.json(),
1059
+ bodyKey: "agentPermissionCollection",
1060
+ bodyModel: model.AgentPermissionCollection,
1061
+ type: "model.AgentPermissionCollection",
1062
+ responseHeaders: [
1063
+ {
1064
+ value: response.headers.get("opc-request-id"),
1065
+ key: "opcRequestId",
1066
+ dataType: "string"
1067
+ },
1068
+ {
1069
+ value: response.headers.get("opc-next-page"),
1070
+ key: "opcNextPage",
1071
+ dataType: "string"
1072
+ },
1073
+ ]
1074
+ });
1075
+
1076
+ return sdkResponse;
1077
+ }
1078
+ catch (err) {
1079
+ throw err;
1080
+ }
1081
+ }
1082
+
1083
+ /**
1084
+ * Returns list of Agent Session chat messages.
1085
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1086
+ * @param ListAgentSessionChatHistoriesRequest
1087
+ * @return ListAgentSessionChatHistoriesResponse
1088
+ * @throws OciError when an error occurs
1089
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/ListAgentSessionChatHistories.ts.html |here} to see how to use ListAgentSessionChatHistories API.
1090
+ */
1091
+ public async listAgentSessionChatHistories (listAgentSessionChatHistoriesRequest: requests.ListAgentSessionChatHistoriesRequest) : Promise<responses.ListAgentSessionChatHistoriesResponse> {
1092
+ if (this.logger)
1093
+ this.logger.debug("Calling operation AgentClient#listAgentSessionChatHistories.");
1094
+ const operationName = "listAgentSessionChatHistories";
1095
+ const apiReferenceLink = "";
1096
+ const pathParams = {
1097
+ "{aiDataPlatformId}": listAgentSessionChatHistoriesRequest.aiDataPlatformId,
1098
+ "{workspaceKey}": listAgentSessionChatHistoriesRequest.workspaceKey,
1099
+ "{agentKey}": listAgentSessionChatHistoriesRequest.agentKey,
1100
+ "{sessionId}": listAgentSessionChatHistoriesRequest.sessionId,
1101
+ };
1102
+
1103
+ const queryParams = {
1104
+ 'limit': listAgentSessionChatHistoriesRequest.limit,
1105
+ 'page': listAgentSessionChatHistoriesRequest.page,
1106
+ };
1107
+
1108
+ let headerParams = {
1109
+ "Content-Type": common.Constants.APPLICATION_JSON,
1110
+ 'opc-request-id': listAgentSessionChatHistoriesRequest.opcRequestId,
1111
+ };
1112
+
1113
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1114
+ const retrier = GenericRetrier.createPreferredRetrier(
1115
+ this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
1116
+ listAgentSessionChatHistoriesRequest.retryConfiguration,
1117
+ specRetryConfiguration
1118
+ );
1119
+ if (this.logger) retrier.logger = this.logger;
1120
+ const request = await composeRequest({
1121
+ baseEndpoint: this._endpoint,
1122
+ defaultHeaders: this._defaultHeaders,
1123
+ path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/agents/{agentKey}/sessions/{sessionId}/chatHistory',
1124
+ method: 'GET',
1125
+ pathParams: pathParams,
1126
+ headerParams: headerParams,
1127
+ queryParams: queryParams
1128
+ });
1129
+ try {
1130
+ const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1131
+ const sdkResponse = composeResponse({
1132
+ responseObject: <responses.ListAgentSessionChatHistoriesResponse>{},
1133
+ body: await response.json(),
1134
+ bodyKey: "sessionChatHistoryCollection",
1135
+ bodyModel: model.SessionChatHistoryCollection,
1136
+ type: "model.SessionChatHistoryCollection",
1137
+ responseHeaders: [
1138
+ {
1139
+ value: response.headers.get("opc-request-id"),
1140
+ key: "opcRequestId",
1141
+ dataType: "string"
1142
+ },
1143
+ {
1144
+ value: response.headers.get("opc-next-page"),
1145
+ key: "opcNextPage",
1146
+ dataType: "string"
1147
+ },
1148
+ ]
1149
+ });
1150
+
1151
+ return sdkResponse;
1152
+ }
1153
+ catch (err) {
1154
+ throw err;
1155
+ }
1156
+ }
1157
+
1158
+ /**
1159
+ * Returns a list of testing sessions of an Agent.
1160
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1161
+ * @param ListAgentSessionsRequest
1162
+ * @return ListAgentSessionsResponse
1163
+ * @throws OciError when an error occurs
1164
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/ListAgentSessions.ts.html |here} to see how to use ListAgentSessions API.
1165
+ */
1166
+ public async listAgentSessions (listAgentSessionsRequest: requests.ListAgentSessionsRequest) : Promise<responses.ListAgentSessionsResponse> {
1167
+ if (this.logger)
1168
+ this.logger.debug("Calling operation AgentClient#listAgentSessions.");
1169
+ const operationName = "listAgentSessions";
1170
+ const apiReferenceLink = "";
1171
+ const pathParams = {
1172
+ "{aiDataPlatformId}": listAgentSessionsRequest.aiDataPlatformId,
1173
+ "{workspaceKey}": listAgentSessionsRequest.workspaceKey,
1174
+ "{agentKey}": listAgentSessionsRequest.agentKey,
1175
+ };
1176
+
1177
+ const queryParams = {
1178
+ 'limit': listAgentSessionsRequest.limit,
1179
+ 'page': listAgentSessionsRequest.page,
1180
+ 'sortOrder': listAgentSessionsRequest.sortOrder,
1181
+ 'displayNameContains': listAgentSessionsRequest.displayNameContains,
1182
+ 'timeCreatedGreaterThanOrEqualTo': listAgentSessionsRequest.timeCreatedGreaterThanOrEqualTo,
1183
+ 'timeCreatedLessThanOrEqualTo': listAgentSessionsRequest.timeCreatedLessThanOrEqualTo,
1184
+ 'sortBy': listAgentSessionsRequest.sortBy,
1185
+ };
1186
+
1187
+ let headerParams = {
1188
+ "Content-Type": common.Constants.APPLICATION_JSON,
1189
+ 'opc-request-id': listAgentSessionsRequest.opcRequestId,
1190
+ };
1191
+
1192
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1193
+ const retrier = GenericRetrier.createPreferredRetrier(
1194
+ this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
1195
+ listAgentSessionsRequest.retryConfiguration,
1196
+ specRetryConfiguration
1197
+ );
1198
+ if (this.logger) retrier.logger = this.logger;
1199
+ const request = await composeRequest({
1200
+ baseEndpoint: this._endpoint,
1201
+ defaultHeaders: this._defaultHeaders,
1202
+ path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/agents/{agentKey}/sessions',
1203
+ method: 'GET',
1204
+ pathParams: pathParams,
1205
+ headerParams: headerParams,
1206
+ queryParams: queryParams
1207
+ });
1208
+ try {
1209
+ const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1210
+ const sdkResponse = composeResponse({
1211
+ responseObject: <responses.ListAgentSessionsResponse>{},
1212
+ body: await response.json(),
1213
+ bodyKey: "agentSessionCollection",
1214
+ bodyModel: model.AgentSessionCollection,
1215
+ type: "model.AgentSessionCollection",
1216
+ responseHeaders: [
1217
+ {
1218
+ value: response.headers.get("opc-request-id"),
1219
+ key: "opcRequestId",
1220
+ dataType: "string"
1221
+ },
1222
+ {
1223
+ value: response.headers.get("opc-prev-page"),
1224
+ key: "opcPrevPage",
1225
+ dataType: "string"
1226
+ },
1227
+ {
1228
+ value: response.headers.get("opc-next-page"),
1229
+ key: "opcNextPage",
1230
+ dataType: "string"
1231
+ },
1232
+ ]
1233
+ });
1234
+
1235
+ return sdkResponse;
1236
+ }
1237
+ catch (err) {
1238
+ throw err;
1239
+ }
1240
+ }
1241
+
1242
+ /**
1243
+ * Returns a list of Agents in a schema.
1244
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1245
+ * @param ListAgentsRequest
1246
+ * @return ListAgentsResponse
1247
+ * @throws OciError when an error occurs
1248
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/ListAgents.ts.html |here} to see how to use ListAgents API.
1249
+ */
1250
+ public async listAgents (listAgentsRequest: requests.ListAgentsRequest) : Promise<responses.ListAgentsResponse> {
1251
+ if (this.logger)
1252
+ this.logger.debug("Calling operation AgentClient#listAgents.");
1253
+ const operationName = "listAgents";
1254
+ const apiReferenceLink = "";
1255
+ const pathParams = {
1256
+ "{aiDataPlatformId}": listAgentsRequest.aiDataPlatformId,
1257
+ "{workspaceKey}": listAgentsRequest.workspaceKey,
1258
+ };
1259
+
1260
+ const queryParams = {
1261
+ 'computeKey': listAgentsRequest.computeKey,
1262
+ 'displayName': listAgentsRequest.displayName,
1263
+ 'displayNameContains': listAgentsRequest.displayNameContains,
1264
+ 'limit': listAgentsRequest.limit,
1265
+ 'page': listAgentsRequest.page,
1266
+ 'sortOrder': listAgentsRequest.sortOrder,
1267
+ 'sortBy': listAgentsRequest.sortBy,
1268
+ };
1269
+
1270
+ let headerParams = {
1271
+ "Content-Type": common.Constants.APPLICATION_JSON,
1272
+ 'opc-request-id': listAgentsRequest.opcRequestId,
1273
+ };
1274
+
1275
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1276
+ const retrier = GenericRetrier.createPreferredRetrier(
1277
+ this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
1278
+ listAgentsRequest.retryConfiguration,
1279
+ specRetryConfiguration
1280
+ );
1281
+ if (this.logger) retrier.logger = this.logger;
1282
+ const request = await composeRequest({
1283
+ baseEndpoint: this._endpoint,
1284
+ defaultHeaders: this._defaultHeaders,
1285
+ path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/agents',
1286
+ method: 'GET',
1287
+ pathParams: pathParams,
1288
+ headerParams: headerParams,
1289
+ queryParams: queryParams
1290
+ });
1291
+ try {
1292
+ const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1293
+ const sdkResponse = composeResponse({
1294
+ responseObject: <responses.ListAgentsResponse>{},
1295
+ body: await response.json(),
1296
+ bodyKey: "agentCollection",
1297
+ bodyModel: model.AgentCollection,
1298
+ type: "model.AgentCollection",
1299
+ responseHeaders: [
1300
+ {
1301
+ value: response.headers.get("opc-request-id"),
1302
+ key: "opcRequestId",
1303
+ dataType: "string"
1304
+ },
1305
+ {
1306
+ value: response.headers.get("opc-next-page"),
1307
+ key: "opcNextPage",
1308
+ dataType: "string"
1309
+ },
1310
+ ]
1311
+ });
1312
+
1313
+ return sdkResponse;
1314
+ }
1315
+ catch (err) {
1316
+ throw err;
1317
+ }
1318
+ }
1319
+
1320
+ /**
1321
+ * Update the permissions for a given Agent.
1322
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1323
+ * @param ManageAgentPermissionRequest
1324
+ * @return ManageAgentPermissionResponse
1325
+ * @throws OciError when an error occurs
1326
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/ManageAgentPermission.ts.html |here} to see how to use ManageAgentPermission API.
1327
+ */
1328
+ public async manageAgentPermission (manageAgentPermissionRequest: requests.ManageAgentPermissionRequest) : Promise<responses.ManageAgentPermissionResponse> {
1329
+ if (this.logger)
1330
+ this.logger.debug("Calling operation AgentClient#manageAgentPermission.");
1331
+ const operationName = "manageAgentPermission";
1332
+ const apiReferenceLink = "";
1333
+ const pathParams = {
1334
+ "{aiDataPlatformId}": manageAgentPermissionRequest.aiDataPlatformId,
1335
+ "{workspaceKey}": manageAgentPermissionRequest.workspaceKey,
1336
+ "{agentKey}": manageAgentPermissionRequest.agentKey,
1337
+ };
1338
+
1339
+ const queryParams = {
1340
+ };
1341
+
1342
+ let headerParams = {
1343
+ "Content-Type": common.Constants.APPLICATION_JSON,
1344
+ 'if-match': manageAgentPermissionRequest.ifMatch,'opc-request-id': manageAgentPermissionRequest.opcRequestId,'should-update-recent': manageAgentPermissionRequest.shouldUpdateRecent,
1345
+ };
1346
+
1347
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1348
+ const retrier = GenericRetrier.createPreferredRetrier(
1349
+ this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
1350
+ manageAgentPermissionRequest.retryConfiguration,
1351
+ specRetryConfiguration
1352
+ );
1353
+ if (this.logger) retrier.logger = this.logger;
1354
+ const request = await composeRequest({
1355
+ baseEndpoint: this._endpoint,
1356
+ defaultHeaders: this._defaultHeaders,
1357
+ path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/agents/{agentKey}/actions/managePermission',
1358
+ method: 'POST',
1359
+ bodyContent: common.ObjectSerializer.serialize(manageAgentPermissionRequest.manageAgentPermissionDetails, "ManageAgentPermissionDetails"
1360
+ , model.ManageAgentPermissionDetails.getJsonObj)
1361
+ ,
1362
+ pathParams: pathParams,
1363
+ headerParams: headerParams,
1364
+ queryParams: queryParams
1365
+ });
1366
+ try {
1367
+ const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1368
+ const sdkResponse = composeResponse({
1369
+ responseObject: <responses.ManageAgentPermissionResponse>{},
1370
+ responseHeaders: [
1371
+ {
1372
+ value: response.headers.get("opc-request-id"),
1373
+ key: "opcRequestId",
1374
+ dataType: "string"
1375
+ },
1376
+ ]
1377
+ });
1378
+
1379
+ return sdkResponse;
1380
+ }
1381
+ catch (err) {
1382
+ throw err;
1383
+ }
1384
+ }
1385
+
1386
+ /**
1387
+ * Returns the agent card based on the given agent card configuration.
1388
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1389
+ * @param PreviewAgentAgentCardRequest
1390
+ * @return PreviewAgentAgentCardResponse
1391
+ * @throws OciError when an error occurs
1392
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/PreviewAgentAgentCard.ts.html |here} to see how to use PreviewAgentAgentCard API.
1393
+ */
1394
+ public async previewAgentAgentCard (previewAgentAgentCardRequest: requests.PreviewAgentAgentCardRequest) : Promise<responses.PreviewAgentAgentCardResponse> {
1395
+ if (this.logger)
1396
+ this.logger.debug("Calling operation AgentClient#previewAgentAgentCard.");
1397
+ const operationName = "previewAgentAgentCard";
1398
+ const apiReferenceLink = "";
1399
+ const pathParams = {
1400
+ "{aiDataPlatformId}": previewAgentAgentCardRequest.aiDataPlatformId,
1401
+ "{workspaceKey}": previewAgentAgentCardRequest.workspaceKey,
1402
+ };
1403
+
1404
+ const queryParams = {
1405
+ };
1406
+
1407
+ let headerParams = {
1408
+ "Content-Type": common.Constants.APPLICATION_JSON,
1409
+ 'opc-retry-token': previewAgentAgentCardRequest.opcRetryToken,'if-match': previewAgentAgentCardRequest.ifMatch,'opc-request-id': previewAgentAgentCardRequest.opcRequestId,'should-update-recent': previewAgentAgentCardRequest.shouldUpdateRecent,
1410
+ };
1411
+
1412
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1413
+ const retrier = GenericRetrier.createPreferredRetrier(
1414
+ this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
1415
+ previewAgentAgentCardRequest.retryConfiguration,
1416
+ specRetryConfiguration
1417
+ );
1418
+ if (this.logger) retrier.logger = this.logger;
1419
+ const request = await composeRequest({
1420
+ baseEndpoint: this._endpoint,
1421
+ defaultHeaders: this._defaultHeaders,
1422
+ path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/agents/actions/previewAgentCard',
1423
+ method: 'POST',
1424
+ bodyContent: common.ObjectSerializer.serialize(previewAgentAgentCardRequest.previewAgentCardDetails, "PreviewAgentCardDetails"
1425
+ , model.PreviewAgentCardDetails.getJsonObj)
1426
+ ,
1427
+ pathParams: pathParams,
1428
+ headerParams: headerParams,
1429
+ queryParams: queryParams
1430
+ });
1431
+ try {
1432
+ const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1433
+ const sdkResponse = composeResponse({
1434
+ responseObject: <responses.PreviewAgentAgentCardResponse>{},
1435
+ body: await response.json(),
1436
+ bodyKey: "agentCardPreviewResponse",
1437
+ bodyModel: model.AgentCardPreviewResponse,
1438
+ type: "model.AgentCardPreviewResponse",
1439
+ responseHeaders: [
1440
+ {
1441
+ value: response.headers.get("etag"),
1442
+ key: "etag",
1443
+ dataType: "string"
1444
+ },
1445
+ {
1446
+ value: response.headers.get("opc-request-id"),
1447
+ key: "opcRequestId",
1448
+ dataType: "string"
1449
+ },
1450
+ ]
1451
+ });
1452
+
1453
+ return sdkResponse;
1454
+ }
1455
+ catch (err) {
1456
+ throw err;
1457
+ }
1458
+ }
1459
+
1460
+ /**
1461
+ * Redeploys an Agent.
1462
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1463
+ * @param RedeployAgentByKeyRequest
1464
+ * @return RedeployAgentByKeyResponse
1465
+ * @throws OciError when an error occurs
1466
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/RedeployAgentByKey.ts.html |here} to see how to use RedeployAgentByKey API.
1467
+ */
1468
+ public async redeployAgentByKey (redeployAgentByKeyRequest: requests.RedeployAgentByKeyRequest) : Promise<responses.RedeployAgentByKeyResponse> {
1469
+ if (this.logger)
1470
+ this.logger.debug("Calling operation AgentClient#redeployAgentByKey.");
1471
+ const operationName = "redeployAgentByKey";
1472
+ const apiReferenceLink = "";
1473
+ const pathParams = {
1474
+ "{aiDataPlatformId}": redeployAgentByKeyRequest.aiDataPlatformId,
1475
+ "{workspaceKey}": redeployAgentByKeyRequest.workspaceKey,
1476
+ "{agentKey}": redeployAgentByKeyRequest.agentKey,
1477
+ };
1478
+
1479
+ const queryParams = {
1480
+ };
1481
+
1482
+ let headerParams = {
1483
+ "Content-Type": common.Constants.APPLICATION_JSON,
1484
+ 'if-match': redeployAgentByKeyRequest.ifMatch,'opc-retry-token': redeployAgentByKeyRequest.opcRetryToken,'opc-request-id': redeployAgentByKeyRequest.opcRequestId,
1485
+ };
1486
+
1487
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1488
+ const retrier = GenericRetrier.createPreferredRetrier(
1489
+ this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
1490
+ redeployAgentByKeyRequest.retryConfiguration,
1491
+ specRetryConfiguration
1492
+ );
1493
+ if (this.logger) retrier.logger = this.logger;
1494
+ const request = await composeRequest({
1495
+ baseEndpoint: this._endpoint,
1496
+ defaultHeaders: this._defaultHeaders,
1497
+ path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/agents/{agentKey}/deployments/actions/redeploy',
1498
+ method: 'POST',
1499
+ bodyContent: common.ObjectSerializer.serialize(redeployAgentByKeyRequest.updateAgentDeploymentDetails, "UpdateAgentDeploymentDetails"
1500
+ , model.UpdateAgentDeploymentDetails.getJsonObj)
1501
+ ,
1502
+ pathParams: pathParams,
1503
+ headerParams: headerParams,
1504
+ queryParams: queryParams
1505
+ });
1506
+ try {
1507
+ const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1508
+ const sdkResponse = composeResponse({
1509
+ responseObject: <responses.RedeployAgentByKeyResponse>{},
1510
+ body: await response.json(),
1511
+ bodyKey: "agentDeployment",
1512
+ bodyModel: model.AgentDeployment,
1513
+ type: "model.AgentDeployment",
1514
+ responseHeaders: [
1515
+ {
1516
+ value: response.headers.get("location"),
1517
+ key: "location",
1518
+ dataType: "string"
1519
+ },
1520
+ {
1521
+ value: response.headers.get("content-location"),
1522
+ key: "contentLocation",
1523
+ dataType: "string"
1524
+ },
1525
+ {
1526
+ value: response.headers.get("etag"),
1527
+ key: "etag",
1528
+ dataType: "string"
1529
+ },
1530
+ {
1531
+ value: response.headers.get("aidp-async-operation-key"),
1532
+ key: "aidpAsyncOperationKey",
1533
+ dataType: "string"
1534
+ },
1535
+ {
1536
+ value: response.headers.get("opc-request-id"),
1537
+ key: "opcRequestId",
1538
+ dataType: "string"
1539
+ },
1540
+ ]
1541
+ });
1542
+
1543
+ return sdkResponse;
1544
+ }
1545
+ catch (err) {
1546
+ throw err;
1547
+ }
1548
+ }
1549
+
1550
+ /**
1551
+ * Update an Agent with provided details.
1552
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1553
+ * @param UpdateAgentRequest
1554
+ * @return UpdateAgentResponse
1555
+ * @throws OciError when an error occurs
1556
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/UpdateAgent.ts.html |here} to see how to use UpdateAgent API.
1557
+ */
1558
+ public async updateAgent (updateAgentRequest: requests.UpdateAgentRequest) : Promise<responses.UpdateAgentResponse> {
1559
+ if (this.logger)
1560
+ this.logger.debug("Calling operation AgentClient#updateAgent.");
1561
+ const operationName = "updateAgent";
1562
+ const apiReferenceLink = "";
1563
+ const pathParams = {
1564
+ "{aiDataPlatformId}": updateAgentRequest.aiDataPlatformId,
1565
+ "{workspaceKey}": updateAgentRequest.workspaceKey,
1566
+ "{agentKey}": updateAgentRequest.agentKey,
1567
+ };
1568
+
1569
+ const queryParams = {
1570
+ };
1571
+
1572
+ let headerParams = {
1573
+ "Content-Type": common.Constants.APPLICATION_JSON,
1574
+ 'should-update-recent': updateAgentRequest.shouldUpdateRecent,'if-match': updateAgentRequest.ifMatch,'opc-request-id': updateAgentRequest.opcRequestId,
1575
+ };
1576
+
1577
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1578
+ const retrier = GenericRetrier.createPreferredRetrier(
1579
+ this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
1580
+ updateAgentRequest.retryConfiguration,
1581
+ specRetryConfiguration
1582
+ );
1583
+ if (this.logger) retrier.logger = this.logger;
1584
+ const request = await composeRequest({
1585
+ baseEndpoint: this._endpoint,
1586
+ defaultHeaders: this._defaultHeaders,
1587
+ path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/agents/{agentKey}',
1588
+ method: 'PUT',
1589
+ bodyContent: common.ObjectSerializer.serialize(updateAgentRequest.updateAgentDetails, "UpdateAgentDetails"
1590
+ , model.UpdateAgentDetails.getJsonObj)
1591
+ ,
1592
+ pathParams: pathParams,
1593
+ headerParams: headerParams,
1594
+ queryParams: queryParams
1595
+ });
1596
+ try {
1597
+ const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1598
+ const sdkResponse = composeResponse({
1599
+ responseObject: <responses.UpdateAgentResponse>{},
1600
+ body: await response.json(),
1601
+ bodyKey: "agent",
1602
+ bodyModel: model.Agent,
1603
+ type: "model.Agent",
1604
+ responseHeaders: [
1605
+ {
1606
+ value: response.headers.get("etag"),
1607
+ key: "etag",
1608
+ dataType: "string"
1609
+ },
1610
+ {
1611
+ value: response.headers.get("opc-request-id"),
1612
+ key: "opcRequestId",
1613
+ dataType: "string"
1614
+ },
1615
+ ]
1616
+ });
1617
+
1618
+ return sdkResponse;
1619
+ }
1620
+ catch (err) {
1621
+ throw err;
1622
+ }
1623
+ }
1624
+
1625
+ /**
1626
+ * Update the deployment metadata for an Agent.
1627
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1628
+ * @param UpdateAgentDeploymentMetadataRequest
1629
+ * @return UpdateAgentDeploymentMetadataResponse
1630
+ * @throws OciError when an error occurs
1631
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/UpdateAgentDeploymentMetadata.ts.html |here} to see how to use UpdateAgentDeploymentMetadata API.
1632
+ */
1633
+ public async updateAgentDeploymentMetadata (updateAgentDeploymentMetadataRequest: requests.UpdateAgentDeploymentMetadataRequest) : Promise<responses.UpdateAgentDeploymentMetadataResponse> {
1634
+ if (this.logger)
1635
+ this.logger.debug("Calling operation AgentClient#updateAgentDeploymentMetadata.");
1636
+ const operationName = "updateAgentDeploymentMetadata";
1637
+ const apiReferenceLink = "";
1638
+ const pathParams = {
1639
+ "{aiDataPlatformId}": updateAgentDeploymentMetadataRequest.aiDataPlatformId,
1640
+ "{workspaceKey}": updateAgentDeploymentMetadataRequest.workspaceKey,
1641
+ "{agentKey}": updateAgentDeploymentMetadataRequest.agentKey,
1642
+ };
1643
+
1644
+ const queryParams = {
1645
+ };
1646
+
1647
+ let headerParams = {
1648
+ "Content-Type": common.Constants.APPLICATION_JSON,
1649
+ 'should-update-recent': updateAgentDeploymentMetadataRequest.shouldUpdateRecent,'opc-retry-token': updateAgentDeploymentMetadataRequest.opcRetryToken,'opc-request-id': updateAgentDeploymentMetadataRequest.opcRequestId,'if-match': updateAgentDeploymentMetadataRequest.ifMatch,
1650
+ };
1651
+
1652
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1653
+ const retrier = GenericRetrier.createPreferredRetrier(
1654
+ this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
1655
+ updateAgentDeploymentMetadataRequest.retryConfiguration,
1656
+ specRetryConfiguration
1657
+ );
1658
+ if (this.logger) retrier.logger = this.logger;
1659
+ const request = await composeRequest({
1660
+ baseEndpoint: this._endpoint,
1661
+ defaultHeaders: this._defaultHeaders,
1662
+ path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/agents/{agentKey}/actions/updateDeploymentMetadata',
1663
+ method: 'PUT',
1664
+ bodyContent: common.ObjectSerializer.serialize(updateAgentDeploymentMetadataRequest.updateAgentDeploymentMetadataDetails, "UpdateAgentDeploymentMetadataDetails"
1665
+ , model.UpdateAgentDeploymentMetadataDetails.getJsonObj)
1666
+ ,
1667
+ pathParams: pathParams,
1668
+ headerParams: headerParams,
1669
+ queryParams: queryParams
1670
+ });
1671
+ try {
1672
+ const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1673
+ const sdkResponse = composeResponse({
1674
+ responseObject: <responses.UpdateAgentDeploymentMetadataResponse>{},
1675
+ body: await response.json(),
1676
+ bodyKey: "agentDeployment",
1677
+ bodyModel: model.AgentDeployment,
1678
+ type: "model.AgentDeployment",
1679
+ responseHeaders: [
1680
+ {
1681
+ value: response.headers.get("etag"),
1682
+ key: "etag",
1683
+ dataType: "string"
1684
+ },
1685
+ {
1686
+ value: response.headers.get("opc-request-id"),
1687
+ key: "opcRequestId",
1688
+ dataType: "string"
1689
+ },
1690
+ ]
1691
+ });
1692
+
1693
+ return sdkResponse;
1694
+ }
1695
+ catch (err) {
1696
+ throw err;
1697
+ }
1698
+ }
1699
+
1700
+ /**
1701
+ * Validate the agent json diagram generated by UI.
1702
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1703
+ * @param ValidateAgentRequest
1704
+ * @return ValidateAgentResponse
1705
+ * @throws OciError when an error occurs
1706
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/ValidateAgent.ts.html |here} to see how to use ValidateAgent API.
1707
+ */
1708
+ public async validateAgent (validateAgentRequest: requests.ValidateAgentRequest) : Promise<responses.ValidateAgentResponse> {
1709
+ if (this.logger)
1710
+ this.logger.debug("Calling operation AgentClient#validateAgent.");
1711
+ const operationName = "validateAgent";
1712
+ const apiReferenceLink = "";
1713
+ const pathParams = {
1714
+ "{aiDataPlatformId}": validateAgentRequest.aiDataPlatformId,
1715
+ "{workspaceKey}": validateAgentRequest.workspaceKey,
1716
+ "{agentKey}": validateAgentRequest.agentKey,
1717
+ };
1718
+
1719
+ const queryParams = {
1720
+ };
1721
+
1722
+ let headerParams = {
1723
+ "Content-Type": common.Constants.APPLICATION_JSON,
1724
+ 'opc-request-id': validateAgentRequest.opcRequestId,'should-update-recent': validateAgentRequest.shouldUpdateRecent,
1725
+ };
1726
+
1727
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1728
+ const retrier = GenericRetrier.createPreferredRetrier(
1729
+ this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
1730
+ validateAgentRequest.retryConfiguration,
1731
+ specRetryConfiguration
1732
+ );
1733
+ if (this.logger) retrier.logger = this.logger;
1734
+ const request = await composeRequest({
1735
+ baseEndpoint: this._endpoint,
1736
+ defaultHeaders: this._defaultHeaders,
1737
+ path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/agents/{agentKey}/actions/validate',
1738
+ method: 'POST',
1739
+ pathParams: pathParams,
1740
+ headerParams: headerParams,
1741
+ queryParams: queryParams
1742
+ });
1743
+ try {
1744
+ const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1745
+ const sdkResponse = composeResponse({
1746
+ responseObject: <responses.ValidateAgentResponse>{},
1747
+ body: await response.json(),
1748
+ bodyKey: "validateAgentResponse",
1749
+ bodyModel: model.ValidateAgentResponse,
1750
+ type: "model.ValidateAgentResponse",
1751
+ responseHeaders: [
1752
+ {
1753
+ value: response.headers.get("etag"),
1754
+ key: "etag",
1755
+ dataType: "string"
1756
+ },
1757
+ {
1758
+ value: response.headers.get("opc-request-id"),
1759
+ key: "opcRequestId",
1760
+ dataType: "string"
1761
+ },
1762
+ ]
1763
+ });
1764
+
1765
+ return sdkResponse;
1766
+ }
1767
+ catch (err) {
1768
+ throw err;
1769
+ }
1770
+ }
1771
+
1772
+ }
1773
+ export enum AsyncOperationsApiKeys {
1774
+ }
1775
+ /**
1776
+ * This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
1777
+ */
1778
+ export class AsyncOperationsClient {
1779
+ protected static serviceEndpointTemplate = 'https://datalake.{region}.oci.{secondLevelDomain}';
1780
+ protected static endpointServiceName = '';
1781
+ protected "_realmSpecificEndpointTemplateEnabled" : boolean | undefined = undefined;
1782
+ protected "_endpoint" : string = '';
1783
+ protected "_defaultHeaders" : any = {};
1784
+ protected "_clientConfiguration": common.ClientConfiguration;
1785
+ protected _circuitBreaker: typeof Breaker | null = null;
1786
+ protected _httpOptions: any = undefined;
1787
+ protected _bodyDuplexMode: any = undefined;
1788
+ public targetService = "AsyncOperations";
1789
+ protected _regionId : string = '';
1790
+ protected "_region" : common.Region;
1791
+ protected _lastSetRegionOrRegionId : string = "";
1792
+
1793
+ protected _httpClient: common.HttpClient;
1794
+ protected _authProvider: common.AuthenticationDetailsProvider | undefined;
1795
+
1796
+ constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration) {
1797
+ const requestSigner = params.authenticationDetailsProvider
1798
+ ? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
1799
+ : null;
1800
+ this._authProvider = params.authenticationDetailsProvider;
1801
+ if (clientConfiguration) {
1802
+ this._clientConfiguration = clientConfiguration;
1803
+ this._circuitBreaker = clientConfiguration.circuitBreaker ? clientConfiguration.circuitBreaker!.circuit : null;
1804
+ this._httpOptions = clientConfiguration.httpOptions ? clientConfiguration.httpOptions : undefined;
1805
+ this._bodyDuplexMode = clientConfiguration.bodyDuplexMode ? clientConfiguration.bodyDuplexMode : undefined;
1806
+ }
1807
+
1808
+ if (!developerToolConfiguration.isServiceEnabled("aidp"))
1809
+ {
1810
+ let errmsg = "The developerToolConfiguration configuration disabled this service, this behavior is controlled by developerToolConfiguration.ociEnabledServiceSet variable. Please check if your local developer_tool_configuration file has configured the service you're targeting or contact the cloud provider on the availability of this service : ";
1811
+ throw errmsg.concat("aidp");
1812
+ }
1813
+
1814
+ // if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
1815
+ const specCircuitBreakerEnabled = true;
1816
+ if (!this._circuitBreaker && common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!) && (specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
1817
+ this._circuitBreaker = new common.CircuitBreaker().circuit;
1818
+ }
1819
+ this._httpClient = params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions, this._bodyDuplexMode);
1820
+
1821
+ if (params.authenticationDetailsProvider &&
1822
+ common.isRegionProvider(params.authenticationDetailsProvider)) {
1823
+ const provider: common.RegionProvider = params.authenticationDetailsProvider;
1824
+ if (provider.getRegion()) {
1825
+ this.region = provider.getRegion();
1826
+ }
1827
+ }
1828
+ }
1829
+
1830
+ /**
1831
+ * Get the endpoint that is being used to call (ex, https://www.example.com).
1832
+ */
1833
+ public get endpoint() {
1834
+ return this._endpoint;
1835
+ }
1836
+
1837
+ /**
1838
+ * Sets the endpoint to call (ex, https://www.example.com).
1839
+ * @param endpoint The endpoint of the service.
1840
+ */
1841
+ public set endpoint(endpoint: string) {
1842
+ this._endpoint = endpoint;
1843
+ this._endpoint = this._endpoint + '/20260430';
1844
+ if (this.logger)
1845
+ this.logger.info(`AsyncOperationsClient endpoint set to ${this._endpoint}`);
1846
+ }
1847
+
1848
+ public get logger() {
1849
+ return common.LOG.logger;
1850
+ }
1851
+
1852
+ /**
1853
+ * Determines whether realm specific endpoint should be used or not.
1854
+ * Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false"
1855
+ * @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template
1856
+ */
1857
+ public set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled : boolean) {
1858
+ this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
1859
+ if (this.logger)
1860
+ this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
1861
+ if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
1862
+ this.endpoint = common.EndpointBuilder.createEndpointFromRegion(
1863
+ AsyncOperationsClient.serviceEndpointTemplate,
1864
+ this._region,
1865
+ AsyncOperationsClient.endpointServiceName,
1866
+
1867
+ );
1868
+ } else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) {
1869
+ this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(
1870
+ AsyncOperationsClient.serviceEndpointTemplate,
1871
+ this._regionId,
1872
+ AsyncOperationsClient.endpointServiceName,
1873
+
1874
+ );
1875
+ }
1876
+ }
1877
+
1878
+ /**
1879
+ * Sets the region to call (ex, Region.US_PHOENIX_1).
1880
+ * Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
1881
+ * @param region The region of the service.
1882
+ */
1883
+ public set region(region: common.Region) {
1884
+ this._region = region;
1885
+ this.endpoint = common.EndpointBuilder.createEndpointFromRegion(
1886
+ AsyncOperationsClient.serviceEndpointTemplate,
1887
+ region,
1888
+ AsyncOperationsClient.endpointServiceName,
1889
+
1890
+ );
1891
+ this._lastSetRegionOrRegionId = common.Region.REGION_STRING;
1892
+ }
1893
+
1894
+ /**
1895
+ * Sets the regionId to call (ex, 'us-phoenix-1').
1896
+ *
1897
+ * Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}.
1898
+ * If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1
1899
+ * and then call {@link #endpoint(String) endpoint}.
1900
+ * @param regionId The public region ID.
1901
+ */
1902
+ public set regionId(regionId: string) {
1903
+ this._regionId = regionId;
1904
+ this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(
1905
+ AsyncOperationsClient.serviceEndpointTemplate,
1906
+ regionId,
1907
+ AsyncOperationsClient.endpointServiceName,
1908
+
1909
+ );
1910
+ this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING;
1911
+ }
1912
+
1913
+
1914
+
1915
+ /**
1916
+ * Shutdown the circuit breaker used by the client when it is no longer needed
1917
+ */
1918
+ public shutdownCircuitBreaker() {
1919
+ if (this._circuitBreaker) {
1920
+ this._circuitBreaker.shutdown();
1921
+ }
1922
+ }
1923
+
1924
+ /**
1925
+ * Close the provider if possible which in turn shuts down any associated circuit breaker
1926
+ */
1927
+ public closeProvider() {
1928
+ if (this._authProvider) {
1929
+ if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider)
1930
+ (<common.AbstractRequestingAuthenticationDetailsProvider>this._authProvider).closeProvider();
1931
+ }
1932
+ }
1933
+
1934
+ /**
1935
+ * Close the client once it is no longer needed
1936
+ */
1937
+ public close() {
1938
+ this.shutdownCircuitBreaker();
1939
+ this.closeProvider();
1940
+ }
1941
+
1942
+ /**
1943
+ * Get detailed information for a particular async operation
1944
+ *
1945
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1946
+ * @param GetAsyncOperationRequest
1947
+ * @return GetAsyncOperationResponse
1948
+ * @throws OciError when an error occurs
1949
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/GetAsyncOperation.ts.html |here} to see how to use GetAsyncOperation API.
1950
+ */
1951
+ public async getAsyncOperation (getAsyncOperationRequest: requests.GetAsyncOperationRequest) : Promise<responses.GetAsyncOperationResponse> {
1952
+ if (this.logger)
1953
+ this.logger.debug("Calling operation AsyncOperationsClient#getAsyncOperation.");
1954
+ const operationName = "getAsyncOperation";
1955
+ const apiReferenceLink = "";
1956
+ const pathParams = {
1957
+ "{aiDataPlatformId}": getAsyncOperationRequest.aiDataPlatformId,
1958
+ "{asyncOperationKey}": getAsyncOperationRequest.asyncOperationKey,
1959
+ };
1960
+
1961
+ const queryParams = {
1962
+ };
1963
+
1964
+ let headerParams = {
1965
+ "Content-Type": common.Constants.APPLICATION_JSON,
1966
+ 'opc-request-id': getAsyncOperationRequest.opcRequestId,
1967
+ };
1968
+
1969
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1970
+ const retrier = GenericRetrier.createPreferredRetrier(
1971
+ this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
1972
+ getAsyncOperationRequest.retryConfiguration,
1973
+ specRetryConfiguration
1974
+ );
1975
+ if (this.logger) retrier.logger = this.logger;
1976
+ const request = await composeRequest({
1977
+ baseEndpoint: this._endpoint,
1978
+ defaultHeaders: this._defaultHeaders,
1979
+ path: '/aiDataPlatforms/{aiDataPlatformId}/asyncOperations/{asyncOperationKey}',
1980
+ method: 'GET',
1981
+ pathParams: pathParams,
1982
+ headerParams: headerParams,
1983
+ queryParams: queryParams
1984
+ });
1985
+ try {
1986
+ const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1987
+ const sdkResponse = composeResponse({
1988
+ responseObject: <responses.GetAsyncOperationResponse>{},
1989
+ body: await response.json(),
1990
+ bodyKey: "asyncOperation",
1991
+ bodyModel: model.AsyncOperation,
1992
+ type: "model.AsyncOperation",
1993
+ responseHeaders: [
1994
+ {
1995
+ value: response.headers.get("opc-request-id"),
1996
+ key: "opcRequestId",
1997
+ dataType: "string"
1998
+ },
1999
+ {
2000
+ value: response.headers.get("opc-next-page"),
2001
+ key: "opcNextPage",
2002
+ dataType: "string"
2003
+ },
2004
+ ]
2005
+ });
2006
+
2007
+ return sdkResponse;
2008
+ }
2009
+ catch (err) {
2010
+ throw err;
2011
+ }
2012
+ }
2013
+
2014
+ /**
2015
+ * List all async operations for a resource type.
2016
+ * Filters can be used to narrow the search down.
2017
+ *
2018
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
2019
+ * @param ListAsyncOperationsRequest
2020
+ * @return ListAsyncOperationsResponse
2021
+ * @throws OciError when an error occurs
2022
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/ListAsyncOperations.ts.html |here} to see how to use ListAsyncOperations API.
2023
+ */
2024
+ public async listAsyncOperations (listAsyncOperationsRequest: requests.ListAsyncOperationsRequest) : Promise<responses.ListAsyncOperationsResponse> {
2025
+ if (this.logger)
2026
+ this.logger.debug("Calling operation AsyncOperationsClient#listAsyncOperations.");
2027
+ const operationName = "listAsyncOperations";
2028
+ const apiReferenceLink = "";
2029
+ const pathParams = {
2030
+ "{aiDataPlatformId}": listAsyncOperationsRequest.aiDataPlatformId,
2031
+ };
2032
+
2033
+ const queryParams = {
2034
+ 'resourceType': listAsyncOperationsRequest.resourceType,
2035
+ 'resourceName': listAsyncOperationsRequest.resourceName,
2036
+ 'matchResourceName': listAsyncOperationsRequest.matchResourceName,
2037
+ 'status': listAsyncOperationsRequest.status,
2038
+ 'shouldFilterByCallingPrincipal': listAsyncOperationsRequest.shouldFilterByCallingPrincipal,
2039
+ 'limit': listAsyncOperationsRequest.limit,
2040
+ 'page': listAsyncOperationsRequest.page,
2041
+ 'sortOrder': listAsyncOperationsRequest.sortOrder,
2042
+ 'sortBy': listAsyncOperationsRequest.sortBy,
2043
+ };
2044
+
2045
+ let headerParams = {
2046
+ "Content-Type": common.Constants.APPLICATION_JSON,
2047
+ 'opc-request-id': listAsyncOperationsRequest.opcRequestId,
2048
+ };
2049
+
2050
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2051
+ const retrier = GenericRetrier.createPreferredRetrier(
2052
+ this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
2053
+ listAsyncOperationsRequest.retryConfiguration,
2054
+ specRetryConfiguration
2055
+ );
2056
+ if (this.logger) retrier.logger = this.logger;
2057
+ const request = await composeRequest({
2058
+ baseEndpoint: this._endpoint,
2059
+ defaultHeaders: this._defaultHeaders,
2060
+ path: '/aiDataPlatforms/{aiDataPlatformId}/asyncOperations',
2061
+ method: 'GET',
2062
+ pathParams: pathParams,
2063
+ headerParams: headerParams,
2064
+ queryParams: queryParams
2065
+ });
2066
+ try {
2067
+ const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
2068
+ const sdkResponse = composeResponse({
2069
+ responseObject: <responses.ListAsyncOperationsResponse>{},
2070
+ body: await response.json(),
2071
+ bodyKey: "asyncOperationCollection",
2072
+ bodyModel: model.AsyncOperationCollection,
2073
+ type: "model.AsyncOperationCollection",
2074
+ responseHeaders: [
2075
+ {
2076
+ value: response.headers.get("opc-request-id"),
2077
+ key: "opcRequestId",
2078
+ dataType: "string"
2079
+ },
2080
+ {
2081
+ value: response.headers.get("opc-next-page"),
2082
+ key: "opcNextPage",
2083
+ dataType: "string"
2084
+ },
2085
+ ]
2086
+ });
2087
+
2088
+ return sdkResponse;
2089
+ }
2090
+ catch (err) {
2091
+ throw err;
2092
+ }
2093
+ }
2094
+
2095
+ }
2096
+ export enum AuditApiKeys {
2097
+ }
2098
+ /**
2099
+ * This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
2100
+ */
2101
+ export class AuditClient {
2102
+ protected static serviceEndpointTemplate = 'https://datalake.{region}.oci.{secondLevelDomain}';
2103
+ protected static endpointServiceName = '';
2104
+ protected "_realmSpecificEndpointTemplateEnabled" : boolean | undefined = undefined;
2105
+ protected "_endpoint" : string = '';
2106
+ protected "_defaultHeaders" : any = {};
2107
+ protected "_clientConfiguration": common.ClientConfiguration;
2108
+ protected _circuitBreaker: typeof Breaker | null = null;
2109
+ protected _httpOptions: any = undefined;
2110
+ protected _bodyDuplexMode: any = undefined;
2111
+ public targetService = "Audit";
2112
+ protected _regionId : string = '';
2113
+ protected "_region" : common.Region;
2114
+ protected _lastSetRegionOrRegionId : string = "";
2115
+
2116
+ protected _httpClient: common.HttpClient;
2117
+ protected _authProvider: common.AuthenticationDetailsProvider | undefined;
2118
+
2119
+ constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration) {
2120
+ const requestSigner = params.authenticationDetailsProvider
2121
+ ? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
2122
+ : null;
2123
+ this._authProvider = params.authenticationDetailsProvider;
2124
+ if (clientConfiguration) {
2125
+ this._clientConfiguration = clientConfiguration;
2126
+ this._circuitBreaker = clientConfiguration.circuitBreaker ? clientConfiguration.circuitBreaker!.circuit : null;
2127
+ this._httpOptions = clientConfiguration.httpOptions ? clientConfiguration.httpOptions : undefined;
2128
+ this._bodyDuplexMode = clientConfiguration.bodyDuplexMode ? clientConfiguration.bodyDuplexMode : undefined;
2129
+ }
2130
+
2131
+ if (!developerToolConfiguration.isServiceEnabled("aidp"))
2132
+ {
2133
+ let errmsg = "The developerToolConfiguration configuration disabled this service, this behavior is controlled by developerToolConfiguration.ociEnabledServiceSet variable. Please check if your local developer_tool_configuration file has configured the service you're targeting or contact the cloud provider on the availability of this service : ";
2134
+ throw errmsg.concat("aidp");
2135
+ }
2136
+
2137
+ // if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
2138
+ const specCircuitBreakerEnabled = true;
2139
+ if (!this._circuitBreaker && common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!) && (specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
2140
+ this._circuitBreaker = new common.CircuitBreaker().circuit;
2141
+ }
2142
+ this._httpClient = params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions, this._bodyDuplexMode);
2143
+
2144
+ if (params.authenticationDetailsProvider &&
2145
+ common.isRegionProvider(params.authenticationDetailsProvider)) {
2146
+ const provider: common.RegionProvider = params.authenticationDetailsProvider;
2147
+ if (provider.getRegion()) {
2148
+ this.region = provider.getRegion();
2149
+ }
2150
+ }
2151
+ }
2152
+
2153
+ /**
2154
+ * Get the endpoint that is being used to call (ex, https://www.example.com).
2155
+ */
2156
+ public get endpoint() {
2157
+ return this._endpoint;
2158
+ }
2159
+
2160
+ /**
2161
+ * Sets the endpoint to call (ex, https://www.example.com).
2162
+ * @param endpoint The endpoint of the service.
2163
+ */
2164
+ public set endpoint(endpoint: string) {
2165
+ this._endpoint = endpoint;
2166
+ this._endpoint = this._endpoint + '/20260430';
2167
+ if (this.logger)
2168
+ this.logger.info(`AuditClient endpoint set to ${this._endpoint}`);
2169
+ }
2170
+
2171
+ public get logger() {
2172
+ return common.LOG.logger;
2173
+ }
2174
+
2175
+ /**
2176
+ * Determines whether realm specific endpoint should be used or not.
2177
+ * Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false"
2178
+ * @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template
2179
+ */
2180
+ public set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled : boolean) {
2181
+ this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
2182
+ if (this.logger)
2183
+ this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
2184
+ if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
2185
+ this.endpoint = common.EndpointBuilder.createEndpointFromRegion(
2186
+ AuditClient.serviceEndpointTemplate,
2187
+ this._region,
2188
+ AuditClient.endpointServiceName,
2189
+
2190
+ );
2191
+ } else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) {
2192
+ this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(
2193
+ AuditClient.serviceEndpointTemplate,
2194
+ this._regionId,
2195
+ AuditClient.endpointServiceName,
2196
+
2197
+ );
2198
+ }
2199
+ }
2200
+
2201
+ /**
2202
+ * Sets the region to call (ex, Region.US_PHOENIX_1).
2203
+ * Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
2204
+ * @param region The region of the service.
2205
+ */
2206
+ public set region(region: common.Region) {
2207
+ this._region = region;
2208
+ this.endpoint = common.EndpointBuilder.createEndpointFromRegion(
2209
+ AuditClient.serviceEndpointTemplate,
2210
+ region,
2211
+ AuditClient.endpointServiceName,
2212
+
2213
+ );
2214
+ this._lastSetRegionOrRegionId = common.Region.REGION_STRING;
2215
+ }
2216
+
2217
+ /**
2218
+ * Sets the regionId to call (ex, 'us-phoenix-1').
2219
+ *
2220
+ * Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}.
2221
+ * If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1
2222
+ * and then call {@link #endpoint(String) endpoint}.
2223
+ * @param regionId The public region ID.
2224
+ */
2225
+ public set regionId(regionId: string) {
2226
+ this._regionId = regionId;
2227
+ this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(
2228
+ AuditClient.serviceEndpointTemplate,
2229
+ regionId,
2230
+ AuditClient.endpointServiceName,
2231
+
2232
+ );
2233
+ this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING;
2234
+ }
2235
+
2236
+
2237
+
2238
+ /**
2239
+ * Shutdown the circuit breaker used by the client when it is no longer needed
2240
+ */
2241
+ public shutdownCircuitBreaker() {
2242
+ if (this._circuitBreaker) {
2243
+ this._circuitBreaker.shutdown();
2244
+ }
2245
+ }
2246
+
2247
+ /**
2248
+ * Close the provider if possible which in turn shuts down any associated circuit breaker
2249
+ */
2250
+ public closeProvider() {
2251
+ if (this._authProvider) {
2252
+ if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider)
2253
+ (<common.AbstractRequestingAuthenticationDetailsProvider>this._authProvider).closeProvider();
2254
+ }
2255
+ }
2256
+
2257
+ /**
2258
+ * Close the client once it is no longer needed
2259
+ */
2260
+ public close() {
2261
+ this.shutdownCircuitBreaker();
2262
+ this.closeProvider();
2263
+ }
2264
+
2265
+ /**
2266
+ * Manages audit logs.
2267
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
2268
+ * @param ManageAuditLogsRequest
2269
+ * @return ManageAuditLogsResponse
2270
+ * @throws OciError when an error occurs
2271
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/ManageAuditLogs.ts.html |here} to see how to use ManageAuditLogs API.
2272
+ */
2273
+ public async manageAuditLogs (manageAuditLogsRequest: requests.ManageAuditLogsRequest) : Promise<responses.ManageAuditLogsResponse> {
2274
+ if (this.logger)
2275
+ this.logger.debug("Calling operation AuditClient#manageAuditLogs.");
2276
+ const operationName = "manageAuditLogs";
2277
+ const apiReferenceLink = "";
2278
+ const pathParams = {
2279
+ "{aiDataPlatformId}": manageAuditLogsRequest.aiDataPlatformId,
2280
+ };
2281
+
2282
+ const queryParams = {
2283
+ };
2284
+
2285
+ let headerParams = {
2286
+ "Content-Type": common.Constants.APPLICATION_JSON,
2287
+ 'opc-retry-token': manageAuditLogsRequest.opcRetryToken,'opc-request-id': manageAuditLogsRequest.opcRequestId,
2288
+ };
2289
+
2290
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2291
+ const retrier = GenericRetrier.createPreferredRetrier(
2292
+ this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
2293
+ manageAuditLogsRequest.retryConfiguration,
2294
+ specRetryConfiguration
2295
+ );
2296
+ if (this.logger) retrier.logger = this.logger;
2297
+ const request = await composeRequest({
2298
+ baseEndpoint: this._endpoint,
2299
+ defaultHeaders: this._defaultHeaders,
2300
+ path: '/aiDataPlatforms/{aiDataPlatformId}/actions/manageAuditLogs',
2301
+ method: 'POST',
2302
+ bodyContent: common.ObjectSerializer.serialize(manageAuditLogsRequest.manageAuditLogsDetails, "ManageAuditLogsDetails"
2303
+ , model.ManageAuditLogsDetails.getJsonObj)
2304
+ ,
2305
+ pathParams: pathParams,
2306
+ headerParams: headerParams,
2307
+ queryParams: queryParams
2308
+ });
2309
+ try {
2310
+ const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
2311
+ const sdkResponse = composeResponse({
2312
+ responseObject: <responses.ManageAuditLogsResponse>{},
2313
+ responseHeaders: [
2314
+ {
2315
+ value: response.headers.get("opc-request-id"),
2316
+ key: "opcRequestId",
2317
+ dataType: "string"
2318
+ },
2319
+ ]
2320
+ });
2321
+
2322
+ return sdkResponse;
2323
+ }
2324
+ catch (err) {
2325
+ throw err;
2326
+ }
2327
+ }
2328
+
2329
+ /**
2330
+ * Searches audit logs.
2331
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
2332
+ * @param SearchAuditLogsRequest
2333
+ * @return SearchAuditLogsResponse
2334
+ * @throws OciError when an error occurs
2335
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/SearchAuditLogs.ts.html |here} to see how to use SearchAuditLogs API.
2336
+ */
2337
+ public async searchAuditLogs (searchAuditLogsRequest: requests.SearchAuditLogsRequest) : Promise<responses.SearchAuditLogsResponse> {
2338
+ if (this.logger)
2339
+ this.logger.debug("Calling operation AuditClient#searchAuditLogs.");
2340
+ const operationName = "searchAuditLogs";
2341
+ const apiReferenceLink = "";
2342
+ const pathParams = {
2343
+ "{aiDataPlatformId}": searchAuditLogsRequest.aiDataPlatformId,
2344
+ };
2345
+
2346
+ const queryParams = {
2347
+ 'limit': searchAuditLogsRequest.limit,
2348
+ 'page': searchAuditLogsRequest.page,
2349
+ };
2350
+
2351
+ let headerParams = {
2352
+ "Content-Type": common.Constants.APPLICATION_JSON,
2353
+ 'opc-retry-token': searchAuditLogsRequest.opcRetryToken,'opc-request-id': searchAuditLogsRequest.opcRequestId,
2354
+ };
2355
+
2356
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2357
+ const retrier = GenericRetrier.createPreferredRetrier(
2358
+ this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
2359
+ searchAuditLogsRequest.retryConfiguration,
2360
+ specRetryConfiguration
2361
+ );
2362
+ if (this.logger) retrier.logger = this.logger;
2363
+ const request = await composeRequest({
2364
+ baseEndpoint: this._endpoint,
2365
+ defaultHeaders: this._defaultHeaders,
2366
+ path: '/aiDataPlatforms/{aiDataPlatformId}/actions/searchAuditLogs',
2367
+ method: 'POST',
2368
+ bodyContent: common.ObjectSerializer.serialize(searchAuditLogsRequest.searchAuditLogsDetails, "SearchAuditLogsDetails"
2369
+ , model.SearchAuditLogsDetails.getJsonObj)
2370
+ ,
2371
+ pathParams: pathParams,
2372
+ headerParams: headerParams,
2373
+ queryParams: queryParams
2374
+ });
2375
+ try {
2376
+ const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
2377
+ const sdkResponse = composeResponse({
2378
+ responseObject: <responses.SearchAuditLogsResponse>{},
2379
+ body: await response.json(),
2380
+ bodyKey: "auditLogSearchResultCollection",
2381
+ bodyModel: model.AuditLogSearchResultCollection,
2382
+ type: "model.AuditLogSearchResultCollection",
2383
+ responseHeaders: [
2384
+ {
2385
+ value: response.headers.get("opc-request-id"),
2386
+ key: "opcRequestId",
2387
+ dataType: "string"
2388
+ },
2389
+ {
2390
+ value: response.headers.get("opc-next-page"),
2391
+ key: "opcNextPage",
2392
+ dataType: "string"
2393
+ },
2394
+ ]
2395
+ });
2396
+
2397
+ return sdkResponse;
2398
+ }
2399
+ catch (err) {
2400
+ throw err;
2401
+ }
2402
+ }
2403
+
2404
+ }
2405
+ export enum BundleApiKeys {
2406
+ }
2407
+ /**
2408
+ * This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
2409
+ */
2410
+ export class BundleClient {
2411
+ protected static serviceEndpointTemplate = 'https://datalake.{region}.oci.{secondLevelDomain}';
2412
+ protected static endpointServiceName = '';
2413
+ protected "_realmSpecificEndpointTemplateEnabled" : boolean | undefined = undefined;
2414
+ protected "_endpoint" : string = '';
2415
+ protected "_defaultHeaders" : any = {};
2416
+ protected "_clientConfiguration": common.ClientConfiguration;
2417
+ protected _circuitBreaker: typeof Breaker | null = null;
2418
+ protected _httpOptions: any = undefined;
2419
+ protected _bodyDuplexMode: any = undefined;
2420
+ public targetService = "Bundle";
2421
+ protected _regionId : string = '';
2422
+ protected "_region" : common.Region;
2423
+ protected _lastSetRegionOrRegionId : string = "";
2424
+
2425
+ protected _httpClient: common.HttpClient;
2426
+ protected _authProvider: common.AuthenticationDetailsProvider | undefined;
2427
+
2428
+ constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration) {
2429
+ const requestSigner = params.authenticationDetailsProvider
2430
+ ? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
2431
+ : null;
2432
+ this._authProvider = params.authenticationDetailsProvider;
2433
+ if (clientConfiguration) {
2434
+ this._clientConfiguration = clientConfiguration;
2435
+ this._circuitBreaker = clientConfiguration.circuitBreaker ? clientConfiguration.circuitBreaker!.circuit : null;
2436
+ this._httpOptions = clientConfiguration.httpOptions ? clientConfiguration.httpOptions : undefined;
2437
+ this._bodyDuplexMode = clientConfiguration.bodyDuplexMode ? clientConfiguration.bodyDuplexMode : undefined;
2438
+ }
2439
+
2440
+ if (!developerToolConfiguration.isServiceEnabled("aidp"))
2441
+ {
2442
+ let errmsg = "The developerToolConfiguration configuration disabled this service, this behavior is controlled by developerToolConfiguration.ociEnabledServiceSet variable. Please check if your local developer_tool_configuration file has configured the service you're targeting or contact the cloud provider on the availability of this service : ";
2443
+ throw errmsg.concat("aidp");
2444
+ }
2445
+
2446
+ // if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
2447
+ const specCircuitBreakerEnabled = true;
2448
+ if (!this._circuitBreaker && common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!) && (specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
2449
+ this._circuitBreaker = new common.CircuitBreaker().circuit;
2450
+ }
2451
+ this._httpClient = params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions, this._bodyDuplexMode);
2452
+
2453
+ if (params.authenticationDetailsProvider &&
2454
+ common.isRegionProvider(params.authenticationDetailsProvider)) {
2455
+ const provider: common.RegionProvider = params.authenticationDetailsProvider;
2456
+ if (provider.getRegion()) {
2457
+ this.region = provider.getRegion();
2458
+ }
2459
+ }
2460
+ }
2461
+
2462
+ /**
2463
+ * Get the endpoint that is being used to call (ex, https://www.example.com).
2464
+ */
2465
+ public get endpoint() {
2466
+ return this._endpoint;
2467
+ }
2468
+
2469
+ /**
2470
+ * Sets the endpoint to call (ex, https://www.example.com).
2471
+ * @param endpoint The endpoint of the service.
2472
+ */
2473
+ public set endpoint(endpoint: string) {
2474
+ this._endpoint = endpoint;
2475
+ this._endpoint = this._endpoint + '/20260430';
2476
+ if (this.logger)
2477
+ this.logger.info(`BundleClient endpoint set to ${this._endpoint}`);
2478
+ }
2479
+
2480
+ public get logger() {
2481
+ return common.LOG.logger;
2482
+ }
2483
+
2484
+ /**
2485
+ * Determines whether realm specific endpoint should be used or not.
2486
+ * Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false"
2487
+ * @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template
2488
+ */
2489
+ public set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled : boolean) {
2490
+ this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
2491
+ if (this.logger)
2492
+ this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
2493
+ if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
2494
+ this.endpoint = common.EndpointBuilder.createEndpointFromRegion(
2495
+ BundleClient.serviceEndpointTemplate,
2496
+ this._region,
2497
+ BundleClient.endpointServiceName,
2498
+
2499
+ );
2500
+ } else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) {
2501
+ this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(
2502
+ BundleClient.serviceEndpointTemplate,
2503
+ this._regionId,
2504
+ BundleClient.endpointServiceName,
2505
+
2506
+ );
2507
+ }
2508
+ }
2509
+
2510
+ /**
2511
+ * Sets the region to call (ex, Region.US_PHOENIX_1).
2512
+ * Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
2513
+ * @param region The region of the service.
2514
+ */
2515
+ public set region(region: common.Region) {
2516
+ this._region = region;
2517
+ this.endpoint = common.EndpointBuilder.createEndpointFromRegion(
2518
+ BundleClient.serviceEndpointTemplate,
2519
+ region,
2520
+ BundleClient.endpointServiceName,
2521
+
2522
+ );
2523
+ this._lastSetRegionOrRegionId = common.Region.REGION_STRING;
2524
+ }
2525
+
2526
+ /**
2527
+ * Sets the regionId to call (ex, 'us-phoenix-1').
2528
+ *
2529
+ * Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}.
2530
+ * If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1
2531
+ * and then call {@link #endpoint(String) endpoint}.
2532
+ * @param regionId The public region ID.
2533
+ */
2534
+ public set regionId(regionId: string) {
2535
+ this._regionId = regionId;
2536
+ this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(
2537
+ BundleClient.serviceEndpointTemplate,
2538
+ regionId,
2539
+ BundleClient.endpointServiceName,
2540
+
2541
+ );
2542
+ this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING;
2543
+ }
2544
+
2545
+
2546
+
2547
+ /**
2548
+ * Shutdown the circuit breaker used by the client when it is no longer needed
2549
+ */
2550
+ public shutdownCircuitBreaker() {
2551
+ if (this._circuitBreaker) {
2552
+ this._circuitBreaker.shutdown();
2553
+ }
2554
+ }
2555
+
2556
+ /**
2557
+ * Close the provider if possible which in turn shuts down any associated circuit breaker
2558
+ */
2559
+ public closeProvider() {
801
2560
  if (this._authProvider) {
802
2561
  if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider)
803
2562
  (<common.AbstractRequestingAuthenticationDetailsProvider>this._authProvider).closeProvider();
@@ -805,107 +2564,608 @@ export class BundleClient {
805
2564
  }
806
2565
 
807
2566
  /**
808
- * Close the client once it is no longer needed
809
- */
810
- public close() {
811
- this.shutdownCircuitBreaker();
812
- this.closeProvider();
813
- }
814
-
815
- /**
816
- * (Preview) Creates a new bundle.
817
- * <p>
818
- A bundle is a self-contained, portable representation of selected workspace assets, such as jobs
819
- * and agent flows, along with their dependencies and associated code artifacts. It captures both
820
- * the resource configurations and the supporting assets required to recreate those resources in
821
- * another workspace or environment.
822
- * <p>
823
- The bundle manifest is named `aidp_workbench.yaml`. The bundle preserves the workspace folder
824
- * structure for code artifacts from the location where it was created, so the generated bundle
825
- * mirrors the source layout.
826
- * <p>
827
- Dependencies are tracked inside the bundle under each asset type:
828
- * - job and agent flow dependencies are added under the `dependencies` folder inside the
829
- * `jobs` and `agentflows` folders
830
- * - code dependencies are added under the `artifacts` directory in the bundle
831
- * <p>
832
- Dependency references use template variables, for example:
833
- * - compute: `$${jobs.dependencies.training_compute.compute.key}`
834
- * - nested jobs: `$${jobs.dependencies.training_job.job.key}`
835
- * - aicompute: `$${jobs.dependencies.training_aicompute.aicompute.key}`
836
- * <p>
837
- Bundles also support the special variable `$${bundle.root}`, which points to the root of the
838
- * bundle folder and is used for referencing artifacts.
2567
+ * Close the client once it is no longer needed
2568
+ */
2569
+ public close() {
2570
+ this.shutdownCircuitBreaker();
2571
+ this.closeProvider();
2572
+ }
2573
+
2574
+ /**
2575
+ * (Deprecated) Creates a new bundle.
2576
+ * <p>
2577
+ A bundle is a self-contained, portable representation of selected workspace assets, such as jobs
2578
+ * and agent flows, along with their dependencies and associated code artifacts. It captures both
2579
+ * the resource configurations and the supporting assets required to recreate those resources in
2580
+ * another workspace or environment.
2581
+ * <p>
2582
+ The bundle manifest is named `aidp_workbench.yaml`. The bundle preserves the workspace folder
2583
+ * structure for code artifacts from the location where it was created, so the generated bundle
2584
+ * mirrors the source layout.
2585
+ * <p>
2586
+ Dependencies are tracked inside the bundle under each asset type:
2587
+ * - job and agent flow dependencies are added under the `dependencies` folder inside the
2588
+ * `jobs` and `agentflows` folders
2589
+ * - code dependencies are added under the `artifacts` directory in the bundle
2590
+ * <p>
2591
+ Dependency references use template variables, for example:
2592
+ * - compute: `$${jobs.dependencies.training_compute.compute.key}`
2593
+ * - nested jobs: `$${jobs.dependencies.training_job.job.key}`
2594
+ * - aicompute: `$${jobs.dependencies.training_aicompute.aicompute.key}`
2595
+ * <p>
2596
+ Bundles also support the special variable `$${bundle.root}`, which points to the root of the
2597
+ * bundle folder and is used for referencing artifacts.
2598
+ * <p>
2599
+ Variables and overrides:
2600
+ * - bundles support parameterization using variables defined in the bundle manifest
2601
+ * (`aidp_workbench.yaml`)
2602
+ * <p>
2603
+ Example manifest defaults:
2604
+ * defaults:
2605
+ * variables:
2606
+ * job_compute_key: \"$${jobs.dependencies.small.compute.key}\"
2607
+ * <p>
2608
+ - variables can be referenced in resource descriptors using the `$${var.<name>}` syntax
2609
+ * <p>
2610
+ Example usage in a job descriptor:
2611
+ * \"clusterKey\": \"$${var.job_compute_key}\"
2612
+ * <p>
2613
+ - workspace-specific overrides can be provided via `.aidp/overrides.yaml` inside the bundle
2614
+ * - this file is intended for environment-specific configuration and should not be committed to Git,
2615
+ * allowing the bundle to remain portable and environment-agnostic
2616
+ * <p>
2617
+ Example overrides file:
2618
+ * variables:
2619
+ * job_compute_key: f6e7f5d8-d965-4009-95d9-02e993d9a16b
2620
+ * <p>
2621
+ - when an override is provided, the referenced dependency (for example, compute) is not created,
2622
+ * and the provided value is used instead
2623
+ * - when no override is provided, the system falls back to the default variable value, which may
2624
+ * reference a dependency included in the bundle (resulting in that dependency being created)
2625
+ * - this mechanism enables environment-specific customization (for example, reusing existing
2626
+ * infrastructure in production while creating new resources in development)
2627
+ * - the same pattern can be used for other environment-specific parameters such as compute shape,
2628
+ * number of OCPUs, or other configuration values
2629
+ * <p>
2630
+ Git integration and promotion:
2631
+ * - bundles can only be created inside Git-backed workspace folders
2632
+ * - bundles are self-contained packages that include resource definitions, dependency references,
2633
+ * and associated code artifacts required to recreate the bundled resources
2634
+ * - the entire bundle folder can be committed and pushed to a Git repository
2635
+ * - bundles can be pulled into another workspace via Git and deployed there
2636
+ * - bundles can be promoted across environments (for example, dev \u2192 test \u2192 prod) using Git workflows
2637
+ * - because the bundle includes both resource configuration and code dependencies, it can be used
2638
+ * to reliably replicate assets across workspaces
2639
+ * <p>
2640
+ This operation is asynchronous. The service validates the request, starts bundle
2641
+ * creation, and returns an async operation key in the response headers. Use the async
2642
+ * operation APIs to track completion.
2643
+ * <p>
2644
+ Typical use cases:
2645
+ * - capture selected workspace resources into a version-controlled bundle
2646
+ * - prepare a bundle for later deployment or promotion
2647
+ * - establish a bundle root that can later be inspected, updated, or deployed
2648
+ * <p>
2649
+ Request notes:
2650
+ * - `path` identifies the parent folder in the workspace volume where the bundle should be created
2651
+ * - `name` identifies the bundle folder name
2652
+ * - `bundledResources` identifies which workspace resources should be included
2653
+ *
2654
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
2655
+ * @param CreateBundleRequest
2656
+ * @return CreateBundleResponse
2657
+ * @throws OciError when an error occurs
2658
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/CreateBundle.ts.html |here} to see how to use CreateBundle API.
2659
+ */
2660
+ public async createBundle (createBundleRequest: requests.CreateBundleRequest) : Promise<responses.CreateBundleResponse> {
2661
+ if (this.logger)
2662
+ this.logger.debug("Calling operation BundleClient#createBundle.");
2663
+ const operationName = "createBundle";
2664
+ const apiReferenceLink = "";
2665
+ const pathParams = {
2666
+ "{aiDataPlatformId}": createBundleRequest.aiDataPlatformId,
2667
+ "{workspaceKey}": createBundleRequest.workspaceKey,
2668
+ };
2669
+
2670
+ const queryParams = {
2671
+ };
2672
+
2673
+ let headerParams = {
2674
+ "Content-Type": common.Constants.APPLICATION_JSON,
2675
+ 'opc-retry-token': createBundleRequest.opcRetryToken,'opc-request-id': createBundleRequest.opcRequestId,
2676
+ };
2677
+
2678
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2679
+ const retrier = GenericRetrier.createPreferredRetrier(
2680
+ this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
2681
+ createBundleRequest.retryConfiguration,
2682
+ specRetryConfiguration
2683
+ );
2684
+ if (this.logger) retrier.logger = this.logger;
2685
+ const request = await composeRequest({
2686
+ baseEndpoint: this._endpoint,
2687
+ defaultHeaders: this._defaultHeaders,
2688
+ path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/bundles',
2689
+ method: 'POST',
2690
+ bodyContent: common.ObjectSerializer.serialize(createBundleRequest.createBundleDetails, "CreateBundleDetails"
2691
+ , model.CreateBundleDetails.getJsonObj)
2692
+ ,
2693
+ pathParams: pathParams,
2694
+ headerParams: headerParams,
2695
+ queryParams: queryParams
2696
+ });
2697
+ try {
2698
+ const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
2699
+ const sdkResponse = composeResponse({
2700
+ responseObject: <responses.CreateBundleResponse>{},
2701
+ responseHeaders: [
2702
+ {
2703
+ value: response.headers.get("opc-request-id"),
2704
+ key: "opcRequestId",
2705
+ dataType: "string"
2706
+ },
2707
+ {
2708
+ value: response.headers.get("aidp-async-operation-key"),
2709
+ key: "aidpAsyncOperationKey",
2710
+ dataType: "string"
2711
+ },
2712
+ ]
2713
+ });
2714
+
2715
+ return sdkResponse;
2716
+ }
2717
+ catch (err) {
2718
+ throw err;
2719
+ }
2720
+ }
2721
+
2722
+ /**
2723
+ * (Preview) Creates a new bundle.
2724
+ * <p>
2725
+ A bundle is a self-contained, portable representation of selected workspace assets, such as jobs
2726
+ * and agent flows, along with their dependencies and associated code artifacts. It captures both
2727
+ * the resource configurations and the supporting assets required to recreate those resources in
2728
+ * another workspace or environment.
2729
+ * <p>
2730
+ The bundle manifest is named `aidp_workbench.yaml`. The bundle preserves the workspace folder
2731
+ * structure for code artifacts from the location where it was created, so the generated bundle
2732
+ * mirrors the source layout.
2733
+ * <p>
2734
+ Dependencies are tracked inside the bundle under each asset type:
2735
+ * - job and agent flow dependencies are added under the `dependencies` folder inside the
2736
+ * `jobs` and `agentflows` folders
2737
+ * - code dependencies are added under the `artifacts` directory in the bundle
2738
+ * <p>
2739
+ Dependency references use template variables, for example:
2740
+ * - compute: `$${jobs.dependencies.training_compute.compute.key}`
2741
+ * - nested jobs: `$${jobs.dependencies.training_job.job.key}`
2742
+ * - aicompute: `$${jobs.dependencies.training_aicompute.aicompute.key}`
2743
+ * <p>
2744
+ Bundles also support the special variable `$${bundle.root}`, which points to the root of the
2745
+ * bundle folder and is used for referencing artifacts.
2746
+ * <p>
2747
+ Variables and overrides:
2748
+ * - bundles support parameterization using variables defined in the bundle manifest
2749
+ * (`aidp_workbench.yaml`)
2750
+ * <p>
2751
+ Example manifest defaults:
2752
+ * defaults:
2753
+ * variables:
2754
+ * job_compute_key: \"$${jobs.dependencies.small.compute.key}\"
2755
+ * <p>
2756
+ - variables can be referenced in resource descriptors using the `$${var.<name>}` syntax
2757
+ * <p>
2758
+ Example usage in a job descriptor:
2759
+ * \"clusterKey\": \"$${var.job_compute_key}\"
2760
+ * <p>
2761
+ - workspace-specific overrides can be provided via `.aidp/overrides.yaml` inside the bundle
2762
+ * - this file is intended for environment-specific configuration and should not be committed to Git,
2763
+ * allowing the bundle to remain portable and environment-agnostic
2764
+ * <p>
2765
+ Example overrides file:
2766
+ * variables:
2767
+ * job_compute_key: f6e7f5d8-d965-4009-95d9-02e993d9a16b
2768
+ * <p>
2769
+ - when an override is provided, the referenced dependency (for example, compute) is not created,
2770
+ * and the provided value is used instead
2771
+ * - when no override is provided, the system falls back to the default variable value, which may
2772
+ * reference a dependency included in the bundle (resulting in that dependency being created)
2773
+ * - this mechanism enables environment-specific customization (for example, reusing existing
2774
+ * infrastructure in production while creating new resources in development)
2775
+ * - the same pattern can be used for other environment-specific parameters such as compute shape,
2776
+ * number of OCPUs, or other configuration values
2777
+ * <p>
2778
+ Git integration and promotion:
2779
+ * - bundles can only be created inside Git-backed workspace folders
2780
+ * - bundles are self-contained packages that include resource definitions, dependency references,
2781
+ * and associated code artifacts required to recreate the bundled resources
2782
+ * - the entire bundle folder can be committed and pushed to a Git repository
2783
+ * - bundles can be pulled into another workspace via Git and deployed there
2784
+ * - bundles can be promoted across environments (for example, dev \u2192 test \u2192 prod) using Git workflows
2785
+ * - because the bundle includes both resource configuration and code dependencies, it can be used
2786
+ * to reliably replicate assets across workspaces
2787
+ * <p>
2788
+ This operation is asynchronous. The service validates the request, starts bundle
2789
+ * creation, and returns an async operation key in the response headers. Use the async
2790
+ * operation APIs to track completion.
2791
+ * <p>
2792
+ Typical use cases:
2793
+ * - capture selected workspace resources into a version-controlled bundle
2794
+ * - prepare a bundle for later deployment or promotion
2795
+ * - establish a bundle root that can later be inspected, updated, or deployed
2796
+ * <p>
2797
+ Request notes:
2798
+ * - `path` identifies the parent folder in the workspace volume where the bundle should be created
2799
+ * - `name` identifies the bundle folder name
2800
+ * - `bundledResources` identifies which workspace resources should be included
2801
+ *
2802
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
2803
+ * @param CreateBundleActionRequest
2804
+ * @return CreateBundleActionResponse
2805
+ * @throws OciError when an error occurs
2806
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/CreateBundleAction.ts.html |here} to see how to use CreateBundleAction API.
2807
+ */
2808
+ public async createBundleAction (createBundleActionRequest: requests.CreateBundleActionRequest) : Promise<responses.CreateBundleActionResponse> {
2809
+ if (this.logger)
2810
+ this.logger.debug("Calling operation BundleClient#createBundleAction.");
2811
+ const operationName = "createBundleAction";
2812
+ const apiReferenceLink = "";
2813
+ const pathParams = {
2814
+ "{aiDataPlatformId}": createBundleActionRequest.aiDataPlatformId,
2815
+ "{workspaceKey}": createBundleActionRequest.workspaceKey,
2816
+ };
2817
+
2818
+ const queryParams = {
2819
+ };
2820
+
2821
+ let headerParams = {
2822
+ "Content-Type": common.Constants.APPLICATION_JSON,
2823
+ 'opc-retry-token': createBundleActionRequest.opcRetryToken,'opc-request-id': createBundleActionRequest.opcRequestId,
2824
+ };
2825
+
2826
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2827
+ const retrier = GenericRetrier.createPreferredRetrier(
2828
+ this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
2829
+ createBundleActionRequest.retryConfiguration,
2830
+ specRetryConfiguration
2831
+ );
2832
+ if (this.logger) retrier.logger = this.logger;
2833
+ const request = await composeRequest({
2834
+ baseEndpoint: this._endpoint,
2835
+ defaultHeaders: this._defaultHeaders,
2836
+ path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/actions/createBundle',
2837
+ method: 'POST',
2838
+ bodyContent: common.ObjectSerializer.serialize(createBundleActionRequest.createBundleDetails, "CreateBundleDetails"
2839
+ , model.CreateBundleDetails.getJsonObj)
2840
+ ,
2841
+ pathParams: pathParams,
2842
+ headerParams: headerParams,
2843
+ queryParams: queryParams
2844
+ });
2845
+ try {
2846
+ const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
2847
+ const sdkResponse = composeResponse({
2848
+ responseObject: <responses.CreateBundleActionResponse>{},
2849
+ responseHeaders: [
2850
+ {
2851
+ value: response.headers.get("opc-request-id"),
2852
+ key: "opcRequestId",
2853
+ dataType: "string"
2854
+ },
2855
+ {
2856
+ value: response.headers.get("aidp-async-operation-key"),
2857
+ key: "aidpAsyncOperationKey",
2858
+ dataType: "string"
2859
+ },
2860
+ ]
2861
+ });
2862
+
2863
+ return sdkResponse;
2864
+ }
2865
+ catch (err) {
2866
+ throw err;
2867
+ }
2868
+ }
2869
+
2870
+ /**
2871
+ * (Deprecated) Deploys the specified bundle, creating or updating jobs and agent flows according to the bundle manifest.
2872
+ * Returns an async job key for tracking deployment progress.
2873
+ * <p>
2874
+ This operation is asynchronous. The request is accepted for background execution and
2875
+ * returns an async operation key in the response headers.
2876
+ * <p>
2877
+ Deployment typically uses:
2878
+ * - the bundle manifest at the bundle root
2879
+ * - top-level resource descriptors in the bundle
2880
+ * - dependency descriptors referenced by those top-level resources
2881
+ * - default or override variable values when present
2882
+ * <p>
2883
+ Use this operation when you want to apply the bundle contents into the target
2884
+ * workspace state.
2885
+ * <p>
2886
+ Request notes:
2887
+ * - `path` identifies the bundle root folder in the workspace volume
2888
+ *
2889
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
2890
+ * @param DeployBundleRequest
2891
+ * @return DeployBundleResponse
2892
+ * @throws OciError when an error occurs
2893
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/DeployBundle.ts.html |here} to see how to use DeployBundle API.
2894
+ */
2895
+ public async deployBundle (deployBundleRequest: requests.DeployBundleRequest) : Promise<responses.DeployBundleResponse> {
2896
+ if (this.logger)
2897
+ this.logger.debug("Calling operation BundleClient#deployBundle.");
2898
+ const operationName = "deployBundle";
2899
+ const apiReferenceLink = "";
2900
+ const pathParams = {
2901
+ "{aiDataPlatformId}": deployBundleRequest.aiDataPlatformId,
2902
+ "{workspaceKey}": deployBundleRequest.workspaceKey,
2903
+ };
2904
+
2905
+ const queryParams = {
2906
+ };
2907
+
2908
+ let headerParams = {
2909
+ "Content-Type": common.Constants.APPLICATION_JSON,
2910
+ 'opc-retry-token': deployBundleRequest.opcRetryToken,'opc-request-id': deployBundleRequest.opcRequestId,
2911
+ };
2912
+
2913
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
2914
+ const retrier = GenericRetrier.createPreferredRetrier(
2915
+ this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
2916
+ deployBundleRequest.retryConfiguration,
2917
+ specRetryConfiguration
2918
+ );
2919
+ if (this.logger) retrier.logger = this.logger;
2920
+ const request = await composeRequest({
2921
+ baseEndpoint: this._endpoint,
2922
+ defaultHeaders: this._defaultHeaders,
2923
+ path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/bundles/actions/deploy',
2924
+ method: 'POST',
2925
+ bodyContent: common.ObjectSerializer.serialize(deployBundleRequest.deployBundleDetails, "DeployBundleDetails"
2926
+ , model.DeployBundleDetails.getJsonObj)
2927
+ ,
2928
+ pathParams: pathParams,
2929
+ headerParams: headerParams,
2930
+ queryParams: queryParams
2931
+ });
2932
+ try {
2933
+ const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
2934
+ const sdkResponse = composeResponse({
2935
+ responseObject: <responses.DeployBundleResponse>{},
2936
+ responseHeaders: [
2937
+ {
2938
+ value: response.headers.get("opc-request-id"),
2939
+ key: "opcRequestId",
2940
+ dataType: "string"
2941
+ },
2942
+ {
2943
+ value: response.headers.get("aidp-async-operation-key"),
2944
+ key: "aidpAsyncOperationKey",
2945
+ dataType: "string"
2946
+ },
2947
+ ]
2948
+ });
2949
+
2950
+ return sdkResponse;
2951
+ }
2952
+ catch (err) {
2953
+ throw err;
2954
+ }
2955
+ }
2956
+
2957
+ /**
2958
+ * (Preview) Deploys the specified bundle, creating or updating jobs and agent flows according to the bundle manifest.
2959
+ * Returns an async job key for tracking deployment progress.
839
2960
  * <p>
840
- Variables and overrides:
841
- * - bundles support parameterization using variables defined in the bundle manifest
842
- * (`aidp_workbench.yaml`)
2961
+ This operation is asynchronous. The request is accepted for background execution and
2962
+ * returns an async operation key in the response headers.
843
2963
  * <p>
844
- Example manifest defaults:
845
- * defaults:
846
- * variables:
847
- * job_compute_key: \"$${jobs.dependencies.small.compute.key}\"
2964
+ Deployment typically uses:
2965
+ * - the bundle manifest at the bundle root
2966
+ * - top-level resource descriptors in the bundle
2967
+ * - dependency descriptors referenced by those top-level resources
2968
+ * - default or override variable values when present
848
2969
  * <p>
849
- - variables can be referenced in resource descriptors using the `$${var.<name>}` syntax
2970
+ Use this operation when you want to apply the bundle contents into the target
2971
+ * workspace state.
850
2972
  * <p>
851
- Example usage in a job descriptor:
852
- * \"clusterKey\": \"$${var.job_compute_key}\"
2973
+ Request notes:
2974
+ * - `path` identifies the bundle root folder in the workspace volume
2975
+ *
2976
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
2977
+ * @param DeployBundleActionRequest
2978
+ * @return DeployBundleActionResponse
2979
+ * @throws OciError when an error occurs
2980
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/DeployBundleAction.ts.html |here} to see how to use DeployBundleAction API.
2981
+ */
2982
+ public async deployBundleAction (deployBundleActionRequest: requests.DeployBundleActionRequest) : Promise<responses.DeployBundleActionResponse> {
2983
+ if (this.logger)
2984
+ this.logger.debug("Calling operation BundleClient#deployBundleAction.");
2985
+ const operationName = "deployBundleAction";
2986
+ const apiReferenceLink = "";
2987
+ const pathParams = {
2988
+ "{aiDataPlatformId}": deployBundleActionRequest.aiDataPlatformId,
2989
+ "{workspaceKey}": deployBundleActionRequest.workspaceKey,
2990
+ };
2991
+
2992
+ const queryParams = {
2993
+ };
2994
+
2995
+ let headerParams = {
2996
+ "Content-Type": common.Constants.APPLICATION_JSON,
2997
+ 'opc-retry-token': deployBundleActionRequest.opcRetryToken,'opc-request-id': deployBundleActionRequest.opcRequestId,
2998
+ };
2999
+
3000
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3001
+ const retrier = GenericRetrier.createPreferredRetrier(
3002
+ this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
3003
+ deployBundleActionRequest.retryConfiguration,
3004
+ specRetryConfiguration
3005
+ );
3006
+ if (this.logger) retrier.logger = this.logger;
3007
+ const request = await composeRequest({
3008
+ baseEndpoint: this._endpoint,
3009
+ defaultHeaders: this._defaultHeaders,
3010
+ path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/actions/deployBundle',
3011
+ method: 'POST',
3012
+ bodyContent: common.ObjectSerializer.serialize(deployBundleActionRequest.deployBundleDetails, "DeployBundleDetails"
3013
+ , model.DeployBundleDetails.getJsonObj)
3014
+ ,
3015
+ pathParams: pathParams,
3016
+ headerParams: headerParams,
3017
+ queryParams: queryParams
3018
+ });
3019
+ try {
3020
+ const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
3021
+ const sdkResponse = composeResponse({
3022
+ responseObject: <responses.DeployBundleActionResponse>{},
3023
+ responseHeaders: [
3024
+ {
3025
+ value: response.headers.get("opc-request-id"),
3026
+ key: "opcRequestId",
3027
+ dataType: "string"
3028
+ },
3029
+ {
3030
+ value: response.headers.get("aidp-async-operation-key"),
3031
+ key: "aidpAsyncOperationKey",
3032
+ dataType: "string"
3033
+ },
3034
+ ]
3035
+ });
3036
+
3037
+ return sdkResponse;
3038
+ }
3039
+ catch (err) {
3040
+ throw err;
3041
+ }
3042
+ }
3043
+
3044
+ /**
3045
+ * (Deprecated) Returns a high-level summary of the most recent deployment activity recorded for the
3046
+ * specified bundle.
853
3047
  * <p>
854
- - workspace-specific overrides can be provided via `.aidp/overrides.yaml` inside the bundle
855
- * - this file is intended for environment-specific configuration and should not be committed to Git,
856
- * allowing the bundle to remain portable and environment-agnostic
3048
+ This operation is useful after deploy or purge requests when you want the latest
3049
+ * bundle-level deployment outcome rather than raw async operation details.
857
3050
  * <p>
858
- Example overrides file:
859
- * variables:
860
- * job_compute_key: f6e7f5d8-d965-4009-95d9-02e993d9a16b
3051
+ The response can include:
3052
+ * - overall deployment status
3053
+ * - start and completion timestamps
3054
+ * - summary message
3055
+ * - resources associated with the last recorded deployment result
861
3056
  * <p>
862
- - when an override is provided, the referenced dependency (for example, compute) is not created,
863
- * and the provided value is used instead
864
- * - when no override is provided, the system falls back to the default variable value, which may
865
- * reference a dependency included in the bundle (resulting in that dependency being created)
866
- * - this mechanism enables environment-specific customization (for example, reusing existing
867
- * infrastructure in production while creating new resources in development)
868
- * - the same pattern can be used for other environment-specific parameters such as compute shape,
869
- * number of OCPUs, or other configuration values
3057
+ Typical status values include:
3058
+ * - `IN_PROGRESS`
3059
+ * - `SUCCEEDED`
3060
+ * - `FAILED`
3061
+ * - `NOT_DEPLOYED`
870
3062
  * <p>
871
- Git integration and promotion:
872
- * - bundles can only be created inside Git-backed workspace folders
873
- * - bundles are self-contained packages that include resource definitions, dependency references,
874
- * and associated code artifacts required to recreate the bundled resources
875
- * - the entire bundle folder can be committed and pushed to a Git repository
876
- * - bundles can be pulled into another workspace via Git and deployed there
877
- * - bundles can be promoted across environments (for example, dev \u2192 test \u2192 prod) using Git workflows
878
- * - because the bundle includes both resource configuration and code dependencies, it can be used
879
- * to reliably replicate assets across workspaces
3063
+ Request notes:
3064
+ * - `path` identifies the bundle root folder in the workspace volume
3065
+ *
3066
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
3067
+ * @param FetchBundleDeploymentStatusRequest
3068
+ * @return FetchBundleDeploymentStatusResponse
3069
+ * @throws OciError when an error occurs
3070
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/FetchBundleDeploymentStatus.ts.html |here} to see how to use FetchBundleDeploymentStatus API.
3071
+ */
3072
+ public async fetchBundleDeploymentStatus (fetchBundleDeploymentStatusRequest: requests.FetchBundleDeploymentStatusRequest) : Promise<responses.FetchBundleDeploymentStatusResponse> {
3073
+ if (this.logger)
3074
+ this.logger.debug("Calling operation BundleClient#fetchBundleDeploymentStatus.");
3075
+ const operationName = "fetchBundleDeploymentStatus";
3076
+ const apiReferenceLink = "";
3077
+ const pathParams = {
3078
+ "{aiDataPlatformId}": fetchBundleDeploymentStatusRequest.aiDataPlatformId,
3079
+ "{workspaceKey}": fetchBundleDeploymentStatusRequest.workspaceKey,
3080
+ };
3081
+
3082
+ const queryParams = {
3083
+ };
3084
+
3085
+ let headerParams = {
3086
+ "Content-Type": common.Constants.APPLICATION_JSON,
3087
+ 'opc-request-id': fetchBundleDeploymentStatusRequest.opcRequestId,
3088
+ };
3089
+
3090
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
3091
+ const retrier = GenericRetrier.createPreferredRetrier(
3092
+ this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
3093
+ fetchBundleDeploymentStatusRequest.retryConfiguration,
3094
+ specRetryConfiguration
3095
+ );
3096
+ if (this.logger) retrier.logger = this.logger;
3097
+ const request = await composeRequest({
3098
+ baseEndpoint: this._endpoint,
3099
+ defaultHeaders: this._defaultHeaders,
3100
+ path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/bundles/actions/getDeploymentStatus',
3101
+ method: 'POST',
3102
+ bodyContent: common.ObjectSerializer.serialize(fetchBundleDeploymentStatusRequest.fetchBundleDeploymentStatusDetails, "FetchBundleDeploymentStatusDetails"
3103
+ , model.FetchBundleDeploymentStatusDetails.getJsonObj)
3104
+ ,
3105
+ pathParams: pathParams,
3106
+ headerParams: headerParams,
3107
+ queryParams: queryParams
3108
+ });
3109
+ try {
3110
+ const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
3111
+ const sdkResponse = composeResponse({
3112
+ responseObject: <responses.FetchBundleDeploymentStatusResponse>{},
3113
+ body: await response.json(),
3114
+ bodyKey: "bundleDeploymentStatus",
3115
+ bodyModel: model.BundleDeploymentStatus,
3116
+ type: "model.BundleDeploymentStatus",
3117
+ responseHeaders: [
3118
+ {
3119
+ value: response.headers.get("opc-request-id"),
3120
+ key: "opcRequestId",
3121
+ dataType: "string"
3122
+ },
3123
+ ]
3124
+ });
3125
+
3126
+ return sdkResponse;
3127
+ }
3128
+ catch (err) {
3129
+ throw err;
3130
+ }
3131
+ }
3132
+
3133
+ /**
3134
+ * (Preview) Returns a high-level summary of the most recent deployment activity recorded for the
3135
+ * specified bundle.
880
3136
  * <p>
881
- This operation is asynchronous. The service validates the request, starts bundle
882
- * creation, and returns an async operation key in the response headers. Use the async
883
- * operation APIs to track completion.
3137
+ This operation is useful after deploy or purge requests when you want the latest
3138
+ * bundle-level deployment outcome rather than raw async operation details.
884
3139
  * <p>
885
- Typical use cases:
886
- * - capture selected workspace resources into a version-controlled bundle
887
- * - prepare a bundle for later deployment or promotion
888
- * - establish a bundle root that can later be inspected, updated, or deployed
3140
+ The response can include:
3141
+ * - overall deployment status
3142
+ * - start and completion timestamps
3143
+ * - summary message
3144
+ * - resources associated with the last recorded deployment result
3145
+ * <p>
3146
+ Typical status values include:
3147
+ * - `IN_PROGRESS`
3148
+ * - `SUCCEEDED`
3149
+ * - `FAILED`
3150
+ * - `NOT_DEPLOYED`
889
3151
  * <p>
890
3152
  Request notes:
891
- * - `path` identifies the parent folder in the workspace volume where the bundle should be created
892
- * - `name` identifies the bundle folder name
893
- * - `bundledResources` identifies which workspace resources should be included
3153
+ * - `path` identifies the bundle root folder in the workspace volume
894
3154
  *
895
3155
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
896
- * @param CreateBundleRequest
897
- * @return CreateBundleResponse
3156
+ * @param FetchBundleDeploymentStatusActionRequest
3157
+ * @return FetchBundleDeploymentStatusActionResponse
898
3158
  * @throws OciError when an error occurs
899
- * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/CreateBundle.ts.html |here} to see how to use CreateBundle API.
3159
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/FetchBundleDeploymentStatusAction.ts.html |here} to see how to use FetchBundleDeploymentStatusAction API.
900
3160
  */
901
- public async createBundle (createBundleRequest: requests.CreateBundleRequest) : Promise<responses.CreateBundleResponse> {
3161
+ public async fetchBundleDeploymentStatusAction (fetchBundleDeploymentStatusActionRequest: requests.FetchBundleDeploymentStatusActionRequest) : Promise<responses.FetchBundleDeploymentStatusActionResponse> {
902
3162
  if (this.logger)
903
- this.logger.debug("Calling operation BundleClient#createBundle.");
904
- const operationName = "createBundle";
3163
+ this.logger.debug("Calling operation BundleClient#fetchBundleDeploymentStatusAction.");
3164
+ const operationName = "fetchBundleDeploymentStatusAction";
905
3165
  const apiReferenceLink = "";
906
3166
  const pathParams = {
907
- "{aiDataPlatformId}": createBundleRequest.aiDataPlatformId,
908
- "{workspaceKey}": createBundleRequest.workspaceKey,
3167
+ "{aiDataPlatformId}": fetchBundleDeploymentStatusActionRequest.aiDataPlatformId,
3168
+ "{workspaceKey}": fetchBundleDeploymentStatusActionRequest.workspaceKey,
909
3169
  };
910
3170
 
911
3171
  const queryParams = {
@@ -913,23 +3173,23 @@ Request notes:
913
3173
 
914
3174
  let headerParams = {
915
3175
  "Content-Type": common.Constants.APPLICATION_JSON,
916
- 'opc-retry-token': createBundleRequest.opcRetryToken,'opc-request-id': createBundleRequest.opcRequestId,
3176
+ 'opc-request-id': fetchBundleDeploymentStatusActionRequest.opcRequestId,
917
3177
  };
918
3178
 
919
3179
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
920
3180
  const retrier = GenericRetrier.createPreferredRetrier(
921
3181
  this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
922
- createBundleRequest.retryConfiguration,
3182
+ fetchBundleDeploymentStatusActionRequest.retryConfiguration,
923
3183
  specRetryConfiguration
924
3184
  );
925
3185
  if (this.logger) retrier.logger = this.logger;
926
3186
  const request = await composeRequest({
927
3187
  baseEndpoint: this._endpoint,
928
3188
  defaultHeaders: this._defaultHeaders,
929
- path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/bundles',
3189
+ path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/actions/getBundleDeploymentStatus',
930
3190
  method: 'POST',
931
- bodyContent: common.ObjectSerializer.serialize(createBundleRequest.createBundleDetails, "CreateBundleDetails"
932
- , model.CreateBundleDetails.getJsonObj)
3191
+ bodyContent: common.ObjectSerializer.serialize(fetchBundleDeploymentStatusActionRequest.fetchBundleDeploymentStatusDetails, "FetchBundleDeploymentStatusDetails"
3192
+ , model.FetchBundleDeploymentStatusDetails.getJsonObj)
933
3193
  ,
934
3194
  pathParams: pathParams,
935
3195
  headerParams: headerParams,
@@ -938,18 +3198,17 @@ Request notes:
938
3198
  try {
939
3199
  const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
940
3200
  const sdkResponse = composeResponse({
941
- responseObject: <responses.CreateBundleResponse>{},
3201
+ responseObject: <responses.FetchBundleDeploymentStatusActionResponse>{},
3202
+ body: await response.json(),
3203
+ bodyKey: "bundleDeploymentStatus",
3204
+ bodyModel: model.BundleDeploymentStatus,
3205
+ type: "model.BundleDeploymentStatus",
942
3206
  responseHeaders: [
943
3207
  {
944
3208
  value: response.headers.get("opc-request-id"),
945
3209
  key: "opcRequestId",
946
3210
  dataType: "string"
947
3211
  },
948
- {
949
- value: response.headers.get("aidp-async-operation-key"),
950
- key: "aidpAsyncOperationKey",
951
- dataType: "string"
952
- },
953
3212
  ]
954
3213
  });
955
3214
 
@@ -961,38 +3220,36 @@ Request notes:
961
3220
  }
962
3221
 
963
3222
  /**
964
- * (Preview) Deploys the specified bundle, creating or updating jobs and agent flows according to the bundle manifest.
965
- * Returns an async job key for tracking deployment progress.
3223
+ * (Deprecated) Tears down all resources deployed by the specified bundle in the workspace.
966
3224
  * <p>
967
- This operation is asynchronous. The request is accepted for background execution and
968
- * returns an async operation key in the response headers.
3225
+ This operation is intended to tear down resources that were created or managed through
3226
+ * bundle deployment. It does not delete the bundle files themselves from the workspace
3227
+ * volume.
969
3228
  * <p>
970
- Deployment typically uses:
971
- * - the bundle manifest at the bundle root
972
- * - top-level resource descriptors in the bundle
973
- * - dependency descriptors referenced by those top-level resources
974
- * - default or override variable values when present
3229
+ This operation is asynchronous. The service accepts the purge request, starts the
3230
+ * background teardown workflow, and returns async operation headers.
975
3231
  * <p>
976
- Use this operation when you want to apply the bundle contents into the target
977
- * workspace state.
3232
+ Typical use cases:
3233
+ * - remove resources that were previously deployed from a bundle
3234
+ * - clean up a workspace before re-deploying or retiring a bundle
978
3235
  * <p>
979
3236
  Request notes:
980
3237
  * - `path` identifies the bundle root folder in the workspace volume
981
3238
  *
982
3239
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
983
- * @param DeployBundleRequest
984
- * @return DeployBundleResponse
3240
+ * @param PurgeBundleRequest
3241
+ * @return PurgeBundleResponse
985
3242
  * @throws OciError when an error occurs
986
- * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/DeployBundle.ts.html |here} to see how to use DeployBundle API.
3243
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/PurgeBundle.ts.html |here} to see how to use PurgeBundle API.
987
3244
  */
988
- public async deployBundle (deployBundleRequest: requests.DeployBundleRequest) : Promise<responses.DeployBundleResponse> {
3245
+ public async purgeBundle (purgeBundleRequest: requests.PurgeBundleRequest) : Promise<responses.PurgeBundleResponse> {
989
3246
  if (this.logger)
990
- this.logger.debug("Calling operation BundleClient#deployBundle.");
991
- const operationName = "deployBundle";
3247
+ this.logger.debug("Calling operation BundleClient#purgeBundle.");
3248
+ const operationName = "purgeBundle";
992
3249
  const apiReferenceLink = "";
993
3250
  const pathParams = {
994
- "{aiDataPlatformId}": deployBundleRequest.aiDataPlatformId,
995
- "{workspaceKey}": deployBundleRequest.workspaceKey,
3251
+ "{aiDataPlatformId}": purgeBundleRequest.aiDataPlatformId,
3252
+ "{workspaceKey}": purgeBundleRequest.workspaceKey,
996
3253
  };
997
3254
 
998
3255
  const queryParams = {
@@ -1000,23 +3257,23 @@ Request notes:
1000
3257
 
1001
3258
  let headerParams = {
1002
3259
  "Content-Type": common.Constants.APPLICATION_JSON,
1003
- 'opc-retry-token': deployBundleRequest.opcRetryToken,'opc-request-id': deployBundleRequest.opcRequestId,
3260
+ 'opc-retry-token': purgeBundleRequest.opcRetryToken,'opc-request-id': purgeBundleRequest.opcRequestId,
1004
3261
  };
1005
3262
 
1006
3263
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1007
3264
  const retrier = GenericRetrier.createPreferredRetrier(
1008
3265
  this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
1009
- deployBundleRequest.retryConfiguration,
3266
+ purgeBundleRequest.retryConfiguration,
1010
3267
  specRetryConfiguration
1011
3268
  );
1012
3269
  if (this.logger) retrier.logger = this.logger;
1013
3270
  const request = await composeRequest({
1014
3271
  baseEndpoint: this._endpoint,
1015
3272
  defaultHeaders: this._defaultHeaders,
1016
- path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/bundles/actions/deploy',
3273
+ path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/bundles/actions/purge',
1017
3274
  method: 'POST',
1018
- bodyContent: common.ObjectSerializer.serialize(deployBundleRequest.deployBundleDetails, "DeployBundleDetails"
1019
- , model.DeployBundleDetails.getJsonObj)
3275
+ bodyContent: common.ObjectSerializer.serialize(purgeBundleRequest.purgeBundleDetails, "PurgeBundleDetails"
3276
+ , model.PurgeBundleDetails.getJsonObj)
1020
3277
  ,
1021
3278
  pathParams: pathParams,
1022
3279
  headerParams: headerParams,
@@ -1025,7 +3282,7 @@ Request notes:
1025
3282
  try {
1026
3283
  const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1027
3284
  const sdkResponse = composeResponse({
1028
- responseObject: <responses.DeployBundleResponse>{},
3285
+ responseObject: <responses.PurgeBundleResponse>{},
1029
3286
  responseHeaders: [
1030
3287
  {
1031
3288
  value: response.headers.get("opc-request-id"),
@@ -1048,41 +3305,36 @@ Request notes:
1048
3305
  }
1049
3306
 
1050
3307
  /**
1051
- * (Preview) Returns a high-level summary of the most recent deployment activity recorded for the
1052
- * specified bundle.
3308
+ * (Preview) Tears down all resources deployed by the specified bundle in the workspace.
1053
3309
  * <p>
1054
- This operation is useful after deploy or purge requests when you want the latest
1055
- * bundle-level deployment outcome rather than raw async operation details.
3310
+ This operation is intended to tear down resources that were created or managed through
3311
+ * bundle deployment. It does not delete the bundle files themselves from the workspace
3312
+ * volume.
1056
3313
  * <p>
1057
- The response can include:
1058
- * - overall deployment status
1059
- * - start and completion timestamps
1060
- * - summary message
1061
- * - resources associated with the last recorded deployment result
3314
+ This operation is asynchronous. The service accepts the purge request, starts the
3315
+ * background teardown workflow, and returns async operation headers.
1062
3316
  * <p>
1063
- Typical status values include:
1064
- * - `IN_PROGRESS`
1065
- * - `SUCCEEDED`
1066
- * - `FAILED`
1067
- * - `NOT_DEPLOYED`
3317
+ Typical use cases:
3318
+ * - remove resources that were previously deployed from a bundle
3319
+ * - clean up a workspace before re-deploying or retiring a bundle
1068
3320
  * <p>
1069
3321
  Request notes:
1070
3322
  * - `path` identifies the bundle root folder in the workspace volume
1071
3323
  *
1072
3324
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1073
- * @param FetchBundleDeploymentStatusRequest
1074
- * @return FetchBundleDeploymentStatusResponse
3325
+ * @param PurgeBundleActionRequest
3326
+ * @return PurgeBundleActionResponse
1075
3327
  * @throws OciError when an error occurs
1076
- * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/FetchBundleDeploymentStatus.ts.html |here} to see how to use FetchBundleDeploymentStatus API.
3328
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/PurgeBundleAction.ts.html |here} to see how to use PurgeBundleAction API.
1077
3329
  */
1078
- public async fetchBundleDeploymentStatus (fetchBundleDeploymentStatusRequest: requests.FetchBundleDeploymentStatusRequest) : Promise<responses.FetchBundleDeploymentStatusResponse> {
3330
+ public async purgeBundleAction (purgeBundleActionRequest: requests.PurgeBundleActionRequest) : Promise<responses.PurgeBundleActionResponse> {
1079
3331
  if (this.logger)
1080
- this.logger.debug("Calling operation BundleClient#fetchBundleDeploymentStatus.");
1081
- const operationName = "fetchBundleDeploymentStatus";
3332
+ this.logger.debug("Calling operation BundleClient#purgeBundleAction.");
3333
+ const operationName = "purgeBundleAction";
1082
3334
  const apiReferenceLink = "";
1083
3335
  const pathParams = {
1084
- "{aiDataPlatformId}": fetchBundleDeploymentStatusRequest.aiDataPlatformId,
1085
- "{workspaceKey}": fetchBundleDeploymentStatusRequest.workspaceKey,
3336
+ "{aiDataPlatformId}": purgeBundleActionRequest.aiDataPlatformId,
3337
+ "{workspaceKey}": purgeBundleActionRequest.workspaceKey,
1086
3338
  };
1087
3339
 
1088
3340
  const queryParams = {
@@ -1090,23 +3342,23 @@ Request notes:
1090
3342
 
1091
3343
  let headerParams = {
1092
3344
  "Content-Type": common.Constants.APPLICATION_JSON,
1093
- 'opc-request-id': fetchBundleDeploymentStatusRequest.opcRequestId,
3345
+ 'opc-retry-token': purgeBundleActionRequest.opcRetryToken,'opc-request-id': purgeBundleActionRequest.opcRequestId,
1094
3346
  };
1095
3347
 
1096
3348
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1097
3349
  const retrier = GenericRetrier.createPreferredRetrier(
1098
3350
  this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
1099
- fetchBundleDeploymentStatusRequest.retryConfiguration,
3351
+ purgeBundleActionRequest.retryConfiguration,
1100
3352
  specRetryConfiguration
1101
3353
  );
1102
3354
  if (this.logger) retrier.logger = this.logger;
1103
3355
  const request = await composeRequest({
1104
3356
  baseEndpoint: this._endpoint,
1105
3357
  defaultHeaders: this._defaultHeaders,
1106
- path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/bundles/actions/getDeploymentStatus',
3358
+ path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/actions/purgeBundle',
1107
3359
  method: 'POST',
1108
- bodyContent: common.ObjectSerializer.serialize(fetchBundleDeploymentStatusRequest.fetchBundleDeploymentStatusDetails, "FetchBundleDeploymentStatusDetails"
1109
- , model.FetchBundleDeploymentStatusDetails.getJsonObj)
3360
+ bodyContent: common.ObjectSerializer.serialize(purgeBundleActionRequest.purgeBundleDetails, "PurgeBundleDetails"
3361
+ , model.PurgeBundleDetails.getJsonObj)
1110
3362
  ,
1111
3363
  pathParams: pathParams,
1112
3364
  headerParams: headerParams,
@@ -1115,17 +3367,18 @@ Request notes:
1115
3367
  try {
1116
3368
  const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1117
3369
  const sdkResponse = composeResponse({
1118
- responseObject: <responses.FetchBundleDeploymentStatusResponse>{},
1119
- body: await response.json(),
1120
- bodyKey: "bundleDeploymentStatus",
1121
- bodyModel: model.BundleDeploymentStatus,
1122
- type: "model.BundleDeploymentStatus",
3370
+ responseObject: <responses.PurgeBundleActionResponse>{},
1123
3371
  responseHeaders: [
1124
3372
  {
1125
3373
  value: response.headers.get("opc-request-id"),
1126
3374
  key: "opcRequestId",
1127
3375
  dataType: "string"
1128
3376
  },
3377
+ {
3378
+ value: response.headers.get("aidp-async-operation-key"),
3379
+ key: "aidpAsyncOperationKey",
3380
+ dataType: "string"
3381
+ },
1129
3382
  ]
1130
3383
  });
1131
3384
 
@@ -1137,36 +3390,55 @@ Request notes:
1137
3390
  }
1138
3391
 
1139
3392
  /**
1140
- * (Preview) Tears down all resources deployed by the specified bundle in the workspace.
3393
+ * (Deprecated) Synchronizes the code, descriptors, and mapping in the bundle by reconciling the contents with the resource origins.
3394
+ * Returns an async job key for tracking sync progress.
1141
3395
  * <p>
1142
- This operation is intended to tear down resources that were created or managed through
1143
- * bundle deployment. It does not delete the bundle files themselves from the workspace
1144
- * volume.
3396
+ This operation is intended for cases where the bundle should be refreshed to reflect
3397
+ * newer source changes while preserving the bundle structure and identity.
1145
3398
  * <p>
1146
- This operation is asynchronous. The service accepts the purge request, starts the
1147
- * background teardown workflow, and returns async operation headers.
3399
+ Sync uses the bundle's recorded origin metadata to rebuild the bundle from the source
3400
+ * jobs and agent flows that were captured when the bundle was created. The source metadata
3401
+ * is stored in `.aidp/resource_origins.yaml` and must match the requested AIDP/Data Lake and
3402
+ * workspace. The operation refreshes source-controlled bundle content while preserving the
3403
+ * bundle identity and runtime metadata.
3404
+ * <p>
3405
+ During sync, the service stages a refreshed bundle snapshot under the bundle `.aidp`
3406
+ * directory, compares existing and staged descriptors, preserves existing variable aliases
3407
+ * and override references where possible, merges existing manifest default variables, and
3408
+ * then promotes the refreshed source-controlled files back into the bundle root.
3409
+ * <p>
3410
+ Sync preserves environment-specific and deployment runtime files such as
3411
+ * `.aidp/overrides.yaml` and `.aidp/aidp.state.json`. These files are not replaced by the
3412
+ * refreshed source snapshot.
3413
+ * <p>
3414
+ This operation is asynchronous and returns async operation headers when accepted.
1148
3415
  * <p>
1149
3416
  Typical use cases:
1150
- * - remove resources that were previously deployed from a bundle
1151
- * - clean up a workspace before re-deploying or retiring a bundle
3417
+ * - refresh bundle contents after upstream workspace resources have changed
3418
+ * - reconcile descriptor or artifact content with current resource origins
3419
+ * - preserve local bundle overrides while pulling in source resource updates
3420
+ * - keep a Git-backed bundle current before committing or promoting it
1152
3421
  * <p>
1153
3422
  Request notes:
1154
3423
  * - `path` identifies the bundle root folder in the workspace volume
3424
+ * - the bundle must contain a valid `aidp_workbench.yaml`
3425
+ * - the bundle must contain `.aidp/resource_origins.yaml`
3426
+ * - origin metadata must refer to the same AIDP/Data Lake and workspace as the request
1155
3427
  *
1156
3428
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1157
- * @param PurgeBundleRequest
1158
- * @return PurgeBundleResponse
3429
+ * @param SyncBundleRequest
3430
+ * @return SyncBundleResponse
1159
3431
  * @throws OciError when an error occurs
1160
- * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/PurgeBundle.ts.html |here} to see how to use PurgeBundle API.
3432
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/SyncBundle.ts.html |here} to see how to use SyncBundle API.
1161
3433
  */
1162
- public async purgeBundle (purgeBundleRequest: requests.PurgeBundleRequest) : Promise<responses.PurgeBundleResponse> {
3434
+ public async syncBundle (syncBundleRequest: requests.SyncBundleRequest) : Promise<responses.SyncBundleResponse> {
1163
3435
  if (this.logger)
1164
- this.logger.debug("Calling operation BundleClient#purgeBundle.");
1165
- const operationName = "purgeBundle";
3436
+ this.logger.debug("Calling operation BundleClient#syncBundle.");
3437
+ const operationName = "syncBundle";
1166
3438
  const apiReferenceLink = "";
1167
3439
  const pathParams = {
1168
- "{aiDataPlatformId}": purgeBundleRequest.aiDataPlatformId,
1169
- "{workspaceKey}": purgeBundleRequest.workspaceKey,
3440
+ "{aiDataPlatformId}": syncBundleRequest.aiDataPlatformId,
3441
+ "{workspaceKey}": syncBundleRequest.workspaceKey,
1170
3442
  };
1171
3443
 
1172
3444
  const queryParams = {
@@ -1174,23 +3446,23 @@ Request notes:
1174
3446
 
1175
3447
  let headerParams = {
1176
3448
  "Content-Type": common.Constants.APPLICATION_JSON,
1177
- 'opc-retry-token': purgeBundleRequest.opcRetryToken,'opc-request-id': purgeBundleRequest.opcRequestId,
3449
+ 'opc-retry-token': syncBundleRequest.opcRetryToken,'opc-request-id': syncBundleRequest.opcRequestId,
1178
3450
  };
1179
3451
 
1180
3452
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1181
3453
  const retrier = GenericRetrier.createPreferredRetrier(
1182
3454
  this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
1183
- purgeBundleRequest.retryConfiguration,
3455
+ syncBundleRequest.retryConfiguration,
1184
3456
  specRetryConfiguration
1185
3457
  );
1186
3458
  if (this.logger) retrier.logger = this.logger;
1187
3459
  const request = await composeRequest({
1188
3460
  baseEndpoint: this._endpoint,
1189
3461
  defaultHeaders: this._defaultHeaders,
1190
- path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/bundles/actions/purge',
3462
+ path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/bundles/actions/sync',
1191
3463
  method: 'POST',
1192
- bodyContent: common.ObjectSerializer.serialize(purgeBundleRequest.purgeBundleDetails, "PurgeBundleDetails"
1193
- , model.PurgeBundleDetails.getJsonObj)
3464
+ bodyContent: common.ObjectSerializer.serialize(syncBundleRequest.syncBundleDetails, "SyncBundleDetails"
3465
+ , model.SyncBundleDetails.getJsonObj)
1194
3466
  ,
1195
3467
  pathParams: pathParams,
1196
3468
  headerParams: headerParams,
@@ -1199,7 +3471,7 @@ Request notes:
1199
3471
  try {
1200
3472
  const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1201
3473
  const sdkResponse = composeResponse({
1202
- responseObject: <responses.PurgeBundleResponse>{},
3474
+ responseObject: <responses.SyncBundleResponse>{},
1203
3475
  responseHeaders: [
1204
3476
  {
1205
3477
  value: response.headers.get("opc-request-id"),
@@ -1258,19 +3530,19 @@ Request notes:
1258
3530
  * - origin metadata must refer to the same AIDP/Data Lake and workspace as the request
1259
3531
  *
1260
3532
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1261
- * @param SyncBundleRequest
1262
- * @return SyncBundleResponse
3533
+ * @param SyncBundleActionRequest
3534
+ * @return SyncBundleActionResponse
1263
3535
  * @throws OciError when an error occurs
1264
- * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/SyncBundle.ts.html |here} to see how to use SyncBundle API.
3536
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/SyncBundleAction.ts.html |here} to see how to use SyncBundleAction API.
1265
3537
  */
1266
- public async syncBundle (syncBundleRequest: requests.SyncBundleRequest) : Promise<responses.SyncBundleResponse> {
3538
+ public async syncBundleAction (syncBundleActionRequest: requests.SyncBundleActionRequest) : Promise<responses.SyncBundleActionResponse> {
1267
3539
  if (this.logger)
1268
- this.logger.debug("Calling operation BundleClient#syncBundle.");
1269
- const operationName = "syncBundle";
3540
+ this.logger.debug("Calling operation BundleClient#syncBundleAction.");
3541
+ const operationName = "syncBundleAction";
1270
3542
  const apiReferenceLink = "";
1271
3543
  const pathParams = {
1272
- "{aiDataPlatformId}": syncBundleRequest.aiDataPlatformId,
1273
- "{workspaceKey}": syncBundleRequest.workspaceKey,
3544
+ "{aiDataPlatformId}": syncBundleActionRequest.aiDataPlatformId,
3545
+ "{workspaceKey}": syncBundleActionRequest.workspaceKey,
1274
3546
  };
1275
3547
 
1276
3548
  const queryParams = {
@@ -1278,22 +3550,22 @@ Request notes:
1278
3550
 
1279
3551
  let headerParams = {
1280
3552
  "Content-Type": common.Constants.APPLICATION_JSON,
1281
- 'opc-retry-token': syncBundleRequest.opcRetryToken,'opc-request-id': syncBundleRequest.opcRequestId,
3553
+ 'opc-retry-token': syncBundleActionRequest.opcRetryToken,'opc-request-id': syncBundleActionRequest.opcRequestId,
1282
3554
  };
1283
3555
 
1284
3556
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1285
3557
  const retrier = GenericRetrier.createPreferredRetrier(
1286
3558
  this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
1287
- syncBundleRequest.retryConfiguration,
3559
+ syncBundleActionRequest.retryConfiguration,
1288
3560
  specRetryConfiguration
1289
3561
  );
1290
3562
  if (this.logger) retrier.logger = this.logger;
1291
3563
  const request = await composeRequest({
1292
3564
  baseEndpoint: this._endpoint,
1293
3565
  defaultHeaders: this._defaultHeaders,
1294
- path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/bundles/actions/sync',
3566
+ path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/actions/syncBundle',
1295
3567
  method: 'POST',
1296
- bodyContent: common.ObjectSerializer.serialize(syncBundleRequest.syncBundleDetails, "SyncBundleDetails"
3568
+ bodyContent: common.ObjectSerializer.serialize(syncBundleActionRequest.syncBundleDetails, "SyncBundleDetails"
1297
3569
  , model.SyncBundleDetails.getJsonObj)
1298
3570
  ,
1299
3571
  pathParams: pathParams,
@@ -1303,7 +3575,7 @@ Request notes:
1303
3575
  try {
1304
3576
  const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1305
3577
  const sdkResponse = composeResponse({
1306
- responseObject: <responses.SyncBundleResponse>{},
3578
+ responseObject: <responses.SyncBundleActionResponse>{},
1307
3579
  responseHeaders: [
1308
3580
  {
1309
3581
  value: response.headers.get("opc-request-id"),
@@ -1496,7 +3768,7 @@ export class CatalogClient {
1496
3768
  }
1497
3769
 
1498
3770
  /**
1499
- * Test the connection of an AI Data Platform Workbench to an external catalog.
3771
+ * Tests the connection to an external catalog.
1500
3772
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1501
3773
  * @param CatalogTestConnectionRequest
1502
3774
  * @return CatalogTestConnectionResponse
@@ -1565,7 +3837,7 @@ export class CatalogClient {
1565
3837
  }
1566
3838
 
1567
3839
  /**
1568
- * Create a catalog in the AI Data Platform Workbench with the given ID.
3840
+ * Creates a catalog with the given ID.
1569
3841
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1570
3842
  * @param CreateCatalogRequest
1571
3843
  * @return CreateCatalogResponse
@@ -1644,7 +3916,7 @@ export class CatalogClient {
1644
3916
  }
1645
3917
 
1646
3918
  /**
1647
- * Deletes the specified catalog from an AI Data Platform Workbench.
3919
+ * Deletes the specified catalog.
1648
3920
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1649
3921
  * @param DeleteCatalogRequest
1650
3922
  * @return DeleteCatalogResponse
@@ -1711,7 +3983,7 @@ export class CatalogClient {
1711
3983
  }
1712
3984
 
1713
3985
  /**
1714
- * Gets detailed information about an AI Data Platform Workbench catalog with a given catalog key.
3986
+ * Gets detailed information about a catalog with a given catalog key.
1715
3987
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1716
3988
  * @param GetCatalogRequest
1717
3989
  * @return GetCatalogResponse
@@ -1783,7 +4055,7 @@ export class CatalogClient {
1783
4055
  }
1784
4056
 
1785
4057
  /**
1786
- * Gets a list of all permissions in the specified catalog of an AI Data Platform Workbench.
4058
+ * Gets a list of all permissions in the specified catalog.
1787
4059
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1788
4060
  * @param ListCatalogPermissionsRequest
1789
4061
  * @return ListCatalogPermissionsResponse
@@ -1858,7 +4130,7 @@ export class CatalogClient {
1858
4130
  }
1859
4131
 
1860
4132
  /**
1861
- * Get a list of catalogs in an AI Data Platform Workbench with a given ID.
4133
+ * Gets a list of catalogs with a given ID.
1862
4134
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1863
4135
  * @param ListCatalogsRequest
1864
4136
  * @return ListCatalogsResponse
@@ -1935,7 +4207,7 @@ export class CatalogClient {
1935
4207
  }
1936
4208
 
1937
4209
  /**
1938
- * Update permission details for a catalog in an AI Data Platform Workbench.
4210
+ * Updates permission details for a catalog.
1939
4211
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1940
4212
  * @param ManageCatalogPermissionRequest
1941
4213
  * @return ManageCatalogPermissionResponse
@@ -2000,7 +4272,7 @@ export class CatalogClient {
2000
4272
  }
2001
4273
 
2002
4274
  /**
2003
- * Refresh a catalog in an AI Data Platform Workbench through a crawler.
4275
+ * Refreshes a catalog through a crawler.
2004
4276
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
2005
4277
  * @param RefreshCatalogRequest
2006
4278
  * @return RefreshCatalogResponse
@@ -2067,7 +4339,7 @@ export class CatalogClient {
2067
4339
  }
2068
4340
 
2069
4341
  /**
2070
- * Update the details of an AI Data Platform Workbench catalog with the given information.
4342
+ * Updates the details of a catalog with the given information.
2071
4343
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
2072
4344
  * @param UpdateCatalogRequest
2073
4345
  * @return UpdateCatalogResponse
@@ -3063,6 +5335,78 @@ export class ClusterClient {
3063
5335
  }
3064
5336
  }
3065
5337
 
5338
+ /**
5339
+ * Queries compute replica identifiers for a compute cluster in the given workspace.
5340
+ * The response contains distinct replica identifiers derived from the Monitoring `agentNode` metric dimension.
5341
+ *
5342
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
5343
+ * @param QueryReplicaIdsRequest
5344
+ * @return QueryReplicaIdsResponse
5345
+ * @throws OciError when an error occurs
5346
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aidp/QueryReplicaIds.ts.html |here} to see how to use QueryReplicaIds API.
5347
+ */
5348
+ public async queryReplicaIds (queryReplicaIdsRequest: requests.QueryReplicaIdsRequest) : Promise<responses.QueryReplicaIdsResponse> {
5349
+ if (this.logger)
5350
+ this.logger.debug("Calling operation ClusterClient#queryReplicaIds.");
5351
+ const operationName = "queryReplicaIds";
5352
+ const apiReferenceLink = "";
5353
+ const pathParams = {
5354
+ "{aiDataPlatformId}": queryReplicaIdsRequest.aiDataPlatformId,
5355
+ "{workspaceKey}": queryReplicaIdsRequest.workspaceKey,
5356
+ "{clusterKey}": queryReplicaIdsRequest.clusterKey,
5357
+ };
5358
+
5359
+ const queryParams = {
5360
+ };
5361
+
5362
+ let headerParams = {
5363
+ "Content-Type": common.Constants.APPLICATION_JSON,
5364
+ 'opc-request-id': queryReplicaIdsRequest.opcRequestId,
5365
+ };
5366
+
5367
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
5368
+ const retrier = GenericRetrier.createPreferredRetrier(
5369
+ this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
5370
+ queryReplicaIdsRequest.retryConfiguration,
5371
+ specRetryConfiguration
5372
+ );
5373
+ if (this.logger) retrier.logger = this.logger;
5374
+ const request = await composeRequest({
5375
+ baseEndpoint: this._endpoint,
5376
+ defaultHeaders: this._defaultHeaders,
5377
+ path: '/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/clusters/{clusterKey}/actions/queryReplicaIds',
5378
+ method: 'POST',
5379
+ bodyContent: common.ObjectSerializer.serialize(queryReplicaIdsRequest.queryReplicaIdsDetails, "QueryReplicaIdsDetails"
5380
+ , model.QueryReplicaIdsDetails.getJsonObj)
5381
+ ,
5382
+ pathParams: pathParams,
5383
+ headerParams: headerParams,
5384
+ queryParams: queryParams
5385
+ });
5386
+ try {
5387
+ const response = await retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
5388
+ const sdkResponse = composeResponse({
5389
+ responseObject: <responses.QueryReplicaIdsResponse>{},
5390
+ body: await response.json(),
5391
+ bodyKey: "queryReplicaIdsResult",
5392
+ bodyModel: model.QueryReplicaIdsResult,
5393
+ type: "model.QueryReplicaIdsResult",
5394
+ responseHeaders: [
5395
+ {
5396
+ value: response.headers.get("opc-request-id"),
5397
+ key: "opcRequestId",
5398
+ dataType: "string"
5399
+ },
5400
+ ]
5401
+ });
5402
+
5403
+ return sdkResponse;
5404
+ }
5405
+ catch (err) {
5406
+ throw err;
5407
+ }
5408
+ }
5409
+
3066
5410
  /**
3067
5411
  * Restarts a running cluster.
3068
5412
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
@@ -3383,7 +5727,7 @@ export class ClusterClient {
3383
5727
 
3384
5728
  /**
3385
5729
  * Provides summarized compute metrics for a compute cluster in the given workspace.
3386
- * This API aggregates metric data points based on a specified namespace, metric name,
5730
+ * This API aggregates metric data points based on a specified namespace, metric name,
3387
5731
  * and aggregation type. The response contains computed metric summaries.
3388
5732
  *
3389
5733
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
@@ -4220,7 +6564,7 @@ export class DeltaShareClient {
4220
6564
  }
4221
6565
 
4222
6566
  /**
4223
- * Creates a recipient for a Delta Share protocol in AI Data Platform Workbench.
6567
+ * Creates a recipient for a Delta Share protocol.
4224
6568
  *
4225
6569
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
4226
6570
  * @param CreateRecipientRequest
@@ -4294,7 +6638,7 @@ export class DeltaShareClient {
4294
6638
  }
4295
6639
 
4296
6640
  /**
4297
- * Create a Delta Share protocol in AI Data Platform Workbench.
6641
+ * Creates a Delta Share protocol.
4298
6642
  *
4299
6643
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
4300
6644
  * @param CreateShareRequest
@@ -4368,7 +6712,7 @@ export class DeltaShareClient {
4368
6712
  }
4369
6713
 
4370
6714
  /**
4371
- * Deletes a Delta Share recipient from an AI Data Platform Workbench.
6715
+ * Deletes a Delta Share recipient.
4372
6716
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
4373
6717
  * @param DeleteRecipientRequest
4374
6718
  * @return DeleteRecipientResponse
@@ -4430,7 +6774,7 @@ export class DeltaShareClient {
4430
6774
  }
4431
6775
 
4432
6776
  /**
4433
- * Deletes a Delta Share from an AI Data Platform Workbench.
6777
+ * Deletes a Delta Share.
4434
6778
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
4435
6779
  * @param DeleteShareRequest
4436
6780
  * @return DeleteShareResponse
@@ -4492,7 +6836,7 @@ export class DeltaShareClient {
4492
6836
  }
4493
6837
 
4494
6838
  /**
4495
- * Gets detailed information about a Delta Share recipient in an AI Data Platform Workbench instance.
6839
+ * Gets detailed information about a Delta Share recipient.
4496
6840
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
4497
6841
  * @param GetRecipientRequest
4498
6842
  * @return GetRecipientResponse
@@ -4787,7 +7131,7 @@ export class DeltaShareClient {
4787
7131
  }
4788
7132
 
4789
7133
  /**
4790
- * Gets a list of Delta Share recipients in a AI Data Platform Workbench instance.
7134
+ * Gets a list of Delta Share recipients.
4791
7135
  *
4792
7136
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
4793
7137
  * @param ListRecipientsRequest
@@ -4863,7 +7207,7 @@ export class DeltaShareClient {
4863
7207
  }
4864
7208
 
4865
7209
  /**
4866
- * Gets a list of Delta Shares assets in an AI Data Platform Workbench instance.
7210
+ * Gets a list of Delta Share assets.
4867
7211
  *
4868
7212
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
4869
7213
  * @param ListShareDataAssetsRequest
@@ -5093,7 +7437,7 @@ export class DeltaShareClient {
5093
7437
  }
5094
7438
 
5095
7439
  /**
5096
- * Gets a list of Delta Shares in an AI Data Platform Workbench instance.
7440
+ * Gets a list of Delta Shares.
5097
7441
  *
5098
7442
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
5099
7443
  * @param ListSharesRequest
@@ -5169,7 +7513,7 @@ export class DeltaShareClient {
5169
7513
  }
5170
7514
 
5171
7515
  /**
5172
- * Updates the permissions of a Delta Share recipient in AI Data Platform Workbench.
7516
+ * Updates the permissions of a Delta Share recipient.
5173
7517
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
5174
7518
  * @param ManageRecipientPermissionRequest
5175
7519
  * @return ManageRecipientPermissionResponse
@@ -5429,7 +7773,7 @@ export class DeltaShareClient {
5429
7773
  }
5430
7774
 
5431
7775
  /**
5432
- * Updates the metadata of a Delta Share recipient in a AI Data Platform Workbench instance.
7776
+ * Updates the metadata of a Delta Share recipient.
5433
7777
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
5434
7778
  * @param UpdateRecipientRequest
5435
7779
  * @return UpdateRecipientResponse
@@ -5753,7 +8097,7 @@ export class GitClient {
5753
8097
 
5754
8098
  let headerParams = {
5755
8099
  "Content-Type": common.Constants.APPLICATION_JSON,
5756
- 'opc-retry-token': checkoutBranchRequest.opcRetryToken,'opc-request-id': checkoutBranchRequest.opcRequestId,'should-update-recent': checkoutBranchRequest.shouldUpdateRecent,'if-match': checkoutBranchRequest.ifMatch,'dh-user-principal': checkoutBranchRequest.dhUserPrincipal,
8100
+ 'opc-retry-token': checkoutBranchRequest.opcRetryToken,'opc-request-id': checkoutBranchRequest.opcRequestId,'should-update-recent': checkoutBranchRequest.shouldUpdateRecent,'if-match': checkoutBranchRequest.ifMatch,
5757
8101
  };
5758
8102
 
5759
8103
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
@@ -7051,7 +9395,7 @@ export class MLOpsClient {
7051
9395
 
7052
9396
  let headerParams = {
7053
9397
  "Content-Type": common.Constants.APPLICATION_JSON,
7054
- 'opc-retry-token': createExperimentRequest.opcRetryToken,'opc-request-id': createExperimentRequest.opcRequestId,'dh-user-principal': createExperimentRequest.dhUserPrincipal,
9398
+ 'opc-retry-token': createExperimentRequest.opcRetryToken,'opc-request-id': createExperimentRequest.opcRequestId,
7055
9399
  };
7056
9400
 
7057
9401
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
@@ -7125,7 +9469,7 @@ export class MLOpsClient {
7125
9469
 
7126
9470
  let headerParams = {
7127
9471
  "Content-Type": common.Constants.APPLICATION_JSON,
7128
- 'opc-retry-token': createExperimentRunRequest.opcRetryToken,'opc-request-id': createExperimentRunRequest.opcRequestId,'dh-user-principal': createExperimentRunRequest.dhUserPrincipal,
9472
+ 'opc-retry-token': createExperimentRunRequest.opcRetryToken,'opc-request-id': createExperimentRunRequest.opcRequestId,
7129
9473
  };
7130
9474
 
7131
9475
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
@@ -7198,7 +9542,7 @@ export class MLOpsClient {
7198
9542
 
7199
9543
  let headerParams = {
7200
9544
  "Content-Type": common.Constants.APPLICATION_JSON,
7201
- 'opc-retry-token': createModelVersionRequest.opcRetryToken,'opc-request-id': createModelVersionRequest.opcRequestId,'dh-user-principal': createModelVersionRequest.dhUserPrincipal,
9545
+ 'opc-retry-token': createModelVersionRequest.opcRetryToken,'opc-request-id': createModelVersionRequest.opcRequestId,
7202
9546
  };
7203
9547
 
7204
9548
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
@@ -7271,7 +9615,7 @@ export class MLOpsClient {
7271
9615
 
7272
9616
  let headerParams = {
7273
9617
  "Content-Type": common.Constants.APPLICATION_JSON,
7274
- 'opc-retry-token': createRegisteredModelRequest.opcRetryToken,'opc-request-id': createRegisteredModelRequest.opcRequestId,'dh-user-principal': createRegisteredModelRequest.dhUserPrincipal,
9618
+ 'opc-retry-token': createRegisteredModelRequest.opcRetryToken,'opc-request-id': createRegisteredModelRequest.opcRequestId,
7275
9619
  };
7276
9620
 
7277
9621
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
@@ -7345,7 +9689,7 @@ export class MLOpsClient {
7345
9689
 
7346
9690
  let headerParams = {
7347
9691
  "Content-Type": common.Constants.APPLICATION_JSON,
7348
- 'opc-retry-token': createWorkspaceModelVersionRequest.opcRetryToken,'opc-request-id': createWorkspaceModelVersionRequest.opcRequestId,'dh-user-principal': createWorkspaceModelVersionRequest.dhUserPrincipal,
9692
+ 'opc-retry-token': createWorkspaceModelVersionRequest.opcRetryToken,'opc-request-id': createWorkspaceModelVersionRequest.opcRequestId,
7349
9693
  };
7350
9694
 
7351
9695
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
@@ -7419,7 +9763,7 @@ export class MLOpsClient {
7419
9763
 
7420
9764
  let headerParams = {
7421
9765
  "Content-Type": common.Constants.APPLICATION_JSON,
7422
- 'opc-retry-token': deleteExperimentRequest.opcRetryToken,'opc-request-id': deleteExperimentRequest.opcRequestId,'dh-user-principal': deleteExperimentRequest.dhUserPrincipal,
9766
+ 'opc-retry-token': deleteExperimentRequest.opcRetryToken,'opc-request-id': deleteExperimentRequest.opcRequestId,
7423
9767
  };
7424
9768
 
7425
9769
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
@@ -7493,7 +9837,7 @@ export class MLOpsClient {
7493
9837
 
7494
9838
  let headerParams = {
7495
9839
  "Content-Type": common.Constants.APPLICATION_JSON,
7496
- 'opc-retry-token': deleteExperimentRunRequest.opcRetryToken,'opc-request-id': deleteExperimentRunRequest.opcRequestId,'dh-user-principal': deleteExperimentRunRequest.dhUserPrincipal,
9840
+ 'opc-retry-token': deleteExperimentRunRequest.opcRetryToken,'opc-request-id': deleteExperimentRunRequest.opcRequestId,
7497
9841
  };
7498
9842
 
7499
9843
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
@@ -7567,7 +9911,7 @@ export class MLOpsClient {
7567
9911
 
7568
9912
  let headerParams = {
7569
9913
  "Content-Type": common.Constants.APPLICATION_JSON,
7570
- 'opc-retry-token': deleteExperimentRunTagRequest.opcRetryToken,'opc-request-id': deleteExperimentRunTagRequest.opcRequestId,'dh-user-principal': deleteExperimentRunTagRequest.dhUserPrincipal,
9914
+ 'opc-retry-token': deleteExperimentRunTagRequest.opcRetryToken,'opc-request-id': deleteExperimentRunTagRequest.opcRequestId,
7571
9915
  };
7572
9916
 
7573
9917
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
@@ -7641,7 +9985,7 @@ export class MLOpsClient {
7641
9985
 
7642
9986
  let headerParams = {
7643
9987
  "Content-Type": common.Constants.APPLICATION_JSON,
7644
- 'opc-retry-token': deleteExperimentTagRequest.opcRetryToken,'opc-request-id': deleteExperimentTagRequest.opcRequestId,'dh-user-principal': deleteExperimentTagRequest.dhUserPrincipal,
9988
+ 'opc-retry-token': deleteExperimentTagRequest.opcRetryToken,'opc-request-id': deleteExperimentTagRequest.opcRequestId,
7645
9989
  };
7646
9990
 
7647
9991
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
@@ -7714,7 +10058,7 @@ export class MLOpsClient {
7714
10058
 
7715
10059
  let headerParams = {
7716
10060
  "Content-Type": common.Constants.APPLICATION_JSON,
7717
- 'opc-retry-token': deleteModelVersionRequest.opcRetryToken,'opc-request-id': deleteModelVersionRequest.opcRequestId,'dh-user-principal': deleteModelVersionRequest.dhUserPrincipal,
10061
+ 'opc-retry-token': deleteModelVersionRequest.opcRetryToken,'opc-request-id': deleteModelVersionRequest.opcRequestId,
7718
10062
  };
7719
10063
 
7720
10064
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
@@ -7787,7 +10131,7 @@ export class MLOpsClient {
7787
10131
 
7788
10132
  let headerParams = {
7789
10133
  "Content-Type": common.Constants.APPLICATION_JSON,
7790
- 'opc-retry-token': deleteModelVersionTagRequest.opcRetryToken,'opc-request-id': deleteModelVersionTagRequest.opcRequestId,'dh-user-principal': deleteModelVersionTagRequest.dhUserPrincipal,
10134
+ 'opc-retry-token': deleteModelVersionTagRequest.opcRetryToken,'opc-request-id': deleteModelVersionTagRequest.opcRequestId,
7791
10135
  };
7792
10136
 
7793
10137
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
@@ -7860,7 +10204,7 @@ export class MLOpsClient {
7860
10204
 
7861
10205
  let headerParams = {
7862
10206
  "Content-Type": common.Constants.APPLICATION_JSON,
7863
- 'opc-retry-token': deleteRegisteredModelRequest.opcRetryToken,'opc-request-id': deleteRegisteredModelRequest.opcRequestId,'dh-user-principal': deleteRegisteredModelRequest.dhUserPrincipal,
10207
+ 'opc-retry-token': deleteRegisteredModelRequest.opcRetryToken,'opc-request-id': deleteRegisteredModelRequest.opcRequestId,
7864
10208
  };
7865
10209
 
7866
10210
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
@@ -7933,7 +10277,7 @@ export class MLOpsClient {
7933
10277
 
7934
10278
  let headerParams = {
7935
10279
  "Content-Type": common.Constants.APPLICATION_JSON,
7936
- 'opc-retry-token': deleteRegisteredModelTagRequest.opcRetryToken,'opc-request-id': deleteRegisteredModelTagRequest.opcRequestId,'dh-user-principal': deleteRegisteredModelTagRequest.dhUserPrincipal,
10280
+ 'opc-retry-token': deleteRegisteredModelTagRequest.opcRetryToken,'opc-request-id': deleteRegisteredModelTagRequest.opcRequestId,
7937
10281
  };
7938
10282
 
7939
10283
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
@@ -8008,7 +10352,7 @@ export class MLOpsClient {
8008
10352
 
8009
10353
  let headerParams = {
8010
10354
  "Content-Type": common.Constants.APPLICATION_JSON,
8011
- 'opc-request-id': getExperimentByIdRequest.opcRequestId,'dh-user-principal': getExperimentByIdRequest.dhUserPrincipal,
10355
+ 'opc-request-id': getExperimentByIdRequest.opcRequestId,
8012
10356
  };
8013
10357
 
8014
10358
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
@@ -8080,7 +10424,7 @@ export class MLOpsClient {
8080
10424
 
8081
10425
  let headerParams = {
8082
10426
  "Content-Type": common.Constants.APPLICATION_JSON,
8083
- 'opc-request-id': getExperimentByNameRequest.opcRequestId,'dh-user-principal': getExperimentByNameRequest.dhUserPrincipal,
10427
+ 'opc-request-id': getExperimentByNameRequest.opcRequestId,
8084
10428
  };
8085
10429
 
8086
10430
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
@@ -8152,7 +10496,7 @@ export class MLOpsClient {
8152
10496
 
8153
10497
  let headerParams = {
8154
10498
  "Content-Type": common.Constants.APPLICATION_JSON,
8155
- 'opc-request-id': getExperimentRunByIdRequest.opcRequestId,'dh-user-principal': getExperimentRunByIdRequest.dhUserPrincipal,
10499
+ 'opc-request-id': getExperimentRunByIdRequest.opcRequestId,
8156
10500
  };
8157
10501
 
8158
10502
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
@@ -8227,7 +10571,7 @@ export class MLOpsClient {
8227
10571
 
8228
10572
  let headerParams = {
8229
10573
  "Content-Type": common.Constants.APPLICATION_JSON,
8230
- 'opc-request-id': getExperimentRunMetricHistoryRequest.opcRequestId,'dh-user-principal': getExperimentRunMetricHistoryRequest.dhUserPrincipal,
10574
+ 'opc-request-id': getExperimentRunMetricHistoryRequest.opcRequestId,
8231
10575
  };
8232
10576
 
8233
10577
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
@@ -8299,7 +10643,7 @@ export class MLOpsClient {
8299
10643
 
8300
10644
  let headerParams = {
8301
10645
  "Content-Type": common.Constants.APPLICATION_JSON,
8302
- 'opc-request-id': getModelVersionRequest.opcRequestId,'dh-user-principal': getModelVersionRequest.dhUserPrincipal,
10646
+ 'opc-request-id': getModelVersionRequest.opcRequestId,
8303
10647
  };
8304
10648
 
8305
10649
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
@@ -8370,7 +10714,7 @@ export class MLOpsClient {
8370
10714
 
8371
10715
  let headerParams = {
8372
10716
  "Content-Type": common.Constants.APPLICATION_JSON,
8373
- 'opc-request-id': getRegisteredModelRequest.opcRequestId,'dh-user-principal': getRegisteredModelRequest.dhUserPrincipal,
10717
+ 'opc-request-id': getRegisteredModelRequest.opcRequestId,
8374
10718
  };
8375
10719
 
8376
10720
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
@@ -8444,7 +10788,7 @@ export class MLOpsClient {
8444
10788
 
8445
10789
  let headerParams = {
8446
10790
  "Content-Type": common.Constants.APPLICATION_JSON,
8447
- 'opc-request-id': listArtifactsRequest.opcRequestId,'dh-user-principal': listArtifactsRequest.dhUserPrincipal,
10791
+ 'opc-request-id': listArtifactsRequest.opcRequestId,
8448
10792
  };
8449
10793
 
8450
10794
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
@@ -8515,7 +10859,7 @@ export class MLOpsClient {
8515
10859
 
8516
10860
  let headerParams = {
8517
10861
  "Content-Type": common.Constants.APPLICATION_JSON,
8518
- 'opc-request-id': listExperimentRunsRequest.opcRequestId,'dh-user-principal': listExperimentRunsRequest.dhUserPrincipal,
10862
+ 'opc-request-id': listExperimentRunsRequest.opcRequestId,
8519
10863
  };
8520
10864
 
8521
10865
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
@@ -8589,7 +10933,7 @@ export class MLOpsClient {
8589
10933
 
8590
10934
  let headerParams = {
8591
10935
  "Content-Type": common.Constants.APPLICATION_JSON,
8592
- 'opc-request-id': listExperimentsRequest.opcRequestId,'dh-user-principal': listExperimentsRequest.dhUserPrincipal,
10936
+ 'opc-request-id': listExperimentsRequest.opcRequestId,
8593
10937
  };
8594
10938
 
8595
10939
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
@@ -8663,7 +11007,7 @@ export class MLOpsClient {
8663
11007
 
8664
11008
  let headerParams = {
8665
11009
  "Content-Type": common.Constants.APPLICATION_JSON,
8666
- 'opc-request-id': listLoggedModelsRequest.opcRequestId,'dh-user-principal': listLoggedModelsRequest.dhUserPrincipal,
11010
+ 'opc-request-id': listLoggedModelsRequest.opcRequestId,
8667
11011
  };
8668
11012
 
8669
11013
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
@@ -8740,7 +11084,7 @@ export class MLOpsClient {
8740
11084
 
8741
11085
  let headerParams = {
8742
11086
  "Content-Type": common.Constants.APPLICATION_JSON,
8743
- 'opc-request-id': listModelVersionsRequest.opcRequestId,'dh-user-principal': listModelVersionsRequest.dhUserPrincipal,
11087
+ 'opc-request-id': listModelVersionsRequest.opcRequestId,
8744
11088
  };
8745
11089
 
8746
11090
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
@@ -8814,7 +11158,7 @@ export class MLOpsClient {
8814
11158
 
8815
11159
  let headerParams = {
8816
11160
  "Content-Type": common.Constants.APPLICATION_JSON,
8817
- 'opc-request-id': listRegisteredModelsRequest.opcRequestId,'dh-user-principal': listRegisteredModelsRequest.dhUserPrincipal,
11161
+ 'opc-request-id': listRegisteredModelsRequest.opcRequestId,
8818
11162
  };
8819
11163
 
8820
11164
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
@@ -8885,7 +11229,7 @@ export class MLOpsClient {
8885
11229
 
8886
11230
  let headerParams = {
8887
11231
  "Content-Type": common.Constants.APPLICATION_JSON,
8888
- 'opc-retry-token': logExperimentRunBatchRequest.opcRetryToken,'opc-request-id': logExperimentRunBatchRequest.opcRequestId,'dh-user-principal': logExperimentRunBatchRequest.dhUserPrincipal,
11232
+ 'opc-retry-token': logExperimentRunBatchRequest.opcRetryToken,'opc-request-id': logExperimentRunBatchRequest.opcRequestId,
8889
11233
  };
8890
11234
 
8891
11235
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
@@ -8959,7 +11303,7 @@ export class MLOpsClient {
8959
11303
 
8960
11304
  let headerParams = {
8961
11305
  "Content-Type": common.Constants.APPLICATION_JSON,
8962
- 'opc-retry-token': logExperimentRunInputsRequest.opcRetryToken,'opc-request-id': logExperimentRunInputsRequest.opcRequestId,'dh-user-principal': logExperimentRunInputsRequest.dhUserPrincipal,
11306
+ 'opc-retry-token': logExperimentRunInputsRequest.opcRetryToken,'opc-request-id': logExperimentRunInputsRequest.opcRequestId,
8963
11307
  };
8964
11308
 
8965
11309
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
@@ -9033,7 +11377,7 @@ export class MLOpsClient {
9033
11377
 
9034
11378
  let headerParams = {
9035
11379
  "Content-Type": common.Constants.APPLICATION_JSON,
9036
- 'opc-retry-token': logExperimentRunMetricRequest.opcRetryToken,'opc-request-id': logExperimentRunMetricRequest.opcRequestId,'dh-user-principal': logExperimentRunMetricRequest.dhUserPrincipal,
11380
+ 'opc-retry-token': logExperimentRunMetricRequest.opcRetryToken,'opc-request-id': logExperimentRunMetricRequest.opcRequestId,
9037
11381
  };
9038
11382
 
9039
11383
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
@@ -9107,7 +11451,7 @@ export class MLOpsClient {
9107
11451
 
9108
11452
  let headerParams = {
9109
11453
  "Content-Type": common.Constants.APPLICATION_JSON,
9110
- 'opc-retry-token': logExperimentRunModelRequest.opcRetryToken,'opc-request-id': logExperimentRunModelRequest.opcRequestId,'dh-user-principal': logExperimentRunModelRequest.dhUserPrincipal,
11454
+ 'opc-retry-token': logExperimentRunModelRequest.opcRetryToken,'opc-request-id': logExperimentRunModelRequest.opcRequestId,
9111
11455
  };
9112
11456
 
9113
11457
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
@@ -9181,7 +11525,7 @@ export class MLOpsClient {
9181
11525
 
9182
11526
  let headerParams = {
9183
11527
  "Content-Type": common.Constants.APPLICATION_JSON,
9184
- 'opc-retry-token': logExperimentRunParamRequest.opcRetryToken,'opc-request-id': logExperimentRunParamRequest.opcRequestId,'dh-user-principal': logExperimentRunParamRequest.dhUserPrincipal,
11528
+ 'opc-retry-token': logExperimentRunParamRequest.opcRetryToken,'opc-request-id': logExperimentRunParamRequest.opcRequestId,
9185
11529
  };
9186
11530
 
9187
11531
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
@@ -9254,7 +11598,7 @@ export class MLOpsClient {
9254
11598
 
9255
11599
  let headerParams = {
9256
11600
  "Content-Type": common.Constants.APPLICATION_JSON,
9257
- 'opc-retry-token': renameRegisteredModelRequest.opcRetryToken,'opc-request-id': renameRegisteredModelRequest.opcRequestId,'dh-user-principal': renameRegisteredModelRequest.dhUserPrincipal,
11601
+ 'opc-retry-token': renameRegisteredModelRequest.opcRetryToken,'opc-request-id': renameRegisteredModelRequest.opcRequestId,
9258
11602
  };
9259
11603
 
9260
11604
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
@@ -9323,7 +11667,7 @@ export class MLOpsClient {
9323
11667
 
9324
11668
  let headerParams = {
9325
11669
  "Content-Type": common.Constants.APPLICATION_JSON,
9326
- 'opc-retry-token': restoreExperimentRequest.opcRetryToken,'opc-request-id': restoreExperimentRequest.opcRequestId,'dh-user-principal': restoreExperimentRequest.dhUserPrincipal,
11670
+ 'opc-retry-token': restoreExperimentRequest.opcRetryToken,'opc-request-id': restoreExperimentRequest.opcRequestId,
9327
11671
  };
9328
11672
 
9329
11673
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
@@ -9397,7 +11741,7 @@ export class MLOpsClient {
9397
11741
 
9398
11742
  let headerParams = {
9399
11743
  "Content-Type": common.Constants.APPLICATION_JSON,
9400
- 'opc-retry-token': restoreExperimentRunRequest.opcRetryToken,'opc-request-id': restoreExperimentRunRequest.opcRequestId,'dh-user-principal': restoreExperimentRunRequest.dhUserPrincipal,
11744
+ 'opc-retry-token': restoreExperimentRunRequest.opcRetryToken,'opc-request-id': restoreExperimentRunRequest.opcRequestId,
9401
11745
  };
9402
11746
 
9403
11747
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
@@ -9471,7 +11815,7 @@ export class MLOpsClient {
9471
11815
 
9472
11816
  let headerParams = {
9473
11817
  "Content-Type": common.Constants.APPLICATION_JSON,
9474
- 'opc-retry-token': setExperimentRunTagRequest.opcRetryToken,'opc-request-id': setExperimentRunTagRequest.opcRequestId,'dh-user-principal': setExperimentRunTagRequest.dhUserPrincipal,
11818
+ 'opc-retry-token': setExperimentRunTagRequest.opcRetryToken,'opc-request-id': setExperimentRunTagRequest.opcRequestId,
9475
11819
  };
9476
11820
 
9477
11821
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
@@ -9545,7 +11889,7 @@ export class MLOpsClient {
9545
11889
 
9546
11890
  let headerParams = {
9547
11891
  "Content-Type": common.Constants.APPLICATION_JSON,
9548
- 'opc-retry-token': setExperimentTagRequest.opcRetryToken,'opc-request-id': setExperimentTagRequest.opcRequestId,'dh-user-principal': setExperimentTagRequest.dhUserPrincipal,
11892
+ 'opc-retry-token': setExperimentTagRequest.opcRetryToken,'opc-request-id': setExperimentTagRequest.opcRequestId,
9549
11893
  };
9550
11894
 
9551
11895
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
@@ -9618,7 +11962,7 @@ export class MLOpsClient {
9618
11962
 
9619
11963
  let headerParams = {
9620
11964
  "Content-Type": common.Constants.APPLICATION_JSON,
9621
- 'opc-retry-token': setModelVersionTagRequest.opcRetryToken,'opc-request-id': setModelVersionTagRequest.opcRequestId,'dh-user-principal': setModelVersionTagRequest.dhUserPrincipal,
11965
+ 'opc-retry-token': setModelVersionTagRequest.opcRetryToken,'opc-request-id': setModelVersionTagRequest.opcRequestId,
9622
11966
  };
9623
11967
 
9624
11968
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
@@ -9691,7 +12035,7 @@ export class MLOpsClient {
9691
12035
 
9692
12036
  let headerParams = {
9693
12037
  "Content-Type": common.Constants.APPLICATION_JSON,
9694
- 'opc-retry-token': setRegisteredModelTagRequest.opcRetryToken,'opc-request-id': setRegisteredModelTagRequest.opcRequestId,'dh-user-principal': setRegisteredModelTagRequest.dhUserPrincipal,
12038
+ 'opc-retry-token': setRegisteredModelTagRequest.opcRetryToken,'opc-request-id': setRegisteredModelTagRequest.opcRequestId,
9695
12039
  };
9696
12040
 
9697
12041
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
@@ -9764,7 +12108,7 @@ export class MLOpsClient {
9764
12108
 
9765
12109
  let headerParams = {
9766
12110
  "Content-Type": common.Constants.APPLICATION_JSON,
9767
- 'opc-retry-token': transitionModelVersionStageRequest.opcRetryToken,'opc-request-id': transitionModelVersionStageRequest.opcRequestId,'dh-user-principal': transitionModelVersionStageRequest.dhUserPrincipal,
12111
+ 'opc-retry-token': transitionModelVersionStageRequest.opcRetryToken,'opc-request-id': transitionModelVersionStageRequest.opcRequestId,
9768
12112
  };
9769
12113
 
9770
12114
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
@@ -9838,7 +12182,7 @@ export class MLOpsClient {
9838
12182
 
9839
12183
  let headerParams = {
9840
12184
  "Content-Type": common.Constants.APPLICATION_JSON,
9841
- 'opc-retry-token': updateExperimentRequest.opcRetryToken,'opc-request-id': updateExperimentRequest.opcRequestId,'dh-user-principal': updateExperimentRequest.dhUserPrincipal,
12185
+ 'opc-retry-token': updateExperimentRequest.opcRetryToken,'opc-request-id': updateExperimentRequest.opcRequestId,
9842
12186
  };
9843
12187
 
9844
12188
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
@@ -9912,7 +12256,7 @@ export class MLOpsClient {
9912
12256
 
9913
12257
  let headerParams = {
9914
12258
  "Content-Type": common.Constants.APPLICATION_JSON,
9915
- 'opc-retry-token': updateExperimentRunRequest.opcRetryToken,'opc-request-id': updateExperimentRunRequest.opcRequestId,'dh-user-principal': updateExperimentRunRequest.dhUserPrincipal,
12259
+ 'opc-retry-token': updateExperimentRunRequest.opcRetryToken,'opc-request-id': updateExperimentRunRequest.opcRequestId,
9916
12260
  };
9917
12261
 
9918
12262
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
@@ -9986,7 +12330,7 @@ export class MLOpsClient {
9986
12330
 
9987
12331
  let headerParams = {
9988
12332
  "Content-Type": common.Constants.APPLICATION_JSON,
9989
- 'opc-retry-token': updateExperimentRunTagsRequest.opcRetryToken,'opc-request-id': updateExperimentRunTagsRequest.opcRequestId,'dh-user-principal': updateExperimentRunTagsRequest.dhUserPrincipal,
12333
+ 'opc-retry-token': updateExperimentRunTagsRequest.opcRetryToken,'opc-request-id': updateExperimentRunTagsRequest.opcRequestId,
9990
12334
  };
9991
12335
 
9992
12336
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
@@ -10060,7 +12404,7 @@ export class MLOpsClient {
10060
12404
 
10061
12405
  let headerParams = {
10062
12406
  "Content-Type": common.Constants.APPLICATION_JSON,
10063
- 'opc-retry-token': updateExperimentTagsRequest.opcRetryToken,'opc-request-id': updateExperimentTagsRequest.opcRequestId,'dh-user-principal': updateExperimentTagsRequest.dhUserPrincipal,
12407
+ 'opc-retry-token': updateExperimentTagsRequest.opcRetryToken,'opc-request-id': updateExperimentTagsRequest.opcRequestId,
10064
12408
  };
10065
12409
 
10066
12410
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
@@ -10133,7 +12477,7 @@ export class MLOpsClient {
10133
12477
 
10134
12478
  let headerParams = {
10135
12479
  "Content-Type": common.Constants.APPLICATION_JSON,
10136
- 'opc-retry-token': updateModelVersionRequest.opcRetryToken,'opc-request-id': updateModelVersionRequest.opcRequestId,'dh-user-principal': updateModelVersionRequest.dhUserPrincipal,
12480
+ 'opc-retry-token': updateModelVersionRequest.opcRetryToken,'opc-request-id': updateModelVersionRequest.opcRequestId,
10137
12481
  };
10138
12482
 
10139
12483
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
@@ -10206,7 +12550,7 @@ export class MLOpsClient {
10206
12550
 
10207
12551
  let headerParams = {
10208
12552
  "Content-Type": common.Constants.APPLICATION_JSON,
10209
- 'opc-retry-token': updateModelVersionTagsRequest.opcRetryToken,'opc-request-id': updateModelVersionTagsRequest.opcRequestId,'dh-user-principal': updateModelVersionTagsRequest.dhUserPrincipal,
12553
+ 'opc-retry-token': updateModelVersionTagsRequest.opcRetryToken,'opc-request-id': updateModelVersionTagsRequest.opcRequestId,
10210
12554
  };
10211
12555
 
10212
12556
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
@@ -10279,7 +12623,7 @@ export class MLOpsClient {
10279
12623
 
10280
12624
  let headerParams = {
10281
12625
  "Content-Type": common.Constants.APPLICATION_JSON,
10282
- 'opc-retry-token': updateRegisteredModelRequest.opcRetryToken,'opc-request-id': updateRegisteredModelRequest.opcRequestId,'dh-user-principal': updateRegisteredModelRequest.dhUserPrincipal,
12626
+ 'opc-retry-token': updateRegisteredModelRequest.opcRetryToken,'opc-request-id': updateRegisteredModelRequest.opcRequestId,
10283
12627
  };
10284
12628
 
10285
12629
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
@@ -10352,7 +12696,7 @@ export class MLOpsClient {
10352
12696
 
10353
12697
  let headerParams = {
10354
12698
  "Content-Type": common.Constants.APPLICATION_JSON,
10355
- 'opc-retry-token': updateRegisteredModelTagsRequest.opcRetryToken,'opc-request-id': updateRegisteredModelTagsRequest.opcRequestId,'dh-user-principal': updateRegisteredModelTagsRequest.dhUserPrincipal,
12699
+ 'opc-retry-token': updateRegisteredModelTagsRequest.opcRetryToken,'opc-request-id': updateRegisteredModelTagsRequest.opcRequestId,
10356
12700
  };
10357
12701
 
10358
12702
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
@@ -12641,7 +14985,7 @@ export class SchemaClient {
12641
14985
  }
12642
14986
 
12643
14987
  /**
12644
- * Deletes a schema from an AI Data Platform Workbench.
14988
+ * Deletes a schema.
12645
14989
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
12646
14990
  * @param DeleteSchemaRequest
12647
14991
  * @return DeleteSchemaResponse
@@ -12708,7 +15052,7 @@ export class SchemaClient {
12708
15052
  }
12709
15053
 
12710
15054
  /**
12711
- * Deletes a table from an AI Data Platform Workbench.
15055
+ * Deletes a table.
12712
15056
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
12713
15057
  * @param DeleteTableRequest
12714
15058
  * @return DeleteTableResponse
@@ -12776,7 +15120,7 @@ export class SchemaClient {
12776
15120
  }
12777
15121
 
12778
15122
  /**
12779
- * Deletes a view from AI Data Platform Workbench.
15123
+ * Deletes a view.
12780
15124
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
12781
15125
  * @param DeleteViewRequest
12782
15126
  * @return DeleteViewResponse
@@ -13193,7 +15537,7 @@ export class SchemaClient {
13193
15537
  }
13194
15538
 
13195
15539
  /**
13196
- * Returns a list of schemas in a given AI Data Platform Workbench.
15540
+ * Returns a list of schemas.
13197
15541
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
13198
15542
  * @param ListSchemasRequest
13199
15543
  * @return ListSchemasResponse
@@ -13918,7 +16262,7 @@ export class SchemaClient {
13918
16262
  }
13919
16263
 
13920
16264
  /**
13921
- * Refreshes schema in an AI Data Platform Workbench through the crawler.
16265
+ * Refreshes schema through the crawler.
13922
16266
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
13923
16267
  * @param RefreshSchemaRequest
13924
16268
  * @return RefreshSchemaResponse
@@ -13985,7 +16329,7 @@ export class SchemaClient {
13985
16329
  }
13986
16330
 
13987
16331
  /**
13988
- * Refreshes a table in an AI Data Platform Workbench through the crawler.
16332
+ * Refreshes a table through the crawler.
13989
16333
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
13990
16334
  * @param RefreshTableRequest
13991
16335
  * @return RefreshTableResponse
@@ -14052,7 +16396,7 @@ export class SchemaClient {
14052
16396
  }
14053
16397
 
14054
16398
  /**
14055
- * Retrieve PAR for the entities created in AI Data Platform Workbench.
16399
+ * Retrieves PAR for the entities created.
14056
16400
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
14057
16401
  * @param RetrieveParRequest
14058
16402
  * @return RetrieveParResponse
@@ -15064,7 +17408,7 @@ export class VolumeClient {
15064
17408
  }
15065
17409
 
15066
17410
  /**
15067
- * Creates a volume in AI Data Platform Workbench.
17411
+ * Creates a volume.
15068
17412
  *
15069
17413
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
15070
17414
  * @param CreateVolumeRequest
@@ -16597,7 +18941,7 @@ export class WorkflowClient {
16597
18941
  }
16598
18942
 
16599
18943
  /**
16600
- * Creates a job in an AI Data Platform Workbench.
18944
+ * Creates a job.
16601
18945
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
16602
18946
  * @param CreateJobRequest
16603
18947
  * @return CreateJobResponse
@@ -16686,7 +19030,7 @@ export class WorkflowClient {
16686
19030
  }
16687
19031
 
16688
19032
  /**
16689
- * Creates a job run for an AI Data Platform Workbench.
19033
+ * Creates a job run.
16690
19034
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
16691
19035
  * @param CreateJobRunRequest
16692
19036
  * @return CreateJobRunResponse
@@ -16775,7 +19119,7 @@ export class WorkflowClient {
16775
19119
  }
16776
19120
 
16777
19121
  /**
16778
- * Deletes a job from an AI Data Platform Workbench.
19122
+ * Deletes a job.
16779
19123
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
16780
19124
  * @param DeleteJobRequest
16781
19125
  * @return DeleteJobResponse
@@ -16838,7 +19182,7 @@ export class WorkflowClient {
16838
19182
  }
16839
19183
 
16840
19184
  /**
16841
- * Deletes a job run from an AI Data Platform Workbench.
19185
+ * Deletes a job run.
16842
19186
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
16843
19187
  * @param DeleteJobRunRequest
16844
19188
  * @return DeleteJobRunResponse
@@ -17052,7 +19396,7 @@ export class WorkflowClient {
17052
19396
  }
17053
19397
 
17054
19398
  /**
17055
- * Returns detailed information about a given job in AI Data Platform Workbench.
19399
+ * Returns detailed information about a given job.
17056
19400
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
17057
19401
  * @param GetJobRequest
17058
19402
  * @return GetJobResponse
@@ -17344,7 +19688,7 @@ export class WorkflowClient {
17344
19688
  }
17345
19689
 
17346
19690
  /**
17347
- * Returns a detailed list of job runs in an AI Data Platform Workbench.
19691
+ * Returns a detailed list of job runs.
17348
19692
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
17349
19693
  * @param ListJobRunsRequest
17350
19694
  * @return ListJobRunsResponse
@@ -17424,7 +19768,7 @@ export class WorkflowClient {
17424
19768
  }
17425
19769
 
17426
19770
  /**
17427
- * Returns a list of jobs for a given AI Data Platform Workbench.
19771
+ * Returns a list of jobs.
17428
19772
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
17429
19773
  * @param ListJobsRequest
17430
19774
  * @return ListJobsResponse
@@ -17443,6 +19787,7 @@ export class WorkflowClient {
17443
19787
 
17444
19788
  const queryParams = {
17445
19789
  'displayName': listJobsRequest.displayName,
19790
+ 'jobKey': listJobsRequest.jobKey,
17446
19791
  'displayNameContains': listJobsRequest.displayNameContains,
17447
19792
  'path': listJobsRequest.path,
17448
19793
  'createdBy': listJobsRequest.createdBy,
@@ -17591,7 +19936,7 @@ export class WorkflowClient {
17591
19936
  }
17592
19937
 
17593
19938
  /**
17594
- * Returns a list of tasks run in an AI Data Platform Workbench.
19939
+ * Returns a list of task runs.
17595
19940
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
17596
19941
  * @param ListTaskRunsRequest
17597
19942
  * @return ListTaskRunsResponse
@@ -17827,7 +20172,7 @@ export class WorkflowClient {
17827
20172
  }
17828
20173
 
17829
20174
  /**
17830
- * Update details for a job in AI Data Platform Workbench.
20175
+ * Updates details for a job.
17831
20176
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
17832
20177
  * @param UpdateJobRequest
17833
20178
  * @return UpdateJobResponse
@@ -18094,7 +20439,7 @@ export class WorkspaceClient {
18094
20439
 
18095
20440
  let headerParams = {
18096
20441
  "Content-Type": common.Constants.APPLICATION_JSON,
18097
- 'dh-user-principal': createGitFolderRequest.dhUserPrincipal,'opc-retry-token': createGitFolderRequest.opcRetryToken,'if-match': createGitFolderRequest.ifMatch,'opc-request-id': createGitFolderRequest.opcRequestId,
20442
+ 'opc-retry-token': createGitFolderRequest.opcRetryToken,'if-match': createGitFolderRequest.ifMatch,'opc-request-id': createGitFolderRequest.opcRequestId,
18098
20443
  };
18099
20444
 
18100
20445
  const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;