@gooddata/api-client-tiger 10.1.0-alpha.1 → 10.1.0-alpha.10

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.
Files changed (46) hide show
  1. package/esm/__version.d.ts +1 -1
  2. package/esm/__version.d.ts.map +1 -1
  3. package/esm/__version.js +1 -1
  4. package/esm/__version.js.map +1 -1
  5. package/esm/api-client-tiger.d.ts +2594 -1017
  6. package/esm/generated/afm-rest-api/api.d.ts +816 -24
  7. package/esm/generated/afm-rest-api/api.d.ts.map +1 -1
  8. package/esm/generated/afm-rest-api/api.js +716 -7
  9. package/esm/generated/afm-rest-api/api.js.map +1 -1
  10. package/esm/generated/afm-rest-api/openapi-spec.json +1129 -767
  11. package/esm/generated/export-json-api/api.d.ts +89 -89
  12. package/esm/generated/export-json-api/api.d.ts.map +1 -1
  13. package/esm/generated/export-json-api/api.js +42 -42
  14. package/esm/generated/export-json-api/api.js.map +1 -1
  15. package/esm/generated/export-json-api/openapi-spec.json +5 -5
  16. package/esm/generated/metadata-json-api/api.d.ts +1598 -990
  17. package/esm/generated/metadata-json-api/api.d.ts.map +1 -1
  18. package/esm/generated/metadata-json-api/api.js +644 -14
  19. package/esm/generated/metadata-json-api/api.js.map +1 -1
  20. package/esm/generated/metadata-json-api/openapi-spec.json +4551 -4511
  21. package/esm/generated/result-json-api/api.d.ts +501 -0
  22. package/esm/generated/result-json-api/api.d.ts.map +1 -1
  23. package/esm/generated/result-json-api/api.js +519 -0
  24. package/esm/generated/result-json-api/api.js.map +1 -1
  25. package/esm/generated/result-json-api/openapi-spec.json +187 -0
  26. package/esm/generated/scan-json-api/api.d.ts +343 -0
  27. package/esm/generated/scan-json-api/api.d.ts.map +1 -1
  28. package/esm/generated/scan-json-api/api.js +102 -0
  29. package/esm/generated/scan-json-api/api.js.map +1 -1
  30. package/esm/generated/scan-json-api/openapi-spec.json +257 -0
  31. package/esm/index.d.ts +3 -3
  32. package/esm/index.d.ts.map +1 -1
  33. package/esm/index.js +3 -2
  34. package/esm/index.js.map +1 -1
  35. package/esm/metadataUtilities.d.ts +2 -2
  36. package/esm/metadataUtilities.d.ts.map +1 -1
  37. package/esm/metadataUtilities.js +1 -1
  38. package/esm/metadataUtilities.js.map +1 -1
  39. package/esm/organizationUtilities.d.ts +2 -2
  40. package/esm/organizationUtilities.d.ts.map +1 -1
  41. package/esm/organizationUtilities.js +1 -1
  42. package/esm/organizationUtilities.js.map +1 -1
  43. package/esm/result.d.ts +2 -2
  44. package/esm/result.d.ts.map +1 -1
  45. package/esm/result.js.map +1 -1
  46. package/package.json +3 -3
@@ -105,6 +105,35 @@ export const FilterByLabelTypeEnum = {
105
105
  PRIMARY: "PRIMARY",
106
106
  REQUESTED: "REQUESTED",
107
107
  };
