kb-cloud-client-typescript 2.3.0-alpha.225 → 2.3.0-alpha.227
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/dist/adminapi/apis/aiagent-api.d.ts +41 -179
- package/dist/adminapi/apis/aiagent-api.d.ts.map +1 -1
- package/dist/adminapi/apis/aiagent-api.js +98 -180
- package/dist/adminapi/apis/aiagent-api.js.map +1 -1
- package/dist/adminapi/apis/dms-api.d.ts +81 -0
- package/dist/adminapi/apis/dms-api.d.ts.map +1 -1
- package/dist/adminapi/apis/dms-api.js +85 -0
- package/dist/adminapi/apis/dms-api.js.map +1 -1
- package/dist/adminapi/apis/shared-api.d.ts +81 -0
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +85 -0
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/dms-execution-plan-edge-rows.d.ts +31 -0
- package/dist/adminapi/models/dms-execution-plan-edge-rows.d.ts.map +1 -0
- package/dist/adminapi/models/dms-execution-plan-edge-rows.js +16 -0
- package/dist/adminapi/models/dms-execution-plan-edge-rows.js.map +1 -0
- package/dist/adminapi/models/dms-execution-plan-edge.d.ts +56 -0
- package/dist/adminapi/models/dms-execution-plan-edge.d.ts.map +1 -0
- package/dist/adminapi/models/dms-execution-plan-edge.js +16 -0
- package/dist/adminapi/models/dms-execution-plan-edge.js.map +1 -0
- package/dist/adminapi/models/dms-execution-plan-mode.d.ts +24 -0
- package/dist/adminapi/models/dms-execution-plan-mode.d.ts.map +1 -0
- package/dist/adminapi/models/dms-execution-plan-mode.js +28 -0
- package/dist/adminapi/models/dms-execution-plan-mode.js.map +1 -0
- package/dist/adminapi/models/dms-execution-plan-node-category.d.ts +31 -0
- package/dist/adminapi/models/dms-execution-plan-node-category.d.ts.map +1 -0
- package/dist/adminapi/models/dms-execution-plan-node-category.js +35 -0
- package/dist/adminapi/models/dms-execution-plan-node-category.js.map +1 -0
- package/dist/adminapi/models/dms-execution-plan-node-conditions.d.ts +49 -0
- package/dist/adminapi/models/dms-execution-plan-node-conditions.d.ts.map +1 -0
- package/dist/adminapi/models/dms-execution-plan-node-conditions.js +16 -0
- package/dist/adminapi/models/dms-execution-plan-node-conditions.js.map +1 -0
- package/dist/adminapi/models/dms-execution-plan-node-cost.d.ts +43 -0
- package/dist/adminapi/models/dms-execution-plan-node-cost.d.ts.map +1 -0
- package/dist/adminapi/models/dms-execution-plan-node-cost.js +16 -0
- package/dist/adminapi/models/dms-execution-plan-node-cost.js.map +1 -0
- package/dist/adminapi/models/dms-execution-plan-node-rows.d.ts +49 -0
- package/dist/adminapi/models/dms-execution-plan-node-rows.d.ts.map +1 -0
- package/dist/adminapi/models/dms-execution-plan-node-rows.js +16 -0
- package/dist/adminapi/models/dms-execution-plan-node-rows.js.map +1 -0
- package/dist/adminapi/models/dms-execution-plan-node-timing.d.ts +43 -0
- package/dist/adminapi/models/dms-execution-plan-node-timing.d.ts.map +1 -0
- package/dist/adminapi/models/dms-execution-plan-node-timing.js +16 -0
- package/dist/adminapi/models/dms-execution-plan-node-timing.js.map +1 -0
- package/dist/adminapi/models/dms-execution-plan-node.d.ts +122 -0
- package/dist/adminapi/models/dms-execution-plan-node.d.ts.map +1 -0
- package/dist/adminapi/models/dms-execution-plan-node.js +16 -0
- package/dist/adminapi/models/dms-execution-plan-node.js.map +1 -0
- package/dist/adminapi/models/dms-execution-plan-raw-format.d.ts +24 -0
- package/dist/adminapi/models/dms-execution-plan-raw-format.d.ts.map +1 -0
- package/dist/adminapi/models/dms-execution-plan-raw-format.js +28 -0
- package/dist/adminapi/models/dms-execution-plan-raw-format.js.map +1 -0
- package/dist/adminapi/models/dms-execution-plan-result.d.ts +106 -0
- package/dist/adminapi/models/dms-execution-plan-result.d.ts.map +1 -0
- package/dist/adminapi/models/dms-execution-plan-result.js +16 -0
- package/dist/adminapi/models/dms-execution-plan-result.js.map +1 -0
- package/dist/adminapi/models/dms-execution-plan-summary.d.ts +67 -0
- package/dist/adminapi/models/dms-execution-plan-summary.d.ts.map +1 -0
- package/dist/adminapi/models/dms-execution-plan-summary.js +16 -0
- package/dist/adminapi/models/dms-execution-plan-summary.js.map +1 -0
- package/dist/adminapi/models/dms-execution-plan-warning-severity.d.ts +23 -0
- package/dist/adminapi/models/dms-execution-plan-warning-severity.d.ts.map +1 -0
- package/dist/adminapi/models/dms-execution-plan-warning-severity.js +27 -0
- package/dist/adminapi/models/dms-execution-plan-warning-severity.js.map +1 -0
- package/dist/adminapi/models/dms-execution-plan-warning.d.ts +44 -0
- package/dist/adminapi/models/dms-execution-plan-warning.d.ts.map +1 -0
- package/dist/adminapi/models/dms-execution-plan-warning.js +16 -0
- package/dist/adminapi/models/dms-execution-plan-warning.js.map +1 -0
- package/dist/adminapi/models/dms-visual-explain-request.d.ts +37 -0
- package/dist/adminapi/models/dms-visual-explain-request.d.ts.map +1 -0
- package/dist/adminapi/models/dms-visual-explain-request.js +16 -0
- package/dist/adminapi/models/dms-visual-explain-request.js.map +1 -0
- package/dist/adminapi/models/index.d.ts +15 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +15 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/openapi/apis/dms-api.d.ts +81 -0
- package/dist/openapi/apis/dms-api.d.ts.map +1 -1
- package/dist/openapi/apis/dms-api.js +85 -0
- package/dist/openapi/apis/dms-api.js.map +1 -1
- package/dist/openapi/apis/shared-api.d.ts +81 -0
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +85 -0
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/dms-execution-plan-edge-rows.d.ts +31 -0
- package/dist/openapi/models/dms-execution-plan-edge-rows.d.ts.map +1 -0
- package/dist/openapi/models/dms-execution-plan-edge-rows.js +16 -0
- package/dist/openapi/models/dms-execution-plan-edge-rows.js.map +1 -0
- package/dist/openapi/models/dms-execution-plan-edge.d.ts +56 -0
- package/dist/openapi/models/dms-execution-plan-edge.d.ts.map +1 -0
- package/dist/openapi/models/dms-execution-plan-edge.js +16 -0
- package/dist/openapi/models/dms-execution-plan-edge.js.map +1 -0
- package/dist/openapi/models/dms-execution-plan-mode.d.ts +24 -0
- package/dist/openapi/models/dms-execution-plan-mode.d.ts.map +1 -0
- package/dist/openapi/models/dms-execution-plan-mode.js +28 -0
- package/dist/openapi/models/dms-execution-plan-mode.js.map +1 -0
- package/dist/openapi/models/dms-execution-plan-node-category.d.ts +31 -0
- package/dist/openapi/models/dms-execution-plan-node-category.d.ts.map +1 -0
- package/dist/openapi/models/dms-execution-plan-node-category.js +35 -0
- package/dist/openapi/models/dms-execution-plan-node-category.js.map +1 -0
- package/dist/openapi/models/dms-execution-plan-node-conditions.d.ts +49 -0
- package/dist/openapi/models/dms-execution-plan-node-conditions.d.ts.map +1 -0
- package/dist/openapi/models/dms-execution-plan-node-conditions.js +16 -0
- package/dist/openapi/models/dms-execution-plan-node-conditions.js.map +1 -0
- package/dist/openapi/models/dms-execution-plan-node-cost.d.ts +43 -0
- package/dist/openapi/models/dms-execution-plan-node-cost.d.ts.map +1 -0
- package/dist/openapi/models/dms-execution-plan-node-cost.js +16 -0
- package/dist/openapi/models/dms-execution-plan-node-cost.js.map +1 -0
- package/dist/openapi/models/dms-execution-plan-node-rows.d.ts +49 -0
- package/dist/openapi/models/dms-execution-plan-node-rows.d.ts.map +1 -0
- package/dist/openapi/models/dms-execution-plan-node-rows.js +16 -0
- package/dist/openapi/models/dms-execution-plan-node-rows.js.map +1 -0
- package/dist/openapi/models/dms-execution-plan-node-timing.d.ts +43 -0
- package/dist/openapi/models/dms-execution-plan-node-timing.d.ts.map +1 -0
- package/dist/openapi/models/dms-execution-plan-node-timing.js +16 -0
- package/dist/openapi/models/dms-execution-plan-node-timing.js.map +1 -0
- package/dist/openapi/models/dms-execution-plan-node.d.ts +122 -0
- package/dist/openapi/models/dms-execution-plan-node.d.ts.map +1 -0
- package/dist/openapi/models/dms-execution-plan-node.js +16 -0
- package/dist/openapi/models/dms-execution-plan-node.js.map +1 -0
- package/dist/openapi/models/dms-execution-plan-raw-format.d.ts +24 -0
- package/dist/openapi/models/dms-execution-plan-raw-format.d.ts.map +1 -0
- package/dist/openapi/models/dms-execution-plan-raw-format.js +28 -0
- package/dist/openapi/models/dms-execution-plan-raw-format.js.map +1 -0
- package/dist/openapi/models/dms-execution-plan-result.d.ts +106 -0
- package/dist/openapi/models/dms-execution-plan-result.d.ts.map +1 -0
- package/dist/openapi/models/dms-execution-plan-result.js +16 -0
- package/dist/openapi/models/dms-execution-plan-result.js.map +1 -0
- package/dist/openapi/models/dms-execution-plan-summary.d.ts +67 -0
- package/dist/openapi/models/dms-execution-plan-summary.d.ts.map +1 -0
- package/dist/openapi/models/dms-execution-plan-summary.js +16 -0
- package/dist/openapi/models/dms-execution-plan-summary.js.map +1 -0
- package/dist/openapi/models/dms-execution-plan-warning-severity.d.ts +23 -0
- package/dist/openapi/models/dms-execution-plan-warning-severity.d.ts.map +1 -0
- package/dist/openapi/models/dms-execution-plan-warning-severity.js +27 -0
- package/dist/openapi/models/dms-execution-plan-warning-severity.js.map +1 -0
- package/dist/openapi/models/dms-execution-plan-warning.d.ts +44 -0
- package/dist/openapi/models/dms-execution-plan-warning.d.ts.map +1 -0
- package/dist/openapi/models/dms-execution-plan-warning.js +16 -0
- package/dist/openapi/models/dms-execution-plan-warning.js.map +1 -0
- package/dist/openapi/models/dms-visual-explain-request.d.ts +37 -0
- package/dist/openapi/models/dms-visual-explain-request.d.ts.map +1 -0
- package/dist/openapi/models/dms-visual-explain-request.js +16 -0
- package/dist/openapi/models/dms-visual-explain-request.js.map +1 -0
- package/dist/openapi/models/index.d.ts +15 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +15 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +15 -0
- package/src/adminapi/apis/aiagent-api.ts +101 -304
- package/src/adminapi/apis/dms-api.ts +142 -0
- package/src/adminapi/apis/shared-api.ts +142 -0
- package/src/adminapi/models/dms-execution-plan-edge-rows.ts +36 -0
- package/src/adminapi/models/dms-execution-plan-edge.ts +63 -0
- package/src/adminapi/models/dms-execution-plan-mode.ts +33 -0
- package/src/adminapi/models/dms-execution-plan-node-category.ts +40 -0
- package/src/adminapi/models/dms-execution-plan-node-conditions.ts +54 -0
- package/src/adminapi/models/dms-execution-plan-node-cost.ts +48 -0
- package/src/adminapi/models/dms-execution-plan-node-rows.ts +54 -0
- package/src/adminapi/models/dms-execution-plan-node-timing.ts +48 -0
- package/src/adminapi/models/dms-execution-plan-node.ts +137 -0
- package/src/adminapi/models/dms-execution-plan-raw-format.ts +33 -0
- package/src/adminapi/models/dms-execution-plan-result.ts +125 -0
- package/src/adminapi/models/dms-execution-plan-summary.ts +72 -0
- package/src/adminapi/models/dms-execution-plan-warning-severity.ts +32 -0
- package/src/adminapi/models/dms-execution-plan-warning.ts +53 -0
- package/src/adminapi/models/dms-visual-explain-request.ts +42 -0
- package/src/adminapi/models/index.ts +15 -0
- package/src/adminapi.yaml +394 -94
- package/src/openapi/.openapi-generator/FILES +15 -0
- package/src/openapi/apis/dms-api.ts +142 -0
- package/src/openapi/apis/shared-api.ts +142 -0
- package/src/openapi/models/dms-execution-plan-edge-rows.ts +36 -0
- package/src/openapi/models/dms-execution-plan-edge.ts +63 -0
- package/src/openapi/models/dms-execution-plan-mode.ts +33 -0
- package/src/openapi/models/dms-execution-plan-node-category.ts +40 -0
- package/src/openapi/models/dms-execution-plan-node-conditions.ts +54 -0
- package/src/openapi/models/dms-execution-plan-node-cost.ts +48 -0
- package/src/openapi/models/dms-execution-plan-node-rows.ts +54 -0
- package/src/openapi/models/dms-execution-plan-node-timing.ts +48 -0
- package/src/openapi/models/dms-execution-plan-node.ts +137 -0
- package/src/openapi/models/dms-execution-plan-raw-format.ts +33 -0
- package/src/openapi/models/dms-execution-plan-result.ts +125 -0
- package/src/openapi/models/dms-execution-plan-summary.ts +72 -0
- package/src/openapi/models/dms-execution-plan-warning-severity.ts +32 -0
- package/src/openapi/models/dms-execution-plan-warning.ts +53 -0
- package/src/openapi/models/dms-visual-explain-request.ts +42 -0
- package/src/openapi/models/index.ts +15 -0
- package/src/openapi.yaml +377 -0
|
@@ -60,22 +60,18 @@ export const AIAgentApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
60
60
|
/**
|
|
61
61
|
*
|
|
62
62
|
* @summary Approve one AI diagnosis tool confirmation
|
|
63
|
-
* @param {string} orgName
|
|
64
63
|
* @param {string} conversationId
|
|
65
64
|
* @param {string} confirmationId
|
|
66
65
|
* @param {AiAgentToolConfirmationDecisionRequest} [aiAgentToolConfirmationDecisionRequest]
|
|
67
66
|
* @param {*} [options] Override http request option.
|
|
68
67
|
* @throws {RequiredError}
|
|
69
68
|
*/
|
|
70
|
-
approveAIAgentToolConfirmation: async (
|
|
71
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
72
|
-
assertParamExists('approveAIAgentToolConfirmation', 'orgName', orgName)
|
|
69
|
+
approveAIAgentToolConfirmation: async (conversationId: string, confirmationId: string, aiAgentToolConfirmationDecisionRequest?: AiAgentToolConfirmationDecisionRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
73
70
|
// verify required parameter 'conversationId' is not null or undefined
|
|
74
71
|
assertParamExists('approveAIAgentToolConfirmation', 'conversationId', conversationId)
|
|
75
72
|
// verify required parameter 'confirmationId' is not null or undefined
|
|
76
73
|
assertParamExists('approveAIAgentToolConfirmation', 'confirmationId', confirmationId)
|
|
77
|
-
const localVarPath = `/admin/v1/
|
|
78
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
74
|
+
const localVarPath = `/admin/v1/ai-agent/conversations/{conversationId}/tool-confirmations/{confirmationId}/approve`
|
|
79
75
|
.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)))
|
|
80
76
|
.replace(`{${"confirmationId"}}`, encodeURIComponent(String(confirmationId)));
|
|
81
77
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -113,24 +109,20 @@ export const AIAgentApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
113
109
|
/**
|
|
114
110
|
*
|
|
115
111
|
* @summary Browse a generated AI diagnosis report artifact
|
|
116
|
-
* @param {string} orgName
|
|
117
112
|
* @param {string} conversationId
|
|
118
113
|
* @param {string} actionId
|
|
119
114
|
* @param {string} artifactId
|
|
120
115
|
* @param {*} [options] Override http request option.
|
|
121
116
|
* @throws {RequiredError}
|
|
122
117
|
*/
|
|
123
|
-
browseAIAgentTurnActionArtifact: async (
|
|
124
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
125
|
-
assertParamExists('browseAIAgentTurnActionArtifact', 'orgName', orgName)
|
|
118
|
+
browseAIAgentTurnActionArtifact: async (conversationId: string, actionId: string, artifactId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
126
119
|
// verify required parameter 'conversationId' is not null or undefined
|
|
127
120
|
assertParamExists('browseAIAgentTurnActionArtifact', 'conversationId', conversationId)
|
|
128
121
|
// verify required parameter 'actionId' is not null or undefined
|
|
129
122
|
assertParamExists('browseAIAgentTurnActionArtifact', 'actionId', actionId)
|
|
130
123
|
// verify required parameter 'artifactId' is not null or undefined
|
|
131
124
|
assertParamExists('browseAIAgentTurnActionArtifact', 'artifactId', artifactId)
|
|
132
|
-
const localVarPath = `/admin/v1/
|
|
133
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
125
|
+
const localVarPath = `/admin/v1/ai-agent/conversations/{conversationId}/turn-actions/{actionId}/artifacts/{artifactId}/browse`
|
|
134
126
|
.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)))
|
|
135
127
|
.replace(`{${"actionId"}}`, encodeURIComponent(String(actionId)))
|
|
136
128
|
.replace(`{${"artifactId"}}`, encodeURIComponent(String(artifactId)));
|
|
@@ -166,18 +158,14 @@ export const AIAgentApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
166
158
|
/**
|
|
167
159
|
*
|
|
168
160
|
* @summary Create an AI diagnosis conversation
|
|
169
|
-
* @param {string} orgName
|
|
170
161
|
* @param {AiAgentCreateConversationRequest} aiAgentCreateConversationRequest
|
|
171
162
|
* @param {*} [options] Override http request option.
|
|
172
163
|
* @throws {RequiredError}
|
|
173
164
|
*/
|
|
174
|
-
createAIAgentConversation: async (
|
|
175
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
176
|
-
assertParamExists('createAIAgentConversation', 'orgName', orgName)
|
|
165
|
+
createAIAgentConversation: async (aiAgentCreateConversationRequest: AiAgentCreateConversationRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
177
166
|
// verify required parameter 'aiAgentCreateConversationRequest' is not null or undefined
|
|
178
167
|
assertParamExists('createAIAgentConversation', 'aiAgentCreateConversationRequest', aiAgentCreateConversationRequest)
|
|
179
|
-
const localVarPath = `/admin/v1/
|
|
180
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)));
|
|
168
|
+
const localVarPath = `/admin/v1/ai-agent/conversations`;
|
|
181
169
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
182
170
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
183
171
|
let baseOptions;
|
|
@@ -213,18 +201,14 @@ export const AIAgentApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
213
201
|
/**
|
|
214
202
|
*
|
|
215
203
|
* @summary Delete an AI diagnosis conversation
|
|
216
|
-
* @param {string} orgName
|
|
217
204
|
* @param {string} conversationId
|
|
218
205
|
* @param {*} [options] Override http request option.
|
|
219
206
|
* @throws {RequiredError}
|
|
220
207
|
*/
|
|
221
|
-
deleteAIAgentConversation: async (
|
|
222
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
223
|
-
assertParamExists('deleteAIAgentConversation', 'orgName', orgName)
|
|
208
|
+
deleteAIAgentConversation: async (conversationId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
224
209
|
// verify required parameter 'conversationId' is not null or undefined
|
|
225
210
|
assertParamExists('deleteAIAgentConversation', 'conversationId', conversationId)
|
|
226
|
-
const localVarPath = `/admin/v1/
|
|
227
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
211
|
+
const localVarPath = `/admin/v1/ai-agent/conversations/{conversationId}`
|
|
228
212
|
.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)));
|
|
229
213
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
230
214
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -258,24 +242,20 @@ export const AIAgentApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
258
242
|
/**
|
|
259
243
|
*
|
|
260
244
|
* @summary Download a generated AI diagnosis report artifact
|
|
261
|
-
* @param {string} orgName
|
|
262
245
|
* @param {string} conversationId
|
|
263
246
|
* @param {string} actionId
|
|
264
247
|
* @param {string} artifactId
|
|
265
248
|
* @param {*} [options] Override http request option.
|
|
266
249
|
* @throws {RequiredError}
|
|
267
250
|
*/
|
|
268
|
-
downloadAIAgentTurnActionArtifact: async (
|
|
269
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
270
|
-
assertParamExists('downloadAIAgentTurnActionArtifact', 'orgName', orgName)
|
|
251
|
+
downloadAIAgentTurnActionArtifact: async (conversationId: string, actionId: string, artifactId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
271
252
|
// verify required parameter 'conversationId' is not null or undefined
|
|
272
253
|
assertParamExists('downloadAIAgentTurnActionArtifact', 'conversationId', conversationId)
|
|
273
254
|
// verify required parameter 'actionId' is not null or undefined
|
|
274
255
|
assertParamExists('downloadAIAgentTurnActionArtifact', 'actionId', actionId)
|
|
275
256
|
// verify required parameter 'artifactId' is not null or undefined
|
|
276
257
|
assertParamExists('downloadAIAgentTurnActionArtifact', 'artifactId', artifactId)
|
|
277
|
-
const localVarPath = `/admin/v1/
|
|
278
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
258
|
+
const localVarPath = `/admin/v1/ai-agent/conversations/{conversationId}/turn-actions/{actionId}/artifacts/{artifactId}/download`
|
|
279
259
|
.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)))
|
|
280
260
|
.replace(`{${"actionId"}}`, encodeURIComponent(String(actionId)))
|
|
281
261
|
.replace(`{${"artifactId"}}`, encodeURIComponent(String(artifactId)));
|
|
@@ -311,18 +291,14 @@ export const AIAgentApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
311
291
|
/**
|
|
312
292
|
*
|
|
313
293
|
* @summary Get an AI diagnosis conversation
|
|
314
|
-
* @param {string} orgName
|
|
315
294
|
* @param {string} conversationId
|
|
316
295
|
* @param {*} [options] Override http request option.
|
|
317
296
|
* @throws {RequiredError}
|
|
318
297
|
*/
|
|
319
|
-
getAIAgentConversation: async (
|
|
320
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
321
|
-
assertParamExists('getAIAgentConversation', 'orgName', orgName)
|
|
298
|
+
getAIAgentConversation: async (conversationId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
322
299
|
// verify required parameter 'conversationId' is not null or undefined
|
|
323
300
|
assertParamExists('getAIAgentConversation', 'conversationId', conversationId)
|
|
324
|
-
const localVarPath = `/admin/v1/
|
|
325
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
301
|
+
const localVarPath = `/admin/v1/ai-agent/conversations/{conversationId}`
|
|
326
302
|
.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)));
|
|
327
303
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
328
304
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -356,15 +332,11 @@ export const AIAgentApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
356
332
|
/**
|
|
357
333
|
*
|
|
358
334
|
* @summary Get AI diagnosis agent status
|
|
359
|
-
* @param {string} orgName
|
|
360
335
|
* @param {*} [options] Override http request option.
|
|
361
336
|
* @throws {RequiredError}
|
|
362
337
|
*/
|
|
363
|
-
getAIAgentStatus: async (
|
|
364
|
-
|
|
365
|
-
assertParamExists('getAIAgentStatus', 'orgName', orgName)
|
|
366
|
-
const localVarPath = `/admin/v1/organizations/{orgName}/ai-agent/status`
|
|
367
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)));
|
|
338
|
+
getAIAgentStatus: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
339
|
+
const localVarPath = `/admin/v1/ai-agent/status`;
|
|
368
340
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
369
341
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
370
342
|
let baseOptions;
|
|
@@ -397,21 +369,17 @@ export const AIAgentApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
397
369
|
/**
|
|
398
370
|
*
|
|
399
371
|
* @summary Get one stable AI diagnosis turn process action
|
|
400
|
-
* @param {string} orgName
|
|
401
372
|
* @param {string} conversationId
|
|
402
373
|
* @param {string} actionId
|
|
403
374
|
* @param {*} [options] Override http request option.
|
|
404
375
|
* @throws {RequiredError}
|
|
405
376
|
*/
|
|
406
|
-
getAIAgentTurnAction: async (
|
|
407
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
408
|
-
assertParamExists('getAIAgentTurnAction', 'orgName', orgName)
|
|
377
|
+
getAIAgentTurnAction: async (conversationId: string, actionId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
409
378
|
// verify required parameter 'conversationId' is not null or undefined
|
|
410
379
|
assertParamExists('getAIAgentTurnAction', 'conversationId', conversationId)
|
|
411
380
|
// verify required parameter 'actionId' is not null or undefined
|
|
412
381
|
assertParamExists('getAIAgentTurnAction', 'actionId', actionId)
|
|
413
|
-
const localVarPath = `/admin/v1/
|
|
414
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
382
|
+
const localVarPath = `/admin/v1/ai-agent/conversations/{conversationId}/turn-actions/{actionId}`
|
|
415
383
|
.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)))
|
|
416
384
|
.replace(`{${"actionId"}}`, encodeURIComponent(String(actionId)));
|
|
417
385
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -444,20 +412,15 @@ export const AIAgentApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
444
412
|
};
|
|
445
413
|
},
|
|
446
414
|
/**
|
|
447
|
-
*
|
|
415
|
+
* Lists platform AI diagnosis conversations for the current admin user. Admin global entry and admin cluster-detail entry share the same history.
|
|
448
416
|
* @summary List AI diagnosis conversations
|
|
449
|
-
* @param {string} orgName
|
|
450
417
|
* @param {number} [limit]
|
|
451
418
|
* @param {string} [after]
|
|
452
|
-
* @param {string} [clusterName]
|
|
453
419
|
* @param {*} [options] Override http request option.
|
|
454
420
|
* @throws {RequiredError}
|
|
455
421
|
*/
|
|
456
|
-
listAIAgentConversations: async (
|
|
457
|
-
|
|
458
|
-
assertParamExists('listAIAgentConversations', 'orgName', orgName)
|
|
459
|
-
const localVarPath = `/admin/v1/organizations/{orgName}/ai-agent/conversations`
|
|
460
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)));
|
|
422
|
+
listAIAgentConversations: async (limit?: number, after?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
423
|
+
const localVarPath = `/admin/v1/ai-agent/conversations`;
|
|
461
424
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
462
425
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
463
426
|
let baseOptions;
|
|
@@ -484,10 +447,6 @@ export const AIAgentApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
484
447
|
localVarQueryParameter['after'] = after;
|
|
485
448
|
}
|
|
486
449
|
|
|
487
|
-
if (clusterName !== undefined) {
|
|
488
|
-
localVarQueryParameter['clusterName'] = clusterName;
|
|
489
|
-
}
|
|
490
|
-
|
|
491
450
|
|
|
492
451
|
|
|
493
452
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -502,20 +461,16 @@ export const AIAgentApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
502
461
|
/**
|
|
503
462
|
*
|
|
504
463
|
* @summary List AI diagnosis conversation messages
|
|
505
|
-
* @param {string} orgName
|
|
506
464
|
* @param {string} conversationId
|
|
507
465
|
* @param {string} [after]
|
|
508
466
|
* @param {number} [limit]
|
|
509
467
|
* @param {*} [options] Override http request option.
|
|
510
468
|
* @throws {RequiredError}
|
|
511
469
|
*/
|
|
512
|
-
listAIAgentMessages: async (
|
|
513
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
514
|
-
assertParamExists('listAIAgentMessages', 'orgName', orgName)
|
|
470
|
+
listAIAgentMessages: async (conversationId: string, after?: string, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
515
471
|
// verify required parameter 'conversationId' is not null or undefined
|
|
516
472
|
assertParamExists('listAIAgentMessages', 'conversationId', conversationId)
|
|
517
|
-
const localVarPath = `/admin/v1/
|
|
518
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
473
|
+
const localVarPath = `/admin/v1/ai-agent/conversations/{conversationId}/messages`
|
|
519
474
|
.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)));
|
|
520
475
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
521
476
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -557,7 +512,6 @@ export const AIAgentApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
557
512
|
/**
|
|
558
513
|
*
|
|
559
514
|
* @summary List stable AI diagnosis turn process actions
|
|
560
|
-
* @param {string} orgName
|
|
561
515
|
* @param {string} conversationId
|
|
562
516
|
* @param {string} [turnId]
|
|
563
517
|
* @param {string} [after]
|
|
@@ -565,13 +519,10 @@ export const AIAgentApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
565
519
|
* @param {*} [options] Override http request option.
|
|
566
520
|
* @throws {RequiredError}
|
|
567
521
|
*/
|
|
568
|
-
listAIAgentTurnActions: async (
|
|
569
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
570
|
-
assertParamExists('listAIAgentTurnActions', 'orgName', orgName)
|
|
522
|
+
listAIAgentTurnActions: async (conversationId: string, turnId?: string, after?: string, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
571
523
|
// verify required parameter 'conversationId' is not null or undefined
|
|
572
524
|
assertParamExists('listAIAgentTurnActions', 'conversationId', conversationId)
|
|
573
|
-
const localVarPath = `/admin/v1/
|
|
574
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
525
|
+
const localVarPath = `/admin/v1/ai-agent/conversations/{conversationId}/turn-actions`
|
|
575
526
|
.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)));
|
|
576
527
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
577
528
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -617,22 +568,18 @@ export const AIAgentApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
617
568
|
/**
|
|
618
569
|
*
|
|
619
570
|
* @summary Reject one AI diagnosis tool confirmation
|
|
620
|
-
* @param {string} orgName
|
|
621
571
|
* @param {string} conversationId
|
|
622
572
|
* @param {string} confirmationId
|
|
623
573
|
* @param {AiAgentToolConfirmationDecisionRequest} [aiAgentToolConfirmationDecisionRequest]
|
|
624
574
|
* @param {*} [options] Override http request option.
|
|
625
575
|
* @throws {RequiredError}
|
|
626
576
|
*/
|
|
627
|
-
rejectAIAgentToolConfirmation: async (
|
|
628
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
629
|
-
assertParamExists('rejectAIAgentToolConfirmation', 'orgName', orgName)
|
|
577
|
+
rejectAIAgentToolConfirmation: async (conversationId: string, confirmationId: string, aiAgentToolConfirmationDecisionRequest?: AiAgentToolConfirmationDecisionRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
630
578
|
// verify required parameter 'conversationId' is not null or undefined
|
|
631
579
|
assertParamExists('rejectAIAgentToolConfirmation', 'conversationId', conversationId)
|
|
632
580
|
// verify required parameter 'confirmationId' is not null or undefined
|
|
633
581
|
assertParamExists('rejectAIAgentToolConfirmation', 'confirmationId', confirmationId)
|
|
634
|
-
const localVarPath = `/admin/v1/
|
|
635
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
582
|
+
const localVarPath = `/admin/v1/ai-agent/conversations/{conversationId}/tool-confirmations/{confirmationId}/reject`
|
|
636
583
|
.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)))
|
|
637
584
|
.replace(`{${"confirmationId"}}`, encodeURIComponent(String(confirmationId)));
|
|
638
585
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -670,21 +617,17 @@ export const AIAgentApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
670
617
|
/**
|
|
671
618
|
*
|
|
672
619
|
* @summary Send a user message and start or continue AI diagnosis
|
|
673
|
-
* @param {string} orgName
|
|
674
620
|
* @param {string} conversationId
|
|
675
621
|
* @param {AiAgentSendMessageRequest} aiAgentSendMessageRequest
|
|
676
622
|
* @param {*} [options] Override http request option.
|
|
677
623
|
* @throws {RequiredError}
|
|
678
624
|
*/
|
|
679
|
-
sendAIAgentMessage: async (
|
|
680
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
681
|
-
assertParamExists('sendAIAgentMessage', 'orgName', orgName)
|
|
625
|
+
sendAIAgentMessage: async (conversationId: string, aiAgentSendMessageRequest: AiAgentSendMessageRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
682
626
|
// verify required parameter 'conversationId' is not null or undefined
|
|
683
627
|
assertParamExists('sendAIAgentMessage', 'conversationId', conversationId)
|
|
684
628
|
// verify required parameter 'aiAgentSendMessageRequest' is not null or undefined
|
|
685
629
|
assertParamExists('sendAIAgentMessage', 'aiAgentSendMessageRequest', aiAgentSendMessageRequest)
|
|
686
|
-
const localVarPath = `/admin/v1/
|
|
687
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
630
|
+
const localVarPath = `/admin/v1/ai-agent/conversations/{conversationId}/messages`
|
|
688
631
|
.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)));
|
|
689
632
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
690
633
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -721,18 +664,14 @@ export const AIAgentApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
721
664
|
/**
|
|
722
665
|
*
|
|
723
666
|
* @summary Stop the current AI diagnosis turn
|
|
724
|
-
* @param {string} orgName
|
|
725
667
|
* @param {string} conversationId
|
|
726
668
|
* @param {*} [options] Override http request option.
|
|
727
669
|
* @throws {RequiredError}
|
|
728
670
|
*/
|
|
729
|
-
stopAIAgentConversation: async (
|
|
730
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
731
|
-
assertParamExists('stopAIAgentConversation', 'orgName', orgName)
|
|
671
|
+
stopAIAgentConversation: async (conversationId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
732
672
|
// verify required parameter 'conversationId' is not null or undefined
|
|
733
673
|
assertParamExists('stopAIAgentConversation', 'conversationId', conversationId)
|
|
734
|
-
const localVarPath = `/admin/v1/
|
|
735
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
674
|
+
const localVarPath = `/admin/v1/ai-agent/conversations/{conversationId}/stop`
|
|
736
675
|
.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)));
|
|
737
676
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
738
677
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -766,19 +705,15 @@ export const AIAgentApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
766
705
|
/**
|
|
767
706
|
*
|
|
768
707
|
* @summary Subscribe to AI diagnosis conversation events
|
|
769
|
-
* @param {string} orgName
|
|
770
708
|
* @param {string} conversationId
|
|
771
709
|
* @param {string} [after]
|
|
772
710
|
* @param {*} [options] Override http request option.
|
|
773
711
|
* @throws {RequiredError}
|
|
774
712
|
*/
|
|
775
|
-
subscribeAIAgentConversationEvents: async (
|
|
776
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
777
|
-
assertParamExists('subscribeAIAgentConversationEvents', 'orgName', orgName)
|
|
713
|
+
subscribeAIAgentConversationEvents: async (conversationId: string, after?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
778
714
|
// verify required parameter 'conversationId' is not null or undefined
|
|
779
715
|
assertParamExists('subscribeAIAgentConversationEvents', 'conversationId', conversationId)
|
|
780
|
-
const localVarPath = `/admin/v1/
|
|
781
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
716
|
+
const localVarPath = `/admin/v1/ai-agent/conversations/{conversationId}/events`
|
|
782
717
|
.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)));
|
|
783
718
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
784
719
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -826,15 +761,14 @@ export const AIAgentApiFp = function(configuration?: Configuration) {
|
|
|
826
761
|
/**
|
|
827
762
|
*
|
|
828
763
|
* @summary Approve one AI diagnosis tool confirmation
|
|
829
|
-
* @param {string} orgName
|
|
830
764
|
* @param {string} conversationId
|
|
831
765
|
* @param {string} confirmationId
|
|
832
766
|
* @param {AiAgentToolConfirmationDecisionRequest} [aiAgentToolConfirmationDecisionRequest]
|
|
833
767
|
* @param {*} [options] Override http request option.
|
|
834
768
|
* @throws {RequiredError}
|
|
835
769
|
*/
|
|
836
|
-
async approveAIAgentToolConfirmation(
|
|
837
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.approveAIAgentToolConfirmation(
|
|
770
|
+
async approveAIAgentToolConfirmation(conversationId: string, confirmationId: string, aiAgentToolConfirmationDecisionRequest?: AiAgentToolConfirmationDecisionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AiAgentToolConfirmationDecisionResponse>> {
|
|
771
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.approveAIAgentToolConfirmation(conversationId, confirmationId, aiAgentToolConfirmationDecisionRequest, options);
|
|
838
772
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
839
773
|
const localVarOperationServerBasePath = operationServerMap['AIAgentApi.approveAIAgentToolConfirmation']?.[localVarOperationServerIndex]?.url;
|
|
840
774
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -842,15 +776,14 @@ export const AIAgentApiFp = function(configuration?: Configuration) {
|
|
|
842
776
|
/**
|
|
843
777
|
*
|
|
844
778
|
* @summary Browse a generated AI diagnosis report artifact
|
|
845
|
-
* @param {string} orgName
|
|
846
779
|
* @param {string} conversationId
|
|
847
780
|
* @param {string} actionId
|
|
848
781
|
* @param {string} artifactId
|
|
849
782
|
* @param {*} [options] Override http request option.
|
|
850
783
|
* @throws {RequiredError}
|
|
851
784
|
*/
|
|
852
|
-
async browseAIAgentTurnActionArtifact(
|
|
853
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.browseAIAgentTurnActionArtifact(
|
|
785
|
+
async browseAIAgentTurnActionArtifact(conversationId: string, actionId: string, artifactId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
|
|
786
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.browseAIAgentTurnActionArtifact(conversationId, actionId, artifactId, options);
|
|
854
787
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
855
788
|
const localVarOperationServerBasePath = operationServerMap['AIAgentApi.browseAIAgentTurnActionArtifact']?.[localVarOperationServerIndex]?.url;
|
|
856
789
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -858,13 +791,12 @@ export const AIAgentApiFp = function(configuration?: Configuration) {
|
|
|
858
791
|
/**
|
|
859
792
|
*
|
|
860
793
|
* @summary Create an AI diagnosis conversation
|
|
861
|
-
* @param {string} orgName
|
|
862
794
|
* @param {AiAgentCreateConversationRequest} aiAgentCreateConversationRequest
|
|
863
795
|
* @param {*} [options] Override http request option.
|
|
864
796
|
* @throws {RequiredError}
|
|
865
797
|
*/
|
|
866
|
-
async createAIAgentConversation(
|
|
867
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createAIAgentConversation(
|
|
798
|
+
async createAIAgentConversation(aiAgentCreateConversationRequest: AiAgentCreateConversationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AiAgentConversation>> {
|
|
799
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createAIAgentConversation(aiAgentCreateConversationRequest, options);
|
|
868
800
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
869
801
|
const localVarOperationServerBasePath = operationServerMap['AIAgentApi.createAIAgentConversation']?.[localVarOperationServerIndex]?.url;
|
|
870
802
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -872,13 +804,12 @@ export const AIAgentApiFp = function(configuration?: Configuration) {
|
|
|
872
804
|
/**
|
|
873
805
|
*
|
|
874
806
|
* @summary Delete an AI diagnosis conversation
|
|
875
|
-
* @param {string} orgName
|
|
876
807
|
* @param {string} conversationId
|
|
877
808
|
* @param {*} [options] Override http request option.
|
|
878
809
|
* @throws {RequiredError}
|
|
879
810
|
*/
|
|
880
|
-
async deleteAIAgentConversation(
|
|
881
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAIAgentConversation(
|
|
811
|
+
async deleteAIAgentConversation(conversationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AiAgentDeleteConversationResponse>> {
|
|
812
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAIAgentConversation(conversationId, options);
|
|
882
813
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
883
814
|
const localVarOperationServerBasePath = operationServerMap['AIAgentApi.deleteAIAgentConversation']?.[localVarOperationServerIndex]?.url;
|
|
884
815
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -886,15 +817,14 @@ export const AIAgentApiFp = function(configuration?: Configuration) {
|
|
|
886
817
|
/**
|
|
887
818
|
*
|
|
888
819
|
* @summary Download a generated AI diagnosis report artifact
|
|
889
|
-
* @param {string} orgName
|
|
890
820
|
* @param {string} conversationId
|
|
891
821
|
* @param {string} actionId
|
|
892
822
|
* @param {string} artifactId
|
|
893
823
|
* @param {*} [options] Override http request option.
|
|
894
824
|
* @throws {RequiredError}
|
|
895
825
|
*/
|
|
896
|
-
async downloadAIAgentTurnActionArtifact(
|
|
897
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.downloadAIAgentTurnActionArtifact(
|
|
826
|
+
async downloadAIAgentTurnActionArtifact(conversationId: string, actionId: string, artifactId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
|
|
827
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.downloadAIAgentTurnActionArtifact(conversationId, actionId, artifactId, options);
|
|
898
828
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
899
829
|
const localVarOperationServerBasePath = operationServerMap['AIAgentApi.downloadAIAgentTurnActionArtifact']?.[localVarOperationServerIndex]?.url;
|
|
900
830
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -902,13 +832,12 @@ export const AIAgentApiFp = function(configuration?: Configuration) {
|
|
|
902
832
|
/**
|
|
903
833
|
*
|
|
904
834
|
* @summary Get an AI diagnosis conversation
|
|
905
|
-
* @param {string} orgName
|
|
906
835
|
* @param {string} conversationId
|
|
907
836
|
* @param {*} [options] Override http request option.
|
|
908
837
|
* @throws {RequiredError}
|
|
909
838
|
*/
|
|
910
|
-
async getAIAgentConversation(
|
|
911
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getAIAgentConversation(
|
|
839
|
+
async getAIAgentConversation(conversationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AiAgentConversation>> {
|
|
840
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAIAgentConversation(conversationId, options);
|
|
912
841
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
913
842
|
const localVarOperationServerBasePath = operationServerMap['AIAgentApi.getAIAgentConversation']?.[localVarOperationServerIndex]?.url;
|
|
914
843
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -916,12 +845,11 @@ export const AIAgentApiFp = function(configuration?: Configuration) {
|
|
|
916
845
|
/**
|
|
917
846
|
*
|
|
918
847
|
* @summary Get AI diagnosis agent status
|
|
919
|
-
* @param {string} orgName
|
|
920
848
|
* @param {*} [options] Override http request option.
|
|
921
849
|
* @throws {RequiredError}
|
|
922
850
|
*/
|
|
923
|
-
async getAIAgentStatus(
|
|
924
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getAIAgentStatus(
|
|
851
|
+
async getAIAgentStatus(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AiAgentRuntimeStatus>> {
|
|
852
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAIAgentStatus(options);
|
|
925
853
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
926
854
|
const localVarOperationServerBasePath = operationServerMap['AIAgentApi.getAIAgentStatus']?.[localVarOperationServerIndex]?.url;
|
|
927
855
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -929,30 +857,27 @@ export const AIAgentApiFp = function(configuration?: Configuration) {
|
|
|
929
857
|
/**
|
|
930
858
|
*
|
|
931
859
|
* @summary Get one stable AI diagnosis turn process action
|
|
932
|
-
* @param {string} orgName
|
|
933
860
|
* @param {string} conversationId
|
|
934
861
|
* @param {string} actionId
|
|
935
862
|
* @param {*} [options] Override http request option.
|
|
936
863
|
* @throws {RequiredError}
|
|
937
864
|
*/
|
|
938
|
-
async getAIAgentTurnAction(
|
|
939
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getAIAgentTurnAction(
|
|
865
|
+
async getAIAgentTurnAction(conversationId: string, actionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AiAgentTurnAction>> {
|
|
866
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAIAgentTurnAction(conversationId, actionId, options);
|
|
940
867
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
941
868
|
const localVarOperationServerBasePath = operationServerMap['AIAgentApi.getAIAgentTurnAction']?.[localVarOperationServerIndex]?.url;
|
|
942
869
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
943
870
|
},
|
|
944
871
|
/**
|
|
945
|
-
*
|
|
872
|
+
* Lists platform AI diagnosis conversations for the current admin user. Admin global entry and admin cluster-detail entry share the same history.
|
|
946
873
|
* @summary List AI diagnosis conversations
|
|
947
|
-
* @param {string} orgName
|
|
948
874
|
* @param {number} [limit]
|
|
949
875
|
* @param {string} [after]
|
|
950
|
-
* @param {string} [clusterName]
|
|
951
876
|
* @param {*} [options] Override http request option.
|
|
952
877
|
* @throws {RequiredError}
|
|
953
878
|
*/
|
|
954
|
-
async listAIAgentConversations(
|
|
955
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listAIAgentConversations(
|
|
879
|
+
async listAIAgentConversations(limit?: number, after?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AiAgentConversationList>> {
|
|
880
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listAIAgentConversations(limit, after, options);
|
|
956
881
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
957
882
|
const localVarOperationServerBasePath = operationServerMap['AIAgentApi.listAIAgentConversations']?.[localVarOperationServerIndex]?.url;
|
|
958
883
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -960,15 +885,14 @@ export const AIAgentApiFp = function(configuration?: Configuration) {
|
|
|
960
885
|
/**
|
|
961
886
|
*
|
|
962
887
|
* @summary List AI diagnosis conversation messages
|
|
963
|
-
* @param {string} orgName
|
|
964
888
|
* @param {string} conversationId
|
|
965
889
|
* @param {string} [after]
|
|
966
890
|
* @param {number} [limit]
|
|
967
891
|
* @param {*} [options] Override http request option.
|
|
968
892
|
* @throws {RequiredError}
|
|
969
893
|
*/
|
|
970
|
-
async listAIAgentMessages(
|
|
971
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listAIAgentMessages(
|
|
894
|
+
async listAIAgentMessages(conversationId: string, after?: string, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AiAgentMessageList>> {
|
|
895
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listAIAgentMessages(conversationId, after, limit, options);
|
|
972
896
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
973
897
|
const localVarOperationServerBasePath = operationServerMap['AIAgentApi.listAIAgentMessages']?.[localVarOperationServerIndex]?.url;
|
|
974
898
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -976,7 +900,6 @@ export const AIAgentApiFp = function(configuration?: Configuration) {
|
|
|
976
900
|
/**
|
|
977
901
|
*
|
|
978
902
|
* @summary List stable AI diagnosis turn process actions
|
|
979
|
-
* @param {string} orgName
|
|
980
903
|
* @param {string} conversationId
|
|
981
904
|
* @param {string} [turnId]
|
|
982
905
|
* @param {string} [after]
|
|
@@ -984,8 +907,8 @@ export const AIAgentApiFp = function(configuration?: Configuration) {
|
|
|
984
907
|
* @param {*} [options] Override http request option.
|
|
985
908
|
* @throws {RequiredError}
|
|
986
909
|
*/
|
|
987
|
-
async listAIAgentTurnActions(
|
|
988
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listAIAgentTurnActions(
|
|
910
|
+
async listAIAgentTurnActions(conversationId: string, turnId?: string, after?: string, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AiAgentTurnActionList>> {
|
|
911
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listAIAgentTurnActions(conversationId, turnId, after, limit, options);
|
|
989
912
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
990
913
|
const localVarOperationServerBasePath = operationServerMap['AIAgentApi.listAIAgentTurnActions']?.[localVarOperationServerIndex]?.url;
|
|
991
914
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -993,15 +916,14 @@ export const AIAgentApiFp = function(configuration?: Configuration) {
|
|
|
993
916
|
/**
|
|
994
917
|
*
|
|
995
918
|
* @summary Reject one AI diagnosis tool confirmation
|
|
996
|
-
* @param {string} orgName
|
|
997
919
|
* @param {string} conversationId
|
|
998
920
|
* @param {string} confirmationId
|
|
999
921
|
* @param {AiAgentToolConfirmationDecisionRequest} [aiAgentToolConfirmationDecisionRequest]
|
|
1000
922
|
* @param {*} [options] Override http request option.
|
|
1001
923
|
* @throws {RequiredError}
|
|
1002
924
|
*/
|
|
1003
|
-
async rejectAIAgentToolConfirmation(
|
|
1004
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.rejectAIAgentToolConfirmation(
|
|
925
|
+
async rejectAIAgentToolConfirmation(conversationId: string, confirmationId: string, aiAgentToolConfirmationDecisionRequest?: AiAgentToolConfirmationDecisionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AiAgentToolConfirmationDecisionResponse>> {
|
|
926
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.rejectAIAgentToolConfirmation(conversationId, confirmationId, aiAgentToolConfirmationDecisionRequest, options);
|
|
1005
927
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1006
928
|
const localVarOperationServerBasePath = operationServerMap['AIAgentApi.rejectAIAgentToolConfirmation']?.[localVarOperationServerIndex]?.url;
|
|
1007
929
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1009,14 +931,13 @@ export const AIAgentApiFp = function(configuration?: Configuration) {
|
|
|
1009
931
|
/**
|
|
1010
932
|
*
|
|
1011
933
|
* @summary Send a user message and start or continue AI diagnosis
|
|
1012
|
-
* @param {string} orgName
|
|
1013
934
|
* @param {string} conversationId
|
|
1014
935
|
* @param {AiAgentSendMessageRequest} aiAgentSendMessageRequest
|
|
1015
936
|
* @param {*} [options] Override http request option.
|
|
1016
937
|
* @throws {RequiredError}
|
|
1017
938
|
*/
|
|
1018
|
-
async sendAIAgentMessage(
|
|
1019
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.sendAIAgentMessage(
|
|
939
|
+
async sendAIAgentMessage(conversationId: string, aiAgentSendMessageRequest: AiAgentSendMessageRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AiAgentSendMessageResponse>> {
|
|
940
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.sendAIAgentMessage(conversationId, aiAgentSendMessageRequest, options);
|
|
1020
941
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1021
942
|
const localVarOperationServerBasePath = operationServerMap['AIAgentApi.sendAIAgentMessage']?.[localVarOperationServerIndex]?.url;
|
|
1022
943
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1024,13 +945,12 @@ export const AIAgentApiFp = function(configuration?: Configuration) {
|
|
|
1024
945
|
/**
|
|
1025
946
|
*
|
|
1026
947
|
* @summary Stop the current AI diagnosis turn
|
|
1027
|
-
* @param {string} orgName
|
|
1028
948
|
* @param {string} conversationId
|
|
1029
949
|
* @param {*} [options] Override http request option.
|
|
1030
950
|
* @throws {RequiredError}
|
|
1031
951
|
*/
|
|
1032
|
-
async stopAIAgentConversation(
|
|
1033
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.stopAIAgentConversation(
|
|
952
|
+
async stopAIAgentConversation(conversationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AiAgentStopConversationResponse>> {
|
|
953
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.stopAIAgentConversation(conversationId, options);
|
|
1034
954
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1035
955
|
const localVarOperationServerBasePath = operationServerMap['AIAgentApi.stopAIAgentConversation']?.[localVarOperationServerIndex]?.url;
|
|
1036
956
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1038,14 +958,13 @@ export const AIAgentApiFp = function(configuration?: Configuration) {
|
|
|
1038
958
|
/**
|
|
1039
959
|
*
|
|
1040
960
|
* @summary Subscribe to AI diagnosis conversation events
|
|
1041
|
-
* @param {string} orgName
|
|
1042
961
|
* @param {string} conversationId
|
|
1043
962
|
* @param {string} [after]
|
|
1044
963
|
* @param {*} [options] Override http request option.
|
|
1045
964
|
* @throws {RequiredError}
|
|
1046
965
|
*/
|
|
1047
|
-
async subscribeAIAgentConversationEvents(
|
|
1048
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.subscribeAIAgentConversationEvents(
|
|
966
|
+
async subscribeAIAgentConversationEvents(conversationId: string, after?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AiAgentEvent>> {
|
|
967
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.subscribeAIAgentConversationEvents(conversationId, after, options);
|
|
1049
968
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1050
969
|
const localVarOperationServerBasePath = operationServerMap['AIAgentApi.subscribeAIAgentConversationEvents']?.[localVarOperationServerIndex]?.url;
|
|
1051
970
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1068,7 +987,7 @@ export const AIAgentApiFactory = function (configuration?: Configuration, basePa
|
|
|
1068
987
|
* @throws {RequiredError}
|
|
1069
988
|
*/
|
|
1070
989
|
approveAIAgentToolConfirmation(requestParameters: AIAgentApiApproveAIAgentToolConfirmationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AiAgentToolConfirmationDecisionResponse> {
|
|
1071
|
-
return localVarFp.approveAIAgentToolConfirmation(requestParameters.
|
|
990
|
+
return localVarFp.approveAIAgentToolConfirmation(requestParameters.conversationId, requestParameters.confirmationId, requestParameters.aiAgentToolConfirmationDecisionRequest, options).then((request) => request(axios, basePath));
|
|
1072
991
|
},
|
|
1073
992
|
/**
|
|
1074
993
|
*
|
|
@@ -1078,7 +997,7 @@ export const AIAgentApiFactory = function (configuration?: Configuration, basePa
|
|
|
1078
997
|
* @throws {RequiredError}
|
|
1079
998
|
*/
|
|
1080
999
|
browseAIAgentTurnActionArtifact(requestParameters: AIAgentApiBrowseAIAgentTurnActionArtifactRequest, options?: RawAxiosRequestConfig): AxiosPromise<File> {
|
|
1081
|
-
return localVarFp.browseAIAgentTurnActionArtifact(requestParameters.
|
|
1000
|
+
return localVarFp.browseAIAgentTurnActionArtifact(requestParameters.conversationId, requestParameters.actionId, requestParameters.artifactId, options).then((request) => request(axios, basePath));
|
|
1082
1001
|
},
|
|
1083
1002
|
/**
|
|
1084
1003
|
*
|
|
@@ -1088,7 +1007,7 @@ export const AIAgentApiFactory = function (configuration?: Configuration, basePa
|
|
|
1088
1007
|
* @throws {RequiredError}
|
|
1089
1008
|
*/
|
|
1090
1009
|
createAIAgentConversation(requestParameters: AIAgentApiCreateAIAgentConversationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AiAgentConversation> {
|
|
1091
|
-
return localVarFp.createAIAgentConversation(requestParameters.
|
|
1010
|
+
return localVarFp.createAIAgentConversation(requestParameters.aiAgentCreateConversationRequest, options).then((request) => request(axios, basePath));
|
|
1092
1011
|
},
|
|
1093
1012
|
/**
|
|
1094
1013
|
*
|
|
@@ -1098,7 +1017,7 @@ export const AIAgentApiFactory = function (configuration?: Configuration, basePa
|
|
|
1098
1017
|
* @throws {RequiredError}
|
|
1099
1018
|
*/
|
|
1100
1019
|
deleteAIAgentConversation(requestParameters: AIAgentApiDeleteAIAgentConversationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AiAgentDeleteConversationResponse> {
|
|
1101
|
-
return localVarFp.deleteAIAgentConversation(requestParameters.
|
|
1020
|
+
return localVarFp.deleteAIAgentConversation(requestParameters.conversationId, options).then((request) => request(axios, basePath));
|
|
1102
1021
|
},
|
|
1103
1022
|
/**
|
|
1104
1023
|
*
|
|
@@ -1108,7 +1027,7 @@ export const AIAgentApiFactory = function (configuration?: Configuration, basePa
|
|
|
1108
1027
|
* @throws {RequiredError}
|
|
1109
1028
|
*/
|
|
1110
1029
|
downloadAIAgentTurnActionArtifact(requestParameters: AIAgentApiDownloadAIAgentTurnActionArtifactRequest, options?: RawAxiosRequestConfig): AxiosPromise<File> {
|
|
1111
|
-
return localVarFp.downloadAIAgentTurnActionArtifact(requestParameters.
|
|
1030
|
+
return localVarFp.downloadAIAgentTurnActionArtifact(requestParameters.conversationId, requestParameters.actionId, requestParameters.artifactId, options).then((request) => request(axios, basePath));
|
|
1112
1031
|
},
|
|
1113
1032
|
/**
|
|
1114
1033
|
*
|
|
@@ -1118,17 +1037,16 @@ export const AIAgentApiFactory = function (configuration?: Configuration, basePa
|
|
|
1118
1037
|
* @throws {RequiredError}
|
|
1119
1038
|
*/
|
|
1120
1039
|
getAIAgentConversation(requestParameters: AIAgentApiGetAIAgentConversationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AiAgentConversation> {
|
|
1121
|
-
return localVarFp.getAIAgentConversation(requestParameters.
|
|
1040
|
+
return localVarFp.getAIAgentConversation(requestParameters.conversationId, options).then((request) => request(axios, basePath));
|
|
1122
1041
|
},
|
|
1123
1042
|
/**
|
|
1124
1043
|
*
|
|
1125
1044
|
* @summary Get AI diagnosis agent status
|
|
1126
|
-
* @param {AIAgentApiGetAIAgentStatusRequest} requestParameters Request parameters.
|
|
1127
1045
|
* @param {*} [options] Override http request option.
|
|
1128
1046
|
* @throws {RequiredError}
|
|
1129
1047
|
*/
|
|
1130
|
-
getAIAgentStatus(
|
|
1131
|
-
return localVarFp.getAIAgentStatus(
|
|
1048
|
+
getAIAgentStatus(options?: RawAxiosRequestConfig): AxiosPromise<AiAgentRuntimeStatus> {
|
|
1049
|
+
return localVarFp.getAIAgentStatus(options).then((request) => request(axios, basePath));
|
|
1132
1050
|
},
|
|
1133
1051
|
/**
|
|
1134
1052
|
*
|
|
@@ -1138,17 +1056,17 @@ export const AIAgentApiFactory = function (configuration?: Configuration, basePa
|
|
|
1138
1056
|
* @throws {RequiredError}
|
|
1139
1057
|
*/
|
|
1140
1058
|
getAIAgentTurnAction(requestParameters: AIAgentApiGetAIAgentTurnActionRequest, options?: RawAxiosRequestConfig): AxiosPromise<AiAgentTurnAction> {
|
|
1141
|
-
return localVarFp.getAIAgentTurnAction(requestParameters.
|
|
1059
|
+
return localVarFp.getAIAgentTurnAction(requestParameters.conversationId, requestParameters.actionId, options).then((request) => request(axios, basePath));
|
|
1142
1060
|
},
|
|
1143
1061
|
/**
|
|
1144
|
-
*
|
|
1062
|
+
* Lists platform AI diagnosis conversations for the current admin user. Admin global entry and admin cluster-detail entry share the same history.
|
|
1145
1063
|
* @summary List AI diagnosis conversations
|
|
1146
1064
|
* @param {AIAgentApiListAIAgentConversationsRequest} requestParameters Request parameters.
|
|
1147
1065
|
* @param {*} [options] Override http request option.
|
|
1148
1066
|
* @throws {RequiredError}
|
|
1149
1067
|
*/
|
|
1150
|
-
listAIAgentConversations(requestParameters: AIAgentApiListAIAgentConversationsRequest, options?: RawAxiosRequestConfig): AxiosPromise<AiAgentConversationList> {
|
|
1151
|
-
return localVarFp.listAIAgentConversations(requestParameters.
|
|
1068
|
+
listAIAgentConversations(requestParameters: AIAgentApiListAIAgentConversationsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<AiAgentConversationList> {
|
|
1069
|
+
return localVarFp.listAIAgentConversations(requestParameters.limit, requestParameters.after, options).then((request) => request(axios, basePath));
|
|
1152
1070
|
},
|
|
1153
1071
|
/**
|
|
1154
1072
|
*
|
|
@@ -1158,7 +1076,7 @@ export const AIAgentApiFactory = function (configuration?: Configuration, basePa
|
|
|
1158
1076
|
* @throws {RequiredError}
|
|
1159
1077
|
*/
|
|
1160
1078
|
listAIAgentMessages(requestParameters: AIAgentApiListAIAgentMessagesRequest, options?: RawAxiosRequestConfig): AxiosPromise<AiAgentMessageList> {
|
|
1161
|
-
return localVarFp.listAIAgentMessages(requestParameters.
|
|
1079
|
+
return localVarFp.listAIAgentMessages(requestParameters.conversationId, requestParameters.after, requestParameters.limit, options).then((request) => request(axios, basePath));
|
|
1162
1080
|
},
|
|
1163
1081
|
/**
|
|
1164
1082
|
*
|
|
@@ -1168,7 +1086,7 @@ export const AIAgentApiFactory = function (configuration?: Configuration, basePa
|
|
|
1168
1086
|
* @throws {RequiredError}
|
|
1169
1087
|
*/
|
|
1170
1088
|
listAIAgentTurnActions(requestParameters: AIAgentApiListAIAgentTurnActionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<AiAgentTurnActionList> {
|
|
1171
|
-
return localVarFp.listAIAgentTurnActions(requestParameters.
|
|
1089
|
+
return localVarFp.listAIAgentTurnActions(requestParameters.conversationId, requestParameters.turnId, requestParameters.after, requestParameters.limit, options).then((request) => request(axios, basePath));
|
|
1172
1090
|
},
|
|
1173
1091
|
/**
|
|
1174
1092
|
*
|
|
@@ -1178,7 +1096,7 @@ export const AIAgentApiFactory = function (configuration?: Configuration, basePa
|
|
|
1178
1096
|
* @throws {RequiredError}
|
|
1179
1097
|
*/
|
|
1180
1098
|
rejectAIAgentToolConfirmation(requestParameters: AIAgentApiRejectAIAgentToolConfirmationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AiAgentToolConfirmationDecisionResponse> {
|
|
1181
|
-
return localVarFp.rejectAIAgentToolConfirmation(requestParameters.
|
|
1099
|
+
return localVarFp.rejectAIAgentToolConfirmation(requestParameters.conversationId, requestParameters.confirmationId, requestParameters.aiAgentToolConfirmationDecisionRequest, options).then((request) => request(axios, basePath));
|
|
1182
1100
|
},
|
|
1183
1101
|
/**
|
|
1184
1102
|
*
|
|
@@ -1188,7 +1106,7 @@ export const AIAgentApiFactory = function (configuration?: Configuration, basePa
|
|
|
1188
1106
|
* @throws {RequiredError}
|
|
1189
1107
|
*/
|
|
1190
1108
|
sendAIAgentMessage(requestParameters: AIAgentApiSendAIAgentMessageRequest, options?: RawAxiosRequestConfig): AxiosPromise<AiAgentSendMessageResponse> {
|
|
1191
|
-
return localVarFp.sendAIAgentMessage(requestParameters.
|
|
1109
|
+
return localVarFp.sendAIAgentMessage(requestParameters.conversationId, requestParameters.aiAgentSendMessageRequest, options).then((request) => request(axios, basePath));
|
|
1192
1110
|
},
|
|
1193
1111
|
/**
|
|
1194
1112
|
*
|
|
@@ -1198,7 +1116,7 @@ export const AIAgentApiFactory = function (configuration?: Configuration, basePa
|
|
|
1198
1116
|
* @throws {RequiredError}
|
|
1199
1117
|
*/
|
|
1200
1118
|
stopAIAgentConversation(requestParameters: AIAgentApiStopAIAgentConversationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AiAgentStopConversationResponse> {
|
|
1201
|
-
return localVarFp.stopAIAgentConversation(requestParameters.
|
|
1119
|
+
return localVarFp.stopAIAgentConversation(requestParameters.conversationId, options).then((request) => request(axios, basePath));
|
|
1202
1120
|
},
|
|
1203
1121
|
/**
|
|
1204
1122
|
*
|
|
@@ -1208,7 +1126,7 @@ export const AIAgentApiFactory = function (configuration?: Configuration, basePa
|
|
|
1208
1126
|
* @throws {RequiredError}
|
|
1209
1127
|
*/
|
|
1210
1128
|
subscribeAIAgentConversationEvents(requestParameters: AIAgentApiSubscribeAIAgentConversationEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<AiAgentEvent> {
|
|
1211
|
-
return localVarFp.subscribeAIAgentConversationEvents(requestParameters.
|
|
1129
|
+
return localVarFp.subscribeAIAgentConversationEvents(requestParameters.conversationId, requestParameters.after, options).then((request) => request(axios, basePath));
|
|
1212
1130
|
},
|
|
1213
1131
|
};
|
|
1214
1132
|
};
|
|
@@ -1282,12 +1200,11 @@ export interface AIAgentApiInterface {
|
|
|
1282
1200
|
/**
|
|
1283
1201
|
*
|
|
1284
1202
|
* @summary Get AI diagnosis agent status
|
|
1285
|
-
* @param {AIAgentApiGetAIAgentStatusRequest} requestParameters Request parameters.
|
|
1286
1203
|
* @param {*} [options] Override http request option.
|
|
1287
1204
|
* @throws {RequiredError}
|
|
1288
1205
|
* @memberof AIAgentApiInterface
|
|
1289
1206
|
*/
|
|
1290
|
-
getAIAgentStatus(
|
|
1207
|
+
getAIAgentStatus(options?: RawAxiosRequestConfig): AxiosPromise<AiAgentRuntimeStatus>;
|
|
1291
1208
|
|
|
1292
1209
|
/**
|
|
1293
1210
|
*
|
|
@@ -1300,14 +1217,14 @@ export interface AIAgentApiInterface {
|
|
|
1300
1217
|
getAIAgentTurnAction(requestParameters: AIAgentApiGetAIAgentTurnActionRequest, options?: RawAxiosRequestConfig): AxiosPromise<AiAgentTurnAction>;
|
|
1301
1218
|
|
|
1302
1219
|
/**
|
|
1303
|
-
*
|
|
1220
|
+
* Lists platform AI diagnosis conversations for the current admin user. Admin global entry and admin cluster-detail entry share the same history.
|
|
1304
1221
|
* @summary List AI diagnosis conversations
|
|
1305
1222
|
* @param {AIAgentApiListAIAgentConversationsRequest} requestParameters Request parameters.
|
|
1306
1223
|
* @param {*} [options] Override http request option.
|
|
1307
1224
|
* @throws {RequiredError}
|
|
1308
1225
|
* @memberof AIAgentApiInterface
|
|
1309
1226
|
*/
|
|
1310
|
-
listAIAgentConversations(requestParameters
|
|
1227
|
+
listAIAgentConversations(requestParameters?: AIAgentApiListAIAgentConversationsRequest, options?: RawAxiosRequestConfig): AxiosPromise<AiAgentConversationList>;
|
|
1311
1228
|
|
|
1312
1229
|
/**
|
|
1313
1230
|
*
|
|
@@ -1377,13 +1294,6 @@ export interface AIAgentApiInterface {
|
|
|
1377
1294
|
* @interface AIAgentApiApproveAIAgentToolConfirmationRequest
|
|
1378
1295
|
*/
|
|
1379
1296
|
export interface AIAgentApiApproveAIAgentToolConfirmationRequest {
|
|
1380
|
-
/**
|
|
1381
|
-
*
|
|
1382
|
-
* @type {string}
|
|
1383
|
-
* @memberof AIAgentApiApproveAIAgentToolConfirmation
|
|
1384
|
-
*/
|
|
1385
|
-
readonly orgName: string
|
|
1386
|
-
|
|
1387
1297
|
/**
|
|
1388
1298
|
*
|
|
1389
1299
|
* @type {string}
|
|
@@ -1412,13 +1322,6 @@ export interface AIAgentApiApproveAIAgentToolConfirmationRequest {
|
|
|
1412
1322
|
* @interface AIAgentApiBrowseAIAgentTurnActionArtifactRequest
|
|
1413
1323
|
*/
|
|
1414
1324
|
export interface AIAgentApiBrowseAIAgentTurnActionArtifactRequest {
|
|
1415
|
-
/**
|
|
1416
|
-
*
|
|
1417
|
-
* @type {string}
|
|
1418
|
-
* @memberof AIAgentApiBrowseAIAgentTurnActionArtifact
|
|
1419
|
-
*/
|
|
1420
|
-
readonly orgName: string
|
|
1421
|
-
|
|
1422
1325
|
/**
|
|
1423
1326
|
*
|
|
1424
1327
|
* @type {string}
|
|
@@ -1447,13 +1350,6 @@ export interface AIAgentApiBrowseAIAgentTurnActionArtifactRequest {
|
|
|
1447
1350
|
* @interface AIAgentApiCreateAIAgentConversationRequest
|
|
1448
1351
|
*/
|
|
1449
1352
|
export interface AIAgentApiCreateAIAgentConversationRequest {
|
|
1450
|
-
/**
|
|
1451
|
-
*
|
|
1452
|
-
* @type {string}
|
|
1453
|
-
* @memberof AIAgentApiCreateAIAgentConversation
|
|
1454
|
-
*/
|
|
1455
|
-
readonly orgName: string
|
|
1456
|
-
|
|
1457
1353
|
/**
|
|
1458
1354
|
*
|
|
1459
1355
|
* @type {AiAgentCreateConversationRequest}
|
|
@@ -1468,13 +1364,6 @@ export interface AIAgentApiCreateAIAgentConversationRequest {
|
|
|
1468
1364
|
* @interface AIAgentApiDeleteAIAgentConversationRequest
|
|
1469
1365
|
*/
|
|
1470
1366
|
export interface AIAgentApiDeleteAIAgentConversationRequest {
|
|
1471
|
-
/**
|
|
1472
|
-
*
|
|
1473
|
-
* @type {string}
|
|
1474
|
-
* @memberof AIAgentApiDeleteAIAgentConversation
|
|
1475
|
-
*/
|
|
1476
|
-
readonly orgName: string
|
|
1477
|
-
|
|
1478
1367
|
/**
|
|
1479
1368
|
*
|
|
1480
1369
|
* @type {string}
|
|
@@ -1489,13 +1378,6 @@ export interface AIAgentApiDeleteAIAgentConversationRequest {
|
|
|
1489
1378
|
* @interface AIAgentApiDownloadAIAgentTurnActionArtifactRequest
|
|
1490
1379
|
*/
|
|
1491
1380
|
export interface AIAgentApiDownloadAIAgentTurnActionArtifactRequest {
|
|
1492
|
-
/**
|
|
1493
|
-
*
|
|
1494
|
-
* @type {string}
|
|
1495
|
-
* @memberof AIAgentApiDownloadAIAgentTurnActionArtifact
|
|
1496
|
-
*/
|
|
1497
|
-
readonly orgName: string
|
|
1498
|
-
|
|
1499
1381
|
/**
|
|
1500
1382
|
*
|
|
1501
1383
|
* @type {string}
|
|
@@ -1524,13 +1406,6 @@ export interface AIAgentApiDownloadAIAgentTurnActionArtifactRequest {
|
|
|
1524
1406
|
* @interface AIAgentApiGetAIAgentConversationRequest
|
|
1525
1407
|
*/
|
|
1526
1408
|
export interface AIAgentApiGetAIAgentConversationRequest {
|
|
1527
|
-
/**
|
|
1528
|
-
*
|
|
1529
|
-
* @type {string}
|
|
1530
|
-
* @memberof AIAgentApiGetAIAgentConversation
|
|
1531
|
-
*/
|
|
1532
|
-
readonly orgName: string
|
|
1533
|
-
|
|
1534
1409
|
/**
|
|
1535
1410
|
*
|
|
1536
1411
|
* @type {string}
|
|
@@ -1539,33 +1414,12 @@ export interface AIAgentApiGetAIAgentConversationRequest {
|
|
|
1539
1414
|
readonly conversationId: string
|
|
1540
1415
|
}
|
|
1541
1416
|
|
|
1542
|
-
/**
|
|
1543
|
-
* Request parameters for getAIAgentStatus operation in AIAgentApi.
|
|
1544
|
-
* @export
|
|
1545
|
-
* @interface AIAgentApiGetAIAgentStatusRequest
|
|
1546
|
-
*/
|
|
1547
|
-
export interface AIAgentApiGetAIAgentStatusRequest {
|
|
1548
|
-
/**
|
|
1549
|
-
*
|
|
1550
|
-
* @type {string}
|
|
1551
|
-
* @memberof AIAgentApiGetAIAgentStatus
|
|
1552
|
-
*/
|
|
1553
|
-
readonly orgName: string
|
|
1554
|
-
}
|
|
1555
|
-
|
|
1556
1417
|
/**
|
|
1557
1418
|
* Request parameters for getAIAgentTurnAction operation in AIAgentApi.
|
|
1558
1419
|
* @export
|
|
1559
1420
|
* @interface AIAgentApiGetAIAgentTurnActionRequest
|
|
1560
1421
|
*/
|
|
1561
1422
|
export interface AIAgentApiGetAIAgentTurnActionRequest {
|
|
1562
|
-
/**
|
|
1563
|
-
*
|
|
1564
|
-
* @type {string}
|
|
1565
|
-
* @memberof AIAgentApiGetAIAgentTurnAction
|
|
1566
|
-
*/
|
|
1567
|
-
readonly orgName: string
|
|
1568
|
-
|
|
1569
1423
|
/**
|
|
1570
1424
|
*
|
|
1571
1425
|
* @type {string}
|
|
@@ -1587,13 +1441,6 @@ export interface AIAgentApiGetAIAgentTurnActionRequest {
|
|
|
1587
1441
|
* @interface AIAgentApiListAIAgentConversationsRequest
|
|
1588
1442
|
*/
|
|
1589
1443
|
export interface AIAgentApiListAIAgentConversationsRequest {
|
|
1590
|
-
/**
|
|
1591
|
-
*
|
|
1592
|
-
* @type {string}
|
|
1593
|
-
* @memberof AIAgentApiListAIAgentConversations
|
|
1594
|
-
*/
|
|
1595
|
-
readonly orgName: string
|
|
1596
|
-
|
|
1597
1444
|
/**
|
|
1598
1445
|
*
|
|
1599
1446
|
* @type {number}
|
|
@@ -1607,13 +1454,6 @@ export interface AIAgentApiListAIAgentConversationsRequest {
|
|
|
1607
1454
|
* @memberof AIAgentApiListAIAgentConversations
|
|
1608
1455
|
*/
|
|
1609
1456
|
readonly after?: string
|
|
1610
|
-
|
|
1611
|
-
/**
|
|
1612
|
-
*
|
|
1613
|
-
* @type {string}
|
|
1614
|
-
* @memberof AIAgentApiListAIAgentConversations
|
|
1615
|
-
*/
|
|
1616
|
-
readonly clusterName?: string
|
|
1617
1457
|
}
|
|
1618
1458
|
|
|
1619
1459
|
/**
|
|
@@ -1622,13 +1462,6 @@ export interface AIAgentApiListAIAgentConversationsRequest {
|
|
|
1622
1462
|
* @interface AIAgentApiListAIAgentMessagesRequest
|
|
1623
1463
|
*/
|
|
1624
1464
|
export interface AIAgentApiListAIAgentMessagesRequest {
|
|
1625
|
-
/**
|
|
1626
|
-
*
|
|
1627
|
-
* @type {string}
|
|
1628
|
-
* @memberof AIAgentApiListAIAgentMessages
|
|
1629
|
-
*/
|
|
1630
|
-
readonly orgName: string
|
|
1631
|
-
|
|
1632
1465
|
/**
|
|
1633
1466
|
*
|
|
1634
1467
|
* @type {string}
|
|
@@ -1657,13 +1490,6 @@ export interface AIAgentApiListAIAgentMessagesRequest {
|
|
|
1657
1490
|
* @interface AIAgentApiListAIAgentTurnActionsRequest
|
|
1658
1491
|
*/
|
|
1659
1492
|
export interface AIAgentApiListAIAgentTurnActionsRequest {
|
|
1660
|
-
/**
|
|
1661
|
-
*
|
|
1662
|
-
* @type {string}
|
|
1663
|
-
* @memberof AIAgentApiListAIAgentTurnActions
|
|
1664
|
-
*/
|
|
1665
|
-
readonly orgName: string
|
|
1666
|
-
|
|
1667
1493
|
/**
|
|
1668
1494
|
*
|
|
1669
1495
|
* @type {string}
|
|
@@ -1699,13 +1525,6 @@ export interface AIAgentApiListAIAgentTurnActionsRequest {
|
|
|
1699
1525
|
* @interface AIAgentApiRejectAIAgentToolConfirmationRequest
|
|
1700
1526
|
*/
|
|
1701
1527
|
export interface AIAgentApiRejectAIAgentToolConfirmationRequest {
|
|
1702
|
-
/**
|
|
1703
|
-
*
|
|
1704
|
-
* @type {string}
|
|
1705
|
-
* @memberof AIAgentApiRejectAIAgentToolConfirmation
|
|
1706
|
-
*/
|
|
1707
|
-
readonly orgName: string
|
|
1708
|
-
|
|
1709
1528
|
/**
|
|
1710
1529
|
*
|
|
1711
1530
|
* @type {string}
|
|
@@ -1734,13 +1553,6 @@ export interface AIAgentApiRejectAIAgentToolConfirmationRequest {
|
|
|
1734
1553
|
* @interface AIAgentApiSendAIAgentMessageRequest
|
|
1735
1554
|
*/
|
|
1736
1555
|
export interface AIAgentApiSendAIAgentMessageRequest {
|
|
1737
|
-
/**
|
|
1738
|
-
*
|
|
1739
|
-
* @type {string}
|
|
1740
|
-
* @memberof AIAgentApiSendAIAgentMessage
|
|
1741
|
-
*/
|
|
1742
|
-
readonly orgName: string
|
|
1743
|
-
|
|
1744
1556
|
/**
|
|
1745
1557
|
*
|
|
1746
1558
|
* @type {string}
|
|
@@ -1762,13 +1574,6 @@ export interface AIAgentApiSendAIAgentMessageRequest {
|
|
|
1762
1574
|
* @interface AIAgentApiStopAIAgentConversationRequest
|
|
1763
1575
|
*/
|
|
1764
1576
|
export interface AIAgentApiStopAIAgentConversationRequest {
|
|
1765
|
-
/**
|
|
1766
|
-
*
|
|
1767
|
-
* @type {string}
|
|
1768
|
-
* @memberof AIAgentApiStopAIAgentConversation
|
|
1769
|
-
*/
|
|
1770
|
-
readonly orgName: string
|
|
1771
|
-
|
|
1772
1577
|
/**
|
|
1773
1578
|
*
|
|
1774
1579
|
* @type {string}
|
|
@@ -1783,13 +1588,6 @@ export interface AIAgentApiStopAIAgentConversationRequest {
|
|
|
1783
1588
|
* @interface AIAgentApiSubscribeAIAgentConversationEventsRequest
|
|
1784
1589
|
*/
|
|
1785
1590
|
export interface AIAgentApiSubscribeAIAgentConversationEventsRequest {
|
|
1786
|
-
/**
|
|
1787
|
-
*
|
|
1788
|
-
* @type {string}
|
|
1789
|
-
* @memberof AIAgentApiSubscribeAIAgentConversationEvents
|
|
1790
|
-
*/
|
|
1791
|
-
readonly orgName: string
|
|
1792
|
-
|
|
1793
1591
|
/**
|
|
1794
1592
|
*
|
|
1795
1593
|
* @type {string}
|
|
@@ -1821,7 +1619,7 @@ export class AIAgentApi extends BaseAPI implements AIAgentApiInterface {
|
|
|
1821
1619
|
* @memberof AIAgentApi
|
|
1822
1620
|
*/
|
|
1823
1621
|
public approveAIAgentToolConfirmation(requestParameters: AIAgentApiApproveAIAgentToolConfirmationRequest, options?: RawAxiosRequestConfig) {
|
|
1824
|
-
return AIAgentApiFp(this.configuration).approveAIAgentToolConfirmation(requestParameters.
|
|
1622
|
+
return AIAgentApiFp(this.configuration).approveAIAgentToolConfirmation(requestParameters.conversationId, requestParameters.confirmationId, requestParameters.aiAgentToolConfirmationDecisionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1825
1623
|
}
|
|
1826
1624
|
|
|
1827
1625
|
/**
|
|
@@ -1833,7 +1631,7 @@ export class AIAgentApi extends BaseAPI implements AIAgentApiInterface {
|
|
|
1833
1631
|
* @memberof AIAgentApi
|
|
1834
1632
|
*/
|
|
1835
1633
|
public browseAIAgentTurnActionArtifact(requestParameters: AIAgentApiBrowseAIAgentTurnActionArtifactRequest, options?: RawAxiosRequestConfig) {
|
|
1836
|
-
return AIAgentApiFp(this.configuration).browseAIAgentTurnActionArtifact(requestParameters.
|
|
1634
|
+
return AIAgentApiFp(this.configuration).browseAIAgentTurnActionArtifact(requestParameters.conversationId, requestParameters.actionId, requestParameters.artifactId, options).then((request) => request(this.axios, this.basePath));
|
|
1837
1635
|
}
|
|
1838
1636
|
|
|
1839
1637
|
/**
|
|
@@ -1845,7 +1643,7 @@ export class AIAgentApi extends BaseAPI implements AIAgentApiInterface {
|
|
|
1845
1643
|
* @memberof AIAgentApi
|
|
1846
1644
|
*/
|
|
1847
1645
|
public createAIAgentConversation(requestParameters: AIAgentApiCreateAIAgentConversationRequest, options?: RawAxiosRequestConfig) {
|
|
1848
|
-
return AIAgentApiFp(this.configuration).createAIAgentConversation(requestParameters.
|
|
1646
|
+
return AIAgentApiFp(this.configuration).createAIAgentConversation(requestParameters.aiAgentCreateConversationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1849
1647
|
}
|
|
1850
1648
|
|
|
1851
1649
|
/**
|
|
@@ -1857,7 +1655,7 @@ export class AIAgentApi extends BaseAPI implements AIAgentApiInterface {
|
|
|
1857
1655
|
* @memberof AIAgentApi
|
|
1858
1656
|
*/
|
|
1859
1657
|
public deleteAIAgentConversation(requestParameters: AIAgentApiDeleteAIAgentConversationRequest, options?: RawAxiosRequestConfig) {
|
|
1860
|
-
return AIAgentApiFp(this.configuration).deleteAIAgentConversation(requestParameters.
|
|
1658
|
+
return AIAgentApiFp(this.configuration).deleteAIAgentConversation(requestParameters.conversationId, options).then((request) => request(this.axios, this.basePath));
|
|
1861
1659
|
}
|
|
1862
1660
|
|
|
1863
1661
|
/**
|
|
@@ -1869,7 +1667,7 @@ export class AIAgentApi extends BaseAPI implements AIAgentApiInterface {
|
|
|
1869
1667
|
* @memberof AIAgentApi
|
|
1870
1668
|
*/
|
|
1871
1669
|
public downloadAIAgentTurnActionArtifact(requestParameters: AIAgentApiDownloadAIAgentTurnActionArtifactRequest, options?: RawAxiosRequestConfig) {
|
|
1872
|
-
return AIAgentApiFp(this.configuration).downloadAIAgentTurnActionArtifact(requestParameters.
|
|
1670
|
+
return AIAgentApiFp(this.configuration).downloadAIAgentTurnActionArtifact(requestParameters.conversationId, requestParameters.actionId, requestParameters.artifactId, options).then((request) => request(this.axios, this.basePath));
|
|
1873
1671
|
}
|
|
1874
1672
|
|
|
1875
1673
|
/**
|
|
@@ -1881,19 +1679,18 @@ export class AIAgentApi extends BaseAPI implements AIAgentApiInterface {
|
|
|
1881
1679
|
* @memberof AIAgentApi
|
|
1882
1680
|
*/
|
|
1883
1681
|
public getAIAgentConversation(requestParameters: AIAgentApiGetAIAgentConversationRequest, options?: RawAxiosRequestConfig) {
|
|
1884
|
-
return AIAgentApiFp(this.configuration).getAIAgentConversation(requestParameters.
|
|
1682
|
+
return AIAgentApiFp(this.configuration).getAIAgentConversation(requestParameters.conversationId, options).then((request) => request(this.axios, this.basePath));
|
|
1885
1683
|
}
|
|
1886
1684
|
|
|
1887
1685
|
/**
|
|
1888
1686
|
*
|
|
1889
1687
|
* @summary Get AI diagnosis agent status
|
|
1890
|
-
* @param {AIAgentApiGetAIAgentStatusRequest} requestParameters Request parameters.
|
|
1891
1688
|
* @param {*} [options] Override http request option.
|
|
1892
1689
|
* @throws {RequiredError}
|
|
1893
1690
|
* @memberof AIAgentApi
|
|
1894
1691
|
*/
|
|
1895
|
-
public getAIAgentStatus(
|
|
1896
|
-
return AIAgentApiFp(this.configuration).getAIAgentStatus(
|
|
1692
|
+
public getAIAgentStatus(options?: RawAxiosRequestConfig) {
|
|
1693
|
+
return AIAgentApiFp(this.configuration).getAIAgentStatus(options).then((request) => request(this.axios, this.basePath));
|
|
1897
1694
|
}
|
|
1898
1695
|
|
|
1899
1696
|
/**
|
|
@@ -1905,19 +1702,19 @@ export class AIAgentApi extends BaseAPI implements AIAgentApiInterface {
|
|
|
1905
1702
|
* @memberof AIAgentApi
|
|
1906
1703
|
*/
|
|
1907
1704
|
public getAIAgentTurnAction(requestParameters: AIAgentApiGetAIAgentTurnActionRequest, options?: RawAxiosRequestConfig) {
|
|
1908
|
-
return AIAgentApiFp(this.configuration).getAIAgentTurnAction(requestParameters.
|
|
1705
|
+
return AIAgentApiFp(this.configuration).getAIAgentTurnAction(requestParameters.conversationId, requestParameters.actionId, options).then((request) => request(this.axios, this.basePath));
|
|
1909
1706
|
}
|
|
1910
1707
|
|
|
1911
1708
|
/**
|
|
1912
|
-
*
|
|
1709
|
+
* Lists platform AI diagnosis conversations for the current admin user. Admin global entry and admin cluster-detail entry share the same history.
|
|
1913
1710
|
* @summary List AI diagnosis conversations
|
|
1914
1711
|
* @param {AIAgentApiListAIAgentConversationsRequest} requestParameters Request parameters.
|
|
1915
1712
|
* @param {*} [options] Override http request option.
|
|
1916
1713
|
* @throws {RequiredError}
|
|
1917
1714
|
* @memberof AIAgentApi
|
|
1918
1715
|
*/
|
|
1919
|
-
public listAIAgentConversations(requestParameters: AIAgentApiListAIAgentConversationsRequest, options?: RawAxiosRequestConfig) {
|
|
1920
|
-
return AIAgentApiFp(this.configuration).listAIAgentConversations(requestParameters.
|
|
1716
|
+
public listAIAgentConversations(requestParameters: AIAgentApiListAIAgentConversationsRequest = {}, options?: RawAxiosRequestConfig) {
|
|
1717
|
+
return AIAgentApiFp(this.configuration).listAIAgentConversations(requestParameters.limit, requestParameters.after, options).then((request) => request(this.axios, this.basePath));
|
|
1921
1718
|
}
|
|
1922
1719
|
|
|
1923
1720
|
/**
|
|
@@ -1929,7 +1726,7 @@ export class AIAgentApi extends BaseAPI implements AIAgentApiInterface {
|
|
|
1929
1726
|
* @memberof AIAgentApi
|
|
1930
1727
|
*/
|
|
1931
1728
|
public listAIAgentMessages(requestParameters: AIAgentApiListAIAgentMessagesRequest, options?: RawAxiosRequestConfig) {
|
|
1932
|
-
return AIAgentApiFp(this.configuration).listAIAgentMessages(requestParameters.
|
|
1729
|
+
return AIAgentApiFp(this.configuration).listAIAgentMessages(requestParameters.conversationId, requestParameters.after, requestParameters.limit, options).then((request) => request(this.axios, this.basePath));
|
|
1933
1730
|
}
|
|
1934
1731
|
|
|
1935
1732
|
/**
|
|
@@ -1941,7 +1738,7 @@ export class AIAgentApi extends BaseAPI implements AIAgentApiInterface {
|
|
|
1941
1738
|
* @memberof AIAgentApi
|
|
1942
1739
|
*/
|
|
1943
1740
|
public listAIAgentTurnActions(requestParameters: AIAgentApiListAIAgentTurnActionsRequest, options?: RawAxiosRequestConfig) {
|
|
1944
|
-
return AIAgentApiFp(this.configuration).listAIAgentTurnActions(requestParameters.
|
|
1741
|
+
return AIAgentApiFp(this.configuration).listAIAgentTurnActions(requestParameters.conversationId, requestParameters.turnId, requestParameters.after, requestParameters.limit, options).then((request) => request(this.axios, this.basePath));
|
|
1945
1742
|
}
|
|
1946
1743
|
|
|
1947
1744
|
/**
|
|
@@ -1953,7 +1750,7 @@ export class AIAgentApi extends BaseAPI implements AIAgentApiInterface {
|
|
|
1953
1750
|
* @memberof AIAgentApi
|
|
1954
1751
|
*/
|
|
1955
1752
|
public rejectAIAgentToolConfirmation(requestParameters: AIAgentApiRejectAIAgentToolConfirmationRequest, options?: RawAxiosRequestConfig) {
|
|
1956
|
-
return AIAgentApiFp(this.configuration).rejectAIAgentToolConfirmation(requestParameters.
|
|
1753
|
+
return AIAgentApiFp(this.configuration).rejectAIAgentToolConfirmation(requestParameters.conversationId, requestParameters.confirmationId, requestParameters.aiAgentToolConfirmationDecisionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1957
1754
|
}
|
|
1958
1755
|
|
|
1959
1756
|
/**
|
|
@@ -1965,7 +1762,7 @@ export class AIAgentApi extends BaseAPI implements AIAgentApiInterface {
|
|
|
1965
1762
|
* @memberof AIAgentApi
|
|
1966
1763
|
*/
|
|
1967
1764
|
public sendAIAgentMessage(requestParameters: AIAgentApiSendAIAgentMessageRequest, options?: RawAxiosRequestConfig) {
|
|
1968
|
-
return AIAgentApiFp(this.configuration).sendAIAgentMessage(requestParameters.
|
|
1765
|
+
return AIAgentApiFp(this.configuration).sendAIAgentMessage(requestParameters.conversationId, requestParameters.aiAgentSendMessageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1969
1766
|
}
|
|
1970
1767
|
|
|
1971
1768
|
/**
|
|
@@ -1977,7 +1774,7 @@ export class AIAgentApi extends BaseAPI implements AIAgentApiInterface {
|
|
|
1977
1774
|
* @memberof AIAgentApi
|
|
1978
1775
|
*/
|
|
1979
1776
|
public stopAIAgentConversation(requestParameters: AIAgentApiStopAIAgentConversationRequest, options?: RawAxiosRequestConfig) {
|
|
1980
|
-
return AIAgentApiFp(this.configuration).stopAIAgentConversation(requestParameters.
|
|
1777
|
+
return AIAgentApiFp(this.configuration).stopAIAgentConversation(requestParameters.conversationId, options).then((request) => request(this.axios, this.basePath));
|
|
1981
1778
|
}
|
|
1982
1779
|
|
|
1983
1780
|
/**
|
|
@@ -1989,7 +1786,7 @@ export class AIAgentApi extends BaseAPI implements AIAgentApiInterface {
|
|
|
1989
1786
|
* @memberof AIAgentApi
|
|
1990
1787
|
*/
|
|
1991
1788
|
public subscribeAIAgentConversationEvents(requestParameters: AIAgentApiSubscribeAIAgentConversationEventsRequest, options?: RawAxiosRequestConfig) {
|
|
1992
|
-
return AIAgentApiFp(this.configuration).subscribeAIAgentConversationEvents(requestParameters.
|
|
1789
|
+
return AIAgentApiFp(this.configuration).subscribeAIAgentConversationEvents(requestParameters.conversationId, requestParameters.after, options).then((request) => request(this.axios, this.basePath));
|
|
1993
1790
|
}
|
|
1994
1791
|
}
|
|
1995
1792
|
|