@gooddata/api-client-tiger 11.3.0-alpha.1 → 11.3.0-alpha.3

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.
@@ -221,6 +221,29 @@ export const MetricAggFunctionEnum = {
221
221
  AVG: "AVG",
222
222
  MEDIAN: "MEDIAN",
223
223
  };
224
+ export const ObjectIdentifierTypeEnum = {
225
+ ANALYTICAL_DASHBOARD: "analyticalDashboard",
226
+ ATTRIBUTE: "attribute",
227
+ ATTRIBUTE_HIERARCHY: "attributeHierarchy",
228
+ DASHBOARD_PLUGIN: "dashboardPlugin",
229
+ DATASET: "dataset",
230
+ FACT: "fact",
231
+ AGGREGATED_FACT: "aggregatedFact",
232
+ LABEL: "label",
233
+ METRIC: "metric",
234
+ USER_DATA_FILTER: "userDataFilter",
235
+ EXPORT_DEFINITION: "exportDefinition",
236
+ AUTOMATION: "automation",
237
+ AUTOMATION_RESULT: "automationResult",
238
+ PROMPT: "prompt",
239
+ VISUALIZATION_OBJECT: "visualizationObject",
240
+ FILTER_CONTEXT: "filterContext",
241
+ WORKSPACE_SETTINGS: "workspaceSettings",
242
+ CUSTOM_APPLICATION_SETTING: "customApplicationSetting",
243
+ WORKSPACE_DATA_FILTER: "workspaceDataFilter",
244
+ WORKSPACE_DATA_FILTER_SETTING: "workspaceDataFilterSetting",
245
+ FILTER_VIEW: "filterView",
246
+ };
224
247
  export const RangeMeasureValueFilterRangeMeasureValueFilterOperatorEnum = {
225
248
  BETWEEN: "BETWEEN",
226
249
  NOT_BETWEEN: "NOT_BETWEEN",
@@ -639,6 +662,84 @@ export const ActionsApiAxiosParamCreator = function (configuration) {
639
662
  options: localVarRequestOptions,
640
663
  };
641
664
  },
