@gooddata/api-client-tiger 11.24.0-alpha.1 → 11.24.0-alpha.2
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/esm/__version.d.ts +1 -1
- package/esm/__version.js +1 -1
- package/esm/api-client-tiger.d.ts +932 -258
- package/esm/endpoints/entitiesObjects/index.d.ts +1 -1
- package/esm/endpoints/entitiesObjects/index.d.ts.map +1 -1
- package/esm/endpoints/entitiesObjects/index.js +2 -0
- package/esm/endpoints/entitiesObjects/index.js.map +1 -1
- package/esm/endpoints/genAI/index.d.ts +7 -1
- package/esm/endpoints/genAI/index.d.ts.map +1 -1
- package/esm/endpoints/genAI/index.js +11 -2
- package/esm/endpoints/genAI/index.js.map +1 -1
- package/esm/generated/afm-rest-api/api.d.ts +1318 -46
- package/esm/generated/afm-rest-api/api.d.ts.map +1 -1
- package/esm/generated/afm-rest-api/api.js +1125 -43
- package/esm/generated/afm-rest-api/api.js.map +1 -1
- package/esm/generated/metadata-json-api/api.d.ts +247 -239
- package/esm/generated/metadata-json-api/api.d.ts.map +1 -1
- package/esm/generated/metadata-json-api/api.js.map +1 -1
- package/package.json +5 -5
|
@@ -17,7 +17,7 @@ import { BASE_PATH, COLLECTION_FORMATS, BaseAPI } from './base.js';
|
|
|
17
17
|
export async function AILakeApiAxiosParamCreator_DeprovisionAiLakeDatabaseInstance(instanceId, operationId, options = {}, configuration) {
|
|
18
18
|
// verify required parameter 'instanceId' is not null or undefined
|
|
19
19
|
assertParamExists('deprovisionAiLakeDatabaseInstance', 'instanceId', instanceId);
|
|
20
|
-
const localVarPath = `/api/v1/ailake/database/
|
|
20
|
+
const localVarPath = `/api/v1/ailake/database/instances/{instanceId}`
|
|
21
21
|
.replace(`{${"instanceId"}}`, encodeURIComponent(String(instanceId)));
|
|
22
22
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23
23
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -55,7 +55,7 @@ export async function AILakeApiAxiosParamCreator_DeprovisionAiLakeDatabaseInstan
|
|
|
55
55
|
export async function AILakeApiAxiosParamCreator_GetAiLakeDatabaseInstance(instanceId, options = {}, configuration) {
|
|
56
56
|
// verify required parameter 'instanceId' is not null or undefined
|
|
57
57
|
assertParamExists('getAiLakeDatabaseInstance', 'instanceId', instanceId);
|
|
58
|
-
const localVarPath = `/api/v1/ailake/database/
|
|
58
|
+
const localVarPath = `/api/v1/ailake/database/instances/{instanceId}`
|
|
59
59
|
.replace(`{${"instanceId"}}`, encodeURIComponent(String(instanceId)));
|
|
60
60
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
61
61
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -90,7 +90,7 @@ export async function AILakeApiAxiosParamCreator_GetAiLakeDatabaseInstance(insta
|
|
|
90
90
|
export async function AILakeApiAxiosParamCreator_GetAiLakeOperation(operationId, options = {}, configuration) {
|
|
91
91
|
// verify required parameter 'operationId' is not null or undefined
|
|
92
92
|
assertParamExists('getAiLakeOperation', 'operationId', operationId);
|
|
93
|
-
const localVarPath = `/api/v1/ailake/
|
|
93
|
+
const localVarPath = `/api/v1/ailake/operations/{operationId}`
|
|
94
94
|
.replace(`{${"operationId"}}`, encodeURIComponent(String(operationId)));
|
|
95
95
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
96
96
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -115,13 +115,59 @@ export async function AILakeApiAxiosParamCreator_GetAiLakeOperation(operationId,
|
|
|
115
115
|
}
|
|
116
116
|
// AILakeApi FP - AILakeApiAxiosParamCreator
|
|
117
117
|
/**
|
|
118
|
-
* (BETA) Lists
|
|
118
|
+
* (BETA) Lists database instances in the organization\'s AI Lake. Supports paging via size and offset query parameters. Use metaInclude=page to get total count.
|
|
119
|
+
* @summary (BETA) List AI Lake Database instances
|
|
120
|
+
* @param {number} [size]
|
|
121
|
+
* @param {number} [offset]
|
|
122
|
+
* @param {Array<string>} [metaInclude]
|
|
123
|
+
* @param {*} [options] Override http request option.
|
|
124
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
125
|
+
* @throws {RequiredError}
|
|
126
|
+
*/
|
|
127
|
+
export async function AILakeApiAxiosParamCreator_ListAiLakeDatabaseInstances(size, offset, metaInclude, options = {}, configuration) {
|
|
128
|
+
const localVarPath = `/api/v1/ailake/database/instances`;
|
|
129
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
130
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
131
|
+
let baseOptions;
|
|
132
|
+
if (configuration) {
|
|
133
|
+
baseOptions = configuration.baseOptions;
|
|
134
|
+
}
|
|
135
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
136
|
+
const localVarHeaderParameter = {};
|
|
137
|
+
const localVarQueryParameter = {};
|
|
138
|
+
if (size !== undefined) {
|
|
139
|
+
localVarQueryParameter['size'] = size;
|
|
140
|
+
}
|
|
141
|
+
if (offset !== undefined) {
|
|
142
|
+
localVarQueryParameter['offset'] = offset;
|
|
143
|
+
}
|
|
144
|
+
if (metaInclude) {
|
|
145
|
+
localVarQueryParameter['metaInclude'] = Array.from(metaInclude);
|
|
146
|
+
}
|
|
147
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
148
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
149
|
+
localVarRequestOptions.headers = {
|
|
150
|
+
...localVarHeaderParameter,
|
|
151
|
+
...headersFromBaseOptions,
|
|
152
|
+
...options.headers,
|
|
153
|
+
};
|
|
154
|
+
return {
|
|
155
|
+
url: toPathString(localVarUrlObj),
|
|
156
|
+
options: localVarRequestOptions,
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
// AILakeApi FP - AILakeApiAxiosParamCreator
|
|
160
|
+
/**
|
|
161
|
+
* (BETA) Lists services configured for the organization\'s AI Lake. Returns only non-sensitive fields (id, name). Supports paging via size and offset query parameters. Use metaInclude=page to get total count.
|
|
119
162
|
* @summary (BETA) List AI Lake services
|
|
163
|
+
* @param {number} [size]
|
|
164
|
+
* @param {number} [offset]
|
|
165
|
+
* @param {Array<string>} [metaInclude]
|
|
120
166
|
* @param {*} [options] Override http request option.
|
|
121
167
|
* @param {Configuration} [configuration] Optional configuration.
|
|
122
168
|
* @throws {RequiredError}
|
|
123
169
|
*/
|
|
124
|
-
export async function AILakeApiAxiosParamCreator_ListAiLakeServices(options = {}, configuration) {
|
|
170
|
+
export async function AILakeApiAxiosParamCreator_ListAiLakeServices(size, offset, metaInclude, options = {}, configuration) {
|
|
125
171
|
const localVarPath = `/api/v1/ailake/services`;
|
|
126
172
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
127
173
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -132,6 +178,15 @@ export async function AILakeApiAxiosParamCreator_ListAiLakeServices(options = {}
|
|
|
132
178
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
133
179
|
const localVarHeaderParameter = {};
|
|
134
180
|
const localVarQueryParameter = {};
|
|
181
|
+
if (size !== undefined) {
|
|
182
|
+
localVarQueryParameter['size'] = size;
|
|
183
|
+
}
|
|
184
|
+
if (offset !== undefined) {
|
|
185
|
+
localVarQueryParameter['offset'] = offset;
|
|
186
|
+
}
|
|
187
|
+
if (metaInclude) {
|
|
188
|
+
localVarQueryParameter['metaInclude'] = Array.from(metaInclude);
|
|
189
|
+
}
|
|
135
190
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
136
191
|
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
137
192
|
localVarRequestOptions.headers = {
|
|
@@ -157,7 +212,7 @@ export async function AILakeApiAxiosParamCreator_ListAiLakeServices(options = {}
|
|
|
157
212
|
export async function AILakeApiAxiosParamCreator_ProvisionAiLakeDatabaseInstance(provisionDatabaseInstanceRequest, operationId, options = {}, configuration) {
|
|
158
213
|
// verify required parameter 'provisionDatabaseInstanceRequest' is not null or undefined
|
|
159
214
|
assertParamExists('provisionAiLakeDatabaseInstance', 'provisionDatabaseInstanceRequest', provisionDatabaseInstanceRequest);
|
|
160
|
-
const localVarPath = `/api/v1/ailake/database/
|
|
215
|
+
const localVarPath = `/api/v1/ailake/database/instances`;
|
|
161
216
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
162
217
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
163
218
|
let baseOptions;
|
|
@@ -194,6 +249,64 @@ export async function AILakeApiAxiosParamCreator_ProvisionAiLakeDatabaseInstance
|
|
|
194
249
|
options: localVarRequestOptions,
|
|
195
250
|
};
|
|
196
251
|
}
|
|
252
|
+
// AILakeApi FP - AILakeApiAxiosParamCreator
|
|
253
|
+
/**
|
|
254
|
+
* (BETA) Runs a specific AI Lake service command.
|
|
255
|
+
* @summary (BETA) Run an AI Lake services command
|
|
256
|
+
* @param {string} serviceId
|
|
257
|
+
* @param {string} commandName
|
|
258
|
+
* @param {RunServiceCommandRequest} runServiceCommandRequest
|
|
259
|
+
* @param {string} [operationId]
|
|
260
|
+
* @param {*} [options] Override http request option.
|
|
261
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
262
|
+
* @throws {RequiredError}
|
|
263
|
+
*/
|
|
264
|
+
export async function AILakeApiAxiosParamCreator_RunAiLakeServiceCommand(serviceId, commandName, runServiceCommandRequest, operationId, options = {}, configuration) {
|
|
265
|
+
// verify required parameter 'serviceId' is not null or undefined
|
|
266
|
+
assertParamExists('runAiLakeServiceCommand', 'serviceId', serviceId);
|
|
267
|
+
// verify required parameter 'commandName' is not null or undefined
|
|
268
|
+
assertParamExists('runAiLakeServiceCommand', 'commandName', commandName);
|
|
269
|
+
// verify required parameter 'runServiceCommandRequest' is not null or undefined
|
|
270
|
+
assertParamExists('runAiLakeServiceCommand', 'runServiceCommandRequest', runServiceCommandRequest);
|
|
271
|
+
const localVarPath = `/api/v1/ailake/services/{serviceId}/commands/{commandName}/run`
|
|
272
|
+
.replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)))
|
|
273
|
+
.replace(`{${"commandName"}}`, encodeURIComponent(String(commandName)));
|
|
274
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
275
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
276
|
+
let baseOptions;
|
|
277
|
+
if (configuration) {
|
|
278
|
+
baseOptions = configuration.baseOptions;
|
|
279
|
+
}
|
|
280
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
281
|
+
const localVarHeaderParameter = {};
|
|
282
|
+
const localVarQueryParameter = {};
|
|
283
|
+
if (operationId !== undefined && operationId !== null) {
|
|
284
|
+
localVarHeaderParameter['operation-id'] = String(operationId);
|
|
285
|
+
}
|
|
286
|
+
const consumes = [
|
|
287
|
+
'application/json'
|
|
288
|
+
];
|
|
289
|
+
// use application/json if present, otherwise fallback to the first one
|
|
290
|
+
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
291
|
+
? 'application/json'
|
|
292
|
+
: consumes[0];
|
|
293
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
294
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
295
|
+
localVarRequestOptions.headers = {
|
|
296
|
+
...localVarHeaderParameter,
|
|
297
|
+
...headersFromBaseOptions,
|
|
298
|
+
...options.headers,
|
|
299
|
+
};
|
|
300
|
+
const needsSerialization = typeof runServiceCommandRequest !== "string" ||
|
|
301
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
302
|
+
localVarRequestOptions.data = needsSerialization
|
|
303
|
+
? JSON.stringify(runServiceCommandRequest !== undefined ? runServiceCommandRequest : {})
|
|
304
|
+
: runServiceCommandRequest || "";
|
|
305
|
+
return {
|
|
306
|
+
url: toPathString(localVarUrlObj),
|
|
307
|
+
options: localVarRequestOptions,
|
|
308
|
+
};
|
|
309
|
+
}
|
|
197
310
|
// AILakeApi Api FP
|
|
198
311
|
/**
|
|
199
312
|
* (BETA) Deletes an existing database in the organization\'s AI Lake. Returns an operation-id in the operation-id header the client can use to poll for the progress.
|
|
@@ -241,16 +354,32 @@ export async function AILakeApi_GetAiLakeOperation(axios, basePath, requestParam
|
|
|
241
354
|
}
|
|
242
355
|
// AILakeApi Api FP
|
|
243
356
|
/**
|
|
244
|
-
* (BETA) Lists
|
|
357
|
+
* (BETA) Lists database instances in the organization\'s AI Lake. Supports paging via size and offset query parameters. Use metaInclude=page to get total count.
|
|
358
|
+
* @summary (BETA) List AI Lake Database instances
|
|
359
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
360
|
+
* @param {string} basePath Base path.
|
|
361
|
+
* @param {AILakeApiListAiLakeDatabaseInstancesRequest} requestParameters Request parameters.
|
|
362
|
+
* @param {*} [options] Override http request option.
|
|
363
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
364
|
+
* @throws {RequiredError}
|
|
365
|
+
*/
|
|
366
|
+
export async function AILakeApi_ListAiLakeDatabaseInstances(axios, basePath, requestParameters, options, configuration) {
|
|
367
|
+
const localVarAxiosArgs = await AILakeApiAxiosParamCreator_ListAiLakeDatabaseInstances(requestParameters.size, requestParameters.offset, requestParameters.metaInclude, options || {}, configuration);
|
|
368
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
369
|
+
}
|
|
370
|
+
// AILakeApi Api FP
|
|
371
|
+
/**
|
|
372
|
+
* (BETA) Lists services configured for the organization\'s AI Lake. Returns only non-sensitive fields (id, name). Supports paging via size and offset query parameters. Use metaInclude=page to get total count.
|
|
245
373
|
* @summary (BETA) List AI Lake services
|
|
246
374
|
* @param {AxiosInstance} axios Axios instance.
|
|
247
375
|
* @param {string} basePath Base path.
|
|
376
|
+
* @param {AILakeApiListAiLakeServicesRequest} requestParameters Request parameters.
|
|
248
377
|
* @param {*} [options] Override http request option.
|
|
249
378
|
* @param {Configuration} [configuration] Optional configuration.
|
|
250
379
|
* @throws {RequiredError}
|
|
251
380
|
*/
|
|
252
|
-
export async function AILakeApi_ListAiLakeServices(axios, basePath, options, configuration) {
|
|
253
|
-
const localVarAxiosArgs = await AILakeApiAxiosParamCreator_ListAiLakeServices(options || {}, configuration);
|
|
381
|
+
export async function AILakeApi_ListAiLakeServices(axios, basePath, requestParameters, options, configuration) {
|
|
382
|
+
const localVarAxiosArgs = await AILakeApiAxiosParamCreator_ListAiLakeServices(requestParameters.size, requestParameters.offset, requestParameters.metaInclude, options || {}, configuration);
|
|
254
383
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
255
384
|
}
|
|
256
385
|
// AILakeApi Api FP
|
|
@@ -268,6 +397,21 @@ export async function AILakeApi_ProvisionAiLakeDatabaseInstance(axios, basePath,
|
|
|
268
397
|
const localVarAxiosArgs = await AILakeApiAxiosParamCreator_ProvisionAiLakeDatabaseInstance(requestParameters.provisionDatabaseInstanceRequest, requestParameters.operationId, options || {}, configuration);
|
|
269
398
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
270
399
|
}
|
|
400
|
+
// AILakeApi Api FP
|
|
401
|
+
/**
|
|
402
|
+
* (BETA) Runs a specific AI Lake service command.
|
|
403
|
+
* @summary (BETA) Run an AI Lake services command
|
|
404
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
405
|
+
* @param {string} basePath Base path.
|
|
406
|
+
* @param {AILakeApiRunAiLakeServiceCommandRequest} requestParameters Request parameters.
|
|
407
|
+
* @param {*} [options] Override http request option.
|
|
408
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
409
|
+
* @throws {RequiredError}
|
|
410
|
+
*/
|
|
411
|
+
export async function AILakeApi_RunAiLakeServiceCommand(axios, basePath, requestParameters, options, configuration) {
|
|
412
|
+
const localVarAxiosArgs = await AILakeApiAxiosParamCreator_RunAiLakeServiceCommand(requestParameters.serviceId, requestParameters.commandName, requestParameters.runServiceCommandRequest, requestParameters.operationId, options || {}, configuration);
|
|
413
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
414
|
+
}
|
|
271
415
|
/**
|
|
272
416
|
* AILakeApi - object-oriented interface
|
|
273
417
|
* @export
|
|
@@ -309,14 +453,26 @@ export class AILakeApi extends BaseAPI {
|
|
|
309
453
|
return AILakeApi_GetAiLakeOperation(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
310
454
|
}
|
|
311
455
|
/**
|
|
312
|
-
* (BETA) Lists
|
|
456
|
+
* (BETA) Lists database instances in the organization\'s AI Lake. Supports paging via size and offset query parameters. Use metaInclude=page to get total count.
|
|
457
|
+
* @summary (BETA) List AI Lake Database instances
|
|
458
|
+
* @param {AILakeApiListAiLakeDatabaseInstancesRequest} requestParameters Request parameters.
|
|
459
|
+
* @param {*} [options] Override http request option.
|
|
460
|
+
* @throws {RequiredError}
|
|
461
|
+
* @memberof AILakeApi
|
|
462
|
+
*/
|
|
463
|
+
listAiLakeDatabaseInstances(requestParameters = {}, options) {
|
|
464
|
+
return AILakeApi_ListAiLakeDatabaseInstances(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
465
|
+
}
|
|
466
|
+
/**
|
|
467
|
+
* (BETA) Lists services configured for the organization\'s AI Lake. Returns only non-sensitive fields (id, name). Supports paging via size and offset query parameters. Use metaInclude=page to get total count.
|
|
313
468
|
* @summary (BETA) List AI Lake services
|
|
469
|
+
* @param {AILakeApiListAiLakeServicesRequest} requestParameters Request parameters.
|
|
314
470
|
* @param {*} [options] Override http request option.
|
|
315
471
|
* @throws {RequiredError}
|
|
316
472
|
* @memberof AILakeApi
|
|
317
473
|
*/
|
|
318
|
-
listAiLakeServices(options) {
|
|
319
|
-
return AILakeApi_ListAiLakeServices(this.axios, this.basePath, options, this.configuration);
|
|
474
|
+
listAiLakeServices(requestParameters = {}, options) {
|
|
475
|
+
return AILakeApi_ListAiLakeServices(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
320
476
|
}
|
|
321
477
|
/**
|
|
322
478
|
* (BETA) Creates a new database in the organization\'s AI Lake. Returns an operation-id in the operation-id header the client can use to poll for the progress.
|
|
@@ -329,6 +485,17 @@ export class AILakeApi extends BaseAPI {
|
|
|
329
485
|
provisionAiLakeDatabaseInstance(requestParameters, options) {
|
|
330
486
|
return AILakeApi_ProvisionAiLakeDatabaseInstance(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
331
487
|
}
|
|
488
|
+
/**
|
|
489
|
+
* (BETA) Runs a specific AI Lake service command.
|
|
490
|
+
* @summary (BETA) Run an AI Lake services command
|
|
491
|
+
* @param {AILakeApiRunAiLakeServiceCommandRequest} requestParameters Request parameters.
|
|
492
|
+
* @param {*} [options] Override http request option.
|
|
493
|
+
* @throws {RequiredError}
|
|
494
|
+
* @memberof AILakeApi
|
|
495
|
+
*/
|
|
496
|
+
runAiLakeServiceCommand(requestParameters, options) {
|
|
497
|
+
return AILakeApi_RunAiLakeServiceCommand(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
498
|
+
}
|
|
332
499
|
}
|
|
333
500
|
// ActionsApi FP - ActionsApiAxiosParamCreator
|
|
334
501
|
/**
|
|
@@ -1173,6 +1340,55 @@ export async function ActionsApiAxiosParamCreator_ComputeValidObjects(workspaceI
|
|
|
1173
1340
|
};
|
|
1174
1341
|
}
|
|
1175
1342
|
// ActionsApi FP - ActionsApiAxiosParamCreator
|
|
1343
|
+
/**
|
|
1344
|
+
*
|
|
1345
|
+
* @param {string} workspaceId Workspace identifier
|
|
1346
|
+
* @param {CreateKnowledgeDocumentRequestDto} createKnowledgeDocumentRequestDto
|
|
1347
|
+
* @param {*} [options] Override http request option.
|
|
1348
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
1349
|
+
* @throws {RequiredError}
|
|
1350
|
+
*/
|
|
1351
|
+
export async function ActionsApiAxiosParamCreator_CreateDocument(workspaceId, createKnowledgeDocumentRequestDto, options = {}, configuration) {
|
|
1352
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
1353
|
+
assertParamExists('createDocument', 'workspaceId', workspaceId);
|
|
1354
|
+
// verify required parameter 'createKnowledgeDocumentRequestDto' is not null or undefined
|
|
1355
|
+
assertParamExists('createDocument', 'createKnowledgeDocumentRequestDto', createKnowledgeDocumentRequestDto);
|
|
1356
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/knowledge/documents`
|
|
1357
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
1358
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1359
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1360
|
+
let baseOptions;
|
|
1361
|
+
if (configuration) {
|
|
1362
|
+
baseOptions = configuration.baseOptions;
|
|
1363
|
+
}
|
|
1364
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
1365
|
+
const localVarHeaderParameter = {};
|
|
1366
|
+
const localVarQueryParameter = {};
|
|
1367
|
+
const consumes = [
|
|
1368
|
+
'application/json'
|
|
1369
|
+
];
|
|
1370
|
+
// use application/json if present, otherwise fallback to the first one
|
|
1371
|
+
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
1372
|
+
? 'application/json'
|
|
1373
|
+
: consumes[0];
|
|
1374
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1375
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
1376
|
+
localVarRequestOptions.headers = {
|
|
1377
|
+
...localVarHeaderParameter,
|
|
1378
|
+
...headersFromBaseOptions,
|
|
1379
|
+
...options.headers,
|
|
1380
|
+
};
|
|
1381
|
+
const needsSerialization = typeof createKnowledgeDocumentRequestDto !== "string" ||
|
|
1382
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
1383
|
+
localVarRequestOptions.data = needsSerialization
|
|
1384
|
+
? JSON.stringify(createKnowledgeDocumentRequestDto !== undefined ? createKnowledgeDocumentRequestDto : {})
|
|
1385
|
+
: createKnowledgeDocumentRequestDto || "";
|
|
1386
|
+
return {
|
|
1387
|
+
url: toPathString(localVarUrlObj),
|
|
1388
|
+
options: localVarRequestOptions,
|
|
1389
|
+
};
|
|
1390
|
+
}
|
|
1391
|
+
// ActionsApi FP - ActionsApiAxiosParamCreator
|
|
1176
1392
|
/**
|
|
1177
1393
|
* Returns a list of Users who created any object for this workspace
|
|
1178
1394
|
* @summary Get Analytics Catalog CreatedBy Users
|
|
@@ -1208,6 +1424,44 @@ export async function ActionsApiAxiosParamCreator_CreatedBy(workspaceId, options
|
|
|
1208
1424
|
};
|
|
1209
1425
|
}
|
|
1210
1426
|
// ActionsApi FP - ActionsApiAxiosParamCreator
|
|
1427
|
+
/**
|
|
1428
|
+
*
|
|
1429
|
+
* @param {string} workspaceId Workspace identifier
|
|
1430
|
+
* @param {string} filename
|
|
1431
|
+
* @param {*} [options] Override http request option.
|
|
1432
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
1433
|
+
* @throws {RequiredError}
|
|
1434
|
+
*/
|
|
1435
|
+
export async function ActionsApiAxiosParamCreator_DeleteDocument(workspaceId, filename, options = {}, configuration) {
|
|
1436
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
1437
|
+
assertParamExists('deleteDocument', 'workspaceId', workspaceId);
|
|
1438
|
+
// verify required parameter 'filename' is not null or undefined
|
|
1439
|
+
assertParamExists('deleteDocument', 'filename', filename);
|
|
1440
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/knowledge/documents/{filename}`
|
|
1441
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
1442
|
+
.replace(`{${"filename"}}`, encodeURIComponent(String(filename)));
|
|
1443
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1444
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1445
|
+
let baseOptions;
|
|
1446
|
+
if (configuration) {
|
|
1447
|
+
baseOptions = configuration.baseOptions;
|
|
1448
|
+
}
|
|
1449
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
1450
|
+
const localVarHeaderParameter = {};
|
|
1451
|
+
const localVarQueryParameter = {};
|
|
1452
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1453
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
1454
|
+
localVarRequestOptions.headers = {
|
|
1455
|
+
...localVarHeaderParameter,
|
|
1456
|
+
...headersFromBaseOptions,
|
|
1457
|
+
...options.headers,
|
|
1458
|
+
};
|
|
1459
|
+
return {
|
|
1460
|
+
url: toPathString(localVarUrlObj),
|
|
1461
|
+
options: localVarRequestOptions,
|
|
1462
|
+
};
|
|
1463
|
+
}
|
|
1464
|
+
// ActionsApi FP - ActionsApiAxiosParamCreator
|
|
1211
1465
|
/**
|
|
1212
1466
|
* The resource provides static structures needed for investigation of a problem with given AFM.
|
|
1213
1467
|
* @summary AFM explain resource.
|
|
@@ -1466,6 +1720,94 @@ export async function ActionsApiAxiosParamCreator_GenerateDescription(workspaceI
|
|
|
1466
1720
|
};
|
|
1467
1721
|
}
|
|
1468
1722
|
// ActionsApi FP - ActionsApiAxiosParamCreator
|
|
1723
|
+
/**
|
|
1724
|
+
* Generates a title for the specified analytics object. Returns title and a note with details if generation was not performed.
|
|
1725
|
+
* @summary Generate Title for Analytics Object
|
|
1726
|
+
* @param {string} workspaceId Workspace identifier
|
|
1727
|
+
* @param {GenerateTitleRequest} generateTitleRequest
|
|
1728
|
+
* @param {*} [options] Override http request option.
|
|
1729
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
1730
|
+
* @throws {RequiredError}
|
|
1731
|
+
*/
|
|
1732
|
+
export async function ActionsApiAxiosParamCreator_GenerateTitle(workspaceId, generateTitleRequest, options = {}, configuration) {
|
|
1733
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
1734
|
+
assertParamExists('generateTitle', 'workspaceId', workspaceId);
|
|
1735
|
+
// verify required parameter 'generateTitleRequest' is not null or undefined
|
|
1736
|
+
assertParamExists('generateTitle', 'generateTitleRequest', generateTitleRequest);
|
|
1737
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/analyticsCatalog/generateTitle`
|
|
1738
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
1739
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1740
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1741
|
+
let baseOptions;
|
|
1742
|
+
if (configuration) {
|
|
1743
|
+
baseOptions = configuration.baseOptions;
|
|
1744
|
+
}
|
|
1745
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
1746
|
+
const localVarHeaderParameter = {};
|
|
1747
|
+
const localVarQueryParameter = {};
|
|
1748
|
+
const consumes = [
|
|
1749
|
+
'application/json'
|
|
1750
|
+
];
|
|
1751
|
+
// use application/json if present, otherwise fallback to the first one
|
|
1752
|
+
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
1753
|
+
? 'application/json'
|
|
1754
|
+
: consumes[0];
|
|
1755
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1756
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
1757
|
+
localVarRequestOptions.headers = {
|
|
1758
|
+
...localVarHeaderParameter,
|
|
1759
|
+
...headersFromBaseOptions,
|
|
1760
|
+
...options.headers,
|
|
1761
|
+
};
|
|
1762
|
+
const needsSerialization = typeof generateTitleRequest !== "string" ||
|
|
1763
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
1764
|
+
localVarRequestOptions.data = needsSerialization
|
|
1765
|
+
? JSON.stringify(generateTitleRequest !== undefined ? generateTitleRequest : {})
|
|
1766
|
+
: generateTitleRequest || "";
|
|
1767
|
+
return {
|
|
1768
|
+
url: toPathString(localVarUrlObj),
|
|
1769
|
+
options: localVarRequestOptions,
|
|
1770
|
+
};
|
|
1771
|
+
}
|
|
1772
|
+
// ActionsApi FP - ActionsApiAxiosParamCreator
|
|
1773
|
+
/**
|
|
1774
|
+
*
|
|
1775
|
+
* @param {string} workspaceId Workspace identifier
|
|
1776
|
+
* @param {string} filename
|
|
1777
|
+
* @param {*} [options] Override http request option.
|
|
1778
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
1779
|
+
* @throws {RequiredError}
|
|
1780
|
+
*/
|
|
1781
|
+
export async function ActionsApiAxiosParamCreator_GetDocument(workspaceId, filename, options = {}, configuration) {
|
|
1782
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
1783
|
+
assertParamExists('getDocument', 'workspaceId', workspaceId);
|
|
1784
|
+
// verify required parameter 'filename' is not null or undefined
|
|
1785
|
+
assertParamExists('getDocument', 'filename', filename);
|
|
1786
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/knowledge/documents/{filename}`
|
|
1787
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
1788
|
+
.replace(`{${"filename"}}`, encodeURIComponent(String(filename)));
|
|
1789
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1790
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1791
|
+
let baseOptions;
|
|
1792
|
+
if (configuration) {
|
|
1793
|
+
baseOptions = configuration.baseOptions;
|
|
1794
|
+
}
|
|
1795
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1796
|
+
const localVarHeaderParameter = {};
|
|
1797
|
+
const localVarQueryParameter = {};
|
|
1798
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1799
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
1800
|
+
localVarRequestOptions.headers = {
|
|
1801
|
+
...localVarHeaderParameter,
|
|
1802
|
+
...headersFromBaseOptions,
|
|
1803
|
+
...options.headers,
|
|
1804
|
+
};
|
|
1805
|
+
return {
|
|
1806
|
+
url: toPathString(localVarUrlObj),
|
|
1807
|
+
options: localVarRequestOptions,
|
|
1808
|
+
};
|
|
1809
|
+
}
|
|
1810
|
+
// ActionsApi FP - ActionsApiAxiosParamCreator
|
|
1469
1811
|
/**
|
|
1470
1812
|
* Returns metadata quality issues detected by the platform linter.
|
|
1471
1813
|
* @summary Get Quality Issues
|
|
@@ -1680,14 +2022,64 @@ export async function ActionsApiAxiosParamCreator_KeyDriverAnalysisResult(worksp
|
|
|
1680
2022
|
}
|
|
1681
2023
|
// ActionsApi FP - ActionsApiAxiosParamCreator
|
|
1682
2024
|
/**
|
|
1683
|
-
*
|
|
1684
|
-
* @summary Get AI Memory CreatedBy Users
|
|
2025
|
+
*
|
|
1685
2026
|
* @param {string} workspaceId Workspace identifier
|
|
2027
|
+
* @param {Array<string>} [scopes]
|
|
2028
|
+
* @param {number} [size]
|
|
2029
|
+
* @param {string} [pageToken]
|
|
2030
|
+
* @param {string} [metaInclude]
|
|
1686
2031
|
* @param {*} [options] Override http request option.
|
|
1687
2032
|
* @param {Configuration} [configuration] Optional configuration.
|
|
1688
2033
|
* @throws {RequiredError}
|
|
1689
2034
|
*/
|
|
1690
|
-
export async function
|
|
2035
|
+
export async function ActionsApiAxiosParamCreator_ListDocuments(workspaceId, scopes, size, pageToken, metaInclude, options = {}, configuration) {
|
|
2036
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
2037
|
+
assertParamExists('listDocuments', 'workspaceId', workspaceId);
|
|
2038
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/knowledge/documents`
|
|
2039
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
2040
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2041
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2042
|
+
let baseOptions;
|
|
2043
|
+
if (configuration) {
|
|
2044
|
+
baseOptions = configuration.baseOptions;
|
|
2045
|
+
}
|
|
2046
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
2047
|
+
const localVarHeaderParameter = {};
|
|
2048
|
+
const localVarQueryParameter = {};
|
|
2049
|
+
if (scopes) {
|
|
2050
|
+
localVarQueryParameter['scopes'] = scopes;
|
|
2051
|
+
}
|
|
2052
|
+
if (size !== undefined) {
|
|
2053
|
+
localVarQueryParameter['size'] = size;
|
|
2054
|
+
}
|
|
2055
|
+
if (pageToken !== undefined) {
|
|
2056
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
2057
|
+
}
|
|
2058
|
+
if (metaInclude !== undefined) {
|
|
2059
|
+
localVarQueryParameter['metaInclude'] = metaInclude;
|
|
2060
|
+
}
|
|
2061
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2062
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
2063
|
+
localVarRequestOptions.headers = {
|
|
2064
|
+
...localVarHeaderParameter,
|
|
2065
|
+
...headersFromBaseOptions,
|
|
2066
|
+
...options.headers,
|
|
2067
|
+
};
|
|
2068
|
+
return {
|
|
2069
|
+
url: toPathString(localVarUrlObj),
|
|
2070
|
+
options: localVarRequestOptions,
|
|
2071
|
+
};
|
|
2072
|
+
}
|
|
2073
|
+
// ActionsApi FP - ActionsApiAxiosParamCreator
|
|
2074
|
+
/**
|
|
2075
|
+
* Returns a list of Users who created any memory item for this workspace
|
|
2076
|
+
* @summary Get AI Memory CreatedBy Users
|
|
2077
|
+
* @param {string} workspaceId Workspace identifier
|
|
2078
|
+
* @param {*} [options] Override http request option.
|
|
2079
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
2080
|
+
* @throws {RequiredError}
|
|
2081
|
+
*/
|
|
2082
|
+
export async function ActionsApiAxiosParamCreator_MemoryCreatedByUsers(workspaceId, options = {}, configuration) {
|
|
1691
2083
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1692
2084
|
assertParamExists('memoryCreatedByUsers', 'workspaceId', workspaceId);
|
|
1693
2085
|
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/memory/createdBy`
|
|
@@ -1815,6 +2207,59 @@ export async function ActionsApiAxiosParamCreator_OutlierDetectionResult(workspa
|
|
|
1815
2207
|
};
|
|
1816
2208
|
}
|
|
1817
2209
|
// ActionsApi FP - ActionsApiAxiosParamCreator
|
|
2210
|
+
/**
|
|
2211
|
+
*
|
|
2212
|
+
* @param {string} workspaceId Workspace identifier
|
|
2213
|
+
* @param {string} filename
|
|
2214
|
+
* @param {PatchKnowledgeDocumentRequestDto} patchKnowledgeDocumentRequestDto
|
|
2215
|
+
* @param {*} [options] Override http request option.
|
|
2216
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
2217
|
+
* @throws {RequiredError}
|
|
2218
|
+
*/
|
|
2219
|
+
export async function ActionsApiAxiosParamCreator_PatchDocument(workspaceId, filename, patchKnowledgeDocumentRequestDto, options = {}, configuration) {
|
|
2220
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
2221
|
+
assertParamExists('patchDocument', 'workspaceId', workspaceId);
|
|
2222
|
+
// verify required parameter 'filename' is not null or undefined
|
|
2223
|
+
assertParamExists('patchDocument', 'filename', filename);
|
|
2224
|
+
// verify required parameter 'patchKnowledgeDocumentRequestDto' is not null or undefined
|
|
2225
|
+
assertParamExists('patchDocument', 'patchKnowledgeDocumentRequestDto', patchKnowledgeDocumentRequestDto);
|
|
2226
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/knowledge/documents/{filename}`
|
|
2227
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
2228
|
+
.replace(`{${"filename"}}`, encodeURIComponent(String(filename)));
|
|
2229
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2230
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2231
|
+
let baseOptions;
|
|
2232
|
+
if (configuration) {
|
|
2233
|
+
baseOptions = configuration.baseOptions;
|
|
2234
|
+
}
|
|
2235
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options };
|
|
2236
|
+
const localVarHeaderParameter = {};
|
|
2237
|
+
const localVarQueryParameter = {};
|
|
2238
|
+
const consumes = [
|
|
2239
|
+
'application/json'
|
|
2240
|
+
];
|
|
2241
|
+
// use application/json if present, otherwise fallback to the first one
|
|
2242
|
+
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
2243
|
+
? 'application/json'
|
|
2244
|
+
: consumes[0];
|
|
2245
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2246
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
2247
|
+
localVarRequestOptions.headers = {
|
|
2248
|
+
...localVarHeaderParameter,
|
|
2249
|
+
...headersFromBaseOptions,
|
|
2250
|
+
...options.headers,
|
|
2251
|
+
};
|
|
2252
|
+
const needsSerialization = typeof patchKnowledgeDocumentRequestDto !== "string" ||
|
|
2253
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
2254
|
+
localVarRequestOptions.data = needsSerialization
|
|
2255
|
+
? JSON.stringify(patchKnowledgeDocumentRequestDto !== undefined ? patchKnowledgeDocumentRequestDto : {})
|
|
2256
|
+
: patchKnowledgeDocumentRequestDto || "";
|
|
2257
|
+
return {
|
|
2258
|
+
url: toPathString(localVarUrlObj),
|
|
2259
|
+
options: localVarRequestOptions,
|
|
2260
|
+
};
|
|
2261
|
+
}
|
|
2262
|
+
// ActionsApi FP - ActionsApiAxiosParamCreator
|
|
1818
2263
|
/**
|
|
1819
2264
|
* Returns a list of available LLM Endpoints
|
|
1820
2265
|
* @summary Get Active LLM Endpoints for this workspace
|
|
@@ -1944,6 +2389,58 @@ export async function ActionsApiAxiosParamCreator_RetrieveResult(workspaceId, re
|
|
|
1944
2389
|
};
|
|
1945
2390
|
}
|
|
1946
2391
|
// ActionsApi FP - ActionsApiAxiosParamCreator
|
|
2392
|
+
/**
|
|
2393
|
+
*
|
|
2394
|
+
* @param {string} workspaceId Workspace identifier
|
|
2395
|
+
* @param {string} query
|
|
2396
|
+
* @param {number} [limit]
|
|
2397
|
+
* @param {number} [minScore]
|
|
2398
|
+
* @param {Array<string>} [scopes]
|
|
2399
|
+
* @param {*} [options] Override http request option.
|
|
2400
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
2401
|
+
* @throws {RequiredError}
|
|
2402
|
+
*/
|
|
2403
|
+
export async function ActionsApiAxiosParamCreator_SearchKnowledge(workspaceId, query, limit, minScore, scopes, options = {}, configuration) {
|
|
2404
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
2405
|
+
assertParamExists('searchKnowledge', 'workspaceId', workspaceId);
|
|
2406
|
+
// verify required parameter 'query' is not null or undefined
|
|
2407
|
+
assertParamExists('searchKnowledge', 'query', query);
|
|
2408
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/knowledge/search`
|
|
2409
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
2410
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2411
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2412
|
+
let baseOptions;
|
|
2413
|
+
if (configuration) {
|
|
2414
|
+
baseOptions = configuration.baseOptions;
|
|
2415
|
+
}
|
|
2416
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
2417
|
+
const localVarHeaderParameter = {};
|
|
2418
|
+
const localVarQueryParameter = {};
|
|
2419
|
+
if (query !== undefined) {
|
|
2420
|
+
localVarQueryParameter['query'] = query;
|
|
2421
|
+
}
|
|
2422
|
+
if (limit !== undefined) {
|
|
2423
|
+
localVarQueryParameter['limit'] = limit;
|
|
2424
|
+
}
|
|
2425
|
+
if (minScore !== undefined) {
|
|
2426
|
+
localVarQueryParameter['minScore'] = minScore;
|
|
2427
|
+
}
|
|
2428
|
+
if (scopes) {
|
|
2429
|
+
localVarQueryParameter['scopes'] = scopes;
|
|
2430
|
+
}
|
|
2431
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2432
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
2433
|
+
localVarRequestOptions.headers = {
|
|
2434
|
+
...localVarHeaderParameter,
|
|
2435
|
+
...headersFromBaseOptions,
|
|
2436
|
+
...options.headers,
|
|
2437
|
+
};
|
|
2438
|
+
return {
|
|
2439
|
+
url: toPathString(localVarUrlObj),
|
|
2440
|
+
options: localVarRequestOptions,
|
|
2441
|
+
};
|
|
2442
|
+
}
|
|
2443
|
+
// ActionsApi FP - ActionsApiAxiosParamCreator
|
|
1947
2444
|
/**
|
|
1948
2445
|
* Returns a list of tags for this workspace
|
|
1949
2446
|
* @summary Get Analytics Catalog Tags
|
|
@@ -1979,6 +2476,87 @@ export async function ActionsApiAxiosParamCreator_Tags(workspaceId, options = {}
|
|
|
1979
2476
|
};
|
|
1980
2477
|
}
|
|
1981
2478
|
// ActionsApi FP - ActionsApiAxiosParamCreator
|
|
2479
|
+
/**
|
|
2480
|
+
* Tests LLM provider connectivity with a full definition.
|
|
2481
|
+
* @summary Test LLM Provider
|
|
2482
|
+
* @param {TestLlmProviderDefinitionRequest} testLlmProviderDefinitionRequest
|
|
2483
|
+
* @param {*} [options] Override http request option.
|
|
2484
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
2485
|
+
* @throws {RequiredError}
|
|
2486
|
+
*/
|
|
2487
|
+
export async function ActionsApiAxiosParamCreator_TestLlmProvider(testLlmProviderDefinitionRequest, options = {}, configuration) {
|
|
2488
|
+
// verify required parameter 'testLlmProviderDefinitionRequest' is not null or undefined
|
|
2489
|
+
assertParamExists('testLlmProvider', 'testLlmProviderDefinitionRequest', testLlmProviderDefinitionRequest);
|
|
2490
|
+
const localVarPath = `/api/v1/actions/ai/llmProvider/test`;
|
|
2491
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2492
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2493
|
+
let baseOptions;
|
|
2494
|
+
if (configuration) {
|
|
2495
|
+
baseOptions = configuration.baseOptions;
|
|
2496
|
+
}
|
|
2497
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
2498
|
+
const localVarHeaderParameter = {};
|
|
2499
|
+
const localVarQueryParameter = {};
|
|
2500
|
+
const consumes = [
|
|
2501
|
+
'application/json'
|
|
2502
|
+
];
|
|
2503
|
+
// use application/json if present, otherwise fallback to the first one
|
|
2504
|
+
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
2505
|
+
? 'application/json'
|
|
2506
|
+
: consumes[0];
|
|
2507
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2508
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
2509
|
+
localVarRequestOptions.headers = {
|
|
2510
|
+
...localVarHeaderParameter,
|
|
2511
|
+
...headersFromBaseOptions,
|
|
2512
|
+
...options.headers,
|
|
2513
|
+
};
|
|
2514
|
+
const needsSerialization = typeof testLlmProviderDefinitionRequest !== "string" ||
|
|
2515
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
2516
|
+
localVarRequestOptions.data = needsSerialization
|
|
2517
|
+
? JSON.stringify(testLlmProviderDefinitionRequest !== undefined ? testLlmProviderDefinitionRequest : {})
|
|
2518
|
+
: testLlmProviderDefinitionRequest || "";
|
|
2519
|
+
return {
|
|
2520
|
+
url: toPathString(localVarUrlObj),
|
|
2521
|
+
options: localVarRequestOptions,
|
|
2522
|
+
};
|
|
2523
|
+
}
|
|
2524
|
+
// ActionsApi FP - ActionsApiAxiosParamCreator
|
|
2525
|
+
/**
|
|
2526
|
+
* Tests an existing LLM provider connectivity by its ID.
|
|
2527
|
+
* @summary Test LLM Provider By Id
|
|
2528
|
+
* @param {string} llmProviderId
|
|
2529
|
+
* @param {*} [options] Override http request option.
|
|
2530
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
2531
|
+
* @throws {RequiredError}
|
|
2532
|
+
*/
|
|
2533
|
+
export async function ActionsApiAxiosParamCreator_TestLlmProviderById(llmProviderId, options = {}, configuration) {
|
|
2534
|
+
// verify required parameter 'llmProviderId' is not null or undefined
|
|
2535
|
+
assertParamExists('testLlmProviderById', 'llmProviderId', llmProviderId);
|
|
2536
|
+
const localVarPath = `/api/v1/actions/ai/llmProvider/{llmProviderId}/test`
|
|
2537
|
+
.replace(`{${"llmProviderId"}}`, encodeURIComponent(String(llmProviderId)));
|
|
2538
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2539
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2540
|
+
let baseOptions;
|
|
2541
|
+
if (configuration) {
|
|
2542
|
+
baseOptions = configuration.baseOptions;
|
|
2543
|
+
}
|
|
2544
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
2545
|
+
const localVarHeaderParameter = {};
|
|
2546
|
+
const localVarQueryParameter = {};
|
|
2547
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2548
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
2549
|
+
localVarRequestOptions.headers = {
|
|
2550
|
+
...localVarHeaderParameter,
|
|
2551
|
+
...headersFromBaseOptions,
|
|
2552
|
+
...options.headers,
|
|
2553
|
+
};
|
|
2554
|
+
return {
|
|
2555
|
+
url: toPathString(localVarUrlObj),
|
|
2556
|
+
options: localVarRequestOptions,
|
|
2557
|
+
};
|
|
2558
|
+
}
|
|
2559
|
+
// ActionsApi FP - ActionsApiAxiosParamCreator
|
|
1982
2560
|
/**
|
|
1983
2561
|
* Triggers asynchronous calculation of metadata quality issues and returns a process ID for status tracking.
|
|
1984
2562
|
* @summary Trigger Quality Issues Calculation
|
|
@@ -2014,6 +2592,55 @@ export async function ActionsApiAxiosParamCreator_TriggerQualityIssuesCalculatio
|
|
|
2014
2592
|
};
|
|
2015
2593
|
}
|
|
2016
2594
|
// ActionsApi FP - ActionsApiAxiosParamCreator
|
|
2595
|
+
/**
|
|
2596
|
+
*
|
|
2597
|
+
* @param {string} workspaceId Workspace identifier
|
|
2598
|
+
* @param {UpsertKnowledgeDocumentRequestDto} upsertKnowledgeDocumentRequestDto
|
|
2599
|
+
* @param {*} [options] Override http request option.
|
|
2600
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
2601
|
+
* @throws {RequiredError}
|
|
2602
|
+
*/
|
|
2603
|
+
export async function ActionsApiAxiosParamCreator_UpsertDocument(workspaceId, upsertKnowledgeDocumentRequestDto, options = {}, configuration) {
|
|
2604
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
2605
|
+
assertParamExists('upsertDocument', 'workspaceId', workspaceId);
|
|
2606
|
+
// verify required parameter 'upsertKnowledgeDocumentRequestDto' is not null or undefined
|
|
2607
|
+
assertParamExists('upsertDocument', 'upsertKnowledgeDocumentRequestDto', upsertKnowledgeDocumentRequestDto);
|
|
2608
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/knowledge/documents`
|
|
2609
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
2610
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2611
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2612
|
+
let baseOptions;
|
|
2613
|
+
if (configuration) {
|
|
2614
|
+
baseOptions = configuration.baseOptions;
|
|
2615
|
+
}
|
|
2616
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
2617
|
+
const localVarHeaderParameter = {};
|
|
2618
|
+
const localVarQueryParameter = {};
|
|
2619
|
+
const consumes = [
|
|
2620
|
+
'application/json'
|
|
2621
|
+
];
|
|
2622
|
+
// use application/json if present, otherwise fallback to the first one
|
|
2623
|
+
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
2624
|
+
? 'application/json'
|
|
2625
|
+
: consumes[0];
|
|
2626
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2627
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
2628
|
+
localVarRequestOptions.headers = {
|
|
2629
|
+
...localVarHeaderParameter,
|
|
2630
|
+
...headersFromBaseOptions,
|
|
2631
|
+
...options.headers,
|
|
2632
|
+
};
|
|
2633
|
+
const needsSerialization = typeof upsertKnowledgeDocumentRequestDto !== "string" ||
|
|
2634
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
2635
|
+
localVarRequestOptions.data = needsSerialization
|
|
2636
|
+
? JSON.stringify(upsertKnowledgeDocumentRequestDto !== undefined ? upsertKnowledgeDocumentRequestDto : {})
|
|
2637
|
+
: upsertKnowledgeDocumentRequestDto || "";
|
|
2638
|
+
return {
|
|
2639
|
+
url: toPathString(localVarUrlObj),
|
|
2640
|
+
options: localVarRequestOptions,
|
|
2641
|
+
};
|
|
2642
|
+
}
|
|
2643
|
+
// ActionsApi FP - ActionsApiAxiosParamCreator
|
|
2017
2644
|
/**
|
|
2018
2645
|
* Validates LLM endpoint with provided parameters.
|
|
2019
2646
|
* @summary Validate LLM Endpoint
|
|
@@ -2362,6 +2989,20 @@ export async function ActionsApi_ComputeValidObjects(axios, basePath, requestPar
|
|
|
2362
2989
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
2363
2990
|
}
|
|
2364
2991
|
// ActionsApi Api FP
|
|
2992
|
+
/**
|
|
2993
|
+
*
|
|
2994
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
2995
|
+
* @param {string} basePath Base path.
|
|
2996
|
+
* @param {ActionsApiCreateDocumentRequest} requestParameters Request parameters.
|
|
2997
|
+
* @param {*} [options] Override http request option.
|
|
2998
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
2999
|
+
* @throws {RequiredError}
|
|
3000
|
+
*/
|
|
3001
|
+
export async function ActionsApi_CreateDocument(axios, basePath, requestParameters, options, configuration) {
|
|
3002
|
+
const localVarAxiosArgs = await ActionsApiAxiosParamCreator_CreateDocument(requestParameters.workspaceId, requestParameters.createKnowledgeDocumentRequestDto, options || {}, configuration);
|
|
3003
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
3004
|
+
}
|
|
3005
|
+
// ActionsApi Api FP
|
|
2365
3006
|
/**
|
|
2366
3007
|
* Returns a list of Users who created any object for this workspace
|
|
2367
3008
|
* @summary Get Analytics Catalog CreatedBy Users
|
|
@@ -2377,6 +3018,20 @@ export async function ActionsApi_CreatedBy(axios, basePath, requestParameters, o
|
|
|
2377
3018
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
2378
3019
|
}
|
|
2379
3020
|
// ActionsApi Api FP
|
|
3021
|
+
/**
|
|
3022
|
+
*
|
|
3023
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
3024
|
+
* @param {string} basePath Base path.
|
|
3025
|
+
* @param {ActionsApiDeleteDocumentRequest} requestParameters Request parameters.
|
|
3026
|
+
* @param {*} [options] Override http request option.
|
|
3027
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
3028
|
+
* @throws {RequiredError}
|
|
3029
|
+
*/
|
|
3030
|
+
export async function ActionsApi_DeleteDocument(axios, basePath, requestParameters, options, configuration) {
|
|
3031
|
+
const localVarAxiosArgs = await ActionsApiAxiosParamCreator_DeleteDocument(requestParameters.workspaceId, requestParameters.filename, options || {}, configuration);
|
|
3032
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
3033
|
+
}
|
|
3034
|
+
// ActionsApi Api FP
|
|
2380
3035
|
/**
|
|
2381
3036
|
* The resource provides static structures needed for investigation of a problem with given AFM.
|
|
2382
3037
|
* @summary AFM explain resource.
|
|
@@ -2451,6 +3106,35 @@ export async function ActionsApi_GenerateDescription(axios, basePath, requestPar
|
|
|
2451
3106
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
2452
3107
|
}
|
|
2453
3108
|
// ActionsApi Api FP
|
|
3109
|
+
/**
|
|
3110
|
+
* Generates a title for the specified analytics object. Returns title and a note with details if generation was not performed.
|
|
3111
|
+
* @summary Generate Title for Analytics Object
|
|
3112
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
3113
|
+
* @param {string} basePath Base path.
|
|
3114
|
+
* @param {ActionsApiGenerateTitleRequest} requestParameters Request parameters.
|
|
3115
|
+
* @param {*} [options] Override http request option.
|
|
3116
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
3117
|
+
* @throws {RequiredError}
|
|
3118
|
+
*/
|
|
3119
|
+
export async function ActionsApi_GenerateTitle(axios, basePath, requestParameters, options, configuration) {
|
|
3120
|
+
const localVarAxiosArgs = await ActionsApiAxiosParamCreator_GenerateTitle(requestParameters.workspaceId, requestParameters.generateTitleRequest, options || {}, configuration);
|
|
3121
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
3122
|
+
}
|
|
3123
|
+
// ActionsApi Api FP
|
|
3124
|
+
/**
|
|
3125
|
+
*
|
|
3126
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
3127
|
+
* @param {string} basePath Base path.
|
|
3128
|
+
* @param {ActionsApiGetDocumentRequest} requestParameters Request parameters.
|
|
3129
|
+
* @param {*} [options] Override http request option.
|
|
3130
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
3131
|
+
* @throws {RequiredError}
|
|
3132
|
+
*/
|
|
3133
|
+
export async function ActionsApi_GetDocument(axios, basePath, requestParameters, options, configuration) {
|
|
3134
|
+
const localVarAxiosArgs = await ActionsApiAxiosParamCreator_GetDocument(requestParameters.workspaceId, requestParameters.filename, options || {}, configuration);
|
|
3135
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
3136
|
+
}
|
|
3137
|
+
// ActionsApi Api FP
|
|
2454
3138
|
/**
|
|
2455
3139
|
* Returns metadata quality issues detected by the platform linter.
|
|
2456
3140
|
* @summary Get Quality Issues
|
|
@@ -2525,6 +3209,20 @@ export async function ActionsApi_KeyDriverAnalysisResult(axios, basePath, reques
|
|
|
2525
3209
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
2526
3210
|
}
|
|
2527
3211
|
// ActionsApi Api FP
|
|
3212
|
+
/**
|
|
3213
|
+
*
|
|
3214
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
3215
|
+
* @param {string} basePath Base path.
|
|
3216
|
+
* @param {ActionsApiListDocumentsRequest} requestParameters Request parameters.
|
|
3217
|
+
* @param {*} [options] Override http request option.
|
|
3218
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
3219
|
+
* @throws {RequiredError}
|
|
3220
|
+
*/
|
|
3221
|
+
export async function ActionsApi_ListDocuments(axios, basePath, requestParameters, options, configuration) {
|
|
3222
|
+
const localVarAxiosArgs = await ActionsApiAxiosParamCreator_ListDocuments(requestParameters.workspaceId, requestParameters.scopes, requestParameters.size, requestParameters.pageToken, requestParameters.metaInclude, options || {}, configuration);
|
|
3223
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
3224
|
+
}
|
|
3225
|
+
// ActionsApi Api FP
|
|
2528
3226
|
/**
|
|
2529
3227
|
* Returns a list of Users who created any memory item for this workspace
|
|
2530
3228
|
* @summary Get AI Memory CreatedBy Users
|
|
@@ -2560,88 +3258,160 @@ export async function ActionsApi_OutlierDetection(axios, basePath, requestParame
|
|
|
2560
3258
|
* @summary (BETA) Outlier Detection Result
|
|
2561
3259
|
* @param {AxiosInstance} axios Axios instance.
|
|
2562
3260
|
* @param {string} basePath Base path.
|
|
2563
|
-
* @param {ActionsApiOutlierDetectionResultRequest} requestParameters Request parameters.
|
|
3261
|
+
* @param {ActionsApiOutlierDetectionResultRequest} requestParameters Request parameters.
|
|
3262
|
+
* @param {*} [options] Override http request option.
|
|
3263
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
3264
|
+
* @throws {RequiredError}
|
|
3265
|
+
*/
|
|
3266
|
+
export async function ActionsApi_OutlierDetectionResult(axios, basePath, requestParameters, options, configuration) {
|
|
3267
|
+
const localVarAxiosArgs = await ActionsApiAxiosParamCreator_OutlierDetectionResult(requestParameters.workspaceId, requestParameters.resultId, requestParameters.offset, requestParameters.limit, options || {}, configuration);
|
|
3268
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
3269
|
+
}
|
|
3270
|
+
// ActionsApi Api FP
|
|
3271
|
+
/**
|
|
3272
|
+
*
|
|
3273
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
3274
|
+
* @param {string} basePath Base path.
|
|
3275
|
+
* @param {ActionsApiPatchDocumentRequest} requestParameters Request parameters.
|
|
3276
|
+
* @param {*} [options] Override http request option.
|
|
3277
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
3278
|
+
* @throws {RequiredError}
|
|
3279
|
+
*/
|
|
3280
|
+
export async function ActionsApi_PatchDocument(axios, basePath, requestParameters, options, configuration) {
|
|
3281
|
+
const localVarAxiosArgs = await ActionsApiAxiosParamCreator_PatchDocument(requestParameters.workspaceId, requestParameters.filename, requestParameters.patchKnowledgeDocumentRequestDto, options || {}, configuration);
|
|
3282
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
3283
|
+
}
|
|
3284
|
+
// ActionsApi Api FP
|
|
3285
|
+
/**
|
|
3286
|
+
* Returns a list of available LLM Endpoints
|
|
3287
|
+
* @summary Get Active LLM Endpoints for this workspace
|
|
3288
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
3289
|
+
* @param {string} basePath Base path.
|
|
3290
|
+
* @param {ActionsApiResolveLlmEndpointsRequest} requestParameters Request parameters.
|
|
3291
|
+
* @param {*} [options] Override http request option.
|
|
3292
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
3293
|
+
* @throws {RequiredError}
|
|
3294
|
+
*/
|
|
3295
|
+
export async function ActionsApi_ResolveLlmEndpoints(axios, basePath, requestParameters, options, configuration) {
|
|
3296
|
+
const localVarAxiosArgs = await ActionsApiAxiosParamCreator_ResolveLlmEndpoints(requestParameters.workspaceId, options || {}, configuration);
|
|
3297
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
3298
|
+
}
|
|
3299
|
+
// ActionsApi Api FP
|
|
3300
|
+
/**
|
|
3301
|
+
* The resource provides execution result\'s metadata as AFM and resultSpec used in execution request and an executionResponse
|
|
3302
|
+
* @summary Get a single execution result\'s metadata.
|
|
3303
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
3304
|
+
* @param {string} basePath Base path.
|
|
3305
|
+
* @param {ActionsApiRetrieveExecutionMetadataRequest} requestParameters Request parameters.
|
|
3306
|
+
* @param {*} [options] Override http request option.
|
|
3307
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
3308
|
+
* @throws {RequiredError}
|
|
3309
|
+
*/
|
|
3310
|
+
export async function ActionsApi_RetrieveExecutionMetadata(axios, basePath, requestParameters, options, configuration) {
|
|
3311
|
+
const localVarAxiosArgs = await ActionsApiAxiosParamCreator_RetrieveExecutionMetadata(requestParameters.workspaceId, requestParameters.resultId, options || {}, configuration);
|
|
3312
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
3313
|
+
}
|
|
3314
|
+
// ActionsApi Api FP
|
|
3315
|
+
/**
|
|
3316
|
+
* Gets a single execution result.
|
|
3317
|
+
* @summary Get a single execution result
|
|
3318
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
3319
|
+
* @param {string} basePath Base path.
|
|
3320
|
+
* @param {ActionsApiRetrieveResultRequest} requestParameters Request parameters.
|
|
3321
|
+
* @param {*} [options] Override http request option.
|
|
3322
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
3323
|
+
* @throws {RequiredError}
|
|
3324
|
+
*/
|
|
3325
|
+
export async function ActionsApi_RetrieveResult(axios, basePath, requestParameters, options, configuration) {
|
|
3326
|
+
const localVarAxiosArgs = await ActionsApiAxiosParamCreator_RetrieveResult(requestParameters.workspaceId, requestParameters.resultId, requestParameters.offset, requestParameters.limit, requestParameters.excludedTotalDimensions, requestParameters.xGDCCANCELTOKEN, options || {}, configuration);
|
|
3327
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
3328
|
+
}
|
|
3329
|
+
// ActionsApi Api FP
|
|
3330
|
+
/**
|
|
3331
|
+
*
|
|
3332
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
3333
|
+
* @param {string} basePath Base path.
|
|
3334
|
+
* @param {ActionsApiSearchKnowledgeRequest} requestParameters Request parameters.
|
|
2564
3335
|
* @param {*} [options] Override http request option.
|
|
2565
3336
|
* @param {Configuration} [configuration] Optional configuration.
|
|
2566
3337
|
* @throws {RequiredError}
|
|
2567
3338
|
*/
|
|
2568
|
-
export async function
|
|
2569
|
-
const localVarAxiosArgs = await
|
|
3339
|
+
export async function ActionsApi_SearchKnowledge(axios, basePath, requestParameters, options, configuration) {
|
|
3340
|
+
const localVarAxiosArgs = await ActionsApiAxiosParamCreator_SearchKnowledge(requestParameters.workspaceId, requestParameters.query, requestParameters.limit, requestParameters.minScore, requestParameters.scopes, options || {}, configuration);
|
|
2570
3341
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
2571
3342
|
}
|
|
2572
3343
|
// ActionsApi Api FP
|
|
2573
3344
|
/**
|
|
2574
|
-
* Returns a list of
|
|
2575
|
-
* @summary Get
|
|
3345
|
+
* Returns a list of tags for this workspace
|
|
3346
|
+
* @summary Get Analytics Catalog Tags
|
|
2576
3347
|
* @param {AxiosInstance} axios Axios instance.
|
|
2577
3348
|
* @param {string} basePath Base path.
|
|
2578
|
-
* @param {
|
|
3349
|
+
* @param {ActionsApiTagsRequest} requestParameters Request parameters.
|
|
2579
3350
|
* @param {*} [options] Override http request option.
|
|
2580
3351
|
* @param {Configuration} [configuration] Optional configuration.
|
|
2581
3352
|
* @throws {RequiredError}
|
|
2582
3353
|
*/
|
|
2583
|
-
export async function
|
|
2584
|
-
const localVarAxiosArgs = await
|
|
3354
|
+
export async function ActionsApi_Tags(axios, basePath, requestParameters, options, configuration) {
|
|
3355
|
+
const localVarAxiosArgs = await ActionsApiAxiosParamCreator_Tags(requestParameters.workspaceId, options || {}, configuration);
|
|
2585
3356
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
2586
3357
|
}
|
|
2587
3358
|
// ActionsApi Api FP
|
|
2588
3359
|
/**
|
|
2589
|
-
*
|
|
2590
|
-
* @summary
|
|
3360
|
+
* Tests LLM provider connectivity with a full definition.
|
|
3361
|
+
* @summary Test LLM Provider
|
|
2591
3362
|
* @param {AxiosInstance} axios Axios instance.
|
|
2592
3363
|
* @param {string} basePath Base path.
|
|
2593
|
-
* @param {
|
|
3364
|
+
* @param {ActionsApiTestLlmProviderRequest} requestParameters Request parameters.
|
|
2594
3365
|
* @param {*} [options] Override http request option.
|
|
2595
3366
|
* @param {Configuration} [configuration] Optional configuration.
|
|
2596
3367
|
* @throws {RequiredError}
|
|
2597
3368
|
*/
|
|
2598
|
-
export async function
|
|
2599
|
-
const localVarAxiosArgs = await
|
|
3369
|
+
export async function ActionsApi_TestLlmProvider(axios, basePath, requestParameters, options, configuration) {
|
|
3370
|
+
const localVarAxiosArgs = await ActionsApiAxiosParamCreator_TestLlmProvider(requestParameters.testLlmProviderDefinitionRequest, options || {}, configuration);
|
|
2600
3371
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
2601
3372
|
}
|
|
2602
3373
|
// ActionsApi Api FP
|
|
2603
3374
|
/**
|
|
2604
|
-
*
|
|
2605
|
-
* @summary
|
|
3375
|
+
* Tests an existing LLM provider connectivity by its ID.
|
|
3376
|
+
* @summary Test LLM Provider By Id
|
|
2606
3377
|
* @param {AxiosInstance} axios Axios instance.
|
|
2607
3378
|
* @param {string} basePath Base path.
|
|
2608
|
-
* @param {
|
|
3379
|
+
* @param {ActionsApiTestLlmProviderByIdRequest} requestParameters Request parameters.
|
|
2609
3380
|
* @param {*} [options] Override http request option.
|
|
2610
3381
|
* @param {Configuration} [configuration] Optional configuration.
|
|
2611
3382
|
* @throws {RequiredError}
|
|
2612
3383
|
*/
|
|
2613
|
-
export async function
|
|
2614
|
-
const localVarAxiosArgs = await
|
|
3384
|
+
export async function ActionsApi_TestLlmProviderById(axios, basePath, requestParameters, options, configuration) {
|
|
3385
|
+
const localVarAxiosArgs = await ActionsApiAxiosParamCreator_TestLlmProviderById(requestParameters.llmProviderId, options || {}, configuration);
|
|
2615
3386
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
2616
3387
|
}
|
|
2617
3388
|
// ActionsApi Api FP
|
|
2618
3389
|
/**
|
|
2619
|
-
*
|
|
2620
|
-
* @summary
|
|
3390
|
+
* Triggers asynchronous calculation of metadata quality issues and returns a process ID for status tracking.
|
|
3391
|
+
* @summary Trigger Quality Issues Calculation
|
|
2621
3392
|
* @param {AxiosInstance} axios Axios instance.
|
|
2622
3393
|
* @param {string} basePath Base path.
|
|
2623
|
-
* @param {
|
|
3394
|
+
* @param {ActionsApiTriggerQualityIssuesCalculationRequest} requestParameters Request parameters.
|
|
2624
3395
|
* @param {*} [options] Override http request option.
|
|
2625
3396
|
* @param {Configuration} [configuration] Optional configuration.
|
|
2626
3397
|
* @throws {RequiredError}
|
|
2627
3398
|
*/
|
|
2628
|
-
export async function
|
|
2629
|
-
const localVarAxiosArgs = await
|
|
3399
|
+
export async function ActionsApi_TriggerQualityIssuesCalculation(axios, basePath, requestParameters, options, configuration) {
|
|
3400
|
+
const localVarAxiosArgs = await ActionsApiAxiosParamCreator_TriggerQualityIssuesCalculation(requestParameters.workspaceId, options || {}, configuration);
|
|
2630
3401
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
2631
3402
|
}
|
|
2632
3403
|
// ActionsApi Api FP
|
|
2633
3404
|
/**
|
|
2634
|
-
*
|
|
2635
|
-
* @summary Trigger Quality Issues Calculation
|
|
3405
|
+
*
|
|
2636
3406
|
* @param {AxiosInstance} axios Axios instance.
|
|
2637
3407
|
* @param {string} basePath Base path.
|
|
2638
|
-
* @param {
|
|
3408
|
+
* @param {ActionsApiUpsertDocumentRequest} requestParameters Request parameters.
|
|
2639
3409
|
* @param {*} [options] Override http request option.
|
|
2640
3410
|
* @param {Configuration} [configuration] Optional configuration.
|
|
2641
3411
|
* @throws {RequiredError}
|
|
2642
3412
|
*/
|
|
2643
|
-
export async function
|
|
2644
|
-
const localVarAxiosArgs = await
|
|
3413
|
+
export async function ActionsApi_UpsertDocument(axios, basePath, requestParameters, options, configuration) {
|
|
3414
|
+
const localVarAxiosArgs = await ActionsApiAxiosParamCreator_UpsertDocument(requestParameters.workspaceId, requestParameters.upsertKnowledgeDocumentRequestDto, options || {}, configuration);
|
|
2645
3415
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
2646
3416
|
}
|
|
2647
3417
|
// ActionsApi Api FP
|
|
@@ -2867,6 +3637,16 @@ export class ActionsApi extends BaseAPI {
|
|
|
2867
3637
|
computeValidObjects(requestParameters, options) {
|
|
2868
3638
|
return ActionsApi_ComputeValidObjects(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
2869
3639
|
}
|
|
3640
|
+
/**
|
|
3641
|
+
*
|
|
3642
|
+
* @param {ActionsApiCreateDocumentRequest} requestParameters Request parameters.
|
|
3643
|
+
* @param {*} [options] Override http request option.
|
|
3644
|
+
* @throws {RequiredError}
|
|
3645
|
+
* @memberof ActionsApi
|
|
3646
|
+
*/
|
|
3647
|
+
createDocument(requestParameters, options) {
|
|
3648
|
+
return ActionsApi_CreateDocument(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
3649
|
+
}
|
|
2870
3650
|
/**
|
|
2871
3651
|
* Returns a list of Users who created any object for this workspace
|
|
2872
3652
|
* @summary Get Analytics Catalog CreatedBy Users
|
|
@@ -2878,6 +3658,16 @@ export class ActionsApi extends BaseAPI {
|
|
|
2878
3658
|
createdBy(requestParameters, options) {
|
|
2879
3659
|
return ActionsApi_CreatedBy(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
2880
3660
|
}
|
|
3661
|
+
/**
|
|
3662
|
+
*
|
|
3663
|
+
* @param {ActionsApiDeleteDocumentRequest} requestParameters Request parameters.
|
|
3664
|
+
* @param {*} [options] Override http request option.
|
|
3665
|
+
* @throws {RequiredError}
|
|
3666
|
+
* @memberof ActionsApi
|
|
3667
|
+
*/
|
|
3668
|
+
deleteDocument(requestParameters, options) {
|
|
3669
|
+
return ActionsApi_DeleteDocument(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
3670
|
+
}
|
|
2881
3671
|
/**
|
|
2882
3672
|
* The resource provides static structures needed for investigation of a problem with given AFM.
|
|
2883
3673
|
* @summary AFM explain resource.
|
|
@@ -2932,6 +3722,27 @@ export class ActionsApi extends BaseAPI {
|
|
|
2932
3722
|
generateDescription(requestParameters, options) {
|
|
2933
3723
|
return ActionsApi_GenerateDescription(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
2934
3724
|
}
|
|
3725
|
+
/**
|
|
3726
|
+
* Generates a title for the specified analytics object. Returns title and a note with details if generation was not performed.
|
|
3727
|
+
* @summary Generate Title for Analytics Object
|
|
3728
|
+
* @param {ActionsApiGenerateTitleRequest} requestParameters Request parameters.
|
|
3729
|
+
* @param {*} [options] Override http request option.
|
|
3730
|
+
* @throws {RequiredError}
|
|
3731
|
+
* @memberof ActionsApi
|
|
3732
|
+
*/
|
|
3733
|
+
generateTitle(requestParameters, options) {
|
|
3734
|
+
return ActionsApi_GenerateTitle(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
3735
|
+
}
|
|
3736
|
+
/**
|
|
3737
|
+
*
|
|
3738
|
+
* @param {ActionsApiGetDocumentRequest} requestParameters Request parameters.
|
|
3739
|
+
* @param {*} [options] Override http request option.
|
|
3740
|
+
* @throws {RequiredError}
|
|
3741
|
+
* @memberof ActionsApi
|
|
3742
|
+
*/
|
|
3743
|
+
getDocument(requestParameters, options) {
|
|
3744
|
+
return ActionsApi_GetDocument(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
3745
|
+
}
|
|
2935
3746
|
/**
|
|
2936
3747
|
* Returns metadata quality issues detected by the platform linter.
|
|
2937
3748
|
* @summary Get Quality Issues
|
|
@@ -2986,6 +3797,16 @@ export class ActionsApi extends BaseAPI {
|
|
|
2986
3797
|
keyDriverAnalysisResult(requestParameters, options) {
|
|
2987
3798
|
return ActionsApi_KeyDriverAnalysisResult(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
2988
3799
|
}
|
|
3800
|
+
/**
|
|
3801
|
+
*
|
|
3802
|
+
* @param {ActionsApiListDocumentsRequest} requestParameters Request parameters.
|
|
3803
|
+
* @param {*} [options] Override http request option.
|
|
3804
|
+
* @throws {RequiredError}
|
|
3805
|
+
* @memberof ActionsApi
|
|
3806
|
+
*/
|
|
3807
|
+
listDocuments(requestParameters, options) {
|
|
3808
|
+
return ActionsApi_ListDocuments(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
3809
|
+
}
|
|
2989
3810
|
/**
|
|
2990
3811
|
* Returns a list of Users who created any memory item for this workspace
|
|
2991
3812
|
* @summary Get AI Memory CreatedBy Users
|
|
@@ -3019,6 +3840,16 @@ export class ActionsApi extends BaseAPI {
|
|
|
3019
3840
|
outlierDetectionResult(requestParameters, options) {
|
|
3020
3841
|
return ActionsApi_OutlierDetectionResult(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
3021
3842
|
}
|
|
3843
|
+
/**
|
|
3844
|
+
*
|
|
3845
|
+
* @param {ActionsApiPatchDocumentRequest} requestParameters Request parameters.
|
|
3846
|
+
* @param {*} [options] Override http request option.
|
|
3847
|
+
* @throws {RequiredError}
|
|
3848
|
+
* @memberof ActionsApi
|
|
3849
|
+
*/
|
|
3850
|
+
patchDocument(requestParameters, options) {
|
|
3851
|
+
return ActionsApi_PatchDocument(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
3852
|
+
}
|
|
3022
3853
|
/**
|
|
3023
3854
|
* Returns a list of available LLM Endpoints
|
|
3024
3855
|
* @summary Get Active LLM Endpoints for this workspace
|
|
@@ -3052,6 +3883,16 @@ export class ActionsApi extends BaseAPI {
|
|
|
3052
3883
|
retrieveResult(requestParameters, options) {
|
|
3053
3884
|
return ActionsApi_RetrieveResult(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
3054
3885
|
}
|
|
3886
|
+
/**
|
|
3887
|
+
*
|
|
3888
|
+
* @param {ActionsApiSearchKnowledgeRequest} requestParameters Request parameters.
|
|
3889
|
+
* @param {*} [options] Override http request option.
|
|
3890
|
+
* @throws {RequiredError}
|
|
3891
|
+
* @memberof ActionsApi
|
|
3892
|
+
*/
|
|
3893
|
+
searchKnowledge(requestParameters, options) {
|
|
3894
|
+
return ActionsApi_SearchKnowledge(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
3895
|
+
}
|
|
3055
3896
|
/**
|
|
3056
3897
|
* Returns a list of tags for this workspace
|
|
3057
3898
|
* @summary Get Analytics Catalog Tags
|
|
@@ -3063,6 +3904,28 @@ export class ActionsApi extends BaseAPI {
|
|
|
3063
3904
|
tags(requestParameters, options) {
|
|
3064
3905
|
return ActionsApi_Tags(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
3065
3906
|
}
|
|
3907
|
+
/**
|
|
3908
|
+
* Tests LLM provider connectivity with a full definition.
|
|
3909
|
+
* @summary Test LLM Provider
|
|
3910
|
+
* @param {ActionsApiTestLlmProviderRequest} requestParameters Request parameters.
|
|
3911
|
+
* @param {*} [options] Override http request option.
|
|
3912
|
+
* @throws {RequiredError}
|
|
3913
|
+
* @memberof ActionsApi
|
|
3914
|
+
*/
|
|
3915
|
+
testLlmProvider(requestParameters, options) {
|
|
3916
|
+
return ActionsApi_TestLlmProvider(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
3917
|
+
}
|
|
3918
|
+
/**
|
|
3919
|
+
* Tests an existing LLM provider connectivity by its ID.
|
|
3920
|
+
* @summary Test LLM Provider By Id
|
|
3921
|
+
* @param {ActionsApiTestLlmProviderByIdRequest} requestParameters Request parameters.
|
|
3922
|
+
* @param {*} [options] Override http request option.
|
|
3923
|
+
* @throws {RequiredError}
|
|
3924
|
+
* @memberof ActionsApi
|
|
3925
|
+
*/
|
|
3926
|
+
testLlmProviderById(requestParameters, options) {
|
|
3927
|
+
return ActionsApi_TestLlmProviderById(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
3928
|
+
}
|
|
3066
3929
|
/**
|
|
3067
3930
|
* Triggers asynchronous calculation of metadata quality issues and returns a process ID for status tracking.
|
|
3068
3931
|
* @summary Trigger Quality Issues Calculation
|
|
@@ -3074,6 +3937,16 @@ export class ActionsApi extends BaseAPI {
|
|
|
3074
3937
|
triggerQualityIssuesCalculation(requestParameters, options) {
|
|
3075
3938
|
return ActionsApi_TriggerQualityIssuesCalculation(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
3076
3939
|
}
|
|
3940
|
+
/**
|
|
3941
|
+
*
|
|
3942
|
+
* @param {ActionsApiUpsertDocumentRequest} requestParameters Request parameters.
|
|
3943
|
+
* @param {*} [options] Override http request option.
|
|
3944
|
+
* @throws {RequiredError}
|
|
3945
|
+
* @memberof ActionsApi
|
|
3946
|
+
*/
|
|
3947
|
+
upsertDocument(requestParameters, options) {
|
|
3948
|
+
return ActionsApi_UpsertDocument(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
3949
|
+
}
|
|
3077
3950
|
/**
|
|
3078
3951
|
* Validates LLM endpoint with provided parameters.
|
|
3079
3952
|
* @summary Validate LLM Endpoint
|
|
@@ -4814,6 +5687,56 @@ export async function SmartFunctionsApiAxiosParamCreator_GenerateDescription(wor
|
|
|
4814
5687
|
};
|
|
4815
5688
|
}
|
|
4816
5689
|
// SmartFunctionsApi FP - SmartFunctionsApiAxiosParamCreator
|
|
5690
|
+
/**
|
|
5691
|
+
* Generates a title for the specified analytics object. Returns title and a note with details if generation was not performed.
|
|
5692
|
+
* @summary Generate Title for Analytics Object
|
|
5693
|
+
* @param {string} workspaceId Workspace identifier
|
|
5694
|
+
* @param {GenerateTitleRequest} generateTitleRequest
|
|
5695
|
+
* @param {*} [options] Override http request option.
|
|
5696
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
5697
|
+
* @throws {RequiredError}
|
|
5698
|
+
*/
|
|
5699
|
+
export async function SmartFunctionsApiAxiosParamCreator_GenerateTitle(workspaceId, generateTitleRequest, options = {}, configuration) {
|
|
5700
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
5701
|
+
assertParamExists('generateTitle', 'workspaceId', workspaceId);
|
|
5702
|
+
// verify required parameter 'generateTitleRequest' is not null or undefined
|
|
5703
|
+
assertParamExists('generateTitle', 'generateTitleRequest', generateTitleRequest);
|
|
5704
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/analyticsCatalog/generateTitle`
|
|
5705
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
5706
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5707
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5708
|
+
let baseOptions;
|
|
5709
|
+
if (configuration) {
|
|
5710
|
+
baseOptions = configuration.baseOptions;
|
|
5711
|
+
}
|
|
5712
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
5713
|
+
const localVarHeaderParameter = {};
|
|
5714
|
+
const localVarQueryParameter = {};
|
|
5715
|
+
const consumes = [
|
|
5716
|
+
'application/json'
|
|
5717
|
+
];
|
|
5718
|
+
// use application/json if present, otherwise fallback to the first one
|
|
5719
|
+
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
5720
|
+
? 'application/json'
|
|
5721
|
+
: consumes[0];
|
|
5722
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5723
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
5724
|
+
localVarRequestOptions.headers = {
|
|
5725
|
+
...localVarHeaderParameter,
|
|
5726
|
+
...headersFromBaseOptions,
|
|
5727
|
+
...options.headers,
|
|
5728
|
+
};
|
|
5729
|
+
const needsSerialization = typeof generateTitleRequest !== "string" ||
|
|
5730
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
5731
|
+
localVarRequestOptions.data = needsSerialization
|
|
5732
|
+
? JSON.stringify(generateTitleRequest !== undefined ? generateTitleRequest : {})
|
|
5733
|
+
: generateTitleRequest || "";
|
|
5734
|
+
return {
|
|
5735
|
+
url: toPathString(localVarUrlObj),
|
|
5736
|
+
options: localVarRequestOptions,
|
|
5737
|
+
};
|
|
5738
|
+
}
|
|
5739
|
+
// SmartFunctionsApi FP - SmartFunctionsApiAxiosParamCreator
|
|
4817
5740
|
/**
|
|
4818
5741
|
* Returns metadata quality issues detected by the platform linter.
|
|
4819
5742
|
* @summary Get Quality Issues
|
|
@@ -4993,6 +5916,87 @@ export async function SmartFunctionsApiAxiosParamCreator_Tags(workspaceId, optio
|
|
|
4993
5916
|
};
|
|
4994
5917
|
}
|
|
4995
5918
|
// SmartFunctionsApi FP - SmartFunctionsApiAxiosParamCreator
|
|
5919
|
+
/**
|
|
5920
|
+
* Tests LLM provider connectivity with a full definition.
|
|
5921
|
+
* @summary Test LLM Provider
|
|
5922
|
+
* @param {TestLlmProviderDefinitionRequest} testLlmProviderDefinitionRequest
|
|
5923
|
+
* @param {*} [options] Override http request option.
|
|
5924
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
5925
|
+
* @throws {RequiredError}
|
|
5926
|
+
*/
|
|
5927
|
+
export async function SmartFunctionsApiAxiosParamCreator_TestLlmProvider(testLlmProviderDefinitionRequest, options = {}, configuration) {
|
|
5928
|
+
// verify required parameter 'testLlmProviderDefinitionRequest' is not null or undefined
|
|
5929
|
+
assertParamExists('testLlmProvider', 'testLlmProviderDefinitionRequest', testLlmProviderDefinitionRequest);
|
|
5930
|
+
const localVarPath = `/api/v1/actions/ai/llmProvider/test`;
|
|
5931
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5932
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5933
|
+
let baseOptions;
|
|
5934
|
+
if (configuration) {
|
|
5935
|
+
baseOptions = configuration.baseOptions;
|
|
5936
|
+
}
|
|
5937
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
5938
|
+
const localVarHeaderParameter = {};
|
|
5939
|
+
const localVarQueryParameter = {};
|
|
5940
|
+
const consumes = [
|
|
5941
|
+
'application/json'
|
|
5942
|
+
];
|
|
5943
|
+
// use application/json if present, otherwise fallback to the first one
|
|
5944
|
+
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
5945
|
+
? 'application/json'
|
|
5946
|
+
: consumes[0];
|
|
5947
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5948
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
5949
|
+
localVarRequestOptions.headers = {
|
|
5950
|
+
...localVarHeaderParameter,
|
|
5951
|
+
...headersFromBaseOptions,
|
|
5952
|
+
...options.headers,
|
|
5953
|
+
};
|
|
5954
|
+
const needsSerialization = typeof testLlmProviderDefinitionRequest !== "string" ||
|
|
5955
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
5956
|
+
localVarRequestOptions.data = needsSerialization
|
|
5957
|
+
? JSON.stringify(testLlmProviderDefinitionRequest !== undefined ? testLlmProviderDefinitionRequest : {})
|
|
5958
|
+
: testLlmProviderDefinitionRequest || "";
|
|
5959
|
+
return {
|
|
5960
|
+
url: toPathString(localVarUrlObj),
|
|
5961
|
+
options: localVarRequestOptions,
|
|
5962
|
+
};
|
|
5963
|
+
}
|
|
5964
|
+
// SmartFunctionsApi FP - SmartFunctionsApiAxiosParamCreator
|
|
5965
|
+
/**
|
|
5966
|
+
* Tests an existing LLM provider connectivity by its ID.
|
|
5967
|
+
* @summary Test LLM Provider By Id
|
|
5968
|
+
* @param {string} llmProviderId
|
|
5969
|
+
* @param {*} [options] Override http request option.
|
|
5970
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
5971
|
+
* @throws {RequiredError}
|
|
5972
|
+
*/
|
|
5973
|
+
export async function SmartFunctionsApiAxiosParamCreator_TestLlmProviderById(llmProviderId, options = {}, configuration) {
|
|
5974
|
+
// verify required parameter 'llmProviderId' is not null or undefined
|
|
5975
|
+
assertParamExists('testLlmProviderById', 'llmProviderId', llmProviderId);
|
|
5976
|
+
const localVarPath = `/api/v1/actions/ai/llmProvider/{llmProviderId}/test`
|
|
5977
|
+
.replace(`{${"llmProviderId"}}`, encodeURIComponent(String(llmProviderId)));
|
|
5978
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5979
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5980
|
+
let baseOptions;
|
|
5981
|
+
if (configuration) {
|
|
5982
|
+
baseOptions = configuration.baseOptions;
|
|
5983
|
+
}
|
|
5984
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
5985
|
+
const localVarHeaderParameter = {};
|
|
5986
|
+
const localVarQueryParameter = {};
|
|
5987
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5988
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
5989
|
+
localVarRequestOptions.headers = {
|
|
5990
|
+
...localVarHeaderParameter,
|
|
5991
|
+
...headersFromBaseOptions,
|
|
5992
|
+
...options.headers,
|
|
5993
|
+
};
|
|
5994
|
+
return {
|
|
5995
|
+
url: toPathString(localVarUrlObj),
|
|
5996
|
+
options: localVarRequestOptions,
|
|
5997
|
+
};
|
|
5998
|
+
}
|
|
5999
|
+
// SmartFunctionsApi FP - SmartFunctionsApiAxiosParamCreator
|
|
4996
6000
|
/**
|
|
4997
6001
|
* Triggers asynchronous calculation of metadata quality issues and returns a process ID for status tracking.
|
|
4998
6002
|
* @summary Trigger Quality Issues Calculation
|
|
@@ -5317,6 +6321,21 @@ export async function SmartFunctionsApi_GenerateDescription(axios, basePath, req
|
|
|
5317
6321
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
5318
6322
|
}
|
|
5319
6323
|
// SmartFunctionsApi Api FP
|
|
6324
|
+
/**
|
|
6325
|
+
* Generates a title for the specified analytics object. Returns title and a note with details if generation was not performed.
|
|
6326
|
+
* @summary Generate Title for Analytics Object
|
|
6327
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
6328
|
+
* @param {string} basePath Base path.
|
|
6329
|
+
* @param {SmartFunctionsApiGenerateTitleRequest} requestParameters Request parameters.
|
|
6330
|
+
* @param {*} [options] Override http request option.
|
|
6331
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
6332
|
+
* @throws {RequiredError}
|
|
6333
|
+
*/
|
|
6334
|
+
export async function SmartFunctionsApi_GenerateTitle(axios, basePath, requestParameters, options, configuration) {
|
|
6335
|
+
const localVarAxiosArgs = await SmartFunctionsApiAxiosParamCreator_GenerateTitle(requestParameters.workspaceId, requestParameters.generateTitleRequest, options || {}, configuration);
|
|
6336
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
6337
|
+
}
|
|
6338
|
+
// SmartFunctionsApi Api FP
|
|
5320
6339
|
/**
|
|
5321
6340
|
* Returns metadata quality issues detected by the platform linter.
|
|
5322
6341
|
* @summary Get Quality Issues
|
|
@@ -5392,6 +6411,36 @@ export async function SmartFunctionsApi_Tags(axios, basePath, requestParameters,
|
|
|
5392
6411
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
5393
6412
|
}
|
|
5394
6413
|
// SmartFunctionsApi Api FP
|
|
6414
|
+
/**
|
|
6415
|
+
* Tests LLM provider connectivity with a full definition.
|
|
6416
|
+
* @summary Test LLM Provider
|
|
6417
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
6418
|
+
* @param {string} basePath Base path.
|
|
6419
|
+
* @param {SmartFunctionsApiTestLlmProviderRequest} requestParameters Request parameters.
|
|
6420
|
+
* @param {*} [options] Override http request option.
|
|
6421
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
6422
|
+
* @throws {RequiredError}
|
|
6423
|
+
*/
|
|
6424
|
+
export async function SmartFunctionsApi_TestLlmProvider(axios, basePath, requestParameters, options, configuration) {
|
|
6425
|
+
const localVarAxiosArgs = await SmartFunctionsApiAxiosParamCreator_TestLlmProvider(requestParameters.testLlmProviderDefinitionRequest, options || {}, configuration);
|
|
6426
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
6427
|
+
}
|
|
6428
|
+
// SmartFunctionsApi Api FP
|
|
6429
|
+
/**
|
|
6430
|
+
* Tests an existing LLM provider connectivity by its ID.
|
|
6431
|
+
* @summary Test LLM Provider By Id
|
|
6432
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
6433
|
+
* @param {string} basePath Base path.
|
|
6434
|
+
* @param {SmartFunctionsApiTestLlmProviderByIdRequest} requestParameters Request parameters.
|
|
6435
|
+
* @param {*} [options] Override http request option.
|
|
6436
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
6437
|
+
* @throws {RequiredError}
|
|
6438
|
+
*/
|
|
6439
|
+
export async function SmartFunctionsApi_TestLlmProviderById(axios, basePath, requestParameters, options, configuration) {
|
|
6440
|
+
const localVarAxiosArgs = await SmartFunctionsApiAxiosParamCreator_TestLlmProviderById(requestParameters.llmProviderId, options || {}, configuration);
|
|
6441
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
6442
|
+
}
|
|
6443
|
+
// SmartFunctionsApi Api FP
|
|
5395
6444
|
/**
|
|
5396
6445
|
* Triggers asynchronous calculation of metadata quality issues and returns a process ID for status tracking.
|
|
5397
6446
|
* @summary Trigger Quality Issues Calculation
|
|
@@ -5586,6 +6635,17 @@ export class SmartFunctionsApi extends BaseAPI {
|
|
|
5586
6635
|
generateDescription(requestParameters, options) {
|
|
5587
6636
|
return SmartFunctionsApi_GenerateDescription(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
5588
6637
|
}
|
|
6638
|
+
/**
|
|
6639
|
+
* Generates a title for the specified analytics object. Returns title and a note with details if generation was not performed.
|
|
6640
|
+
* @summary Generate Title for Analytics Object
|
|
6641
|
+
* @param {SmartFunctionsApiGenerateTitleRequest} requestParameters Request parameters.
|
|
6642
|
+
* @param {*} [options] Override http request option.
|
|
6643
|
+
* @throws {RequiredError}
|
|
6644
|
+
* @memberof SmartFunctionsApi
|
|
6645
|
+
*/
|
|
6646
|
+
generateTitle(requestParameters, options) {
|
|
6647
|
+
return SmartFunctionsApi_GenerateTitle(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
6648
|
+
}
|
|
5589
6649
|
/**
|
|
5590
6650
|
* Returns metadata quality issues detected by the platform linter.
|
|
5591
6651
|
* @summary Get Quality Issues
|
|
@@ -5641,6 +6701,28 @@ export class SmartFunctionsApi extends BaseAPI {
|
|
|
5641
6701
|
tags(requestParameters, options) {
|
|
5642
6702
|
return SmartFunctionsApi_Tags(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
5643
6703
|
}
|
|
6704
|
+
/**
|
|
6705
|
+
* Tests LLM provider connectivity with a full definition.
|
|
6706
|
+
* @summary Test LLM Provider
|
|
6707
|
+
* @param {SmartFunctionsApiTestLlmProviderRequest} requestParameters Request parameters.
|
|
6708
|
+
* @param {*} [options] Override http request option.
|
|
6709
|
+
* @throws {RequiredError}
|
|
6710
|
+
* @memberof SmartFunctionsApi
|
|
6711
|
+
*/
|
|
6712
|
+
testLlmProvider(requestParameters, options) {
|
|
6713
|
+
return SmartFunctionsApi_TestLlmProvider(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
6714
|
+
}
|
|
6715
|
+
/**
|
|
6716
|
+
* Tests an existing LLM provider connectivity by its ID.
|
|
6717
|
+
* @summary Test LLM Provider By Id
|
|
6718
|
+
* @param {SmartFunctionsApiTestLlmProviderByIdRequest} requestParameters Request parameters.
|
|
6719
|
+
* @param {*} [options] Override http request option.
|
|
6720
|
+
* @throws {RequiredError}
|
|
6721
|
+
* @memberof SmartFunctionsApi
|
|
6722
|
+
*/
|
|
6723
|
+
testLlmProviderById(requestParameters, options) {
|
|
6724
|
+
return SmartFunctionsApi_TestLlmProviderById(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
6725
|
+
}
|
|
5644
6726
|
/**
|
|
5645
6727
|
* Triggers asynchronous calculation of metadata quality issues and returns a process ID for status tracking.
|
|
5646
6728
|
* @summary Trigger Quality Issues Calculation
|