oci-generativeaiagent 2.106.0 → 2.106.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 (180) hide show
  1. package/lib/client.d.ts +50 -0
  2. package/lib/client.js +337 -0
  3. package/lib/client.js.map +1 -1
  4. package/lib/generativeaiagent-waiter.d.ts +8 -0
  5. package/lib/generativeaiagent-waiter.js +12 -0
  6. package/lib/generativeaiagent-waiter.js.map +1 -1
  7. package/lib/model/agent-endpoint-summary.d.ts +13 -0
  8. package/lib/model/agent-endpoint-summary.js +18 -0
  9. package/lib/model/agent-endpoint-summary.js.map +1 -1
  10. package/lib/model/agent-endpoint.d.ts +13 -0
  11. package/lib/model/agent-endpoint.js +18 -0
  12. package/lib/model/agent-endpoint.js.map +1 -1
  13. package/lib/model/agent-summary.d.ts +3 -1
  14. package/lib/model/agent-summary.js +28 -2
  15. package/lib/model/agent-summary.js.map +1 -1
  16. package/lib/model/agent.d.ts +3 -1
  17. package/lib/model/agent.js +28 -2
  18. package/lib/model/agent.js.map +1 -1
  19. package/lib/model/api-schema-inline-input-location.d.ts +37 -0
  20. package/lib/model/api-schema-inline-input-location.js +63 -0
  21. package/lib/model/api-schema-inline-input-location.js.map +1 -0
  22. package/lib/model/api-schema-input-location.d.ts +31 -0
  23. package/lib/model/api-schema-input-location.js +81 -0
  24. package/lib/model/api-schema-input-location.js.map +1 -0
  25. package/lib/model/api-schema-object-storage-input-location.d.ts +46 -0
  26. package/lib/model/api-schema-object-storage-input-location.js +63 -0
  27. package/lib/model/api-schema-object-storage-input-location.js.map +1 -0
  28. package/lib/model/content-moderation-guardrail-config.d.ts +39 -0
  29. package/lib/model/content-moderation-guardrail-config.js +38 -0
  30. package/lib/model/content-moderation-guardrail-config.js.map +1 -0
  31. package/lib/model/create-agent-details.d.ts +3 -1
  32. package/lib/model/create-agent-details.js +28 -2
  33. package/lib/model/create-agent-details.js.map +1 -1
  34. package/lib/model/create-agent-endpoint-details.d.ts +13 -0
  35. package/lib/model/create-agent-endpoint-details.js +18 -0
  36. package/lib/model/create-agent-endpoint-details.js.map +1 -1
  37. package/lib/model/create-data-source-details.d.ts +6 -0
  38. package/lib/model/create-data-source-details.js.map +1 -1
  39. package/lib/model/create-tool-details.d.ts +77 -0
  40. package/lib/model/create-tool-details.js +64 -0
  41. package/lib/model/create-tool-details.js.map +1 -0
  42. package/lib/model/data-source.d.ts +6 -0
  43. package/lib/model/data-source.js.map +1 -1
  44. package/lib/model/function-calling-tool-config.d.ts +35 -0
  45. package/lib/model/function-calling-tool-config.js +65 -0
  46. package/lib/model/function-calling-tool-config.js.map +1 -0
  47. package/lib/model/function.d.ts +46 -0
  48. package/lib/model/function.js +38 -0
  49. package/lib/model/function.js.map +1 -0
  50. package/lib/model/guardrail-config.d.ts +34 -0
  51. package/lib/model/guardrail-config.js +78 -0
  52. package/lib/model/guardrail-config.js.map +1 -0
  53. package/lib/model/guardrail-mode.d.ts +38 -0
  54. package/lib/model/guardrail-mode.js +49 -0
  55. package/lib/model/guardrail-mode.js.map +1 -0
  56. package/lib/model/http-endpoint-auth-config.d.ts +32 -0
  57. package/lib/model/http-endpoint-auth-config.js +89 -0
  58. package/lib/model/http-endpoint-auth-config.js.map +1 -0
  59. package/lib/model/http-endpoint-delegated-bearer-auth-config.d.ts +35 -0
  60. package/lib/model/http-endpoint-delegated-bearer-auth-config.js +63 -0
  61. package/lib/model/http-endpoint-delegated-bearer-auth-config.js.map +1 -0
  62. package/lib/model/http-endpoint-idcs-auth-config.d.ts +35 -0
  63. package/lib/model/http-endpoint-idcs-auth-config.js +69 -0
  64. package/lib/model/http-endpoint-idcs-auth-config.js.map +1 -0
  65. package/lib/model/http-endpoint-no-auth-config.d.ts +34 -0
  66. package/lib/model/http-endpoint-no-auth-config.js +63 -0
  67. package/lib/model/http-endpoint-no-auth-config.js.map +1 -0
  68. package/lib/model/http-endpoint-oci-resource-principal-auth-config.d.ts +34 -0
  69. package/lib/model/http-endpoint-oci-resource-principal-auth-config.js +63 -0
  70. package/lib/model/http-endpoint-oci-resource-principal-auth-config.js.map +1 -0
  71. package/lib/model/http-endpoint-tool-config.d.ts +40 -0
  72. package/lib/model/http-endpoint-tool-config.js +75 -0
  73. package/lib/model/http-endpoint-tool-config.js.map +1 -0
  74. package/lib/model/human-input-config.d.ts +35 -0
  75. package/lib/model/human-input-config.js +38 -0
  76. package/lib/model/human-input-config.js.map +1 -0
  77. package/lib/model/index.d.ts +68 -0
  78. package/lib/model/index.js +70 -2
  79. package/lib/model/index.js.map +1 -1
  80. package/lib/model/inline-input-location.d.ts +37 -0
  81. package/lib/model/inline-input-location.js +61 -0
  82. package/lib/model/inline-input-location.js.map +1 -0
  83. package/lib/model/input-location.d.ts +31 -0
  84. package/lib/model/input-location.js +81 -0
  85. package/lib/model/input-location.js.map +1 -0
  86. package/lib/model/knowledge-base-config.d.ts +35 -0
  87. package/lib/model/knowledge-base-config.js +38 -0
  88. package/lib/model/knowledge-base-config.js.map +1 -0
  89. package/lib/model/llm-config.d.ts +33 -0
  90. package/lib/model/llm-config.js +66 -0
  91. package/lib/model/llm-config.js.map +1 -0
  92. package/lib/model/llm-customization.d.ts +35 -0
  93. package/lib/model/llm-customization.js +38 -0
  94. package/lib/model/llm-customization.js.map +1 -0
  95. package/lib/model/object-storage-input-location.d.ts +46 -0
  96. package/lib/model/object-storage-input-location.js +63 -0
  97. package/lib/model/object-storage-input-location.js.map +1 -0
  98. package/lib/model/object-storage-prefix-output-location.d.ts +46 -0
  99. package/lib/model/object-storage-prefix-output-location.js +63 -0
  100. package/lib/model/object-storage-prefix-output-location.js.map +1 -0
  101. package/lib/model/object-storage-prefix.d.ts +1 -1
  102. package/lib/model/operation-type.d.ts +4 -0
  103. package/lib/model/operation-type.js +4 -0
  104. package/lib/model/operation-type.js.map +1 -1
  105. package/lib/model/output-config.d.ts +37 -0
  106. package/lib/model/output-config.js +66 -0
  107. package/lib/model/output-config.js.map +1 -0
  108. package/lib/model/output-location.d.ts +32 -0
  109. package/lib/model/output-location.js +77 -0
  110. package/lib/model/output-location.js.map +1 -0
  111. package/lib/model/personally-identifiable-information-guardrail-config.d.ts +39 -0
  112. package/lib/model/personally-identifiable-information-guardrail-config.js +38 -0
  113. package/lib/model/personally-identifiable-information-guardrail-config.js.map +1 -0
  114. package/lib/model/prompt-injection-guardrail-config.d.ts +35 -0
  115. package/lib/model/prompt-injection-guardrail-config.js +38 -0
  116. package/lib/model/prompt-injection-guardrail-config.js.map +1 -0
  117. package/lib/model/rag-tool-config.d.ts +39 -0
  118. package/lib/model/rag-tool-config.js +77 -0
  119. package/lib/model/rag-tool-config.js.map +1 -0
  120. package/lib/model/sql-tool-config.d.ts +73 -0
  121. package/lib/model/sql-tool-config.js +111 -0
  122. package/lib/model/sql-tool-config.js.map +1 -0
  123. package/lib/model/tool-collection.d.ts +36 -0
  124. package/lib/model/tool-collection.js +70 -0
  125. package/lib/model/tool-collection.js.map +1 -0
  126. package/lib/model/tool-config.d.ts +32 -0
  127. package/lib/model/tool-config.js +89 -0
  128. package/lib/model/tool-config.js.map +1 -0
  129. package/lib/model/tool-summary.d.ts +110 -0
  130. package/lib/model/tool-summary.js +64 -0
  131. package/lib/model/tool-summary.js.map +1 -0
  132. package/lib/model/tool.d.ts +125 -0
  133. package/lib/model/tool.js +78 -0
  134. package/lib/model/tool.js.map +1 -0
  135. package/lib/model/update-agent-details.d.ts +3 -1
  136. package/lib/model/update-agent-details.js +28 -2
  137. package/lib/model/update-agent-details.js.map +1 -1
  138. package/lib/model/update-agent-endpoint-details.d.ts +13 -0
  139. package/lib/model/update-agent-endpoint-details.js +18 -0
  140. package/lib/model/update-agent-endpoint-details.js.map +1 -1
  141. package/lib/model/update-data-source-details.d.ts +6 -0
  142. package/lib/model/update-data-source-details.js.map +1 -1
  143. package/lib/model/update-tool-details.d.ts +69 -0
  144. package/lib/model/update-tool-details.js +64 -0
  145. package/lib/model/update-tool-details.js.map +1 -0
  146. package/lib/request/create-tool-request.d.ts +40 -0
  147. package/lib/request/create-tool-request.js +15 -0
  148. package/lib/request/create-tool-request.js.map +1 -0
  149. package/lib/request/delete-tool-request.d.ts +38 -0
  150. package/lib/request/delete-tool-request.js +15 -0
  151. package/lib/request/delete-tool-request.js.map +1 -0
  152. package/lib/request/get-tool-request.d.ts +30 -0
  153. package/lib/request/get-tool-request.js +15 -0
  154. package/lib/request/get-tool-request.js.map +1 -0
  155. package/lib/request/index.d.ts +10 -0
  156. package/lib/request/index.js +3 -1
  157. package/lib/request/index.js.map +1 -1
  158. package/lib/request/list-tools-request.d.ts +75 -0
  159. package/lib/request/list-tools-request.js +24 -0
  160. package/lib/request/list-tools-request.js.map +1 -0
  161. package/lib/request/update-tool-request.d.ts +43 -0
  162. package/lib/request/update-tool-request.js +15 -0
  163. package/lib/request/update-tool-request.js.map +1 -0
  164. package/lib/response/create-tool-response.d.ts +44 -0
  165. package/lib/response/create-tool-response.js +15 -0
  166. package/lib/response/create-tool-response.js.map +1 -0
  167. package/lib/response/delete-tool-response.d.ts +26 -0
  168. package/lib/response/delete-tool-response.js +15 -0
  169. package/lib/response/delete-tool-response.js.map +1 -0
  170. package/lib/response/get-tool-response.d.ts +30 -0
  171. package/lib/response/get-tool-response.js +15 -0
  172. package/lib/response/get-tool-response.js.map +1 -0
  173. package/lib/response/index.d.ts +10 -0
  174. package/lib/response/list-tools-response.d.ts +31 -0
  175. package/lib/response/list-tools-response.js +15 -0
  176. package/lib/response/list-tools-response.js.map +1 -0
  177. package/lib/response/update-tool-response.d.ts +26 -0
  178. package/lib/response/update-tool-response.js +15 -0
  179. package/lib/response/update-tool-response.js.map +1 -0
  180. package/package.json +3 -3
