oci-generativeaiagent 2.112.1 → 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
|
@@ -0,0 +1,97 @@
|
|
|
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.HttpEndpointAuthScopeConfig = void 0;
|
|
44
|
+
const model = __importStar(require("../model"));
|
|
45
|
+
const common = require("oci-common");
|
|
46
|
+
var HttpEndpointAuthScopeConfig;
|
|
47
|
+
(function (HttpEndpointAuthScopeConfig) {
|
|
48
|
+
function getJsonObj(obj) {
|
|
49
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
50
|
+
if (obj && "httpEndpointAuthScopeConfigType" in obj && obj.httpEndpointAuthScopeConfigType) {
|
|
51
|
+
switch (obj.httpEndpointAuthScopeConfigType) {
|
|
52
|
+
case "HTTP_ENDPOINT_BEARER_AUTH_SCOPE_CONFIG":
|
|
53
|
+
return model.HttpEndpointBearerAuthScopeConfig.getJsonObj(jsonObj, true);
|
|
54
|
+
case "HTTP_ENDPOINT_NO_AUTH_SCOPE_CONFIG":
|
|
55
|
+
return model.HttpEndpointNoAuthScopeConfig.getJsonObj(jsonObj, true);
|
|
56
|
+
case "HTTP_ENDPOINT_BASIC_AUTH_SCOPE_CONFIG":
|
|
57
|
+
return model.HttpEndpointBasicAuthScopeConfig.getJsonObj(jsonObj, true);
|
|
58
|
+
case "HTTP_ENDPOINT_OCI_AUTH_SCOPE_CONFIG":
|
|
59
|
+
return model.HttpEndpointOciAuthScopeConfig.getJsonObj(jsonObj, true);
|
|
60
|
+
case "HTTP_ENDPOINT_IDCS_AUTH_SCOPE_CONFIG":
|
|
61
|
+
return model.HttpEndpointIdcsAuthScopeConfig.getJsonObj(jsonObj, true);
|
|
62
|
+
case "HTTP_ENDPOINT_API_KEY_AUTH_SCOPE_CONFIG":
|
|
63
|
+
return model.HttpEndpointApiKeyAuthScopeConfig.getJsonObj(jsonObj, true);
|
|
64
|
+
default:
|
|
65
|
+
if (common.LOG.logger)
|
|
66
|
+
common.LOG.logger.info(`Unknown value for: ${obj.httpEndpointAuthScopeConfigType}`);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
return jsonObj;
|
|
70
|
+
}
|
|
71
|
+
HttpEndpointAuthScopeConfig.getJsonObj = getJsonObj;
|
|
72
|
+
function getDeserializedJsonObj(obj) {
|
|
73
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
74
|
+
if (obj && "httpEndpointAuthScopeConfigType" in obj && obj.httpEndpointAuthScopeConfigType) {
|
|
75
|
+
switch (obj.httpEndpointAuthScopeConfigType) {
|
|
76
|
+
case "HTTP_ENDPOINT_BEARER_AUTH_SCOPE_CONFIG":
|
|
77
|
+
return model.HttpEndpointBearerAuthScopeConfig.getDeserializedJsonObj(jsonObj, true);
|
|
78
|
+
case "HTTP_ENDPOINT_NO_AUTH_SCOPE_CONFIG":
|
|
79
|
+
return model.HttpEndpointNoAuthScopeConfig.getDeserializedJsonObj(jsonObj, true);
|
|
80
|
+
case "HTTP_ENDPOINT_BASIC_AUTH_SCOPE_CONFIG":
|
|
81
|
+
return model.HttpEndpointBasicAuthScopeConfig.getDeserializedJsonObj(jsonObj, true);
|
|
82
|
+
case "HTTP_ENDPOINT_OCI_AUTH_SCOPE_CONFIG":
|
|
83
|
+
return model.HttpEndpointOciAuthScopeConfig.getDeserializedJsonObj(jsonObj, true);
|
|
84
|
+
case "HTTP_ENDPOINT_IDCS_AUTH_SCOPE_CONFIG":
|
|
85
|
+
return model.HttpEndpointIdcsAuthScopeConfig.getDeserializedJsonObj(jsonObj, true);
|
|
86
|
+
case "HTTP_ENDPOINT_API_KEY_AUTH_SCOPE_CONFIG":
|
|
87
|
+
return model.HttpEndpointApiKeyAuthScopeConfig.getDeserializedJsonObj(jsonObj, true);
|
|
88
|
+
default:
|
|
89
|
+
if (common.LOG.logger)
|
|
90
|
+
common.LOG.logger.info(`Unknown value for: ${obj.httpEndpointAuthScopeConfigType}`);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
return jsonObj;
|
|
94
|
+
}
|
|
95
|
+
HttpEndpointAuthScopeConfig.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
96
|
+
})(HttpEndpointAuthScopeConfig = exports.HttpEndpointAuthScopeConfig || (exports.HttpEndpointAuthScopeConfig = {}));
|
|
97
|
+
//# sourceMappingURL=http-endpoint-auth-scope-config.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"http-endpoint-auth-scope-config.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagent/lib/model/http-endpoint-auth-scope-config.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAUtC,IAAiB,2BAA2B,CAqF3C;AArFD,WAAiB,2BAA2B;IAC1C,SAAgB,UAAU,CAAC,GAAgC;QACzD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,iCAAiC,IAAI,GAAG,IAAI,GAAG,CAAC,+BAA+B,EAAE;YAC1F,QAAQ,GAAG,CAAC,+BAA+B,EAAE;gBAC3C,KAAK,wCAAwC;oBAC3C,OAAO,KAAK,CAAC,iCAAiC,CAAC,UAAU,CACL,OAAQ,EAC1D,IAAI,CACL,CAAC;gBACJ,KAAK,oCAAoC;oBACvC,OAAO,KAAK,CAAC,6BAA6B,CAAC,UAAU,CACL,OAAQ,EACtD,IAAI,CACL,CAAC;gBACJ,KAAK,uCAAuC;oBAC1C,OAAO,KAAK,CAAC,gCAAgC,CAAC,UAAU,CACL,OAAQ,EACzD,IAAI,CACL,CAAC;gBACJ,KAAK,qCAAqC;oBACxC,OAAO,KAAK,CAAC,8BAA8B,CAAC,UAAU,CACL,OAAQ,EACvD,IAAI,CACL,CAAC;gBACJ,KAAK,sCAAsC;oBACzC,OAAO,KAAK,CAAC,+BAA+B,CAAC,UAAU,CACL,OAAQ,EACxD,IAAI,CACL,CAAC;gBACJ,KAAK,yCAAyC;oBAC5C,OAAO,KAAK,CAAC,iCAAiC,CAAC,UAAU,CACL,OAAQ,EAC1D,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBACnB,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,+BAA+B,EAAE,CAAC,CAAC;aACzF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAzCe,sCAAU,aAyCzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAgC;QACrE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,iCAAiC,IAAI,GAAG,IAAI,GAAG,CAAC,+BAA+B,EAAE;YAC1F,QAAQ,GAAG,CAAC,+BAA+B,EAAE;gBAC3C,KAAK,wCAAwC;oBAC3C,OAAO,KAAK,CAAC,iCAAiC,CAAC,sBAAsB,CACjB,OAAQ,EAC1D,IAAI,CACL,CAAC;gBACJ,KAAK,oCAAoC;oBACvC,OAAO,KAAK,CAAC,6BAA6B,CAAC,sBAAsB,CACjB,OAAQ,EACtD,IAAI,CACL,CAAC;gBACJ,KAAK,uCAAuC;oBAC1C,OAAO,KAAK,CAAC,gCAAgC,CAAC,sBAAsB,CACjB,OAAQ,EACzD,IAAI,CACL,CAAC;gBACJ,KAAK,qCAAqC;oBACxC,OAAO,KAAK,CAAC,8BAA8B,CAAC,sBAAsB,CACjB,OAAQ,EACvD,IAAI,CACL,CAAC;gBACJ,KAAK,sCAAsC;oBACzC,OAAO,KAAK,CAAC,+BAA+B,CAAC,sBAAsB,CACjB,OAAQ,EACxD,IAAI,CACL,CAAC;gBACJ,KAAK,yCAAyC;oBAC5C,OAAO,KAAK,CAAC,iCAAiC,CAAC,sBAAsB,CACjB,OAAQ,EAC1D,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBACnB,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,+BAA+B,EAAE,CAAC,CAAC;aACzF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAzCe,kDAAsB,yBAyCrC,CAAA;AACH,CAAC,EArFgB,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QAqF3C"}
|
|
@@ -0,0 +1,45 @@
|
|
|
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
|
+
* A credential source and configuration for a specific scope to HTTP Endpoint tools.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export interface HttpEndpointAuthSource {
|
|
28
|
+
/**
|
|
29
|
+
* Specifies the level from which credentials should be resolved.
|
|
30
|
+
*/
|
|
31
|
+
"httpEndpointAuthScope": HttpEndpointAuthSource.HttpEndpointAuthScope;
|
|
32
|
+
"httpEndpointAuthScopeConfig": model.HttpEndpointBearerAuthScopeConfig | model.HttpEndpointNoAuthScopeConfig | model.HttpEndpointBasicAuthScopeConfig | model.HttpEndpointOciAuthScopeConfig | model.HttpEndpointIdcsAuthScopeConfig | model.HttpEndpointApiKeyAuthScopeConfig;
|
|
33
|
+
}
|
|
34
|
+
export declare namespace HttpEndpointAuthSource {
|
|
35
|
+
enum HttpEndpointAuthScope {
|
|
36
|
+
Agent = "AGENT",
|
|
37
|
+
/**
|
|
38
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
39
|
+
* version of the SDK.
|
|
40
|
+
*/
|
|
41
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
42
|
+
}
|
|
43
|
+
function getJsonObj(obj: HttpEndpointAuthSource): object;
|
|
44
|
+
function getDeserializedJsonObj(obj: HttpEndpointAuthSource): object;
|
|
45
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
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.HttpEndpointAuthSource = void 0;
|
|
44
|
+
const model = __importStar(require("../model"));
|
|
45
|
+
var HttpEndpointAuthSource;
|
|
46
|
+
(function (HttpEndpointAuthSource) {
|
|
47
|
+
let HttpEndpointAuthScope;
|
|
48
|
+
(function (HttpEndpointAuthScope) {
|
|
49
|
+
HttpEndpointAuthScope["Agent"] = "AGENT";
|
|
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
|
+
HttpEndpointAuthScope["UnknownValue"] = "UNKNOWN_VALUE";
|
|
55
|
+
})(HttpEndpointAuthScope = HttpEndpointAuthSource.HttpEndpointAuthScope || (HttpEndpointAuthSource.HttpEndpointAuthScope = {}));
|
|
56
|
+
function getJsonObj(obj) {
|
|
57
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
58
|
+
"httpEndpointAuthScopeConfig": obj.httpEndpointAuthScopeConfig
|
|
59
|
+
? model.HttpEndpointAuthScopeConfig.getJsonObj(obj.httpEndpointAuthScopeConfig)
|
|
60
|
+
: undefined
|
|
61
|
+
});
|
|
62
|
+
return jsonObj;
|
|
63
|
+
}
|
|
64
|
+
HttpEndpointAuthSource.getJsonObj = getJsonObj;
|
|
65
|
+
function getDeserializedJsonObj(obj) {
|
|
66
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
67
|
+
"httpEndpointAuthScopeConfig": obj.httpEndpointAuthScopeConfig
|
|
68
|
+
? model.HttpEndpointAuthScopeConfig.getDeserializedJsonObj(obj.httpEndpointAuthScopeConfig)
|
|
69
|
+
: undefined
|
|
70
|
+
});
|
|
71
|
+
return jsonObj;
|
|
72
|
+
}
|
|
73
|
+
HttpEndpointAuthSource.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
74
|
+
})(HttpEndpointAuthSource = exports.HttpEndpointAuthSource || (exports.HttpEndpointAuthSource = {}));
|
|
75
|
+
//# sourceMappingURL=http-endpoint-auth-source.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"http-endpoint-auth-source.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagent/lib/model/http-endpoint-auth-source.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAqBlC,IAAiB,sBAAsB,CAoCtC;AApCD,WAAiB,sBAAsB;IACrC,IAAY,qBAOX;IAPD,WAAY,qBAAqB;QAC/B,wCAAe,CAAA;QACf;;;WAGG;QACH,uDAA8B,CAAA;IAChC,CAAC,EAPW,qBAAqB,GAArB,4CAAqB,KAArB,4CAAqB,QAOhC;IAED,SAAgB,UAAU,CAAC,GAA2B;QACpD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,6BAA6B,EAAE,GAAG,CAAC,2BAA2B;gBAC5D,CAAC,CAAC,KAAK,CAAC,2BAA2B,CAAC,UAAU,CAAC,GAAG,CAAC,2BAA2B,CAAC;gBAC/E,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,iCAAU,aAWzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA2B;QAChE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,6BAA6B,EAAE,GAAG,CAAC,2BAA2B;gBAC5D,CAAC,CAAC,KAAK,CAAC,2BAA2B,CAAC,sBAAsB,CACtD,GAAG,CAAC,2BAA2B,CAChC;gBACH,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,6CAAsB,yBAarC,CAAA;AACH,CAAC,EApCgB,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAoCtC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
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 HTTP Basic Authentication using base64-encoded username:password credentials injected into the {@code Authorization} header.
|
|
25
|
+
* <p>
|
|
26
|
+
- If {@code authScope = AGENT}: Credentials are securely retrieved from OCI Vault.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
export interface HttpEndpointBasicAuthScopeConfig extends model.HttpEndpointAuthScopeConfig {
|
|
30
|
+
/**
|
|
31
|
+
* The OCID of the vault secret with username:password.
|
|
32
|
+
* Required when {@code authScope} is AGENT.
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
"vaultSecretId"?: string;
|
|
36
|
+
"httpEndpointAuthScopeConfigType": string;
|
|
37
|
+
}
|
|
38
|
+
export declare namespace HttpEndpointBasicAuthScopeConfig {
|
|
39
|
+
function getJsonObj(obj: HttpEndpointBasicAuthScopeConfig, isParentJsonObj?: boolean): object;
|
|
40
|
+
const httpEndpointAuthScopeConfigType = "HTTP_ENDPOINT_BASIC_AUTH_SCOPE_CONFIG";
|
|
41
|
+
function getDeserializedJsonObj(obj: HttpEndpointBasicAuthScopeConfig, isParentJsonObj?: boolean): object;
|
|
42
|
+
}
|
|
@@ -40,24 +40,24 @@ 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.HttpEndpointBasicAuthScopeConfig = void 0;
|
|
44
44
|
const model = __importStar(require("../model"));
|
|
45
|
-
var
|
|
46
|
-
(function (
|
|
45
|
+
var HttpEndpointBasicAuthScopeConfig;
|
|
46
|
+
(function (HttpEndpointBasicAuthScopeConfig) {
|
|
47
47
|
function getJsonObj(obj, isParentJsonObj) {
|
|
48
48
|
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
49
49
|
? obj
|
|
50
|
-
: model.
|
|
50
|
+
: model.HttpEndpointAuthScopeConfig.getJsonObj(obj))), {});
|
|
51
51
|
return jsonObj;
|
|
52
52
|
}
|
|
53
|
-
|
|
54
|
-
|
|
53
|
+
HttpEndpointBasicAuthScopeConfig.getJsonObj = getJsonObj;
|
|
54
|
+
HttpEndpointBasicAuthScopeConfig.httpEndpointAuthScopeConfigType = "HTTP_ENDPOINT_BASIC_AUTH_SCOPE_CONFIG";
|
|
55
55
|
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
56
56
|
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
57
57
|
? obj
|
|
58
|
-
: model.
|
|
58
|
+
: model.HttpEndpointAuthScopeConfig.getDeserializedJsonObj(obj))), {});
|
|
59
59
|
return jsonObj;
|
|
60
60
|
}
|
|
61
|
-
|
|
62
|
-
})(
|
|
63
|
-
//# sourceMappingURL=http-endpoint-
|
|
61
|
+
HttpEndpointBasicAuthScopeConfig.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
62
|
+
})(HttpEndpointBasicAuthScopeConfig = exports.HttpEndpointBasicAuthScopeConfig || (exports.HttpEndpointBasicAuthScopeConfig = {}));
|
|
63
|
+
//# sourceMappingURL=http-endpoint-basic-auth-scope-config.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"http-endpoint-basic-auth-scope-config.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagent/lib/model/http-endpoint-basic-auth-scope-config.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAoBlC,IAAiB,gCAAgC,CA8BhD;AA9BD,WAAiB,gCAAgC;IAC/C,SAAgB,UAAU,CACxB,GAAqC,EACrC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,2BAA2B,CAAC,UAAU,CAAC,GAAG,CAAsC,CAAC,GACzF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,2CAAU,aAYzB,CAAA;IACY,gEAA+B,GAAG,uCAAuC,CAAC;IACvF,SAAgB,sBAAsB,CACpC,GAAqC,EACrC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,2BAA2B,CAAC,sBAAsB,CACvD,GAAG,CACiC,CAAC,GACxC,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,uDAAsB,yBAcrC,CAAA;AACH,CAAC,EA9BgB,gCAAgC,GAAhC,wCAAgC,KAAhC,wCAAgC,QA8BhD"}
|
|
@@ -0,0 +1,42 @@
|
|
|
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 a Bearer token, which is injected into the {@code Authorization} header at runtime.
|
|
25
|
+
* <p>
|
|
26
|
+
- If {@code authScope = AGENT}: A static token is retrieved securely from OCI Vault using the agent\u2019s resource principal.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
export interface HttpEndpointBearerAuthScopeConfig extends model.HttpEndpointAuthScopeConfig {
|
|
30
|
+
/**
|
|
31
|
+
* The OCID of the vault secret with the bearer token.
|
|
32
|
+
* Required when {@code authScope} is AGENT.
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
"vaultSecretId"?: string;
|
|
36
|
+
"httpEndpointAuthScopeConfigType": string;
|
|
37
|
+
}
|
|
38
|
+
export declare namespace HttpEndpointBearerAuthScopeConfig {
|
|
39
|
+
function getJsonObj(obj: HttpEndpointBearerAuthScopeConfig, isParentJsonObj?: boolean): object;
|
|
40
|
+
const httpEndpointAuthScopeConfigType = "HTTP_ENDPOINT_BEARER_AUTH_SCOPE_CONFIG";
|
|
41
|
+
function getDeserializedJsonObj(obj: HttpEndpointBearerAuthScopeConfig, isParentJsonObj?: boolean): object;
|
|
42
|
+
}
|
|
@@ -40,24 +40,24 @@ 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.HttpEndpointBearerAuthScopeConfig = void 0;
|
|
44
44
|
const model = __importStar(require("../model"));
|
|
45
|
-
var
|
|
46
|
-
(function (
|
|
45
|
+
var HttpEndpointBearerAuthScopeConfig;
|
|
46
|
+
(function (HttpEndpointBearerAuthScopeConfig) {
|
|
47
47
|
function getJsonObj(obj, isParentJsonObj) {
|
|
48
48
|
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
49
49
|
? obj
|
|
50
|
-
: model.
|
|
50
|
+
: model.HttpEndpointAuthScopeConfig.getJsonObj(obj))), {});
|
|
51
51
|
return jsonObj;
|
|
52
52
|
}
|
|
53
|
-
|
|
54
|
-
|
|
53
|
+
HttpEndpointBearerAuthScopeConfig.getJsonObj = getJsonObj;
|
|
54
|
+
HttpEndpointBearerAuthScopeConfig.httpEndpointAuthScopeConfigType = "HTTP_ENDPOINT_BEARER_AUTH_SCOPE_CONFIG";
|
|
55
55
|
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
56
56
|
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
57
57
|
? obj
|
|
58
|
-
: model.
|
|
58
|
+
: model.HttpEndpointAuthScopeConfig.getDeserializedJsonObj(obj))), {});
|
|
59
59
|
return jsonObj;
|
|
60
60
|
}
|
|
61
|
-
|
|
62
|
-
})(
|
|
63
|
-
//# sourceMappingURL=http-endpoint-
|
|
61
|
+
HttpEndpointBearerAuthScopeConfig.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
62
|
+
})(HttpEndpointBearerAuthScopeConfig = exports.HttpEndpointBearerAuthScopeConfig || (exports.HttpEndpointBearerAuthScopeConfig = {}));
|
|
63
|
+
//# sourceMappingURL=http-endpoint-bearer-auth-scope-config.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"http-endpoint-bearer-auth-scope-config.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagent/lib/model/http-endpoint-bearer-auth-scope-config.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAoBlC,IAAiB,iCAAiC,CA8BjD;AA9BD,WAAiB,iCAAiC;IAChD,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,wCAAwC,CAAC;IACxF,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,EA9BgB,iCAAiC,GAAjC,yCAAiC,KAAjC,yCAAiC,QA8BjD"}
|
|
@@ -0,0 +1,52 @@
|
|
|
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 Oracle Identity Cloud Service (IDCS), leveraging OAuth 2.0 Client Credentials grant type.
|
|
25
|
+
* <p>
|
|
26
|
+
- Only supported with {@code authScope = AGENT}.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
export interface HttpEndpointIdcsAuthScopeConfig extends model.HttpEndpointAuthScopeConfig {
|
|
30
|
+
/**
|
|
31
|
+
* IDCS OpenID discovery endpoint.
|
|
32
|
+
*/
|
|
33
|
+
"idcsUrl": string;
|
|
34
|
+
/**
|
|
35
|
+
* OAuth2 scopes for token generation.
|
|
36
|
+
*/
|
|
37
|
+
"scopeUrl": string;
|
|
38
|
+
/**
|
|
39
|
+
* IDCS client ID.
|
|
40
|
+
*/
|
|
41
|
+
"clientId": string;
|
|
42
|
+
/**
|
|
43
|
+
* Vault secret OCID containing the client secret.
|
|
44
|
+
*/
|
|
45
|
+
"vaultSecretId": string;
|
|
46
|
+
"httpEndpointAuthScopeConfigType": string;
|
|
47
|
+
}
|
|
48
|
+
export declare namespace HttpEndpointIdcsAuthScopeConfig {
|
|
49
|
+
function getJsonObj(obj: HttpEndpointIdcsAuthScopeConfig, isParentJsonObj?: boolean): object;
|
|
50
|
+
const httpEndpointAuthScopeConfigType = "HTTP_ENDPOINT_IDCS_AUTH_SCOPE_CONFIG";
|
|
51
|
+
function getDeserializedJsonObj(obj: HttpEndpointIdcsAuthScopeConfig, isParentJsonObj?: boolean): object;
|
|
52
|
+
}
|
package/lib/model/{http-endpoint-idcs-auth-config.js → http-endpoint-idcs-auth-scope-config.js}
RENAMED
|
@@ -40,30 +40,24 @@ 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.HttpEndpointIdcsAuthScopeConfig = void 0;
|
|
44
44
|
const model = __importStar(require("../model"));
|
|
45
|
-
var
|
|
46
|
-
(function (
|
|
45
|
+
var HttpEndpointIdcsAuthScopeConfig;
|
|
46
|
+
(function (HttpEndpointIdcsAuthScopeConfig) {
|
|
47
47
|
function getJsonObj(obj, isParentJsonObj) {
|
|
48
48
|
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
49
49
|
? obj
|
|
50
|
-
: model.
|
|
51
|
-
"idcsSecret": obj.idcsSecret ? model.IdcsSecret.getJsonObj(obj.idcsSecret) : undefined
|
|
52
|
-
});
|
|
50
|
+
: model.HttpEndpointAuthScopeConfig.getJsonObj(obj))), {});
|
|
53
51
|
return jsonObj;
|
|
54
52
|
}
|
|
55
|
-
|
|
56
|
-
|
|
53
|
+
HttpEndpointIdcsAuthScopeConfig.getJsonObj = getJsonObj;
|
|
54
|
+
HttpEndpointIdcsAuthScopeConfig.httpEndpointAuthScopeConfigType = "HTTP_ENDPOINT_IDCS_AUTH_SCOPE_CONFIG";
|
|
57
55
|
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
58
56
|
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
59
57
|
? obj
|
|
60
|
-
: model.
|
|
61
|
-
"idcsSecret": obj.idcsSecret
|
|
62
|
-
? model.IdcsSecret.getDeserializedJsonObj(obj.idcsSecret)
|
|
63
|
-
: undefined
|
|
64
|
-
});
|
|
58
|
+
: model.HttpEndpointAuthScopeConfig.getDeserializedJsonObj(obj))), {});
|
|
65
59
|
return jsonObj;
|
|
66
60
|
}
|
|
67
|
-
|
|
68
|
-
})(
|
|
69
|
-
//# sourceMappingURL=http-endpoint-idcs-auth-config.js.map
|
|
61
|
+
HttpEndpointIdcsAuthScopeConfig.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
62
|
+
})(HttpEndpointIdcsAuthScopeConfig = exports.HttpEndpointIdcsAuthScopeConfig || (exports.HttpEndpointIdcsAuthScopeConfig = {}));
|
|
63
|
+
//# sourceMappingURL=http-endpoint-idcs-auth-scope-config.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"http-endpoint-idcs-auth-scope-config.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagent/lib/model/http-endpoint-idcs-auth-scope-config.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA8BlC,IAAiB,+BAA+B,CA8B/C;AA9BD,WAAiB,+BAA+B;IAC9C,SAAgB,UAAU,CACxB,GAAoC,EACpC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,2BAA2B,CAAC,UAAU,CAAC,GAAG,CAAqC,CAAC,GACxF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,0CAAU,aAYzB,CAAA;IACY,+DAA+B,GAAG,sCAAsC,CAAC;IACtF,SAAgB,sBAAsB,CACpC,GAAoC,EACpC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,2BAA2B,CAAC,sBAAsB,CACvD,GAAG,CACgC,CAAC,GACvC,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,sDAAsB,yBAcrC,CAAA;AACH,CAAC,EA9BgB,+BAA+B,GAA/B,uCAA+B,KAA/B,uCAA+B,QA8B/C"}
|
package/lib/model/{http-endpoint-idcs-auth-config.d.ts → http-endpoint-no-auth-scope-config.d.ts}
RENAMED
|
@@ -21,15 +21,14 @@ 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
|
-
* Specifies
|
|
24
|
+
* Specifies that no authentication is required, no credentials are resolved or injected during runtime.
|
|
25
25
|
*
|
|
26
26
|
*/
|
|
27
|
-
export interface
|
|
28
|
-
"
|
|
29
|
-
"httpEndpointAuthConfigType": string;
|
|
27
|
+
export interface HttpEndpointNoAuthScopeConfig extends model.HttpEndpointAuthScopeConfig {
|
|
28
|
+
"httpEndpointAuthScopeConfigType": string;
|
|
30
29
|
}
|
|
31
|
-
export declare namespace
|
|
32
|
-
function getJsonObj(obj:
|
|
33
|
-
const
|
|
34
|
-
function getDeserializedJsonObj(obj:
|
|
30
|
+
export declare namespace HttpEndpointNoAuthScopeConfig {
|
|
31
|
+
function getJsonObj(obj: HttpEndpointNoAuthScopeConfig, isParentJsonObj?: boolean): object;
|
|
32
|
+
const httpEndpointAuthScopeConfigType = "HTTP_ENDPOINT_NO_AUTH_SCOPE_CONFIG";
|
|
33
|
+
function getDeserializedJsonObj(obj: HttpEndpointNoAuthScopeConfig, isParentJsonObj?: boolean): object;
|
|
35
34
|
}
|
|
@@ -0,0 +1,63 @@
|
|
|
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.HttpEndpointNoAuthScopeConfig = void 0;
|
|
44
|
+
const model = __importStar(require("../model"));
|
|
45
|
+
var HttpEndpointNoAuthScopeConfig;
|
|
46
|
+
(function (HttpEndpointNoAuthScopeConfig) {
|
|
47
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
48
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
49
|
+
? obj
|
|
50
|
+
: model.HttpEndpointAuthScopeConfig.getJsonObj(obj))), {});
|
|
51
|
+
return jsonObj;
|
|
52
|
+
}
|
|
53
|
+
HttpEndpointNoAuthScopeConfig.getJsonObj = getJsonObj;
|
|
54
|
+
HttpEndpointNoAuthScopeConfig.httpEndpointAuthScopeConfigType = "HTTP_ENDPOINT_NO_AUTH_SCOPE_CONFIG";
|
|
55
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
56
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
57
|
+
? obj
|
|
58
|
+
: model.HttpEndpointAuthScopeConfig.getDeserializedJsonObj(obj))), {});
|
|
59
|
+
return jsonObj;
|
|
60
|
+
}
|
|
61
|
+
HttpEndpointNoAuthScopeConfig.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
62
|
+
})(HttpEndpointNoAuthScopeConfig = exports.HttpEndpointNoAuthScopeConfig || (exports.HttpEndpointNoAuthScopeConfig = {}));
|
|
63
|
+
//# sourceMappingURL=http-endpoint-no-auth-scope-config.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"http-endpoint-no-auth-scope-config.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagent/lib/model/http-endpoint-no-auth-scope-config.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAWlC,IAAiB,6BAA6B,CA8B7C;AA9BD,WAAiB,6BAA6B;IAC5C,SAAgB,UAAU,CACxB,GAAkC,EAClC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,2BAA2B,CAAC,UAAU,CAAC,GAAG,CAAmC,CAAC,GACtF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,wCAAU,aAYzB,CAAA;IACY,6DAA+B,GAAG,oCAAoC,CAAC;IACpF,SAAgB,sBAAsB,CACpC,GAAkC,EAClC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,2BAA2B,CAAC,sBAAsB,CACvD,GAAG,CAC8B,CAAC,GACrC,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,oDAAsB,yBAcrC,CAAA;AACH,CAAC,EA9BgB,6BAA6B,GAA7B,qCAA6B,KAA7B,qCAA6B,QA8B7C"}
|
|
@@ -21,15 +21,16 @@ 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
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
24
|
+
* Specifies authentication for invoking OCI-protected services using Oracle IAM.
|
|
25
|
+
* <p>
|
|
26
|
+
- If {@code authScope = AGENT}: Uses the agent\u2019s Resource Principal to authenticate and sign the request.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
export interface HttpEndpointOciAuthScopeConfig extends model.HttpEndpointAuthScopeConfig {
|
|
30
|
+
"httpEndpointAuthScopeConfigType": string;
|
|
30
31
|
}
|
|
31
|
-
export declare namespace
|
|
32
|
-
function getJsonObj(obj:
|
|
33
|
-
const
|
|
34
|
-
function getDeserializedJsonObj(obj:
|
|
32
|
+
export declare namespace HttpEndpointOciAuthScopeConfig {
|
|
33
|
+
function getJsonObj(obj: HttpEndpointOciAuthScopeConfig, isParentJsonObj?: boolean): object;
|
|
34
|
+
const httpEndpointAuthScopeConfigType = "HTTP_ENDPOINT_OCI_AUTH_SCOPE_CONFIG";
|
|
35
|
+
function getDeserializedJsonObj(obj: HttpEndpointOciAuthScopeConfig, isParentJsonObj?: boolean): object;
|
|
35
36
|
}
|