@gooddata/api-client-tiger 11.30.0-alpha.4 → 11.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/__version.d.ts +1 -1
- package/esm/__version.d.ts.map +1 -1
- package/esm/__version.js +1 -1
- package/esm/__version.js.map +1 -1
- package/esm/api-client-tiger.d.ts +1470 -304
- package/esm/generated/afm-rest-api/api.d.ts +172 -2
- package/esm/generated/afm-rest-api/api.d.ts.map +1 -1
- package/esm/generated/afm-rest-api/api.js +160 -0
- package/esm/generated/afm-rest-api/api.js.map +1 -1
- package/esm/generated/ai-json-api/api.d.ts +37 -4
- package/esm/generated/ai-json-api/api.d.ts.map +1 -1
- package/esm/generated/ai-json-api/api.js.map +1 -1
- package/esm/generated/automation-json-api/api.d.ts +26 -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 +26 -1
- package/esm/generated/export-json-api/api.d.ts.map +1 -1
- package/esm/generated/export-json-api/api.js.map +1 -1
- package/esm/generated/metadata-json-api/api.d.ts +1175 -281
- package/esm/generated/metadata-json-api/api.d.ts.map +1 -1
- package/esm/generated/metadata-json-api/api.js +1034 -126
- package/esm/generated/metadata-json-api/api.js.map +1 -1
- package/esm/generated/scan-json-api/api.d.ts +181 -2
- package/esm/generated/scan-json-api/api.d.ts.map +1 -1
- package/esm/generated/scan-json-api/api.js +160 -0
- package/esm/generated/scan-json-api/api.js.map +1 -1
- package/package.json +4 -4
|
@@ -5,6 +5,60 @@ 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) Collects CBO statistics for tables in a StarRocks database. Works for both internal (native/PIPE) and external (Iceberg) catalogs. If tableNames is empty, all tables are analyzed.
|
|
10
|
+
* @summary (BETA) Run ANALYZE TABLE for tables in a database instance
|
|
11
|
+
* @param {string} instanceId Database instance identifier. Accepts the database name (preferred) or UUID.
|
|
12
|
+
* @param {AnalyzeStatisticsRequest} analyzeStatisticsRequest
|
|
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_AnalyzeStatistics(instanceId, analyzeStatisticsRequest, operationId, options = {}, configuration) {
|
|
19
|
+
// verify required parameter 'instanceId' is not null or undefined
|
|
20
|
+
assertParamExists('analyzeStatistics', 'instanceId', instanceId);
|
|
21
|
+
// verify required parameter 'analyzeStatisticsRequest' is not null or undefined
|
|
22
|
+
assertParamExists('analyzeStatistics', 'analyzeStatisticsRequest', analyzeStatisticsRequest);
|
|
23
|
+
const localVarPath = `/api/v1/ailake/database/instances/{instanceId}/analyzeStatistics`
|
|
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 analyzeStatisticsRequest !== "string" ||
|
|
52
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
53
|
+
localVarRequestOptions.data = needsSerialization
|
|
54
|
+
? JSON.stringify(analyzeStatisticsRequest !== undefined ? analyzeStatisticsRequest : {})
|
|
55
|
+
: analyzeStatisticsRequest || "";
|
|
56
|
+
return {
|
|
57
|
+
url: toPathString(localVarUrlObj),
|
|
58
|
+
options: localVarRequestOptions,
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
// AILakeApi FP - AILakeApiAxiosParamCreator
|
|
8
62
|
/**
|
|
9
63
|
* (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
64
|
* @summary (BETA) Create a new AI Lake pipe table
|
|
@@ -514,6 +568,21 @@ export async function AILakeApiAxiosParamCreator_RunAiLakeServiceCommand(service
|
|
|
514
568
|
};
|
|
515
569
|
}
|
|
516
570
|
// AILakeApi Api FP
|
|
571
|
+
/**
|
|
572
|
+
* (BETA) Collects CBO statistics for tables in a StarRocks database. Works for both internal (native/PIPE) and external (Iceberg) catalogs. If tableNames is empty, all tables are analyzed.
|
|
573
|
+
* @summary (BETA) Run ANALYZE TABLE for tables in a database instance
|
|
574
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
575
|
+
* @param {string} basePath Base path.
|
|
576
|
+
* @param {AILakeApiAnalyzeStatisticsRequest} requestParameters Request parameters.
|
|
577
|
+
* @param {*} [options] Override http request option.
|
|
578
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
579
|
+
* @throws {RequiredError}
|
|
580
|
+
*/
|
|
581
|
+
export async function AILakeApi_AnalyzeStatistics(axios, basePath, requestParameters, options, configuration) {
|
|
582
|
+
const localVarAxiosArgs = await AILakeApiAxiosParamCreator_AnalyzeStatistics(requestParameters.instanceId, requestParameters.analyzeStatisticsRequest, requestParameters.operationId, options || {}, configuration);
|
|
583
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
584
|
+
}
|
|
585
|
+
// AILakeApi Api FP
|
|
517
586
|
/**
|
|
518
587
|
* (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
588
|
* @summary (BETA) Create a new AI Lake pipe table
|
|
@@ -700,6 +769,17 @@ export async function AILakeApi_RunAiLakeServiceCommand(axios, basePath, request
|
|
|
700
769
|
* @extends {BaseAPI}
|
|
701
770
|
*/
|
|
702
771
|
export class AILakeApi extends BaseAPI {
|
|
772
|
+
/**
|
|
773
|
+
* (BETA) Collects CBO statistics for tables in a StarRocks database. Works for both internal (native/PIPE) and external (Iceberg) catalogs. If tableNames is empty, all tables are analyzed.
|
|
774
|
+
* @summary (BETA) Run ANALYZE TABLE for tables in a database instance
|
|
775
|
+
* @param {AILakeApiAnalyzeStatisticsRequest} requestParameters Request parameters.
|
|
776
|
+
* @param {*} [options] Override http request option.
|
|
777
|
+
* @throws {RequiredError}
|
|
778
|
+
* @memberof AILakeApi
|
|
779
|
+
*/
|
|
780
|
+
analyzeStatistics(requestParameters, options) {
|
|
781
|
+
return AILakeApi_AnalyzeStatistics(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
782
|
+
}
|
|
703
783
|
/**
|
|
704
784
|
* (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
785
|
* @summary (BETA) Create a new AI Lake pipe table
|
|
@@ -1113,6 +1193,60 @@ export class AILakeDatabasesApi extends BaseAPI {
|
|
|
1113
1193
|
}
|
|
1114
1194
|
}
|
|
1115
1195
|
// AILakePipeTablesApi FP - AILakePipeTablesApiAxiosParamCreator
|
|
1196
|
+
/**
|
|
1197
|
+
* (BETA) Collects CBO statistics for tables in a StarRocks database. Works for both internal (native/PIPE) and external (Iceberg) catalogs. If tableNames is empty, all tables are analyzed.
|
|
1198
|
+
* @summary (BETA) Run ANALYZE TABLE for tables in a database instance
|
|
1199
|
+
* @param {string} instanceId Database instance identifier. Accepts the database name (preferred) or UUID.
|
|
1200
|
+
* @param {AnalyzeStatisticsRequest} analyzeStatisticsRequest
|
|
1201
|
+
* @param {string} [operationId]
|
|
1202
|
+
* @param {*} [options] Override http request option.
|
|
1203
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
1204
|
+
* @throws {RequiredError}
|
|
1205
|
+
*/
|
|
1206
|
+
export async function AILakePipeTablesApiAxiosParamCreator_AnalyzeStatistics(instanceId, analyzeStatisticsRequest, operationId, options = {}, configuration) {
|
|
1207
|
+
// verify required parameter 'instanceId' is not null or undefined
|
|
1208
|
+
assertParamExists('analyzeStatistics', 'instanceId', instanceId);
|
|
1209
|
+
// verify required parameter 'analyzeStatisticsRequest' is not null or undefined
|
|
1210
|
+
assertParamExists('analyzeStatistics', 'analyzeStatisticsRequest', analyzeStatisticsRequest);
|
|
1211
|
+
const localVarPath = `/api/v1/ailake/database/instances/{instanceId}/analyzeStatistics`
|
|
1212
|
+
.replace(`{${"instanceId"}}`, encodeURIComponent(String(instanceId)));
|
|
1213
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1214
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1215
|
+
let baseOptions;
|
|
1216
|
+
if (configuration) {
|
|
1217
|
+
baseOptions = configuration.baseOptions;
|
|
1218
|
+
}
|
|
1219
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
1220
|
+
const localVarHeaderParameter = {};
|
|
1221
|
+
const localVarQueryParameter = {};
|
|
1222
|
+
if (operationId !== undefined && operationId !== null) {
|
|
1223
|
+
localVarHeaderParameter['operation-id'] = String(operationId);
|
|
1224
|
+
}
|
|
1225
|
+
const consumes = [
|
|
1226
|
+
'application/json'
|
|
1227
|
+
];
|
|
1228
|
+
// use application/json if present, otherwise fallback to the first one
|
|
1229
|
+
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
1230
|
+
? 'application/json'
|
|
1231
|
+
: consumes[0];
|
|
1232
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1233
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
1234
|
+
localVarRequestOptions.headers = {
|
|
1235
|
+
...localVarHeaderParameter,
|
|
1236
|
+
...headersFromBaseOptions,
|
|
1237
|
+
...options.headers,
|
|
1238
|
+
};
|
|
1239
|
+
const needsSerialization = typeof analyzeStatisticsRequest !== "string" ||
|
|
1240
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
1241
|
+
localVarRequestOptions.data = needsSerialization
|
|
1242
|
+
? JSON.stringify(analyzeStatisticsRequest !== undefined ? analyzeStatisticsRequest : {})
|
|
1243
|
+
: analyzeStatisticsRequest || "";
|
|
1244
|
+
return {
|
|
1245
|
+
url: toPathString(localVarUrlObj),
|
|
1246
|
+
options: localVarRequestOptions,
|
|
1247
|
+
};
|
|
1248
|
+
}
|
|
1249
|
+
// AILakePipeTablesApi FP - AILakePipeTablesApiAxiosParamCreator
|
|
1116
1250
|
/**
|
|
1117
1251
|
* (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
1252
|
* @summary (BETA) Create a new AI Lake pipe table
|
|
@@ -1284,6 +1418,21 @@ export async function AILakePipeTablesApiAxiosParamCreator_ListAiLakePipeTables(
|
|
|
1284
1418
|
};
|
|
1285
1419
|
}
|
|
1286
1420
|
// AILakePipeTablesApi Api FP
|
|
1421
|
+
/**
|
|
1422
|
+
* (BETA) Collects CBO statistics for tables in a StarRocks database. Works for both internal (native/PIPE) and external (Iceberg) catalogs. If tableNames is empty, all tables are analyzed.
|
|
1423
|
+
* @summary (BETA) Run ANALYZE TABLE for tables in a database instance
|
|
1424
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
1425
|
+
* @param {string} basePath Base path.
|
|
1426
|
+
* @param {AILakePipeTablesApiAnalyzeStatisticsRequest} requestParameters Request parameters.
|
|
1427
|
+
* @param {*} [options] Override http request option.
|
|
1428
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
1429
|
+
* @throws {RequiredError}
|
|
1430
|
+
*/
|
|
1431
|
+
export async function AILakePipeTablesApi_AnalyzeStatistics(axios, basePath, requestParameters, options, configuration) {
|
|
1432
|
+
const localVarAxiosArgs = await AILakePipeTablesApiAxiosParamCreator_AnalyzeStatistics(requestParameters.instanceId, requestParameters.analyzeStatisticsRequest, requestParameters.operationId, options || {}, configuration);
|
|
1433
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
1434
|
+
}
|
|
1435
|
+
// AILakePipeTablesApi Api FP
|
|
1287
1436
|
/**
|
|
1288
1437
|
* (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
1438
|
* @summary (BETA) Create a new AI Lake pipe table
|
|
@@ -1350,6 +1499,17 @@ export async function AILakePipeTablesApi_ListAiLakePipeTables(axios, basePath,
|
|
|
1350
1499
|
* @extends {BaseAPI}
|
|
1351
1500
|
*/
|
|
1352
1501
|
export class AILakePipeTablesApi extends BaseAPI {
|
|
1502
|
+
/**
|
|
1503
|
+
* (BETA) Collects CBO statistics for tables in a StarRocks database. Works for both internal (native/PIPE) and external (Iceberg) catalogs. If tableNames is empty, all tables are analyzed.
|
|
1504
|
+
* @summary (BETA) Run ANALYZE TABLE for tables in a database instance
|
|
1505
|
+
* @param {AILakePipeTablesApiAnalyzeStatisticsRequest} requestParameters Request parameters.
|
|
1506
|
+
* @param {*} [options] Override http request option.
|
|
1507
|
+
* @throws {RequiredError}
|
|
1508
|
+
* @memberof AILakePipeTablesApi
|
|
1509
|
+
*/
|
|
1510
|
+
analyzeStatistics(requestParameters, options) {
|
|
1511
|
+
return AILakePipeTablesApi_AnalyzeStatistics(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
1512
|
+
}
|
|
1353
1513
|
/**
|
|
1354
1514
|
* (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
1515
|
* @summary (BETA) Create a new AI Lake pipe table
|