665
+ /**
666
+ * Computes change analysis for the provided execution definition.
667
+ * @summary Compute change analysis
668
+ * @param {string} workspaceId Workspace identifier
669
+ * @param {ChangeAnalysisRequest} changeAnalysisRequest
670
+ * @param {*} [options] Override http request option.
671
+ * @throws {RequiredError}
672
+ */
673
+ changeAnalysis: async (workspaceId, changeAnalysisRequest, options = {}) => {
674
+ // verify required parameter 'workspaceId' is not null or undefined
675
+ assertParamExists("changeAnalysis", "workspaceId", workspaceId);
676
+ // verify required parameter 'changeAnalysisRequest' is not null or undefined
677
+ assertParamExists("changeAnalysis", "changeAnalysisRequest", changeAnalysisRequest);
678
+ const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/execution/computeChangeAnalysis`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
679
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
680
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
681
+ let baseOptions;
682
+ if (configuration) {
683
+ baseOptions = configuration.baseOptions;
684
+ }
685
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
686
+ const localVarHeaderParameter = {};
687
+ const localVarQueryParameter = {};
688
+ localVarHeaderParameter["Content-Type"] = "application/json";
689
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
690
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
691
+ localVarRequestOptions.headers = {
692
+ ...localVarHeaderParameter,
693
+ ...headersFromBaseOptions,
694
+ ...options.headers,
695
+ };
696
+ const needsSerialization = typeof changeAnalysisRequest !== "string" ||
697
+ localVarRequestOptions.headers["Content-Type"] === "application/json";
698
+ localVarRequestOptions.data = needsSerialization
699
+ ? JSON.stringify(changeAnalysisRequest !== undefined ? changeAnalysisRequest : {})
700
+ : changeAnalysisRequest || "";
701
+ return {
702
+ url: toPathString(localVarUrlObj),
703
+ options: localVarRequestOptions,
704
+ };
705
+ },
706
+ /**
707
+ * Gets change analysis result.
708
+ * @summary Get change analysis result
709
+ * @param {string} workspaceId Workspace identifier
710
+ * @param {string} resultId Result ID
711
+ * @param {*} [options] Override http request option.
712
+ * @throws {RequiredError}
713
+ */
714
+ changeAnalysisResult: async (workspaceId, resultId, options = {}) => {
715
+ // verify required parameter 'workspaceId' is not null or undefined
716
+ assertParamExists("changeAnalysisResult", "workspaceId", workspaceId);
717
+ // verify required parameter 'resultId' is not null or undefined
718
+ assertParamExists("changeAnalysisResult", "resultId", resultId);
719
+ const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/execution/computeChangeAnalysis/result/{resultId}`
720
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
721
+ .replace(`{${"resultId"}}`, encodeURIComponent(String(resultId)));
722
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
723
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
724
+ let baseOptions;
725
+ if (configuration) {
726
+ baseOptions = configuration.baseOptions;
727
+ }
728
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
729
+ const localVarHeaderParameter = {};
730
+ const localVarQueryParameter = {};
731
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
732
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
733
+ localVarRequestOptions.headers = {
734
+ ...localVarHeaderParameter,
735
+ ...headersFromBaseOptions,
736
+ ...options.headers,
737
+ };
738
+ return {
739
+ url: toPathString(localVarUrlObj),
740
+ options: localVarRequestOptions,
741
+ };
742
+ },
642
743
  /**
643
744
  * (EXPERIMENTAL) Computes clusters for data points from the provided execution result and parameters.
644
745
  * @summary (EXPERIMENTAL) Smart functions - Clustering
@@ -1744,6 +1845,30 @@ export const ActionsApiFp = function (configuration) {
1744
1845
  const localVarAxiosArgs = await localVarAxiosParamCreator.cancelExecutions(workspaceId, afmCancelTokens, options);
1745
1846
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1746
1847
  },
1848
+ /**
1849
+ * Computes change analysis for the provided execution definition.
1850
+ * @summary Compute change analysis
1851
+ * @param {string} workspaceId Workspace identifier
1852
+ * @param {ChangeAnalysisRequest} changeAnalysisRequest
1853
+ * @param {*} [options] Override http request option.
1854
+ * @throws {RequiredError}
1855
+ */
1856
+ async changeAnalysis(workspaceId, changeAnalysisRequest, options) {
1857
+ const localVarAxiosArgs = await localVarAxiosParamCreator.changeAnalysis(workspaceId, changeAnalysisRequest, options);
1858
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1859
+ },
1860
+ /**
1861
+ * Gets change analysis result.
1862
+ * @summary Get change analysis result
1863
+ * @param {string} workspaceId Workspace identifier
1864
+ * @param {string} resultId Result ID
1865
+ * @param {*} [options] Override http request option.
1866
+ * @throws {RequiredError}
1867
+ */
1868
+ async changeAnalysisResult(workspaceId, resultId, options) {
1869
+ const localVarAxiosArgs = await localVarAxiosParamCreator.changeAnalysisResult(workspaceId, resultId, options);
1870
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1871
+ },
1747
1872
  /**
1748
1873
  * (EXPERIMENTAL) Computes clusters for data points from the provided execution result and parameters.
1749
1874
  * @summary (EXPERIMENTAL) Smart functions - Clustering
@@ -2153,6 +2278,30 @@ export const ActionsApiFactory = function (configuration, basePath, axios) {
2153
2278
  .cancelExecutions(requestParameters.workspaceId, requestParameters.afmCancelTokens, options)
2154
2279
  .then((request) => request(axios, basePath));
2155
2280
  },
2281
+ /**
2282
+ * Computes change analysis for the provided execution definition.
2283
+ * @summary Compute change analysis
2284
+ * @param {ActionsApiChangeAnalysisRequest} requestParameters Request parameters.
2285
+ * @param {*} [options] Override http request option.
2286
+ * @throws {RequiredError}
2287
+ */
2288
+ changeAnalysis(requestParameters, options) {
2289
+ return localVarFp
2290
+ .changeAnalysis(requestParameters.workspaceId, requestParameters.changeAnalysisRequest, options)
2291
+ .then((request) => request(axios, basePath));
2292
+ },
2293
+ /**
2294
+ * Gets change analysis result.
2295
+ * @summary Get change analysis result
2296
+ * @param {ActionsApiChangeAnalysisResultRequest} requestParameters Request parameters.
2297
+ * @param {*} [options] Override http request option.
2298
+ * @throws {RequiredError}
2299
+ */
2300
+ changeAnalysisResult(requestParameters, options) {
2301
+ return localVarFp
2302
+ .changeAnalysisResult(requestParameters.workspaceId, requestParameters.resultId, options)
2303
+ .then((request) => request(axios, basePath));
2304
+ },
2156
2305
  /**
2157
2306
  * (EXPERIMENTAL) Computes clusters for data points from the provided execution result and parameters.
2158
2307
  * @summary (EXPERIMENTAL) Smart functions - Clustering
@@ -2554,6 +2703,32 @@ export class ActionsApi extends BaseAPI {
2554
2703
  .cancelExecutions(requestParameters.workspaceId, requestParameters.afmCancelTokens, options)
2555
2704
  .then((request) => request(this.axios, this.basePath));
2556
2705
  }
2706
+ /**
2707
+ * Computes change analysis for the provided execution definition.
2708
+ * @summary Compute change analysis
2709
+ * @param {ActionsApiChangeAnalysisRequest} requestParameters Request parameters.
2710
+ * @param {*} [options] Override http request option.
2711
+ * @throws {RequiredError}
2712
+ * @memberof ActionsApi
2713
+ */
2714
+ changeAnalysis(requestParameters, options) {
2715
+ return ActionsApiFp(this.configuration)
2716
+ .changeAnalysis(requestParameters.workspaceId, requestParameters.changeAnalysisRequest, options)
2717
+ .then((request) => request(this.axios, this.basePath));
2718
+ }
2719
+ /**
2720
+ * Gets change analysis result.
2721
+ * @summary Get change analysis result
2722
+ * @param {ActionsApiChangeAnalysisResultRequest} requestParameters Request parameters.
2723
+ * @param {*} [options] Override http request option.
2724
+ * @throws {RequiredError}
2725
+ * @memberof ActionsApi
2726
+ */
2727
+ changeAnalysisResult(requestParameters, options) {
2728
+ return ActionsApiFp(this.configuration)
2729
+ .changeAnalysisResult(requestParameters.workspaceId, requestParameters.resultId, options)
2730
+ .then((request) => request(this.axios, this.basePath));
2731
+ }
2557
2732
  /**
2558
2733
  * (EXPERIMENTAL) Computes clusters for data points from the provided execution result and parameters.
2559
2734
  * @summary (EXPERIMENTAL) Smart functions - Clustering
@@ -2873,6 +3048,84 @@ export class ActionsApi extends BaseAPI {
2873
3048
  */
