@gooddata/code-cli 0.54.0-alpha.5 → 0.54.0-alpha.6

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 (2) hide show
  1. package/dist/index.js +183 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -37370,7 +37370,7 @@ function isPromise(value) {
37370
37370
  //#endregion
37371
37371
  //#region package.json
37372
37372
  var name$1 = "@gooddata/code-cli";
37373
- var version$1 = "0.54.0-alpha.5";
37373
+ var version$1 = "0.54.0-alpha.6";
37374
37374
  //#endregion
37375
37375
  //#region ../../../common/temp/aac/node_modules/.pnpm/vscode-languageserver@8.1.0/node_modules/vscode-languageserver/lib/common/utils/is.js
37376
37376
  var require_is$2 = /* @__PURE__ */ __commonJSMin(((exports) => {
@@ -161818,7 +161818,7 @@ async function open(state, emitter, file) {
161818
161818
  //#endregion
161819
161819
  //#region ../code/package.json
161820
161820
  var name = "@gooddata/code";
161821
- var version = "0.54.0-alpha.5";
161821
+ var version = "0.54.0-alpha.6";
161822
161822
  //#endregion
161823
161823
  //#region ../../../sdk/libs/api-client-tiger/src/axios.ts
161824
161824
  /**
@@ -161840,7 +161840,7 @@ const _CONFIG = {
161840
161840
  common: {
161841
161841
  "X-Requested-With": "XMLHttpRequest",
161842
161842
  "X-GDC-JS-PACKAGE": "@gooddata/api-client-tiger",
161843
- "X-GDC-JS-PACKAGE-VERSION": "11.58.0-alpha.5"
161843
+ "X-GDC-JS-PACKAGE-VERSION": "11.58.0-alpha.6"
161844
161844
  },
161845
161845
  post: { "Content-Type": "application/json;charset=utf8" },
161846
161846
  put: { "Content-Type": "application/json;charset=utf8" }
@@ -193454,6 +193454,46 @@ async function ActionsExportAxiosParamCreator_CreateRawExport(workspaceId, expor
193454
193454
  };
193455
193455
  }
193456
193456
  /**
193457
+ * Note: This API is an experimental and is going to change. Please, use it accordingly. A report export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.
193458
+ * @summary (EXPERIMENTAL) Create report export request
193459
+ * @param {string} workspaceId
193460
+ * @param {ExportReportExportRequest} exportReportExportRequest
193461
+ * @param {boolean} [xGdcDebug]
193462
+ * @param {*} [options] Override http request option.
193463
+ * @param {Configuration} [configuration] Optional configuration.
193464
+ * @throws {RequiredError}
193465
+ */
193466
+ async function ActionsExportAxiosParamCreator_CreateReportExport(workspaceId, exportReportExportRequest, xGdcDebug, options = {}, configuration) {
193467
+ assertParamExists$3("createReportExport", "workspaceId", workspaceId);
193468
+ assertParamExists$3("createReportExport", "exportReportExportRequest", exportReportExportRequest);
193469
+ const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/export/report`.replace(`{workspaceId}`, encodeURIComponent(String(workspaceId)));
193470
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$3);
193471
+ let baseOptions;
193472
+ if (configuration) baseOptions = configuration.baseOptions;
193473
+ const localVarRequestOptions = {
193474
+ method: "POST",
193475
+ ...baseOptions,
193476
+ ...options
193477
+ };
193478
+ const localVarHeaderParameter = {};
193479
+ const localVarQueryParameter = {};
193480
+ if (xGdcDebug !== void 0 && xGdcDebug !== null) localVarHeaderParameter["X-Gdc-Debug"] = String(JSON.stringify(xGdcDebug));
193481
+ const consumes = ["application/json"];
193482
+ localVarHeaderParameter["Content-Type"] = consumes.includes("application/json") ? "application/json" : consumes[0];
193483
+ setSearchParams$3(localVarUrlObj, localVarQueryParameter);
193484
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
193485
+ localVarRequestOptions.headers = {
193486
+ ...localVarHeaderParameter,
193487
+ ...headersFromBaseOptions,
193488
+ ...options.headers
193489
+ };
193490
+ localVarRequestOptions.data = typeof exportReportExportRequest !== "string" || localVarRequestOptions.headers["Content-Type"] === "application/json" ? JSON.stringify(exportReportExportRequest !== void 0 ? exportReportExportRequest : {}) : exportReportExportRequest || "";
193491
+ return {
193492
+ url: toPathString$3(localVarUrlObj),
193493
+ options: localVarRequestOptions
193494
+ };
193495
+ }
193496
+ /**
193457
193497
  * Note: This API is an experimental and is going to change. Please, use it accordingly. A slides export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.
193458
193498
  * @summary (EXPERIMENTAL) Create slides export request
193459
193499
  * @param {string} workspaceId
@@ -193710,6 +193750,74 @@ async function ActionsExportAxiosParamCreator_GetRawExport(workspaceId, exportId
193710
193750
  * @param {Configuration} [configuration] Optional configuration.
193711
193751
  * @throws {RequiredError}
193712
193752
  */
193753
+ async function ActionsExportAxiosParamCreator_GetReportExport(workspaceId, exportId, options = {}, configuration) {
193754
+ assertParamExists$3("getReportExport", "workspaceId", workspaceId);
193755
+ assertParamExists$3("getReportExport", "exportId", exportId);
193756
+ const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/export/report/{exportId}`.replace(`{workspaceId}`, encodeURIComponent(String(workspaceId))).replace(`{exportId}`, encodeURIComponent(String(exportId)));
193757
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$3);
193758
+ let baseOptions;
193759
+ if (configuration) baseOptions = configuration.baseOptions;
193760
+ const localVarRequestOptions = {
193761
+ method: "GET",
193762
+ ...baseOptions,
193763
+ ...options
193764
+ };
193765
+ const localVarHeaderParameter = {};
193766
+ setSearchParams$3(localVarUrlObj, {});
193767
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
193768
+ localVarRequestOptions.headers = {
193769
+ ...localVarHeaderParameter,
193770
+ ...headersFromBaseOptions,
193771
+ ...options.headers
193772
+ };
193773
+ return {
193774
+ url: toPathString$3(localVarUrlObj),
193775
+ options: localVarRequestOptions
193776
+ };
193777
+ }
193778
+ /**
193779
+ * Note: This API is an experimental and is going to change. Please, use it accordingly. This endpoint serves as a cache for user-defined metadata of the export for the front end UI to retrieve it, if one was created using the POST ../export/report endpoint. The metadata structure is not verified.
193780
+ * @summary (EXPERIMENTAL) Retrieve metadata context
193781
+ * @param {string} workspaceId
193782
+ * @param {string} exportId
193783
+ * @param {*} [options] Override http request option.
193784
+ * @param {Configuration} [configuration] Optional configuration.
193785
+ * @throws {RequiredError}
193786
+ */
193787
+ async function ActionsExportAxiosParamCreator_GetReportExportMetadata(workspaceId, exportId, options = {}, configuration) {
193788
+ assertParamExists$3("getReportExportMetadata", "workspaceId", workspaceId);
193789
+ assertParamExists$3("getReportExportMetadata", "exportId", exportId);
193790
+ const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/export/report/{exportId}/metadata`.replace(`{workspaceId}`, encodeURIComponent(String(workspaceId))).replace(`{exportId}`, encodeURIComponent(String(exportId)));
193791
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$3);
193792
+ let baseOptions;
193793
+ if (configuration) baseOptions = configuration.baseOptions;
193794
+ const localVarRequestOptions = {
193795
+ method: "GET",
193796
+ ...baseOptions,
193797
+ ...options
193798
+ };
193799
+ const localVarHeaderParameter = {};
193800
+ setSearchParams$3(localVarUrlObj, {});
193801
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
193802
+ localVarRequestOptions.headers = {
193803
+ ...localVarHeaderParameter,
193804
+ ...headersFromBaseOptions,
193805
+ ...options.headers
193806
+ };
193807
+ return {
193808
+ url: toPathString$3(localVarUrlObj),
193809
+ options: localVarRequestOptions
193810
+ };
193811
+ }
193812
+ /**
193813
+ * Note: This API is an experimental and is going to change. Please, use it accordingly. After clients creates a POST export request, the processing of it will start shortly asynchronously. To retrieve the result, client has to check periodically for the result on this endpoint. In case the result isn\'t ready yet, the service returns 202. If the result is ready, it returns 200 and octet stream of the result file with provided filename.
193814
+ * @summary (EXPERIMENTAL) Retrieve exported files
193815
+ * @param {string} workspaceId
193816
+ * @param {string} exportId
193817
+ * @param {*} [options] Override http request option.
193818
+ * @param {Configuration} [configuration] Optional configuration.
193819
+ * @throws {RequiredError}
193820
+ */
193713
193821
  async function ActionsExportAxiosParamCreator_GetSlidesExport(workspaceId, exportId, options = {}, configuration) {
193714
193822
  assertParamExists$3("getSlidesExport", "workspaceId", workspaceId);
193715
193823
  assertParamExists$3("getSlidesExport", "exportId", exportId);
@@ -193856,6 +193964,19 @@ async function ActionsExport_CreateRawExport(axios, basePath, requestParameters,
193856
193964
  return createRequestFunction$3(await ActionsExportAxiosParamCreator_CreateRawExport(requestParameters.workspaceId, requestParameters.exportRawExportRequest, options || {}, configuration), axios$1, BASE_PATH$3, configuration)(axios, basePath);
193857
193965
  }
193858
193966
  /**
193967
+ * Note: This API is an experimental and is going to change. Please, use it accordingly. A report export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.
193968
+ * @summary (EXPERIMENTAL) Create report export request
193969
+ * @param {AxiosInstance} axios Axios instance.
193970
+ * @param {string} basePath Base path.
193971
+ * @param {ActionsExportCreateReportExportRequest} requestParameters Request parameters.
193972
+ * @param {*} [options] Override http request option.
193973
+ * @param {Configuration} [configuration] Optional configuration.
193974
+ * @throws {RequiredError}
193975
+ */
193976
+ async function ActionsExport_CreateReportExport(axios, basePath, requestParameters, options, configuration) {
193977
+ return createRequestFunction$3(await ActionsExportAxiosParamCreator_CreateReportExport(requestParameters.workspaceId, requestParameters.exportReportExportRequest, requestParameters.xGdcDebug, options || {}, configuration), axios$1, BASE_PATH$3, configuration)(axios, basePath);
193978
+ }
193979
+ /**
193859
193980
  * Note: This API is an experimental and is going to change. Please, use it accordingly. A slides export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.
193860
193981
  * @summary (EXPERIMENTAL) Create slides export request
193861
193982
  * @param {AxiosInstance} axios Axios instance.
@@ -193951,6 +194072,32 @@ async function ActionsExport_GetRawExport(axios, basePath, requestParameters, op
193951
194072
  * @summary (EXPERIMENTAL) Retrieve exported files
193952
194073
  * @param {AxiosInstance} axios Axios instance.
193953
194074
  * @param {string} basePath Base path.
194075
+ * @param {ActionsExportGetReportExportRequest} requestParameters Request parameters.
194076
+ * @param {*} [options] Override http request option.
194077
+ * @param {Configuration} [configuration] Optional configuration.
194078
+ * @throws {RequiredError}
194079
+ */
194080
+ async function ActionsExport_GetReportExport(axios, basePath, requestParameters, options, configuration) {
194081
+ return createRequestFunction$3(await ActionsExportAxiosParamCreator_GetReportExport(requestParameters.workspaceId, requestParameters.exportId, options || {}, configuration), axios$1, BASE_PATH$3, configuration)(axios, basePath);
194082
+ }
194083
+ /**
194084
+ * Note: This API is an experimental and is going to change. Please, use it accordingly. This endpoint serves as a cache for user-defined metadata of the export for the front end UI to retrieve it, if one was created using the POST ../export/report endpoint. The metadata structure is not verified.
194085
+ * @summary (EXPERIMENTAL) Retrieve metadata context
194086
+ * @param {AxiosInstance} axios Axios instance.
194087
+ * @param {string} basePath Base path.
194088
+ * @param {ActionsExportGetReportExportMetadataRequest} requestParameters Request parameters.
194089
+ * @param {*} [options] Override http request option.
194090
+ * @param {Configuration} [configuration] Optional configuration.
194091
+ * @throws {RequiredError}
194092
+ */
194093
+ async function ActionsExport_GetReportExportMetadata(axios, basePath, requestParameters, options, configuration) {
194094
+ return createRequestFunction$3(await ActionsExportAxiosParamCreator_GetReportExportMetadata(requestParameters.workspaceId, requestParameters.exportId, options || {}, configuration), axios$1, BASE_PATH$3, configuration)(axios, basePath);
194095
+ }
194096
+ /**
194097
+ * Note: This API is an experimental and is going to change. Please, use it accordingly. After clients creates a POST export request, the processing of it will start shortly asynchronously. To retrieve the result, client has to check periodically for the result on this endpoint. In case the result isn\'t ready yet, the service returns 202. If the result is ready, it returns 200 and octet stream of the result file with provided filename.
194098
+ * @summary (EXPERIMENTAL) Retrieve exported files
194099
+ * @param {AxiosInstance} axios Axios instance.
194100
+ * @param {string} basePath Base path.
193954
194101
  * @param {ActionsExportGetSlidesExportRequest} requestParameters Request parameters.
193955
194102
  * @param {*} [options] Override http request option.
193956
194103
  * @param {Configuration} [configuration] Optional configuration.
@@ -194037,6 +194184,17 @@ var ActionsExport = class extends BaseAPI$3 {
194037
194184
  return ActionsExport_CreateRawExport(this.axios, this.basePath, requestParameters, options, this.configuration);
194038
194185
  }
194039
194186
  /**
194187
+ * Note: This API is an experimental and is going to change. Please, use it accordingly. A report export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.
194188
+ * @summary (EXPERIMENTAL) Create report export request
194189
+ * @param {ActionsExportCreateReportExportRequest} requestParameters Request parameters.
194190
+ * @param {*} [options] Override http request option.
194191
+ * @throws {RequiredError}
194192
+ * @memberof ActionsExport
194193
+ */
194194
+ createReportExport(requestParameters, options) {
194195
+ return ActionsExport_CreateReportExport(this.axios, this.basePath, requestParameters, options, this.configuration);
194196
+ }
194197
+ /**
194040
194198
  * Note: This API is an experimental and is going to change. Please, use it accordingly. A slides export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.
194041
194199
  * @summary (EXPERIMENTAL) Create slides export request
194042
194200
  * @param {ActionsExportCreateSlidesExportRequest} requestParameters Request parameters.
@@ -194116,6 +194274,28 @@ var ActionsExport = class extends BaseAPI$3 {
194116
194274
  /**
194117
194275
  * Note: This API is an experimental and is going to change. Please, use it accordingly. After clients creates a POST export request, the processing of it will start shortly asynchronously. To retrieve the result, client has to check periodically for the result on this endpoint. In case the result isn\'t ready yet, the service returns 202. If the result is ready, it returns 200 and octet stream of the result file with provided filename.
194118
194276
  * @summary (EXPERIMENTAL) Retrieve exported files
194277
+ * @param {ActionsExportGetReportExportRequest} requestParameters Request parameters.
194278
+ * @param {*} [options] Override http request option.
194279
+ * @throws {RequiredError}
194280
+ * @memberof ActionsExport
194281
+ */
194282
+ getReportExport(requestParameters, options) {
194283
+ return ActionsExport_GetReportExport(this.axios, this.basePath, requestParameters, options, this.configuration);
194284
+ }
194285
+ /**
194286
+ * Note: This API is an experimental and is going to change. Please, use it accordingly. This endpoint serves as a cache for user-defined metadata of the export for the front end UI to retrieve it, if one was created using the POST ../export/report endpoint. The metadata structure is not verified.
194287
+ * @summary (EXPERIMENTAL) Retrieve metadata context
194288
+ * @param {ActionsExportGetReportExportMetadataRequest} requestParameters Request parameters.
194289
+ * @param {*} [options] Override http request option.
194290
+ * @throws {RequiredError}
194291
+ * @memberof ActionsExport
194292
+ */
194293
+ getReportExportMetadata(requestParameters, options) {
194294
+ return ActionsExport_GetReportExportMetadata(this.axios, this.basePath, requestParameters, options, this.configuration);
194295
+ }
194296
+ /**
194297
+ * Note: This API is an experimental and is going to change. Please, use it accordingly. After clients creates a POST export request, the processing of it will start shortly asynchronously. To retrieve the result, client has to check periodically for the result on this endpoint. In case the result isn\'t ready yet, the service returns 202. If the result is ready, it returns 200 and octet stream of the result file with provided filename.
194298
+ * @summary (EXPERIMENTAL) Retrieve exported files
194119
194299
  * @param {ActionsExportGetSlidesExportRequest} requestParameters Request parameters.
194120
194300
  * @param {*} [options] Override http request option.
194121
194301
  * @throws {RequiredError}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/code-cli",
3
- "version": "0.54.0-alpha.5",
3
+ "version": "0.54.0-alpha.6",
4
4
  "description": "GoodData CLI",
5
5
  "keywords": [
6
6
  "analytics",