@gooddata/code-cli 0.44.0 → 0.45.0-alpha.1
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/CHANGELOG.md +1 -7
- package/dist/index.js +125 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,6 @@
|
|
|
1
1
|
# Change Log - @gooddata/code-cli
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
4
|
-
|
|
5
|
-
## 0.44.0
|
|
6
|
-
|
|
7
|
-
Thu, 23 Jul 2026 06:56:19 GMT
|
|
8
|
-
|
|
9
|
-
_Version update only_
|
|
3
|
+
This log was last generated on Mon, 25 May 2026 11:03:40 GMT and should not be manually modified.
|
|
10
4
|
|
|
11
5
|
## 0.32.0
|
|
12
6
|
|
package/dist/index.js
CHANGED
|
@@ -37366,7 +37366,7 @@ function isPromise(value) {
|
|
|
37366
37366
|
//#endregion
|
|
37367
37367
|
//#region package.json
|
|
37368
37368
|
var name$1 = "@gooddata/code-cli";
|
|
37369
|
-
var version$1 = "0.
|
|
37369
|
+
var version$1 = "0.45.0-alpha.1";
|
|
37370
37370
|
//#endregion
|
|
37371
37371
|
//#region ../code/esm/features/references/types.js
|
|
37372
37372
|
var UpdateReferencesType;
|
|
@@ -151800,7 +151800,7 @@ const _CONFIG = {
|
|
|
151800
151800
|
common: {
|
|
151801
151801
|
"X-Requested-With": "XMLHttpRequest",
|
|
151802
151802
|
"X-GDC-JS-PACKAGE": "@gooddata/api-client-tiger",
|
|
151803
|
-
"X-GDC-JS-PACKAGE-VERSION": "11.
|
|
151803
|
+
"X-GDC-JS-PACKAGE-VERSION": "11.49.0-alpha.1"
|
|
151804
151804
|
},
|
|
151805
151805
|
post: { "Content-Type": "application/json;charset=utf8" },
|
|
151806
151806
|
put: { "Content-Type": "application/json;charset=utf8" }
|
|
@@ -152828,6 +152828,46 @@ async function ActionsApiAxiosParamCreator_ManageLabelPermissions(workspaceId, l
|
|
|
152828
152828
|
};
|
|
152829
152829
|
}
|
|
152830
152830
|
/**
|
|
152831
|
+
*
|
|
152832
|
+
* @summary (BETA) Manage Permissions for a Metric
|
|
152833
|
+
* @param {string} workspaceId
|
|
152834
|
+
* @param {string} metricId
|
|
152835
|
+
* @param {Array<ManageMetricPermissionsRequestInner>} manageMetricPermissionsRequestInner
|
|
152836
|
+
* @param {*} [options] Override http request option.
|
|
152837
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
152838
|
+
* @throws {RequiredError}
|
|
152839
|
+
*/
|
|
152840
|
+
async function ActionsApiAxiosParamCreator_ManageMetricPermissions(workspaceId, metricId, manageMetricPermissionsRequestInner, options = {}, configuration) {
|
|
152841
|
+
assertParamExists$6("manageMetricPermissions", "workspaceId", workspaceId);
|
|
152842
|
+
assertParamExists$6("manageMetricPermissions", "metricId", metricId);
|
|
152843
|
+
assertParamExists$6("manageMetricPermissions", "manageMetricPermissionsRequestInner", manageMetricPermissionsRequestInner);
|
|
152844
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/metrics/{metricId}/managePermissions`.replace(`{workspaceId}`, encodeURIComponent(String(workspaceId))).replace(`{metricId}`, encodeURIComponent(String(metricId)));
|
|
152845
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
152846
|
+
let baseOptions;
|
|
152847
|
+
if (configuration) baseOptions = configuration.baseOptions;
|
|
152848
|
+
const localVarRequestOptions = {
|
|
152849
|
+
method: "POST",
|
|
152850
|
+
...baseOptions,
|
|
152851
|
+
...options
|
|
152852
|
+
};
|
|
152853
|
+
const localVarHeaderParameter = {};
|
|
152854
|
+
const localVarQueryParameter = {};
|
|
152855
|
+
const consumes = ["application/json"];
|
|
152856
|
+
localVarHeaderParameter["Content-Type"] = consumes.includes("application/json") ? "application/json" : consumes[0];
|
|
152857
|
+
setSearchParams$7(localVarUrlObj, localVarQueryParameter);
|
|
152858
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
152859
|
+
localVarRequestOptions.headers = {
|
|
152860
|
+
...localVarHeaderParameter,
|
|
152861
|
+
...headersFromBaseOptions,
|
|
152862
|
+
...options.headers
|
|
152863
|
+
};
|
|
152864
|
+
localVarRequestOptions.data = typeof manageMetricPermissionsRequestInner !== "string" || localVarRequestOptions.headers["Content-Type"] === "application/json" ? JSON.stringify(manageMetricPermissionsRequestInner !== void 0 ? manageMetricPermissionsRequestInner : {}) : manageMetricPermissionsRequestInner || "";
|
|
152865
|
+
return {
|
|
152866
|
+
url: toPathString$7(localVarUrlObj),
|
|
152867
|
+
options: localVarRequestOptions
|
|
152868
|
+
};
|
|
152869
|
+
}
|
|
152870
|
+
/**
|
|
152831
152871
|
* Manage Permissions for a Organization
|
|
152832
152872
|
* @summary Manage Permissions for a Organization
|
|
152833
152873
|
* @param {Array<OrganizationPermissionAssignment>} organizationPermissionAssignment
|
|
@@ -152901,6 +152941,40 @@ async function ActionsApiAxiosParamCreator_ManageWorkspacePermissions(workspaceI
|
|
|
152901
152941
|
};
|
|
152902
152942
|
}
|
|
152903
152943
|
/**
|
|
152944
|
+
*
|
|
152945
|
+
* @summary (BETA) Get Metric Permissions
|
|
152946
|
+
* @param {string} workspaceId
|
|
152947
|
+
* @param {string} metricId
|
|
152948
|
+
* @param {*} [options] Override http request option.
|
|
152949
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
152950
|
+
* @throws {RequiredError}
|
|
152951
|
+
*/
|
|
152952
|
+
async function ActionsApiAxiosParamCreator_MetricPermissions(workspaceId, metricId, options = {}, configuration) {
|
|
152953
|
+
assertParamExists$6("metricPermissions", "workspaceId", workspaceId);
|
|
152954
|
+
assertParamExists$6("metricPermissions", "metricId", metricId);
|
|
152955
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/metrics/{metricId}/permissions`.replace(`{workspaceId}`, encodeURIComponent(String(workspaceId))).replace(`{metricId}`, encodeURIComponent(String(metricId)));
|
|
152956
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
152957
|
+
let baseOptions;
|
|
152958
|
+
if (configuration) baseOptions = configuration.baseOptions;
|
|
152959
|
+
const localVarRequestOptions = {
|
|
152960
|
+
method: "GET",
|
|
152961
|
+
...baseOptions,
|
|
152962
|
+
...options
|
|
152963
|
+
};
|
|
152964
|
+
const localVarHeaderParameter = {};
|
|
152965
|
+
setSearchParams$7(localVarUrlObj, {});
|
|
152966
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
152967
|
+
localVarRequestOptions.headers = {
|
|
152968
|
+
...localVarHeaderParameter,
|
|
152969
|
+
...headersFromBaseOptions,
|
|
152970
|
+
...options.headers
|
|
152971
|
+
};
|
|
152972
|
+
return {
|
|
152973
|
+
url: toPathString$7(localVarUrlObj),
|
|
152974
|
+
options: localVarRequestOptions
|
|
152975
|
+
};
|
|
152976
|
+
}
|
|
152977
|
+
/**
|
|
152904
152978
|
* Finds API identifier overrides in given workspace hierarchy.
|
|
152905
152979
|
* @summary Finds identifier overrides in workspace hierarchy.
|
|
152906
152980
|
* @param {string} workspaceId
|
|
@@ -154124,6 +154198,19 @@ async function ActionsApi_ManageLabelPermissions(axios, basePath, requestParamet
|
|
|
154124
154198
|
return createRequestFunction$7(await ActionsApiAxiosParamCreator_ManageLabelPermissions(requestParameters.workspaceId, requestParameters.labelId, requestParameters.manageLabelPermissionsRequestInner, options || {}, configuration), axios$1, BASE_PATH$7, configuration)(axios, basePath);
|
|
154125
154199
|
}
|
|
154126
154200
|
/**
|
|
154201
|
+
*
|
|
154202
|
+
* @summary (BETA) Manage Permissions for a Metric
|
|
154203
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
154204
|
+
* @param {string} basePath Base path.
|
|
154205
|
+
* @param {ActionsApiManageMetricPermissionsRequest} requestParameters Request parameters.
|
|
154206
|
+
* @param {*} [options] Override http request option.
|
|
154207
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
154208
|
+
* @throws {RequiredError}
|
|
154209
|
+
*/
|
|
154210
|
+
async function ActionsApi_ManageMetricPermissions(axios, basePath, requestParameters, options, configuration) {
|
|
154211
|
+
return createRequestFunction$7(await ActionsApiAxiosParamCreator_ManageMetricPermissions(requestParameters.workspaceId, requestParameters.metricId, requestParameters.manageMetricPermissionsRequestInner, options || {}, configuration), axios$1, BASE_PATH$7, configuration)(axios, basePath);
|
|
154212
|
+
}
|
|
154213
|
+
/**
|
|
154127
154214
|
* Manage Permissions for a Organization
|
|
154128
154215
|
* @summary Manage Permissions for a Organization
|
|
154129
154216
|
* @param {AxiosInstance} axios Axios instance.
|
|
@@ -154150,6 +154237,19 @@ async function ActionsApi_ManageWorkspacePermissions(axios, basePath, requestPar
|
|
|
154150
154237
|
return createRequestFunction$7(await ActionsApiAxiosParamCreator_ManageWorkspacePermissions(requestParameters.workspaceId, requestParameters.workspacePermissionAssignment, options || {}, configuration), axios$1, BASE_PATH$7, configuration)(axios, basePath);
|
|
154151
154238
|
}
|
|
154152
154239
|
/**
|
|
154240
|
+
*
|
|
154241
|
+
* @summary (BETA) Get Metric Permissions
|
|
154242
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
154243
|
+
* @param {string} basePath Base path.
|
|
154244
|
+
* @param {ActionsApiMetricPermissionsRequest} requestParameters Request parameters.
|
|
154245
|
+
* @param {*} [options] Override http request option.
|
|
154246
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
154247
|
+
* @throws {RequiredError}
|
|
154248
|
+
*/
|
|
154249
|
+
async function ActionsApi_MetricPermissions(axios, basePath, requestParameters, options, configuration) {
|
|
154250
|
+
return createRequestFunction$7(await ActionsApiAxiosParamCreator_MetricPermissions(requestParameters.workspaceId, requestParameters.metricId, options || {}, configuration), axios$1, BASE_PATH$7, configuration)(axios, basePath);
|
|
154251
|
+
}
|
|
154252
|
+
/**
|
|
154153
154253
|
* Finds API identifier overrides in given workspace hierarchy.
|
|
154154
154254
|
* @summary Finds identifier overrides in workspace hierarchy.
|
|
154155
154255
|
* @param {AxiosInstance} axios Axios instance.
|
|
@@ -154764,6 +154864,17 @@ var ActionsApi$4 = class extends BaseAPI$7 {
|
|
|
154764
154864
|
return ActionsApi_ManageLabelPermissions(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
154765
154865
|
}
|
|
154766
154866
|
/**
|
|
154867
|
+
*
|
|
154868
|
+
* @summary (BETA) Manage Permissions for a Metric
|
|
154869
|
+
* @param {ActionsApiManageMetricPermissionsRequest} requestParameters Request parameters.
|
|
154870
|
+
* @param {*} [options] Override http request option.
|
|
154871
|
+
* @throws {RequiredError}
|
|
154872
|
+
* @memberof ActionsApi
|
|
154873
|
+
*/
|
|
154874
|
+
manageMetricPermissions(requestParameters, options) {
|
|
154875
|
+
return ActionsApi_ManageMetricPermissions(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
154876
|
+
}
|
|
154877
|
+
/**
|
|
154767
154878
|
* Manage Permissions for a Organization
|
|
154768
154879
|
* @summary Manage Permissions for a Organization
|
|
154769
154880
|
* @param {ActionsApiManageOrganizationPermissionsRequest} requestParameters Request parameters.
|
|
@@ -154786,6 +154897,17 @@ var ActionsApi$4 = class extends BaseAPI$7 {
|
|
|
154786
154897
|
return ActionsApi_ManageWorkspacePermissions(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
154787
154898
|
}
|
|
154788
154899
|
/**
|
|
154900
|
+
*
|
|
154901
|
+
* @summary (BETA) Get Metric Permissions
|
|
154902
|
+
* @param {ActionsApiMetricPermissionsRequest} requestParameters Request parameters.
|
|
154903
|
+
* @param {*} [options] Override http request option.
|
|
154904
|
+
* @throws {RequiredError}
|
|
154905
|
+
* @memberof ActionsApi
|
|
154906
|
+
*/
|
|
154907
|
+
metricPermissions(requestParameters, options) {
|
|
154908
|
+
return ActionsApi_MetricPermissions(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
154909
|
+
}
|
|
154910
|
+
/**
|
|
154789
154911
|
* Finds API identifier overrides in given workspace hierarchy.
|
|
154790
154912
|
* @summary Finds identifier overrides in workspace hierarchy.
|
|
154791
154913
|
* @param {ActionsApiOverriddenChildEntitiesRequest} requestParameters Request parameters.
|
|
@@ -198178,7 +198300,7 @@ async function get(state, opts) {
|
|
|
198178
198300
|
//#endregion
|
|
198179
198301
|
//#region ../code/package.json
|
|
198180
198302
|
var name = "@gooddata/code";
|
|
198181
|
-
var version = "0.
|
|
198303
|
+
var version = "0.45.0-alpha.1";
|
|
198182
198304
|
//#endregion
|
|
198183
198305
|
//#region ../code/esm/actions/initialize.js
|
|
198184
198306
|
async function initialize(state, emitter, options) {
|