oci-generativeaiagent 2.112.2 → 2.113.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/model/{http-endpoint-no-auth-config.d.ts → agent-tool-config.d.ts} +11 -7
- package/lib/model/{http-endpoint-no-auth-config.js → agent-tool-config.js} +10 -12
- package/lib/model/agent-tool-config.js.map +1 -0
- package/lib/model/basic-auth-secret.d.ts +1 -1
- package/lib/model/create-tool-details.d.ts +1 -1
- package/lib/model/create-tool-details.js.map +1 -1
- package/lib/model/data-ingestion-job-statistics.d.ts +4 -0
- package/lib/model/data-ingestion-job-statistics.js.map +1 -1
- package/lib/model/data-ingestion-job-summary.d.ts +3 -0
- package/lib/model/data-ingestion-job-summary.js +36 -2
- package/lib/model/data-ingestion-job-summary.js.map +1 -1
- package/lib/model/data-ingestion-job-type.d.ts +43 -0
- package/lib/model/data-ingestion-job-type.js +48 -0
- package/lib/model/data-ingestion-job-type.js.map +1 -0
- package/lib/model/data-ingestion-job.d.ts +1 -0
- package/lib/model/data-ingestion-job.js +6 -0
- package/lib/model/data-ingestion-job.js.map +1 -1
- package/lib/model/http-endpoint-api-key-auth-scope-config.d.ts +59 -0
- package/lib/model/http-endpoint-api-key-auth-scope-config.js +73 -0
- package/lib/model/http-endpoint-api-key-auth-scope-config.js.map +1 -0
- package/lib/model/http-endpoint-auth-config.d.ts +9 -2
- package/lib/model/http-endpoint-auth-config.js +14 -33
- package/lib/model/http-endpoint-auth-config.js.map +1 -1
- package/lib/model/{http-endpoint-oci-resource-principal-auth-config.d.ts → http-endpoint-auth-scope-config.d.ts} +6 -8
- package/lib/model/http-endpoint-auth-scope-config.js +97 -0
- package/lib/model/http-endpoint-auth-scope-config.js.map +1 -0
- package/lib/model/http-endpoint-auth-source.d.ts +45 -0
- package/lib/model/http-endpoint-auth-source.js +75 -0
- package/lib/model/http-endpoint-auth-source.js.map +1 -0
- package/lib/model/http-endpoint-basic-auth-scope-config.d.ts +42 -0
- package/lib/model/{http-endpoint-delegated-bearer-auth-config.js → http-endpoint-basic-auth-scope-config.js} +10 -10
- package/lib/model/http-endpoint-basic-auth-scope-config.js.map +1 -0
- package/lib/model/http-endpoint-bearer-auth-scope-config.d.ts +42 -0
- package/lib/model/{http-endpoint-oci-resource-principal-auth-config.js → http-endpoint-bearer-auth-scope-config.js} +10 -10
- package/lib/model/http-endpoint-bearer-auth-scope-config.js.map +1 -0
- package/lib/model/http-endpoint-idcs-auth-scope-config.d.ts +52 -0
- package/lib/model/{http-endpoint-idcs-auth-config.js → http-endpoint-idcs-auth-scope-config.js} +10 -16
- package/lib/model/http-endpoint-idcs-auth-scope-config.js.map +1 -0
- package/lib/model/{http-endpoint-idcs-auth-config.d.ts → http-endpoint-no-auth-scope-config.d.ts} +7 -8
- package/lib/model/http-endpoint-no-auth-scope-config.js +63 -0
- package/lib/model/http-endpoint-no-auth-scope-config.js.map +1 -0
- package/lib/model/{http-endpoint-delegated-bearer-auth-config.d.ts → http-endpoint-oci-auth-scope-config.d.ts} +11 -10
- package/lib/model/http-endpoint-oci-auth-scope-config.js +63 -0
- package/lib/model/http-endpoint-oci-auth-scope-config.js.map +1 -0
- package/lib/model/http-endpoint-tool-config.d.ts +1 -1
- package/lib/model/http-endpoint-tool-config.js.map +1 -1
- package/lib/model/index.d.ts +20 -8
- package/lib/model/index.js +22 -10
- package/lib/model/index.js.map +1 -1
- package/lib/model/knowledge-base-statistics.d.ts +4 -0
- package/lib/model/knowledge-base-statistics.js.map +1 -1
- package/lib/model/sql-tool-config.d.ts +1 -1
- package/lib/model/tool-config.js +4 -0
- package/lib/model/tool-config.js.map +1 -1
- package/lib/model/tool-summary.d.ts +1 -1
- package/lib/model/tool-summary.js.map +1 -1
- package/lib/model/tool.d.ts +1 -1
- package/lib/model/tool.js.map +1 -1
- package/lib/model/update-tool-details.d.ts +1 -1
- package/lib/model/update-tool-details.js.map +1 -1
- package/package.json +3 -3
- package/lib/model/http-endpoint-delegated-bearer-auth-config.js.map +0 -1
- package/lib/model/http-endpoint-idcs-auth-config.js.map +0 -1
- package/lib/model/http-endpoint-no-auth-config.js.map +0 -1
- package/lib/model/http-endpoint-oci-resource-principal-auth-config.js.map +0 -1
|
@@ -21,14 +21,18 @@ To learn more about the service, see the [Generative AI Agents documentation](ht
|
|
|
21
21
|
*/
|
|
22
22
|
import * as model from "../model";
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
24
|
+
* The configuration for Agent as a Tool.
|
|
25
25
|
*
|
|
26
26
|
*/
|
|
27
|
-
export interface
|
|
28
|
-
|
|
27
|
+
export interface AgentToolConfig extends model.ToolConfig {
|
|
28
|
+
/**
|
|
29
|
+
* The AgentEndpoint OCID to be used as a tool in this agent.
|
|
30
|
+
*/
|
|
31
|
+
"agentEndpointId": string;
|
|
32
|
+
"toolConfigType": string;
|
|
29
33
|
}
|
|
30
|
-
export declare namespace
|
|
31
|
-
function getJsonObj(obj:
|
|
32
|
-
const
|
|
33
|
-
function getDeserializedJsonObj(obj:
|
|
34
|
+
export declare namespace AgentToolConfig {
|
|
35
|
+
function getJsonObj(obj: AgentToolConfig, isParentJsonObj?: boolean): object;
|
|
36
|
+
const toolConfigType = "AGENT_TOOL_CONFIG";
|
|
37
|
+
function getDeserializedJsonObj(obj: AgentToolConfig, isParentJsonObj?: boolean): object;
|
|
34
38
|
}
|
|
@@ -40,24 +40,22 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
40
40
|
return result;
|
|
41
41
|
};
|
|
42
42
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
43
|
-
exports.
|
|
43
|
+
exports.AgentToolConfig = void 0;
|
|
44
44
|
const model = __importStar(require("../model"));
|
|
45
|
-
var
|
|
46
|
-
(function (
|
|
45
|
+
var AgentToolConfig;
|
|
46
|
+
(function (AgentToolConfig) {
|
|
47
47
|
function getJsonObj(obj, isParentJsonObj) {
|
|
48
|
-
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
49
|
-
? obj
|
|
50
|
-
: model.HttpEndpointAuthConfig.getJsonObj(obj))), {});
|
|
48
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.ToolConfig.getJsonObj(obj))), {});
|
|
51
49
|
return jsonObj;
|
|
52
50
|
}
|
|
53
|
-
|
|
54
|
-
|
|
51
|
+
AgentToolConfig.getJsonObj = getJsonObj;
|
|
52
|
+
AgentToolConfig.toolConfigType = "AGENT_TOOL_CONFIG";
|
|
55
53
|
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
56
54
|
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
57
55
|
? obj
|
|
58
|
-
: model.
|
|
56
|
+
: model.ToolConfig.getDeserializedJsonObj(obj))), {});
|
|
59
57
|
return jsonObj;
|
|
60
58
|
}
|
|
61
|
-
|
|
62
|
-
})(
|
|
63
|
-
//# sourceMappingURL=
|
|
59
|
+
AgentToolConfig.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
60
|
+
})(AgentToolConfig = exports.AgentToolConfig || (exports.AgentToolConfig = {}));
|
|
61
|
+
//# sourceMappingURL=agent-tool-config.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agent-tool-config.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagent/lib/model/agent-tool-config.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAgBlC,IAAiB,eAAe,CAoB/B;AApBD,WAAiB,eAAe;IAC9B,SAAgB,UAAU,CAAC,GAAoB,EAAE,eAAyB;QACxE,MAAM,OAAO,mCACR,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAE,KAAK,CAAC,UAAU,CAAC,UAAU,CAAC,GAAG,CAAqB,CAAC,GAC/E,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAPe,0BAAU,aAOzB,CAAA;IACY,8BAAc,GAAG,mBAAmB,CAAC;IAClD,SAAgB,sBAAsB,CAAC,GAAoB,EAAE,eAAyB;QACpF,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,UAAU,CAAC,sBAAsB,CAAC,GAAG,CAAqB,CAAC,GACnE,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IATe,sCAAsB,yBASrC,CAAA;AACH,CAAC,EApBgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAoB/B"}
|
|
@@ -21,7 +21,7 @@ To learn more about the service, see the [Generative AI Agents documentation](ht
|
|
|
21
21
|
*/
|
|
22
22
|
import * as model from "../model";
|
|
23
23
|
/**
|
|
24
|
-
* The details of Basic authentication configured
|
|
24
|
+
* The details of Basic authentication configured using a secret stored in a vault.
|
|
25
25
|
*
|
|
26
26
|
*/
|
|
27
27
|
export interface BasicAuthSecret extends model.SecretDetail {
|
|
@@ -41,7 +41,7 @@ export interface CreateToolDetails {
|
|
|
41
41
|
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
|
42
42
|
*/
|
|
43
43
|
"compartmentId": string;
|
|
44
|
-
"toolConfig": model.SqlToolConfig | model.FunctionCallingToolConfig | model.HttpEndpointToolConfig | model.RagToolConfig;
|
|
44
|
+
"toolConfig": model.SqlToolConfig | model.FunctionCallingToolConfig | model.HttpEndpointToolConfig | model.AgentToolConfig | model.RagToolConfig;
|
|
45
45
|
/**
|
|
46
46
|
* Key-value pairs to allow additional configurations.
|
|
47
47
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-tool-details.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagent/lib/model/create-tool-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"create-tool-details.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagent/lib/model/create-tool-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAoDlC,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"}
|
|
@@ -32,6 +32,10 @@ export interface DataIngestionJobStatistics {
|
|
|
32
32
|
* The number of files that have been successfully ingested during the ingestion. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
33
33
|
*/
|
|
34
34
|
"numberOfIngestedFiles"?: number;
|
|
35
|
+
/**
|
|
36
|
+
* The number of files that have been ignored during the ingestion. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
37
|
+
*/
|
|
38
|
+
"numberOfIgnoredFiles"?: number;
|
|
35
39
|
/**
|
|
36
40
|
* The duration of this ingestion job. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
37
41
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-ingestion-job-statistics.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagent/lib/model/data-ingestion-job-statistics.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;
|
|
1
|
+
{"version":3,"file":"data-ingestion-job-statistics.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagent/lib/model/data-ingestion-job-statistics.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;AA4BH,IAAiB,0BAA0B,CAW1C;AAXD,WAAiB,0BAA0B;IACzC,SAAgB,UAAU,CAAC,GAA+B;QACxD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,qCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA+B;QACpE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,iDAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAW1C"}
|
|
@@ -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
|
* Summary information about a data ingestion job.
|
|
24
25
|
*
|
|
@@ -40,6 +41,8 @@ export interface DataIngestionJobSummary {
|
|
|
40
41
|
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the parent DataSource.
|
|
41
42
|
*/
|
|
42
43
|
"dataSourceId": string;
|
|
44
|
+
"dataIngestionJobType": model.DataIngestionJobType;
|
|
45
|
+
"dataIngestionJobStatistics": model.DataIngestionJobStatistics;
|
|
43
46
|
/**
|
|
44
47
|
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
|
45
48
|
*/
|
|
@@ -20,17 +20,51 @@ 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.DataIngestionJobSummary = void 0;
|
|
44
|
+
const model = __importStar(require("../model"));
|
|
25
45
|
var DataIngestionJobSummary;
|
|
26
46
|
(function (DataIngestionJobSummary) {
|
|
27
47
|
function getJsonObj(obj) {
|
|
28
|
-
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
48
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
49
|
+
"dataIngestionJobType": obj.dataIngestionJobType
|
|
50
|
+
? model.DataIngestionJobType.getJsonObj(obj.dataIngestionJobType)
|
|
51
|
+
: undefined,
|
|
52
|
+
"dataIngestionJobStatistics": obj.dataIngestionJobStatistics
|
|
53
|
+
? model.DataIngestionJobStatistics.getJsonObj(obj.dataIngestionJobStatistics)
|
|
54
|
+
: undefined
|
|
55
|
+
});
|
|
29
56
|
return jsonObj;
|
|
30
57
|
}
|
|
31
58
|
DataIngestionJobSummary.getJsonObj = getJsonObj;
|
|
32
59
|
function getDeserializedJsonObj(obj) {
|
|
33
|
-
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
60
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
61
|
+
"dataIngestionJobType": obj.dataIngestionJobType
|
|
62
|
+
? model.DataIngestionJobType.getDeserializedJsonObj(obj.dataIngestionJobType)
|
|
63
|
+
: undefined,
|
|
64
|
+
"dataIngestionJobStatistics": obj.dataIngestionJobStatistics
|
|
65
|
+
? model.DataIngestionJobStatistics.getDeserializedJsonObj(obj.dataIngestionJobStatistics)
|
|
66
|
+
: undefined
|
|
67
|
+
});
|
|
34
68
|
return jsonObj;
|
|
35
69
|
}
|
|
36
70
|
DataIngestionJobSummary.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-ingestion-job-summary.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagent/lib/model/data-ingestion-job-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG
|
|
1
|
+
{"version":3,"file":"data-ingestion-job-summary.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagent/lib/model/data-ingestion-job-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA+ElC,IAAiB,uBAAuB,CA+BvC;AA/BD,WAAiB,uBAAuB;IACtC,SAAgB,UAAU,CAAC,GAA4B;QACrD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,sBAAsB,EAAE,GAAG,CAAC,oBAAoB;gBAC9C,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,UAAU,CAAC,GAAG,CAAC,oBAAoB,CAAC;gBACjE,CAAC,CAAC,SAAS;YACb,4BAA4B,EAAE,GAAG,CAAC,0BAA0B;gBAC1D,CAAC,CAAC,KAAK,CAAC,0BAA0B,CAAC,UAAU,CAAC,GAAG,CAAC,0BAA0B,CAAC;gBAC7E,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,kCAAU,aAczB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA4B;QACjE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,sBAAsB,EAAE,GAAG,CAAC,oBAAoB;gBAC9C,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,sBAAsB,CAAC,GAAG,CAAC,oBAAoB,CAAC;gBAC7E,CAAC,CAAC,SAAS;YACb,4BAA4B,EAAE,GAAG,CAAC,0BAA0B;gBAC1D,CAAC,CAAC,KAAK,CAAC,0BAA0B,CAAC,sBAAsB,CAAC,GAAG,CAAC,0BAA0B,CAAC;gBACzF,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,8CAAsB,yBAcrC,CAAA;AACH,CAAC,EA/BgB,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QA+BvC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
/**
|
|
23
|
+
* DataIngestionJob type.
|
|
24
|
+
*/
|
|
25
|
+
export interface DataIngestionJobType {
|
|
26
|
+
/**
|
|
27
|
+
* Type of ingestionJob.
|
|
28
|
+
*/
|
|
29
|
+
"type"?: DataIngestionJobType.Type;
|
|
30
|
+
}
|
|
31
|
+
export declare namespace DataIngestionJobType {
|
|
32
|
+
enum Type {
|
|
33
|
+
Cleanup = "CLEANUP",
|
|
34
|
+
Ingestion = "INGESTION",
|
|
35
|
+
/**
|
|
36
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
37
|
+
* version of the SDK.
|
|
38
|
+
*/
|
|
39
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
40
|
+
}
|
|
41
|
+
function getJsonObj(obj: DataIngestionJobType): object;
|
|
42
|
+
function getDeserializedJsonObj(obj: DataIngestionJobType): object;
|
|
43
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24
|
+
exports.DataIngestionJobType = void 0;
|
|
25
|
+
var DataIngestionJobType;
|
|
26
|
+
(function (DataIngestionJobType) {
|
|
27
|
+
let Type;
|
|
28
|
+
(function (Type) {
|
|
29
|
+
Type["Cleanup"] = "CLEANUP";
|
|
30
|
+
Type["Ingestion"] = "INGESTION";
|
|
31
|
+
/**
|
|
32
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
33
|
+
* version of the SDK.
|
|
34
|
+
*/
|
|
35
|
+
Type["UnknownValue"] = "UNKNOWN_VALUE";
|
|
36
|
+
})(Type = DataIngestionJobType.Type || (DataIngestionJobType.Type = {}));
|
|
37
|
+
function getJsonObj(obj) {
|
|
38
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
39
|
+
return jsonObj;
|
|
40
|
+
}
|
|
41
|
+
DataIngestionJobType.getJsonObj = getJsonObj;
|
|
42
|
+
function getDeserializedJsonObj(obj) {
|
|
43
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
44
|
+
return jsonObj;
|
|
45
|
+
}
|
|
46
|
+
DataIngestionJobType.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
47
|
+
})(DataIngestionJobType = exports.DataIngestionJobType || (exports.DataIngestionJobType = {}));
|
|
48
|
+
//# sourceMappingURL=data-ingestion-job-type.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-ingestion-job-type.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagent/lib/model/data-ingestion-job-type.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;AAeH,IAAiB,oBAAoB,CAqBpC;AArBD,WAAiB,oBAAoB;IACnC,IAAY,IAQX;IARD,WAAY,IAAI;QACd,2BAAmB,CAAA;QACnB,+BAAuB,CAAA;QACvB;;;WAGG;QACH,sCAA8B,CAAA;IAChC,CAAC,EARW,IAAI,GAAJ,yBAAI,KAAJ,yBAAI,QAQf;IAED,SAAgB,UAAU,CAAC,GAAyB;QAClD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,+BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAyB;QAC9D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,2CAAsB,yBAIrC,CAAA;AACH,CAAC,EArBgB,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAqBpC"}
|
|
@@ -51,6 +51,7 @@ export interface DataIngestionJob {
|
|
|
51
51
|
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the parent KnowledgeBase.
|
|
52
52
|
*/
|
|
53
53
|
"knowledgeBaseId"?: string;
|
|
54
|
+
"dataIngestionJobType": model.DataIngestionJobType;
|
|
54
55
|
"dataIngestionJobStatistics": model.DataIngestionJobStatistics;
|
|
55
56
|
/**
|
|
56
57
|
* The date and time the data ingestion job was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
|
|
@@ -61,6 +61,9 @@ var DataIngestionJob;
|
|
|
61
61
|
})(LifecycleState = DataIngestionJob.LifecycleState || (DataIngestionJob.LifecycleState = {}));
|
|
62
62
|
function getJsonObj(obj) {
|
|
63
63
|
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
64
|
+
"dataIngestionJobType": obj.dataIngestionJobType
|
|
65
|
+
? model.DataIngestionJobType.getJsonObj(obj.dataIngestionJobType)
|
|
66
|
+
: undefined,
|
|
64
67
|
"dataIngestionJobStatistics": obj.dataIngestionJobStatistics
|
|
65
68
|
? model.DataIngestionJobStatistics.getJsonObj(obj.dataIngestionJobStatistics)
|
|
66
69
|
: undefined
|
|
@@ -70,6 +73,9 @@ var DataIngestionJob;
|
|
|
70
73
|
DataIngestionJob.getJsonObj = getJsonObj;
|
|
71
74
|
function getDeserializedJsonObj(obj) {
|
|
72
75
|
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
76
|
+
"dataIngestionJobType": obj.dataIngestionJobType
|
|
77
|
+
? model.DataIngestionJobType.getDeserializedJsonObj(obj.dataIngestionJobType)
|
|
78
|
+
: undefined,
|
|
73
79
|
"dataIngestionJobStatistics": obj.dataIngestionJobStatistics
|
|
74
80
|
? model.DataIngestionJobStatistics.getDeserializedJsonObj(obj.dataIngestionJobStatistics)
|
|
75
81
|
: undefined
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-ingestion-job.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagent/lib/model/data-ingestion-job.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"data-ingestion-job.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagent/lib/model/data-ingestion-job.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAqFlC,IAAiB,gBAAgB,CA8ChC;AA9CD,WAAiB,gBAAgB;IAC/B,IAAY,cAaX;IAbD,WAAY,cAAc;QACxB,uCAAqB,CAAA;QACrB,4CAA0B,CAAA;QAC1B,qCAAmB,CAAA;QACnB,mCAAiB,CAAA;QACjB,yCAAuB,CAAA;QACvB,uCAAqB,CAAA;QACrB,qCAAmB,CAAA;QACnB;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EAbW,cAAc,GAAd,+BAAc,KAAd,+BAAc,QAazB;IAED,SAAgB,UAAU,CAAC,GAAqB;QAC9C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,sBAAsB,EAAE,GAAG,CAAC,oBAAoB;gBAC9C,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,UAAU,CAAC,GAAG,CAAC,oBAAoB,CAAC;gBACjE,CAAC,CAAC,SAAS;YACb,4BAA4B,EAAE,GAAG,CAAC,0BAA0B;gBAC1D,CAAC,CAAC,KAAK,CAAC,0BAA0B,CAAC,UAAU,CAAC,GAAG,CAAC,0BAA0B,CAAC;gBAC7E,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,2BAAU,aAczB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAqB;QAC1D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,sBAAsB,EAAE,GAAG,CAAC,oBAAoB;gBAC9C,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,sBAAsB,CAAC,GAAG,CAAC,oBAAoB,CAAC;gBAC7E,CAAC,CAAC,SAAS;YACb,4BAA4B,EAAE,GAAG,CAAC,0BAA0B;gBAC1D,CAAC,CAAC,KAAK,CAAC,0BAA0B,CAAC,sBAAsB,CAAC,GAAG,CAAC,0BAA0B,CAAC;gBACzF,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,uCAAsB,yBAcrC,CAAA;AACH,CAAC,EA9CgB,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QA8ChC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
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
|
+
* Specifies authentication using an API key injected either as a header or query parameter.
|
|
25
|
+
* <p>
|
|
26
|
+
- If {@code authScope = AGENT}: The API key is retrieved from OCI Vault using the agent\u2019s identity.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
export interface HttpEndpointApiKeyAuthScopeConfig extends model.HttpEndpointAuthScopeConfig {
|
|
30
|
+
/**
|
|
31
|
+
* The OCID of the vault secret with API key.
|
|
32
|
+
* Required when {@code authScope} is AGENT.
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
"vaultSecretId"?: string;
|
|
36
|
+
/**
|
|
37
|
+
* The location of the API key in the request.
|
|
38
|
+
*/
|
|
39
|
+
"keyLocation": HttpEndpointApiKeyAuthScopeConfig.KeyLocation;
|
|
40
|
+
/**
|
|
41
|
+
* The name of the key parameter in the location.
|
|
42
|
+
*/
|
|
43
|
+
"keyName": string;
|
|
44
|
+
"httpEndpointAuthScopeConfigType": string;
|
|
45
|
+
}
|
|
46
|
+
export declare namespace HttpEndpointApiKeyAuthScopeConfig {
|
|
47
|
+
enum KeyLocation {
|
|
48
|
+
Header = "HEADER",
|
|
49
|
+
QueryParameter = "QUERY_PARAMETER",
|
|
50
|
+
/**
|
|
51
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
52
|
+
* version of the SDK.
|
|
53
|
+
*/
|
|
54
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
55
|
+
}
|
|
56
|
+
function getJsonObj(obj: HttpEndpointApiKeyAuthScopeConfig, isParentJsonObj?: boolean): object;
|
|
57
|
+
const httpEndpointAuthScopeConfigType = "HTTP_ENDPOINT_API_KEY_AUTH_SCOPE_CONFIG";
|
|
58
|
+
function getDeserializedJsonObj(obj: HttpEndpointApiKeyAuthScopeConfig, isParentJsonObj?: boolean): object;
|
|
59
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
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.HttpEndpointApiKeyAuthScopeConfig = void 0;
|
|
44
|
+
const model = __importStar(require("../model"));
|
|
45
|
+
var HttpEndpointApiKeyAuthScopeConfig;
|
|
46
|
+
(function (HttpEndpointApiKeyAuthScopeConfig) {
|
|
47
|
+
let KeyLocation;
|
|
48
|
+
(function (KeyLocation) {
|
|
49
|
+
KeyLocation["Header"] = "HEADER";
|
|
50
|
+
KeyLocation["QueryParameter"] = "QUERY_PARAMETER";
|
|
51
|
+
/**
|
|
52
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
53
|
+
* version of the SDK.
|
|
54
|
+
*/
|
|
55
|
+
KeyLocation["UnknownValue"] = "UNKNOWN_VALUE";
|
|
56
|
+
})(KeyLocation = HttpEndpointApiKeyAuthScopeConfig.KeyLocation || (HttpEndpointApiKeyAuthScopeConfig.KeyLocation = {}));
|
|
57
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
58
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
59
|
+
? obj
|
|
60
|
+
: model.HttpEndpointAuthScopeConfig.getJsonObj(obj))), {});
|
|
61
|
+
return jsonObj;
|
|
62
|
+
}
|
|
63
|
+
HttpEndpointApiKeyAuthScopeConfig.getJsonObj = getJsonObj;
|
|
64
|
+
HttpEndpointApiKeyAuthScopeConfig.httpEndpointAuthScopeConfigType = "HTTP_ENDPOINT_API_KEY_AUTH_SCOPE_CONFIG";
|
|
65
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
66
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
67
|
+
? obj
|
|
68
|
+
: model.HttpEndpointAuthScopeConfig.getDeserializedJsonObj(obj))), {});
|
|
69
|
+
return jsonObj;
|
|
70
|
+
}
|
|
71
|
+
HttpEndpointApiKeyAuthScopeConfig.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
72
|
+
})(HttpEndpointApiKeyAuthScopeConfig = exports.HttpEndpointApiKeyAuthScopeConfig || (exports.HttpEndpointApiKeyAuthScopeConfig = {}));
|
|
73
|
+
//# sourceMappingURL=http-endpoint-api-key-auth-scope-config.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"http-endpoint-api-key-auth-scope-config.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagent/lib/model/http-endpoint-api-key-auth-scope-config.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA4BlC,IAAiB,iCAAiC,CAwCjD;AAxCD,WAAiB,iCAAiC;IAChD,IAAY,WAQX;IARD,WAAY,WAAW;QACrB,gCAAiB,CAAA;QACjB,iDAAkC,CAAA;QAClC;;;WAGG;QACH,6CAA8B,CAAA;IAChC,CAAC,EARW,WAAW,GAAX,6CAAW,KAAX,6CAAW,QAQtB;IAED,SAAgB,UAAU,CACxB,GAAsC,EACtC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,2BAA2B,CAAC,UAAU,CAAC,GAAG,CAAuC,CAAC,GAC1F,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,4CAAU,aAYzB,CAAA;IACY,iEAA+B,GAAG,yCAAyC,CAAC;IACzF,SAAgB,sBAAsB,CACpC,GAAsC,EACtC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,2BAA2B,CAAC,sBAAsB,CACvD,GAAG,CACkC,CAAC,GACzC,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,wDAAsB,yBAcrC,CAAA;AACH,CAAC,EAxCgB,iCAAiC,GAAjC,yCAAiC,KAAjC,yCAAiC,QAwCjD"}
|
|
@@ -19,12 +19,19 @@ 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
|
+
* Authentication configuration used for HTTP Endpoint tools. Defines the type of authentication
|
|
25
|
+
* and the source of credentials.
|
|
24
26
|
*
|
|
25
27
|
*/
|
|
26
28
|
export interface HttpEndpointAuthConfig {
|
|
27
|
-
|
|
29
|
+
/**
|
|
30
|
+
* A list of credential sources from which authentication credentials can be resolved.
|
|
31
|
+
* Only AGENT is supported for HTTP Endpoint Tool.
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
"httpEndpointAuthSources": Array<model.HttpEndpointAuthSource>;
|
|
28
35
|
}
|
|
29
36
|
export declare namespace HttpEndpointAuthConfig {
|
|
30
37
|
function getJsonObj(obj: HttpEndpointAuthConfig): object;
|
|
@@ -42,46 +42,27 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
42
42
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
43
43
|
exports.HttpEndpointAuthConfig = void 0;
|
|
44
44
|
const model = __importStar(require("../model"));
|
|
45
|
-
const common = require("oci-common");
|
|
46
45
|
var HttpEndpointAuthConfig;
|
|
47
46
|
(function (HttpEndpointAuthConfig) {
|
|
48
47
|
function getJsonObj(obj) {
|
|
49
|
-
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
case "HTTP_ENDPOINT_NO_AUTH_CONFIG":
|
|
57
|
-
return model.HttpEndpointNoAuthConfig.getJsonObj(jsonObj, true);
|
|
58
|
-
case "HTTP_ENDPOINT_OCI_RESOURCE_PRINCIPAL_AUTH_CONFIG":
|
|
59
|
-
return model.HttpEndpointOciResourcePrincipalAuthConfig.getJsonObj(jsonObj, true);
|
|
60
|
-
default:
|
|
61
|
-
if (common.LOG.logger)
|
|
62
|
-
common.LOG.logger.info(`Unknown value for: ${obj.httpEndpointAuthConfigType}`);
|
|
63
|
-
}
|
|
64
|
-
}
|
|
48
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
49
|
+
"httpEndpointAuthSources": obj.httpEndpointAuthSources
|
|
50
|
+
? obj.httpEndpointAuthSources.map(item => {
|
|
51
|
+
return model.HttpEndpointAuthSource.getJsonObj(item);
|
|
52
|
+
})
|
|
53
|
+
: undefined
|
|
54
|
+
});
|
|
65
55
|
return jsonObj;
|
|
66
56
|
}
|
|
67
57
|
HttpEndpointAuthConfig.getJsonObj = getJsonObj;
|
|
68
58
|
function getDeserializedJsonObj(obj) {
|
|
69
|
-
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
case "HTTP_ENDPOINT_NO_AUTH_CONFIG":
|
|
77
|
-
return model.HttpEndpointNoAuthConfig.getDeserializedJsonObj(jsonObj, true);
|
|
78
|
-
case "HTTP_ENDPOINT_OCI_RESOURCE_PRINCIPAL_AUTH_CONFIG":
|
|
79
|
-
return model.HttpEndpointOciResourcePrincipalAuthConfig.getDeserializedJsonObj(jsonObj, true);
|
|
80
|
-
default:
|
|
81
|
-
if (common.LOG.logger)
|
|
82
|
-
common.LOG.logger.info(`Unknown value for: ${obj.httpEndpointAuthConfigType}`);
|
|
83
|
-
}
|
|
84
|
-
}
|
|
59
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
60
|
+
"httpEndpointAuthSources": obj.httpEndpointAuthSources
|
|
61
|
+
? obj.httpEndpointAuthSources.map(item => {
|
|
62
|
+
return model.HttpEndpointAuthSource.getDeserializedJsonObj(item);
|
|
63
|
+
})
|
|
64
|
+
: undefined
|
|
65
|
+
});
|
|
85
66
|
return jsonObj;
|
|
86
67
|
}
|
|
87
68
|
HttpEndpointAuthConfig.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"http-endpoint-auth-config.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagent/lib/model/http-endpoint-auth-config.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"http-endpoint-auth-config.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagent/lib/model/http-endpoint-auth-config.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAiBlC,IAAiB,sBAAsB,CA6BtC;AA7BD,WAAiB,sBAAsB;IACrC,SAAgB,UAAU,CAAC,GAA2B;QACpD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,yBAAyB,EAAE,GAAG,CAAC,uBAAuB;gBACpD,CAAC,CAAC,GAAG,CAAC,uBAAuB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACrC,OAAO,KAAK,CAAC,sBAAsB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACvD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,iCAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA2B;QAChE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,yBAAyB,EAAE,GAAG,CAAC,uBAAuB;gBACpD,CAAC,CAAC,GAAG,CAAC,uBAAuB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACrC,OAAO,KAAK,CAAC,sBAAsB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACnE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,6CAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QA6BtC"}
|
|
@@ -19,16 +19,14 @@ 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";
|
|
23
22
|
/**
|
|
24
|
-
*
|
|
23
|
+
* Subset of AuthScopeConfig allowed for HTTP Endpoint Tool.
|
|
25
24
|
*
|
|
26
25
|
*/
|
|
27
|
-
export interface
|
|
28
|
-
"
|
|
26
|
+
export interface HttpEndpointAuthScopeConfig {
|
|
27
|
+
"httpEndpointAuthScopeConfigType": string;
|
|
29
28
|
}
|
|
30
|
-
export declare namespace
|
|
31
|
-
function getJsonObj(obj:
|
|
32
|
-
|
|
33
|
-
function getDeserializedJsonObj(obj: HttpEndpointOciResourcePrincipalAuthConfig, isParentJsonObj?: boolean): object;
|
|
29
|
+
export declare namespace HttpEndpointAuthScopeConfig {
|
|
30
|
+
function getJsonObj(obj: HttpEndpointAuthScopeConfig): object;
|
|
31
|
+
function getDeserializedJsonObj(obj: HttpEndpointAuthScopeConfig): object;
|
|
34
32
|
}
|