@gooddata/api-client-tiger 10.10.0-alpha.2 → 10.10.0-alpha.21
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 +1632 -1405
- package/esm/generated/afm-rest-api/api.d.ts +281 -1
- package/esm/generated/afm-rest-api/api.d.ts.map +1 -1
- package/esm/generated/afm-rest-api/api.js +171 -0
- package/esm/generated/afm-rest-api/api.js.map +1 -1
- package/esm/generated/afm-rest-api/openapi-spec.json +237 -63
- package/esm/generated/metadata-json-api/api.d.ts +1404 -1404
- package/esm/generated/metadata-json-api/api.d.ts.map +1 -1
- package/esm/generated/metadata-json-api/api.js +24 -24
- package/esm/generated/metadata-json-api/api.js.map +1 -1
- package/esm/generated/metadata-json-api/openapi-spec.json +5206 -5206
- package/esm/index.d.ts +1 -1
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +1 -1
- package/esm/index.js.map +1 -1
- package/package.json +3 -3
|
@@ -80,6 +80,13 @@ export const ComparisonMeasureValueFilterComparisonMeasureValueFilterOperatorEnu
|
|
|
80
80
|
EQUAL_TO: "EQUAL_TO",
|
|
81
81
|
NOT_EQUAL_TO: "NOT_EQUAL_TO",
|
|
82
82
|
};
|
|
83
|
+
export const CreatedVisualizationVisualizationTypeEnum = {
|
|
84
|
+
TABLE: "TABLE",
|
|
85
|
+
HEADLINE: "HEADLINE",
|
|
86
|
+
BAR: "BAR",
|
|
87
|
+
LINE: "LINE",
|
|
88
|
+
PIE: "PIE",
|
|
89
|
+
};
|
|
83
90
|
export const ElementsRequestSortOrderEnum = {
|
|
84
91
|
ASC: "ASC",
|
|
85
92
|
DESC: "DESC",
|
|
@@ -134,6 +141,14 @@ export const KeyDriversRequestSortDirectionEnum = {
|
|
|
134
141
|
ASC: "ASC",
|
|
135
142
|
DESC: "DESC",
|
|
136
143
|
};
|
|
144
|
+
export const MetricAggFunctionEnum = {
|
|
145
|
+
COUNT: "COUNT",
|
|
146
|
+
SUM: "SUM",
|
|
147
|
+
MIN: "MIN",
|
|
148
|
+
MAX: "MAX",
|
|
149
|
+
AVG: "AVG",
|
|
150
|
+
MEDIAN: "MEDIAN",
|
|
151
|
+
};
|
|
137
152
|
export const RangeMeasureValueFilterRangeMeasureValueFilterOperatorEnum = {
|
|
138
153
|
BETWEEN: "BETWEEN",
|
|
139
154
|
NOT_BETWEEN: "NOT_BETWEEN",
|
|
@@ -293,6 +308,47 @@ export const ActionsApiAxiosParamCreator = function (configuration) {
|
|
|
293
308
|
options: localVarRequestOptions,
|
|
294
309
|
};
|
|
295
310
|
},
|
|
311
|
+
/**
|
|
312
|
+
* (BETA) Uses similarity (e.g. cosine distance) search to find top X most similar metadata objects.
|
|
313
|
+
* @summary (BETA) Semantic Search in Metadata + creates new visualizations
|
|
314
|
+
* @param {string} workspaceId Workspace identifier
|
|
315
|
+
* @param {SearchCreateRequest} searchCreateRequest
|
|
316
|
+
* @param {*} [options] Override http request option.
|
|
317
|
+
* @throws {RequiredError}
|
|
318
|
+
*/
|
|
319
|
+
aiSearchCreate: async (workspaceId, searchCreateRequest, options = {}) => {
|
|
320
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
321
|
+
assertParamExists("aiSearchCreate", "workspaceId", workspaceId);
|
|
322
|
+
// verify required parameter 'searchCreateRequest' is not null or undefined
|
|
323
|
+
assertParamExists("aiSearchCreate", "searchCreateRequest", searchCreateRequest);
|
|
324
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/searchCreate`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
325
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
326
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
327
|
+
let baseOptions;
|
|
328
|
+
if (configuration) {
|
|
329
|
+
baseOptions = configuration.baseOptions;
|
|
330
|
+
}
|
|
331
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
332
|
+
const localVarHeaderParameter = {};
|
|
333
|
+
const localVarQueryParameter = {};
|
|
334
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
335
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
336
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
337
|
+
localVarRequestOptions.headers = {
|
|
338
|
+
...localVarHeaderParameter,
|
|
339
|
+
...headersFromBaseOptions,
|
|
340
|
+
...options.headers,
|
|
341
|
+
};
|
|
342
|
+
const needsSerialization = typeof searchCreateRequest !== "string" ||
|
|
343
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
344
|
+
localVarRequestOptions.data = needsSerialization
|
|
345
|
+
? JSON.stringify(searchCreateRequest !== undefined ? searchCreateRequest : {})
|
|
346
|
+
: searchCreateRequest || "";
|
|
347
|
+
return {
|
|
348
|
+
url: toPathString(localVarUrlObj),
|
|
349
|
+
options: localVarRequestOptions,
|
|
350
|
+
};
|
|
351
|
+
},
|
|
296
352
|
/**
|
|
297
353
|
* (EXPERIMENTAL) Computes anomaly detection.
|
|
298
354
|
* @summary (EXPERIMENTAL) Smart functions - Anomaly Detection
|
|
@@ -1016,6 +1072,18 @@ export const ActionsApiFp = function (configuration) {
|
|
|
1016
1072
|
const localVarAxiosArgs = await localVarAxiosParamCreator.aiSearch(workspaceId, searchRequest, options);
|
|
1017
1073
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1018
1074
|
},
|
|
1075
|
+
/**
|
|
1076
|
+
* (BETA) Uses similarity (e.g. cosine distance) search to find top X most similar metadata objects.
|
|
1077
|
+
* @summary (BETA) Semantic Search in Metadata + creates new visualizations
|
|
1078
|
+
* @param {string} workspaceId Workspace identifier
|
|
1079
|
+
* @param {SearchCreateRequest} searchCreateRequest
|
|
1080
|
+
* @param {*} [options] Override http request option.
|
|
1081
|
+
* @throws {RequiredError}
|
|
1082
|
+
*/
|
|
1083
|
+
async aiSearchCreate(workspaceId, searchCreateRequest, options) {
|
|
1084
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.aiSearchCreate(workspaceId, searchCreateRequest, options);
|
|
1085
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1086
|
+
},
|
|
1019
1087
|
/**
|
|
1020
1088
|
* (EXPERIMENTAL) Computes anomaly detection.
|
|
1021
1089
|
* @summary (EXPERIMENTAL) Smart functions - Anomaly Detection
|
|
@@ -1253,6 +1321,18 @@ export const ActionsApiFactory = function (configuration, basePath, axios) {
|
|
|
1253
1321
|
.aiSearch(requestParameters.workspaceId, requestParameters.searchRequest, options)
|
|
1254
1322
|
.then((request) => request(axios, basePath));
|
|
1255
1323
|
},
|
|
1324
|
+
/**
|
|
1325
|
+
* (BETA) Uses similarity (e.g. cosine distance) search to find top X most similar metadata objects.
|
|
1326
|
+
* @summary (BETA) Semantic Search in Metadata + creates new visualizations
|
|
1327
|
+
* @param {ActionsApiAiSearchCreateRequest} requestParameters Request parameters.
|
|
1328
|
+
* @param {*} [options] Override http request option.
|
|
1329
|
+
* @throws {RequiredError}
|
|
1330
|
+
*/
|
|
1331
|
+
aiSearchCreate(requestParameters, options) {
|
|
1332
|
+
return localVarFp
|
|
1333
|
+
.aiSearchCreate(requestParameters.workspaceId, requestParameters.searchCreateRequest, options)
|
|
1334
|
+
.then((request) => request(axios, basePath));
|
|
1335
|
+
},
|
|
1256
1336
|
/**
|
|
1257
1337
|
* (EXPERIMENTAL) Computes anomaly detection.
|
|
1258
1338
|
* @summary (EXPERIMENTAL) Smart functions - Anomaly Detection
|
|
@@ -1468,6 +1548,19 @@ export class ActionsApi extends BaseAPI {
|
|
|
1468
1548
|
.aiSearch(requestParameters.workspaceId, requestParameters.searchRequest, options)
|
|
1469
1549
|
.then((request) => request(this.axios, this.basePath));
|
|
1470
1550
|
}
|
|
1551
|
+
/**
|
|
1552
|
+
* (BETA) Uses similarity (e.g. cosine distance) search to find top X most similar metadata objects.
|
|
1553
|
+
* @summary (BETA) Semantic Search in Metadata + creates new visualizations
|
|
1554
|
+
* @param {ActionsApiAiSearchCreateRequest} requestParameters Request parameters.
|
|
1555
|
+
* @param {*} [options] Override http request option.
|
|
1556
|
+
* @throws {RequiredError}
|
|
1557
|
+
* @memberof ActionsApi
|
|
1558
|
+
*/
|
|
1559
|
+
aiSearchCreate(requestParameters, options) {
|
|
1560
|
+
return ActionsApiFp(this.configuration)
|
|
1561
|
+
.aiSearchCreate(requestParameters.workspaceId, requestParameters.searchCreateRequest, options)
|
|
1562
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1563
|
+
}
|
|
1471
1564
|
/**
|
|
1472
1565
|
* (EXPERIMENTAL) Computes anomaly detection.
|
|
1473
1566
|
* @summary (EXPERIMENTAL) Smart functions - Anomaly Detection
|
|
@@ -2536,6 +2629,47 @@ export const SmartFunctionsApiAxiosParamCreator = function (configuration) {
|
|
|
2536
2629
|
options: localVarRequestOptions,
|
|
2537
2630
|
};
|
|
2538
2631
|
},
|
|
2632
|
+
/**
|
|
2633
|
+
* (BETA) Uses similarity (e.g. cosine distance) search to find top X most similar metadata objects.
|
|
2634
|
+
* @summary (BETA) Semantic Search in Metadata + creates new visualizations
|
|
2635
|
+
* @param {string} workspaceId Workspace identifier
|
|
2636
|
+
* @param {SearchCreateRequest} searchCreateRequest
|
|
2637
|
+
* @param {*} [options] Override http request option.
|
|
2638
|
+
* @throws {RequiredError}
|
|
2639
|
+
*/
|
|
2640
|
+
aiSearchCreate: async (workspaceId, searchCreateRequest, options = {}) => {
|
|
2641
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
2642
|
+
assertParamExists("aiSearchCreate", "workspaceId", workspaceId);
|
|
2643
|
+
// verify required parameter 'searchCreateRequest' is not null or undefined
|
|
2644
|
+
assertParamExists("aiSearchCreate", "searchCreateRequest", searchCreateRequest);
|
|
2645
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/searchCreate`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
2646
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2647
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2648
|
+
let baseOptions;
|
|
2649
|
+
if (configuration) {
|
|
2650
|
+
baseOptions = configuration.baseOptions;
|
|
2651
|
+
}
|
|
2652
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
2653
|
+
const localVarHeaderParameter = {};
|
|
2654
|
+
const localVarQueryParameter = {};
|
|
2655
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2656
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2657
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2658
|
+
localVarRequestOptions.headers = {
|
|
2659
|
+
...localVarHeaderParameter,
|
|
2660
|
+
...headersFromBaseOptions,
|
|
2661
|
+
...options.headers,
|
|
2662
|
+
};
|
|
2663
|
+
const needsSerialization = typeof searchCreateRequest !== "string" ||
|
|
2664
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
2665
|
+
localVarRequestOptions.data = needsSerialization
|
|
2666
|
+
? JSON.stringify(searchCreateRequest !== undefined ? searchCreateRequest : {})
|
|
2667
|
+
: searchCreateRequest || "";
|
|
2668
|
+
return {
|
|
2669
|
+
url: toPathString(localVarUrlObj),
|
|
2670
|
+
options: localVarRequestOptions,
|
|
2671
|
+
};
|
|
2672
|
+
},
|
|
2539
2673
|
/**
|
|
2540
2674
|
* (EXPERIMENTAL) Computes anomaly detection.
|
|
2541
2675
|
* @summary (EXPERIMENTAL) Smart functions - Anomaly Detection
|
|
@@ -2854,6 +2988,18 @@ export const SmartFunctionsApiFp = function (configuration) {
|
|
|
2854
2988
|
const localVarAxiosArgs = await localVarAxiosParamCreator.aiSearch(workspaceId, searchRequest, options);
|
|
2855
2989
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2856
2990
|
},
|
|
2991
|
+
/**
|
|
2992
|
+
* (BETA) Uses similarity (e.g. cosine distance) search to find top X most similar metadata objects.
|
|
2993
|
+
* @summary (BETA) Semantic Search in Metadata + creates new visualizations
|
|
2994
|
+
* @param {string} workspaceId Workspace identifier
|
|
2995
|
+
* @param {SearchCreateRequest} searchCreateRequest
|
|
2996
|
+
* @param {*} [options] Override http request option.
|
|
2997
|
+
* @throws {RequiredError}
|
|
2998
|
+
*/
|
|
2999
|
+
async aiSearchCreate(workspaceId, searchCreateRequest, options) {
|
|
3000
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.aiSearchCreate(workspaceId, searchCreateRequest, options);
|
|
3001
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3002
|
+
},
|
|
2857
3003
|
/**
|
|
2858
3004
|
* (EXPERIMENTAL) Computes anomaly detection.
|
|
2859
3005
|
* @summary (EXPERIMENTAL) Smart functions - Anomaly Detection
|
|
@@ -2971,6 +3117,18 @@ export const SmartFunctionsApiFactory = function (configuration, basePath, axios
|
|
|
2971
3117
|
.aiSearch(requestParameters.workspaceId, requestParameters.searchRequest, options)
|
|
2972
3118
|
.then((request) => request(axios, basePath));
|
|
2973
3119
|
},
|
|
3120
|
+
/**
|
|
3121
|
+
* (BETA) Uses similarity (e.g. cosine distance) search to find top X most similar metadata objects.
|
|
3122
|
+
* @summary (BETA) Semantic Search in Metadata + creates new visualizations
|
|
3123
|
+
* @param {SmartFunctionsApiAiSearchCreateRequest} requestParameters Request parameters.
|
|
3124
|
+
* @param {*} [options] Override http request option.
|
|
3125
|
+
* @throws {RequiredError}
|
|
3126
|
+
*/
|
|
3127
|
+
aiSearchCreate(requestParameters, options) {
|
|
3128
|
+
return localVarFp
|
|
3129
|
+
.aiSearchCreate(requestParameters.workspaceId, requestParameters.searchCreateRequest, options)
|
|
3130
|
+
.then((request) => request(axios, basePath));
|
|
3131
|
+
},
|
|
2974
3132
|
/**
|
|
2975
3133
|
* (EXPERIMENTAL) Computes anomaly detection.
|
|
2976
3134
|
* @summary (EXPERIMENTAL) Smart functions - Anomaly Detection
|
|
@@ -3078,6 +3236,19 @@ export class SmartFunctionsApi extends BaseAPI {
|
|
|
3078
3236
|
.aiSearch(requestParameters.workspaceId, requestParameters.searchRequest, options)
|
|
3079
3237
|
.then((request) => request(this.axios, this.basePath));
|
|
3080
3238
|
}
|
|
3239
|
+
/**
|
|
3240
|
+
* (BETA) Uses similarity (e.g. cosine distance) search to find top X most similar metadata objects.
|
|
3241
|
+
* @summary (BETA) Semantic Search in Metadata + creates new visualizations
|
|
3242
|
+
* @param {SmartFunctionsApiAiSearchCreateRequest} requestParameters Request parameters.
|
|
3243
|
+
* @param {*} [options] Override http request option.
|
|
3244
|
+
* @throws {RequiredError}
|
|
3245
|
+
* @memberof SmartFunctionsApi
|
|
3246
|
+
*/
|
|
3247
|
+
aiSearchCreate(requestParameters, options) {
|
|
3248
|
+
return SmartFunctionsApiFp(this.configuration)
|
|
3249
|
+
.aiSearchCreate(requestParameters.workspaceId, requestParameters.searchCreateRequest, options)
|
|
3250
|
+
.then((request) => request(this.axios, this.basePath));
|
|
3251
|
+
}
|
|
3081
3252
|
/**
|
|
3082
3253
|
* (EXPERIMENTAL) Computes anomaly detection.
|
|
3083
3254
|
* @summary (EXPERIMENTAL) Smart functions - Anomaly Detection
|