2874
3049
  export const ComputationApiAxiosParamCreator = function (configuration) {
2875
3050
  return {
3051
+ /**
3052
+ * Computes change analysis for the provided execution definition.
3053
+ * @summary Compute change analysis
3054
+ * @param {string} workspaceId Workspace identifier
3055
+ * @param {ChangeAnalysisRequest} changeAnalysisRequest
3056
+ * @param {*} [options] Override http request option.
3057
+ * @throws {RequiredError}
3058
+ */
3059
+ changeAnalysis: async (workspaceId, changeAnalysisRequest, options = {}) => {
3060
+ // verify required parameter 'workspaceId' is not null or undefined
3061
+ assertParamExists("changeAnalysis", "workspaceId", workspaceId);
3062
+ // verify required parameter 'changeAnalysisRequest' is not null or undefined
3063
+ assertParamExists("changeAnalysis", "changeAnalysisRequest", changeAnalysisRequest);
3064
+ const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/execution/computeChangeAnalysis`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
3065
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3066
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3067
+ let baseOptions;
3068
+ if (configuration) {
3069
+ baseOptions = configuration.baseOptions;
3070
+ }
3071
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
3072
+ const localVarHeaderParameter = {};
3073
+ const localVarQueryParameter = {};
3074
+ localVarHeaderParameter["Content-Type"] = "application/json";
3075
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3076
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3077
+ localVarRequestOptions.headers = {
3078
+ ...localVarHeaderParameter,
3079
+ ...headersFromBaseOptions,
3080
+ ...options.headers,
3081
+ };
3082
+ const needsSerialization = typeof changeAnalysisRequest !== "string" ||
3083
+ localVarRequestOptions.headers["Content-Type"] === "application/json";
3084
+ localVarRequestOptions.data = needsSerialization
3085
+ ? JSON.stringify(changeAnalysisRequest !== undefined ? changeAnalysisRequest : {})
3086
+ : changeAnalysisRequest || "";
3087
+ return {
3088
+ url: toPathString(localVarUrlObj),
3089
+ options: localVarRequestOptions,
3090
+ };
3091
+ },
3092
+ /**
3093
+ * Gets change analysis result.
3094
+ * @summary Get change analysis result
3095
+ * @param {string} workspaceId Workspace identifier
3096
+ * @param {string} resultId Result ID
3097
+ * @param {*} [options] Override http request option.
3098
+ * @throws {RequiredError}
3099
+ */
3100
+ changeAnalysisResult: async (workspaceId, resultId, options = {}) => {
3101
+ // verify required parameter 'workspaceId' is not null or undefined
3102
+ assertParamExists("changeAnalysisResult", "workspaceId", workspaceId);
3103
+ // verify required parameter 'resultId' is not null or undefined
3104
+ assertParamExists("changeAnalysisResult", "resultId", resultId);
3105
+ const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/execution/computeChangeAnalysis/result/{resultId}`
3106
+ .replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
3107
+ .replace(`{${"resultId"}}`, encodeURIComponent(String(resultId)));
3108
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3109
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3110
+ let baseOptions;
3111
+ if (configuration) {
3112
+ baseOptions = configuration.baseOptions;
3113
+ }
3114
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
3115
+ const localVarHeaderParameter = {};
3116
+ const localVarQueryParameter = {};
3117
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3118
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3119
+ localVarRequestOptions.headers = {
3120
+ ...localVarHeaderParameter,
3121
+ ...headersFromBaseOptions,
3122
+ ...options.headers,
3123
+ };
3124
+ return {
3125
+ url: toPathString(localVarUrlObj),
3126
+ options: localVarRequestOptions,
3127
+ };
3128
+ },
2876
3129
  /**
2877
3130
  * Returns paged list of elements (values) of given label satisfying given filtering criteria.
2878
3131
  * @summary Listing of label values. The resulting data are limited by the static platform limit to the maximum of 10000 rows.
@@ -3291,6 +3544,30 @@ export const ComputationApiAxiosParamCreator = function (configuration) {
3291
3544
  export const ComputationApiFp = function (configuration) {
3292
3545
  const localVarAxiosParamCreator = ComputationApiAxiosParamCreator(configuration);
3293
3546
  return {
3547
+ /**
3548
+ * Computes change analysis for the provided execution definition.
3549
+ * @summary Compute change analysis
3550
+ * @param {string} workspaceId Workspace identifier
3551
+ * @param {ChangeAnalysisRequest} changeAnalysisRequest
3552
+ * @param {*} [options] Override http request option.
3553
+ * @throws {RequiredError}
3554
+ */
3555
+ async changeAnalysis(workspaceId, changeAnalysisRequest, options) {
3556
+ const localVarAxiosArgs = await localVarAxiosParamCreator.changeAnalysis(workspaceId, changeAnalysisRequest, options);
3557
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3558
+ },
3559
+ /**
3560
+ * Gets change analysis result.
3561
+ * @summary Get change analysis result
3562
+ * @param {string} workspaceId Workspace identifier
3563
+ * @param {string} resultId Result ID
3564
+ * @param {*} [options] Override http request option.
3565
+ * @throws {RequiredError}
3566
+ */
3567
+ async changeAnalysisResult(workspaceId, resultId, options) {
3568
+ const localVarAxiosArgs = await localVarAxiosParamCreator.changeAnalysisResult(workspaceId, resultId, options);
3569
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3570
+ },
3294
3571
  /**
3295
3572
  * Returns paged list of elements (values) of given label satisfying given filtering criteria.
3296
3573
  * @summary Listing of label values. The resulting data are limited by the static platform limit to the maximum of 10000 rows.
@@ -3421,6 +3698,30 @@ export const ComputationApiFp = function (configuration) {
3421
3698
  export const ComputationApiFactory = function (configuration, basePath, axios) {
3422
3699
  const localVarFp = ComputationApiFp(configuration);
3423
3700
  return {
3701
+ /**
3702
+ * Computes change analysis for the provided execution definition.
3703
+ * @summary Compute change analysis
3704
+ * @param {ComputationApiChangeAnalysisRequest} requestParameters Request parameters.
3705
+ * @param {*} [options] Override http request option.
3706
+ * @throws {RequiredError}
3707
+ */
3708
+ changeAnalysis(requestParameters, options) {
3709
+ return localVarFp
3710
+ .changeAnalysis(requestParameters.workspaceId, requestParameters.changeAnalysisRequest, options)
3711
+ .then((request) => request(axios, basePath));
3712
+ },
3713
+ /**
3714
+ * Gets change analysis result.
3715
+ * @summary Get change analysis result
3716
+ * @param {ComputationApiChangeAnalysisResultRequest} requestParameters Request parameters.
3717
+ * @param {*} [options] Override http request option.
3718
+ * @throws {RequiredError}
3719
+ */
3720
+ changeAnalysisResult(requestParameters, options) {
3721
+ return localVarFp
3722
+ .changeAnalysisResult(requestParameters.workspaceId, requestParameters.resultId, options)
3723
+ .then((request) => request(axios, basePath));
3724
+ },
3424
3725
  /**
3425
3726
  * Returns paged list of elements (values) of given label satisfying given filtering criteria.
3426
3727
  * @summary Listing of label values. The resulting data are limited by the static platform limit to the maximum of 10000 rows.
@@ -3538,6 +3839,32 @@ export const ComputationApiFactory = function (configuration, basePath, axios) {
3538
3839
  * @extends {BaseAPI}
3539
3840
  */
3540
3841
  export class ComputationApi extends BaseAPI {
3842
+ /**
3843
+ * Computes change analysis for the provided execution definition.
3844
+ * @summary Compute change analysis
3845
+ * @param {ComputationApiChangeAnalysisRequest} requestParameters Request parameters.
3846
+ * @param {*} [options] Override http request option.
3847
+ * @throws {RequiredError}
3848
+ * @memberof ComputationApi
3849
+ */
3850
+ changeAnalysis(requestParameters, options) {
3851
+ return ComputationApiFp(this.configuration)
3852
+ .changeAnalysis(requestParameters.workspaceId, requestParameters.changeAnalysisRequest, options)
3853
+ .then((request) => request(this.axios, this.basePath));
3854
+ }
3855
+ /**
3856
+ * Gets change analysis result.
3857
+ * @summary Get change analysis result
3858
+ * @param {ComputationApiChangeAnalysisResultRequest} requestParameters Request parameters.
3859
+ * @param {*} [options] Override http request option.
3860
+ * @throws {RequiredError}
3861
+ * @memberof ComputationApi
3862
+ */
3863
+ changeAnalysisResult(requestParameters, options) {
3864
+ return ComputationApiFp(this.configuration)
3865
+ .changeAnalysisResult(requestParameters.workspaceId, requestParameters.resultId, options)
3866
+ .then((request) => request(this.axios, this.basePath));
3867
+ }
3541
3868
  /**
3542
3869
  * Returns paged list of elements (values) of given label satisfying given filtering criteria.
3543
3870
  * @summary Listing of label values. The resulting data are limited by the static platform limit to the maximum of 10000 rows.