@gooddata/api-client-tiger 9.10.0-alpha.9 → 10.0.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.
- 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 +1513 -982
- package/esm/generated/afm-rest-api/api.d.ts +811 -0
- package/esm/generated/afm-rest-api/api.d.ts.map +1 -1
- package/esm/generated/afm-rest-api/api.js +734 -0
- package/esm/generated/afm-rest-api/api.js.map +1 -1
- package/esm/generated/afm-rest-api/openapi-spec.json +392 -9
- package/esm/generated/export-json-api/api.d.ts +3 -3
- package/esm/generated/export-json-api/api.d.ts.map +1 -1
- package/esm/generated/export-json-api/openapi-spec.json +9 -9
- package/esm/generated/metadata-json-api/api.d.ts +976 -923
- package/esm/generated/metadata-json-api/api.d.ts.map +1 -1
- package/esm/generated/metadata-json-api/api.js +34 -26
- package/esm/generated/metadata-json-api/api.js.map +1 -1
- package/esm/generated/metadata-json-api/openapi-spec.json +3731 -3653
- package/esm/generated/scan-json-api/api.d.ts +1 -0
- package/esm/generated/scan-json-api/api.d.ts.map +1 -1
- package/esm/generated/scan-json-api/api.js +1 -0
- package/esm/generated/scan-json-api/api.js.map +1 -1
- package/esm/generated/scan-json-api/openapi-spec.json +2 -1
- 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
|
@@ -64,6 +64,14 @@ export const AttributeHeaderOutAttributeHeaderGranularityEnum = {
|
|
|
64
64
|
MONTH_OF_YEAR: "MONTH_OF_YEAR",
|
|
65
65
|
QUARTER_OF_YEAR: "QUARTER_OF_YEAR",
|
|
66
66
|
};
|
|
67
|
+
export const AttributeHeaderOutAttributeHeaderValueTypeEnum = {
|
|
68
|
+
TEXT: "TEXT",
|
|
69
|
+
HYPERLINK: "HYPERLINK",
|
|
70
|
+
GEO: "GEO",
|
|
71
|
+
GEO_LONGITUDE: "GEO_LONGITUDE",
|
|
72
|
+
GEO_LATITUDE: "GEO_LATITUDE",
|
|
73
|
+
IMAGE: "IMAGE",
|
|
74
|
+
};
|
|
67
75
|
export const ComparisonMeasureValueFilterComparisonMeasureValueFilterOperatorEnum = {
|
|
68
76
|
GREATER_THAN: "GREATER_THAN",
|
|
69
77
|
GREATER_THAN_OR_EQUAL_TO: "GREATER_THAN_OR_EQUAL_TO",
|
|
@@ -163,6 +171,101 @@ export const TotalFunctionEnum = {
|
|
|
163
171
|
*/
|
|
164
172
|
export const ActionsApiAxiosParamCreator = function (configuration) {
|
|
165
173
|
return {
|
|
174
|
+
/**
|
|
175
|
+
* (EXPERIMENTAL) Computes clusters for data points from the provided execution result and parameters.
|
|
176
|
+
* @summary (EXPERIMENTAL) Smart functions - Clustering
|
|
177
|
+
* @param {string} workspaceId Workspace identifier
|
|
178
|
+
* @param {string} resultId Input result ID to be used in the computation
|
|
179
|
+
* @param {ClusteringRequest} clusteringRequest
|
|
180
|
+
* @param {boolean} [skipCache] Ignore all caches during execution of current request.
|
|
181
|
+
* @param {*} [options] Override http request option.
|
|
182
|
+
* @throws {RequiredError}
|
|
183
|
+
*/
|
|
184
|
+
clustering: async (workspaceId, resultId, clusteringRequest, skipCache, options = {}) => {
|
|
185
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
186
|
+
assertParamExists("clustering", "workspaceId", workspaceId);
|
|
187
|
+
// verify required parameter 'resultId' is not null or undefined
|
|
188
|
+
assertParamExists("clustering", "resultId", resultId);
|
|
189
|
+
// verify required parameter 'clusteringRequest' is not null or undefined
|
|
190
|
+
assertParamExists("clustering", "clusteringRequest", clusteringRequest);
|
|
191
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/execution/functions/clustering/{resultId}`
|
|
192
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
193
|
+
.replace(`{${"resultId"}}`, encodeURIComponent(String(resultId)));
|
|
194
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
195
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
196
|
+
let baseOptions;
|
|
197
|
+
if (configuration) {
|
|
198
|
+
baseOptions = configuration.baseOptions;
|
|
199
|
+
}
|
|
200
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
201
|
+
const localVarHeaderParameter = {};
|
|
202
|
+
const localVarQueryParameter = {};
|
|
203
|
+
if (skipCache !== undefined && skipCache !== null) {
|
|
204
|
+
localVarHeaderParameter["skip-cache"] = String(JSON.stringify(skipCache));
|
|
205
|
+
}
|
|
206
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
207
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
208
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
209
|
+
localVarRequestOptions.headers = {
|
|
210
|
+
...localVarHeaderParameter,
|
|
211
|
+
...headersFromBaseOptions,
|
|
212
|
+
...options.headers,
|
|
213
|
+
};
|
|
214
|
+
const needsSerialization = typeof clusteringRequest !== "string" ||
|
|
215
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
216
|
+
localVarRequestOptions.data = needsSerialization
|
|
217
|
+
? JSON.stringify(clusteringRequest !== undefined ? clusteringRequest : {})
|
|
218
|
+
: clusteringRequest || "";
|
|
219
|
+
return {
|
|
220
|
+
url: toPathString(localVarUrlObj),
|
|
221
|
+
options: localVarRequestOptions,
|
|
222
|
+
};
|
|
223
|
+
},
|
|
224
|
+
/**
|
|
225
|
+
* (EXPERIMENTAL) Gets clustering result.
|
|
226
|
+
* @summary (EXPERIMENTAL) Smart functions - Clustering Result
|
|
227
|
+
* @param {string} workspaceId Workspace identifier
|
|
228
|
+
* @param {string} resultId Result ID
|
|
229
|
+
* @param {number} [offset]
|
|
230
|
+
* @param {number} [limit]
|
|
231
|
+
* @param {*} [options] Override http request option.
|
|
232
|
+
* @throws {RequiredError}
|
|
233
|
+
*/
|
|
234
|
+
clusteringResult: async (workspaceId, resultId, offset, limit, options = {}) => {
|
|
235
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
236
|
+
assertParamExists("clusteringResult", "workspaceId", workspaceId);
|
|
237
|
+
// verify required parameter 'resultId' is not null or undefined
|
|
238
|
+
assertParamExists("clusteringResult", "resultId", resultId);
|
|
239
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/execution/functions/clustering/result/{resultId}`
|
|
240
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
241
|
+
.replace(`{${"resultId"}}`, encodeURIComponent(String(resultId)));
|
|
242
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
243
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
244
|
+
let baseOptions;
|
|
245
|
+
if (configuration) {
|
|
246
|
+
baseOptions = configuration.baseOptions;
|
|
247
|
+
}
|
|
248
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
249
|
+
const localVarHeaderParameter = {};
|
|
250
|
+
const localVarQueryParameter = {};
|
|
251
|
+
if (offset !== undefined) {
|
|
252
|
+
localVarQueryParameter["offset"] = offset;
|
|
253
|
+
}
|
|
254
|
+
if (limit !== undefined) {
|
|
255
|
+
localVarQueryParameter["limit"] = limit;
|
|
256
|
+
}
|
|
257
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
258
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
259
|
+
localVarRequestOptions.headers = {
|
|
260
|
+
...localVarHeaderParameter,
|
|
261
|
+
...headersFromBaseOptions,
|
|
262
|
+
...options.headers,
|
|
263
|
+
};
|
|
264
|
+
return {
|
|
265
|
+
url: toPathString(localVarUrlObj),
|
|
266
|
+
options: localVarRequestOptions,
|
|
267
|
+
};
|
|
268
|
+
},
|
|
166
269
|
/**
|
|
167
270
|
* Returns paged list of elements (values) of given label satisfying given filtering criteria.
|
|
168
271
|
* @summary Listing of label values. The resulting data are limited by the static platform limit to the maximum of 10000 rows.
|
|
@@ -392,6 +495,101 @@ export const ActionsApiAxiosParamCreator = function (configuration) {
|
|
|
392
495
|
options: localVarRequestOptions,
|
|
393
496
|
};
|
|
394
497
|
},
|
|
498
|
+
/**
|
|
499
|
+
* (BETA) Computes forecasted data points from the provided execution result and parameters.
|
|
500
|
+
* @summary (BETA) Smart functions - Forecast
|
|
501
|
+
* @param {string} workspaceId Workspace identifier
|
|
502
|
+
* @param {string} resultId Input result ID to be used in the computation
|
|
503
|
+
* @param {ForecastRequest} forecastRequest
|
|
504
|
+
* @param {boolean} [skipCache] Ignore all caches during execution of current request.
|
|
505
|
+
* @param {*} [options] Override http request option.
|
|
506
|
+
* @throws {RequiredError}
|
|
507
|
+
*/
|
|
508
|
+
forecast: async (workspaceId, resultId, forecastRequest, skipCache, options = {}) => {
|
|
509
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
510
|
+
assertParamExists("forecast", "workspaceId", workspaceId);
|
|
511
|
+
// verify required parameter 'resultId' is not null or undefined
|
|
512
|
+
assertParamExists("forecast", "resultId", resultId);
|
|
513
|
+
// verify required parameter 'forecastRequest' is not null or undefined
|
|
514
|
+
assertParamExists("forecast", "forecastRequest", forecastRequest);
|
|
515
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/execution/functions/forecast/{resultId}`
|
|
516
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
517
|
+
.replace(`{${"resultId"}}`, encodeURIComponent(String(resultId)));
|
|
518
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
519
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
520
|
+
let baseOptions;
|
|
521
|
+
if (configuration) {
|
|
522
|
+
baseOptions = configuration.baseOptions;
|
|
523
|
+
}
|
|
524
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
525
|
+
const localVarHeaderParameter = {};
|
|
526
|
+
const localVarQueryParameter = {};
|
|
527
|
+
if (skipCache !== undefined && skipCache !== null) {
|
|
528
|
+
localVarHeaderParameter["skip-cache"] = String(JSON.stringify(skipCache));
|
|
529
|
+
}
|
|
530
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
531
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
532
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
533
|
+
localVarRequestOptions.headers = {
|
|
534
|
+
...localVarHeaderParameter,
|
|
535
|
+
...headersFromBaseOptions,
|
|
536
|
+
...options.headers,
|
|
537
|
+
};
|
|
538
|
+
const needsSerialization = typeof forecastRequest !== "string" ||
|
|
539
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
540
|
+
localVarRequestOptions.data = needsSerialization
|
|
541
|
+
? JSON.stringify(forecastRequest !== undefined ? forecastRequest : {})
|
|
542
|
+
: forecastRequest || "";
|
|
543
|
+
return {
|
|
544
|
+
url: toPathString(localVarUrlObj),
|
|
545
|
+
options: localVarRequestOptions,
|
|
546
|
+
};
|
|
547
|
+
},
|
|
548
|
+
/**
|
|
549
|
+
* (BETA) Gets forecast result.
|
|
550
|
+
* @summary (BETA) Smart functions - Forecast Result
|
|
551
|
+
* @param {string} workspaceId Workspace identifier
|
|
552
|
+
* @param {string} resultId Result ID
|
|
553
|
+
* @param {number} [offset]
|
|
554
|
+
* @param {number} [limit]
|
|
555
|
+
* @param {*} [options] Override http request option.
|
|
556
|
+
* @throws {RequiredError}
|
|
557
|
+
*/
|
|
558
|
+
forecastResult: async (workspaceId, resultId, offset, limit, options = {}) => {
|
|
559
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
560
|
+
assertParamExists("forecastResult", "workspaceId", workspaceId);
|
|
561
|
+
// verify required parameter 'resultId' is not null or undefined
|
|
562
|
+
assertParamExists("forecastResult", "resultId", resultId);
|
|
563
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/execution/functions/forecast/result/{resultId}`
|
|
564
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
565
|
+
.replace(`{${"resultId"}}`, encodeURIComponent(String(resultId)));
|
|
566
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
567
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
568
|
+
let baseOptions;
|
|
569
|
+
if (configuration) {
|
|
570
|
+
baseOptions = configuration.baseOptions;
|
|
571
|
+
}
|
|
572
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
573
|
+
const localVarHeaderParameter = {};
|
|
574
|
+
const localVarQueryParameter = {};
|
|
575
|
+
if (offset !== undefined) {
|
|
576
|
+
localVarQueryParameter["offset"] = offset;
|
|
577
|
+
}
|
|
578
|
+
if (limit !== undefined) {
|
|
579
|
+
localVarQueryParameter["limit"] = limit;
|
|
580
|
+
}
|
|
581
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
582
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
583
|
+
localVarRequestOptions.headers = {
|
|
584
|
+
...localVarHeaderParameter,
|
|
585
|
+
...headersFromBaseOptions,
|
|
586
|
+
...options.headers,
|
|
587
|
+
};
|
|
588
|
+
return {
|
|
589
|
+
url: toPathString(localVarUrlObj),
|
|
590
|
+
options: localVarRequestOptions,
|
|
591
|
+
};
|
|
592
|
+
},
|
|
395
593
|
/**
|
|
396
594
|
* The resource provides execution result\'s metadata as AFM and resultSpec used in execution request and an executionResponse
|
|
397
595
|
* @summary Get a single execution result\'s metadata.
|
|
@@ -487,6 +685,34 @@ export const ActionsApiAxiosParamCreator = function (configuration) {
|
|
|
487
685
|
export const ActionsApiFp = function (configuration) {
|
|
488
686
|
const localVarAxiosParamCreator = ActionsApiAxiosParamCreator(configuration);
|
|
489
687
|
return {
|
|
688
|
+
/**
|
|
689
|
+
* (EXPERIMENTAL) Computes clusters for data points from the provided execution result and parameters.
|
|
690
|
+
* @summary (EXPERIMENTAL) Smart functions - Clustering
|
|
691
|
+
* @param {string} workspaceId Workspace identifier
|
|
692
|
+
* @param {string} resultId Input result ID to be used in the computation
|
|
693
|
+
* @param {ClusteringRequest} clusteringRequest
|
|
694
|
+
* @param {boolean} [skipCache] Ignore all caches during execution of current request.
|
|
695
|
+
* @param {*} [options] Override http request option.
|
|
696
|
+
* @throws {RequiredError}
|
|
697
|
+
*/
|
|
698
|
+
async clustering(workspaceId, resultId, clusteringRequest, skipCache, options) {
|
|
699
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.clustering(workspaceId, resultId, clusteringRequest, skipCache, options);
|
|
700
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
701
|
+
},
|
|
702
|
+
/**
|
|
703
|
+
* (EXPERIMENTAL) Gets clustering result.
|
|
704
|
+
* @summary (EXPERIMENTAL) Smart functions - Clustering Result
|
|
705
|
+
* @param {string} workspaceId Workspace identifier
|
|
706
|
+
* @param {string} resultId Result ID
|
|
707
|
+
* @param {number} [offset]
|
|
708
|
+
* @param {number} [limit]
|
|
709
|
+
* @param {*} [options] Override http request option.
|
|
710
|
+
* @throws {RequiredError}
|
|
711
|
+
*/
|
|
712
|
+
async clusteringResult(workspaceId, resultId, offset, limit, options) {
|
|
713
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.clusteringResult(workspaceId, resultId, offset, limit, options);
|
|
714
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
715
|
+
},
|
|
490
716
|
/**
|
|
491
717
|
* Returns paged list of elements (values) of given label satisfying given filtering criteria.
|
|
492
718
|
* @summary Listing of label values. The resulting data are limited by the static platform limit to the maximum of 10000 rows.
|
|
@@ -553,6 +779,34 @@ export const ActionsApiFp = function (configuration) {
|
|
|
553
779
|
const localVarAxiosArgs = await localVarAxiosParamCreator.explainAFM(workspaceId, afmExecution, explainType, options);
|
|
554
780
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
555
781
|
},
|
|
782
|
+
/**
|
|
783
|
+
* (BETA) Computes forecasted data points from the provided execution result and parameters.
|
|
784
|
+
* @summary (BETA) Smart functions - Forecast
|
|
785
|
+
* @param {string} workspaceId Workspace identifier
|
|
786
|
+
* @param {string} resultId Input result ID to be used in the computation
|
|
787
|
+
* @param {ForecastRequest} forecastRequest
|
|
788
|
+
* @param {boolean} [skipCache] Ignore all caches during execution of current request.
|
|
789
|
+
* @param {*} [options] Override http request option.
|
|
790
|
+
* @throws {RequiredError}
|
|
791
|
+
*/
|
|
792
|
+
async forecast(workspaceId, resultId, forecastRequest, skipCache, options) {
|
|
793
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.forecast(workspaceId, resultId, forecastRequest, skipCache, options);
|
|
794
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
795
|
+
},
|
|
796
|
+
/**
|
|
797
|
+
* (BETA) Gets forecast result.
|
|
798
|
+
* @summary (BETA) Smart functions - Forecast Result
|
|
799
|
+
* @param {string} workspaceId Workspace identifier
|
|
800
|
+
* @param {string} resultId Result ID
|
|
801
|
+
* @param {number} [offset]
|
|
802
|
+
* @param {number} [limit]
|
|
803
|
+
* @param {*} [options] Override http request option.
|
|
804
|
+
* @throws {RequiredError}
|
|
805
|
+
*/
|
|
806
|
+
async forecastResult(workspaceId, resultId, offset, limit, options) {
|
|
807
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.forecastResult(workspaceId, resultId, offset, limit, options);
|
|
808
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
809
|
+
},
|
|
556
810
|
/**
|
|
557
811
|
* The resource provides execution result\'s metadata as AFM and resultSpec used in execution request and an executionResponse
|
|
558
812
|
* @summary Get a single execution result\'s metadata.
|
|
@@ -589,6 +843,30 @@ export const ActionsApiFp = function (configuration) {
|
|
|
589
843
|
export const ActionsApiFactory = function (configuration, basePath, axios) {
|
|
590
844
|
const localVarFp = ActionsApiFp(configuration);
|
|
591
845
|
return {
|
|
846
|
+
/**
|
|
847
|
+
* (EXPERIMENTAL) Computes clusters for data points from the provided execution result and parameters.
|
|
848
|
+
* @summary (EXPERIMENTAL) Smart functions - Clustering
|
|
849
|
+
* @param {ActionsApiClusteringRequest} requestParameters Request parameters.
|
|
850
|
+
* @param {*} [options] Override http request option.
|
|
851
|
+
* @throws {RequiredError}
|
|
852
|
+
*/
|
|
853
|
+
clustering(requestParameters, options) {
|
|
854
|
+
return localVarFp
|
|
855
|
+
.clustering(requestParameters.workspaceId, requestParameters.resultId, requestParameters.clusteringRequest, requestParameters.skipCache, options)
|
|
856
|
+
.then((request) => request(axios, basePath));
|
|
857
|
+
},
|
|
858
|
+
/**
|
|
859
|
+
* (EXPERIMENTAL) Gets clustering result.
|
|
860
|
+
* @summary (EXPERIMENTAL) Smart functions - Clustering Result
|
|
861
|
+
* @param {ActionsApiClusteringResultRequest} requestParameters Request parameters.
|
|
862
|
+
* @param {*} [options] Override http request option.
|
|
863
|
+
* @throws {RequiredError}
|
|
864
|
+
*/
|
|
865
|
+
clusteringResult(requestParameters, options) {
|
|
866
|
+
return localVarFp
|
|
867
|
+
.clusteringResult(requestParameters.workspaceId, requestParameters.resultId, requestParameters.offset, requestParameters.limit, options)
|
|
868
|
+
.then((request) => request(axios, basePath));
|
|
869
|
+
},
|
|
592
870
|
/**
|
|
593
871
|
* Returns paged list of elements (values) of given label satisfying given filtering criteria.
|
|
594
872
|
* @summary Listing of label values. The resulting data are limited by the static platform limit to the maximum of 10000 rows.
|
|
@@ -649,6 +927,30 @@ export const ActionsApiFactory = function (configuration, basePath, axios) {
|
|
|
649
927
|
.explainAFM(requestParameters.workspaceId, requestParameters.afmExecution, requestParameters.explainType, options)
|
|
650
928
|
.then((request) => request(axios, basePath));
|
|
651
929
|
},
|
|
930
|
+
/**
|
|
931
|
+
* (BETA) Computes forecasted data points from the provided execution result and parameters.
|
|
932
|
+
* @summary (BETA) Smart functions - Forecast
|
|
933
|
+
* @param {ActionsApiForecastRequest} requestParameters Request parameters.
|
|
934
|
+
* @param {*} [options] Override http request option.
|
|
935
|
+
* @throws {RequiredError}
|
|
936
|
+
*/
|
|
937
|
+
forecast(requestParameters, options) {
|
|
938
|
+
return localVarFp
|
|
939
|
+
.forecast(requestParameters.workspaceId, requestParameters.resultId, requestParameters.forecastRequest, requestParameters.skipCache, options)
|
|
940
|
+
.then((request) => request(axios, basePath));
|
|
941
|
+
},
|
|
942
|
+
/**
|
|
943
|
+
* (BETA) Gets forecast result.
|
|
944
|
+
* @summary (BETA) Smart functions - Forecast Result
|
|
945
|
+
* @param {ActionsApiForecastResultRequest} requestParameters Request parameters.
|
|
946
|
+
* @param {*} [options] Override http request option.
|
|
947
|
+
* @throws {RequiredError}
|
|
948
|
+
*/
|
|
949
|
+
forecastResult(requestParameters, options) {
|
|
950
|
+
return localVarFp
|
|
951
|
+
.forecastResult(requestParameters.workspaceId, requestParameters.resultId, requestParameters.offset, requestParameters.limit, options)
|
|
952
|
+
.then((request) => request(axios, basePath));
|
|
953
|
+
},
|
|
652
954
|
/**
|
|
653
955
|
* The resource provides execution result\'s metadata as AFM and resultSpec used in execution request and an executionResponse
|
|
654
956
|
* @summary Get a single execution result\'s metadata.
|
|
@@ -682,6 +984,32 @@ export const ActionsApiFactory = function (configuration, basePath, axios) {
|
|
|
682
984
|
* @extends {BaseAPI}
|
|
683
985
|
*/
|
|
684
986
|
export class ActionsApi extends BaseAPI {
|
|
987
|
+
/**
|
|
988
|
+
* (EXPERIMENTAL) Computes clusters for data points from the provided execution result and parameters.
|
|
989
|
+
* @summary (EXPERIMENTAL) Smart functions - Clustering
|
|
990
|
+
* @param {ActionsApiClusteringRequest} requestParameters Request parameters.
|
|
991
|
+
* @param {*} [options] Override http request option.
|
|
992
|
+
* @throws {RequiredError}
|
|
993
|
+
* @memberof ActionsApi
|
|
994
|
+
*/
|
|
995
|
+
clustering(requestParameters, options) {
|
|
996
|
+
return ActionsApiFp(this.configuration)
|
|
997
|
+
.clustering(requestParameters.workspaceId, requestParameters.resultId, requestParameters.clusteringRequest, requestParameters.skipCache, options)
|
|
998
|
+
.then((request) => request(this.axios, this.basePath));
|
|
999
|
+
}
|
|
1000
|
+
/**
|
|
1001
|
+
* (EXPERIMENTAL) Gets clustering result.
|
|
1002
|
+
* @summary (EXPERIMENTAL) Smart functions - Clustering Result
|
|
1003
|
+
* @param {ActionsApiClusteringResultRequest} requestParameters Request parameters.
|
|
1004
|
+
* @param {*} [options] Override http request option.
|
|
1005
|
+
* @throws {RequiredError}
|
|
1006
|
+
* @memberof ActionsApi
|
|
1007
|
+
*/
|
|
1008
|
+
clusteringResult(requestParameters, options) {
|
|
1009
|
+
return ActionsApiFp(this.configuration)
|
|
1010
|
+
.clusteringResult(requestParameters.workspaceId, requestParameters.resultId, requestParameters.offset, requestParameters.limit, options)
|
|
1011
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1012
|
+
}
|
|
685
1013
|
/**
|
|
686
1014
|
* Returns paged list of elements (values) of given label satisfying given filtering criteria.
|
|
687
1015
|
* @summary Listing of label values. The resulting data are limited by the static platform limit to the maximum of 10000 rows.
|
|
@@ -747,6 +1075,32 @@ export class ActionsApi extends BaseAPI {
|
|
|
747
1075
|
.explainAFM(requestParameters.workspaceId, requestParameters.afmExecution, requestParameters.explainType, options)
|
|
748
1076
|
.then((request) => request(this.axios, this.basePath));
|
|
749
1077
|
}
|
|
1078
|
+
/**
|
|
1079
|
+
* (BETA) Computes forecasted data points from the provided execution result and parameters.
|
|
1080
|
+
* @summary (BETA) Smart functions - Forecast
|
|
1081
|
+
* @param {ActionsApiForecastRequest} requestParameters Request parameters.
|
|
1082
|
+
* @param {*} [options] Override http request option.
|
|
1083
|
+
* @throws {RequiredError}
|
|
1084
|
+
* @memberof ActionsApi
|
|
1085
|
+
*/
|
|
1086
|
+
forecast(requestParameters, options) {
|
|
1087
|
+
return ActionsApiFp(this.configuration)
|
|
1088
|
+
.forecast(requestParameters.workspaceId, requestParameters.resultId, requestParameters.forecastRequest, requestParameters.skipCache, options)
|
|
1089
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1090
|
+
}
|
|
1091
|
+
/**
|
|
1092
|
+
* (BETA) Gets forecast result.
|
|
1093
|
+
* @summary (BETA) Smart functions - Forecast Result
|
|
1094
|
+
* @param {ActionsApiForecastResultRequest} requestParameters Request parameters.
|
|
1095
|
+
* @param {*} [options] Override http request option.
|
|
1096
|
+
* @throws {RequiredError}
|
|
1097
|
+
* @memberof ActionsApi
|
|
1098
|
+
*/
|
|
1099
|
+
forecastResult(requestParameters, options) {
|
|
1100
|
+
return ActionsApiFp(this.configuration)
|
|
1101
|
+
.forecastResult(requestParameters.workspaceId, requestParameters.resultId, requestParameters.offset, requestParameters.limit, options)
|
|
1102
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1103
|
+
}
|
|
750
1104
|
/**
|
|
751
1105
|
* The resource provides execution result\'s metadata as AFM and resultSpec used in execution request and an executionResponse
|
|
752
1106
|
* @summary Get a single execution result\'s metadata.
|
|
@@ -1391,4 +1745,384 @@ export class ComputationApi extends BaseAPI {
|
|
|
1391
1745
|
.then((request) => request(this.axios, this.basePath));
|
|
1392
1746
|
}
|
|
1393
1747
|
}
|
|
1748
|
+
/**
|
|
1749
|
+
* SmartFunctionsApi - axios parameter creator
|
|
1750
|
+
* @export
|
|
1751
|
+
*/
|
|
1752
|
+
export const SmartFunctionsApiAxiosParamCreator = function (configuration) {
|
|
1753
|
+
return {
|
|
1754
|
+
/**
|
|
1755
|
+
* (EXPERIMENTAL) Computes clusters for data points from the provided execution result and parameters.
|
|
1756
|
+
* @summary (EXPERIMENTAL) Smart functions - Clustering
|
|
1757
|
+
* @param {string} workspaceId Workspace identifier
|
|
1758
|
+
* @param {string} resultId Input result ID to be used in the computation
|
|
1759
|
+
* @param {ClusteringRequest} clusteringRequest
|
|
1760
|
+
* @param {boolean} [skipCache] Ignore all caches during execution of current request.
|
|
1761
|
+
* @param {*} [options] Override http request option.
|
|
1762
|
+
* @throws {RequiredError}
|
|
1763
|
+
*/
|
|
1764
|
+
clustering: async (workspaceId, resultId, clusteringRequest, skipCache, options = {}) => {
|
|
1765
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
1766
|
+
assertParamExists("clustering", "workspaceId", workspaceId);
|
|
1767
|
+
// verify required parameter 'resultId' is not null or undefined
|
|
1768
|
+
assertParamExists("clustering", "resultId", resultId);
|
|
1769
|
+
// verify required parameter 'clusteringRequest' is not null or undefined
|
|
1770
|
+
assertParamExists("clustering", "clusteringRequest", clusteringRequest);
|
|
1771
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/execution/functions/clustering/{resultId}`
|
|
1772
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
1773
|
+
.replace(`{${"resultId"}}`, encodeURIComponent(String(resultId)));
|
|
1774
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1775
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1776
|
+
let baseOptions;
|
|
1777
|
+
if (configuration) {
|
|
1778
|
+
baseOptions = configuration.baseOptions;
|
|
1779
|
+
}
|
|
1780
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1781
|
+
const localVarHeaderParameter = {};
|
|
1782
|
+
const localVarQueryParameter = {};
|
|
1783
|
+
if (skipCache !== undefined && skipCache !== null) {
|
|
1784
|
+
localVarHeaderParameter["skip-cache"] = String(JSON.stringify(skipCache));
|
|
1785
|
+
}
|
|
1786
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1787
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1788
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1789
|
+
localVarRequestOptions.headers = {
|
|
1790
|
+
...localVarHeaderParameter,
|
|
1791
|
+
...headersFromBaseOptions,
|
|
1792
|
+
...options.headers,
|
|
1793
|
+
};
|
|
1794
|
+
const needsSerialization = typeof clusteringRequest !== "string" ||
|
|
1795
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
1796
|
+
localVarRequestOptions.data = needsSerialization
|
|
1797
|
+
? JSON.stringify(clusteringRequest !== undefined ? clusteringRequest : {})
|
|
1798
|
+
: clusteringRequest || "";
|
|
1799
|
+
return {
|
|
1800
|
+
url: toPathString(localVarUrlObj),
|
|
1801
|
+
options: localVarRequestOptions,
|
|
1802
|
+
};
|
|
1803
|
+
},
|
|
1804
|
+
/**
|
|
1805
|
+
* (EXPERIMENTAL) Gets clustering result.
|
|
1806
|
+
* @summary (EXPERIMENTAL) Smart functions - Clustering Result
|
|
1807
|
+
* @param {string} workspaceId Workspace identifier
|
|
1808
|
+
* @param {string} resultId Result ID
|
|
1809
|
+
* @param {number} [offset]
|
|
1810
|
+
* @param {number} [limit]
|
|
1811
|
+
* @param {*} [options] Override http request option.
|
|
1812
|
+
* @throws {RequiredError}
|
|
1813
|
+
*/
|
|
1814
|
+
clusteringResult: async (workspaceId, resultId, offset, limit, options = {}) => {
|
|
1815
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
1816
|
+
assertParamExists("clusteringResult", "workspaceId", workspaceId);
|
|
1817
|
+
// verify required parameter 'resultId' is not null or undefined
|
|
1818
|
+
assertParamExists("clusteringResult", "resultId", resultId);
|
|
1819
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/execution/functions/clustering/result/{resultId}`
|
|
1820
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
1821
|
+
.replace(`{${"resultId"}}`, encodeURIComponent(String(resultId)));
|
|
1822
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1823
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1824
|
+
let baseOptions;
|
|
1825
|
+
if (configuration) {
|
|
1826
|
+
baseOptions = configuration.baseOptions;
|
|
1827
|
+
}
|
|
1828
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1829
|
+
const localVarHeaderParameter = {};
|
|
1830
|
+
const localVarQueryParameter = {};
|
|
1831
|
+
if (offset !== undefined) {
|
|
1832
|
+
localVarQueryParameter["offset"] = offset;
|
|
1833
|
+
}
|
|
1834
|
+
if (limit !== undefined) {
|
|
1835
|
+
localVarQueryParameter["limit"] = limit;
|
|
1836
|
+
}
|
|
1837
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1838
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1839
|
+
localVarRequestOptions.headers = {
|
|
1840
|
+
...localVarHeaderParameter,
|
|
1841
|
+
...headersFromBaseOptions,
|
|
1842
|
+
...options.headers,
|
|
1843
|
+
};
|
|
1844
|
+
return {
|
|
1845
|
+
url: toPathString(localVarUrlObj),
|
|
1846
|
+
options: localVarRequestOptions,
|
|
1847
|
+
};
|
|
1848
|
+
},
|
|
1849
|
+
/**
|
|
1850
|
+
* (BETA) Computes forecasted data points from the provided execution result and parameters.
|
|
1851
|
+
* @summary (BETA) Smart functions - Forecast
|
|
1852
|
+
* @param {string} workspaceId Workspace identifier
|
|
1853
|
+
* @param {string} resultId Input result ID to be used in the computation
|
|
1854
|
+
* @param {ForecastRequest} forecastRequest
|
|
1855
|
+
* @param {boolean} [skipCache] Ignore all caches during execution of current request.
|
|
1856
|
+
* @param {*} [options] Override http request option.
|
|
1857
|
+
* @throws {RequiredError}
|
|
1858
|
+
*/
|
|
1859
|
+
forecast: async (workspaceId, resultId, forecastRequest, skipCache, options = {}) => {
|
|
1860
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
1861
|
+
assertParamExists("forecast", "workspaceId", workspaceId);
|
|
1862
|
+
// verify required parameter 'resultId' is not null or undefined
|
|
1863
|
+
assertParamExists("forecast", "resultId", resultId);
|
|
1864
|
+
// verify required parameter 'forecastRequest' is not null or undefined
|
|
1865
|
+
assertParamExists("forecast", "forecastRequest", forecastRequest);
|
|
1866
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/execution/functions/forecast/{resultId}`
|
|
1867
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
1868
|
+
.replace(`{${"resultId"}}`, encodeURIComponent(String(resultId)));
|
|
1869
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1870
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1871
|
+
let baseOptions;
|
|
1872
|
+
if (configuration) {
|
|
1873
|
+
baseOptions = configuration.baseOptions;
|
|
1874
|
+
}
|
|
1875
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1876
|
+
const localVarHeaderParameter = {};
|
|
1877
|
+
const localVarQueryParameter = {};
|
|
1878
|
+
if (skipCache !== undefined && skipCache !== null) {
|
|
1879
|
+
localVarHeaderParameter["skip-cache"] = String(JSON.stringify(skipCache));
|
|
1880
|
+
}
|
|
1881
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1882
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1883
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1884
|
+
localVarRequestOptions.headers = {
|
|
1885
|
+
...localVarHeaderParameter,
|
|
1886
|
+
...headersFromBaseOptions,
|
|
1887
|
+
...options.headers,
|
|
1888
|
+
};
|
|
1889
|
+
const needsSerialization = typeof forecastRequest !== "string" ||
|
|
1890
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
1891
|
+
localVarRequestOptions.data = needsSerialization
|
|
1892
|
+
? JSON.stringify(forecastRequest !== undefined ? forecastRequest : {})
|
|
1893
|
+
: forecastRequest || "";
|
|
1894
|
+
return {
|
|
1895
|
+
url: toPathString(localVarUrlObj),
|
|
1896
|
+
options: localVarRequestOptions,
|
|
1897
|
+
};
|
|
1898
|
+
},
|
|
1899
|
+
/**
|
|
1900
|
+
* (BETA) Gets forecast result.
|
|
1901
|
+
* @summary (BETA) Smart functions - Forecast Result
|
|
1902
|
+
* @param {string} workspaceId Workspace identifier
|
|
1903
|
+
* @param {string} resultId Result ID
|
|
1904
|
+
* @param {number} [offset]
|
|
1905
|
+
* @param {number} [limit]
|
|
1906
|
+
* @param {*} [options] Override http request option.
|
|
1907
|
+
* @throws {RequiredError}
|
|
1908
|
+
*/
|
|
1909
|
+
forecastResult: async (workspaceId, resultId, offset, limit, options = {}) => {
|
|
1910
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
1911
|
+
assertParamExists("forecastResult", "workspaceId", workspaceId);
|
|
1912
|
+
// verify required parameter 'resultId' is not null or undefined
|
|
1913
|
+
assertParamExists("forecastResult", "resultId", resultId);
|
|
1914
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/execution/functions/forecast/result/{resultId}`
|
|
1915
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
1916
|
+
.replace(`{${"resultId"}}`, encodeURIComponent(String(resultId)));
|
|
1917
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1918
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1919
|
+
let baseOptions;
|
|
1920
|
+
if (configuration) {
|
|
1921
|
+
baseOptions = configuration.baseOptions;
|
|
1922
|
+
}
|
|
1923
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1924
|
+
const localVarHeaderParameter = {};
|
|
1925
|
+
const localVarQueryParameter = {};
|
|
1926
|
+
if (offset !== undefined) {
|
|
1927
|
+
localVarQueryParameter["offset"] = offset;
|
|
1928
|
+
}
|
|
1929
|
+
if (limit !== undefined) {
|
|
1930
|
+
localVarQueryParameter["limit"] = limit;
|
|
1931
|
+
}
|
|
1932
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1933
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1934
|
+
localVarRequestOptions.headers = {
|
|
1935
|
+
...localVarHeaderParameter,
|
|
1936
|
+
...headersFromBaseOptions,
|
|
1937
|
+
...options.headers,
|
|
1938
|
+
};
|
|
1939
|
+
return {
|
|
1940
|
+
url: toPathString(localVarUrlObj),
|
|
1941
|
+
options: localVarRequestOptions,
|
|
1942
|
+
};
|
|
1943
|
+
},
|
|
1944
|
+
};
|
|
1945
|
+
};
|
|
1946
|
+
/**
|
|
1947
|
+
* SmartFunctionsApi - functional programming interface
|
|
1948
|
+
* @export
|
|
1949
|
+
*/
|
|
1950
|
+
export const SmartFunctionsApiFp = function (configuration) {
|
|
1951
|
+
const localVarAxiosParamCreator = SmartFunctionsApiAxiosParamCreator(configuration);
|
|
1952
|
+
return {
|
|
1953
|
+
/**
|
|
1954
|
+
* (EXPERIMENTAL) Computes clusters for data points from the provided execution result and parameters.
|
|
1955
|
+
* @summary (EXPERIMENTAL) Smart functions - Clustering
|
|
1956
|
+
* @param {string} workspaceId Workspace identifier
|
|
1957
|
+
* @param {string} resultId Input result ID to be used in the computation
|
|
1958
|
+
* @param {ClusteringRequest} clusteringRequest
|
|
1959
|
+
* @param {boolean} [skipCache] Ignore all caches during execution of current request.
|
|
1960
|
+
* @param {*} [options] Override http request option.
|
|
1961
|
+
* @throws {RequiredError}
|
|
1962
|
+
*/
|
|
1963
|
+
async clustering(workspaceId, resultId, clusteringRequest, skipCache, options) {
|
|
1964
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.clustering(workspaceId, resultId, clusteringRequest, skipCache, options);
|
|
1965
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1966
|
+
},
|
|
1967
|
+
/**
|
|
1968
|
+
* (EXPERIMENTAL) Gets clustering result.
|
|
1969
|
+
* @summary (EXPERIMENTAL) Smart functions - Clustering Result
|
|
1970
|
+
* @param {string} workspaceId Workspace identifier
|
|
1971
|
+
* @param {string} resultId Result ID
|
|
1972
|
+
* @param {number} [offset]
|
|
1973
|
+
* @param {number} [limit]
|
|
1974
|
+
* @param {*} [options] Override http request option.
|
|
1975
|
+
* @throws {RequiredError}
|
|
1976
|
+
*/
|
|
1977
|
+
async clusteringResult(workspaceId, resultId, offset, limit, options) {
|
|
1978
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.clusteringResult(workspaceId, resultId, offset, limit, options);
|
|
1979
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1980
|
+
},
|
|
1981
|
+
/**
|
|
1982
|
+
* (BETA) Computes forecasted data points from the provided execution result and parameters.
|
|
1983
|
+
* @summary (BETA) Smart functions - Forecast
|
|
1984
|
+
* @param {string} workspaceId Workspace identifier
|
|
1985
|
+
* @param {string} resultId Input result ID to be used in the computation
|
|
1986
|
+
* @param {ForecastRequest} forecastRequest
|
|
1987
|
+
* @param {boolean} [skipCache] Ignore all caches during execution of current request.
|
|
1988
|
+
* @param {*} [options] Override http request option.
|
|
1989
|
+
* @throws {RequiredError}
|
|
1990
|
+
*/
|
|
1991
|
+
async forecast(workspaceId, resultId, forecastRequest, skipCache, options) {
|
|
1992
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.forecast(workspaceId, resultId, forecastRequest, skipCache, options);
|
|
1993
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1994
|
+
},
|
|
1995
|
+
/**
|
|
1996
|
+
* (BETA) Gets forecast result.
|
|
1997
|
+
* @summary (BETA) Smart functions - Forecast Result
|
|
1998
|
+
* @param {string} workspaceId Workspace identifier
|
|
1999
|
+
* @param {string} resultId Result ID
|
|
2000
|
+
* @param {number} [offset]
|
|
2001
|
+
* @param {number} [limit]
|
|
2002
|
+
* @param {*} [options] Override http request option.
|
|
2003
|
+
* @throws {RequiredError}
|
|
2004
|
+
*/
|
|
2005
|
+
async forecastResult(workspaceId, resultId, offset, limit, options) {
|
|
2006
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.forecastResult(workspaceId, resultId, offset, limit, options);
|
|
2007
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2008
|
+
},
|
|
2009
|
+
};
|
|
2010
|
+
};
|
|
2011
|
+
/**
|
|
2012
|
+
* SmartFunctionsApi - factory interface
|
|
2013
|
+
* @export
|
|
2014
|
+
*/
|
|
2015
|
+
export const SmartFunctionsApiFactory = function (configuration, basePath, axios) {
|
|
2016
|
+
const localVarFp = SmartFunctionsApiFp(configuration);
|
|
2017
|
+
return {
|
|
2018
|
+
/**
|
|
2019
|
+
* (EXPERIMENTAL) Computes clusters for data points from the provided execution result and parameters.
|
|
2020
|
+
* @summary (EXPERIMENTAL) Smart functions - Clustering
|
|
2021
|
+
* @param {SmartFunctionsApiClusteringRequest} requestParameters Request parameters.
|
|
2022
|
+
* @param {*} [options] Override http request option.
|
|
2023
|
+
* @throws {RequiredError}
|
|
2024
|
+
*/
|
|
2025
|
+
clustering(requestParameters, options) {
|
|
2026
|
+
return localVarFp
|
|
2027
|
+
.clustering(requestParameters.workspaceId, requestParameters.resultId, requestParameters.clusteringRequest, requestParameters.skipCache, options)
|
|
2028
|
+
.then((request) => request(axios, basePath));
|
|
2029
|
+
},
|
|
2030
|
+
/**
|
|
2031
|
+
* (EXPERIMENTAL) Gets clustering result.
|
|
2032
|
+
* @summary (EXPERIMENTAL) Smart functions - Clustering Result
|
|
2033
|
+
* @param {SmartFunctionsApiClusteringResultRequest} requestParameters Request parameters.
|
|
2034
|
+
* @param {*} [options] Override http request option.
|
|
2035
|
+
* @throws {RequiredError}
|
|
2036
|
+
*/
|
|
2037
|
+
clusteringResult(requestParameters, options) {
|
|
2038
|
+
return localVarFp
|
|
2039
|
+
.clusteringResult(requestParameters.workspaceId, requestParameters.resultId, requestParameters.offset, requestParameters.limit, options)
|
|
2040
|
+
.then((request) => request(axios, basePath));
|
|
2041
|
+
},
|
|
2042
|
+
/**
|
|
2043
|
+
* (BETA) Computes forecasted data points from the provided execution result and parameters.
|
|
2044
|
+
* @summary (BETA) Smart functions - Forecast
|
|
2045
|
+
* @param {SmartFunctionsApiForecastRequest} requestParameters Request parameters.
|
|
2046
|
+
* @param {*} [options] Override http request option.
|
|
2047
|
+
* @throws {RequiredError}
|
|
2048
|
+
*/
|
|
2049
|
+
forecast(requestParameters, options) {
|
|
2050
|
+
return localVarFp
|
|
2051
|
+
.forecast(requestParameters.workspaceId, requestParameters.resultId, requestParameters.forecastRequest, requestParameters.skipCache, options)
|
|
2052
|
+
.then((request) => request(axios, basePath));
|
|
2053
|
+
},
|
|
2054
|
+
/**
|
|
2055
|
+
* (BETA) Gets forecast result.
|
|
2056
|
+
* @summary (BETA) Smart functions - Forecast Result
|
|
2057
|
+
* @param {SmartFunctionsApiForecastResultRequest} requestParameters Request parameters.
|
|
2058
|
+
* @param {*} [options] Override http request option.
|
|
2059
|
+
* @throws {RequiredError}
|
|
2060
|
+
*/
|
|
2061
|
+
forecastResult(requestParameters, options) {
|
|
2062
|
+
return localVarFp
|
|
2063
|
+
.forecastResult(requestParameters.workspaceId, requestParameters.resultId, requestParameters.offset, requestParameters.limit, options)
|
|
2064
|
+
.then((request) => request(axios, basePath));
|
|
2065
|
+
},
|
|
2066
|
+
};
|
|
2067
|
+
};
|
|
2068
|
+
/**
|
|
2069
|
+
* SmartFunctionsApi - object-oriented interface
|
|
2070
|
+
* @export
|
|
2071
|
+
* @class SmartFunctionsApi
|
|
2072
|
+
* @extends {BaseAPI}
|
|
2073
|
+
*/
|
|
2074
|
+
export class SmartFunctionsApi extends BaseAPI {
|
|
2075
|
+
/**
|
|
2076
|
+
* (EXPERIMENTAL) Computes clusters for data points from the provided execution result and parameters.
|
|
2077
|
+
* @summary (EXPERIMENTAL) Smart functions - Clustering
|
|
2078
|
+
* @param {SmartFunctionsApiClusteringRequest} requestParameters Request parameters.
|
|
2079
|
+
* @param {*} [options] Override http request option.
|
|
2080
|
+
* @throws {RequiredError}
|
|
2081
|
+
* @memberof SmartFunctionsApi
|
|
2082
|
+
*/
|
|
2083
|
+
clustering(requestParameters, options) {
|
|
2084
|
+
return SmartFunctionsApiFp(this.configuration)
|
|
2085
|
+
.clustering(requestParameters.workspaceId, requestParameters.resultId, requestParameters.clusteringRequest, requestParameters.skipCache, options)
|
|
2086
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2087
|
+
}
|
|
2088
|
+
/**
|
|
2089
|
+
* (EXPERIMENTAL) Gets clustering result.
|
|
2090
|
+
* @summary (EXPERIMENTAL) Smart functions - Clustering Result
|
|
2091
|
+
* @param {SmartFunctionsApiClusteringResultRequest} requestParameters Request parameters.
|
|
2092
|
+
* @param {*} [options] Override http request option.
|
|
2093
|
+
* @throws {RequiredError}
|
|
2094
|
+
* @memberof SmartFunctionsApi
|
|
2095
|
+
*/
|
|
2096
|
+
clusteringResult(requestParameters, options) {
|
|
2097
|
+
return SmartFunctionsApiFp(this.configuration)
|
|
2098
|
+
.clusteringResult(requestParameters.workspaceId, requestParameters.resultId, requestParameters.offset, requestParameters.limit, options)
|
|
2099
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2100
|
+
}
|
|
2101
|
+
/**
|
|
2102
|
+
* (BETA) Computes forecasted data points from the provided execution result and parameters.
|
|
2103
|
+
* @summary (BETA) Smart functions - Forecast
|
|
2104
|
+
* @param {SmartFunctionsApiForecastRequest} requestParameters Request parameters.
|
|
2105
|
+
* @param {*} [options] Override http request option.
|
|
2106
|
+
* @throws {RequiredError}
|
|
2107
|
+
* @memberof SmartFunctionsApi
|
|
2108
|
+
*/
|
|
2109
|
+
forecast(requestParameters, options) {
|
|
2110
|
+
return SmartFunctionsApiFp(this.configuration)
|
|
2111
|
+
.forecast(requestParameters.workspaceId, requestParameters.resultId, requestParameters.forecastRequest, requestParameters.skipCache, options)
|
|
2112
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2113
|
+
}
|
|
2114
|
+
/**
|
|
2115
|
+
* (BETA) Gets forecast result.
|
|
2116
|
+
* @summary (BETA) Smart functions - Forecast Result
|
|
2117
|
+
* @param {SmartFunctionsApiForecastResultRequest} requestParameters Request parameters.
|
|
2118
|
+
* @param {*} [options] Override http request option.
|
|
2119
|
+
* @throws {RequiredError}
|
|
2120
|
+
* @memberof SmartFunctionsApi
|
|
2121
|
+
*/
|
|
2122
|
+
forecastResult(requestParameters, options) {
|
|
2123
|
+
return SmartFunctionsApiFp(this.configuration)
|
|
2124
|
+
.forecastResult(requestParameters.workspaceId, requestParameters.resultId, requestParameters.offset, requestParameters.limit, options)
|
|
2125
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2126
|
+
}
|
|
2127
|
+
}
|
|
1394
2128
|
//# sourceMappingURL=api.js.map
|