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
|
@@ -32,22 +32,18 @@ const AIAgentApiAxiosParamCreator = function (configuration) {
|
|
|
32
32
|
/**
|
|
33
33
|
*
|
|
34
34
|
* @summary Approve one AI diagnosis tool confirmation
|
|
35
|
-
* @param {string} orgName
|
|
36
35
|
* @param {string} conversationId
|
|
37
36
|
* @param {string} confirmationId
|
|
38
37
|
* @param {AiAgentToolConfirmationDecisionRequest} [aiAgentToolConfirmationDecisionRequest]
|
|
39
38
|
* @param {*} [options] Override http request option.
|
|
40
39
|
* @throws {RequiredError}
|
|
41
40
|
*/
|
|
42
|
-
approveAIAgentToolConfirmation: async (
|
|
43
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
44
|
-
(0, common_1.assertParamExists)('approveAIAgentToolConfirmation', 'orgName', orgName);
|
|
41
|
+
approveAIAgentToolConfirmation: async (conversationId, confirmationId, aiAgentToolConfirmationDecisionRequest, options = {}) => {
|
|
45
42
|
// verify required parameter 'conversationId' is not null or undefined
|
|
46
43
|
(0, common_1.assertParamExists)('approveAIAgentToolConfirmation', 'conversationId', conversationId);
|
|
47
44
|
// verify required parameter 'confirmationId' is not null or undefined
|
|
48
45
|
(0, common_1.assertParamExists)('approveAIAgentToolConfirmation', 'confirmationId', confirmationId);
|
|
49
|
-
const localVarPath = `/admin/v1/
|
|
50
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
46
|
+
const localVarPath = `/admin/v1/ai-agent/conversations/{conversationId}/tool-confirmations/{confirmationId}/approve`
|
|
51
47
|
.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)))
|
|
52
48
|
.replace(`{${"confirmationId"}}`, encodeURIComponent(String(confirmationId)));
|
|
53
49
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -77,24 +73,20 @@ const AIAgentApiAxiosParamCreator = function (configuration) {
|
|
|
77
73
|
/**
|
|
78
74
|
*
|
|
79
75
|
* @summary Browse a generated AI diagnosis report artifact
|
|
80
|
-
* @param {string} orgName
|
|
81
76
|
* @param {string} conversationId
|
|
82
77
|
* @param {string} actionId
|
|
83
78
|
* @param {string} artifactId
|
|
84
79
|
* @param {*} [options] Override http request option.
|
|
85
80
|
* @throws {RequiredError}
|
|
86
81
|
*/
|
|
87
|
-
browseAIAgentTurnActionArtifact: async (
|
|
88
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
89
|
-
(0, common_1.assertParamExists)('browseAIAgentTurnActionArtifact', 'orgName', orgName);
|
|
82
|
+
browseAIAgentTurnActionArtifact: async (conversationId, actionId, artifactId, options = {}) => {
|
|
90
83
|
// verify required parameter 'conversationId' is not null or undefined
|
|
91
84
|
(0, common_1.assertParamExists)('browseAIAgentTurnActionArtifact', 'conversationId', conversationId);
|
|
92
85
|
// verify required parameter 'actionId' is not null or undefined
|
|
93
86
|
(0, common_1.assertParamExists)('browseAIAgentTurnActionArtifact', 'actionId', actionId);
|
|
94
87
|
// verify required parameter 'artifactId' is not null or undefined
|
|
95
88
|
(0, common_1.assertParamExists)('browseAIAgentTurnActionArtifact', 'artifactId', artifactId);
|
|
96
|
-
const localVarPath = `/admin/v1/
|
|
97
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
89
|
+
const localVarPath = `/admin/v1/ai-agent/conversations/{conversationId}/turn-actions/{actionId}/artifacts/{artifactId}/browse`
|
|
98
90
|
.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)))
|
|
99
91
|
.replace(`{${"actionId"}}`, encodeURIComponent(String(actionId)))
|
|
100
92
|
.replace(`{${"artifactId"}}`, encodeURIComponent(String(artifactId)));
|
|
@@ -123,18 +115,14 @@ const AIAgentApiAxiosParamCreator = function (configuration) {
|
|
|
123
115
|
/**
|
|
124
116
|
*
|
|
125
117
|
* @summary Create an AI diagnosis conversation
|
|
126
|
-
* @param {string} orgName
|
|
127
118
|
* @param {AiAgentCreateConversationRequest} aiAgentCreateConversationRequest
|
|
128
119
|
* @param {*} [options] Override http request option.
|
|
129
120
|
* @throws {RequiredError}
|
|
130
121
|
*/
|
|
131
|
-
createAIAgentConversation: async (
|
|
132
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
133
|
-
(0, common_1.assertParamExists)('createAIAgentConversation', 'orgName', orgName);
|
|
122
|
+
createAIAgentConversation: async (aiAgentCreateConversationRequest, options = {}) => {
|
|
134
123
|
// verify required parameter 'aiAgentCreateConversationRequest' is not null or undefined
|
|
135
124
|
(0, common_1.assertParamExists)('createAIAgentConversation', 'aiAgentCreateConversationRequest', aiAgentCreateConversationRequest);
|
|
136
|
-
const localVarPath = `/admin/v1/
|
|
137
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)));
|
|
125
|
+
const localVarPath = `/admin/v1/ai-agent/conversations`;
|
|
138
126
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
139
127
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
140
128
|
let baseOptions;
|
|
@@ -162,18 +150,14 @@ const AIAgentApiAxiosParamCreator = function (configuration) {
|
|
|
162
150
|
/**
|
|
163
151
|
*
|
|
164
152
|
* @summary Delete an AI diagnosis conversation
|
|
165
|
-
* @param {string} orgName
|
|
166
153
|
* @param {string} conversationId
|
|
167
154
|
* @param {*} [options] Override http request option.
|
|
168
155
|
* @throws {RequiredError}
|
|
169
156
|
*/
|
|
170
|
-
deleteAIAgentConversation: async (
|
|
171
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
172
|
-
(0, common_1.assertParamExists)('deleteAIAgentConversation', 'orgName', orgName);
|
|
157
|
+
deleteAIAgentConversation: async (conversationId, options = {}) => {
|
|
173
158
|
// verify required parameter 'conversationId' is not null or undefined
|
|
174
159
|
(0, common_1.assertParamExists)('deleteAIAgentConversation', 'conversationId', conversationId);
|
|
175
|
-
const localVarPath = `/admin/v1/
|
|
176
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
160
|
+
const localVarPath = `/admin/v1/ai-agent/conversations/{conversationId}`
|
|
177
161
|
.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)));
|
|
178
162
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
179
163
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -200,24 +184,20 @@ const AIAgentApiAxiosParamCreator = function (configuration) {
|
|
|
200
184
|
/**
|
|
201
185
|
*
|
|
202
186
|
* @summary Download a generated AI diagnosis report artifact
|
|
203
|
-
* @param {string} orgName
|
|
204
187
|
* @param {string} conversationId
|
|
205
188
|
* @param {string} actionId
|
|
206
189
|
* @param {string} artifactId
|
|
207
190
|
* @param {*} [options] Override http request option.
|
|
208
191
|
* @throws {RequiredError}
|
|
209
192
|
*/
|
|
210
|
-
downloadAIAgentTurnActionArtifact: async (
|
|
211
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
212
|
-
(0, common_1.assertParamExists)('downloadAIAgentTurnActionArtifact', 'orgName', orgName);
|
|
193
|
+
downloadAIAgentTurnActionArtifact: async (conversationId, actionId, artifactId, options = {}) => {
|
|
213
194
|
// verify required parameter 'conversationId' is not null or undefined
|
|
214
195
|
(0, common_1.assertParamExists)('downloadAIAgentTurnActionArtifact', 'conversationId', conversationId);
|
|
215
196
|
// verify required parameter 'actionId' is not null or undefined
|
|
216
197
|
(0, common_1.assertParamExists)('downloadAIAgentTurnActionArtifact', 'actionId', actionId);
|
|
217
198
|
// verify required parameter 'artifactId' is not null or undefined
|
|
218
199
|
(0, common_1.assertParamExists)('downloadAIAgentTurnActionArtifact', 'artifactId', artifactId);
|
|
219
|
-
const localVarPath = `/admin/v1/
|
|
220
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
200
|
+
const localVarPath = `/admin/v1/ai-agent/conversations/{conversationId}/turn-actions/{actionId}/artifacts/{artifactId}/download`
|
|
221
201
|
.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)))
|
|
222
202
|
.replace(`{${"actionId"}}`, encodeURIComponent(String(actionId)))
|
|
223
203
|
.replace(`{${"artifactId"}}`, encodeURIComponent(String(artifactId)));
|
|
@@ -246,18 +226,14 @@ const AIAgentApiAxiosParamCreator = function (configuration) {
|
|
|
246
226
|
/**
|
|
247
227
|
*
|
|
248
228
|
* @summary Get an AI diagnosis conversation
|
|
249
|
-
* @param {string} orgName
|
|
250
229
|
* @param {string} conversationId
|
|
251
230
|
* @param {*} [options] Override http request option.
|
|
252
231
|
* @throws {RequiredError}
|
|
253
232
|
*/
|
|
254
|
-
getAIAgentConversation: async (
|
|
255
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
256
|
-
(0, common_1.assertParamExists)('getAIAgentConversation', 'orgName', orgName);
|
|
233
|
+
getAIAgentConversation: async (conversationId, options = {}) => {
|
|
257
234
|
// verify required parameter 'conversationId' is not null or undefined
|
|
258
235
|
(0, common_1.assertParamExists)('getAIAgentConversation', 'conversationId', conversationId);
|
|
259
|
-
const localVarPath = `/admin/v1/
|
|
260
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
236
|
+
const localVarPath = `/admin/v1/ai-agent/conversations/{conversationId}`
|
|
261
237
|
.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)));
|
|
262
238
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
263
239
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -284,15 +260,11 @@ const AIAgentApiAxiosParamCreator = function (configuration) {
|
|
|
284
260
|
/**
|
|
285
261
|
*
|
|
286
262
|
* @summary Get AI diagnosis agent status
|
|
287
|
-
* @param {string} orgName
|
|
288
263
|
* @param {*} [options] Override http request option.
|
|
289
264
|
* @throws {RequiredError}
|
|
290
265
|
*/
|
|
291
|
-
getAIAgentStatus: async (
|
|
292
|
-
|
|
293
|
-
(0, common_1.assertParamExists)('getAIAgentStatus', 'orgName', orgName);
|
|
294
|
-
const localVarPath = `/admin/v1/organizations/{orgName}/ai-agent/status`
|
|
295
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)));
|
|
266
|
+
getAIAgentStatus: async (options = {}) => {
|
|
267
|
+
const localVarPath = `/admin/v1/ai-agent/status`;
|
|
296
268
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
297
269
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
298
270
|
let baseOptions;
|
|
@@ -318,21 +290,17 @@ const AIAgentApiAxiosParamCreator = function (configuration) {
|
|
|
318
290
|
/**
|
|
319
291
|
*
|
|
320
292
|
* @summary Get one stable AI diagnosis turn process action
|
|
321
|
-
* @param {string} orgName
|
|
322
293
|
* @param {string} conversationId
|
|
323
294
|
* @param {string} actionId
|
|
324
295
|
* @param {*} [options] Override http request option.
|
|
325
296
|
* @throws {RequiredError}
|
|
326
297
|
*/
|
|
327
|
-
getAIAgentTurnAction: async (
|
|
328
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
329
|
-
(0, common_1.assertParamExists)('getAIAgentTurnAction', 'orgName', orgName);
|
|
298
|
+
getAIAgentTurnAction: async (conversationId, actionId, options = {}) => {
|
|
330
299
|
// verify required parameter 'conversationId' is not null or undefined
|
|
331
300
|
(0, common_1.assertParamExists)('getAIAgentTurnAction', 'conversationId', conversationId);
|
|
332
301
|
// verify required parameter 'actionId' is not null or undefined
|
|
333
302
|
(0, common_1.assertParamExists)('getAIAgentTurnAction', 'actionId', actionId);
|
|
334
|
-
const localVarPath = `/admin/v1/
|
|
335
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
303
|
+
const localVarPath = `/admin/v1/ai-agent/conversations/{conversationId}/turn-actions/{actionId}`
|
|
336
304
|
.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)))
|
|
337
305
|
.replace(`{${"actionId"}}`, encodeURIComponent(String(actionId)));
|
|
338
306
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -358,20 +326,15 @@ const AIAgentApiAxiosParamCreator = function (configuration) {
|
|
|
358
326
|
};
|
|
359
327
|
},
|
|
360
328
|
/**
|
|
361
|
-
*
|
|
329
|
+
* Lists platform AI diagnosis conversations for the current admin user. Admin global entry and admin cluster-detail entry share the same history.
|
|
362
330
|
* @summary List AI diagnosis conversations
|
|
363
|
-
* @param {string} orgName
|
|
364
331
|
* @param {number} [limit]
|
|
365
332
|
* @param {string} [after]
|
|
366
|
-
* @param {string} [clusterName]
|
|
367
333
|
* @param {*} [options] Override http request option.
|
|
368
334
|
* @throws {RequiredError}
|
|
369
335
|
*/
|
|
370
|
-
listAIAgentConversations: async (
|
|
371
|
-
|
|
372
|
-
(0, common_1.assertParamExists)('listAIAgentConversations', 'orgName', orgName);
|
|
373
|
-
const localVarPath = `/admin/v1/organizations/{orgName}/ai-agent/conversations`
|
|
374
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)));
|
|
336
|
+
listAIAgentConversations: async (limit, after, options = {}) => {
|
|
337
|
+
const localVarPath = `/admin/v1/ai-agent/conversations`;
|
|
375
338
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
376
339
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
377
340
|
let baseOptions;
|
|
@@ -392,9 +355,6 @@ const AIAgentApiAxiosParamCreator = function (configuration) {
|
|
|
392
355
|
if (after !== undefined) {
|
|
393
356
|
localVarQueryParameter['after'] = after;
|
|
394
357
|
}
|
|
395
|
-
if (clusterName !== undefined) {
|
|
396
|
-
localVarQueryParameter['clusterName'] = clusterName;
|
|
397
|
-
}
|
|
398
358
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
399
359
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
400
360
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -406,20 +366,16 @@ const AIAgentApiAxiosParamCreator = function (configuration) {
|
|
|
406
366
|
/**
|
|
407
367
|
*
|
|
408
368
|
* @summary List AI diagnosis conversation messages
|
|
409
|
-
* @param {string} orgName
|
|
410
369
|
* @param {string} conversationId
|
|
411
370
|
* @param {string} [after]
|
|
412
371
|
* @param {number} [limit]
|
|
413
372
|
* @param {*} [options] Override http request option.
|
|
414
373
|
* @throws {RequiredError}
|
|
415
374
|
*/
|
|
416
|
-
listAIAgentMessages: async (
|
|
417
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
418
|
-
(0, common_1.assertParamExists)('listAIAgentMessages', 'orgName', orgName);
|
|
375
|
+
listAIAgentMessages: async (conversationId, after, limit, options = {}) => {
|
|
419
376
|
// verify required parameter 'conversationId' is not null or undefined
|
|
420
377
|
(0, common_1.assertParamExists)('listAIAgentMessages', 'conversationId', conversationId);
|
|
421
|
-
const localVarPath = `/admin/v1/
|
|
422
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
378
|
+
const localVarPath = `/admin/v1/ai-agent/conversations/{conversationId}/messages`
|
|
423
379
|
.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)));
|
|
424
380
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
425
381
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -452,7 +408,6 @@ const AIAgentApiAxiosParamCreator = function (configuration) {
|
|
|
452
408
|
/**
|
|
453
409
|
*
|
|
454
410
|
* @summary List stable AI diagnosis turn process actions
|
|
455
|
-
* @param {string} orgName
|
|
456
411
|
* @param {string} conversationId
|
|
457
412
|
* @param {string} [turnId]
|
|
458
413
|
* @param {string} [after]
|
|
@@ -460,13 +415,10 @@ const AIAgentApiAxiosParamCreator = function (configuration) {
|
|
|
460
415
|
* @param {*} [options] Override http request option.
|
|
461
416
|
* @throws {RequiredError}
|
|
462
417
|
*/
|
|
463
|
-
listAIAgentTurnActions: async (
|
|
464
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
465
|
-
(0, common_1.assertParamExists)('listAIAgentTurnActions', 'orgName', orgName);
|
|
418
|
+
listAIAgentTurnActions: async (conversationId, turnId, after, limit, options = {}) => {
|
|
466
419
|
// verify required parameter 'conversationId' is not null or undefined
|
|
467
420
|
(0, common_1.assertParamExists)('listAIAgentTurnActions', 'conversationId', conversationId);
|
|
468
|
-
const localVarPath = `/admin/v1/
|
|
469
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
421
|
+
const localVarPath = `/admin/v1/ai-agent/conversations/{conversationId}/turn-actions`
|
|
470
422
|
.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)));
|
|
471
423
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
472
424
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -502,22 +454,18 @@ const AIAgentApiAxiosParamCreator = function (configuration) {
|
|
|
502
454
|
/**
|
|
503
455
|
*
|
|
504
456
|
* @summary Reject one AI diagnosis tool confirmation
|
|
505
|
-
* @param {string} orgName
|
|
506
457
|
* @param {string} conversationId
|
|
507
458
|
* @param {string} confirmationId
|
|
508
459
|
* @param {AiAgentToolConfirmationDecisionRequest} [aiAgentToolConfirmationDecisionRequest]
|
|
509
460
|
* @param {*} [options] Override http request option.
|
|
510
461
|
* @throws {RequiredError}
|
|
511
462
|
*/
|
|
512
|
-
rejectAIAgentToolConfirmation: async (
|
|
513
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
514
|
-
(0, common_1.assertParamExists)('rejectAIAgentToolConfirmation', 'orgName', orgName);
|
|
463
|
+
rejectAIAgentToolConfirmation: async (conversationId, confirmationId, aiAgentToolConfirmationDecisionRequest, options = {}) => {
|
|
515
464
|
// verify required parameter 'conversationId' is not null or undefined
|
|
516
465
|
(0, common_1.assertParamExists)('rejectAIAgentToolConfirmation', 'conversationId', conversationId);
|
|
517
466
|
// verify required parameter 'confirmationId' is not null or undefined
|
|
518
467
|
(0, common_1.assertParamExists)('rejectAIAgentToolConfirmation', 'confirmationId', confirmationId);
|
|
519
|
-
const localVarPath = `/admin/v1/
|
|
520
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
468
|
+
const localVarPath = `/admin/v1/ai-agent/conversations/{conversationId}/tool-confirmations/{confirmationId}/reject`
|
|
521
469
|
.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)))
|
|
522
470
|
.replace(`{${"confirmationId"}}`, encodeURIComponent(String(confirmationId)));
|
|
523
471
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -547,21 +495,17 @@ const AIAgentApiAxiosParamCreator = function (configuration) {
|
|
|
547
495
|
/**
|
|
548
496
|
*
|
|
549
497
|
* @summary Send a user message and start or continue AI diagnosis
|
|
550
|
-
* @param {string} orgName
|
|
551
498
|
* @param {string} conversationId
|
|
552
499
|
* @param {AiAgentSendMessageRequest} aiAgentSendMessageRequest
|
|
553
500
|
* @param {*} [options] Override http request option.
|
|
554
501
|
* @throws {RequiredError}
|
|
555
502
|
*/
|
|
556
|
-
sendAIAgentMessage: async (
|
|
557
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
558
|
-
(0, common_1.assertParamExists)('sendAIAgentMessage', 'orgName', orgName);
|
|
503
|
+
sendAIAgentMessage: async (conversationId, aiAgentSendMessageRequest, options = {}) => {
|
|
559
504
|
// verify required parameter 'conversationId' is not null or undefined
|
|
560
505
|
(0, common_1.assertParamExists)('sendAIAgentMessage', 'conversationId', conversationId);
|
|
561
506
|
// verify required parameter 'aiAgentSendMessageRequest' is not null or undefined
|
|
562
507
|
(0, common_1.assertParamExists)('sendAIAgentMessage', 'aiAgentSendMessageRequest', aiAgentSendMessageRequest);
|
|
563
|
-
const localVarPath = `/admin/v1/
|
|
564
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
508
|
+
const localVarPath = `/admin/v1/ai-agent/conversations/{conversationId}/messages`
|
|
565
509
|
.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)));
|
|
566
510
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
567
511
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -590,18 +534,14 @@ const AIAgentApiAxiosParamCreator = function (configuration) {
|
|
|
590
534
|
/**
|
|
591
535
|
*
|
|
592
536
|
* @summary Stop the current AI diagnosis turn
|
|
593
|
-
* @param {string} orgName
|
|
594
537
|
* @param {string} conversationId
|
|
595
538
|
* @param {*} [options] Override http request option.
|
|
596
539
|
* @throws {RequiredError}
|
|
597
540
|
*/
|
|
598
|
-
stopAIAgentConversation: async (
|
|
599
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
600
|
-
(0, common_1.assertParamExists)('stopAIAgentConversation', 'orgName', orgName);
|
|
541
|
+
stopAIAgentConversation: async (conversationId, options = {}) => {
|
|
601
542
|
// verify required parameter 'conversationId' is not null or undefined
|
|
602
543
|
(0, common_1.assertParamExists)('stopAIAgentConversation', 'conversationId', conversationId);
|
|
603
|
-
const localVarPath = `/admin/v1/
|
|
604
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
544
|
+
const localVarPath = `/admin/v1/ai-agent/conversations/{conversationId}/stop`
|
|
605
545
|
.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)));
|
|
606
546
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
607
547
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -628,19 +568,15 @@ const AIAgentApiAxiosParamCreator = function (configuration) {
|
|
|
628
568
|
/**
|
|
629
569
|
*
|
|
630
570
|
* @summary Subscribe to AI diagnosis conversation events
|
|
631
|
-
* @param {string} orgName
|
|
632
571
|
* @param {string} conversationId
|
|
633
572
|
* @param {string} [after]
|
|
634
573
|
* @param {*} [options] Override http request option.
|
|
635
574
|
* @throws {RequiredError}
|
|
636
575
|
*/
|
|
637
|
-
subscribeAIAgentConversationEvents: async (
|
|
638
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
639
|
-
(0, common_1.assertParamExists)('subscribeAIAgentConversationEvents', 'orgName', orgName);
|
|
576
|
+
subscribeAIAgentConversationEvents: async (conversationId, after, options = {}) => {
|
|
640
577
|
// verify required parameter 'conversationId' is not null or undefined
|
|
641
578
|
(0, common_1.assertParamExists)('subscribeAIAgentConversationEvents', 'conversationId', conversationId);
|
|
642
|
-
const localVarPath = `/admin/v1/
|
|
643
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
579
|
+
const localVarPath = `/admin/v1/ai-agent/conversations/{conversationId}/events`
|
|
644
580
|
.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)));
|
|
645
581
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
646
582
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -680,16 +616,15 @@ const AIAgentApiFp = function (configuration) {
|
|
|
680
616
|
/**
|
|
681
617
|
*
|
|
682
618
|
* @summary Approve one AI diagnosis tool confirmation
|
|
683
|
-
* @param {string} orgName
|
|
684
619
|
* @param {string} conversationId
|
|
685
620
|
* @param {string} confirmationId
|
|
686
621
|
* @param {AiAgentToolConfirmationDecisionRequest} [aiAgentToolConfirmationDecisionRequest]
|
|
687
622
|
* @param {*} [options] Override http request option.
|
|
688
623
|
* @throws {RequiredError}
|
|
689
624
|
*/
|
|
690
|
-
async approveAIAgentToolConfirmation(
|
|
625
|
+
async approveAIAgentToolConfirmation(conversationId, confirmationId, aiAgentToolConfirmationDecisionRequest, options) {
|
|
691
626
|
var _a, _b, _c;
|
|
692
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.approveAIAgentToolConfirmation(
|
|
627
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.approveAIAgentToolConfirmation(conversationId, confirmationId, aiAgentToolConfirmationDecisionRequest, options);
|
|
693
628
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
694
629
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIAgentApi.approveAIAgentToolConfirmation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
695
630
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -697,16 +632,15 @@ const AIAgentApiFp = function (configuration) {
|
|
|
697
632
|
/**
|
|
698
633
|
*
|
|
699
634
|
* @summary Browse a generated AI diagnosis report artifact
|
|
700
|
-
* @param {string} orgName
|
|
701
635
|
* @param {string} conversationId
|
|
702
636
|
* @param {string} actionId
|
|
703
637
|
* @param {string} artifactId
|
|
704
638
|
* @param {*} [options] Override http request option.
|
|
705
639
|
* @throws {RequiredError}
|
|
706
640
|
*/
|
|
707
|
-
async browseAIAgentTurnActionArtifact(
|
|
641
|
+
async browseAIAgentTurnActionArtifact(conversationId, actionId, artifactId, options) {
|
|
708
642
|
var _a, _b, _c;
|
|
709
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.browseAIAgentTurnActionArtifact(
|
|
643
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.browseAIAgentTurnActionArtifact(conversationId, actionId, artifactId, options);
|
|
710
644
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
711
645
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIAgentApi.browseAIAgentTurnActionArtifact']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
712
646
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -714,14 +648,13 @@ const AIAgentApiFp = function (configuration) {
|
|
|
714
648
|
/**
|
|
715
649
|
*
|
|
716
650
|
* @summary Create an AI diagnosis conversation
|
|
717
|
-
* @param {string} orgName
|
|
718
651
|
* @param {AiAgentCreateConversationRequest} aiAgentCreateConversationRequest
|
|
719
652
|
* @param {*} [options] Override http request option.
|
|
720
653
|
* @throws {RequiredError}
|
|
721
654
|
*/
|
|
722
|
-
async createAIAgentConversation(
|
|
655
|
+
async createAIAgentConversation(aiAgentCreateConversationRequest, options) {
|
|
723
656
|
var _a, _b, _c;
|
|
724
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createAIAgentConversation(
|
|
657
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createAIAgentConversation(aiAgentCreateConversationRequest, options);
|
|
725
658
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
726
659
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIAgentApi.createAIAgentConversation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
727
660
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -729,14 +662,13 @@ const AIAgentApiFp = function (configuration) {
|
|
|
729
662
|
/**
|
|
730
663
|
*
|
|
731
664
|
* @summary Delete an AI diagnosis conversation
|
|
732
|
-
* @param {string} orgName
|
|
733
665
|
* @param {string} conversationId
|
|
734
666
|
* @param {*} [options] Override http request option.
|
|
735
667
|
* @throws {RequiredError}
|
|
736
668
|
*/
|
|
737
|
-
async deleteAIAgentConversation(
|
|
669
|
+
async deleteAIAgentConversation(conversationId, options) {
|
|
738
670
|
var _a, _b, _c;
|
|
739
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAIAgentConversation(
|
|
671
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAIAgentConversation(conversationId, options);
|
|
740
672
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
741
673
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIAgentApi.deleteAIAgentConversation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
742
674
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -744,16 +676,15 @@ const AIAgentApiFp = function (configuration) {
|
|
|
744
676
|
/**
|
|
745
677
|
*
|
|
746
678
|
* @summary Download a generated AI diagnosis report artifact
|
|
747
|
-
* @param {string} orgName
|
|
748
679
|
* @param {string} conversationId
|
|
749
680
|
* @param {string} actionId
|
|
750
681
|
* @param {string} artifactId
|
|
751
682
|
* @param {*} [options] Override http request option.
|
|
752
683
|
* @throws {RequiredError}
|
|
753
684
|
*/
|
|
754
|
-
async downloadAIAgentTurnActionArtifact(
|
|
685
|
+
async downloadAIAgentTurnActionArtifact(conversationId, actionId, artifactId, options) {
|
|
755
686
|
var _a, _b, _c;
|
|
756
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.downloadAIAgentTurnActionArtifact(
|
|
687
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.downloadAIAgentTurnActionArtifact(conversationId, actionId, artifactId, options);
|
|
757
688
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
758
689
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIAgentApi.downloadAIAgentTurnActionArtifact']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
759
690
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -761,14 +692,13 @@ const AIAgentApiFp = function (configuration) {
|
|
|
761
692
|
/**
|
|
762
693
|
*
|
|
763
694
|
* @summary Get an AI diagnosis conversation
|
|
764
|
-
* @param {string} orgName
|
|
765
695
|
* @param {string} conversationId
|
|
766
696
|
* @param {*} [options] Override http request option.
|
|
767
697
|
* @throws {RequiredError}
|
|
768
698
|
*/
|
|
769
|
-
async getAIAgentConversation(
|
|
699
|
+
async getAIAgentConversation(conversationId, options) {
|
|
770
700
|
var _a, _b, _c;
|
|
771
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getAIAgentConversation(
|
|
701
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAIAgentConversation(conversationId, options);
|
|
772
702
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
773
703
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIAgentApi.getAIAgentConversation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
774
704
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -776,13 +706,12 @@ const AIAgentApiFp = function (configuration) {
|
|
|
776
706
|
/**
|
|
777
707
|
*
|
|
778
708
|
* @summary Get AI diagnosis agent status
|
|
779
|
-
* @param {string} orgName
|
|
780
709
|
* @param {*} [options] Override http request option.
|
|
781
710
|
* @throws {RequiredError}
|
|
782
711
|
*/
|
|
783
|
-
async getAIAgentStatus(
|
|
712
|
+
async getAIAgentStatus(options) {
|
|
784
713
|
var _a, _b, _c;
|
|
785
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getAIAgentStatus(
|
|
714
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAIAgentStatus(options);
|
|
786
715
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
787
716
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIAgentApi.getAIAgentStatus']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
788
717
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -790,32 +719,29 @@ const AIAgentApiFp = function (configuration) {
|
|
|
790
719
|
/**
|
|
791
720
|
*
|
|
792
721
|
* @summary Get one stable AI diagnosis turn process action
|
|
793
|
-
* @param {string} orgName
|
|
794
722
|
* @param {string} conversationId
|
|
795
723
|
* @param {string} actionId
|
|
796
724
|
* @param {*} [options] Override http request option.
|
|
797
725
|
* @throws {RequiredError}
|
|
798
726
|
*/
|
|
799
|
-
async getAIAgentTurnAction(
|
|
727
|
+
async getAIAgentTurnAction(conversationId, actionId, options) {
|
|
800
728
|
var _a, _b, _c;
|
|
801
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getAIAgentTurnAction(
|
|
729
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAIAgentTurnAction(conversationId, actionId, options);
|
|
802
730
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
803
731
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIAgentApi.getAIAgentTurnAction']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
804
732
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
805
733
|
},
|
|
806
734
|
/**
|
|
807
|
-
*
|
|
735
|
+
* Lists platform AI diagnosis conversations for the current admin user. Admin global entry and admin cluster-detail entry share the same history.
|
|
808
736
|
* @summary List AI diagnosis conversations
|
|
809
|
-
* @param {string} orgName
|
|
810
737
|
* @param {number} [limit]
|
|
811
738
|
* @param {string} [after]
|
|
812
|
-
* @param {string} [clusterName]
|
|
813
739
|
* @param {*} [options] Override http request option.
|
|
814
740
|
* @throws {RequiredError}
|
|
815
741
|
*/
|
|
816
|
-
async listAIAgentConversations(
|
|
742
|
+
async listAIAgentConversations(limit, after, options) {
|
|
817
743
|
var _a, _b, _c;
|
|
818
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listAIAgentConversations(
|
|
744
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listAIAgentConversations(limit, after, options);
|
|
819
745
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
820
746
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIAgentApi.listAIAgentConversations']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
821
747
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -823,16 +749,15 @@ const AIAgentApiFp = function (configuration) {
|
|
|
823
749
|
/**
|
|
824
750
|
*
|
|
825
751
|
* @summary List AI diagnosis conversation messages
|
|
826
|
-
* @param {string} orgName
|
|
827
752
|
* @param {string} conversationId
|
|
828
753
|
* @param {string} [after]
|
|
829
754
|
* @param {number} [limit]
|
|
830
755
|
* @param {*} [options] Override http request option.
|
|
831
756
|
* @throws {RequiredError}
|
|
832
757
|
*/
|
|
833
|
-
async listAIAgentMessages(
|
|
758
|
+
async listAIAgentMessages(conversationId, after, limit, options) {
|
|
834
759
|
var _a, _b, _c;
|
|
835
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listAIAgentMessages(
|
|
760
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listAIAgentMessages(conversationId, after, limit, options);
|
|
836
761
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
837
762
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIAgentApi.listAIAgentMessages']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
838
763
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -840,7 +765,6 @@ const AIAgentApiFp = function (configuration) {
|
|
|
840
765
|
/**
|
|
841
766
|
*
|
|
842
767
|
* @summary List stable AI diagnosis turn process actions
|
|
843
|
-
* @param {string} orgName
|
|
844
768
|
* @param {string} conversationId
|
|
845
769
|
* @param {string} [turnId]
|
|
846
770
|
* @param {string} [after]
|
|
@@ -848,9 +772,9 @@ const AIAgentApiFp = function (configuration) {
|
|
|
848
772
|
* @param {*} [options] Override http request option.
|
|
849
773
|
* @throws {RequiredError}
|
|
850
774
|
*/
|
|
851
|
-
async listAIAgentTurnActions(
|
|
775
|
+
async listAIAgentTurnActions(conversationId, turnId, after, limit, options) {
|
|
852
776
|
var _a, _b, _c;
|
|
853
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listAIAgentTurnActions(
|
|
777
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listAIAgentTurnActions(conversationId, turnId, after, limit, options);
|
|
854
778
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
855
779
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIAgentApi.listAIAgentTurnActions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
856
780
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -858,16 +782,15 @@ const AIAgentApiFp = function (configuration) {
|
|
|
858
782
|
/**
|
|
859
783
|
*
|
|
860
784
|
* @summary Reject one AI diagnosis tool confirmation
|
|
861
|
-
* @param {string} orgName
|
|
862
785
|
* @param {string} conversationId
|
|
863
786
|
* @param {string} confirmationId
|
|
864
787
|
* @param {AiAgentToolConfirmationDecisionRequest} [aiAgentToolConfirmationDecisionRequest]
|
|
865
788
|
* @param {*} [options] Override http request option.
|
|
866
789
|
* @throws {RequiredError}
|
|
867
790
|
*/
|
|
868
|
-
async rejectAIAgentToolConfirmation(
|
|
791
|
+
async rejectAIAgentToolConfirmation(conversationId, confirmationId, aiAgentToolConfirmationDecisionRequest, options) {
|
|
869
792
|
var _a, _b, _c;
|
|
870
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.rejectAIAgentToolConfirmation(
|
|
793
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.rejectAIAgentToolConfirmation(conversationId, confirmationId, aiAgentToolConfirmationDecisionRequest, options);
|
|
871
794
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
872
795
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIAgentApi.rejectAIAgentToolConfirmation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
873
796
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -875,15 +798,14 @@ const AIAgentApiFp = function (configuration) {
|
|
|
875
798
|
/**
|
|
876
799
|
*
|
|
877
800
|
* @summary Send a user message and start or continue AI diagnosis
|
|
878
|
-
* @param {string} orgName
|
|
879
801
|
* @param {string} conversationId
|
|
880
802
|
* @param {AiAgentSendMessageRequest} aiAgentSendMessageRequest
|
|
881
803
|
* @param {*} [options] Override http request option.
|
|
882
804
|
* @throws {RequiredError}
|
|
883
805
|
*/
|
|
884
|
-
async sendAIAgentMessage(
|
|
806
|
+
async sendAIAgentMessage(conversationId, aiAgentSendMessageRequest, options) {
|
|
885
807
|
var _a, _b, _c;
|
|
886
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.sendAIAgentMessage(
|
|
808
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.sendAIAgentMessage(conversationId, aiAgentSendMessageRequest, options);
|
|
887
809
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
888
810
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIAgentApi.sendAIAgentMessage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
889
811
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -891,14 +813,13 @@ const AIAgentApiFp = function (configuration) {
|
|
|
891
813
|
/**
|
|
892
814
|
*
|
|
893
815
|
* @summary Stop the current AI diagnosis turn
|
|
894
|
-
* @param {string} orgName
|
|
895
816
|
* @param {string} conversationId
|
|
896
817
|
* @param {*} [options] Override http request option.
|
|
897
818
|
* @throws {RequiredError}
|
|
898
819
|
*/
|
|
899
|
-
async stopAIAgentConversation(
|
|
820
|
+
async stopAIAgentConversation(conversationId, options) {
|
|
900
821
|
var _a, _b, _c;
|
|
901
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.stopAIAgentConversation(
|
|
822
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.stopAIAgentConversation(conversationId, options);
|
|
902
823
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
903
824
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIAgentApi.stopAIAgentConversation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
904
825
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -906,15 +827,14 @@ const AIAgentApiFp = function (configuration) {
|
|
|
906
827
|
/**
|
|
907
828
|
*
|
|
908
829
|
* @summary Subscribe to AI diagnosis conversation events
|
|
909
|
-
* @param {string} orgName
|
|
910
830
|
* @param {string} conversationId
|
|
911
831
|
* @param {string} [after]
|
|
912
832
|
* @param {*} [options] Override http request option.
|
|
913
833
|
* @throws {RequiredError}
|
|
914
834
|
*/
|
|
915
|
-
async subscribeAIAgentConversationEvents(
|
|
835
|
+
async subscribeAIAgentConversationEvents(conversationId, after, options) {
|
|
916
836
|
var _a, _b, _c;
|
|
917
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.subscribeAIAgentConversationEvents(
|
|
837
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.subscribeAIAgentConversationEvents(conversationId, after, options);
|
|
918
838
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
919
839
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AIAgentApi.subscribeAIAgentConversationEvents']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
920
840
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -937,7 +857,7 @@ const AIAgentApiFactory = function (configuration, basePath, axios) {
|
|
|
937
857
|
* @throws {RequiredError}
|
|
938
858
|
*/
|
|
939
859
|
approveAIAgentToolConfirmation(requestParameters, options) {
|
|
940
|
-
return localVarFp.approveAIAgentToolConfirmation(requestParameters.
|
|
860
|
+
return localVarFp.approveAIAgentToolConfirmation(requestParameters.conversationId, requestParameters.confirmationId, requestParameters.aiAgentToolConfirmationDecisionRequest, options).then((request) => request(axios, basePath));
|
|
941
861
|
},
|
|
942
862
|
/**
|
|
943
863
|
*
|
|
@@ -947,7 +867,7 @@ const AIAgentApiFactory = function (configuration, basePath, axios) {
|
|
|
947
867
|
* @throws {RequiredError}
|
|
948
868
|
*/
|
|
949
869
|
browseAIAgentTurnActionArtifact(requestParameters, options) {
|
|
950
|
-
return localVarFp.browseAIAgentTurnActionArtifact(requestParameters.
|
|
870
|
+
return localVarFp.browseAIAgentTurnActionArtifact(requestParameters.conversationId, requestParameters.actionId, requestParameters.artifactId, options).then((request) => request(axios, basePath));
|
|
951
871
|
},
|
|
952
872
|
/**
|
|
953
873
|
*
|
|
@@ -957,7 +877,7 @@ const AIAgentApiFactory = function (configuration, basePath, axios) {
|
|
|
957
877
|
* @throws {RequiredError}
|
|
958
878
|
*/
|
|
959
879
|
createAIAgentConversation(requestParameters, options) {
|
|
960
|
-
return localVarFp.createAIAgentConversation(requestParameters.
|
|
880
|
+
return localVarFp.createAIAgentConversation(requestParameters.aiAgentCreateConversationRequest, options).then((request) => request(axios, basePath));
|
|
961
881
|
},
|
|
962
882
|
/**
|
|
963
883
|
*
|
|
@@ -967,7 +887,7 @@ const AIAgentApiFactory = function (configuration, basePath, axios) {
|
|
|
967
887
|
* @throws {RequiredError}
|
|
968
888
|
*/
|
|
969
889
|
deleteAIAgentConversation(requestParameters, options) {
|
|
970
|
-
return localVarFp.deleteAIAgentConversation(requestParameters.
|
|
890
|
+
return localVarFp.deleteAIAgentConversation(requestParameters.conversationId, options).then((request) => request(axios, basePath));
|
|
971
891
|
},
|
|
972
892
|
/**
|
|
973
893
|
*
|
|
@@ -977,7 +897,7 @@ const AIAgentApiFactory = function (configuration, basePath, axios) {
|
|
|
977
897
|
* @throws {RequiredError}
|
|
978
898
|
*/
|
|
979
899
|
downloadAIAgentTurnActionArtifact(requestParameters, options) {
|
|
980
|
-
return localVarFp.downloadAIAgentTurnActionArtifact(requestParameters.
|
|
900
|
+
return localVarFp.downloadAIAgentTurnActionArtifact(requestParameters.conversationId, requestParameters.actionId, requestParameters.artifactId, options).then((request) => request(axios, basePath));
|
|
981
901
|
},
|
|
982
902
|
/**
|
|
983
903
|
*
|
|
@@ -987,17 +907,16 @@ const AIAgentApiFactory = function (configuration, basePath, axios) {
|
|
|
987
907
|
* @throws {RequiredError}
|
|
988
908
|
*/
|
|
989
909
|
getAIAgentConversation(requestParameters, options) {
|
|
990
|
-
return localVarFp.getAIAgentConversation(requestParameters.
|
|
910
|
+
return localVarFp.getAIAgentConversation(requestParameters.conversationId, options).then((request) => request(axios, basePath));
|
|
991
911
|
},
|
|
992
912
|
/**
|
|
993
913
|
*
|
|
994
914
|
* @summary Get AI diagnosis agent status
|
|
995
|
-
* @param {AIAgentApiGetAIAgentStatusRequest} requestParameters Request parameters.
|
|
996
915
|
* @param {*} [options] Override http request option.
|
|
997
916
|
* @throws {RequiredError}
|
|
998
917
|
*/
|
|
999
|
-
getAIAgentStatus(
|
|
1000
|
-
return localVarFp.getAIAgentStatus(
|
|
918
|
+
getAIAgentStatus(options) {
|
|
919
|
+
return localVarFp.getAIAgentStatus(options).then((request) => request(axios, basePath));
|
|
1001
920
|
},
|
|
1002
921
|
/**
|
|
1003
922
|
*
|
|
@@ -1007,17 +926,17 @@ const AIAgentApiFactory = function (configuration, basePath, axios) {
|
|
|
1007
926
|
* @throws {RequiredError}
|
|
1008
927
|
*/
|
|
1009
928
|
getAIAgentTurnAction(requestParameters, options) {
|
|
1010
|
-
return localVarFp.getAIAgentTurnAction(requestParameters.
|
|
929
|
+
return localVarFp.getAIAgentTurnAction(requestParameters.conversationId, requestParameters.actionId, options).then((request) => request(axios, basePath));
|
|
1011
930
|
},
|
|
1012
931
|
/**
|
|
1013
|
-
*
|
|
932
|
+
* Lists platform AI diagnosis conversations for the current admin user. Admin global entry and admin cluster-detail entry share the same history.
|
|
1014
933
|
* @summary List AI diagnosis conversations
|
|
1015
934
|
* @param {AIAgentApiListAIAgentConversationsRequest} requestParameters Request parameters.
|
|
1016
935
|
* @param {*} [options] Override http request option.
|
|
1017
936
|
* @throws {RequiredError}
|
|
1018
937
|
*/
|
|
1019
|
-
listAIAgentConversations(requestParameters, options) {
|
|
1020
|
-
return localVarFp.listAIAgentConversations(requestParameters.
|
|
938
|
+
listAIAgentConversations(requestParameters = {}, options) {
|
|
939
|
+
return localVarFp.listAIAgentConversations(requestParameters.limit, requestParameters.after, options).then((request) => request(axios, basePath));
|
|
1021
940
|
},
|
|
1022
941
|
/**
|
|
1023
942
|
*
|
|
@@ -1027,7 +946,7 @@ const AIAgentApiFactory = function (configuration, basePath, axios) {
|
|
|
1027
946
|
* @throws {RequiredError}
|
|
1028
947
|
*/
|
|
1029
948
|
listAIAgentMessages(requestParameters, options) {
|
|
1030
|
-
return localVarFp.listAIAgentMessages(requestParameters.
|
|
949
|
+
return localVarFp.listAIAgentMessages(requestParameters.conversationId, requestParameters.after, requestParameters.limit, options).then((request) => request(axios, basePath));
|
|
1031
950
|
},
|
|
1032
951
|
/**
|
|
1033
952
|
*
|
|
@@ -1037,7 +956,7 @@ const AIAgentApiFactory = function (configuration, basePath, axios) {
|
|
|
1037
956
|
* @throws {RequiredError}
|
|
1038
957
|
*/
|
|
1039
958
|
listAIAgentTurnActions(requestParameters, options) {
|
|
1040
|
-
return localVarFp.listAIAgentTurnActions(requestParameters.
|
|
959
|
+
return localVarFp.listAIAgentTurnActions(requestParameters.conversationId, requestParameters.turnId, requestParameters.after, requestParameters.limit, options).then((request) => request(axios, basePath));
|
|
1041
960
|
},
|
|
1042
961
|
/**
|
|
1043
962
|
*
|
|
@@ -1047,7 +966,7 @@ const AIAgentApiFactory = function (configuration, basePath, axios) {
|
|
|
1047
966
|
* @throws {RequiredError}
|
|
1048
967
|
*/
|
|
1049
968
|
rejectAIAgentToolConfirmation(requestParameters, options) {
|
|
1050
|
-
return localVarFp.rejectAIAgentToolConfirmation(requestParameters.
|
|
969
|
+
return localVarFp.rejectAIAgentToolConfirmation(requestParameters.conversationId, requestParameters.confirmationId, requestParameters.aiAgentToolConfirmationDecisionRequest, options).then((request) => request(axios, basePath));
|
|
1051
970
|
},
|
|
1052
971
|
/**
|
|
1053
972
|
*
|
|
@@ -1057,7 +976,7 @@ const AIAgentApiFactory = function (configuration, basePath, axios) {
|
|
|
1057
976
|
* @throws {RequiredError}
|
|
1058
977
|
*/
|
|
1059
978
|
sendAIAgentMessage(requestParameters, options) {
|
|
1060
|
-
return localVarFp.sendAIAgentMessage(requestParameters.
|
|
979
|
+
return localVarFp.sendAIAgentMessage(requestParameters.conversationId, requestParameters.aiAgentSendMessageRequest, options).then((request) => request(axios, basePath));
|
|
1061
980
|
},
|
|
1062
981
|
/**
|
|
1063
982
|
*
|
|
@@ -1067,7 +986,7 @@ const AIAgentApiFactory = function (configuration, basePath, axios) {
|
|
|
1067
986
|
* @throws {RequiredError}
|
|
1068
987
|
*/
|
|
1069
988
|
stopAIAgentConversation(requestParameters, options) {
|
|
1070
|
-
return localVarFp.stopAIAgentConversation(requestParameters.
|
|
989
|
+
return localVarFp.stopAIAgentConversation(requestParameters.conversationId, options).then((request) => request(axios, basePath));
|
|
1071
990
|
},
|
|
1072
991
|
/**
|
|
1073
992
|
*
|
|
@@ -1077,7 +996,7 @@ const AIAgentApiFactory = function (configuration, basePath, axios) {
|
|
|
1077
996
|
* @throws {RequiredError}
|
|
1078
997
|
*/
|
|
1079
998
|
subscribeAIAgentConversationEvents(requestParameters, options) {
|
|
1080
|
-
return localVarFp.subscribeAIAgentConversationEvents(requestParameters.
|
|
999
|
+
return localVarFp.subscribeAIAgentConversationEvents(requestParameters.conversationId, requestParameters.after, options).then((request) => request(axios, basePath));
|
|
1081
1000
|
},
|
|
1082
1001
|
};
|
|
1083
1002
|
};
|
|
@@ -1098,7 +1017,7 @@ class AIAgentApi extends base_1.BaseAPI {
|
|
|
1098
1017
|
* @memberof AIAgentApi
|
|
1099
1018
|
*/
|
|
1100
1019
|
approveAIAgentToolConfirmation(requestParameters, options) {
|
|
1101
|
-
return (0, exports.AIAgentApiFp)(this.configuration).approveAIAgentToolConfirmation(requestParameters.
|
|
1020
|
+
return (0, exports.AIAgentApiFp)(this.configuration).approveAIAgentToolConfirmation(requestParameters.conversationId, requestParameters.confirmationId, requestParameters.aiAgentToolConfirmationDecisionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1102
1021
|
}
|
|
1103
1022
|
/**
|
|
1104
1023
|
*
|
|
@@ -1109,7 +1028,7 @@ class AIAgentApi extends base_1.BaseAPI {
|
|
|
1109
1028
|
* @memberof AIAgentApi
|
|
1110
1029
|
*/
|
|
1111
1030
|
browseAIAgentTurnActionArtifact(requestParameters, options) {
|
|
1112
|
-
return (0, exports.AIAgentApiFp)(this.configuration).browseAIAgentTurnActionArtifact(requestParameters.
|
|
1031
|
+
return (0, exports.AIAgentApiFp)(this.configuration).browseAIAgentTurnActionArtifact(requestParameters.conversationId, requestParameters.actionId, requestParameters.artifactId, options).then((request) => request(this.axios, this.basePath));
|
|
1113
1032
|
}
|
|
1114
1033
|
/**
|
|
1115
1034
|
*
|
|
@@ -1120,7 +1039,7 @@ class AIAgentApi extends base_1.BaseAPI {
|
|
|
1120
1039
|
* @memberof AIAgentApi
|
|
1121
1040
|
*/
|
|
1122
1041
|
createAIAgentConversation(requestParameters, options) {
|
|
1123
|
-
return (0, exports.AIAgentApiFp)(this.configuration).createAIAgentConversation(requestParameters.
|
|
1042
|
+
return (0, exports.AIAgentApiFp)(this.configuration).createAIAgentConversation(requestParameters.aiAgentCreateConversationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1124
1043
|
}
|
|
1125
1044
|
/**
|
|
1126
1045
|
*
|
|
@@ -1131,7 +1050,7 @@ class AIAgentApi extends base_1.BaseAPI {
|
|
|
1131
1050
|
* @memberof AIAgentApi
|
|
1132
1051
|
*/
|
|
1133
1052
|
deleteAIAgentConversation(requestParameters, options) {
|
|
1134
|
-
return (0, exports.AIAgentApiFp)(this.configuration).deleteAIAgentConversation(requestParameters.
|
|
1053
|
+
return (0, exports.AIAgentApiFp)(this.configuration).deleteAIAgentConversation(requestParameters.conversationId, options).then((request) => request(this.axios, this.basePath));
|
|
1135
1054
|
}
|
|
1136
1055
|
/**
|
|
1137
1056
|
*
|
|
@@ -1142,7 +1061,7 @@ class AIAgentApi extends base_1.BaseAPI {
|
|
|
1142
1061
|
* @memberof AIAgentApi
|
|
1143
1062
|
*/
|
|
1144
1063
|
downloadAIAgentTurnActionArtifact(requestParameters, options) {
|
|
1145
|
-
return (0, exports.AIAgentApiFp)(this.configuration).downloadAIAgentTurnActionArtifact(requestParameters.
|
|
1064
|
+
return (0, exports.AIAgentApiFp)(this.configuration).downloadAIAgentTurnActionArtifact(requestParameters.conversationId, requestParameters.actionId, requestParameters.artifactId, options).then((request) => request(this.axios, this.basePath));
|
|
1146
1065
|
}
|
|
1147
1066
|
/**
|
|
1148
1067
|
*
|
|
@@ -1153,18 +1072,17 @@ class AIAgentApi extends base_1.BaseAPI {
|
|
|
1153
1072
|
* @memberof AIAgentApi
|
|
1154
1073
|
*/
|
|
1155
1074
|
getAIAgentConversation(requestParameters, options) {
|
|
1156
|
-
return (0, exports.AIAgentApiFp)(this.configuration).getAIAgentConversation(requestParameters.
|
|
1075
|
+
return (0, exports.AIAgentApiFp)(this.configuration).getAIAgentConversation(requestParameters.conversationId, options).then((request) => request(this.axios, this.basePath));
|
|
1157
1076
|
}
|
|
1158
1077
|
/**
|
|
1159
1078
|
*
|
|
1160
1079
|
* @summary Get AI diagnosis agent status
|
|
1161
|
-
* @param {AIAgentApiGetAIAgentStatusRequest} requestParameters Request parameters.
|
|
1162
1080
|
* @param {*} [options] Override http request option.
|
|
1163
1081
|
* @throws {RequiredError}
|
|
1164
1082
|
* @memberof AIAgentApi
|
|
1165
1083
|
*/
|
|
1166
|
-
getAIAgentStatus(
|
|
1167
|
-
return (0, exports.AIAgentApiFp)(this.configuration).getAIAgentStatus(
|
|
1084
|
+
getAIAgentStatus(options) {
|
|
1085
|
+
return (0, exports.AIAgentApiFp)(this.configuration).getAIAgentStatus(options).then((request) => request(this.axios, this.basePath));
|
|
1168
1086
|
}
|
|
1169
1087
|
/**
|
|
1170
1088
|
*
|
|
@@ -1175,18 +1093,18 @@ class AIAgentApi extends base_1.BaseAPI {
|
|
|
1175
1093
|
* @memberof AIAgentApi
|
|
1176
1094
|
*/
|
|
1177
1095
|
getAIAgentTurnAction(requestParameters, options) {
|
|
1178
|
-
return (0, exports.AIAgentApiFp)(this.configuration).getAIAgentTurnAction(requestParameters.
|
|
1096
|
+
return (0, exports.AIAgentApiFp)(this.configuration).getAIAgentTurnAction(requestParameters.conversationId, requestParameters.actionId, options).then((request) => request(this.axios, this.basePath));
|
|
1179
1097
|
}
|
|
1180
1098
|
/**
|
|
1181
|
-
*
|
|
1099
|
+
* Lists platform AI diagnosis conversations for the current admin user. Admin global entry and admin cluster-detail entry share the same history.
|
|
1182
1100
|
* @summary List AI diagnosis conversations
|
|
1183
1101
|
* @param {AIAgentApiListAIAgentConversationsRequest} requestParameters Request parameters.
|
|
1184
1102
|
* @param {*} [options] Override http request option.
|
|
1185
1103
|
* @throws {RequiredError}
|
|
1186
1104
|
* @memberof AIAgentApi
|
|
1187
1105
|
*/
|
|
1188
|
-
listAIAgentConversations(requestParameters, options) {
|
|
1189
|
-
return (0, exports.AIAgentApiFp)(this.configuration).listAIAgentConversations(requestParameters.
|
|
1106
|
+
listAIAgentConversations(requestParameters = {}, options) {
|
|
1107
|
+
return (0, exports.AIAgentApiFp)(this.configuration).listAIAgentConversations(requestParameters.limit, requestParameters.after, options).then((request) => request(this.axios, this.basePath));
|
|
1190
1108
|
}
|
|
1191
1109
|
/**
|
|
1192
1110
|
*
|
|
@@ -1197,7 +1115,7 @@ class AIAgentApi extends base_1.BaseAPI {
|
|
|
1197
1115
|
* @memberof AIAgentApi
|
|
1198
1116
|
*/
|
|
1199
1117
|
listAIAgentMessages(requestParameters, options) {
|
|
1200
|
-
return (0, exports.AIAgentApiFp)(this.configuration).listAIAgentMessages(requestParameters.
|
|
1118
|
+
return (0, exports.AIAgentApiFp)(this.configuration).listAIAgentMessages(requestParameters.conversationId, requestParameters.after, requestParameters.limit, options).then((request) => request(this.axios, this.basePath));
|
|
1201
1119
|
}
|
|
1202
1120
|
/**
|
|
1203
1121
|
*
|
|
@@ -1208,7 +1126,7 @@ class AIAgentApi extends base_1.BaseAPI {
|
|
|
1208
1126
|
* @memberof AIAgentApi
|
|
1209
1127
|
*/
|
|
1210
1128
|
listAIAgentTurnActions(requestParameters, options) {
|
|
1211
|
-
return (0, exports.AIAgentApiFp)(this.configuration).listAIAgentTurnActions(requestParameters.
|
|
1129
|
+
return (0, exports.AIAgentApiFp)(this.configuration).listAIAgentTurnActions(requestParameters.conversationId, requestParameters.turnId, requestParameters.after, requestParameters.limit, options).then((request) => request(this.axios, this.basePath));
|
|
1212
1130
|
}
|
|
1213
1131
|
/**
|
|
1214
1132
|
*
|
|
@@ -1219,7 +1137,7 @@ class AIAgentApi extends base_1.BaseAPI {
|
|
|
1219
1137
|
* @memberof AIAgentApi
|
|
1220
1138
|
*/
|
|
1221
1139
|
rejectAIAgentToolConfirmation(requestParameters, options) {
|
|
1222
|
-
return (0, exports.AIAgentApiFp)(this.configuration).rejectAIAgentToolConfirmation(requestParameters.
|
|
1140
|
+
return (0, exports.AIAgentApiFp)(this.configuration).rejectAIAgentToolConfirmation(requestParameters.conversationId, requestParameters.confirmationId, requestParameters.aiAgentToolConfirmationDecisionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1223
1141
|
}
|
|
1224
1142
|
/**
|
|
1225
1143
|
*
|
|
@@ -1230,7 +1148,7 @@ class AIAgentApi extends base_1.BaseAPI {
|
|
|
1230
1148
|
* @memberof AIAgentApi
|
|
1231
1149
|
*/
|
|
1232
1150
|
sendAIAgentMessage(requestParameters, options) {
|
|
1233
|
-
return (0, exports.AIAgentApiFp)(this.configuration).sendAIAgentMessage(requestParameters.
|
|
1151
|
+
return (0, exports.AIAgentApiFp)(this.configuration).sendAIAgentMessage(requestParameters.conversationId, requestParameters.aiAgentSendMessageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1234
1152
|
}
|
|
1235
1153
|
/**
|
|
1236
1154
|
*
|
|
@@ -1241,7 +1159,7 @@ class AIAgentApi extends base_1.BaseAPI {
|
|
|
1241
1159
|
* @memberof AIAgentApi
|
|
1242
1160
|
*/
|
|
1243
1161
|
stopAIAgentConversation(requestParameters, options) {
|
|
1244
|
-
return (0, exports.AIAgentApiFp)(this.configuration).stopAIAgentConversation(requestParameters.
|
|
1162
|
+
return (0, exports.AIAgentApiFp)(this.configuration).stopAIAgentConversation(requestParameters.conversationId, options).then((request) => request(this.axios, this.basePath));
|
|
1245
1163
|
}
|
|
1246
1164
|
/**
|
|
1247
1165
|
*
|
|
@@ -1252,7 +1170,7 @@ class AIAgentApi extends base_1.BaseAPI {
|
|
|
1252
1170
|
* @memberof AIAgentApi
|
|
1253
1171
|
*/
|
|
1254
1172
|
subscribeAIAgentConversationEvents(requestParameters, options) {
|
|
1255
|
-
return (0, exports.AIAgentApiFp)(this.configuration).subscribeAIAgentConversationEvents(requestParameters.
|
|
1173
|
+
return (0, exports.AIAgentApiFp)(this.configuration).subscribeAIAgentConversationEvents(requestParameters.conversationId, requestParameters.after, options).then((request) => request(this.axios, this.basePath));
|
|
1256
1174
|
}
|
|
1257
1175
|
}
|
|
1258
1176
|
exports.AIAgentApi = AIAgentApi;
|