@gooddata/code-cli 0.48.0-alpha.6 → 0.48.0-alpha.7

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 +67 -15
  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.48.0-alpha.6";
37373
+ var version$1 = "0.48.0-alpha.7";
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) => {
@@ -149871,7 +149871,7 @@ const metadata_v1 = {
149871
149871
  "required": ["absolute"],
149872
149872
  "properties": { "absolute": {
149873
149873
  "type": "object",
149874
- "description": "Static period, snapped to the target date attribute's granularity: from = period start, to = inclusive period end. Platform date strings: \"YYYY-MM-DD\", or \"YYYY-MM-DD HH:mm\" for hour/minute granularities.",
149874
+ "description": "Static period, snapped to the target date attribute's granularity: from = period start, to = inclusive period end. Platform date strings: \"YYYY-MM-DD\", or \"YYYY-MM-DD HH:mm\" for hour/minute, or \"YYYY-MM-DD HH:mm:ss\" for hour/minute/second granularities.",
149875
149875
  "additionalProperties": false,
149876
149876
  "required": ["from", "to"],
149877
149877
  "properties": {
@@ -150149,13 +150149,13 @@ const metadata_v1 = {
150149
150149
  "granularity": { "$ref": "#/$defs/dateFilterGranularity" },
150150
150150
  "from": {
150151
150151
  "type": "string",
150152
- "pattern": "^([0-9]{4})-([0-9]{2})-([0-9]{2})$",
150153
- "description": "A period start date as YYYY-MM-DD"
150152
+ "pattern": "^([0-9]{4})-([0-9]{2})-([0-9]{2})(?: ([0-9]{2}):([0-9]{2})(?::([0-9]{2}))?)?$",
150153
+ "description": "A period start as YYYY-MM-DD, or YYYY-MM-DD HH:mm for hour/minute, or YYYY-MM-DD HH:mm:ss for hour/minute/second granularities"
150154
150154
  },
150155
150155
  "to": {
150156
150156
  "type": "string",
150157
- "pattern": "^([0-9]{4})-([0-9]{2})-([0-9]{2})$",
150158
- "description": "A period end date as YYYY-MM-DD"
150157
+ "pattern": "^([0-9]{4})-([0-9]{2})-([0-9]{2})(?: ([0-9]{2}):([0-9]{2})(?::([0-9]{2}))?)?$",
150158
+ "description": "A period end as YYYY-MM-DD, or YYYY-MM-DD HH:mm for hour/minute, or YYYY-MM-DD HH:mm:ss for hour/minute/second granularities"
150159
150159
  },
150160
150160
  "mode": {
150161
150161
  "type": "string",
@@ -150948,6 +150948,7 @@ const metadata_v1 = {
150948
150948
  "dateFilterGranularity": {
150949
150949
  "type": "string",
150950
150950
  "enum": [
150951
+ "SECOND",
150951
150952
  "MINUTE",
150952
150953
  "HOUR",
150953
150954
  "DAY",
@@ -151277,13 +151278,13 @@ const metadata_v1 = {
151277
151278
  },
151278
151279
  "from": {
151279
151280
  "type": "string",
151280
- "pattern": "^([0-9]{4})-([0-9]{2})-([0-9]{2})(?: ([0-9]{2}):([0-9]{2}))?$",
151281
- "description": "A date from which the filter will be applied."
151281
+ "pattern": "^([0-9]{4})-([0-9]{2})-([0-9]{2})(?: ([0-9]{2}):([0-9]{2})(?::([0-9]{2}))?)?$",
151282
+ "description": "A date from which the filter will be applied. YYYY-MM-DD, or YYYY-MM-DD HH:mm for hour/minute, or YYYY-MM-DD HH:mm:ss for hour/minute/second granularities."
151282
151283
  },
151283
151284
  "to": {
151284
151285
  "type": "string",
151285
- "pattern": "^([0-9]{4})-([0-9]{2})-([0-9]{2})(?: ([0-9]{2}):([0-9]{2}))?$",
151286
- "description": "A date to which the filter will be applied."
151286
+ "pattern": "^([0-9]{4})-([0-9]{2})-([0-9]{2})(?: ([0-9]{2}):([0-9]{2})(?::([0-9]{2}))?)?$",
151287
+ "description": "A date to which the filter will be applied. YYYY-MM-DD, or YYYY-MM-DD HH:mm for hour/minute, or YYYY-MM-DD HH:mm:ss for hour/minute/second granularities."
151287
151288
  },
151288
151289
  "with": {
151289
151290
  "type": "object",
@@ -160396,7 +160397,7 @@ async function open(state, emitter, file) {
160396
160397
  //#endregion
160397
160398
  //#region ../code/package.json
160398
160399
  var name = "@gooddata/code";
160399
- var version = "0.48.0-alpha.6";
160400
+ var version = "0.48.0-alpha.7";
160400
160401
  //#endregion
160401
160402
  //#region ../../../sdk/libs/api-client-tiger/src/axios.ts
160402
160403
  /**
@@ -160418,7 +160419,7 @@ const _CONFIG = {
160418
160419
  common: {
160419
160420
  "X-Requested-With": "XMLHttpRequest",
160420
160421
  "X-GDC-JS-PACKAGE": "@gooddata/api-client-tiger",
160421
- "X-GDC-JS-PACKAGE-VERSION": "11.52.0-alpha.6"
160422
+ "X-GDC-JS-PACKAGE-VERSION": "11.52.0-alpha.7"
160422
160423
  },
160423
160424
  post: { "Content-Type": "application/json;charset=utf8" },
160424
160425
  put: { "Content-Type": "application/json;charset=utf8" }
@@ -161214,7 +161215,7 @@ async function ActionsApiAxiosParamCreator_ListWorkspaceUserGroups(workspaceId,
161214
161215
  * @param {string} workspaceId
161215
161216
  * @param {number} [page] Zero-based page index (0..N)
161216
161217
  * @param {number} [size] The size of the page to be returned.
161217
- * @param {string} [name] Filter by user name. Note that user name is case insensitive.
161218
+ * @param {string} [name] Filter by user name, email or login (user ID). Note that the filter is case insensitive.
161218
161219
  * @param {*} [options] Override http request option.
161219
161220
  * @param {Configuration} [configuration] Optional configuration.
161220
161221
  * @throws {RequiredError}
@@ -162146,6 +162147,35 @@ async function ActionsApiAxiosParamCreator_SwitchActiveIdentityProvider(switchId
162146
162147
  };
162147
162148
  }
162148
162149
  /**
162150
+ * Enqueues an organization-scoped metadata resync, fanning out the organization\'s current metadata to GenAI, GW Forge, and Automations. Requires organization MANAGE permission. Requests are deduplicated while a resync session is pending for the organization.
162151
+ * @summary Trigger metadata synchronization
162152
+ * @param {*} [options] Override http request option.
162153
+ * @param {Configuration} [configuration] Optional configuration.
162154
+ * @throws {RequiredError}
162155
+ */
162156
+ async function ActionsApiAxiosParamCreator_SyncMetadata(options = {}, configuration) {
162157
+ const localVarUrlObj = new URL(`/api/v1/actions/organization/syncMetadata`, DUMMY_BASE_URL$7);
162158
+ let baseOptions;
162159
+ if (configuration) baseOptions = configuration.baseOptions;
162160
+ const localVarRequestOptions = {
162161
+ method: "POST",
162162
+ ...baseOptions,
162163
+ ...options
162164
+ };
162165
+ const localVarHeaderParameter = {};
162166
+ setSearchParams$7(localVarUrlObj, {});
162167
+ const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
162168
+ localVarRequestOptions.headers = {
162169
+ ...localVarHeaderParameter,
162170
+ ...headersFromBaseOptions,
162171
+ ...options.headers
162172
+ };
162173
+ return {
162174
+ url: toPathString$7(localVarUrlObj),
162175
+ options: localVarRequestOptions
162176
+ };
162177
+ }
162178
+ /**
162149
162179
  * Returns a list of tags for this workspace
162150
162180
  * @summary Get Analytics Catalog Tags
162151
162181
  * @param {string} workspaceId
@@ -163074,6 +163104,18 @@ async function ActionsApi_SwitchActiveIdentityProvider(axios, basePath, requestP
163074
163104
  return createRequestFunction$7(await ActionsApiAxiosParamCreator_SwitchActiveIdentityProvider(requestParameters.switchIdentityProviderRequest, options || {}, configuration), axios$1, BASE_PATH$7, configuration)(axios, basePath);
163075
163105
  }
163076
163106
  /**
163107
+ * Enqueues an organization-scoped metadata resync, fanning out the organization\'s current metadata to GenAI, GW Forge, and Automations. Requires organization MANAGE permission. Requests are deduplicated while a resync session is pending for the organization.
163108
+ * @summary Trigger metadata synchronization
163109
+ * @param {AxiosInstance} axios Axios instance.
163110
+ * @param {string} basePath Base path.
163111
+ * @param {*} [options] Override http request option.
163112
+ * @param {Configuration} [configuration] Optional configuration.
163113
+ * @throws {RequiredError}
163114
+ */
163115
+ async function ActionsApi_SyncMetadata(axios, basePath, options, configuration) {
163116
+ return createRequestFunction$7(await ActionsApiAxiosParamCreator_SyncMetadata(options || {}, configuration), axios$1, BASE_PATH$7, configuration)(axios, basePath);
163117
+ }
163118
+ /**
163077
163119
  * Returns a list of tags for this workspace
163078
163120
  * @summary Get Analytics Catalog Tags
163079
163121
  * @param {AxiosInstance} axios Axios instance.
@@ -163700,6 +163742,16 @@ var ActionsApi$4 = class extends BaseAPI$7 {
163700
163742
  return ActionsApi_SwitchActiveIdentityProvider(this.axios, this.basePath, requestParameters, options, this.configuration);
163701
163743
  }
163702
163744
  /**
163745
+ * Enqueues an organization-scoped metadata resync, fanning out the organization\'s current metadata to GenAI, GW Forge, and Automations. Requires organization MANAGE permission. Requests are deduplicated while a resync session is pending for the organization.
163746
+ * @summary Trigger metadata synchronization
163747
+ * @param {*} [options] Override http request option.
163748
+ * @throws {RequiredError}
163749
+ * @memberof ActionsApi
163750
+ */
163751
+ syncMetadata(options) {
163752
+ return ActionsApi_SyncMetadata(this.axios, this.basePath, options, this.configuration);
163753
+ }
163754
+ /**
163703
163755
  * Returns a list of tags for this workspace
163704
163756
  * @summary Get Analytics Catalog Tags
163705
163757
  * @param {ActionsApiTagsRequest} requestParameters Request parameters.
@@ -186034,7 +186086,7 @@ async function UserManagementApiAxiosParamCreator_ListWorkspaceUserGroups(worksp
186034
186086
  * @param {string} workspaceId
186035
186087
  * @param {number} [page] Zero-based page index (0..N)
186036
186088
  * @param {number} [size] The size of the page to be returned.
186037
- * @param {string} [name] Filter by user name. Note that user name is case insensitive.
186089
+ * @param {string} [name] Filter by user name, email or login (user ID). Note that the filter is case insensitive.
186038
186090
  * @param {*} [options] Override http request option.
186039
186091
  * @param {Configuration} [configuration] Optional configuration.
186040
186092
  * @throws {RequiredError}
@@ -191506,7 +191558,7 @@ async function getUserDetails(axios, id) {
191506
191558
  }
191507
191559
  //#endregion
191508
191560
  //#region ../../../sdk/libs/api-client-tiger/src/generated/result-json-api/base.ts
191509
- const BASE_PATH$1 = "https://staging.dev-latest.stg11.panther.intgdc.com".replace(/\/+$/, "");
191561
+ const BASE_PATH$1 = "https://automation.staging-ui.stg11.panther.intgdc.com".replace(/\/+$/, "");
191510
191562
  var BaseAPI$1 = class {
191511
191563
  basePath;
191512
191564
  axios;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/code-cli",
3
- "version": "0.48.0-alpha.6",
3
+ "version": "0.48.0-alpha.7",
4
4
  "description": "GoodData CLI",
5
5
  "keywords": [
6
6
  "analytics",