@@ -0,0 +1,78 @@
1
+ "use strict";
2
+ /**
3
+ * Generative AI Agents Management API
4
+ * OCI Generative AI Agents is a fully managed service that combines the power of large language models (LLMs) with an intelligent retrieval system to create contextually relevant answers by searching your knowledge base, making your AI applications smart and efficient.
5
+
6
+ OCI Generative AI Agents supports several ways to onboard your data and then allows you and your customers to interact with your data using a chat interface or API.
7
+
8
+ Use the Generative AI Agents API to create and manage agents, knowledge bases, data sources, endpoints, data ingestion jobs, and work requests.
9
+
10
+ For creating and managing client chat sessions see the {@link #eNGenerative-ai-agents-clientLatest(ENGenerative-ai-agents-clientLatestRequest) eNGenerative-ai-agents-clientLatest}.
11
+
12
+ To learn more about the service, see the [Generative AI Agents documentation](https://docs.oracle.com/iaas/Content/generative-ai-agents/home.htm).
13
+
14
+ * OpenAPI spec version: 20240531
15
+ *
16
+ *
17
+ * NOTE: This class is auto generated by OracleSDKGenerator.
18
+ * Do not edit the class manually.
19
+ *
20
+ * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
21
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
22
+ */
23
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
24
+ if (k2 === undefined) k2 = k;
25
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
26
+ }) : (function(o, m, k, k2) {
27
+ if (k2 === undefined) k2 = k;
28
+ o[k2] = m[k];
29
+ }));
30
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
31
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
32
+ }) : function(o, v) {
33
+ o["default"] = v;
34
+ });
35
+ var __importStar = (this && this.__importStar) || function (mod) {
36
+ if (mod && mod.__esModule) return mod;
37
+ var result = {};
38
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
39
+ __setModuleDefault(result, mod);
40
+ return result;
41
+ };
42
+ Object.defineProperty(exports, "__esModule", { value: true });
43
+ exports.Tool = void 0;
44
+ const model = __importStar(require("../model"));
45
+ var Tool;
46
+ (function (Tool) {
47
+ let LifecycleState;
48
+ (function (LifecycleState) {
49
+ LifecycleState["Creating"] = "CREATING";
50
+ LifecycleState["Updating"] = "UPDATING";
51
+ LifecycleState["Active"] = "ACTIVE";
52
+ LifecycleState["Deleting"] = "DELETING";
53
+ LifecycleState["Deleted"] = "DELETED";
54
+ LifecycleState["Failed"] = "FAILED";
55
+ /**
56
+ * This value is used if a service returns a value for this enum that is not recognized by this
57
+ * version of the SDK.
58
+ */
59
+ LifecycleState["UnknownValue"] = "UNKNOWN_VALUE";
60
+ })(LifecycleState = Tool.LifecycleState || (Tool.LifecycleState = {}));
61
+ function getJsonObj(obj) {
62
+ const jsonObj = Object.assign(Object.assign({}, obj), {
63
+ "toolConfig": obj.toolConfig ? model.ToolConfig.getJsonObj(obj.toolConfig) : undefined
64
+ });
65
+ return jsonObj;
66
+ }
67
+ Tool.getJsonObj = getJsonObj;
68
+ function getDeserializedJsonObj(obj) {
69
+ const jsonObj = Object.assign(Object.assign({}, obj), {
70
+ "toolConfig": obj.toolConfig
71
+ ? model.ToolConfig.getDeserializedJsonObj(obj.toolConfig)
72
+ : undefined
73
+ });
74
+ return jsonObj;
75
+ }
76
+ Tool.getDeserializedJsonObj = getDeserializedJsonObj;
77
+ })(Tool = exports.Tool || (exports.Tool = {}));
78
+ //# sourceMappingURL=tool.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tool.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagent/lib/model/tool.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAkFlC,IAAiB,IAAI,CAqCpB;AArCD,WAAiB,IAAI;IACnB,IAAY,cAYX;IAZD,WAAY,cAAc;QACxB,uCAAqB,CAAA;QACrB,uCAAqB,CAAA;QACrB,mCAAiB,CAAA;QACjB,uCAAqB,CAAA;QACrB,qCAAmB,CAAA;QACnB,mCAAiB,CAAA;QACjB;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EAZW,cAAc,GAAd,mBAAc,KAAd,mBAAc,QAYzB;IAED,SAAgB,UAAU,CAAC,GAAS;QAClC,MAAM,OAAO,mCACR,GAAG,GACH;YACD,YAAY,EAAE,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,UAAU,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,SAAS;SACvF,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IATe,eAAU,aASzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAS;QAC9C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,YAAY,EAAE,GAAG,CAAC,UAAU;gBAC1B,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,sBAAsB,CAAC,GAAG,CAAC,UAAU,CAAC;gBACzD,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,2BAAsB,yBAWrC,CAAA;AACH,CAAC,EArCgB,IAAI,GAAJ,YAAI,KAAJ,YAAI,QAqCpB"}
@@ -19,6 +19,7 @@ To learn more about the service, see the [Generative AI Agents documentation](ht
19
19
  * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
20
20
  * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
21
21
  */
22
+ import * as model from "../model";
22
23
  /**
23
24
  * The data to update an agent.
24
25
  *
@@ -33,13 +34,14 @@ export interface UpdateAgentDetails {
33
34
  */
34
35
  "description"?: string;
35
36
  /**
36
- * List of [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the knowledgeBases associated with agent.
37
+ * List of [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the knowledgeBases associated with agent. This field is deprecated and will be removed after March 26 2026.
37
38
  */
38
39
  "knowledgeBaseIds"?: Array<string>;
39
40
  /**
40
41
  * Details about purpose and responsibility of the agent
41
42
  */
42
43
  "welcomeMessage"?: string;
44
+ "llmConfig"?: model.LlmConfig;
43
45
  /**
44
46
  * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
45
47
  * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
@@ -20,17 +20,43 @@ To learn more about the service, see the [Generative AI Agents documentation](ht
20
20
  * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
21
21
  * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
22
22
  */
23
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
24
+ if (k2 === undefined) k2 = k;
25
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
26
+ }) : (function(o, m, k, k2) {
27
+ if (k2 === undefined) k2 = k;
28
+ o[k2] = m[k];
29
+ }));
30
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
31
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
32
+ }) : function(o, v) {
33
+ o["default"] = v;
34
+ });
35
+ var __importStar = (this && this.__importStar) || function (mod) {
36
+ if (mod && mod.__esModule) return mod;
37
+ var result = {};
38
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
39
+ __setModuleDefault(result, mod);
40
+ return result;
41
+ };
23
42
  Object.defineProperty(exports, "__esModule", { value: true });