108
+ export const KeyDriversDimensionGranularityEnum = {
109
+ MINUTE: "MINUTE",
110
+ HOUR: "HOUR",
111
+ DAY: "DAY",
112
+ WEEK: "WEEK",
113
+ MONTH: "MONTH",
114
+ QUARTER: "QUARTER",
115
+ YEAR: "YEAR",
116
+ MINUTE_OF_HOUR: "MINUTE_OF_HOUR",
117
+ HOUR_OF_DAY: "HOUR_OF_DAY",
118
+ DAY_OF_WEEK: "DAY_OF_WEEK",
119
+ DAY_OF_MONTH: "DAY_OF_MONTH",
120
+ DAY_OF_YEAR: "DAY_OF_YEAR",
121
+ WEEK_OF_YEAR: "WEEK_OF_YEAR",
122
+ MONTH_OF_YEAR: "MONTH_OF_YEAR",
123
+ QUARTER_OF_YEAR: "QUARTER_OF_YEAR",
124
+ };
125
+ export const KeyDriversDimensionValueTypeEnum = {
126
+ TEXT: "TEXT",
127
+ HYPERLINK: "HYPERLINK",
128
+ GEO: "GEO",
129
+ GEO_LONGITUDE: "GEO_LONGITUDE",
130
+ GEO_LATITUDE: "GEO_LATITUDE",
131
+ IMAGE: "IMAGE",
132
+ };
133
+ export const KeyDriversRequestSortDirectionEnum = {
134
+ ASC: "ASC",
135
+ DESC: "DESC",
136
+ };
108
137
  export const RangeMeasureValueFilterRangeMeasureValueFilterOperatorEnum = {
109
138
  BETWEEN: "BETWEEN",
110
139
  NOT_BETWEEN: "NOT_BETWEEN",
@@ -171,6 +200,101 @@ export const TotalFunctionEnum = {
171
200
  */
172
201
  export const ActionsApiAxiosParamCreator = function (configuration) {
173
202
  return {
203
+ /**
204
+ * (EXPERIMENTAL) Computes anomaly detection.
205
+ * @summary (EXPERIMENTAL) Smart functions - Anomaly Detection
206
+ * @param {string} workspaceId Workspace identifier
207
+ * @param {string} resultId Input result ID to be used in the computation
208
+ * @param {AnomalyDetectionRequest} anomalyDetectionRequest
209
+ * @param {boolean} [skipCache] Ignore all caches during execution of current request.
210
+ * @param {*} [options] Override http request option.
211
+ * @throws {RequiredError}
212
+ */
213
+ anomalyDetection: async (workspaceId, resultId, anomalyDetectionRequest, skipCache, options = {}) => {
214
+ // verify required parameter 'workspaceId' is not null or undefined
215
+ assertParamExists("anomalyDetection", "workspaceId", workspaceId);
216
+ // verify required parameter 'resultId' is not null or undefined
217
+ assertParamExists("anomalyDetection", "resultId", resultId);
218
+ // verify required parameter 'anomalyDetectionRequest' is not null or undefined
219
+ assertParamExists("anomalyDetection", "anomalyDetectionRequest", anomalyDetectionRequest);
220
+ const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/execution/functions/anomalyDetection/{resultId}`
221
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
222
+ .replace(`{${"resultId"}}`, encodeURIComponent(String(resultId)));
223
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
224
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
225
+ let baseOptions;
226
+ if (configuration) {
227
+ baseOptions = configuration.baseOptions;
228
+ }
229
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
230
+ const localVarHeaderParameter = {};
231
+ const localVarQueryParameter = {};
232
+ if (skipCache !== undefined && skipCache !== null) {
233
+ localVarHeaderParameter["skip-cache"] = String(JSON.stringify(skipCache));
234
+ }
235
+ localVarHeaderParameter["Content-Type"] = "application/json";
236
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
237
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
238
+ localVarRequestOptions.headers = {
239
+ ...localVarHeaderParameter,
240
+ ...headersFromBaseOptions,
241
+ ...options.headers,
242
+ };
243
+ const needsSerialization = typeof anomalyDetectionRequest !== "string" ||
244
+ localVarRequestOptions.headers["Content-Type"] === "application/json";
245
+ localVarRequestOptions.data = needsSerialization
246
+ ? JSON.stringify(anomalyDetectionRequest !== undefined ? anomalyDetectionRequest : {})
247
+ : anomalyDetectionRequest || "";
248
+ return {
249
+ url: toPathString(localVarUrlObj),
250
+ options: localVarRequestOptions,
251
+ };
252
+ },
253
+ /**
254
+ * (EXPERIMENTAL) Gets anomalies.
255
+ * @summary (EXPERIMENTAL) Smart functions - Anomaly Detection Result
256
+ * @param {string} workspaceId Workspace identifier
257
+ * @param {string} resultId Result ID
258
+ * @param {number} [offset]
259
+ * @param {number} [limit]
260
+ * @param {*} [options] Override http request option.
261
+ * @throws {RequiredError}
262
+ */
263
+ anomalyDetectionResult: async (workspaceId, resultId, offset, limit, options = {}) => {
264
+ // verify required parameter 'workspaceId' is not null or undefined
265
+ assertParamExists("anomalyDetectionResult", "workspaceId", workspaceId);
266
+ // verify required parameter 'resultId' is not null or undefined
267
+ assertParamExists("anomalyDetectionResult", "resultId", resultId);
268
+ const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/execution/functions/anomalyDetection/result/{resultId}`
269
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
270
+ .replace(`{${"resultId"}}`, encodeURIComponent(String(resultId)));
271
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
272
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
273
+ let baseOptions;
274
+ if (configuration) {
275
+ baseOptions = configuration.baseOptions;
276
+ }
277
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
278
+ const localVarHeaderParameter = {};
279
+ const localVarQueryParameter = {};
280
+ if (offset !== undefined) {
281
+ localVarQueryParameter["offset"] = offset;
282
+ }
283
+ if (limit !== undefined) {
284
+ localVarQueryParameter["limit"] = limit;
285
+ }
286
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
287
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
288
+ localVarRequestOptions.headers = {
289
+ ...localVarHeaderParameter,
290
+ ...headersFromBaseOptions,
291
+ ...options.headers,
292
+ };
293
+ return {
294
+ url: toPathString(localVarUrlObj),
295
+ options: localVarRequestOptions,
296
+ };
297
+ },
174
298
  /**
175
299
  * (EXPERIMENTAL) Computes clusters for data points from the provided execution result and parameters.
176
300
  * @summary (EXPERIMENTAL) Smart functions - Clustering
@@ -590,6 +714,96 @@ export const ActionsApiAxiosParamCreator = function (configuration) {
590
714
  options: localVarRequestOptions,
591
715
  };
592
716
  },
717
+ /**
718
+ * (EXPERIMENTAL) Computes key driver analysis for the provided execution definition.
719
+ * @summary (EXPERIMENTAL) Compute key driver analysis
720
+ * @param {string} workspaceId Workspace identifier
721
+ * @param {KeyDriversRequest} keyDriversRequest
722
+ * @param {boolean} [skipCache] Ignore all caches during execution of current request.
723
+ * @param {*} [options] Override http request option.
724
+ * @throws {RequiredError}
725
+ */
726
+ keyDriverAnalysis: async (workspaceId, keyDriversRequest, skipCache, options = {}) => {
727
+ // verify required parameter 'workspaceId' is not null or undefined
728
+ assertParamExists("keyDriverAnalysis", "workspaceId", workspaceId);
729
+ // verify required parameter 'keyDriversRequest' is not null or undefined
730
+ assertParamExists("keyDriverAnalysis", "keyDriversRequest", keyDriversRequest);
731
+ const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/execution/computeKeyDrivers`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
732
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
733
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
734
+ let baseOptions;
735
+ if (configuration) {
736
+ baseOptions = configuration.baseOptions;
737
+ }
738
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
739
+ const localVarHeaderParameter = {};
740
+ const localVarQueryParameter = {};
741
+ if (skipCache !== undefined && skipCache !== null) {
742
+ localVarHeaderParameter["skip-cache"] = String(JSON.stringify(skipCache));
743
+ }
744
+ localVarHeaderParameter["Content-Type"] = "application/json";
745
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
746
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
747
+ localVarRequestOptions.headers = {
748
+ ...localVarHeaderParameter,
749
+ ...headersFromBaseOptions,
750
+ ...options.headers,
751
+ };
752
+ const needsSerialization = typeof keyDriversRequest !== "string" ||
753
+ localVarRequestOptions.headers["Content-Type"] === "application/json";
754
+ localVarRequestOptions.data = needsSerialization
755
+ ? JSON.stringify(keyDriversRequest !== undefined ? keyDriversRequest : {})
756
+ : keyDriversRequest || "";
757
+ return {
758
+ url: toPathString(localVarUrlObj),
759
+ options: localVarRequestOptions,
760
+ };
761
+ },
762
+ /**
763
+ * (EXPERIMENTAL) Gets key driver analysis.
764
+ * @summary (EXPERIMENTAL) Get key driver analysis result
765
+ * @param {string} workspaceId Workspace identifier
766
+ * @param {string} resultId Result ID
767
+ * @param {number} [offset]
768
+ * @param {number} [limit]
769
+ * @param {*} [options] Override http request option.
770
+ * @throws {RequiredError}
771
+ */
772
+ keyDriverAnalysisResult: async (workspaceId, resultId, offset, limit, options = {}) => {
773
+ // verify required parameter 'workspaceId' is not null or undefined
774
+ assertParamExists("keyDriverAnalysisResult", "workspaceId", workspaceId);
775
+ // verify required parameter 'resultId' is not null or undefined
776
+ assertParamExists("keyDriverAnalysisResult", "resultId", resultId);
777
+ const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/execution/computeKeyDrivers/result/{resultId}`
778
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
779
+ .replace(`{${"resultId"}}`, encodeURIComponent(String(resultId)));
780
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
781
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
782
+ let baseOptions;
783
+ if (configuration) {
784
+ baseOptions = configuration.baseOptions;
785
+ }
786
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
787
+ const localVarHeaderParameter = {};
788
+ const localVarQueryParameter = {};
789
+ if (offset !== undefined) {
790
+ localVarQueryParameter["offset"] = offset;
791
+ }
792
+ if (limit !== undefined) {
793
+ localVarQueryParameter["limit"] = limit;
794
+ }
795
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
796
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
797
+ localVarRequestOptions.headers = {
798
+ ...localVarHeaderParameter,
799
+ ...headersFromBaseOptions,
800
+ ...options.headers,
801
+ };
802
+ return {
803
+ url: toPathString(localVarUrlObj),
804
+ options: localVarRequestOptions,
805
+ };
806
+ },
593
807
  /**
594
808
  * The resource provides execution result\'s metadata as AFM and resultSpec used in execution request and an executionResponse
595
809
  * @summary Get a single execution result\'s metadata.
@@ -685,6 +899,34 @@ export const ActionsApiAxiosParamCreator = function (configuration) {
685
899
  export const ActionsApiFp = function (configuration) {
686
900
  const localVarAxiosParamCreator = ActionsApiAxiosParamCreator(configuration);
687
901
  return {
902
+ /**
903
+ * (EXPERIMENTAL) Computes anomaly detection.
904
+ * @summary (EXPERIMENTAL) Smart functions - Anomaly Detection
905
+ * @param {string} workspaceId Workspace identifier
906
+ * @param {string} resultId Input result ID to be used in the computation
907
+ * @param {AnomalyDetectionRequest} anomalyDetectionRequest
908
+ * @param {boolean} [skipCache] Ignore all caches during execution of current request.
909
+ * @param {*} [options] Override http request option.
910
+ * @throws {RequiredError}
911
+ */
912
+ async anomalyDetection(workspaceId, resultId, anomalyDetectionRequest, skipCache, options) {
913
+ const localVarAxiosArgs = await localVarAxiosParamCreator.anomalyDetection(workspaceId, resultId, anomalyDetectionRequest, skipCache, options);
914
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
915
+ },
916
+ /**
917
+ * (EXPERIMENTAL) Gets anomalies.
918
+ * @summary (EXPERIMENTAL) Smart functions - Anomaly Detection Result
919
+ * @param {string} workspaceId Workspace identifier
920
+ * @param {string} resultId Result ID
921
+ * @param {number} [offset]
922
+ * @param {number} [limit]
923
+ * @param {*} [options] Override http request option.
924
+ * @throws {RequiredError}
925
+ */
926
+ async anomalyDetectionResult(workspaceId, resultId, offset, limit, options) {
927
+ const localVarAxiosArgs = await localVarAxiosParamCreator.anomalyDetectionResult(workspaceId, resultId, offset, limit, options);
928
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
929
+ },
688
930
  /**
689
931
  * (EXPERIMENTAL) Computes clusters for data points from the provided execution result and parameters.
690
932
  * @summary (EXPERIMENTAL) Smart functions - Clustering
@@ -807,6 +1049,33 @@ export const ActionsApiFp = function (configuration) {
807
1049
  const localVarAxiosArgs = await localVarAxiosParamCreator.forecastResult(workspaceId, resultId, offset, limit, options);
808
1050
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
809
1051
  },
1052
+ /**
1053
+ * (EXPERIMENTAL) Computes key driver analysis for the provided execution definition.
1054
+ * @summary (EXPERIMENTAL) Compute key driver analysis
1055
+ * @param {string} workspaceId Workspace identifier
1056
+ * @param {KeyDriversRequest} keyDriversRequest
1057
+ * @param {boolean} [skipCache] Ignore all caches during execution of current request.
1058
+ * @param {*} [options] Override http request option.
1059
+ * @throws {RequiredError}
1060
+ */
1061
+ async keyDriverAnalysis(workspaceId, keyDriversRequest, skipCache, options) {
1062
+ const localVarAxiosArgs = await localVarAxiosParamCreator.keyDriverAnalysis(workspaceId, keyDriversRequest, skipCache, options);
1063
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1064
+ },
1065
+ /**
1066
+ * (EXPERIMENTAL) Gets key driver analysis.
1067
+ * @summary (EXPERIMENTAL) Get key driver analysis result
1068
+ * @param {string} workspaceId Workspace identifier
1069
+ * @param {string} resultId Result ID
1070
+ * @param {number} [offset]
1071
+ * @param {number} [limit]
1072
+ * @param {*} [options] Override http request option.
1073
+ * @throws {RequiredError}
1074
+ */
1075
+ async keyDriverAnalysisResult(workspaceId, resultId, offset, limit, options) {
1076
+ const localVarAxiosArgs = await localVarAxiosParamCreator.keyDriverAnalysisResult(workspaceId, resultId, offset, limit, options);
1077
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1078
+ },
810
1079
  /**
811
1080
  * The resource provides execution result\'s metadata as AFM and resultSpec used in execution request and an executionResponse
812
1081
  * @summary Get a single execution result\'s metadata.
@@ -843,6 +1112,30 @@ export const ActionsApiFp = function (configuration) {
843
1112
  export const ActionsApiFactory = function (configuration, basePath, axios) {
844
1113
  const localVarFp = ActionsApiFp(configuration);
845
1114
  return {
1115
+ /**
1116
+ * (EXPERIMENTAL) Computes anomaly detection.
1117
+ * @summary (EXPERIMENTAL) Smart functions - Anomaly Detection
1118
+ * @param {ActionsApiAnomalyDetectionRequest} requestParameters Request parameters.
1119
+ * @param {*} [options] Override http request option.
1120
+ * @throws {RequiredError}
1121
+ */
1122
+ anomalyDetection(requestParameters, options) {
1123
+ return localVarFp
1124
+ .anomalyDetection(requestParameters.workspaceId, requestParameters.resultId, requestParameters.anomalyDetectionRequest, requestParameters.skipCache, options)
1125
+ .then((request) => request(axios, basePath));
1126
+ },
1127
+ /**
1128
+ * (EXPERIMENTAL) Gets anomalies.
1129
+ * @summary (EXPERIMENTAL) Smart functions - Anomaly Detection Result
1130
+ * @param {ActionsApiAnomalyDetectionResultRequest} requestParameters Request parameters.
1131
+ * @param {*} [options] Override http request option.
1132
+ * @throws {RequiredError}
1133
+ */
1134
+ anomalyDetectionResult(requestParameters, options) {
1135
+ return localVarFp
1136
+ .anomalyDetectionResult(requestParameters.workspaceId, requestParameters.resultId, requestParameters.offset, requestParameters.limit, options)
1137
+ .then((request) => request(axios, basePath));
1138
+ },
846
1139
  /**
847
1140
  * (EXPERIMENTAL) Computes clusters for data points from the provided execution result and parameters.
848
1141
  * @summary (EXPERIMENTAL) Smart functions - Clustering
@@ -951,6 +1244,30 @@ export const ActionsApiFactory = function (configuration, basePath, axios) {
951
1244
  .forecastResult(requestParameters.workspaceId, requestParameters.resultId, requestParameters.offset, requestParameters.limit, options)
952
1245
  .then((request) => request(axios, basePath));
953
1246
  },
1247
+ /**
1248
+ * (EXPERIMENTAL) Computes key driver analysis for the provided execution definition.
1249
+ * @summary (EXPERIMENTAL) Compute key driver analysis
1250
+ * @param {ActionsApiKeyDriverAnalysisRequest} requestParameters Request parameters.
1251
+ * @param {*} [options] Override http request option.
1252
+ * @throws {RequiredError}
1253
+ */
1254
+ keyDriverAnalysis(requestParameters, options) {
1255
+ return localVarFp
1256
+ .keyDriverAnalysis(requestParameters.workspaceId, requestParameters.keyDriversRequest, requestParameters.skipCache, options)
1257
+ .then((request) => request(axios, basePath));
1258
+ },
1259
+ /**
1260
+ * (EXPERIMENTAL) Gets key driver analysis.
1261
+ * @summary (EXPERIMENTAL) Get key driver analysis result
1262
+ * @param {ActionsApiKeyDriverAnalysisResultRequest} requestParameters Request parameters.
1263
+ * @param {*} [options] Override http request option.
1264
+ * @throws {RequiredError}
1265
+ */
1266
+ keyDriverAnalysisResult(requestParameters, options) {
1267
+ return localVarFp
1268
+ .keyDriverAnalysisResult(requestParameters.workspaceId, requestParameters.resultId, requestParameters.offset, requestParameters.limit, options)
1269
+ .then((request) => request(axios, basePath));
1270
+ },
954
1271
  /**
955
1272
  * The resource provides execution result\'s metadata as AFM and resultSpec used in execution request and an executionResponse
956
1273
  * @summary Get a single execution result\'s metadata.
@@ -984,6 +1301,32 @@ export const ActionsApiFactory = function (configuration, basePath, axios) {
984
1301
  * @extends {BaseAPI}
985
1302
  */
986
1303
  export class ActionsApi extends BaseAPI {
1304
+ /**
1305
+ * (EXPERIMENTAL) Computes anomaly detection.
1306
+ * @summary (EXPERIMENTAL) Smart functions - Anomaly Detection
1307
+ * @param {ActionsApiAnomalyDetectionRequest} requestParameters Request parameters.
1308
+ * @param {*} [options] Override http request option.
1309
+ * @throws {RequiredError}
1310
+ * @memberof ActionsApi
1311
+ */
1312
+ anomalyDetection(requestParameters, options) {
1313
+ return ActionsApiFp(this.configuration)
1314
+ .anomalyDetection(requestParameters.workspaceId, requestParameters.resultId, requestParameters.anomalyDetectionRequest, requestParameters.skipCache, options)
1315
+ .then((request) => request(this.axios, this.basePath));
1316
+ }
1317
+ /**
1318
+ * (EXPERIMENTAL) Gets anomalies.
1319
+ * @summary (EXPERIMENTAL) Smart functions - Anomaly Detection Result
1320
+ * @param {ActionsApiAnomalyDetectionResultRequest} requestParameters Request parameters.
1321
+ * @param {*} [options] Override http request option.
1322
+ * @throws {RequiredError}
1323
+ * @memberof ActionsApi
1324
+ */
1325
+ anomalyDetectionResult(requestParameters, options) {
1326
+ return ActionsApiFp(this.configuration)
1327
+ .anomalyDetectionResult(requestParameters.workspaceId, requestParameters.resultId, requestParameters.offset, requestParameters.limit, options)
1328
+ .then((request) => request(this.axios, this.basePath));
1329
+ }
987
1330
  /**
988
1331
  * (EXPERIMENTAL) Computes clusters for data points from the provided execution result and parameters.
989
1332
  * @summary (EXPERIMENTAL) Smart functions - Clustering
@@ -1083,22 +1426,48 @@ export class ActionsApi extends BaseAPI {
1083
1426
  * @throws {RequiredError}
1084
1427
  * @memberof ActionsApi
1085
1428
  */
1086
- forecast(requestParameters, options) {
1429
+ forecast(requestParameters, options) {
1430
+ return ActionsApiFp(this.configuration)
1431
+ .forecast(requestParameters.workspaceId, requestParameters.resultId, requestParameters.forecastRequest, requestParameters.skipCache, options)
1432
+ .then((request) => request(this.axios, this.basePath));
1433
+ }
1434
+ /**
1435
+ * (BETA) Gets forecast result.
1436
+ * @summary (BETA) Smart functions - Forecast Result
1437
+ * @param {ActionsApiForecastResultRequest} requestParameters Request parameters.
1438
+ * @param {*} [options] Override http request option.
1439
+ * @throws {RequiredError}
1440
+ * @memberof ActionsApi
1441
+ */
1442
+ forecastResult(requestParameters, options) {
1443
+ return ActionsApiFp(this.configuration)
1444
+ .forecastResult(requestParameters.workspaceId, requestParameters.resultId, requestParameters.offset, requestParameters.limit, options)
1445
+ .then((request) => request(this.axios, this.basePath));
1446
+ }
1447
+ /**
1448
+ * (EXPERIMENTAL) Computes key driver analysis for the provided execution definition.
1449
+ * @summary (EXPERIMENTAL) Compute key driver analysis
1450
+ * @param {ActionsApiKeyDriverAnalysisRequest} requestParameters Request parameters.
1451
+ * @param {*} [options] Override http request option.
1452
+ * @throws {RequiredError}
1453
+ * @memberof ActionsApi
1454
+ */
1455
+ keyDriverAnalysis(requestParameters, options) {
1087
1456
  return ActionsApiFp(this.configuration)
1088
- .forecast(requestParameters.workspaceId, requestParameters.resultId, requestParameters.forecastRequest, requestParameters.skipCache, options)
1457
+ .keyDriverAnalysis(requestParameters.workspaceId, requestParameters.keyDriversRequest, requestParameters.skipCache, options)
1089
1458
  .then((request) => request(this.axios, this.basePath));
1090
1459
  }
1091
1460
  /**
1092
- * (BETA) Gets forecast result.
1093
- * @summary (BETA) Smart functions - Forecast Result
1094
- * @param {ActionsApiForecastResultRequest} requestParameters Request parameters.
1461
+ * (EXPERIMENTAL) Gets key driver analysis.
1462
+ * @summary (EXPERIMENTAL) Get key driver analysis result
1463
+ * @param {ActionsApiKeyDriverAnalysisResultRequest} requestParameters Request parameters.
1095
1464
  * @param {*} [options] Override http request option.
1096
1465
  * @throws {RequiredError}
1097
1466
  * @memberof ActionsApi
1098
1467
  */
1099
- forecastResult(requestParameters, options) {
1468
+ keyDriverAnalysisResult(requestParameters, options) {
1100
1469
  return ActionsApiFp(this.configuration)
1101
- .forecastResult(requestParameters.workspaceId, requestParameters.resultId, requestParameters.offset, requestParameters.limit, options)
1470
+ .keyDriverAnalysisResult(requestParameters.workspaceId, requestParameters.resultId, requestParameters.offset, requestParameters.limit, options)
1102
1471
  .then((request) => request(this.axios, this.basePath));
1103
1472
  }
1104
1473
  /**
@@ -1363,6 +1732,96 @@ export const ComputationApiAxiosParamCreator = function (configuration) {
1363
1732
  options: localVarRequestOptions,
1364
1733
  };
1365
1734
  },
1735
+ /**
1736
+ * (EXPERIMENTAL) Computes key driver analysis for the provided execution definition.
1737
+ * @summary (EXPERIMENTAL) Compute key driver analysis
1738
+ * @param {string} workspaceId Workspace identifier
1739
+ * @param {KeyDriversRequest} keyDriversRequest
1740
+ * @param {boolean} [skipCache] Ignore all caches during execution of current request.
1741
+ * @param {*} [options] Override http request option.
1742
+ * @throws {RequiredError}
1743
+ */
1744
+ keyDriverAnalysis: async (workspaceId, keyDriversRequest, skipCache, options = {}) => {
1745
+ // verify required parameter 'workspaceId' is not null or undefined
1746
+ assertParamExists("keyDriverAnalysis", "workspaceId", workspaceId);
1747
+ // verify required parameter 'keyDriversRequest' is not null or undefined
1748
+ assertParamExists("keyDriverAnalysis", "keyDriversRequest", keyDriversRequest);
1749
+ const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/execution/computeKeyDrivers`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
1750
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1751
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1752
+ let baseOptions;
1753
+ if (configuration) {
1754
+ baseOptions = configuration.baseOptions;
1755
+ }
1756
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
1757
+ const localVarHeaderParameter = {};
1758
+ const localVarQueryParameter = {};
1759
+ if (skipCache !== undefined && skipCache !== null) {
1760
+ localVarHeaderParameter["skip-cache"] = String(JSON.stringify(skipCache));
1761
+ }
1762
+ localVarHeaderParameter["Content-Type"] = "application/json";
1763
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1764
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1765
+ localVarRequestOptions.headers = {
1766
+ ...localVarHeaderParameter,
1767
+ ...headersFromBaseOptions,
1768
+ ...options.headers,
1769
+ };
1770
+ const needsSerialization = typeof keyDriversRequest !== "string" ||
1771
+ localVarRequestOptions.headers["Content-Type"] === "application/json";
1772
+ localVarRequestOptions.data = needsSerialization
1773
+ ? JSON.stringify(keyDriversRequest !== undefined ? keyDriversRequest : {})
1774
+ : keyDriversRequest || "";
1775
+ return {
1776
+ url: toPathString(localVarUrlObj),
1777
+ options: localVarRequestOptions,
1778
+ };
1779
+ },
1780
+ /**
1781
+ * (EXPERIMENTAL) Gets key driver analysis.
1782
+ * @summary (EXPERIMENTAL) Get key driver analysis result
1783
+ * @param {string} workspaceId Workspace identifier
1784
+ * @param {string} resultId Result ID
1785
+ * @param {number} [offset]
1786
+ * @param {number} [limit]
1787
+ * @param {*} [options] Override http request option.
1788
+ * @throws {RequiredError}
1789
+ */
1790
+ keyDriverAnalysisResult: async (workspaceId, resultId, offset, limit, options = {}) => {
1791
+ // verify required parameter 'workspaceId' is not null or undefined
1792
+ assertParamExists("keyDriverAnalysisResult", "workspaceId", workspaceId);
1793
+ // verify required parameter 'resultId' is not null or undefined
1794
+ assertParamExists("keyDriverAnalysisResult", "resultId", resultId);
1795
+ const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/execution/computeKeyDrivers/result/{resultId}`
1796
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
1797
+ .replace(`{${"resultId"}}`, encodeURIComponent(String(resultId)));
1798
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1799
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1800
+ let baseOptions;
1801
+ if (configuration) {
1802
+ baseOptions = configuration.baseOptions;
1803
+ }
1804
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
1805
+ const localVarHeaderParameter = {};
1806
+ const localVarQueryParameter = {};
1807
+ if (offset !== undefined) {
1808
+ localVarQueryParameter["offset"] = offset;
1809
+ }
1810
+ if (limit !== undefined) {
1811
+ localVarQueryParameter["limit"] = limit;
1812
+ }
1813
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1814
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1815
+ localVarRequestOptions.headers = {
1816
+ ...localVarHeaderParameter,
1817
+ ...headersFromBaseOptions,
1818
+ ...options.headers,
1819
+ };
1820
+ return {
1821
+ url: toPathString(localVarUrlObj),
1822
+ options: localVarRequestOptions,
1823
+ };
1824
+ },
1366
1825
  /**
1367
1826
  * The resource provides execution result\'s metadata as AFM and resultSpec used in execution request and an executionResponse
1368
1827
  * @summary Get a single execution result\'s metadata.
@@ -1524,6 +1983,33 @@ export const ComputationApiFp = function (configuration) {
1524
1983
  const localVarAxiosArgs = await localVarAxiosParamCreator.explainAFM(workspaceId, afmExecution, explainType, options);
1525
1984
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1526
1985
  },
1986
+ /**
1987
+ * (EXPERIMENTAL) Computes key driver analysis for the provided execution definition.
1988
+ * @summary (EXPERIMENTAL) Compute key driver analysis
1989
+ * @param {string} workspaceId Workspace identifier
1990
+ * @param {KeyDriversRequest} keyDriversRequest
1991
+ * @param {boolean} [skipCache] Ignore all caches during execution of current request.
1992
+ * @param {*} [options] Override http request option.
1993
+ * @throws {RequiredError}
1994
+ */
1995
+ async keyDriverAnalysis(workspaceId, keyDriversRequest, skipCache, options) {
1996
+ const localVarAxiosArgs = await localVarAxiosParamCreator.keyDriverAnalysis(workspaceId, keyDriversRequest, skipCache, options);
1997
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1998
+ },
1999
+ /**
2000
+ * (EXPERIMENTAL) Gets key driver analysis.
2001
+ * @summary (EXPERIMENTAL) Get key driver analysis result
2002
+ * @param {string} workspaceId Workspace identifier
2003
+ * @param {string} resultId Result ID
2004
+ * @param {number} [offset]
2005
+ * @param {number} [limit]
2006
+ * @param {*} [options] Override http request option.
2007
+ * @throws {RequiredError}
2008
+ */
2009
+ async keyDriverAnalysisResult(workspaceId, resultId, offset, limit, options) {
2010
+ const localVarAxiosArgs = await localVarAxiosParamCreator.keyDriverAnalysisResult(workspaceId, resultId, offset, limit, options);
2011
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2012
+ },
1527
2013
  /**
1528
2014
  * The resource provides execution result\'s metadata as AFM and resultSpec used in execution request and an executionResponse
1529
2015
  * @summary Get a single execution result\'s metadata.
@@ -1620,6 +2106,30 @@ export const ComputationApiFactory = function (configuration, basePath, axios) {
1620
2106
  .explainAFM(requestParameters.workspaceId, requestParameters.afmExecution, requestParameters.explainType, options)
1621
2107
  .then((request) => request(axios, basePath));
1622
2108
  },
2109
+ /**
2110
+ * (EXPERIMENTAL) Computes key driver analysis for the provided execution definition.
2111
+ * @summary (EXPERIMENTAL) Compute key driver analysis
2112
+ * @param {ComputationApiKeyDriverAnalysisRequest} requestParameters Request parameters.
2113
+ * @param {*} [options] Override http request option.
2114
+ * @throws {RequiredError}
2115
+ */
2116
+ keyDriverAnalysis(requestParameters, options) {
2117
+ return localVarFp
2118
+ .keyDriverAnalysis(requestParameters.workspaceId, requestParameters.keyDriversRequest, requestParameters.skipCache, options)
2119
+ .then((request) => request(axios, basePath));
2120
+ },
2121
+ /**
2122
+ * (EXPERIMENTAL) Gets key driver analysis.
2123
+ * @summary (EXPERIMENTAL) Get key driver analysis result
2124
+ * @param {ComputationApiKeyDriverAnalysisResultRequest} requestParameters Request parameters.
2125
+ * @param {*} [options] Override http request option.
2126
+ * @throws {RequiredError}
2127
+ */
2128
+ keyDriverAnalysisResult(requestParameters, options) {
2129
+ return localVarFp
2130
+ .keyDriverAnalysisResult(requestParameters.workspaceId, requestParameters.resultId, requestParameters.offset, requestParameters.limit, options)
2131
+ .then((request) => request(axios, basePath));
2132
+ },
1623
2133
  /**
1624
2134
  * The resource provides execution result\'s metadata as AFM and resultSpec used in execution request and an executionResponse
1625
2135
  * @summary Get a single execution result\'s metadata.
@@ -1718,6 +2228,32 @@ export class ComputationApi extends BaseAPI {
1718
2228
  .explainAFM(requestParameters.workspaceId, requestParameters.afmExecution, requestParameters.explainType, options)
1719
2229
  .then((request) => request(this.axios, this.basePath));
1720
2230
  }
2231
+ /**
2232
+ * (EXPERIMENTAL) Computes key driver analysis for the provided execution definition.
2233
+ * @summary (EXPERIMENTAL) Compute key driver analysis
2234
+ * @param {ComputationApiKeyDriverAnalysisRequest} requestParameters Request parameters.
2235
+ * @param {*} [options] Override http request option.
2236
+ * @throws {RequiredError}
2237
+ * @memberof ComputationApi
2238
+ */
2239
+ keyDriverAnalysis(requestParameters, options) {
2240
+ return ComputationApiFp(this.configuration)
2241
+ .keyDriverAnalysis(requestParameters.workspaceId, requestParameters.keyDriversRequest, requestParameters.skipCache, options)
2242
+ .then((request) => request(this.axios, this.basePath));
2243
+ }
2244
+ /**
2245
+ * (EXPERIMENTAL) Gets key driver analysis.
2246
+ * @summary (EXPERIMENTAL) Get key driver analysis result
2247
+ * @param {ComputationApiKeyDriverAnalysisResultRequest} requestParameters Request parameters.
2248
+ * @param {*} [options] Override http request option.
2249
+ * @throws {RequiredError}
2250
+ * @memberof ComputationApi
2251
+ */
2252
+ keyDriverAnalysisResult(requestParameters, options) {
2253
+ return ComputationApiFp(this.configuration)
2254
+ .keyDriverAnalysisResult(requestParameters.workspaceId, requestParameters.resultId, requestParameters.offset, requestParameters.limit, options)
2255
+ .then((request) => request(this.axios, this.basePath));
2256
+ }
1721
2257
  /**
1722
2258
  * The resource provides execution result\'s metadata as AFM and resultSpec used in execution request and an executionResponse
1723
2259
  * @summary Get a single execution result\'s metadata.
@@ -1751,6 +2287,101 @@ export class ComputationApi extends BaseAPI {
1751
2287
  */
1752
2288
  export const SmartFunctionsApiAxiosParamCreator = function (configuration) {
1753
2289
  return {
2290
+ /**
2291
+ * (EXPERIMENTAL) Computes anomaly detection.
2292
+ * @summary (EXPERIMENTAL) Smart functions - Anomaly Detection
2293
+ * @param {string} workspaceId Workspace identifier
2294
+ * @param {string} resultId Input result ID to be used in the computation
2295
+ * @param {AnomalyDetectionRequest} anomalyDetectionRequest
2296
+ * @param {boolean} [skipCache] Ignore all caches during execution of current request.
2297
+ * @param {*} [options] Override http request option.
2298
+ * @throws {RequiredError}
2299
+ */
2300
+ anomalyDetection: async (workspaceId, resultId, anomalyDetectionRequest, skipCache, options = {}) => {
2301
+ // verify required parameter 'workspaceId' is not null or undefined
2302
+ assertParamExists("anomalyDetection", "workspaceId", workspaceId);
2303
+ // verify required parameter 'resultId' is not null or undefined
2304
+ assertParamExists("anomalyDetection", "resultId", resultId);
2305
+ // verify required parameter 'anomalyDetectionRequest' is not null or undefined
2306
+ assertParamExists("anomalyDetection", "anomalyDetectionRequest", anomalyDetectionRequest);
2307
+ const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/execution/functions/anomalyDetection/{resultId}`
2308
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
2309
+ .replace(`{${"resultId"}}`, encodeURIComponent(String(resultId)));
2310
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2311
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2312
+ let baseOptions;
2313
+ if (configuration) {
2314
+ baseOptions = configuration.baseOptions;
2315
+ }
2316
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
2317
+ const localVarHeaderParameter = {};
2318
+ const localVarQueryParameter = {};
2319
+ if (skipCache !== undefined && skipCache !== null) {
2320
+ localVarHeaderParameter["skip-cache"] = String(JSON.stringify(skipCache));
2321
+ }
2322
+ localVarHeaderParameter["Content-Type"] = "application/json";
2323
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2324
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2325
+ localVarRequestOptions.headers = {
2326
+ ...localVarHeaderParameter,
2327
+ ...headersFromBaseOptions,
2328
+ ...options.headers,
2329
+ };
2330
+ const needsSerialization = typeof anomalyDetectionRequest !== "string" ||
2331
+ localVarRequestOptions.headers["Content-Type"] === "application/json";
2332
+ localVarRequestOptions.data = needsSerialization
2333
+ ? JSON.stringify(anomalyDetectionRequest !== undefined ? anomalyDetectionRequest : {})
2334
+ : anomalyDetectionRequest || "";
2335
+ return {
2336
+ url: toPathString(localVarUrlObj),
2337
+ options: localVarRequestOptions,
2338
+ };
2339
+ },
2340
+ /**
2341
+ * (EXPERIMENTAL) Gets anomalies.
2342
+ * @summary (EXPERIMENTAL) Smart functions - Anomaly Detection Result
2343
+ * @param {string} workspaceId Workspace identifier
2344
+ * @param {string} resultId Result ID
2345
+ * @param {number} [offset]
2346
+ * @param {number} [limit]
2347
+ * @param {*} [options] Override http request option.
2348
+ * @throws {RequiredError}
2349
+ */
2350
+ anomalyDetectionResult: async (workspaceId, resultId, offset, limit, options = {}) => {
2351
+ // verify required parameter 'workspaceId' is not null or undefined
2352
+ assertParamExists("anomalyDetectionResult", "workspaceId", workspaceId);
2353
+ // verify required parameter 'resultId' is not null or undefined
2354
+ assertParamExists("anomalyDetectionResult", "resultId", resultId);
2355
+ const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/execution/functions/anomalyDetection/result/{resultId}`
2356
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
2357
+ .replace(`{${"resultId"}}`, encodeURIComponent(String(resultId)));
2358
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2359
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2360
+ let baseOptions;
2361
+ if (configuration) {
2362
+ baseOptions = configuration.baseOptions;
2363
+ }
2364
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
2365
+ const localVarHeaderParameter = {};
2366
+ const localVarQueryParameter = {};
2367
+ if (offset !== undefined) {
2368
+ localVarQueryParameter["offset"] = offset;
2369
+ }
2370
+ if (limit !== undefined) {
2371
+ localVarQueryParameter["limit"] = limit;
2372
+ }
2373
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2374
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2375
+ localVarRequestOptions.headers = {
2376
+ ...localVarHeaderParameter,
2377
+ ...headersFromBaseOptions,
2378
+ ...options.headers,
2379
+ };
2380
+ return {
2381
+ url: toPathString(localVarUrlObj),
2382
+ options: localVarRequestOptions,
2383
+ };
2384
+ },
1754
2385
  /**
1755
2386
  * (EXPERIMENTAL) Computes clusters for data points from the provided execution result and parameters.
1756
2387
  * @summary (EXPERIMENTAL) Smart functions - Clustering
@@ -1950,6 +2581,34 @@ export const SmartFunctionsApiAxiosParamCreator = function (configuration) {
1950
2581
  export const SmartFunctionsApiFp = function (configuration) {
1951
2582
  const localVarAxiosParamCreator = SmartFunctionsApiAxiosParamCreator(configuration);
1952
2583
  return {
2584
+ /**
2585
+ * (EXPERIMENTAL) Computes anomaly detection.
2586
+ * @summary (EXPERIMENTAL) Smart functions - Anomaly Detection
2587
+ * @param {string} workspaceId Workspace identifier
2588
+ * @param {string} resultId Input result ID to be used in the computation
2589
+ * @param {AnomalyDetectionRequest} anomalyDetectionRequest
2590
+ * @param {boolean} [skipCache] Ignore all caches during execution of current request.
2591
+ * @param {*} [options] Override http request option.
2592
+ * @throws {RequiredError}
2593
+ */
2594
+ async anomalyDetection(workspaceId, resultId, anomalyDetectionRequest, skipCache, options) {
2595
+ const localVarAxiosArgs = await localVarAxiosParamCreator.anomalyDetection(workspaceId, resultId, anomalyDetectionRequest, skipCache, options);
2596
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2597
+ },
2598
+ /**
2599
+ * (EXPERIMENTAL) Gets anomalies.
2600
+ * @summary (EXPERIMENTAL) Smart functions - Anomaly Detection Result
2601
+ * @param {string} workspaceId Workspace identifier
2602
+ * @param {string} resultId Result ID
2603
+ * @param {number} [offset]
2604
+ * @param {number} [limit]
2605
+ * @param {*} [options] Override http request option.
2606
+ * @throws {RequiredError}
2607
+ */
2608
+ async anomalyDetectionResult(workspaceId, resultId, offset, limit, options) {
2609
+ const localVarAxiosArgs = await localVarAxiosParamCreator.anomalyDetectionResult(workspaceId, resultId, offset, limit, options);
2610
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2611
+ },
1953
2612
  /**
1954
2613
  * (EXPERIMENTAL) Computes clusters for data points from the provided execution result and parameters.
1955
2614
  * @summary (EXPERIMENTAL) Smart functions - Clustering
@@ -2015,6 +2674,30 @@ export const SmartFunctionsApiFp = function (configuration) {
2015
2674
  export const SmartFunctionsApiFactory = function (configuration, basePath, axios) {
2016
2675
  const localVarFp = SmartFunctionsApiFp(configuration);
2017
2676
  return {
2677
+ /**
2678
+ * (EXPERIMENTAL) Computes anomaly detection.
2679
+ * @summary (EXPERIMENTAL) Smart functions - Anomaly Detection
2680
+ * @param {SmartFunctionsApiAnomalyDetectionRequest} requestParameters Request parameters.
2681
+ * @param {*} [options] Override http request option.
2682
+ * @throws {RequiredError}
2683
+ */
2684
+ anomalyDetection(requestParameters, options) {
2685
+ return localVarFp
2686
+ .anomalyDetection(requestParameters.workspaceId, requestParameters.resultId, requestParameters.anomalyDetectionRequest, requestParameters.skipCache, options)
2687
+ .then((request) => request(axios, basePath));
2688
+ },
2689
+ /**
2690
+ * (EXPERIMENTAL) Gets anomalies.
2691
+ * @summary (EXPERIMENTAL) Smart functions - Anomaly Detection Result
2692
+ * @param {SmartFunctionsApiAnomalyDetectionResultRequest} requestParameters Request parameters.
2693
+ * @param {*} [options] Override http request option.
2694
+ * @throws {RequiredError}
2695
+ */
2696
+ anomalyDetectionResult(requestParameters, options) {
2697
+ return localVarFp
2698
+ .anomalyDetectionResult(requestParameters.workspaceId, requestParameters.resultId, requestParameters.offset, requestParameters.limit, options)
2699
+ .then((request) => request(axios, basePath));
2700
+ },
2018
2701
  /**
2019
2702
  * (EXPERIMENTAL) Computes clusters for data points from the provided execution result and parameters.
2020
2703
  * @summary (EXPERIMENTAL) Smart functions - Clustering
@@ -2072,6 +2755,32 @@ export const SmartFunctionsApiFactory = function (configuration, basePath, axios
2072
2755
  * @extends {BaseAPI}
2073
2756
  */
2074
2757
  export class SmartFunctionsApi extends BaseAPI {
2758
+ /**
2759
+ * (EXPERIMENTAL) Computes anomaly detection.
2760
+ * @summary (EXPERIMENTAL) Smart functions - Anomaly Detection
2761
+ * @param {SmartFunctionsApiAnomalyDetectionRequest} requestParameters Request parameters.
2762
+ * @param {*} [options] Override http request option.
2763
+ * @throws {RequiredError}
2764
+ * @memberof SmartFunctionsApi
2765
+ */
2766
+ anomalyDetection(requestParameters, options) {
2767
+ return SmartFunctionsApiFp(this.configuration)
2768
+ .anomalyDetection(requestParameters.workspaceId, requestParameters.resultId, requestParameters.anomalyDetectionRequest, requestParameters.skipCache, options)
2769
+ .then((request) => request(this.axios, this.basePath));
2770
+ }
2771
+ /**
2772
+ * (EXPERIMENTAL) Gets anomalies.
2773
+ * @summary (EXPERIMENTAL) Smart functions - Anomaly Detection Result
2774
+ * @param {SmartFunctionsApiAnomalyDetectionResultRequest} requestParameters Request parameters.
2775
+ * @param {*} [options] Override http request option.
2776
+ * @throws {RequiredError}
2777
+ * @memberof SmartFunctionsApi
2778
+ */
2779
+ anomalyDetectionResult(requestParameters, options) {
2780
+ return SmartFunctionsApiFp(this.configuration)
2781
+ .anomalyDetectionResult(requestParameters.workspaceId, requestParameters.resultId, requestParameters.offset, requestParameters.limit, options)
2782
+ .then((request) => request(this.axios, this.basePath));
2783
+ }
2075
2784
  /**
2076
2785
  * (EXPERIMENTAL) Computes clusters for data points from the provided execution result and parameters.
2077
2786
  * @summary (EXPERIMENTAL) Smart functions - Clustering