@gooddata/api-client-tiger 11.29.0-alpha.5 → 11.29.0-alpha.7
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 +4075 -463
- package/esm/generated/afm-rest-api/api.d.ts +1608 -165
- package/esm/generated/afm-rest-api/api.d.ts.map +1 -1
- package/esm/generated/afm-rest-api/api.js +1421 -137
- package/esm/generated/afm-rest-api/api.js.map +1 -1
- package/esm/generated/ai-json-api/api.d.ts +227 -2
- package/esm/generated/ai-json-api/api.d.ts.map +1 -1
- package/esm/generated/ai-json-api/api.js +92 -0
- package/esm/generated/ai-json-api/api.js.map +1 -1
- package/esm/generated/ai-json-api/index.js +1 -1
- package/esm/generated/ai-json-api/index.js.map +1 -1
- package/esm/generated/automation-json-api/api.d.ts +2 -1
- package/esm/generated/automation-json-api/api.d.ts.map +1 -1
- package/esm/generated/automation-json-api/api.js.map +1 -1
- package/esm/generated/export-json-api/api.d.ts +1 -1
- package/esm/generated/export-json-api/api.d.ts.map +1 -1
- package/esm/generated/metadata-json-api/api.d.ts +3521 -425
- package/esm/generated/metadata-json-api/api.d.ts.map +1 -1
- package/esm/generated/metadata-json-api/api.js +7181 -4198
- package/esm/generated/metadata-json-api/api.js.map +1 -1
- package/esm/generated/result-json-api/base.d.ts.map +1 -1
- package/esm/generated/result-json-api/base.js +1 -1
- package/esm/generated/result-json-api/base.js.map +1 -1
- package/esm/index.d.ts +1 -1
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js.map +1 -1
- package/package.json +5 -5
|
@@ -5,6 +5,103 @@ import { DUMMY_BASE_URL, assertParamExists, setSearchParams, toPathString, creat
|
|
|
5
5
|
// @ts-ignore
|
|
6
6
|
import { BASE_PATH, COLLECTION_FORMATS, BaseAPI } from './base.js';
|
|
7
7
|
// AILakeApi FP - AILakeApiAxiosParamCreator
|
|
8
|
+
/**
|
|
9
|
+
* (BETA) Creates a pipe-backed OLAP table in the given AI Lake database instance. Infers schema from parquet files. Returns an operation-id header the client can use to poll for progress.
|
|
10
|
+
* @summary (BETA) Create a new AI Lake pipe table
|
|
11
|
+
* @param {string} instanceId Database instance identifier. Accepts the database name (preferred) or UUID.
|
|
12
|
+
* @param {CreatePipeTableRequest} createPipeTableRequest
|
|
13
|
+
* @param {string} [operationId]
|
|
14
|
+
* @param {*} [options] Override http request option.
|
|
15
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
16
|
+
* @throws {RequiredError}
|
|
17
|
+
*/
|
|
18
|
+
export async function AILakeApiAxiosParamCreator_CreateAiLakePipeTable(instanceId, createPipeTableRequest, operationId, options = {}, configuration) {
|
|
19
|
+
// verify required parameter 'instanceId' is not null or undefined
|
|
20
|
+
assertParamExists('createAiLakePipeTable', 'instanceId', instanceId);
|
|
21
|
+
// verify required parameter 'createPipeTableRequest' is not null or undefined
|
|
22
|
+
assertParamExists('createAiLakePipeTable', 'createPipeTableRequest', createPipeTableRequest);
|
|
23
|
+
const localVarPath = `/api/v1/ailake/database/instances/{instanceId}/pipeTables`
|
|
24
|
+
.replace(`{${"instanceId"}}`, encodeURIComponent(String(instanceId)));
|
|
25
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
27
|
+
let baseOptions;
|
|
28
|
+
if (configuration) {
|
|
29
|
+
baseOptions = configuration.baseOptions;
|
|
30
|
+
}
|
|
31
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
32
|
+
const localVarHeaderParameter = {};
|
|
33
|
+
const localVarQueryParameter = {};
|
|
34
|
+
if (operationId !== undefined && operationId !== null) {
|
|
35
|
+
localVarHeaderParameter['operation-id'] = String(operationId);
|
|
36
|
+
}
|
|
37
|
+
const consumes = [
|
|
38
|
+
'application/json'
|
|
39
|
+
];
|
|
40
|
+
// use application/json if present, otherwise fallback to the first one
|
|
41
|
+
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
42
|
+
? 'application/json'
|
|
43
|
+
: consumes[0];
|
|
44
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
45
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
46
|
+
localVarRequestOptions.headers = {
|
|
47
|
+
...localVarHeaderParameter,
|
|
48
|
+
...headersFromBaseOptions,
|
|
49
|
+
...options.headers,
|
|
50
|
+
};
|
|
51
|
+
const needsSerialization = typeof createPipeTableRequest !== "string" ||
|
|
52
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
53
|
+
localVarRequestOptions.data = needsSerialization
|
|
54
|
+
? JSON.stringify(createPipeTableRequest !== undefined ? createPipeTableRequest : {})
|
|
55
|
+
: createPipeTableRequest || "";
|
|
56
|
+
return {
|
|
57
|
+
url: toPathString(localVarUrlObj),
|
|
58
|
+
options: localVarRequestOptions,
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
// AILakeApi FP - AILakeApiAxiosParamCreator
|
|
62
|
+
/**
|
|
63
|
+
* (BETA) Drops the pipe and OLAP table and removes the record. Returns an operation-id header the client can use to poll for progress.
|
|
64
|
+
* @summary (BETA) Delete an AI Lake pipe table
|
|
65
|
+
* @param {string} instanceId Database instance identifier. Accepts the database name (preferred) or UUID.
|
|
66
|
+
* @param {string} tableName Pipe table name.
|
|
67
|
+
* @param {string} [operationId]
|
|
68
|
+
* @param {*} [options] Override http request option.
|
|
69
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
70
|
+
* @throws {RequiredError}
|
|
71
|
+
*/
|
|
72
|
+
export async function AILakeApiAxiosParamCreator_DeleteAiLakePipeTable(instanceId, tableName, operationId, options = {}, configuration) {
|
|
73
|
+
// verify required parameter 'instanceId' is not null or undefined
|
|
74
|
+
assertParamExists('deleteAiLakePipeTable', 'instanceId', instanceId);
|
|
75
|
+
// verify required parameter 'tableName' is not null or undefined
|
|
76
|
+
assertParamExists('deleteAiLakePipeTable', 'tableName', tableName);
|
|
77
|
+
const localVarPath = `/api/v1/ailake/database/instances/{instanceId}/pipeTables/{tableName}`
|
|
78
|
+
.replace(`{${"instanceId"}}`, encodeURIComponent(String(instanceId)))
|
|
79
|
+
.replace(`{${"tableName"}}`, encodeURIComponent(String(tableName)));
|
|
80
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
81
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
82
|
+
let baseOptions;
|
|
83
|
+
if (configuration) {
|
|
84
|
+
baseOptions = configuration.baseOptions;
|
|
85
|
+
}
|
|
86
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
87
|
+
const localVarHeaderParameter = {};
|
|
88
|
+
const localVarQueryParameter = {};
|
|
89
|
+
if (operationId !== undefined && operationId !== null) {
|
|
90
|
+
localVarHeaderParameter['operation-id'] = String(operationId);
|
|
91
|
+
}
|
|
92
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
93
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
94
|
+
localVarRequestOptions.headers = {
|
|
95
|
+
...localVarHeaderParameter,
|
|
96
|
+
...headersFromBaseOptions,
|
|
97
|
+
...options.headers,
|
|
98
|
+
};
|
|
99
|
+
return {
|
|
100
|
+
url: toPathString(localVarUrlObj),
|
|
101
|
+
options: localVarRequestOptions,
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
// AILakeApi FP - AILakeApiAxiosParamCreator
|
|
8
105
|
/**
|
|
9
106
|
* (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.
|
|
10
107
|
* @summary (BETA) Delete an existing AILake Database instance
|
|
@@ -114,6 +211,45 @@ export async function AILakeApiAxiosParamCreator_GetAiLakeOperation(operationId,
|
|
|
114
211
|
};
|
|
115
212
|
}
|
|
116
213
|
// AILakeApi FP - AILakeApiAxiosParamCreator
|
|
214
|
+
/**
|
|
215
|
+
* (BETA) Returns full details of the specified pipe table.
|
|
216
|
+
* @summary (BETA) Get an AI Lake pipe table
|
|
217
|
+
* @param {string} instanceId Database instance identifier. Accepts the database name (preferred) or UUID.
|
|
218
|
+
* @param {string} tableName Pipe table name.
|
|
219
|
+
* @param {*} [options] Override http request option.
|
|
220
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
221
|
+
* @throws {RequiredError}
|
|
222
|
+
*/
|
|
223
|
+
export async function AILakeApiAxiosParamCreator_GetAiLakePipeTable(instanceId, tableName, options = {}, configuration) {
|
|
224
|
+
// verify required parameter 'instanceId' is not null or undefined
|
|
225
|
+
assertParamExists('getAiLakePipeTable', 'instanceId', instanceId);
|
|
226
|
+
// verify required parameter 'tableName' is not null or undefined
|
|
227
|
+
assertParamExists('getAiLakePipeTable', 'tableName', tableName);
|
|
228
|
+
const localVarPath = `/api/v1/ailake/database/instances/{instanceId}/pipeTables/{tableName}`
|
|
229
|
+
.replace(`{${"instanceId"}}`, encodeURIComponent(String(instanceId)))
|
|
230
|
+
.replace(`{${"tableName"}}`, encodeURIComponent(String(tableName)));
|
|
231
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
232
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
233
|
+
let baseOptions;
|
|
234
|
+
if (configuration) {
|
|
235
|
+
baseOptions = configuration.baseOptions;
|
|
236
|
+
}
|
|
237
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
238
|
+
const localVarHeaderParameter = {};
|
|
239
|
+
const localVarQueryParameter = {};
|
|
240
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
241
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
242
|
+
localVarRequestOptions.headers = {
|
|
243
|
+
...localVarHeaderParameter,
|
|
244
|
+
...headersFromBaseOptions,
|
|
245
|
+
...options.headers,
|
|
246
|
+
};
|
|
247
|
+
return {
|
|
248
|
+
url: toPathString(localVarUrlObj),
|
|
249
|
+
options: localVarRequestOptions,
|
|
250
|
+
};
|
|
251
|
+
}
|
|
252
|
+
// AILakeApi FP - AILakeApiAxiosParamCreator
|
|
117
253
|
/**
|
|
118
254
|
* (BETA) Returns the status of a service in the organization\'s AI Lake. The status is controller-specific (e.g., available commands, readiness).
|
|
119
255
|
* @summary (BETA) Get AI Lake service status
|
|
@@ -192,6 +328,41 @@ export async function AILakeApiAxiosParamCreator_ListAiLakeDatabaseInstances(siz
|
|
|
192
328
|
};
|
|
193
329
|
}
|
|
194
330
|
// AILakeApi FP - AILakeApiAxiosParamCreator
|
|
331
|
+
/**
|
|
332
|
+
* (BETA) Lists all active pipe tables in the given AI Lake database instance.
|
|
333
|
+
* @summary (BETA) List AI Lake pipe tables
|
|
334
|
+
* @param {string} instanceId Database instance identifier. Accepts the database name (preferred) or UUID.
|
|
335
|
+
* @param {*} [options] Override http request option.
|
|
336
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
337
|
+
* @throws {RequiredError}
|
|
338
|
+
*/
|
|
339
|
+
export async function AILakeApiAxiosParamCreator_ListAiLakePipeTables(instanceId, options = {}, configuration) {
|
|
340
|
+
// verify required parameter 'instanceId' is not null or undefined
|
|
341
|
+
assertParamExists('listAiLakePipeTables', 'instanceId', instanceId);
|
|
342
|
+
const localVarPath = `/api/v1/ailake/database/instances/{instanceId}/pipeTables`
|
|
343
|
+
.replace(`{${"instanceId"}}`, encodeURIComponent(String(instanceId)));
|
|
344
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
345
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
346
|
+
let baseOptions;
|
|
347
|
+
if (configuration) {
|
|
348
|
+
baseOptions = configuration.baseOptions;
|
|
349
|
+
}
|
|
350
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
351
|
+
const localVarHeaderParameter = {};
|
|
352
|
+
const localVarQueryParameter = {};
|
|
353
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
354
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
355
|
+
localVarRequestOptions.headers = {
|
|
356
|
+
...localVarHeaderParameter,
|
|
357
|
+
...headersFromBaseOptions,
|
|
358
|
+
...options.headers,
|
|
359
|
+
};
|
|
360
|
+
return {
|
|
361
|
+
url: toPathString(localVarUrlObj),
|
|
362
|
+
options: localVarRequestOptions,
|
|
363
|
+
};
|
|
364
|
+
}
|
|
365
|
+
// AILakeApi FP - AILakeApiAxiosParamCreator
|
|
195
366
|
/**
|
|
196
367
|
* (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.
|
|
197
368
|
* @summary (BETA) List AI Lake services
|
|
@@ -284,7 +455,1060 @@ export async function AILakeApiAxiosParamCreator_ProvisionAiLakeDatabaseInstance
|
|
|
284
455
|
options: localVarRequestOptions,
|
|
285
456
|
};
|
|
286
457
|
}
|
|
287
|
-
// AILakeApi FP - AILakeApiAxiosParamCreator
|
|
458
|
+
// AILakeApi FP - AILakeApiAxiosParamCreator
|
|
459
|
+
/**
|
|
460
|
+
* (BETA) Runs a specific AI Lake service command.
|
|
461
|
+
* @summary (BETA) Run an AI Lake services command
|
|
462
|
+
* @param {string} serviceId
|
|
463
|
+
* @param {string} commandName
|
|
464
|
+
* @param {RunServiceCommandRequest} runServiceCommandRequest
|
|
465
|
+
* @param {string} [operationId]
|
|
466
|
+
* @param {*} [options] Override http request option.
|
|
467
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
468
|
+
* @throws {RequiredError}
|
|
469
|
+
*/
|
|
470
|
+
export async function AILakeApiAxiosParamCreator_RunAiLakeServiceCommand(serviceId, commandName, runServiceCommandRequest, operationId, options = {}, configuration) {
|
|
471
|
+
// verify required parameter 'serviceId' is not null or undefined
|
|
472
|
+
assertParamExists('runAiLakeServiceCommand', 'serviceId', serviceId);
|
|
473
|
+
// verify required parameter 'commandName' is not null or undefined
|
|
474
|
+
assertParamExists('runAiLakeServiceCommand', 'commandName', commandName);
|
|
475
|
+
// verify required parameter 'runServiceCommandRequest' is not null or undefined
|
|
476
|
+
assertParamExists('runAiLakeServiceCommand', 'runServiceCommandRequest', runServiceCommandRequest);
|
|
477
|
+
const localVarPath = `/api/v1/ailake/services/{serviceId}/commands/{commandName}/run`
|
|
478
|
+
.replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)))
|
|
479
|
+
.replace(`{${"commandName"}}`, encodeURIComponent(String(commandName)));
|
|
480
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
481
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
482
|
+
let baseOptions;
|
|
483
|
+
if (configuration) {
|
|
484
|
+
baseOptions = configuration.baseOptions;
|
|
485
|
+
}
|
|
486
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
487
|
+
const localVarHeaderParameter = {};
|
|
488
|
+
const localVarQueryParameter = {};
|
|
489
|
+
if (operationId !== undefined && operationId !== null) {
|
|
490
|
+
localVarHeaderParameter['operation-id'] = String(operationId);
|
|
491
|
+
}
|
|
492
|
+
const consumes = [
|
|
493
|
+
'application/json'
|
|
494
|
+
];
|
|
495
|
+
// use application/json if present, otherwise fallback to the first one
|
|
496
|
+
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
497
|
+
? 'application/json'
|
|
498
|
+
: consumes[0];
|
|
499
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
500
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
501
|
+
localVarRequestOptions.headers = {
|
|
502
|
+
...localVarHeaderParameter,
|
|
503
|
+
...headersFromBaseOptions,
|
|
504
|
+
...options.headers,
|
|
505
|
+
};
|
|
506
|
+
const needsSerialization = typeof runServiceCommandRequest !== "string" ||
|
|
507
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
508
|
+
localVarRequestOptions.data = needsSerialization
|
|
509
|
+
? JSON.stringify(runServiceCommandRequest !== undefined ? runServiceCommandRequest : {})
|
|
510
|
+
: runServiceCommandRequest || "";
|
|
511
|
+
return {
|
|
512
|
+
url: toPathString(localVarUrlObj),
|
|
513
|
+
options: localVarRequestOptions,
|
|
514
|
+
};
|
|
515
|
+
}
|
|
516
|
+
// AILakeApi Api FP
|
|
517
|
+
/**
|
|
518
|
+
* (BETA) Creates a pipe-backed OLAP table in the given AI Lake database instance. Infers schema from parquet files. Returns an operation-id header the client can use to poll for progress.
|
|
519
|
+
* @summary (BETA) Create a new AI Lake pipe table
|
|
520
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
521
|
+
* @param {string} basePath Base path.
|
|
522
|
+
* @param {AILakeApiCreateAiLakePipeTableRequest} requestParameters Request parameters.
|
|
523
|
+
* @param {*} [options] Override http request option.
|
|
524
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
525
|
+
* @throws {RequiredError}
|
|
526
|
+
*/
|
|
527
|
+
export async function AILakeApi_CreateAiLakePipeTable(axios, basePath, requestParameters, options, configuration) {
|
|
528
|
+
const localVarAxiosArgs = await AILakeApiAxiosParamCreator_CreateAiLakePipeTable(requestParameters.instanceId, requestParameters.createPipeTableRequest, requestParameters.operationId, options || {}, configuration);
|
|
529
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
530
|
+
}
|
|
531
|
+
// AILakeApi Api FP
|
|
532
|
+
/**
|
|
533
|
+
* (BETA) Drops the pipe and OLAP table and removes the record. Returns an operation-id header the client can use to poll for progress.
|
|
534
|
+
* @summary (BETA) Delete an AI Lake pipe table
|
|
535
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
536
|
+
* @param {string} basePath Base path.
|
|
537
|
+
* @param {AILakeApiDeleteAiLakePipeTableRequest} requestParameters Request parameters.
|
|
538
|
+
* @param {*} [options] Override http request option.
|
|
539
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
540
|
+
* @throws {RequiredError}
|
|
541
|
+
*/
|
|
542
|
+
export async function AILakeApi_DeleteAiLakePipeTable(axios, basePath, requestParameters, options, configuration) {
|
|
543
|
+
const localVarAxiosArgs = await AILakeApiAxiosParamCreator_DeleteAiLakePipeTable(requestParameters.instanceId, requestParameters.tableName, requestParameters.operationId, options || {}, configuration);
|
|
544
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
545
|
+
}
|
|
546
|
+
// AILakeApi Api FP
|
|
547
|
+
/**
|
|
548
|
+
* (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.
|
|
549
|
+
* @summary (BETA) Delete an existing AILake Database instance
|
|
550
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
551
|
+
* @param {string} basePath Base path.
|
|
552
|
+
* @param {AILakeApiDeprovisionAiLakeDatabaseInstanceRequest} requestParameters Request parameters.
|
|
553
|
+
* @param {*} [options] Override http request option.
|
|
554
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
555
|
+
* @throws {RequiredError}
|
|
556
|
+
*/
|
|
557
|
+
export async function AILakeApi_DeprovisionAiLakeDatabaseInstance(axios, basePath, requestParameters, options, configuration) {
|
|
558
|
+
const localVarAxiosArgs = await AILakeApiAxiosParamCreator_DeprovisionAiLakeDatabaseInstance(requestParameters.instanceId, requestParameters.operationId, options || {}, configuration);
|
|
559
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
560
|
+
}
|
|
561
|
+
// AILakeApi Api FP
|
|
562
|
+
/**
|
|
563
|
+
* (BETA) Retrieve details of the specified AI Lake database instance in the organization\'s AI Lake.
|
|
564
|
+
* @summary (BETA) Get the specified AILake Database instance
|
|
565
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
566
|
+
* @param {string} basePath Base path.
|
|
567
|
+
* @param {AILakeApiGetAiLakeDatabaseInstanceRequest} requestParameters Request parameters.
|
|
568
|
+
* @param {*} [options] Override http request option.
|
|
569
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
570
|
+
* @throws {RequiredError}
|
|
571
|
+
*/
|
|
572
|
+
export async function AILakeApi_GetAiLakeDatabaseInstance(axios, basePath, requestParameters, options, configuration) {
|
|
573
|
+
const localVarAxiosArgs = await AILakeApiAxiosParamCreator_GetAiLakeDatabaseInstance(requestParameters.instanceId, options || {}, configuration);
|
|
574
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
575
|
+
}
|
|
576
|
+
// AILakeApi Api FP
|
|
577
|
+
/**
|
|
578
|
+
* (BETA) Retrieves details of a Long Running Operation specified by the operation-id.
|
|
579
|
+
* @summary (BETA) Get Long Running Operation details
|
|
580
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
581
|
+
* @param {string} basePath Base path.
|
|
582
|
+
* @param {AILakeApiGetAiLakeOperationRequest} requestParameters Request parameters.
|
|
583
|
+
* @param {*} [options] Override http request option.
|
|
584
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
585
|
+
* @throws {RequiredError}
|
|
586
|
+
*/
|
|
587
|
+
export async function AILakeApi_GetAiLakeOperation(axios, basePath, requestParameters, options, configuration) {
|
|
588
|
+
const localVarAxiosArgs = await AILakeApiAxiosParamCreator_GetAiLakeOperation(requestParameters.operationId, options || {}, configuration);
|
|
589
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
590
|
+
}
|
|
591
|
+
// AILakeApi Api FP
|
|
592
|
+
/**
|
|
593
|
+
* (BETA) Returns full details of the specified pipe table.
|
|
594
|
+
* @summary (BETA) Get an AI Lake pipe table
|
|
595
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
596
|
+
* @param {string} basePath Base path.
|
|
597
|
+
* @param {AILakeApiGetAiLakePipeTableRequest} requestParameters Request parameters.
|
|
598
|
+
* @param {*} [options] Override http request option.
|
|
599
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
600
|
+
* @throws {RequiredError}
|
|
601
|
+
*/
|
|
602
|
+
export async function AILakeApi_GetAiLakePipeTable(axios, basePath, requestParameters, options, configuration) {
|
|
603
|
+
const localVarAxiosArgs = await AILakeApiAxiosParamCreator_GetAiLakePipeTable(requestParameters.instanceId, requestParameters.tableName, options || {}, configuration);
|
|
604
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
605
|
+
}
|
|
606
|
+
// AILakeApi Api FP
|
|
607
|
+
/**
|
|
608
|
+
* (BETA) Returns the status of a service in the organization\'s AI Lake. The status is controller-specific (e.g., available commands, readiness).
|
|
609
|
+
* @summary (BETA) Get AI Lake service status
|
|
610
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
611
|
+
* @param {string} basePath Base path.
|
|
612
|
+
* @param {AILakeApiGetAiLakeServiceStatusRequest} requestParameters Request parameters.
|
|
613
|
+
* @param {*} [options] Override http request option.
|
|
614
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
615
|
+
* @throws {RequiredError}
|
|
616
|
+
*/
|
|
617
|
+
export async function AILakeApi_GetAiLakeServiceStatus(axios, basePath, requestParameters, options, configuration) {
|
|
618
|
+
const localVarAxiosArgs = await AILakeApiAxiosParamCreator_GetAiLakeServiceStatus(requestParameters.serviceId, options || {}, configuration);
|
|
619
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
620
|
+
}
|
|
621
|
+
// AILakeApi Api FP
|
|
622
|
+
/**
|
|
623
|
+
* (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.
|
|
624
|
+
* @summary (BETA) List AI Lake Database instances
|
|
625
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
626
|
+
* @param {string} basePath Base path.
|
|
627
|
+
* @param {AILakeApiListAiLakeDatabaseInstancesRequest} requestParameters Request parameters.
|
|
628
|
+
* @param {*} [options] Override http request option.
|
|
629
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
630
|
+
* @throws {RequiredError}
|
|
631
|
+
*/
|
|
632
|
+
export async function AILakeApi_ListAiLakeDatabaseInstances(axios, basePath, requestParameters, options, configuration) {
|
|
633
|
+
const localVarAxiosArgs = await AILakeApiAxiosParamCreator_ListAiLakeDatabaseInstances(requestParameters.size, requestParameters.offset, requestParameters.metaInclude, options || {}, configuration);
|
|
634
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
635
|
+
}
|
|
636
|
+
// AILakeApi Api FP
|
|
637
|
+
/**
|
|
638
|
+
* (BETA) Lists all active pipe tables in the given AI Lake database instance.
|
|
639
|
+
* @summary (BETA) List AI Lake pipe tables
|
|
640
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
641
|
+
* @param {string} basePath Base path.
|
|
642
|
+
* @param {AILakeApiListAiLakePipeTablesRequest} requestParameters Request parameters.
|
|
643
|
+
* @param {*} [options] Override http request option.
|
|
644
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
645
|
+
* @throws {RequiredError}
|
|
646
|
+
*/
|
|
647
|
+
export async function AILakeApi_ListAiLakePipeTables(axios, basePath, requestParameters, options, configuration) {
|
|
648
|
+
const localVarAxiosArgs = await AILakeApiAxiosParamCreator_ListAiLakePipeTables(requestParameters.instanceId, options || {}, configuration);
|
|
649
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
650
|
+
}
|
|
651
|
+
// AILakeApi Api FP
|
|
652
|
+
/**
|
|
653
|
+
* (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.
|
|
654
|
+
* @summary (BETA) List AI Lake services
|
|
655
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
656
|
+
* @param {string} basePath Base path.
|
|
657
|
+
* @param {AILakeApiListAiLakeServicesRequest} requestParameters Request parameters.
|
|
658
|
+
* @param {*} [options] Override http request option.
|
|
659
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
660
|
+
* @throws {RequiredError}
|
|
661
|
+
*/
|
|
662
|
+
export async function AILakeApi_ListAiLakeServices(axios, basePath, requestParameters, options, configuration) {
|
|
663
|
+
const localVarAxiosArgs = await AILakeApiAxiosParamCreator_ListAiLakeServices(requestParameters.size, requestParameters.offset, requestParameters.metaInclude, options || {}, configuration);
|
|
664
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
665
|
+
}
|
|
666
|
+
// AILakeApi Api FP
|
|
667
|
+
/**
|
|
668
|
+
* (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.
|
|
669
|
+
* @summary (BETA) Create a new AILake Database instance
|
|
670
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
671
|
+
* @param {string} basePath Base path.
|
|
672
|
+
* @param {AILakeApiProvisionAiLakeDatabaseInstanceRequest} requestParameters Request parameters.
|
|
673
|
+
* @param {*} [options] Override http request option.
|
|
674
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
675
|
+
* @throws {RequiredError}
|
|
676
|
+
*/
|
|
677
|
+
export async function AILakeApi_ProvisionAiLakeDatabaseInstance(axios, basePath, requestParameters, options, configuration) {
|
|
678
|
+
const localVarAxiosArgs = await AILakeApiAxiosParamCreator_ProvisionAiLakeDatabaseInstance(requestParameters.provisionDatabaseInstanceRequest, requestParameters.operationId, options || {}, configuration);
|
|
679
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
680
|
+
}
|
|
681
|
+
// AILakeApi Api FP
|
|
682
|
+
/**
|
|
683
|
+
* (BETA) Runs a specific AI Lake service command.
|
|
684
|
+
* @summary (BETA) Run an AI Lake services command
|
|
685
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
686
|
+
* @param {string} basePath Base path.
|
|
687
|
+
* @param {AILakeApiRunAiLakeServiceCommandRequest} requestParameters Request parameters.
|
|
688
|
+
* @param {*} [options] Override http request option.
|
|
689
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
690
|
+
* @throws {RequiredError}
|
|
691
|
+
*/
|
|
692
|
+
export async function AILakeApi_RunAiLakeServiceCommand(axios, basePath, requestParameters, options, configuration) {
|
|
693
|
+
const localVarAxiosArgs = await AILakeApiAxiosParamCreator_RunAiLakeServiceCommand(requestParameters.serviceId, requestParameters.commandName, requestParameters.runServiceCommandRequest, requestParameters.operationId, options || {}, configuration);
|
|
694
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
695
|
+
}
|
|
696
|
+
/**
|
|
697
|
+
* AILakeApi - object-oriented interface
|
|
698
|
+
* @export
|
|
699
|
+
* @class AILakeApi
|
|
700
|
+
* @extends {BaseAPI}
|
|
701
|
+
*/
|
|
702
|
+
export class AILakeApi extends BaseAPI {
|
|
703
|
+
/**
|
|
704
|
+
* (BETA) Creates a pipe-backed OLAP table in the given AI Lake database instance. Infers schema from parquet files. Returns an operation-id header the client can use to poll for progress.
|
|
705
|
+
* @summary (BETA) Create a new AI Lake pipe table
|
|
706
|
+
* @param {AILakeApiCreateAiLakePipeTableRequest} requestParameters Request parameters.
|
|
707
|
+
* @param {*} [options] Override http request option.
|
|
708
|
+
* @throws {RequiredError}
|
|
709
|
+
* @memberof AILakeApi
|
|
710
|
+
*/
|
|
711
|
+
createAiLakePipeTable(requestParameters, options) {
|
|
712
|
+
return AILakeApi_CreateAiLakePipeTable(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
713
|
+
}
|
|
714
|
+
/**
|
|
715
|
+
* (BETA) Drops the pipe and OLAP table and removes the record. Returns an operation-id header the client can use to poll for progress.
|
|
716
|
+
* @summary (BETA) Delete an AI Lake pipe table
|
|
717
|
+
* @param {AILakeApiDeleteAiLakePipeTableRequest} requestParameters Request parameters.
|
|
718
|
+
* @param {*} [options] Override http request option.
|
|
719
|
+
* @throws {RequiredError}
|
|
720
|
+
* @memberof AILakeApi
|
|
721
|
+
*/
|
|
722
|
+
deleteAiLakePipeTable(requestParameters, options) {
|
|
723
|
+
return AILakeApi_DeleteAiLakePipeTable(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
724
|
+
}
|
|
725
|
+
/**
|
|
726
|
+
* (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.
|
|
727
|
+
* @summary (BETA) Delete an existing AILake Database instance
|
|
728
|
+
* @param {AILakeApiDeprovisionAiLakeDatabaseInstanceRequest} requestParameters Request parameters.
|
|
729
|
+
* @param {*} [options] Override http request option.
|
|
730
|
+
* @throws {RequiredError}
|
|
731
|
+
* @memberof AILakeApi
|
|
732
|
+
*/
|
|
733
|
+
deprovisionAiLakeDatabaseInstance(requestParameters, options) {
|
|
734
|
+
return AILakeApi_DeprovisionAiLakeDatabaseInstance(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
735
|
+
}
|
|
736
|
+
/**
|
|
737
|
+
* (BETA) Retrieve details of the specified AI Lake database instance in the organization\'s AI Lake.
|
|
738
|
+
* @summary (BETA) Get the specified AILake Database instance
|
|
739
|
+
* @param {AILakeApiGetAiLakeDatabaseInstanceRequest} requestParameters Request parameters.
|
|
740
|
+
* @param {*} [options] Override http request option.
|
|
741
|
+
* @throws {RequiredError}
|
|
742
|
+
* @memberof AILakeApi
|
|
743
|
+
*/
|
|
744
|
+
getAiLakeDatabaseInstance(requestParameters, options) {
|
|
745
|
+
return AILakeApi_GetAiLakeDatabaseInstance(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
746
|
+
}
|
|
747
|
+
/**
|
|
748
|
+
* (BETA) Retrieves details of a Long Running Operation specified by the operation-id.
|
|
749
|
+
* @summary (BETA) Get Long Running Operation details
|
|
750
|
+
* @param {AILakeApiGetAiLakeOperationRequest} requestParameters Request parameters.
|
|
751
|
+
* @param {*} [options] Override http request option.
|
|
752
|
+
* @throws {RequiredError}
|
|
753
|
+
* @memberof AILakeApi
|
|
754
|
+
*/
|
|
755
|
+
getAiLakeOperation(requestParameters, options) {
|
|
756
|
+
return AILakeApi_GetAiLakeOperation(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
757
|
+
}
|
|
758
|
+
/**
|
|
759
|
+
* (BETA) Returns full details of the specified pipe table.
|
|
760
|
+
* @summary (BETA) Get an AI Lake pipe table
|
|
761
|
+
* @param {AILakeApiGetAiLakePipeTableRequest} requestParameters Request parameters.
|
|
762
|
+
* @param {*} [options] Override http request option.
|
|
763
|
+
* @throws {RequiredError}
|
|
764
|
+
* @memberof AILakeApi
|
|
765
|
+
*/
|
|
766
|
+
getAiLakePipeTable(requestParameters, options) {
|
|
767
|
+
return AILakeApi_GetAiLakePipeTable(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
768
|
+
}
|
|
769
|
+
/**
|
|
770
|
+
* (BETA) Returns the status of a service in the organization\'s AI Lake. The status is controller-specific (e.g., available commands, readiness).
|
|
771
|
+
* @summary (BETA) Get AI Lake service status
|
|
772
|
+
* @param {AILakeApiGetAiLakeServiceStatusRequest} requestParameters Request parameters.
|
|
773
|
+
* @param {*} [options] Override http request option.
|
|
774
|
+
* @throws {RequiredError}
|
|
775
|
+
* @memberof AILakeApi
|
|
776
|
+
*/
|
|
777
|
+
getAiLakeServiceStatus(requestParameters, options) {
|
|
778
|
+
return AILakeApi_GetAiLakeServiceStatus(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
779
|
+
}
|
|
780
|
+
/**
|
|
781
|
+
* (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.
|
|
782
|
+
* @summary (BETA) List AI Lake Database instances
|
|
783
|
+
* @param {AILakeApiListAiLakeDatabaseInstancesRequest} requestParameters Request parameters.
|
|
784
|
+
* @param {*} [options] Override http request option.
|
|
785
|
+
* @throws {RequiredError}
|
|
786
|
+
* @memberof AILakeApi
|
|
787
|
+
*/
|
|
788
|
+
listAiLakeDatabaseInstances(requestParameters = {}, options) {
|
|
789
|
+
return AILakeApi_ListAiLakeDatabaseInstances(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
790
|
+
}
|
|
791
|
+
/**
|
|
792
|
+
* (BETA) Lists all active pipe tables in the given AI Lake database instance.
|
|
793
|
+
* @summary (BETA) List AI Lake pipe tables
|
|
794
|
+
* @param {AILakeApiListAiLakePipeTablesRequest} requestParameters Request parameters.
|
|
795
|
+
* @param {*} [options] Override http request option.
|
|
796
|
+
* @throws {RequiredError}
|
|
797
|
+
* @memberof AILakeApi
|
|
798
|
+
*/
|
|
799
|
+
listAiLakePipeTables(requestParameters, options) {
|
|
800
|
+
return AILakeApi_ListAiLakePipeTables(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
801
|
+
}
|
|
802
|
+
/**
|
|
803
|
+
* (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.
|
|
804
|
+
* @summary (BETA) List AI Lake services
|
|
805
|
+
* @param {AILakeApiListAiLakeServicesRequest} requestParameters Request parameters.
|
|
806
|
+
* @param {*} [options] Override http request option.
|
|
807
|
+
* @throws {RequiredError}
|
|
808
|
+
* @memberof AILakeApi
|
|
809
|
+
*/
|
|
810
|
+
listAiLakeServices(requestParameters = {}, options) {
|
|
811
|
+
return AILakeApi_ListAiLakeServices(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
812
|
+
}
|
|
813
|
+
/**
|
|
814
|
+
* (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.
|
|
815
|
+
* @summary (BETA) Create a new AILake Database instance
|
|
816
|
+
* @param {AILakeApiProvisionAiLakeDatabaseInstanceRequest} requestParameters Request parameters.
|
|
817
|
+
* @param {*} [options] Override http request option.
|
|
818
|
+
* @throws {RequiredError}
|
|
819
|
+
* @memberof AILakeApi
|
|
820
|
+
*/
|
|
821
|
+
provisionAiLakeDatabaseInstance(requestParameters, options) {
|
|
822
|
+
return AILakeApi_ProvisionAiLakeDatabaseInstance(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
823
|
+
}
|
|
824
|
+
/**
|
|
825
|
+
* (BETA) Runs a specific AI Lake service command.
|
|
826
|
+
* @summary (BETA) Run an AI Lake services command
|
|
827
|
+
* @param {AILakeApiRunAiLakeServiceCommandRequest} requestParameters Request parameters.
|
|
828
|
+
* @param {*} [options] Override http request option.
|
|
829
|
+
* @throws {RequiredError}
|
|
830
|
+
* @memberof AILakeApi
|
|
831
|
+
*/
|
|
832
|
+
runAiLakeServiceCommand(requestParameters, options) {
|
|
833
|
+
return AILakeApi_RunAiLakeServiceCommand(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
834
|
+
}
|
|
835
|
+
}
|
|
836
|
+
// AILakeDatabasesApi FP - AILakeDatabasesApiAxiosParamCreator
|
|
837
|
+
/**
|
|
838
|
+
* (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.
|
|
839
|
+
* @summary (BETA) Delete an existing AILake Database instance
|
|
840
|
+
* @param {string} instanceId Database instance identifier. Accepts the database name (preferred) or UUID.
|
|
841
|
+
* @param {string} [operationId]
|
|
842
|
+
* @param {*} [options] Override http request option.
|
|
843
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
844
|
+
* @throws {RequiredError}
|
|
845
|
+
*/
|
|
846
|
+
export async function AILakeDatabasesApiAxiosParamCreator_DeprovisionAiLakeDatabaseInstance(instanceId, operationId, options = {}, configuration) {
|
|
847
|
+
// verify required parameter 'instanceId' is not null or undefined
|
|
848
|
+
assertParamExists('deprovisionAiLakeDatabaseInstance', 'instanceId', instanceId);
|
|
849
|
+
const localVarPath = `/api/v1/ailake/database/instances/{instanceId}`
|
|
850
|
+
.replace(`{${"instanceId"}}`, encodeURIComponent(String(instanceId)));
|
|
851
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
852
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
853
|
+
let baseOptions;
|
|
854
|
+
if (configuration) {
|
|
855
|
+
baseOptions = configuration.baseOptions;
|
|
856
|
+
}
|
|
857
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
858
|
+
const localVarHeaderParameter = {};
|
|
859
|
+
const localVarQueryParameter = {};
|
|
860
|
+
if (operationId !== undefined && operationId !== null) {
|
|
861
|
+
localVarHeaderParameter['operation-id'] = String(operationId);
|
|
862
|
+
}
|
|
863
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
864
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
865
|
+
localVarRequestOptions.headers = {
|
|
866
|
+
...localVarHeaderParameter,
|
|
867
|
+
...headersFromBaseOptions,
|
|
868
|
+
...options.headers,
|
|
869
|
+
};
|
|
870
|
+
return {
|
|
871
|
+
url: toPathString(localVarUrlObj),
|
|
872
|
+
options: localVarRequestOptions,
|
|
873
|
+
};
|
|
874
|
+
}
|
|
875
|
+
// AILakeDatabasesApi FP - AILakeDatabasesApiAxiosParamCreator
|
|
876
|
+
/**
|
|
877
|
+
* (BETA) Retrieve details of the specified AI Lake database instance in the organization\'s AI Lake.
|
|
878
|
+
* @summary (BETA) Get the specified AILake Database instance
|
|
879
|
+
* @param {string} instanceId Database instance identifier. Accepts the database name (preferred) or UUID.
|
|
880
|
+
* @param {*} [options] Override http request option.
|
|
881
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
882
|
+
* @throws {RequiredError}
|
|
883
|
+
*/
|
|
884
|
+
export async function AILakeDatabasesApiAxiosParamCreator_GetAiLakeDatabaseInstance(instanceId, options = {}, configuration) {
|
|
885
|
+
// verify required parameter 'instanceId' is not null or undefined
|
|
886
|
+
assertParamExists('getAiLakeDatabaseInstance', 'instanceId', instanceId);
|
|
887
|
+
const localVarPath = `/api/v1/ailake/database/instances/{instanceId}`
|
|
888
|
+
.replace(`{${"instanceId"}}`, encodeURIComponent(String(instanceId)));
|
|
889
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
890
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
891
|
+
let baseOptions;
|
|
892
|
+
if (configuration) {
|
|
893
|
+
baseOptions = configuration.baseOptions;
|
|
894
|
+
}
|
|
895
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
896
|
+
const localVarHeaderParameter = {};
|
|
897
|
+
const localVarQueryParameter = {};
|
|
898
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
899
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
900
|
+
localVarRequestOptions.headers = {
|
|
901
|
+
...localVarHeaderParameter,
|
|
902
|
+
...headersFromBaseOptions,
|
|
903
|
+
...options.headers,
|
|
904
|
+
};
|
|
905
|
+
return {
|
|
906
|
+
url: toPathString(localVarUrlObj),
|
|
907
|
+
options: localVarRequestOptions,
|
|
908
|
+
};
|
|
909
|
+
}
|
|
910
|
+
// AILakeDatabasesApi FP - AILakeDatabasesApiAxiosParamCreator
|
|
911
|
+
/**
|
|
912
|
+
* (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.
|
|
913
|
+
* @summary (BETA) List AI Lake Database instances
|
|
914
|
+
* @param {number} [size]
|
|
915
|
+
* @param {number} [offset]
|
|
916
|
+
* @param {Array<string>} [metaInclude]
|
|
917
|
+
* @param {*} [options] Override http request option.
|
|
918
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
919
|
+
* @throws {RequiredError}
|
|
920
|
+
*/
|
|
921
|
+
export async function AILakeDatabasesApiAxiosParamCreator_ListAiLakeDatabaseInstances(size, offset, metaInclude, options = {}, configuration) {
|
|
922
|
+
const localVarPath = `/api/v1/ailake/database/instances`;
|
|
923
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
924
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
925
|
+
let baseOptions;
|
|
926
|
+
if (configuration) {
|
|
927
|
+
baseOptions = configuration.baseOptions;
|
|
928
|
+
}
|
|
929
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
930
|
+
const localVarHeaderParameter = {};
|
|
931
|
+
const localVarQueryParameter = {};
|
|
932
|
+
if (size !== undefined) {
|
|
933
|
+
localVarQueryParameter['size'] = size;
|
|
934
|
+
}
|
|
935
|
+
if (offset !== undefined) {
|
|
936
|
+
localVarQueryParameter['offset'] = offset;
|
|
937
|
+
}
|
|
938
|
+
if (metaInclude) {
|
|
939
|
+
localVarQueryParameter['metaInclude'] = Array.from(metaInclude);
|
|
940
|
+
}
|
|
941
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
942
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
943
|
+
localVarRequestOptions.headers = {
|
|
944
|
+
...localVarHeaderParameter,
|
|
945
|
+
...headersFromBaseOptions,
|
|
946
|
+
...options.headers,
|
|
947
|
+
};
|
|
948
|
+
return {
|
|
949
|
+
url: toPathString(localVarUrlObj),
|
|
950
|
+
options: localVarRequestOptions,
|
|
951
|
+
};
|
|
952
|
+
}
|
|
953
|
+
// AILakeDatabasesApi FP - AILakeDatabasesApiAxiosParamCreator
|
|
954
|
+
/**
|
|
955
|
+
* (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.
|
|
956
|
+
* @summary (BETA) Create a new AILake Database instance
|
|
957
|
+
* @param {ProvisionDatabaseInstanceRequest} provisionDatabaseInstanceRequest
|
|
958
|
+
* @param {string} [operationId]
|
|
959
|
+
* @param {*} [options] Override http request option.
|
|
960
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
961
|
+
* @throws {RequiredError}
|
|
962
|
+
*/
|
|
963
|
+
export async function AILakeDatabasesApiAxiosParamCreator_ProvisionAiLakeDatabaseInstance(provisionDatabaseInstanceRequest, operationId, options = {}, configuration) {
|
|
964
|
+
// verify required parameter 'provisionDatabaseInstanceRequest' is not null or undefined
|
|
965
|
+
assertParamExists('provisionAiLakeDatabaseInstance', 'provisionDatabaseInstanceRequest', provisionDatabaseInstanceRequest);
|
|
966
|
+
const localVarPath = `/api/v1/ailake/database/instances`;
|
|
967
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
968
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
969
|
+
let baseOptions;
|
|
970
|
+
if (configuration) {
|
|
971
|
+
baseOptions = configuration.baseOptions;
|
|
972
|
+
}
|
|
973
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
974
|
+
const localVarHeaderParameter = {};
|
|
975
|
+
const localVarQueryParameter = {};
|
|
976
|
+
if (operationId !== undefined && operationId !== null) {
|
|
977
|
+
localVarHeaderParameter['operation-id'] = String(operationId);
|
|
978
|
+
}
|
|
979
|
+
const consumes = [
|
|
980
|
+
'application/json'
|
|
981
|
+
];
|
|
982
|
+
// use application/json if present, otherwise fallback to the first one
|
|
983
|
+
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
984
|
+
? 'application/json'
|
|
985
|
+
: consumes[0];
|
|
986
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
987
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
988
|
+
localVarRequestOptions.headers = {
|
|
989
|
+
...localVarHeaderParameter,
|
|
990
|
+
...headersFromBaseOptions,
|
|
991
|
+
...options.headers,
|
|
992
|
+
};
|
|
993
|
+
const needsSerialization = typeof provisionDatabaseInstanceRequest !== "string" ||
|
|
994
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
995
|
+
localVarRequestOptions.data = needsSerialization
|
|
996
|
+
? JSON.stringify(provisionDatabaseInstanceRequest !== undefined ? provisionDatabaseInstanceRequest : {})
|
|
997
|
+
: provisionDatabaseInstanceRequest || "";
|
|
998
|
+
return {
|
|
999
|
+
url: toPathString(localVarUrlObj),
|
|
1000
|
+
options: localVarRequestOptions,
|
|
1001
|
+
};
|
|
1002
|
+
}
|
|
1003
|
+
// AILakeDatabasesApi Api FP
|
|
1004
|
+
/**
|
|
1005
|
+
* (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.
|
|
1006
|
+
* @summary (BETA) Delete an existing AILake Database instance
|
|
1007
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
1008
|
+
* @param {string} basePath Base path.
|
|
1009
|
+
* @param {AILakeDatabasesApiDeprovisionAiLakeDatabaseInstanceRequest} requestParameters Request parameters.
|
|
1010
|
+
* @param {*} [options] Override http request option.
|
|
1011
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
1012
|
+
* @throws {RequiredError}
|
|
1013
|
+
*/
|
|
1014
|
+
export async function AILakeDatabasesApi_DeprovisionAiLakeDatabaseInstance(axios, basePath, requestParameters, options, configuration) {
|
|
1015
|
+
const localVarAxiosArgs = await AILakeDatabasesApiAxiosParamCreator_DeprovisionAiLakeDatabaseInstance(requestParameters.instanceId, requestParameters.operationId, options || {}, configuration);
|
|
1016
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
1017
|
+
}
|
|
1018
|
+
// AILakeDatabasesApi Api FP
|
|
1019
|
+
/**
|
|
1020
|
+
* (BETA) Retrieve details of the specified AI Lake database instance in the organization\'s AI Lake.
|
|
1021
|
+
* @summary (BETA) Get the specified AILake Database instance
|
|
1022
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
1023
|
+
* @param {string} basePath Base path.
|
|
1024
|
+
* @param {AILakeDatabasesApiGetAiLakeDatabaseInstanceRequest} requestParameters Request parameters.
|
|
1025
|
+
* @param {*} [options] Override http request option.
|
|
1026
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
1027
|
+
* @throws {RequiredError}
|
|
1028
|
+
*/
|
|
1029
|
+
export async function AILakeDatabasesApi_GetAiLakeDatabaseInstance(axios, basePath, requestParameters, options, configuration) {
|
|
1030
|
+
const localVarAxiosArgs = await AILakeDatabasesApiAxiosParamCreator_GetAiLakeDatabaseInstance(requestParameters.instanceId, options || {}, configuration);
|
|
1031
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
1032
|
+
}
|
|
1033
|
+
// AILakeDatabasesApi Api FP
|
|
1034
|
+
/**
|
|
1035
|
+
* (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.
|
|
1036
|
+
* @summary (BETA) List AI Lake Database instances
|
|
1037
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
1038
|
+
* @param {string} basePath Base path.
|
|
1039
|
+
* @param {AILakeDatabasesApiListAiLakeDatabaseInstancesRequest} requestParameters Request parameters.
|
|
1040
|
+
* @param {*} [options] Override http request option.
|
|
1041
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
1042
|
+
* @throws {RequiredError}
|
|
1043
|
+
*/
|
|
1044
|
+
export async function AILakeDatabasesApi_ListAiLakeDatabaseInstances(axios, basePath, requestParameters, options, configuration) {
|
|
1045
|
+
const localVarAxiosArgs = await AILakeDatabasesApiAxiosParamCreator_ListAiLakeDatabaseInstances(requestParameters.size, requestParameters.offset, requestParameters.metaInclude, options || {}, configuration);
|
|
1046
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
1047
|
+
}
|
|
1048
|
+
// AILakeDatabasesApi Api FP
|
|
1049
|
+
/**
|
|
1050
|
+
* (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.
|
|
1051
|
+
* @summary (BETA) Create a new AILake Database instance
|
|
1052
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
1053
|
+
* @param {string} basePath Base path.
|
|
1054
|
+
* @param {AILakeDatabasesApiProvisionAiLakeDatabaseInstanceRequest} requestParameters Request parameters.
|
|
1055
|
+
* @param {*} [options] Override http request option.
|
|
1056
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
1057
|
+
* @throws {RequiredError}
|
|
1058
|
+
*/
|
|
1059
|
+
export async function AILakeDatabasesApi_ProvisionAiLakeDatabaseInstance(axios, basePath, requestParameters, options, configuration) {
|
|
1060
|
+
const localVarAxiosArgs = await AILakeDatabasesApiAxiosParamCreator_ProvisionAiLakeDatabaseInstance(requestParameters.provisionDatabaseInstanceRequest, requestParameters.operationId, options || {}, configuration);
|
|
1061
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
1062
|
+
}
|
|
1063
|
+
/**
|
|
1064
|
+
* AILakeDatabasesApi - object-oriented interface
|
|
1065
|
+
* @export
|
|
1066
|
+
* @class AILakeDatabasesApi
|
|
1067
|
+
* @extends {BaseAPI}
|
|
1068
|
+
*/
|
|
1069
|
+
export class AILakeDatabasesApi extends BaseAPI {
|
|
1070
|
+
/**
|
|
1071
|
+
* (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.
|
|
1072
|
+
* @summary (BETA) Delete an existing AILake Database instance
|
|
1073
|
+
* @param {AILakeDatabasesApiDeprovisionAiLakeDatabaseInstanceRequest} requestParameters Request parameters.
|
|
1074
|
+
* @param {*} [options] Override http request option.
|
|
1075
|
+
* @throws {RequiredError}
|
|
1076
|
+
* @memberof AILakeDatabasesApi
|
|
1077
|
+
*/
|
|
1078
|
+
deprovisionAiLakeDatabaseInstance(requestParameters, options) {
|
|
1079
|
+
return AILakeDatabasesApi_DeprovisionAiLakeDatabaseInstance(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
1080
|
+
}
|
|
1081
|
+
/**
|
|
1082
|
+
* (BETA) Retrieve details of the specified AI Lake database instance in the organization\'s AI Lake.
|
|
1083
|
+
* @summary (BETA) Get the specified AILake Database instance
|
|
1084
|
+
* @param {AILakeDatabasesApiGetAiLakeDatabaseInstanceRequest} requestParameters Request parameters.
|
|
1085
|
+
* @param {*} [options] Override http request option.
|
|
1086
|
+
* @throws {RequiredError}
|
|
1087
|
+
* @memberof AILakeDatabasesApi
|
|
1088
|
+
*/
|
|
1089
|
+
getAiLakeDatabaseInstance(requestParameters, options) {
|
|
1090
|
+
return AILakeDatabasesApi_GetAiLakeDatabaseInstance(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
1091
|
+
}
|
|
1092
|
+
/**
|
|
1093
|
+
* (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.
|
|
1094
|
+
* @summary (BETA) List AI Lake Database instances
|
|
1095
|
+
* @param {AILakeDatabasesApiListAiLakeDatabaseInstancesRequest} requestParameters Request parameters.
|
|
1096
|
+
* @param {*} [options] Override http request option.
|
|
1097
|
+
* @throws {RequiredError}
|
|
1098
|
+
* @memberof AILakeDatabasesApi
|
|
1099
|
+
*/
|
|
1100
|
+
listAiLakeDatabaseInstances(requestParameters = {}, options) {
|
|
1101
|
+
return AILakeDatabasesApi_ListAiLakeDatabaseInstances(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
1102
|
+
}
|
|
1103
|
+
/**
|
|
1104
|
+
* (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.
|
|
1105
|
+
* @summary (BETA) Create a new AILake Database instance
|
|
1106
|
+
* @param {AILakeDatabasesApiProvisionAiLakeDatabaseInstanceRequest} requestParameters Request parameters.
|
|
1107
|
+
* @param {*} [options] Override http request option.
|
|
1108
|
+
* @throws {RequiredError}
|
|
1109
|
+
* @memberof AILakeDatabasesApi
|
|
1110
|
+
*/
|
|
1111
|
+
provisionAiLakeDatabaseInstance(requestParameters, options) {
|
|
1112
|
+
return AILakeDatabasesApi_ProvisionAiLakeDatabaseInstance(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
1113
|
+
}
|
|
1114
|
+
}
|
|
1115
|
+
// AILakePipeTablesApi FP - AILakePipeTablesApiAxiosParamCreator
|
|
1116
|
+
/**
|
|
1117
|
+
* (BETA) Creates a pipe-backed OLAP table in the given AI Lake database instance. Infers schema from parquet files. Returns an operation-id header the client can use to poll for progress.
|
|
1118
|
+
* @summary (BETA) Create a new AI Lake pipe table
|
|
1119
|
+
* @param {string} instanceId Database instance identifier. Accepts the database name (preferred) or UUID.
|
|
1120
|
+
* @param {CreatePipeTableRequest} createPipeTableRequest
|
|
1121
|
+
* @param {string} [operationId]
|
|
1122
|
+
* @param {*} [options] Override http request option.
|
|
1123
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
1124
|
+
* @throws {RequiredError}
|
|
1125
|
+
*/
|
|
1126
|
+
export async function AILakePipeTablesApiAxiosParamCreator_CreateAiLakePipeTable(instanceId, createPipeTableRequest, operationId, options = {}, configuration) {
|
|
1127
|
+
// verify required parameter 'instanceId' is not null or undefined
|
|
1128
|
+
assertParamExists('createAiLakePipeTable', 'instanceId', instanceId);
|
|
1129
|
+
// verify required parameter 'createPipeTableRequest' is not null or undefined
|
|
1130
|
+
assertParamExists('createAiLakePipeTable', 'createPipeTableRequest', createPipeTableRequest);
|
|
1131
|
+
const localVarPath = `/api/v1/ailake/database/instances/{instanceId}/pipeTables`
|
|
1132
|
+
.replace(`{${"instanceId"}}`, encodeURIComponent(String(instanceId)));
|
|
1133
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1134
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1135
|
+
let baseOptions;
|
|
1136
|
+
if (configuration) {
|
|
1137
|
+
baseOptions = configuration.baseOptions;
|
|
1138
|
+
}
|
|
1139
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
1140
|
+
const localVarHeaderParameter = {};
|
|
1141
|
+
const localVarQueryParameter = {};
|
|
1142
|
+
if (operationId !== undefined && operationId !== null) {
|
|
1143
|
+
localVarHeaderParameter['operation-id'] = String(operationId);
|
|
1144
|
+
}
|
|
1145
|
+
const consumes = [
|
|
1146
|
+
'application/json'
|
|
1147
|
+
];
|
|
1148
|
+
// use application/json if present, otherwise fallback to the first one
|
|
1149
|
+
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
1150
|
+
? 'application/json'
|
|
1151
|
+
: consumes[0];
|
|
1152
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1153
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
1154
|
+
localVarRequestOptions.headers = {
|
|
1155
|
+
...localVarHeaderParameter,
|
|
1156
|
+
...headersFromBaseOptions,
|
|
1157
|
+
...options.headers,
|
|
1158
|
+
};
|
|
1159
|
+
const needsSerialization = typeof createPipeTableRequest !== "string" ||
|
|
1160
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
1161
|
+
localVarRequestOptions.data = needsSerialization
|
|
1162
|
+
? JSON.stringify(createPipeTableRequest !== undefined ? createPipeTableRequest : {})
|
|
1163
|
+
: createPipeTableRequest || "";
|
|
1164
|
+
return {
|
|
1165
|
+
url: toPathString(localVarUrlObj),
|
|
1166
|
+
options: localVarRequestOptions,
|
|
1167
|
+
};
|
|
1168
|
+
}
|
|
1169
|
+
// AILakePipeTablesApi FP - AILakePipeTablesApiAxiosParamCreator
|
|
1170
|
+
/**
|
|
1171
|
+
* (BETA) Drops the pipe and OLAP table and removes the record. Returns an operation-id header the client can use to poll for progress.
|
|
1172
|
+
* @summary (BETA) Delete an AI Lake pipe table
|
|
1173
|
+
* @param {string} instanceId Database instance identifier. Accepts the database name (preferred) or UUID.
|
|
1174
|
+
* @param {string} tableName Pipe table name.
|
|
1175
|
+
* @param {string} [operationId]
|
|
1176
|
+
* @param {*} [options] Override http request option.
|
|
1177
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
1178
|
+
* @throws {RequiredError}
|
|
1179
|
+
*/
|
|
1180
|
+
export async function AILakePipeTablesApiAxiosParamCreator_DeleteAiLakePipeTable(instanceId, tableName, operationId, options = {}, configuration) {
|
|
1181
|
+
// verify required parameter 'instanceId' is not null or undefined
|
|
1182
|
+
assertParamExists('deleteAiLakePipeTable', 'instanceId', instanceId);
|
|
1183
|
+
// verify required parameter 'tableName' is not null or undefined
|
|
1184
|
+
assertParamExists('deleteAiLakePipeTable', 'tableName', tableName);
|
|
1185
|
+
const localVarPath = `/api/v1/ailake/database/instances/{instanceId}/pipeTables/{tableName}`
|
|
1186
|
+
.replace(`{${"instanceId"}}`, encodeURIComponent(String(instanceId)))
|
|
1187
|
+
.replace(`{${"tableName"}}`, encodeURIComponent(String(tableName)));
|
|
1188
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1189
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1190
|
+
let baseOptions;
|
|
1191
|
+
if (configuration) {
|
|
1192
|
+
baseOptions = configuration.baseOptions;
|
|
1193
|
+
}
|
|
1194
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
1195
|
+
const localVarHeaderParameter = {};
|
|
1196
|
+
const localVarQueryParameter = {};
|
|
1197
|
+
if (operationId !== undefined && operationId !== null) {
|
|
1198
|
+
localVarHeaderParameter['operation-id'] = String(operationId);
|
|
1199
|
+
}
|
|
1200
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1201
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
1202
|
+
localVarRequestOptions.headers = {
|
|
1203
|
+
...localVarHeaderParameter,
|
|
1204
|
+
...headersFromBaseOptions,
|
|
1205
|
+
...options.headers,
|
|
1206
|
+
};
|
|
1207
|
+
return {
|
|
1208
|
+
url: toPathString(localVarUrlObj),
|
|
1209
|
+
options: localVarRequestOptions,
|
|
1210
|
+
};
|
|
1211
|
+
}
|
|
1212
|
+
// AILakePipeTablesApi FP - AILakePipeTablesApiAxiosParamCreator
|
|
1213
|
+
/**
|
|
1214
|
+
* (BETA) Returns full details of the specified pipe table.
|
|
1215
|
+
* @summary (BETA) Get an AI Lake pipe table
|
|
1216
|
+
* @param {string} instanceId Database instance identifier. Accepts the database name (preferred) or UUID.
|
|
1217
|
+
* @param {string} tableName Pipe table name.
|
|
1218
|
+
* @param {*} [options] Override http request option.
|
|
1219
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
1220
|
+
* @throws {RequiredError}
|
|
1221
|
+
*/
|
|
1222
|
+
export async function AILakePipeTablesApiAxiosParamCreator_GetAiLakePipeTable(instanceId, tableName, options = {}, configuration) {
|
|
1223
|
+
// verify required parameter 'instanceId' is not null or undefined
|
|
1224
|
+
assertParamExists('getAiLakePipeTable', 'instanceId', instanceId);
|
|
1225
|
+
// verify required parameter 'tableName' is not null or undefined
|
|
1226
|
+
assertParamExists('getAiLakePipeTable', 'tableName', tableName);
|
|
1227
|
+
const localVarPath = `/api/v1/ailake/database/instances/{instanceId}/pipeTables/{tableName}`
|
|
1228
|
+
.replace(`{${"instanceId"}}`, encodeURIComponent(String(instanceId)))
|
|
1229
|
+
.replace(`{${"tableName"}}`, encodeURIComponent(String(tableName)));
|
|
1230
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1231
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1232
|
+
let baseOptions;
|
|
1233
|
+
if (configuration) {
|
|
1234
|
+
baseOptions = configuration.baseOptions;
|
|
1235
|
+
}
|
|
1236
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1237
|
+
const localVarHeaderParameter = {};
|
|
1238
|
+
const localVarQueryParameter = {};
|
|
1239
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1240
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
1241
|
+
localVarRequestOptions.headers = {
|
|
1242
|
+
...localVarHeaderParameter,
|
|
1243
|
+
...headersFromBaseOptions,
|
|
1244
|
+
...options.headers,
|
|
1245
|
+
};
|
|
1246
|
+
return {
|
|
1247
|
+
url: toPathString(localVarUrlObj),
|
|
1248
|
+
options: localVarRequestOptions,
|
|
1249
|
+
};
|
|
1250
|
+
}
|
|
1251
|
+
// AILakePipeTablesApi FP - AILakePipeTablesApiAxiosParamCreator
|
|
1252
|
+
/**
|
|
1253
|
+
* (BETA) Lists all active pipe tables in the given AI Lake database instance.
|
|
1254
|
+
* @summary (BETA) List AI Lake pipe tables
|
|
1255
|
+
* @param {string} instanceId Database instance identifier. Accepts the database name (preferred) or UUID.
|
|
1256
|
+
* @param {*} [options] Override http request option.
|
|
1257
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
1258
|
+
* @throws {RequiredError}
|
|
1259
|
+
*/
|
|
1260
|
+
export async function AILakePipeTablesApiAxiosParamCreator_ListAiLakePipeTables(instanceId, options = {}, configuration) {
|
|
1261
|
+
// verify required parameter 'instanceId' is not null or undefined
|
|
1262
|
+
assertParamExists('listAiLakePipeTables', 'instanceId', instanceId);
|
|
1263
|
+
const localVarPath = `/api/v1/ailake/database/instances/{instanceId}/pipeTables`
|
|
1264
|
+
.replace(`{${"instanceId"}}`, encodeURIComponent(String(instanceId)));
|
|
1265
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1266
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1267
|
+
let baseOptions;
|
|
1268
|
+
if (configuration) {
|
|
1269
|
+
baseOptions = configuration.baseOptions;
|
|
1270
|
+
}
|
|
1271
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1272
|
+
const localVarHeaderParameter = {};
|
|
1273
|
+
const localVarQueryParameter = {};
|
|
1274
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1275
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
1276
|
+
localVarRequestOptions.headers = {
|
|
1277
|
+
...localVarHeaderParameter,
|
|
1278
|
+
...headersFromBaseOptions,
|
|
1279
|
+
...options.headers,
|
|
1280
|
+
};
|
|
1281
|
+
return {
|
|
1282
|
+
url: toPathString(localVarUrlObj),
|
|
1283
|
+
options: localVarRequestOptions,
|
|
1284
|
+
};
|
|
1285
|
+
}
|
|
1286
|
+
// AILakePipeTablesApi Api FP
|
|
1287
|
+
/**
|
|
1288
|
+
* (BETA) Creates a pipe-backed OLAP table in the given AI Lake database instance. Infers schema from parquet files. Returns an operation-id header the client can use to poll for progress.
|
|
1289
|
+
* @summary (BETA) Create a new AI Lake pipe table
|
|
1290
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
1291
|
+
* @param {string} basePath Base path.
|
|
1292
|
+
* @param {AILakePipeTablesApiCreateAiLakePipeTableRequest} requestParameters Request parameters.
|
|
1293
|
+
* @param {*} [options] Override http request option.
|
|
1294
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
1295
|
+
* @throws {RequiredError}
|
|
1296
|
+
*/
|
|
1297
|
+
export async function AILakePipeTablesApi_CreateAiLakePipeTable(axios, basePath, requestParameters, options, configuration) {
|
|
1298
|
+
const localVarAxiosArgs = await AILakePipeTablesApiAxiosParamCreator_CreateAiLakePipeTable(requestParameters.instanceId, requestParameters.createPipeTableRequest, requestParameters.operationId, options || {}, configuration);
|
|
1299
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
1300
|
+
}
|
|
1301
|
+
// AILakePipeTablesApi Api FP
|
|
1302
|
+
/**
|
|
1303
|
+
* (BETA) Drops the pipe and OLAP table and removes the record. Returns an operation-id header the client can use to poll for progress.
|
|
1304
|
+
* @summary (BETA) Delete an AI Lake pipe table
|
|
1305
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
1306
|
+
* @param {string} basePath Base path.
|
|
1307
|
+
* @param {AILakePipeTablesApiDeleteAiLakePipeTableRequest} requestParameters Request parameters.
|
|
1308
|
+
* @param {*} [options] Override http request option.
|
|
1309
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
1310
|
+
* @throws {RequiredError}
|
|
1311
|
+
*/
|
|
1312
|
+
export async function AILakePipeTablesApi_DeleteAiLakePipeTable(axios, basePath, requestParameters, options, configuration) {
|
|
1313
|
+
const localVarAxiosArgs = await AILakePipeTablesApiAxiosParamCreator_DeleteAiLakePipeTable(requestParameters.instanceId, requestParameters.tableName, requestParameters.operationId, options || {}, configuration);
|
|
1314
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
1315
|
+
}
|
|
1316
|
+
// AILakePipeTablesApi Api FP
|
|
1317
|
+
/**
|
|
1318
|
+
* (BETA) Returns full details of the specified pipe table.
|
|
1319
|
+
* @summary (BETA) Get an AI Lake pipe table
|
|
1320
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
1321
|
+
* @param {string} basePath Base path.
|
|
1322
|
+
* @param {AILakePipeTablesApiGetAiLakePipeTableRequest} requestParameters Request parameters.
|
|
1323
|
+
* @param {*} [options] Override http request option.
|
|
1324
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
1325
|
+
* @throws {RequiredError}
|
|
1326
|
+
*/
|
|
1327
|
+
export async function AILakePipeTablesApi_GetAiLakePipeTable(axios, basePath, requestParameters, options, configuration) {
|
|
1328
|
+
const localVarAxiosArgs = await AILakePipeTablesApiAxiosParamCreator_GetAiLakePipeTable(requestParameters.instanceId, requestParameters.tableName, options || {}, configuration);
|
|
1329
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
1330
|
+
}
|
|
1331
|
+
// AILakePipeTablesApi Api FP
|
|
1332
|
+
/**
|
|
1333
|
+
* (BETA) Lists all active pipe tables in the given AI Lake database instance.
|
|
1334
|
+
* @summary (BETA) List AI Lake pipe tables
|
|
1335
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
1336
|
+
* @param {string} basePath Base path.
|
|
1337
|
+
* @param {AILakePipeTablesApiListAiLakePipeTablesRequest} requestParameters Request parameters.
|
|
1338
|
+
* @param {*} [options] Override http request option.
|
|
1339
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
1340
|
+
* @throws {RequiredError}
|
|
1341
|
+
*/
|
|
1342
|
+
export async function AILakePipeTablesApi_ListAiLakePipeTables(axios, basePath, requestParameters, options, configuration) {
|
|
1343
|
+
const localVarAxiosArgs = await AILakePipeTablesApiAxiosParamCreator_ListAiLakePipeTables(requestParameters.instanceId, options || {}, configuration);
|
|
1344
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
1345
|
+
}
|
|
1346
|
+
/**
|
|
1347
|
+
* AILakePipeTablesApi - object-oriented interface
|
|
1348
|
+
* @export
|
|
1349
|
+
* @class AILakePipeTablesApi
|
|
1350
|
+
* @extends {BaseAPI}
|
|
1351
|
+
*/
|
|
1352
|
+
export class AILakePipeTablesApi extends BaseAPI {
|
|
1353
|
+
/**
|
|
1354
|
+
* (BETA) Creates a pipe-backed OLAP table in the given AI Lake database instance. Infers schema from parquet files. Returns an operation-id header the client can use to poll for progress.
|
|
1355
|
+
* @summary (BETA) Create a new AI Lake pipe table
|
|
1356
|
+
* @param {AILakePipeTablesApiCreateAiLakePipeTableRequest} requestParameters Request parameters.
|
|
1357
|
+
* @param {*} [options] Override http request option.
|
|
1358
|
+
* @throws {RequiredError}
|
|
1359
|
+
* @memberof AILakePipeTablesApi
|
|
1360
|
+
*/
|
|
1361
|
+
createAiLakePipeTable(requestParameters, options) {
|
|
1362
|
+
return AILakePipeTablesApi_CreateAiLakePipeTable(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
1363
|
+
}
|
|
1364
|
+
/**
|
|
1365
|
+
* (BETA) Drops the pipe and OLAP table and removes the record. Returns an operation-id header the client can use to poll for progress.
|
|
1366
|
+
* @summary (BETA) Delete an AI Lake pipe table
|
|
1367
|
+
* @param {AILakePipeTablesApiDeleteAiLakePipeTableRequest} requestParameters Request parameters.
|
|
1368
|
+
* @param {*} [options] Override http request option.
|
|
1369
|
+
* @throws {RequiredError}
|
|
1370
|
+
* @memberof AILakePipeTablesApi
|
|
1371
|
+
*/
|
|
1372
|
+
deleteAiLakePipeTable(requestParameters, options) {
|
|
1373
|
+
return AILakePipeTablesApi_DeleteAiLakePipeTable(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
1374
|
+
}
|
|
1375
|
+
/**
|
|
1376
|
+
* (BETA) Returns full details of the specified pipe table.
|
|
1377
|
+
* @summary (BETA) Get an AI Lake pipe table
|
|
1378
|
+
* @param {AILakePipeTablesApiGetAiLakePipeTableRequest} requestParameters Request parameters.
|
|
1379
|
+
* @param {*} [options] Override http request option.
|
|
1380
|
+
* @throws {RequiredError}
|
|
1381
|
+
* @memberof AILakePipeTablesApi
|
|
1382
|
+
*/
|
|
1383
|
+
getAiLakePipeTable(requestParameters, options) {
|
|
1384
|
+
return AILakePipeTablesApi_GetAiLakePipeTable(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
1385
|
+
}
|
|
1386
|
+
/**
|
|
1387
|
+
* (BETA) Lists all active pipe tables in the given AI Lake database instance.
|
|
1388
|
+
* @summary (BETA) List AI Lake pipe tables
|
|
1389
|
+
* @param {AILakePipeTablesApiListAiLakePipeTablesRequest} requestParameters Request parameters.
|
|
1390
|
+
* @param {*} [options] Override http request option.
|
|
1391
|
+
* @throws {RequiredError}
|
|
1392
|
+
* @memberof AILakePipeTablesApi
|
|
1393
|
+
*/
|
|
1394
|
+
listAiLakePipeTables(requestParameters, options) {
|
|
1395
|
+
return AILakePipeTablesApi_ListAiLakePipeTables(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
1396
|
+
}
|
|
1397
|
+
}
|
|
1398
|
+
// AILakeServicesOperationsApi FP - AILakeServicesOperationsApiAxiosParamCreator
|
|
1399
|
+
/**
|
|
1400
|
+
* (BETA) Retrieves details of a Long Running Operation specified by the operation-id.
|
|
1401
|
+
* @summary (BETA) Get Long Running Operation details
|
|
1402
|
+
* @param {string} operationId Operation ID
|
|
1403
|
+
* @param {*} [options] Override http request option.
|
|
1404
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
1405
|
+
* @throws {RequiredError}
|
|
1406
|
+
*/
|
|
1407
|
+
export async function AILakeServicesOperationsApiAxiosParamCreator_GetAiLakeOperation(operationId, options = {}, configuration) {
|
|
1408
|
+
// verify required parameter 'operationId' is not null or undefined
|
|
1409
|
+
assertParamExists('getAiLakeOperation', 'operationId', operationId);
|
|
1410
|
+
const localVarPath = `/api/v1/ailake/operations/{operationId}`
|
|
1411
|
+
.replace(`{${"operationId"}}`, encodeURIComponent(String(operationId)));
|
|
1412
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1413
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1414
|
+
let baseOptions;
|
|
1415
|
+
if (configuration) {
|
|
1416
|
+
baseOptions = configuration.baseOptions;
|
|
1417
|
+
}
|
|
1418
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1419
|
+
const localVarHeaderParameter = {};
|
|
1420
|
+
const localVarQueryParameter = {};
|
|
1421
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1422
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
1423
|
+
localVarRequestOptions.headers = {
|
|
1424
|
+
...localVarHeaderParameter,
|
|
1425
|
+
...headersFromBaseOptions,
|
|
1426
|
+
...options.headers,
|
|
1427
|
+
};
|
|
1428
|
+
return {
|
|
1429
|
+
url: toPathString(localVarUrlObj),
|
|
1430
|
+
options: localVarRequestOptions,
|
|
1431
|
+
};
|
|
1432
|
+
}
|
|
1433
|
+
// AILakeServicesOperationsApi FP - AILakeServicesOperationsApiAxiosParamCreator
|
|
1434
|
+
/**
|
|
1435
|
+
* (BETA) Returns the status of a service in the organization\'s AI Lake. The status is controller-specific (e.g., available commands, readiness).
|
|
1436
|
+
* @summary (BETA) Get AI Lake service status
|
|
1437
|
+
* @param {string} serviceId
|
|
1438
|
+
* @param {*} [options] Override http request option.
|
|
1439
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
1440
|
+
* @throws {RequiredError}
|
|
1441
|
+
*/
|
|
1442
|
+
export async function AILakeServicesOperationsApiAxiosParamCreator_GetAiLakeServiceStatus(serviceId, options = {}, configuration) {
|
|
1443
|
+
// verify required parameter 'serviceId' is not null or undefined
|
|
1444
|
+
assertParamExists('getAiLakeServiceStatus', 'serviceId', serviceId);
|
|
1445
|
+
const localVarPath = `/api/v1/ailake/services/{serviceId}/status`
|
|
1446
|
+
.replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
|
|
1447
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1448
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1449
|
+
let baseOptions;
|
|
1450
|
+
if (configuration) {
|
|
1451
|
+
baseOptions = configuration.baseOptions;
|
|
1452
|
+
}
|
|
1453
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1454
|
+
const localVarHeaderParameter = {};
|
|
1455
|
+
const localVarQueryParameter = {};
|
|
1456
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1457
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
1458
|
+
localVarRequestOptions.headers = {
|
|
1459
|
+
...localVarHeaderParameter,
|
|
1460
|
+
...headersFromBaseOptions,
|
|
1461
|
+
...options.headers,
|
|
1462
|
+
};
|
|
1463
|
+
return {
|
|
1464
|
+
url: toPathString(localVarUrlObj),
|
|
1465
|
+
options: localVarRequestOptions,
|
|
1466
|
+
};
|
|
1467
|
+
}
|
|
1468
|
+
// AILakeServicesOperationsApi FP - AILakeServicesOperationsApiAxiosParamCreator
|
|
1469
|
+
/**
|
|
1470
|
+
* (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.
|
|
1471
|
+
* @summary (BETA) List AI Lake services
|
|
1472
|
+
* @param {number} [size]
|
|
1473
|
+
* @param {number} [offset]
|
|
1474
|
+
* @param {Array<string>} [metaInclude]
|
|
1475
|
+
* @param {*} [options] Override http request option.
|
|
1476
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
1477
|
+
* @throws {RequiredError}
|
|
1478
|
+
*/
|
|
1479
|
+
export async function AILakeServicesOperationsApiAxiosParamCreator_ListAiLakeServices(size, offset, metaInclude, options = {}, configuration) {
|
|
1480
|
+
const localVarPath = `/api/v1/ailake/services`;
|
|
1481
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1482
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1483
|
+
let baseOptions;
|
|
1484
|
+
if (configuration) {
|
|
1485
|
+
baseOptions = configuration.baseOptions;
|
|
1486
|
+
}
|
|
1487
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1488
|
+
const localVarHeaderParameter = {};
|
|
1489
|
+
const localVarQueryParameter = {};
|
|
1490
|
+
if (size !== undefined) {
|
|
1491
|
+
localVarQueryParameter['size'] = size;
|
|
1492
|
+
}
|
|
1493
|
+
if (offset !== undefined) {
|
|
1494
|
+
localVarQueryParameter['offset'] = offset;
|
|
1495
|
+
}
|
|
1496
|
+
if (metaInclude) {
|
|
1497
|
+
localVarQueryParameter['metaInclude'] = Array.from(metaInclude);
|
|
1498
|
+
}
|
|
1499
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1500
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
1501
|
+
localVarRequestOptions.headers = {
|
|
1502
|
+
...localVarHeaderParameter,
|
|
1503
|
+
...headersFromBaseOptions,
|
|
1504
|
+
...options.headers,
|
|
1505
|
+
};
|
|
1506
|
+
return {
|
|
1507
|
+
url: toPathString(localVarUrlObj),
|
|
1508
|
+
options: localVarRequestOptions,
|
|
1509
|
+
};
|
|
1510
|
+
}
|
|
1511
|
+
// AILakeServicesOperationsApi FP - AILakeServicesOperationsApiAxiosParamCreator
|
|
288
1512
|
/**
|
|
289
1513
|
* (BETA) Runs a specific AI Lake service command.
|
|
290
1514
|
* @summary (BETA) Run an AI Lake services command
|
|
@@ -296,7 +1520,7 @@ export async function AILakeApiAxiosParamCreator_ProvisionAiLakeDatabaseInstance
|
|
|
296
1520
|
* @param {Configuration} [configuration] Optional configuration.
|
|
297
1521
|
* @throws {RequiredError}
|
|
298
1522
|
*/
|
|
299
|
-
export async function
|
|
1523
|
+
export async function AILakeServicesOperationsApiAxiosParamCreator_RunAiLakeServiceCommand(serviceId, commandName, runServiceCommandRequest, operationId, options = {}, configuration) {
|
|
300
1524
|
// verify required parameter 'serviceId' is not null or undefined
|
|
301
1525
|
assertParamExists('runAiLakeServiceCommand', 'serviceId', serviceId);
|
|
302
1526
|
// verify required parameter 'commandName' is not null or undefined
|
|
@@ -342,220 +1566,116 @@ export async function AILakeApiAxiosParamCreator_RunAiLakeServiceCommand(service
|
|
|
342
1566
|
options: localVarRequestOptions,
|
|
343
1567
|
};
|
|
344
1568
|
}
|
|
345
|
-
//
|
|
346
|
-
/**
|
|
347
|
-
* (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.
|
|
348
|
-
* @summary (BETA) Delete an existing AILake Database instance
|
|
349
|
-
* @param {AxiosInstance} axios Axios instance.
|
|
350
|
-
* @param {string} basePath Base path.
|
|
351
|
-
* @param {AILakeApiDeprovisionAiLakeDatabaseInstanceRequest} requestParameters Request parameters.
|
|
352
|
-
* @param {*} [options] Override http request option.
|
|
353
|
-
* @param {Configuration} [configuration] Optional configuration.
|
|
354
|
-
* @throws {RequiredError}
|
|
355
|
-
*/
|
|
356
|
-
export async function AILakeApi_DeprovisionAiLakeDatabaseInstance(axios, basePath, requestParameters, options, configuration) {
|
|
357
|
-
const localVarAxiosArgs = await AILakeApiAxiosParamCreator_DeprovisionAiLakeDatabaseInstance(requestParameters.instanceId, requestParameters.operationId, options || {}, configuration);
|
|
358
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
359
|
-
}
|
|
360
|
-
// AILakeApi Api FP
|
|
361
|
-
/**
|
|
362
|
-
* (BETA) Retrieve details of the specified AI Lake database instance in the organization\'s AI Lake.
|
|
363
|
-
* @summary (BETA) Get the specified AILake Database instance
|
|
364
|
-
* @param {AxiosInstance} axios Axios instance.
|
|
365
|
-
* @param {string} basePath Base path.
|
|
366
|
-
* @param {AILakeApiGetAiLakeDatabaseInstanceRequest} requestParameters Request parameters.
|
|
367
|
-
* @param {*} [options] Override http request option.
|
|
368
|
-
* @param {Configuration} [configuration] Optional configuration.
|
|
369
|
-
* @throws {RequiredError}
|
|
370
|
-
*/
|
|
371
|
-
export async function AILakeApi_GetAiLakeDatabaseInstance(axios, basePath, requestParameters, options, configuration) {
|
|
372
|
-
const localVarAxiosArgs = await AILakeApiAxiosParamCreator_GetAiLakeDatabaseInstance(requestParameters.instanceId, options || {}, configuration);
|
|
373
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
374
|
-
}
|
|
375
|
-
// AILakeApi Api FP
|
|
1569
|
+
// AILakeServicesOperationsApi Api FP
|
|
376
1570
|
/**
|
|
377
1571
|
* (BETA) Retrieves details of a Long Running Operation specified by the operation-id.
|
|
378
1572
|
* @summary (BETA) Get Long Running Operation details
|
|
379
1573
|
* @param {AxiosInstance} axios Axios instance.
|
|
380
1574
|
* @param {string} basePath Base path.
|
|
381
|
-
* @param {
|
|
1575
|
+
* @param {AILakeServicesOperationsApiGetAiLakeOperationRequest} requestParameters Request parameters.
|
|
382
1576
|
* @param {*} [options] Override http request option.
|
|
383
1577
|
* @param {Configuration} [configuration] Optional configuration.
|
|
384
1578
|
* @throws {RequiredError}
|
|
385
1579
|
*/
|
|
386
|
-
export async function
|
|
387
|
-
const localVarAxiosArgs = await
|
|
1580
|
+
export async function AILakeServicesOperationsApi_GetAiLakeOperation(axios, basePath, requestParameters, options, configuration) {
|
|
1581
|
+
const localVarAxiosArgs = await AILakeServicesOperationsApiAxiosParamCreator_GetAiLakeOperation(requestParameters.operationId, options || {}, configuration);
|
|
388
1582
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
389
1583
|
}
|
|
390
|
-
//
|
|
1584
|
+
// AILakeServicesOperationsApi Api FP
|
|
391
1585
|
/**
|
|
392
1586
|
* (BETA) Returns the status of a service in the organization\'s AI Lake. The status is controller-specific (e.g., available commands, readiness).
|
|
393
1587
|
* @summary (BETA) Get AI Lake service status
|
|
394
1588
|
* @param {AxiosInstance} axios Axios instance.
|
|
395
1589
|
* @param {string} basePath Base path.
|
|
396
|
-
* @param {
|
|
397
|
-
* @param {*} [options] Override http request option.
|
|
398
|
-
* @param {Configuration} [configuration] Optional configuration.
|
|
399
|
-
* @throws {RequiredError}
|
|
400
|
-
*/
|
|
401
|
-
export async function AILakeApi_GetAiLakeServiceStatus(axios, basePath, requestParameters, options, configuration) {
|
|
402
|
-
const localVarAxiosArgs = await AILakeApiAxiosParamCreator_GetAiLakeServiceStatus(requestParameters.serviceId, options || {}, configuration);
|
|
403
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
404
|
-
}
|
|
405
|
-
// AILakeApi Api FP
|
|
406
|
-
/**
|
|
407
|
-
* (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.
|
|
408
|
-
* @summary (BETA) List AI Lake Database instances
|
|
409
|
-
* @param {AxiosInstance} axios Axios instance.
|
|
410
|
-
* @param {string} basePath Base path.
|
|
411
|
-
* @param {AILakeApiListAiLakeDatabaseInstancesRequest} requestParameters Request parameters.
|
|
1590
|
+
* @param {AILakeServicesOperationsApiGetAiLakeServiceStatusRequest} requestParameters Request parameters.
|
|
412
1591
|
* @param {*} [options] Override http request option.
|
|
413
1592
|
* @param {Configuration} [configuration] Optional configuration.
|
|
414
1593
|
* @throws {RequiredError}
|
|
415
1594
|
*/
|
|
416
|
-
export async function
|
|
417
|
-
const localVarAxiosArgs = await
|
|
1595
|
+
export async function AILakeServicesOperationsApi_GetAiLakeServiceStatus(axios, basePath, requestParameters, options, configuration) {
|
|
1596
|
+
const localVarAxiosArgs = await AILakeServicesOperationsApiAxiosParamCreator_GetAiLakeServiceStatus(requestParameters.serviceId, options || {}, configuration);
|
|
418
1597
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
419
1598
|
}
|
|
420
|
-
//
|
|
1599
|
+
// AILakeServicesOperationsApi Api FP
|
|
421
1600
|
/**
|
|
422
1601
|
* (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.
|
|
423
1602
|
* @summary (BETA) List AI Lake services
|
|
424
1603
|
* @param {AxiosInstance} axios Axios instance.
|
|
425
1604
|
* @param {string} basePath Base path.
|
|
426
|
-
* @param {
|
|
427
|
-
* @param {*} [options] Override http request option.
|
|
428
|
-
* @param {Configuration} [configuration] Optional configuration.
|
|
429
|
-
* @throws {RequiredError}
|
|
430
|
-
*/
|
|
431
|
-
export async function AILakeApi_ListAiLakeServices(axios, basePath, requestParameters, options, configuration) {
|
|
432
|
-
const localVarAxiosArgs = await AILakeApiAxiosParamCreator_ListAiLakeServices(requestParameters.size, requestParameters.offset, requestParameters.metaInclude, options || {}, configuration);
|
|
433
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
434
|
-
}
|
|
435
|
-
// AILakeApi Api FP
|
|
436
|
-
/**
|
|
437
|
-
* (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.
|
|
438
|
-
* @summary (BETA) Create a new AILake Database instance
|
|
439
|
-
* @param {AxiosInstance} axios Axios instance.
|
|
440
|
-
* @param {string} basePath Base path.
|
|
441
|
-
* @param {AILakeApiProvisionAiLakeDatabaseInstanceRequest} requestParameters Request parameters.
|
|
1605
|
+
* @param {AILakeServicesOperationsApiListAiLakeServicesRequest} requestParameters Request parameters.
|
|
442
1606
|
* @param {*} [options] Override http request option.
|
|
443
1607
|
* @param {Configuration} [configuration] Optional configuration.
|
|
444
1608
|
* @throws {RequiredError}
|
|
445
1609
|
*/
|
|
446
|
-
export async function
|
|
447
|
-
const localVarAxiosArgs = await
|
|
1610
|
+
export async function AILakeServicesOperationsApi_ListAiLakeServices(axios, basePath, requestParameters, options, configuration) {
|
|
1611
|
+
const localVarAxiosArgs = await AILakeServicesOperationsApiAxiosParamCreator_ListAiLakeServices(requestParameters.size, requestParameters.offset, requestParameters.metaInclude, options || {}, configuration);
|
|
448
1612
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
449
1613
|
}
|
|
450
|
-
//
|
|
1614
|
+
// AILakeServicesOperationsApi Api FP
|
|
451
1615
|
/**
|
|
452
1616
|
* (BETA) Runs a specific AI Lake service command.
|
|
453
1617
|
* @summary (BETA) Run an AI Lake services command
|
|
454
1618
|
* @param {AxiosInstance} axios Axios instance.
|
|
455
1619
|
* @param {string} basePath Base path.
|
|
456
|
-
* @param {
|
|
1620
|
+
* @param {AILakeServicesOperationsApiRunAiLakeServiceCommandRequest} requestParameters Request parameters.
|
|
457
1621
|
* @param {*} [options] Override http request option.
|
|
458
1622
|
* @param {Configuration} [configuration] Optional configuration.
|
|
459
1623
|
* @throws {RequiredError}
|
|
460
1624
|
*/
|
|
461
|
-
export async function
|
|
462
|
-
const localVarAxiosArgs = await
|
|
1625
|
+
export async function AILakeServicesOperationsApi_RunAiLakeServiceCommand(axios, basePath, requestParameters, options, configuration) {
|
|
1626
|
+
const localVarAxiosArgs = await AILakeServicesOperationsApiAxiosParamCreator_RunAiLakeServiceCommand(requestParameters.serviceId, requestParameters.commandName, requestParameters.runServiceCommandRequest, requestParameters.operationId, options || {}, configuration);
|
|
463
1627
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
464
1628
|
}
|
|
465
1629
|
/**
|
|
466
|
-
*
|
|
1630
|
+
* AILakeServicesOperationsApi - object-oriented interface
|
|
467
1631
|
* @export
|
|
468
|
-
* @class
|
|
1632
|
+
* @class AILakeServicesOperationsApi
|
|
469
1633
|
* @extends {BaseAPI}
|
|
470
1634
|
*/
|
|
471
|
-
export class
|
|
472
|
-
/**
|
|
473
|
-
* (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.
|
|
474
|
-
* @summary (BETA) Delete an existing AILake Database instance
|
|
475
|
-
* @param {AILakeApiDeprovisionAiLakeDatabaseInstanceRequest} requestParameters Request parameters.
|
|
476
|
-
* @param {*} [options] Override http request option.
|
|
477
|
-
* @throws {RequiredError}
|
|
478
|
-
* @memberof AILakeApi
|
|
479
|
-
*/
|
|
480
|
-
deprovisionAiLakeDatabaseInstance(requestParameters, options) {
|
|
481
|
-
return AILakeApi_DeprovisionAiLakeDatabaseInstance(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
482
|
-
}
|
|
483
|
-
/**
|
|
484
|
-
* (BETA) Retrieve details of the specified AI Lake database instance in the organization\'s AI Lake.
|
|
485
|
-
* @summary (BETA) Get the specified AILake Database instance
|
|
486
|
-
* @param {AILakeApiGetAiLakeDatabaseInstanceRequest} requestParameters Request parameters.
|
|
487
|
-
* @param {*} [options] Override http request option.
|
|
488
|
-
* @throws {RequiredError}
|
|
489
|
-
* @memberof AILakeApi
|
|
490
|
-
*/
|
|
491
|
-
getAiLakeDatabaseInstance(requestParameters, options) {
|
|
492
|
-
return AILakeApi_GetAiLakeDatabaseInstance(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
493
|
-
}
|
|
1635
|
+
export class AILakeServicesOperationsApi extends BaseAPI {
|
|
494
1636
|
/**
|
|
495
1637
|
* (BETA) Retrieves details of a Long Running Operation specified by the operation-id.
|
|
496
1638
|
* @summary (BETA) Get Long Running Operation details
|
|
497
|
-
* @param {
|
|
1639
|
+
* @param {AILakeServicesOperationsApiGetAiLakeOperationRequest} requestParameters Request parameters.
|
|
498
1640
|
* @param {*} [options] Override http request option.
|
|
499
1641
|
* @throws {RequiredError}
|
|
500
|
-
* @memberof
|
|
1642
|
+
* @memberof AILakeServicesOperationsApi
|
|
501
1643
|
*/
|
|
502
1644
|
getAiLakeOperation(requestParameters, options) {
|
|
503
|
-
return
|
|
1645
|
+
return AILakeServicesOperationsApi_GetAiLakeOperation(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
504
1646
|
}
|
|
505
1647
|
/**
|
|
506
1648
|
* (BETA) Returns the status of a service in the organization\'s AI Lake. The status is controller-specific (e.g., available commands, readiness).
|
|
507
1649
|
* @summary (BETA) Get AI Lake service status
|
|
508
|
-
* @param {
|
|
1650
|
+
* @param {AILakeServicesOperationsApiGetAiLakeServiceStatusRequest} requestParameters Request parameters.
|
|
509
1651
|
* @param {*} [options] Override http request option.
|
|
510
1652
|
* @throws {RequiredError}
|
|
511
|
-
* @memberof
|
|
1653
|
+
* @memberof AILakeServicesOperationsApi
|
|
512
1654
|
*/
|
|
513
1655
|
getAiLakeServiceStatus(requestParameters, options) {
|
|
514
|
-
return
|
|
515
|
-
}
|
|
516
|
-
/**
|
|
517
|
-
* (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.
|
|
518
|
-
* @summary (BETA) List AI Lake Database instances
|
|
519
|
-
* @param {AILakeApiListAiLakeDatabaseInstancesRequest} requestParameters Request parameters.
|
|
520
|
-
* @param {*} [options] Override http request option.
|
|
521
|
-
* @throws {RequiredError}
|
|
522
|
-
* @memberof AILakeApi
|
|
523
|
-
*/
|
|
524
|
-
listAiLakeDatabaseInstances(requestParameters = {}, options) {
|
|
525
|
-
return AILakeApi_ListAiLakeDatabaseInstances(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
1656
|
+
return AILakeServicesOperationsApi_GetAiLakeServiceStatus(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
526
1657
|
}
|
|
527
1658
|
/**
|
|
528
1659
|
* (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.
|
|
529
1660
|
* @summary (BETA) List AI Lake services
|
|
530
|
-
* @param {
|
|
1661
|
+
* @param {AILakeServicesOperationsApiListAiLakeServicesRequest} requestParameters Request parameters.
|
|
531
1662
|
* @param {*} [options] Override http request option.
|
|
532
1663
|
* @throws {RequiredError}
|
|
533
|
-
* @memberof
|
|
1664
|
+
* @memberof AILakeServicesOperationsApi
|
|
534
1665
|
*/
|
|
535
1666
|
listAiLakeServices(requestParameters = {}, options) {
|
|
536
|
-
return
|
|
537
|
-
}
|
|
538
|
-
/**
|
|
539
|
-
* (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.
|
|
540
|
-
* @summary (BETA) Create a new AILake Database instance
|
|
541
|
-
* @param {AILakeApiProvisionAiLakeDatabaseInstanceRequest} requestParameters Request parameters.
|
|
542
|
-
* @param {*} [options] Override http request option.
|
|
543
|
-
* @throws {RequiredError}
|
|
544
|
-
* @memberof AILakeApi
|
|
545
|
-
*/
|
|
546
|
-
provisionAiLakeDatabaseInstance(requestParameters, options) {
|
|
547
|
-
return AILakeApi_ProvisionAiLakeDatabaseInstance(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
1667
|
+
return AILakeServicesOperationsApi_ListAiLakeServices(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
548
1668
|
}
|
|
549
1669
|
/**
|
|
550
1670
|
* (BETA) Runs a specific AI Lake service command.
|
|
551
1671
|
* @summary (BETA) Run an AI Lake services command
|
|
552
|
-
* @param {
|
|
1672
|
+
* @param {AILakeServicesOperationsApiRunAiLakeServiceCommandRequest} requestParameters Request parameters.
|
|
553
1673
|
* @param {*} [options] Override http request option.
|
|
554
1674
|
* @throws {RequiredError}
|
|
555
|
-
* @memberof
|
|
1675
|
+
* @memberof AILakeServicesOperationsApi
|
|
556
1676
|
*/
|
|
557
1677
|
runAiLakeServiceCommand(requestParameters, options) {
|
|
558
|
-
return
|
|
1678
|
+
return AILakeServicesOperationsApi_RunAiLakeServiceCommand(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
559
1679
|
}
|
|
560
1680
|
}
|
|
561
1681
|
// ActionsApi FP - ActionsApiAxiosParamCreator
|
|
@@ -1301,6 +2421,62 @@ export async function ActionsApiAxiosParamCreator_ComputeReport(workspaceId, afm
|
|
|
1301
2421
|
};
|
|
1302
2422
|
}
|
|
1303
2423
|
// ActionsApi FP - ActionsApiAxiosParamCreator
|
|
2424
|
+
/**
|
|
2425
|
+
* (BETA) Fetches a stored visualization object by ID, converts it to an AFM execution, and returns a link to the result. Optionally accepts additional AFM filters merged on top of the visualization\'s own filters.
|
|
2426
|
+
* @summary (BETA) Executes a visualization object and returns link to the result
|
|
2427
|
+
* @param {string} workspaceId Workspace identifier
|
|
2428
|
+
* @param {string} visualizationObjectId
|
|
2429
|
+
* @param {boolean} [skipCache] Ignore all caches during execution of current request.
|
|
2430
|
+
* @param {VisualizationObjectExecution} [visualizationObjectExecution]
|
|
2431
|
+
* @param {*} [options] Override http request option.
|
|
2432
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
2433
|
+
* @throws {RequiredError}
|
|
2434
|
+
*/
|
|
2435
|
+
export async function ActionsApiAxiosParamCreator_ComputeReportForVisualizationObject(workspaceId, visualizationObjectId, skipCache, visualizationObjectExecution, options = {}, configuration) {
|
|
2436
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
2437
|
+
assertParamExists('computeReportForVisualizationObject', 'workspaceId', workspaceId);
|
|
2438
|
+
// verify required parameter 'visualizationObjectId' is not null or undefined
|
|
2439
|
+
assertParamExists('computeReportForVisualizationObject', 'visualizationObjectId', visualizationObjectId);
|
|
2440
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/execution/visualization/{visualizationObjectId}/execute`
|
|
2441
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
2442
|
+
.replace(`{${"visualizationObjectId"}}`, encodeURIComponent(String(visualizationObjectId)));
|
|
2443
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2444
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2445
|
+
let baseOptions;
|
|
2446
|
+
if (configuration) {
|
|
2447
|
+
baseOptions = configuration.baseOptions;
|
|
2448
|
+
}
|
|
2449
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
2450
|
+
const localVarHeaderParameter = {};
|
|
2451
|
+
const localVarQueryParameter = {};
|
|
2452
|
+
if (skipCache !== undefined && skipCache !== null) {
|
|
2453
|
+
localVarHeaderParameter['skip-cache'] = String(JSON.stringify(skipCache));
|
|
2454
|
+
}
|
|
2455
|
+
const consumes = [
|
|
2456
|
+
'application/json'
|
|
2457
|
+
];
|
|
2458
|
+
// use application/json if present, otherwise fallback to the first one
|
|
2459
|
+
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
2460
|
+
? 'application/json'
|
|
2461
|
+
: consumes[0];
|
|
2462
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2463
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
2464
|
+
localVarRequestOptions.headers = {
|
|
2465
|
+
...localVarHeaderParameter,
|
|
2466
|
+
...headersFromBaseOptions,
|
|
2467
|
+
...options.headers,
|
|
2468
|
+
};
|
|
2469
|
+
const needsSerialization = typeof visualizationObjectExecution !== "string" ||
|
|
2470
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
2471
|
+
localVarRequestOptions.data = needsSerialization
|
|
2472
|
+
? JSON.stringify(visualizationObjectExecution !== undefined ? visualizationObjectExecution : {})
|
|
2473
|
+
: visualizationObjectExecution || "";
|
|
2474
|
+
return {
|
|
2475
|
+
url: toPathString(localVarUrlObj),
|
|
2476
|
+
options: localVarRequestOptions,
|
|
2477
|
+
};
|
|
2478
|
+
}
|
|
2479
|
+
// ActionsApi FP - ActionsApiAxiosParamCreator
|
|
1304
2480
|
/**
|
|
1305
2481
|
* (BETA) Returns map of lists of attributes that can be used as descendants of the given attributes.
|
|
1306
2482
|
* @summary (BETA) Valid descendants
|
|
@@ -2898,6 +4074,21 @@ export async function ActionsApi_ComputeReport(axios, basePath, requestParameter
|
|
|
2898
4074
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
2899
4075
|
}
|
|
2900
4076
|
// ActionsApi Api FP
|
|
4077
|
+
/**
|
|
4078
|
+
* (BETA) Fetches a stored visualization object by ID, converts it to an AFM execution, and returns a link to the result. Optionally accepts additional AFM filters merged on top of the visualization\'s own filters.
|
|
4079
|
+
* @summary (BETA) Executes a visualization object and returns link to the result
|
|
4080
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
4081
|
+
* @param {string} basePath Base path.
|
|
4082
|
+
* @param {ActionsApiComputeReportForVisualizationObjectRequest} requestParameters Request parameters.
|
|
4083
|
+
* @param {*} [options] Override http request option.
|
|
4084
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
4085
|
+
* @throws {RequiredError}
|
|
4086
|
+
*/
|
|
4087
|
+
export async function ActionsApi_ComputeReportForVisualizationObject(axios, basePath, requestParameters, options, configuration) {
|
|
4088
|
+
const localVarAxiosArgs = await ActionsApiAxiosParamCreator_ComputeReportForVisualizationObject(requestParameters.workspaceId, requestParameters.visualizationObjectId, requestParameters.skipCache, requestParameters.visualizationObjectExecution, options || {}, configuration);
|
|
4089
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
4090
|
+
}
|
|
4091
|
+
// ActionsApi Api FP
|
|
2901
4092
|
/**
|
|
2902
4093
|
* (BETA) Returns map of lists of attributes that can be used as descendants of the given attributes.
|
|
2903
4094
|
* @summary (BETA) Valid descendants
|
|
@@ -3531,6 +4722,17 @@ export class ActionsApi extends BaseAPI {
|
|
|
3531
4722
|
computeReport(requestParameters, options) {
|
|
3532
4723
|
return ActionsApi_ComputeReport(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
3533
4724
|
}
|
|
4725
|
+
/**
|
|
4726
|
+
* (BETA) Fetches a stored visualization object by ID, converts it to an AFM execution, and returns a link to the result. Optionally accepts additional AFM filters merged on top of the visualization\'s own filters.
|
|
4727
|
+
* @summary (BETA) Executes a visualization object and returns link to the result
|
|
4728
|
+
* @param {ActionsApiComputeReportForVisualizationObjectRequest} requestParameters Request parameters.
|
|
4729
|
+
* @param {*} [options] Override http request option.
|
|
4730
|
+
* @throws {RequiredError}
|
|
4731
|
+
* @memberof ActionsApi
|
|
4732
|
+
*/
|
|
4733
|
+
computeReportForVisualizationObject(requestParameters, options) {
|
|
4734
|
+
return ActionsApi_ComputeReportForVisualizationObject(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
4735
|
+
}
|
|
3534
4736
|
/**
|
|
3535
4737
|
* (BETA) Returns map of lists of attributes that can be used as descendants of the given attributes.
|
|
3536
4738
|
* @summary (BETA) Valid descendants
|
|
@@ -4134,6 +5336,62 @@ export async function ComputationApiAxiosParamCreator_ComputeReport(workspaceId,
|
|
|
4134
5336
|
};
|
|
4135
5337
|
}
|
|
4136
5338
|
// ComputationApi FP - ComputationApiAxiosParamCreator
|
|
5339
|
+
/**
|
|
5340
|
+
* (BETA) Fetches a stored visualization object by ID, converts it to an AFM execution, and returns a link to the result. Optionally accepts additional AFM filters merged on top of the visualization\'s own filters.
|
|
5341
|
+
* @summary (BETA) Executes a visualization object and returns link to the result
|
|
5342
|
+
* @param {string} workspaceId Workspace identifier
|
|
5343
|
+
* @param {string} visualizationObjectId
|
|
5344
|
+
* @param {boolean} [skipCache] Ignore all caches during execution of current request.
|
|
5345
|
+
* @param {VisualizationObjectExecution} [visualizationObjectExecution]
|
|
5346
|
+
* @param {*} [options] Override http request option.
|
|
5347
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
5348
|
+
* @throws {RequiredError}
|
|
5349
|
+
*/
|
|
5350
|
+
export async function ComputationApiAxiosParamCreator_ComputeReportForVisualizationObject(workspaceId, visualizationObjectId, skipCache, visualizationObjectExecution, options = {}, configuration) {
|
|
5351
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
5352
|
+
assertParamExists('computeReportForVisualizationObject', 'workspaceId', workspaceId);
|
|
5353
|
+
// verify required parameter 'visualizationObjectId' is not null or undefined
|
|
5354
|
+
assertParamExists('computeReportForVisualizationObject', 'visualizationObjectId', visualizationObjectId);
|
|
5355
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/execution/visualization/{visualizationObjectId}/execute`
|
|
5356
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
5357
|
+
.replace(`{${"visualizationObjectId"}}`, encodeURIComponent(String(visualizationObjectId)));
|
|
5358
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5359
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5360
|
+
let baseOptions;
|
|
5361
|
+
if (configuration) {
|
|
5362
|
+
baseOptions = configuration.baseOptions;
|
|
5363
|
+
}
|
|
5364
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
5365
|
+
const localVarHeaderParameter = {};
|
|
5366
|
+
const localVarQueryParameter = {};
|
|
5367
|
+
if (skipCache !== undefined && skipCache !== null) {
|
|
5368
|
+
localVarHeaderParameter['skip-cache'] = String(JSON.stringify(skipCache));
|
|
5369
|
+
}
|
|
5370
|
+
const consumes = [
|
|
5371
|
+
'application/json'
|
|
5372
|
+
];
|
|
5373
|
+
// use application/json if present, otherwise fallback to the first one
|
|
5374
|
+
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
5375
|
+
? 'application/json'
|
|
5376
|
+
: consumes[0];
|
|
5377
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5378
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
5379
|
+
localVarRequestOptions.headers = {
|
|
5380
|
+
...localVarHeaderParameter,
|
|
5381
|
+
...headersFromBaseOptions,
|
|
5382
|
+
...options.headers,
|
|
5383
|
+
};
|
|
5384
|
+
const needsSerialization = typeof visualizationObjectExecution !== "string" ||
|
|
5385
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
5386
|
+
localVarRequestOptions.data = needsSerialization
|
|
5387
|
+
? JSON.stringify(visualizationObjectExecution !== undefined ? visualizationObjectExecution : {})
|
|
5388
|
+
: visualizationObjectExecution || "";
|
|
5389
|
+
return {
|
|
5390
|
+
url: toPathString(localVarUrlObj),
|
|
5391
|
+
options: localVarRequestOptions,
|
|
5392
|
+
};
|
|
5393
|
+
}
|
|
5394
|
+
// ComputationApi FP - ComputationApiAxiosParamCreator
|
|
4137
5395
|
/**
|
|
4138
5396
|
* (BETA) Returns map of lists of attributes that can be used as descendants of the given attributes.
|
|
4139
5397
|
* @summary (BETA) Valid descendants
|
|
@@ -4702,6 +5960,21 @@ export async function ComputationApi_ComputeReport(axios, basePath, requestParam
|
|
|
4702
5960
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
4703
5961
|
}
|
|
4704
5962
|
// ComputationApi Api FP
|
|
5963
|
+
/**
|
|
5964
|
+
* (BETA) Fetches a stored visualization object by ID, converts it to an AFM execution, and returns a link to the result. Optionally accepts additional AFM filters merged on top of the visualization\'s own filters.
|
|
5965
|
+
* @summary (BETA) Executes a visualization object and returns link to the result
|
|
5966
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
5967
|
+
* @param {string} basePath Base path.
|
|
5968
|
+
* @param {ComputationApiComputeReportForVisualizationObjectRequest} requestParameters Request parameters.
|
|
5969
|
+
* @param {*} [options] Override http request option.
|
|
5970
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
5971
|
+
* @throws {RequiredError}
|
|
5972
|
+
*/
|
|
5973
|
+
export async function ComputationApi_ComputeReportForVisualizationObject(axios, basePath, requestParameters, options, configuration) {
|
|
5974
|
+
const localVarAxiosArgs = await ComputationApiAxiosParamCreator_ComputeReportForVisualizationObject(requestParameters.workspaceId, requestParameters.visualizationObjectId, requestParameters.skipCache, requestParameters.visualizationObjectExecution, options || {}, configuration);
|
|
5975
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
5976
|
+
}
|
|
5977
|
+
// ComputationApi Api FP
|
|
4705
5978
|
/**
|
|
4706
5979
|
* (BETA) Returns map of lists of attributes that can be used as descendants of the given attributes.
|
|
4707
5980
|
* @summary (BETA) Valid descendants
|
|
@@ -4913,6 +6186,17 @@ export class ComputationApi extends BaseAPI {
|
|
|
4913
6186
|
computeReport(requestParameters, options) {
|
|
4914
6187
|
return ComputationApi_ComputeReport(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
4915
6188
|
}
|
|
6189
|
+
/**
|
|
6190
|
+
* (BETA) Fetches a stored visualization object by ID, converts it to an AFM execution, and returns a link to the result. Optionally accepts additional AFM filters merged on top of the visualization\'s own filters.
|
|
6191
|
+
* @summary (BETA) Executes a visualization object and returns link to the result
|
|
6192
|
+
* @param {ComputationApiComputeReportForVisualizationObjectRequest} requestParameters Request parameters.
|
|
6193
|
+
* @param {*} [options] Override http request option.
|
|
6194
|
+
* @throws {RequiredError}
|
|
6195
|
+
* @memberof ComputationApi
|
|
6196
|
+
*/
|
|
6197
|
+
computeReportForVisualizationObject(requestParameters, options) {
|
|
6198
|
+
return ComputationApi_ComputeReportForVisualizationObject(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
6199
|
+
}
|
|
4916
6200
|
/**
|
|
4917
6201
|
* (BETA) Returns map of lists of attributes that can be used as descendants of the given attributes.
|
|
4918
6202
|
* @summary (BETA) Valid descendants
|