@gooddata/code-cli 0.49.0-alpha.5 → 0.49.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.
- package/dist/index.js +20 -20
- 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.49.0-alpha.
|
|
37373
|
+
var version$1 = "0.49.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) => {
|
|
@@ -140741,7 +140741,7 @@ function yamlTimezoneConfigToDeclarative(input) {
|
|
|
140741
140741
|
return {
|
|
140742
140742
|
...input.timezone_id ? { timezoneId: input.timezone_id } : {},
|
|
140743
140743
|
...input.show_timezone_info ? { showTimezoneInfo: input.show_timezone_info } : {},
|
|
140744
|
-
...input.allow_user_override_in_view_mode ? { allowUserOverrideInViewMode: input.allow_user_override_in_view_mode } : {}
|
|
140744
|
+
...typeof input.allow_user_override_in_view_mode === "boolean" ? { allowUserOverrideInViewMode: input.allow_user_override_in_view_mode } : {}
|
|
140745
140745
|
};
|
|
140746
140746
|
}
|
|
140747
140747
|
function isFilterGroup$1(filter) {
|
|
@@ -142578,7 +142578,7 @@ function declarativeTimezoneConfigToYaml(config) {
|
|
|
142578
142578
|
return {
|
|
142579
142579
|
...config.timezoneId ? { timezone_id: config.timezoneId } : {},
|
|
142580
142580
|
...config.showTimezoneInfo ? { show_timezone_info: config.showTimezoneInfo } : { show_timezone_info: false },
|
|
142581
|
-
...config.allowUserOverrideInViewMode ? { allow_user_override_in_view_mode: config.allowUserOverrideInViewMode } : {
|
|
142581
|
+
...typeof config.allowUserOverrideInViewMode === "boolean" ? { allow_user_override_in_view_mode: config.allowUserOverrideInViewMode } : {}
|
|
142582
142582
|
};
|
|
142583
142583
|
}
|
|
142584
142584
|
function declarativeVisualizationSwitcherWidgetToYaml(widget, size, entities, errorContext) {
|
|
@@ -160397,7 +160397,7 @@ async function open(state, emitter, file) {
|
|
|
160397
160397
|
//#endregion
|
|
160398
160398
|
//#region ../code/package.json
|
|
160399
160399
|
var name = "@gooddata/code";
|
|
160400
|
-
var version = "0.49.0-alpha.
|
|
160400
|
+
var version = "0.49.0-alpha.7";
|
|
160401
160401
|
//#endregion
|
|
160402
160402
|
//#region ../../../sdk/libs/api-client-tiger/src/axios.ts
|
|
160403
160403
|
/**
|
|
@@ -160419,7 +160419,7 @@ const _CONFIG = {
|
|
|
160419
160419
|
common: {
|
|
160420
160420
|
"X-Requested-With": "XMLHttpRequest",
|
|
160421
160421
|
"X-GDC-JS-PACKAGE": "@gooddata/api-client-tiger",
|
|
160422
|
-
"X-GDC-JS-PACKAGE-VERSION": "11.53.0-alpha.
|
|
160422
|
+
"X-GDC-JS-PACKAGE-VERSION": "11.53.0-alpha.7"
|
|
160423
160423
|
},
|
|
160424
160424
|
post: { "Content-Type": "application/json;charset=utf8" },
|
|
160425
160425
|
put: { "Content-Type": "application/json;charset=utf8" }
|
|
@@ -191862,13 +191862,13 @@ const createRequestFunction$2 = function(axiosArgs, globalAxios, BASE_PATH, conf
|
|
|
191862
191862
|
//#endregion
|
|
191863
191863
|
//#region ../../../sdk/libs/api-client-tiger/src/generated/ai-json-api/api.ts
|
|
191864
191864
|
/**
|
|
191865
|
-
* Returns AI usage stats for the
|
|
191866
|
-
* @summary (EXPERIMENTAL) AI observability overview
|
|
191865
|
+
* Returns AI usage stats for the user\'s organization for the current calendar month, alongside the previous month\'s value. Backed by the ai_usage_counters table populated by the metering pipeline.
|
|
191866
|
+
* @summary (EXPERIMENTAL) AI observability overview
|
|
191867
191867
|
* @param {*} [options] Override http request option.
|
|
191868
191868
|
* @param {Configuration} [configuration] Optional configuration.
|
|
191869
191869
|
* @throws {RequiredError}
|
|
191870
191870
|
*/
|
|
191871
|
-
async function
|
|
191871
|
+
async function ObservabilityAiAxiosParamCreator_GetObservabilityOverview(options = {}, configuration) {
|
|
191872
191872
|
const localVarUrlObj = new URL(`/api/v1/ai/organization/observability`, DUMMY_BASE_URL$2);
|
|
191873
191873
|
let baseOptions;
|
|
191874
191874
|
if (configuration) baseOptions = configuration.baseOptions;
|
|
@@ -191891,40 +191891,40 @@ async function AIObservabilityAiAxiosParamCreator_GetObservabilityOverview(optio
|
|
|
191891
191891
|
};
|
|
191892
191892
|
}
|
|
191893
191893
|
/**
|
|
191894
|
-
* Returns AI usage stats for the
|
|
191895
|
-
* @summary (EXPERIMENTAL) AI observability overview
|
|
191894
|
+
* Returns AI usage stats for the user\'s organization for the current calendar month, alongside the previous month\'s value. Backed by the ai_usage_counters table populated by the metering pipeline.
|
|
191895
|
+
* @summary (EXPERIMENTAL) AI observability overview
|
|
191896
191896
|
* @param {AxiosInstance} axios Axios instance.
|
|
191897
191897
|
* @param {string} basePath Base path.
|
|
191898
191898
|
* @param {*} [options] Override http request option.
|
|
191899
191899
|
* @param {Configuration} [configuration] Optional configuration.
|
|
191900
191900
|
* @throws {RequiredError}
|
|
191901
191901
|
*/
|
|
191902
|
-
async function
|
|
191903
|
-
return createRequestFunction$2(await
|
|
191902
|
+
async function ObservabilityAi_GetObservabilityOverview(axios, basePath, options, configuration) {
|
|
191903
|
+
return createRequestFunction$2(await ObservabilityAiAxiosParamCreator_GetObservabilityOverview(options || {}, configuration), axios$1, BASE_PATH$2, configuration)(axios, basePath);
|
|
191904
191904
|
}
|
|
191905
191905
|
/**
|
|
191906
|
-
*
|
|
191906
|
+
* ObservabilityAi - object-oriented interface
|
|
191907
191907
|
* @export
|
|
191908
|
-
* @class
|
|
191908
|
+
* @class ObservabilityAi
|
|
191909
191909
|
* @extends {BaseAPI}
|
|
191910
191910
|
*/
|
|
191911
|
-
var
|
|
191911
|
+
var ObservabilityAi = class extends BaseAPI$2 {
|
|
191912
191912
|
/**
|
|
191913
|
-
* Returns AI usage stats for the
|
|
191914
|
-
* @summary (EXPERIMENTAL) AI observability overview
|
|
191913
|
+
* Returns AI usage stats for the user\'s organization for the current calendar month, alongside the previous month\'s value. Backed by the ai_usage_counters table populated by the metering pipeline.
|
|
191914
|
+
* @summary (EXPERIMENTAL) AI observability overview
|
|
191915
191915
|
* @param {*} [options] Override http request option.
|
|
191916
191916
|
* @throws {RequiredError}
|
|
191917
|
-
* @memberof
|
|
191917
|
+
* @memberof ObservabilityAi
|
|
191918
191918
|
*/
|
|
191919
191919
|
getObservabilityOverview(options) {
|
|
191920
|
-
return
|
|
191920
|
+
return ObservabilityAi_GetObservabilityOverview(this.axios, this.basePath, options, this.configuration);
|
|
191921
191921
|
}
|
|
191922
191922
|
};
|
|
191923
191923
|
//#endregion
|
|
191924
191924
|
//#region ../../../sdk/libs/api-client-tiger/src/genAI.ts
|
|
191925
191925
|
const tigerGenAIClientFactory = (axios) => {
|
|
191926
191926
|
const actionsApi = new ActionsApi$2(void 0, "", axios);
|
|
191927
|
-
const observabilityApi = new
|
|
191927
|
+
const observabilityApi = new ObservabilityAi(void 0, "", axios);
|
|
191928
191928
|
return {
|
|
191929
191929
|
aiSearch: actionsApi.aiSearch.bind(actionsApi),
|
|
191930
191930
|
aiChat: actionsApi.aiChat.bind(actionsApi),
|