24
43
  exports.UpdateAgentDetails = void 0;
44
+ const model = __importStar(require("../model"));
25
45
  var UpdateAgentDetails;
26
46
  (function (UpdateAgentDetails) {
27
47
  function getJsonObj(obj) {
28
- const jsonObj = Object.assign(Object.assign({}, obj), {});
48
+ const jsonObj = Object.assign(Object.assign({}, obj), {
49
+ "llmConfig": obj.llmConfig ? model.LlmConfig.getJsonObj(obj.llmConfig) : undefined
50
+ });
29
51
  return jsonObj;
30
52
  }
31
53
  UpdateAgentDetails.getJsonObj = getJsonObj;
32
54
  function getDeserializedJsonObj(obj) {
33
- const jsonObj = Object.assign(Object.assign({}, obj), {});
55
+ const jsonObj = Object.assign(Object.assign({}, obj), {
56
+ "llmConfig": obj.llmConfig
57
+ ? model.LlmConfig.getDeserializedJsonObj(obj.llmConfig)
58
+ : undefined
59
+ });
34
60
  return jsonObj;
35
61
  }
36
62
  UpdateAgentDetails.getDeserializedJsonObj = getDeserializedJsonObj;
@@ -1 +1 @@
1
- {"version":3,"file":"update-agent-details.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagent/lib/model/update-agent-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;AA4CH,IAAiB,kBAAkB,CAWlC;AAXD,WAAiB,kBAAkB;IACjC,SAAgB,UAAU,CAAC,GAAuB;QAChD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,6BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAuB;QAC5D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,yCAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAWlC"}
1
+ {"version":3,"file":"update-agent-details.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagent/lib/model/update-agent-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA2ClC,IAAiB,kBAAkB,CAuBlC;AAvBD,WAAiB,kBAAkB;IACjC,SAAgB,UAAU,CAAC,GAAuB;QAChD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,WAAW,EAAE,GAAG,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,UAAU,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS;SACnF,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IATe,6BAAU,aASzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAuB;QAC5D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,sBAAsB,CAAC,GAAG,CAAC,SAAS,CAAC;gBACvD,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,yCAAsB,yBAWrC,CAAA;AACH,CAAC,EAvBgB,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAuBlC"}
@@ -34,6 +34,15 @@ export interface UpdateAgentEndpointDetails {
34
34
  */
35
35
  "description"?: string;
36
36
  "contentModerationConfig"?: model.ContentModerationConfig;
37
+ "guardrailConfig"?: model.GuardrailConfig;
38
+ /**
39
+ * Key-value pairs to allow additional configurations.
40
+ */
41
+ "metadata"?: {
42
+ [key: string]: string;
43
+ };
44
+ "humanInputConfig"?: model.HumanInputConfig;
45
+ "outputConfig"?: model.OutputConfig;
37
46
  /**
38
47
  * Whether to show traces in the chat result.
39
48
  */
@@ -42,6 +51,10 @@ export interface UpdateAgentEndpointDetails {
42
51
  * Whether to show citations in the chat result.
43
52
  */
44
53
  "shouldEnableCitation"?: boolean;
54
+ /**
55
+ * Whether to enable multi-language for chat.
56
+ */
57
+ "shouldEnableMultiLanguage"?: boolean;
45
58
  "sessionConfig"?: model.SessionConfig;
46
59
  /**
47
60
  * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
@@ -49,6 +49,15 @@ var UpdateAgentEndpointDetails;
49
49
  "contentModerationConfig": obj.contentModerationConfig
50
50
  ? model.ContentModerationConfig.getJsonObj(obj.contentModerationConfig)
51
51
  : undefined,
52
+ "guardrailConfig": obj.guardrailConfig
53
+ ? model.GuardrailConfig.getJsonObj(obj.guardrailConfig)
54
+ : undefined,
55
+ "humanInputConfig": obj.humanInputConfig
56
+ ? model.HumanInputConfig.getJsonObj(obj.humanInputConfig)
57
+ : undefined,
58
+ "outputConfig": obj.outputConfig
59
+ ? model.OutputConfig.getJsonObj(obj.outputConfig)
60
+ : undefined,
52
61
  "sessionConfig": obj.sessionConfig
53
62
  ? model.SessionConfig.getJsonObj(obj.sessionConfig)
54
63
  : undefined
@@ -61,6 +70,15 @@ var UpdateAgentEndpointDetails;
61
70
  "contentModerationConfig": obj.contentModerationConfig
62
71
  ? model.ContentModerationConfig.getDeserializedJsonObj(obj.contentModerationConfig)
63
72
  : undefined,
73
+ "guardrailConfig": obj.guardrailConfig
74
+ ? model.GuardrailConfig.getDeserializedJsonObj(obj.guardrailConfig)
75
+ : undefined,
76
+ "humanInputConfig": obj.humanInputConfig
77
+ ? model.HumanInputConfig.getDeserializedJsonObj(obj.humanInputConfig)
78
+ : undefined,
79
+ "outputConfig": obj.outputConfig
80
+ ? model.OutputConfig.getDeserializedJsonObj(obj.outputConfig)
81
+ : undefined,
64
82
  "sessionConfig": obj.sessionConfig
65
83
  ? model.SessionConfig.getDeserializedJsonObj(obj.sessionConfig)
66
84
  : undefined
@@ -1 +1 @@
1
- {"version":3,"file":"update-agent-endpoint-details.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagent/lib/model/update-agent-endpoint-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA4ClC,IAAiB,0BAA0B,CAiC1C;AAjCD,WAAiB,0BAA0B;IACzC,SAAgB,UAAU,CAAC,GAA+B;QACxD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,yBAAyB,EAAE,GAAG,CAAC,uBAAuB;gBACpD,CAAC,CAAC,KAAK,CAAC,uBAAuB,CAAC,UAAU,CAAC,GAAG,CAAC,uBAAuB,CAAC;gBACvE,CAAC,CAAC,SAAS;YAEb,eAAe,EAAE,GAAG,CAAC,aAAa;gBAChC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,UAAU,CAAC,GAAG,CAAC,aAAa,CAAC;gBACnD,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,qCAAU,aAezB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA+B;QACpE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,yBAAyB,EAAE,GAAG,CAAC,uBAAuB;gBACpD,CAAC,CAAC,KAAK,CAAC,uBAAuB,CAAC,sBAAsB,CAAC,GAAG,CAAC,uBAAuB,CAAC;gBACnF,CAAC,CAAC,SAAS;YAEb,eAAe,EAAE,GAAG,CAAC,aAAa;gBAChC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,sBAAsB,CAAC,GAAG,CAAC,aAAa,CAAC;gBAC/D,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,iDAAsB,yBAerC,CAAA;AACH,CAAC,EAjCgB,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAiC1C"}
1
+ {"version":3,"file":"update-agent-endpoint-details.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagent/lib/model/update-agent-endpoint-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAuDlC,IAAiB,0BAA0B,CAqD1C;AArDD,WAAiB,0BAA0B;IACzC,SAAgB,UAAU,CAAC,GAA+B;QACxD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,yBAAyB,EAAE,GAAG,CAAC,uBAAuB;gBACpD,CAAC,CAAC,KAAK,CAAC,uBAAuB,CAAC,UAAU,CAAC,GAAG,CAAC,uBAAuB,CAAC;gBACvE,CAAC,CAAC,SAAS;YACb,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,UAAU,CAAC,GAAG,CAAC,eAAe,CAAC;gBACvD,CAAC,CAAC,SAAS;YAEb,kBAAkB,EAAE,GAAG,CAAC,gBAAgB;gBACtC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,UAAU,CAAC,GAAG,CAAC,gBAAgB,CAAC;gBACzD,CAAC,CAAC,SAAS;YACb,cAAc,EAAE,GAAG,CAAC,YAAY;gBAC9B,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,UAAU,CAAC,GAAG,CAAC,YAAY,CAAC;gBACjD,CAAC,CAAC,SAAS;YAEb,eAAe,EAAE,GAAG,CAAC,aAAa;gBAChC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,UAAU,CAAC,GAAG,CAAC,aAAa,CAAC;gBACnD,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAzBe,qCAAU,aAyBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA+B;QACpE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,yBAAyB,EAAE,GAAG,CAAC,uBAAuB;gBACpD,CAAC,CAAC,KAAK,CAAC,uBAAuB,CAAC,sBAAsB,CAAC,GAAG,CAAC,uBAAuB,CAAC;gBACnF,CAAC,CAAC,SAAS;YACb,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,sBAAsB,CAAC,GAAG,CAAC,eAAe,CAAC;gBACnE,CAAC,CAAC,SAAS;YAEb,kBAAkB,EAAE,GAAG,CAAC,gBAAgB;gBACtC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,sBAAsB,CAAC,GAAG,CAAC,gBAAgB,CAAC;gBACrE,CAAC,CAAC,SAAS;YACb,cAAc,EAAE,GAAG,CAAC,YAAY;gBAC9B,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,sBAAsB,CAAC,GAAG,CAAC,YAAY,CAAC;gBAC7D,CAAC,CAAC,SAAS;YAEb,eAAe,EAAE,GAAG,CAAC,aAAa;gBAChC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,sBAAsB,CAAC,GAAG,CAAC,aAAa,CAAC;gBAC/D,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAzBe,iDAAsB,yBAyBrC,CAAA;AACH,CAAC,EArDgB,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAqD1C"}
@@ -34,6 +34,12 @@ export interface UpdateDataSourceDetails {
34
34
  */
35
35
  "description"?: string;
36
36
  "dataSourceConfig"?: model.OciObjectStorageDataSourceConfig;
37
+ /**
38
+ * Key-value pairs to allow additional configurations.
39
+ */
40
+ "metadata"?: {
41
+ [key: string]: string;
42
+ };
37
43
  /**
38
44
  * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
39
45
  * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
@@ -1 +1 @@
1
- {"version":3,"file":"update-data-source-details.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagent/lib/model/update-data-source-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAmClC,IAAiB,uBAAuB,CAyBvC;AAzBD,WAAiB,uBAAuB;IACtC,SAAgB,UAAU,CAAC,GAA4B;QACrD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,kBAAkB,EAAE,GAAG,CAAC,gBAAgB;gBACtC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,UAAU,CAAC,GAAG,CAAC,gBAAgB,CAAC;gBACzD,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,kCAAU,aAWzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA4B;QACjE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,kBAAkB,EAAE,GAAG,CAAC,gBAAgB;gBACtC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,sBAAsB,CAAC,GAAG,CAAC,gBAAgB,CAAC;gBACrE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,8CAAsB,yBAWrC,CAAA;AACH,CAAC,EAzBgB,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAyBvC"}
1
+ {"version":3,"file":"update-data-source-details.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagent/lib/model/update-data-source-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAuClC,IAAiB,uBAAuB,CAyBvC;AAzBD,WAAiB,uBAAuB;IACtC,SAAgB,UAAU,CAAC,GAA4B;QACrD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,kBAAkB,EAAE,GAAG,CAAC,gBAAgB;gBACtC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,UAAU,CAAC,GAAG,CAAC,gBAAgB,CAAC;gBACzD,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,kCAAU,aAWzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA4B;QACjE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,kBAAkB,EAAE,GAAG,CAAC,gBAAgB;gBACtC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,sBAAsB,CAAC,GAAG,CAAC,gBAAgB,CAAC;gBACrE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,8CAAsB,yBAWrC,CAAA;AACH,CAAC,EAzBgB,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAyBvC"}
@@ -0,0 +1,69 @@
1
+ /**
2
+ * Generative AI Agents Management API
3
+ * OCI Generative AI Agents is a fully managed service that combines the power of large language models (LLMs) with an intelligent retrieval system to create contextually relevant answers by searching your knowledge base, making your AI applications smart and efficient.
4
+
5
+ OCI Generative AI Agents supports several ways to onboard your data and then allows you and your customers to interact with your data using a chat interface or API.
6
+
7
+ Use the Generative AI Agents API to create and manage agents, knowledge bases, data sources, endpoints, data ingestion jobs, and work requests.
8
+
9
+ For creating and managing client chat sessions see the {@link #eNGenerative-ai-agents-clientLatest(ENGenerative-ai-agents-clientLatestRequest) eNGenerative-ai-agents-clientLatest}.
10
+
11
+ To learn more about the service, see the [Generative AI Agents documentation](https://docs.oracle.com/iaas/Content/generative-ai-agents/home.htm).
12
+
13
+ * OpenAPI spec version: 20240531
14
+ *
15
+ *
16
+ * NOTE: This class is auto generated by OracleSDKGenerator.
17
+ * Do not edit the class manually.
18
+ *
19
+ * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
20
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
21
+ */
22
+ import * as model from "../model";
23
+ /**
24
+ * The data to update a Tool.
25
+ *
26
+ */
27
+ export interface UpdateToolDetails {
28
+ /**
29
+ * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
30
+ */
31
+ "displayName"?: string;
32
+ /**
33
+ * Description about the Tool.
34
+ */
35
+ "description"?: string;
36
+ "toolConfig"?: model.SqlToolConfig | model.FunctionCallingToolConfig | model.HttpEndpointToolConfig | model.RagToolConfig;
37
+ /**
38
+ * Key-value pairs to allow additional configurations.
39
+ */
40
+ "metadata"?: {
41
+ [key: string]: string;
42
+ };
43
+ /**
44
+ * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
45
+ * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
46
+ * <p>
47
+ Example: {@code {\"Department\": \"Finance\"}}
48
+ *
49
+ */
50
+ "freeformTags"?: {
51
+ [key: string]: string;
52
+ };
53
+ /**
54
+ * Defined tags for this resource. Each key is predefined and scoped to a namespace.
55
+ * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
56
+ * <p>
57
+ Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}}
58
+ *
59
+ */
60
+ "definedTags"?: {
61
+ [key: string]: {
62
+ [key: string]: any;
63
+ };
64
+ };
65
+ }
66
+ export declare namespace UpdateToolDetails {
67
+ function getJsonObj(obj: UpdateToolDetails): object;
68
+ function getDeserializedJsonObj(obj: UpdateToolDetails): object;
69
+ }
@@ -0,0 +1,64 @@
1
+ "use strict";
2
+ /**
3
+ * Generative AI Agents Management API
4
+ * OCI Generative AI Agents is a fully managed service that combines the power of large language models (LLMs) with an intelligent retrieval system to create contextually relevant answers by searching your knowledge base, making your AI applications smart and efficient.
5
+
6
+ OCI Generative AI Agents supports several ways to onboard your data and then allows you and your customers to interact with your data using a chat interface or API.
7
+
8
+ Use the Generative AI Agents API to create and manage agents, knowledge bases, data sources, endpoints, data ingestion jobs, and work requests.
9
+
10
+ For creating and managing client chat sessions see the {@link #eNGenerative-ai-agents-clientLatest(ENGenerative-ai-agents-clientLatestRequest) eNGenerative-ai-agents-clientLatest}.
11
+
12
+ To learn more about the service, see the [Generative AI Agents documentation](https://docs.oracle.com/iaas/Content/generative-ai-agents/home.htm).
13
+
14
+ * OpenAPI spec version: 20240531
15
+ *
16
+ *
17
+ * NOTE: This class is auto generated by OracleSDKGenerator.
18
+ * Do not edit the class manually.
19
+ *
20
+ * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
21
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
22
+ */
23
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
24
+ if (k2 === undefined) k2 = k;
25
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
26
+ }) : (function(o, m, k, k2) {
27
+ if (k2 === undefined) k2 = k;
28
+ o[k2] = m[k];
29
+ }));
30
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
31
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
32
+ }) : function(o, v) {
33
+ o["default"] = v;
34
+ });
35
+ var __importStar = (this && this.__importStar) || function (mod) {
36
+ if (mod && mod.__esModule) return mod;
37
+ var result = {};
38
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
39
+ __setModuleDefault(result, mod);
40
+ return result;
41
+ };
42
+ Object.defineProperty(exports, "__esModule", { value: true });
43
+ exports.UpdateToolDetails = void 0;
44
+ const model = __importStar(require("../model"));
45
+ var UpdateToolDetails;
46
+ (function (UpdateToolDetails) {
47
+ function getJsonObj(obj) {
48
+ const jsonObj = Object.assign(Object.assign({}, obj), {
49
+ "toolConfig": obj.toolConfig ? model.ToolConfig.getJsonObj(obj.toolConfig) : undefined
50
+ });
51
+ return jsonObj;
52
+ }
53
+ UpdateToolDetails.getJsonObj = getJsonObj;
54
+ function getDeserializedJsonObj(obj) {
55
+ const jsonObj = Object.assign(Object.assign({}, obj), {
56
+ "toolConfig": obj.toolConfig
57
+ ? model.ToolConfig.getDeserializedJsonObj(obj.toolConfig)
58
+ : undefined
59
+ });
60
+ return jsonObj;
61
+ }
62
+ UpdateToolDetails.getDeserializedJsonObj = getDeserializedJsonObj;
63
+ })(UpdateToolDetails = exports.UpdateToolDetails || (exports.UpdateToolDetails = {}));
64
+ //# sourceMappingURL=update-tool-details.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-tool-details.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagent/lib/model/update-tool-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA2ClC,IAAiB,iBAAiB,CAuBjC;AAvBD,WAAiB,iBAAiB;IAChC,SAAgB,UAAU,CAAC,GAAsB;QAC/C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,YAAY,EAAE,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,UAAU,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,SAAS;SACvF,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IATe,4BAAU,aASzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAsB;QAC3D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,YAAY,EAAE,GAAG,CAAC,UAAU;gBAC1B,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,sBAAsB,CAAC,GAAG,CAAC,UAAU,CAAC;gBACzD,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,wCAAsB,yBAWrC,CAAA;AACH,CAAC,EAvBgB,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAuBjC"}
@@ -0,0 +1,40 @@
1
+ /**
2
+ *
3
+ *
4
+ * OpenAPI spec version: 20240531
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
11
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
+ */
13
+ import * as model from "../model";
14
+ import common = require("oci-common");
15
+ /**
16
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/CreateTool.ts.html |here} to see how to use CreateToolRequest.
17
+ */
18
+ export interface CreateToolRequest extends common.BaseRequest {
19
+ /**
20
+ * Details for the new tool.
21
+ */
22
+ "createToolDetails": model.CreateToolDetails;
23
+ /**
24
+ * A token that uniquely identifies a request so it can be retried in case of a timeout or
25
+ * server error without risk of running that same action again. Retry tokens expire after 24
26
+ * hours, but can be invalidated before then due to conflicting operations. For example, if a resource
27
+ * has been deleted and removed from the system, then a retry of the original creation request
28
+ * might be rejected.
29
+ *
30
+ */
31
+ "opcRetryToken"?: string;
32
+ /**
33
+ * Unique Oracle-assigned identifier for the request. If you need to contact
34
+ * Oracle about a particular request, please provide the request ID.
35
+ * The only valid characters for request IDs are letters, numbers,
36
+ * underscore, and dash.
37
+ *
38
+ */
39
+ "opcRequestId"?: string;
40
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
5
+ * OpenAPI spec version: 20240531
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ //# sourceMappingURL=create-tool-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-tool-request.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagent/lib/request/create-tool-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
@@ -0,0 +1,38 @@
1
+ /**
2
+ *
3
+ *
4
+ * OpenAPI spec version: 20240531
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
11
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
+ */
13
+ import common = require("oci-common");
14
+ /**
15
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/DeleteTool.ts.html |here} to see how to use DeleteToolRequest.
16
+ */
17
+ export interface DeleteToolRequest extends common.BaseRequest {
18
+ /**
19
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Tool.
20
+ */
21
+ "toolId": string;
22
+ /**
23
+ * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
24
+ * {@code if-match} parameter to the value of the etag from a previous GET or POST response for
25
+ * that resource. The resource will be updated or deleted only if the etag you provide
26
+ * matches the resource's current etag value.
27
+ *
28
+ */
29
+ "ifMatch"?: string;
30
+ /**
31
+ * Unique Oracle-assigned identifier for the request. If you need to contact
32
+ * Oracle about a particular request, please provide the request ID.
33
+ * The only valid characters for request IDs are letters, numbers,
34
+ * underscore, and dash.
35
+ *
36
+ */
37
+ "opcRequestId"?: string;
38
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
5
+ * OpenAPI spec version: 20240531
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ //# sourceMappingURL=delete-tool-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-tool-request.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagent/lib/request/delete-tool-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
@@ -0,0 +1,30 @@
1
+ /**
2
+ *
3
+ *
4
+ * OpenAPI spec version: 20240531
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
11
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
+ */
13
+ import common = require("oci-common");
14
+ /**
15
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeaiagent/GetTool.ts.html |here} to see how to use GetToolRequest.
16
+ */
17
+ export interface GetToolRequest extends common.BaseRequest {
18
+ /**
19
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Tool.
20
+ */
21
+ "toolId": string;
22
+ /**
23
+ * Unique Oracle-assigned identifier for the request. If you need to contact
24
+ * Oracle about a particular request, please provide the request ID.
25
+ * The only valid characters for request IDs are letters, numbers,
26
+ * underscore, and dash.
27
+ *
28
+ */
29
+ "opcRequestId"?: string;
30
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
5
+ * OpenAPI spec version: 20240531
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ //# sourceMappingURL=get-tool-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-tool-request.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagent/lib/request/get-tool-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
@@ -37,6 +37,8 @@ import * as CreateDataSourceRequest from "./create-data-source-request";
37
37
  export import CreateDataSourceRequest = CreateDataSourceRequest.CreateDataSourceRequest;
38
38
  import * as CreateKnowledgeBaseRequest from "./create-knowledge-base-request";
39
39
  export import CreateKnowledgeBaseRequest = CreateKnowledgeBaseRequest.CreateKnowledgeBaseRequest;
40
+ import * as CreateToolRequest from "./create-tool-request";
41
+ export import CreateToolRequest = CreateToolRequest.CreateToolRequest;
40
42
  import * as DeleteAgentRequest from "./delete-agent-request";
41
43
  export import DeleteAgentRequest = DeleteAgentRequest.DeleteAgentRequest;
42
44
  import * as DeleteAgentEndpointRequest from "./delete-agent-endpoint-request";
@@ -47,6 +49,8 @@ import * as DeleteDataSourceRequest from "./delete-data-source-request";
47
49
  export import DeleteDataSourceRequest = DeleteDataSourceRequest.DeleteDataSourceRequest;
48
50
  import * as DeleteKnowledgeBaseRequest from "./delete-knowledge-base-request";
49
51
  export import DeleteKnowledgeBaseRequest = DeleteKnowledgeBaseRequest.DeleteKnowledgeBaseRequest;
52
+ import * as DeleteToolRequest from "./delete-tool-request";
53
+ export import DeleteToolRequest = DeleteToolRequest.DeleteToolRequest;
50
54
  import * as GetAgentRequest from "./get-agent-request";
51
55
  export import GetAgentRequest = GetAgentRequest.GetAgentRequest;
52
56
  import * as GetAgentEndpointRequest from "./get-agent-endpoint-request";
@@ -59,6 +63,8 @@ import * as GetDataSourceRequest from "./get-data-source-request";
59
63
  export import GetDataSourceRequest = GetDataSourceRequest.GetDataSourceRequest;
60
64
  import * as GetKnowledgeBaseRequest from "./get-knowledge-base-request";
61
65
  export import GetKnowledgeBaseRequest = GetKnowledgeBaseRequest.GetKnowledgeBaseRequest;
66
+ import * as GetToolRequest from "./get-tool-request";
67
+ export import GetToolRequest = GetToolRequest.GetToolRequest;
62
68
  import * as GetWorkRequestRequest from "./get-work-request-request";
63
69
  export import GetWorkRequestRequest = GetWorkRequestRequest.GetWorkRequestRequest;
64
70
  import * as ListAgentEndpointsRequest from "./list-agent-endpoints-request";
@@ -71,6 +77,8 @@ import * as ListDataSourcesRequest from "./list-data-sources-request";
71
77
  export import ListDataSourcesRequest = ListDataSourcesRequest.ListDataSourcesRequest;
72
78
  import * as ListKnowledgeBasesRequest from "./list-knowledge-bases-request";
73
79
  export import ListKnowledgeBasesRequest = ListKnowledgeBasesRequest.ListKnowledgeBasesRequest;
80
+ import * as ListToolsRequest from "./list-tools-request";
81
+ export import ListToolsRequest = ListToolsRequest.ListToolsRequest;
74
82
  import * as ListWorkRequestErrorsRequest from "./list-work-request-errors-request";
75
83
  export import ListWorkRequestErrorsRequest = ListWorkRequestErrorsRequest.ListWorkRequestErrorsRequest;
76
84
  import * as ListWorkRequestLogsRequest from "./list-work-request-logs-request";
@@ -85,3 +93,5 @@ import * as UpdateDataSourceRequest from "./update-data-source-request";
85
93
  export import UpdateDataSourceRequest = UpdateDataSourceRequest.UpdateDataSourceRequest;
86
94
  import * as UpdateKnowledgeBaseRequest from "./update-knowledge-base-request";
87
95
  export import UpdateKnowledgeBaseRequest = UpdateKnowledgeBaseRequest.UpdateKnowledgeBaseRequest;
96
+ import * as UpdateToolRequest from "./update-tool-request";
97
+ export import UpdateToolRequest = UpdateToolRequest.UpdateToolRequest;
@@ -40,7 +40,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
40
40
  return result;
41
41
  };
42
42
  Object.defineProperty(exports, "__esModule", { value: true });
43
- exports.ListWorkRequestsRequest = exports.ListWorkRequestLogsRequest = exports.ListWorkRequestErrorsRequest = exports.ListKnowledgeBasesRequest = exports.ListDataSourcesRequest = exports.ListDataIngestionJobsRequest = exports.ListAgentsRequest = exports.ListAgentEndpointsRequest = void 0;
43
+ exports.ListWorkRequestsRequest = exports.ListWorkRequestLogsRequest = exports.ListWorkRequestErrorsRequest = exports.ListToolsRequest = exports.ListKnowledgeBasesRequest = exports.ListDataSourcesRequest = exports.ListDataIngestionJobsRequest = exports.ListAgentsRequest = exports.ListAgentEndpointsRequest = void 0;
44
44
  const ListAgentEndpointsRequest = __importStar(require("./list-agent-endpoints-request"));
45
45
  exports.ListAgentEndpointsRequest = ListAgentEndpointsRequest.ListAgentEndpointsRequest;
46
46
  const ListAgentsRequest = __importStar(require("./list-agents-request"));
@@ -51,6 +51,8 @@ const ListDataSourcesRequest = __importStar(require("./list-data-sources-request
51
51
  exports.ListDataSourcesRequest = ListDataSourcesRequest.ListDataSourcesRequest;
52
52
  const ListKnowledgeBasesRequest = __importStar(require("./list-knowledge-bases-request"));
53
53
  exports.ListKnowledgeBasesRequest = ListKnowledgeBasesRequest.ListKnowledgeBasesRequest;
54
+ const ListToolsRequest = __importStar(require("./list-tools-request"));
55
+ exports.ListToolsRequest = ListToolsRequest.ListToolsRequest;
54
56
  const ListWorkRequestErrorsRequest = __importStar(require("./list-work-request-errors-request"));
55
57
  exports.ListWorkRequestErrorsRequest = ListWorkRequestErrorsRequest.ListWorkRequestErrorsRequest;
56
58
  const ListWorkRequestLogsRequest = __importStar(require("./list-work-request-logs-request"));
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagent/lib/request/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AA4CH,0FAA4E;AAC9D,QAAA,yBAAyB,GAAG,yBAAyB,CAAC,yBAAyB,CAAC;AAC9F,yEAA2D;AAC7C,QAAA,iBAAiB,GAAG,iBAAiB,CAAC,iBAAiB,CAAC;AACtE,iGAAmF;AACrE,QAAA,4BAA4B,GAAG,4BAA4B,CAAC,4BAA4B,CAAC;AACvG,oFAAsE;AACxD,QAAA,sBAAsB,GAAG,sBAAsB,CAAC,sBAAsB,CAAC;AACrF,0FAA4E;AAC9D,QAAA,yBAAyB,GAAG,yBAAyB,CAAC,yBAAyB,CAAC;AAC9F,iGAAmF;AACrE,QAAA,4BAA4B,GAAG,4BAA4B,CAAC,4BAA4B,CAAC;AACvG,6FAA+E;AACjE,QAAA,0BAA0B,GAAG,0BAA0B,CAAC,0BAA0B,CAAC;AACjG,sFAAwE;AAC1D,QAAA,uBAAuB,GAAG,uBAAuB,CAAC,uBAAuB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagent/lib/request/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAkDH,0FAA4E;AAC9D,QAAA,yBAAyB,GAAG,yBAAyB,CAAC,yBAAyB,CAAC;AAC9F,yEAA2D;AAC7C,QAAA,iBAAiB,GAAG,iBAAiB,CAAC,iBAAiB,CAAC;AACtE,iGAAmF;AACrE,QAAA,4BAA4B,GAAG,4BAA4B,CAAC,4BAA4B,CAAC;AACvG,oFAAsE;AACxD,QAAA,sBAAsB,GAAG,sBAAsB,CAAC,sBAAsB,CAAC;AACrF,0FAA4E;AAC9D,QAAA,yBAAyB,GAAG,yBAAyB,CAAC,yBAAyB,CAAC;AAC9F,uEAAyD;AAC3C,QAAA,gBAAgB,GAAG,gBAAgB,CAAC,gBAAgB,CAAC;AACnE,iGAAmF;AACrE,QAAA,4BAA4B,GAAG,4BAA4B,CAAC,4BAA4B,CAAC;AACvG,6FAA+E;AACjE,QAAA,0BAA0B,GAAG,0BAA0B,CAAC,0BAA0B,CAAC;AACjG,sFAAwE;AAC1D,QAAA,uBAAuB,GAAG,uBAAuB,CAAC,uBAAuB,CAAC"}