@gooddata/code-cli 0.59.0-alpha.2 → 0.59.0-alpha.4
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 +265 -305
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -27,10 +27,10 @@ import https from "https";
|
|
|
27
27
|
import http2 from "http2";
|
|
28
28
|
import zlib from "zlib";
|
|
29
29
|
import * as fs$1 from "node:fs";
|
|
30
|
+
import { readFileSync as readFileSync$1 } from "node:fs";
|
|
30
31
|
import * as fsPromise from "node:fs/promises";
|
|
31
32
|
import { lstat, readdir, realpath, stat } from "node:fs/promises";
|
|
32
33
|
import * as util$1 from "node:util";
|
|
33
|
-
import { execSync } from "node:child_process";
|
|
34
34
|
//#region \0rolldown/runtime.js
|
|
35
35
|
var __create = Object.create;
|
|
36
36
|
var __defProp = Object.defineProperty;
|
|
@@ -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.59.0-alpha.
|
|
37373
|
+
var version$1 = "0.59.0-alpha.4";
|
|
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) => {
|
|
@@ -131658,7 +131658,7 @@ const callbackify = (fn, reducer) => {
|
|
|
131658
131658
|
};
|
|
131659
131659
|
//#endregion
|
|
131660
131660
|
//#region ../../../common/temp/sdk/node_modules/.pnpm/axios@1.20.0/node_modules/axios/lib/helpers/shouldBypassProxy.js
|
|
131661
|
-
const LOOPBACK_HOSTNAMES = new Set(["localhost", "0.0.0.0"]);
|
|
131661
|
+
const LOOPBACK_HOSTNAMES$1 = new Set(["localhost", "0.0.0.0"]);
|
|
131662
131662
|
const trimTrailingDots = (value) => {
|
|
131663
131663
|
let end = value.length;
|
|
131664
131664
|
while (end && value.charCodeAt(end - 1) === 46) end--;
|
|
@@ -131769,7 +131769,7 @@ const isIPv6Loopback = (host) => {
|
|
|
131769
131769
|
};
|
|
131770
131770
|
const isLoopback = (host) => {
|
|
131771
131771
|
if (!host) return false;
|
|
131772
|
-
if (LOOPBACK_HOSTNAMES.has(host)) return true;
|
|
131772
|
+
if (LOOPBACK_HOSTNAMES$1.has(host)) return true;
|
|
131773
131773
|
if (isIPv4Loopback(host)) return true;
|
|
131774
131774
|
if (isIPv6Unspecified(host)) return true;
|
|
131775
131775
|
return isIPv6Loopback(host);
|
|
@@ -151875,6 +151875,35 @@ const metadata_v1 = {
|
|
|
151875
151875
|
]
|
|
151876
151876
|
},
|
|
151877
151877
|
"vertical_align": { "$ref": "#/$global/gaac/publisherVerticalAlignV2" },
|
|
151878
|
+
"font_size": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
151879
|
+
"font_weight": {
|
|
151880
|
+
"type": "number",
|
|
151881
|
+
"minimum": 1,
|
|
151882
|
+
"maximum": 1e3
|
|
151883
|
+
},
|
|
151884
|
+
"font_style": {
|
|
151885
|
+
"type": "string",
|
|
151886
|
+
"enum": ["normal", "italic"]
|
|
151887
|
+
},
|
|
151888
|
+
"line_height": { "type": "number" },
|
|
151889
|
+
"letter_spacing": { "type": "number" },
|
|
151890
|
+
"text_transform": {
|
|
151891
|
+
"type": "string",
|
|
151892
|
+
"enum": [
|
|
151893
|
+
"none",
|
|
151894
|
+
"uppercase",
|
|
151895
|
+
"lowercase",
|
|
151896
|
+
"capitalize"
|
|
151897
|
+
]
|
|
151898
|
+
},
|
|
151899
|
+
"text_overflow": {
|
|
151900
|
+
"type": "string",
|
|
151901
|
+
"enum": [
|
|
151902
|
+
"shrink",
|
|
151903
|
+
"clip",
|
|
151904
|
+
"ellipsis"
|
|
151905
|
+
]
|
|
151906
|
+
},
|
|
151878
151907
|
"gap": { "$ref": "#/$global/gaac/publisherGapValueV2" }
|
|
151879
151908
|
}
|
|
151880
151909
|
},
|
|
@@ -152603,6 +152632,35 @@ const metadata_v1 = {
|
|
|
152603
152632
|
]
|
|
152604
152633
|
},
|
|
152605
152634
|
"vertical_align": { "$ref": "#/$global/gaac/publisherVerticalAlignV2" },
|
|
152635
|
+
"font_size": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
152636
|
+
"font_weight": {
|
|
152637
|
+
"type": "number",
|
|
152638
|
+
"minimum": 1,
|
|
152639
|
+
"maximum": 1e3
|
|
152640
|
+
},
|
|
152641
|
+
"font_style": {
|
|
152642
|
+
"type": "string",
|
|
152643
|
+
"enum": ["normal", "italic"]
|
|
152644
|
+
},
|
|
152645
|
+
"line_height": { "type": "number" },
|
|
152646
|
+
"letter_spacing": { "type": "number" },
|
|
152647
|
+
"text_transform": {
|
|
152648
|
+
"type": "string",
|
|
152649
|
+
"enum": [
|
|
152650
|
+
"none",
|
|
152651
|
+
"uppercase",
|
|
152652
|
+
"lowercase",
|
|
152653
|
+
"capitalize"
|
|
152654
|
+
]
|
|
152655
|
+
},
|
|
152656
|
+
"text_overflow": {
|
|
152657
|
+
"type": "string",
|
|
152658
|
+
"enum": [
|
|
152659
|
+
"shrink",
|
|
152660
|
+
"clip",
|
|
152661
|
+
"ellipsis"
|
|
152662
|
+
]
|
|
152663
|
+
},
|
|
152606
152664
|
"gap": { "$ref": "#/$global/gaac/publisherGapValueV2" }
|
|
152607
152665
|
}
|
|
152608
152666
|
},
|
|
@@ -165722,7 +165780,7 @@ async function open(state, emitter, file) {
|
|
|
165722
165780
|
//#endregion
|
|
165723
165781
|
//#region ../code/package.json
|
|
165724
165782
|
var name = "@gooddata/code";
|
|
165725
|
-
var version = "0.59.0-alpha.
|
|
165783
|
+
var version = "0.59.0-alpha.4";
|
|
165726
165784
|
//#endregion
|
|
165727
165785
|
//#region ../../../sdk/libs/api-client-tiger/src/axios.ts
|
|
165728
165786
|
/**
|
|
@@ -165744,7 +165802,7 @@ const _CONFIG = {
|
|
|
165744
165802
|
common: {
|
|
165745
165803
|
"X-Requested-With": "XMLHttpRequest",
|
|
165746
165804
|
"X-GDC-JS-PACKAGE": "@gooddata/api-client-tiger",
|
|
165747
|
-
"X-GDC-JS-PACKAGE-VERSION": "11.63.0-alpha.
|
|
165805
|
+
"X-GDC-JS-PACKAGE-VERSION": "11.63.0-alpha.4"
|
|
165748
165806
|
},
|
|
165749
165807
|
post: { "Content-Type": "application/json;charset=utf8" },
|
|
165750
165808
|
put: { "Content-Type": "application/json;charset=utf8" }
|
|
@@ -167033,6 +167091,35 @@ async function ActionsApiAxiosParamCreator_MetricPermissions(workspaceId, metric
|
|
|
167033
167091
|
};
|
|
167034
167092
|
}
|
|
167035
167093
|
/**
|
|
167094
|
+
* (BETA) Lists the languages that have at least one translation, separately for each kind of translation.
|
|
167095
|
+
* @summary (BETA) Languages with translations in the organization.
|
|
167096
|
+
* @param {*} [options] Override http request option.
|
|
167097
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
167098
|
+
* @throws {RequiredError}
|
|
167099
|
+
*/
|
|
167100
|
+
async function ActionsApiAxiosParamCreator_OrganizationLocalizationStatistics(options = {}, configuration) {
|
|
167101
|
+
const localVarUrlObj = new URL(`/api/v1/actions/organization/localization/statistics`, DUMMY_BASE_URL$6);
|
|
167102
|
+
let baseOptions;
|
|
167103
|
+
if (configuration) baseOptions = configuration.baseOptions;
|
|
167104
|
+
const localVarRequestOptions = {
|
|
167105
|
+
method: "GET",
|
|
167106
|
+
...baseOptions,
|
|
167107
|
+
...options
|
|
167108
|
+
};
|
|
167109
|
+
const localVarHeaderParameter = {};
|
|
167110
|
+
setSearchParams$6(localVarUrlObj, {});
|
|
167111
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
167112
|
+
localVarRequestOptions.headers = {
|
|
167113
|
+
...localVarHeaderParameter,
|
|
167114
|
+
...headersFromBaseOptions,
|
|
167115
|
+
...options.headers
|
|
167116
|
+
};
|
|
167117
|
+
return {
|
|
167118
|
+
url: toPathString$6(localVarUrlObj),
|
|
167119
|
+
options: localVarRequestOptions
|
|
167120
|
+
};
|
|
167121
|
+
}
|
|
167122
|
+
/**
|
|
167036
167123
|
* (BETA) Counts workspaces and users per language of the display, metadata and data language settings. Users count only under the languages they set themselves.
|
|
167037
167124
|
* @summary (BETA) Languages used in the organization.
|
|
167038
167125
|
* @param {*} [options] Override http request option.
|
|
@@ -168554,6 +168641,18 @@ async function ActionsApi_MetricPermissions(axios, basePath, requestParameters,
|
|
|
168554
168641
|
return createRequestFunction$6(await ActionsApiAxiosParamCreator_MetricPermissions(requestParameters.workspaceId, requestParameters.metricId, options || {}, configuration), axios$1, BASE_PATH$6, configuration)(axios, basePath);
|
|
168555
168642
|
}
|
|
168556
168643
|
/**
|
|
168644
|
+
* (BETA) Lists the languages that have at least one translation, separately for each kind of translation.
|
|
168645
|
+
* @summary (BETA) Languages with translations in the organization.
|
|
168646
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
168647
|
+
* @param {string} basePath Base path.
|
|
168648
|
+
* @param {*} [options] Override http request option.
|
|
168649
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
168650
|
+
* @throws {RequiredError}
|
|
168651
|
+
*/
|
|
168652
|
+
async function ActionsApi_OrganizationLocalizationStatistics(axios, basePath, options, configuration) {
|
|
168653
|
+
return createRequestFunction$6(await ActionsApiAxiosParamCreator_OrganizationLocalizationStatistics(options || {}, configuration), axios$1, BASE_PATH$6, configuration)(axios, basePath);
|
|
168654
|
+
}
|
|
168655
|
+
/**
|
|
168557
168656
|
* (BETA) Counts workspaces and users per language of the display, metadata and data language settings. Users count only under the languages they set themselves.
|
|
168558
168657
|
* @summary (BETA) Languages used in the organization.
|
|
168559
168658
|
* @param {AxiosInstance} axios Axios instance.
|
|
@@ -169321,6 +169420,16 @@ var ActionsApi$3 = class extends BaseAPI$6 {
|
|
|
169321
169420
|
return ActionsApi_MetricPermissions(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
169322
169421
|
}
|
|
169323
169422
|
/**
|
|
169423
|
+
* (BETA) Lists the languages that have at least one translation, separately for each kind of translation.
|
|
169424
|
+
* @summary (BETA) Languages with translations in the organization.
|
|
169425
|
+
* @param {*} [options] Override http request option.
|
|
169426
|
+
* @throws {RequiredError}
|
|
169427
|
+
* @memberof ActionsApi
|
|
169428
|
+
*/
|
|
169429
|
+
organizationLocalizationStatistics(options) {
|
|
169430
|
+
return ActionsApi_OrganizationLocalizationStatistics(this.axios, this.basePath, options, this.configuration);
|
|
169431
|
+
}
|
|
169432
|
+
/**
|
|
169324
169433
|
* (BETA) Counts workspaces and users per language of the display, metadata and data language settings. Users count only under the languages they set themselves.
|
|
169325
169434
|
* @summary (BETA) Languages used in the organization.
|
|
169326
169435
|
* @param {*} [options] Override http request option.
|
|
@@ -195002,39 +195111,6 @@ async function ActionsApiAxiosParamCreator_CancelWorkflow(workspaceId, runId, op
|
|
|
195002
195111
|
};
|
|
195003
195112
|
}
|
|
195004
195113
|
/**
|
|
195005
|
-
*
|
|
195006
|
-
* @param {string} workspaceId Workspace identifier
|
|
195007
|
-
* @param {string} runId
|
|
195008
|
-
* @param {*} [options] Override http request option.
|
|
195009
|
-
* @param {Configuration} [configuration] Optional configuration.
|
|
195010
|
-
* @throws {RequiredError}
|
|
195011
|
-
*/
|
|
195012
|
-
async function ActionsApiAxiosParamCreator_CancelWorkflow1(workspaceId, runId, options = {}, configuration) {
|
|
195013
|
-
assertParamExists$4("cancelWorkflow1", "workspaceId", workspaceId);
|
|
195014
|
-
assertParamExists$4("cancelWorkflow1", "runId", runId);
|
|
195015
|
-
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/agent/{runId}/cancel`.replace(`{workspaceId}`, encodeURIComponent(String(workspaceId))).replace(`{runId}`, encodeURIComponent(String(runId)));
|
|
195016
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
|
|
195017
|
-
let baseOptions;
|
|
195018
|
-
if (configuration) baseOptions = configuration.baseOptions;
|
|
195019
|
-
const localVarRequestOptions = {
|
|
195020
|
-
method: "POST",
|
|
195021
|
-
...baseOptions,
|
|
195022
|
-
...options
|
|
195023
|
-
};
|
|
195024
|
-
const localVarHeaderParameter = {};
|
|
195025
|
-
setSearchParams$4(localVarUrlObj, {});
|
|
195026
|
-
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
195027
|
-
localVarRequestOptions.headers = {
|
|
195028
|
-
...localVarHeaderParameter,
|
|
195029
|
-
...headersFromBaseOptions,
|
|
195030
|
-
...options.headers
|
|
195031
|
-
};
|
|
195032
|
-
return {
|
|
195033
|
-
url: toPathString$4(localVarUrlObj),
|
|
195034
|
-
options: localVarRequestOptions
|
|
195035
|
-
};
|
|
195036
|
-
}
|
|
195037
|
-
/**
|
|
195038
195114
|
* Computes change analysis for the provided execution definition.
|
|
195039
195115
|
* @summary Compute change analysis
|
|
195040
195116
|
* @param {string} workspaceId Workspace identifier
|
|
@@ -195587,43 +195663,6 @@ async function ActionsApiAxiosParamCreator_GenerateDashboardSummary(workspaceId,
|
|
|
195587
195663
|
};
|
|
195588
195664
|
}
|
|
195589
195665
|
/**
|
|
195590
|
-
*
|
|
195591
|
-
* @param {string} workspaceId Workspace identifier
|
|
195592
|
-
* @param {DashboardSummaryRequestDto} dashboardSummaryRequestDto
|
|
195593
|
-
* @param {*} [options] Override http request option.
|
|
195594
|
-
* @param {Configuration} [configuration] Optional configuration.
|
|
195595
|
-
* @throws {RequiredError}
|
|
195596
|
-
*/
|
|
195597
|
-
async function ActionsApiAxiosParamCreator_GenerateDashboardSummary1(workspaceId, dashboardSummaryRequestDto, options = {}, configuration) {
|
|
195598
|
-
assertParamExists$4("generateDashboardSummary1", "workspaceId", workspaceId);
|
|
195599
|
-
assertParamExists$4("generateDashboardSummary1", "dashboardSummaryRequestDto", dashboardSummaryRequestDto);
|
|
195600
|
-
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/agent/dashboardSummary`.replace(`{workspaceId}`, encodeURIComponent(String(workspaceId)));
|
|
195601
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
|
|
195602
|
-
let baseOptions;
|
|
195603
|
-
if (configuration) baseOptions = configuration.baseOptions;
|
|
195604
|
-
const localVarRequestOptions = {
|
|
195605
|
-
method: "POST",
|
|
195606
|
-
...baseOptions,
|
|
195607
|
-
...options
|
|
195608
|
-
};
|
|
195609
|
-
const localVarHeaderParameter = {};
|
|
195610
|
-
const localVarQueryParameter = {};
|
|
195611
|
-
const consumes = ["application/json"];
|
|
195612
|
-
localVarHeaderParameter["Content-Type"] = consumes.includes("application/json") ? "application/json" : consumes[0];
|
|
195613
|
-
setSearchParams$4(localVarUrlObj, localVarQueryParameter);
|
|
195614
|
-
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
195615
|
-
localVarRequestOptions.headers = {
|
|
195616
|
-
...localVarHeaderParameter,
|
|
195617
|
-
...headersFromBaseOptions,
|
|
195618
|
-
...options.headers
|
|
195619
|
-
};
|
|
195620
|
-
localVarRequestOptions.data = typeof dashboardSummaryRequestDto !== "string" || localVarRequestOptions.headers["Content-Type"] === "application/json" ? JSON.stringify(dashboardSummaryRequestDto !== void 0 ? dashboardSummaryRequestDto : {}) : dashboardSummaryRequestDto || "";
|
|
195621
|
-
return {
|
|
195622
|
-
url: toPathString$4(localVarUrlObj),
|
|
195623
|
-
options: localVarRequestOptions
|
|
195624
|
-
};
|
|
195625
|
-
}
|
|
195626
|
-
/**
|
|
195627
195666
|
* Generates a description for the specified analytics object. Returns description and a note with details if generation was not performed.
|
|
195628
195667
|
* @summary Generate Description for Analytics Object
|
|
195629
195668
|
* @param {string} workspaceId Workspace identifier
|
|
@@ -195662,43 +195701,6 @@ async function ActionsApiAxiosParamCreator_GenerateDescription(workspaceId, gene
|
|
|
195662
195701
|
};
|
|
195663
195702
|
}
|
|
195664
195703
|
/**
|
|
195665
|
-
*
|
|
195666
|
-
* @param {string} workspaceId Workspace identifier
|
|
195667
|
-
* @param {KnowledgeRecommendationsRequestDto} knowledgeRecommendationsRequestDto
|
|
195668
|
-
* @param {*} [options] Override http request option.
|
|
195669
|
-
* @param {Configuration} [configuration] Optional configuration.
|
|
195670
|
-
* @throws {RequiredError}
|
|
195671
|
-
*/
|
|
195672
|
-
async function ActionsApiAxiosParamCreator_GenerateKnowledgeRecommendations(workspaceId, knowledgeRecommendationsRequestDto, options = {}, configuration) {
|
|
195673
|
-
assertParamExists$4("generateKnowledgeRecommendations", "workspaceId", workspaceId);
|
|
195674
|
-
assertParamExists$4("generateKnowledgeRecommendations", "knowledgeRecommendationsRequestDto", knowledgeRecommendationsRequestDto);
|
|
195675
|
-
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/agent/knowledgeRecommendations`.replace(`{workspaceId}`, encodeURIComponent(String(workspaceId)));
|
|
195676
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
|
|
195677
|
-
let baseOptions;
|
|
195678
|
-
if (configuration) baseOptions = configuration.baseOptions;
|
|
195679
|
-
const localVarRequestOptions = {
|
|
195680
|
-
method: "POST",
|
|
195681
|
-
...baseOptions,
|
|
195682
|
-
...options
|
|
195683
|
-
};
|
|
195684
|
-
const localVarHeaderParameter = {};
|
|
195685
|
-
const localVarQueryParameter = {};
|
|
195686
|
-
const consumes = ["application/json"];
|
|
195687
|
-
localVarHeaderParameter["Content-Type"] = consumes.includes("application/json") ? "application/json" : consumes[0];
|
|
195688
|
-
setSearchParams$4(localVarUrlObj, localVarQueryParameter);
|
|
195689
|
-
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
195690
|
-
localVarRequestOptions.headers = {
|
|
195691
|
-
...localVarHeaderParameter,
|
|
195692
|
-
...headersFromBaseOptions,
|
|
195693
|
-
...options.headers
|
|
195694
|
-
};
|
|
195695
|
-
localVarRequestOptions.data = typeof knowledgeRecommendationsRequestDto !== "string" || localVarRequestOptions.headers["Content-Type"] === "application/json" ? JSON.stringify(knowledgeRecommendationsRequestDto !== void 0 ? knowledgeRecommendationsRequestDto : {}) : knowledgeRecommendationsRequestDto || "";
|
|
195696
|
-
return {
|
|
195697
|
-
url: toPathString$4(localVarUrlObj),
|
|
195698
|
-
options: localVarRequestOptions
|
|
195699
|
-
};
|
|
195700
|
-
}
|
|
195701
|
-
/**
|
|
195702
195704
|
* Generates a title for the specified analytics object. Returns title and a note with details if generation was not performed.
|
|
195703
195705
|
* @summary Generate Title for Analytics Object
|
|
195704
195706
|
* @param {string} workspaceId Workspace identifier
|
|
@@ -195836,39 +195838,6 @@ async function ActionsApiAxiosParamCreator_GetWorkflowStatus(workspaceId, runId,
|
|
|
195836
195838
|
};
|
|
195837
195839
|
}
|
|
195838
195840
|
/**
|
|
195839
|
-
*
|
|
195840
|
-
* @param {string} workspaceId Workspace identifier
|
|
195841
|
-
* @param {string} runId
|
|
195842
|
-
* @param {*} [options] Override http request option.
|
|
195843
|
-
* @param {Configuration} [configuration] Optional configuration.
|
|
195844
|
-
* @throws {RequiredError}
|
|
195845
|
-
*/
|
|
195846
|
-
async function ActionsApiAxiosParamCreator_GetWorkflowStatus1(workspaceId, runId, options = {}, configuration) {
|
|
195847
|
-
assertParamExists$4("getWorkflowStatus1", "workspaceId", workspaceId);
|
|
195848
|
-
assertParamExists$4("getWorkflowStatus1", "runId", runId);
|
|
195849
|
-
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/agent/{runId}/status`.replace(`{workspaceId}`, encodeURIComponent(String(workspaceId))).replace(`{runId}`, encodeURIComponent(String(runId)));
|
|
195850
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
|
|
195851
|
-
let baseOptions;
|
|
195852
|
-
if (configuration) baseOptions = configuration.baseOptions;
|
|
195853
|
-
const localVarRequestOptions = {
|
|
195854
|
-
method: "GET",
|
|
195855
|
-
...baseOptions,
|
|
195856
|
-
...options
|
|
195857
|
-
};
|
|
195858
|
-
const localVarHeaderParameter = {};
|
|
195859
|
-
setSearchParams$4(localVarUrlObj, {});
|
|
195860
|
-
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
195861
|
-
localVarRequestOptions.headers = {
|
|
195862
|
-
...localVarHeaderParameter,
|
|
195863
|
-
...headersFromBaseOptions,
|
|
195864
|
-
...options.headers
|
|
195865
|
-
};
|
|
195866
|
-
return {
|
|
195867
|
-
url: toPathString$4(localVarUrlObj),
|
|
195868
|
-
options: localVarRequestOptions
|
|
195869
|
-
};
|
|
195870
|
-
}
|
|
195871
|
-
/**
|
|
195872
195841
|
* (EXPERIMENTAL) Computes key driver analysis for the provided execution definition.
|
|
195873
195842
|
* @summary (EXPERIMENTAL) Compute key driver analysis
|
|
195874
195843
|
* @param {string} workspaceId Workspace identifier
|
|
@@ -196560,45 +196529,6 @@ async function ActionsApiAxiosParamCreator_TriggerQualityIssuesCalculation(works
|
|
|
196560
196529
|
};
|
|
196561
196530
|
}
|
|
196562
196531
|
/**
|
|
196563
|
-
*
|
|
196564
|
-
* @param {string} workspaceId Workspace identifier
|
|
196565
|
-
* @param {string} runId
|
|
196566
|
-
* @param {FeedbackRequestDto} feedbackRequestDto
|
|
196567
|
-
* @param {*} [options] Override http request option.
|
|
196568
|
-
* @param {Configuration} [configuration] Optional configuration.
|
|
196569
|
-
* @throws {RequiredError}
|
|
196570
|
-
*/
|
|
196571
|
-
async function ActionsApiAxiosParamCreator_UserFeedback(workspaceId, runId, feedbackRequestDto, options = {}, configuration) {
|
|
196572
|
-
assertParamExists$4("userFeedback", "workspaceId", workspaceId);
|
|
196573
|
-
assertParamExists$4("userFeedback", "runId", runId);
|
|
196574
|
-
assertParamExists$4("userFeedback", "feedbackRequestDto", feedbackRequestDto);
|
|
196575
|
-
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/agent/{runId}/feedback`.replace(`{workspaceId}`, encodeURIComponent(String(workspaceId))).replace(`{runId}`, encodeURIComponent(String(runId)));
|
|
196576
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
|
|
196577
|
-
let baseOptions;
|
|
196578
|
-
if (configuration) baseOptions = configuration.baseOptions;
|
|
196579
|
-
const localVarRequestOptions = {
|
|
196580
|
-
method: "POST",
|
|
196581
|
-
...baseOptions,
|
|
196582
|
-
...options
|
|
196583
|
-
};
|
|
196584
|
-
const localVarHeaderParameter = {};
|
|
196585
|
-
const localVarQueryParameter = {};
|
|
196586
|
-
const consumes = ["application/json"];
|
|
196587
|
-
localVarHeaderParameter["Content-Type"] = consumes.includes("application/json") ? "application/json" : consumes[0];
|
|
196588
|
-
setSearchParams$4(localVarUrlObj, localVarQueryParameter);
|
|
196589
|
-
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
196590
|
-
localVarRequestOptions.headers = {
|
|
196591
|
-
...localVarHeaderParameter,
|
|
196592
|
-
...headersFromBaseOptions,
|
|
196593
|
-
...options.headers
|
|
196594
|
-
};
|
|
196595
|
-
localVarRequestOptions.data = typeof feedbackRequestDto !== "string" || localVarRequestOptions.headers["Content-Type"] === "application/json" ? JSON.stringify(feedbackRequestDto !== void 0 ? feedbackRequestDto : {}) : feedbackRequestDto || "";
|
|
196596
|
-
return {
|
|
196597
|
-
url: toPathString$4(localVarUrlObj),
|
|
196598
|
-
options: localVarRequestOptions
|
|
196599
|
-
};
|
|
196600
|
-
}
|
|
196601
|
-
/**
|
|
196602
196532
|
* Permanently removed. Use POST /api/v1/actions/ai/llmProvider/test instead. Always returns 410 Gone.
|
|
196603
196533
|
* @summary Validate LLM Endpoint (Removed)
|
|
196604
196534
|
* @param {*} [options] Override http request option.
|
|
@@ -196776,18 +196706,6 @@ async function ActionsApi_CancelWorkflow(axios, basePath, requestParameters, opt
|
|
|
196776
196706
|
return createRequestFunction$4(await ActionsApiAxiosParamCreator_CancelWorkflow(requestParameters.workspaceId, requestParameters.runId, options || {}, configuration), axios$1, BASE_PATH$4, configuration)(axios, basePath);
|
|
196777
196707
|
}
|
|
196778
196708
|
/**
|
|
196779
|
-
*
|
|
196780
|
-
* @param {AxiosInstance} axios Axios instance.
|
|
196781
|
-
* @param {string} basePath Base path.
|
|
196782
|
-
* @param {ActionsApiCancelWorkflow1Request} requestParameters Request parameters.
|
|
196783
|
-
* @param {*} [options] Override http request option.
|
|
196784
|
-
* @param {Configuration} [configuration] Optional configuration.
|
|
196785
|
-
* @throws {RequiredError}
|
|
196786
|
-
*/
|
|
196787
|
-
async function ActionsApi_CancelWorkflow1(axios, basePath, requestParameters, options, configuration) {
|
|
196788
|
-
return createRequestFunction$4(await ActionsApiAxiosParamCreator_CancelWorkflow1(requestParameters.workspaceId, requestParameters.runId, options || {}, configuration), axios$1, BASE_PATH$4, configuration)(axios, basePath);
|
|
196789
|
-
}
|
|
196790
|
-
/**
|
|
196791
196709
|
* Computes change analysis for the provided execution definition.
|
|
196792
196710
|
* @summary Compute change analysis
|
|
196793
196711
|
* @param {AxiosInstance} axios Axios instance.
|
|
@@ -196969,18 +196887,6 @@ async function ActionsApi_GenerateDashboardSummary(axios, basePath, requestParam
|
|
|
196969
196887
|
return createRequestFunction$4(await ActionsApiAxiosParamCreator_GenerateDashboardSummary(requestParameters.workspaceId, requestParameters.workflowDashboardSummaryRequestDto, options || {}, configuration), axios$1, BASE_PATH$4, configuration)(axios, basePath);
|
|
196970
196888
|
}
|
|
196971
196889
|
/**
|
|
196972
|
-
*
|
|
196973
|
-
* @param {AxiosInstance} axios Axios instance.
|
|
196974
|
-
* @param {string} basePath Base path.
|
|
196975
|
-
* @param {ActionsApiGenerateDashboardSummary1Request} requestParameters Request parameters.
|
|
196976
|
-
* @param {*} [options] Override http request option.
|
|
196977
|
-
* @param {Configuration} [configuration] Optional configuration.
|
|
196978
|
-
* @throws {RequiredError}
|
|
196979
|
-
*/
|
|
196980
|
-
async function ActionsApi_GenerateDashboardSummary1(axios, basePath, requestParameters, options, configuration) {
|
|
196981
|
-
return createRequestFunction$4(await ActionsApiAxiosParamCreator_GenerateDashboardSummary1(requestParameters.workspaceId, requestParameters.dashboardSummaryRequestDto, options || {}, configuration), axios$1, BASE_PATH$4, configuration)(axios, basePath);
|
|
196982
|
-
}
|
|
196983
|
-
/**
|
|
196984
196890
|
* Generates a description for the specified analytics object. Returns description and a note with details if generation was not performed.
|
|
196985
196891
|
* @summary Generate Description for Analytics Object
|
|
196986
196892
|
* @param {AxiosInstance} axios Axios instance.
|
|
@@ -196994,18 +196900,6 @@ async function ActionsApi_GenerateDescription(axios, basePath, requestParameters
|
|
|
196994
196900
|
return createRequestFunction$4(await ActionsApiAxiosParamCreator_GenerateDescription(requestParameters.workspaceId, requestParameters.generateDescriptionRequest, options || {}, configuration), axios$1, BASE_PATH$4, configuration)(axios, basePath);
|
|
196995
196901
|
}
|
|
196996
196902
|
/**
|
|
196997
|
-
*
|
|
196998
|
-
* @param {AxiosInstance} axios Axios instance.
|
|
196999
|
-
* @param {string} basePath Base path.
|
|
197000
|
-
* @param {ActionsApiGenerateKnowledgeRecommendationsRequest} requestParameters Request parameters.
|
|
197001
|
-
* @param {*} [options] Override http request option.
|
|
197002
|
-
* @param {Configuration} [configuration] Optional configuration.
|
|
197003
|
-
* @throws {RequiredError}
|
|
197004
|
-
*/
|
|
197005
|
-
async function ActionsApi_GenerateKnowledgeRecommendations(axios, basePath, requestParameters, options, configuration) {
|
|
197006
|
-
return createRequestFunction$4(await ActionsApiAxiosParamCreator_GenerateKnowledgeRecommendations(requestParameters.workspaceId, requestParameters.knowledgeRecommendationsRequestDto, options || {}, configuration), axios$1, BASE_PATH$4, configuration)(axios, basePath);
|
|
197007
|
-
}
|
|
197008
|
-
/**
|
|
197009
196903
|
* Generates a title for the specified analytics object. Returns title and a note with details if generation was not performed.
|
|
197010
196904
|
* @summary Generate Title for Analytics Object
|
|
197011
196905
|
* @param {AxiosInstance} axios Axios instance.
|
|
@@ -197057,18 +196951,6 @@ async function ActionsApi_GetWorkflowStatus(axios, basePath, requestParameters,
|
|
|
197057
196951
|
return createRequestFunction$4(await ActionsApiAxiosParamCreator_GetWorkflowStatus(requestParameters.workspaceId, requestParameters.runId, options || {}, configuration), axios$1, BASE_PATH$4, configuration)(axios, basePath);
|
|
197058
196952
|
}
|
|
197059
196953
|
/**
|
|
197060
|
-
*
|
|
197061
|
-
* @param {AxiosInstance} axios Axios instance.
|
|
197062
|
-
* @param {string} basePath Base path.
|
|
197063
|
-
* @param {ActionsApiGetWorkflowStatus1Request} requestParameters Request parameters.
|
|
197064
|
-
* @param {*} [options] Override http request option.
|
|
197065
|
-
* @param {Configuration} [configuration] Optional configuration.
|
|
197066
|
-
* @throws {RequiredError}
|
|
197067
|
-
*/
|
|
197068
|
-
async function ActionsApi_GetWorkflowStatus1(axios, basePath, requestParameters, options, configuration) {
|
|
197069
|
-
return createRequestFunction$4(await ActionsApiAxiosParamCreator_GetWorkflowStatus1(requestParameters.workspaceId, requestParameters.runId, options || {}, configuration), axios$1, BASE_PATH$4, configuration)(axios, basePath);
|
|
197070
|
-
}
|
|
197071
|
-
/**
|
|
197072
196954
|
* (EXPERIMENTAL) Computes key driver analysis for the provided execution definition.
|
|
197073
196955
|
* @summary (EXPERIMENTAL) Compute key driver analysis
|
|
197074
196956
|
* @param {AxiosInstance} axios Axios instance.
|
|
@@ -197316,18 +197198,6 @@ async function ActionsApi_TriggerQualityIssuesCalculation(axios, basePath, reque
|
|
|
197316
197198
|
return createRequestFunction$4(await ActionsApiAxiosParamCreator_TriggerQualityIssuesCalculation(requestParameters.workspaceId, options || {}, configuration), axios$1, BASE_PATH$4, configuration)(axios, basePath);
|
|
197317
197199
|
}
|
|
197318
197200
|
/**
|
|
197319
|
-
*
|
|
197320
|
-
* @param {AxiosInstance} axios Axios instance.
|
|
197321
|
-
* @param {string} basePath Base path.
|
|
197322
|
-
* @param {ActionsApiUserFeedbackRequest} requestParameters Request parameters.
|
|
197323
|
-
* @param {*} [options] Override http request option.
|
|
197324
|
-
* @param {Configuration} [configuration] Optional configuration.
|
|
197325
|
-
* @throws {RequiredError}
|
|
197326
|
-
*/
|
|
197327
|
-
async function ActionsApi_UserFeedback(axios, basePath, requestParameters, options, configuration) {
|
|
197328
|
-
return createRequestFunction$4(await ActionsApiAxiosParamCreator_UserFeedback(requestParameters.workspaceId, requestParameters.runId, requestParameters.feedbackRequestDto, options || {}, configuration), axios$1, BASE_PATH$4, configuration)(axios, basePath);
|
|
197329
|
-
}
|
|
197330
|
-
/**
|
|
197331
197201
|
* Permanently removed. Use POST /api/v1/actions/ai/llmProvider/test instead. Always returns 410 Gone.
|
|
197332
197202
|
* @summary Validate LLM Endpoint (Removed)
|
|
197333
197203
|
* @param {AxiosInstance} axios Axios instance.
|
|
@@ -197464,16 +197334,6 @@ var ActionsApi$2 = class extends BaseAPI$4 {
|
|
|
197464
197334
|
return ActionsApi_CancelWorkflow(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
197465
197335
|
}
|
|
197466
197336
|
/**
|
|
197467
|
-
*
|
|
197468
|
-
* @param {ActionsApiCancelWorkflow1Request} requestParameters Request parameters.
|
|
197469
|
-
* @param {*} [options] Override http request option.
|
|
197470
|
-
* @throws {RequiredError}
|
|
197471
|
-
* @memberof ActionsApi
|
|
197472
|
-
*/
|
|
197473
|
-
cancelWorkflow1(requestParameters, options) {
|
|
197474
|
-
return ActionsApi_CancelWorkflow1(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
197475
|
-
}
|
|
197476
|
-
/**
|
|
197477
197337
|
* Computes change analysis for the provided execution definition.
|
|
197478
197338
|
* @summary Compute change analysis
|
|
197479
197339
|
* @param {ActionsApiChangeAnalysisRequest} requestParameters Request parameters.
|
|
@@ -197627,16 +197487,6 @@ var ActionsApi$2 = class extends BaseAPI$4 {
|
|
|
197627
197487
|
return ActionsApi_GenerateDashboardSummary(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
197628
197488
|
}
|
|
197629
197489
|
/**
|
|
197630
|
-
*
|
|
197631
|
-
* @param {ActionsApiGenerateDashboardSummary1Request} requestParameters Request parameters.
|
|
197632
|
-
* @param {*} [options] Override http request option.
|
|
197633
|
-
* @throws {RequiredError}
|
|
197634
|
-
* @memberof ActionsApi
|
|
197635
|
-
*/
|
|
197636
|
-
generateDashboardSummary1(requestParameters, options) {
|
|
197637
|
-
return ActionsApi_GenerateDashboardSummary1(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
197638
|
-
}
|
|
197639
|
-
/**
|
|
197640
197490
|
* Generates a description for the specified analytics object. Returns description and a note with details if generation was not performed.
|
|
197641
197491
|
* @summary Generate Description for Analytics Object
|
|
197642
197492
|
* @param {ActionsApiGenerateDescriptionRequest} requestParameters Request parameters.
|
|
@@ -197648,16 +197498,6 @@ var ActionsApi$2 = class extends BaseAPI$4 {
|
|
|
197648
197498
|
return ActionsApi_GenerateDescription(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
197649
197499
|
}
|
|
197650
197500
|
/**
|
|
197651
|
-
*
|
|
197652
|
-
* @param {ActionsApiGenerateKnowledgeRecommendationsRequest} requestParameters Request parameters.
|
|
197653
|
-
* @param {*} [options] Override http request option.
|
|
197654
|
-
* @throws {RequiredError}
|
|
197655
|
-
* @memberof ActionsApi
|
|
197656
|
-
*/
|
|
197657
|
-
generateKnowledgeRecommendations(requestParameters, options) {
|
|
197658
|
-
return ActionsApi_GenerateKnowledgeRecommendations(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
197659
|
-
}
|
|
197660
|
-
/**
|
|
197661
197501
|
* Generates a title for the specified analytics object. Returns title and a note with details if generation was not performed.
|
|
197662
197502
|
* @summary Generate Title for Analytics Object
|
|
197663
197503
|
* @param {ActionsApiGenerateTitleRequest} requestParameters Request parameters.
|
|
@@ -197701,16 +197541,6 @@ var ActionsApi$2 = class extends BaseAPI$4 {
|
|
|
197701
197541
|
return ActionsApi_GetWorkflowStatus(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
197702
197542
|
}
|
|
197703
197543
|
/**
|
|
197704
|
-
*
|
|
197705
|
-
* @param {ActionsApiGetWorkflowStatus1Request} requestParameters Request parameters.
|
|
197706
|
-
* @param {*} [options] Override http request option.
|
|
197707
|
-
* @throws {RequiredError}
|
|
197708
|
-
* @memberof ActionsApi
|
|
197709
|
-
*/
|
|
197710
|
-
getWorkflowStatus1(requestParameters, options) {
|
|
197711
|
-
return ActionsApi_GetWorkflowStatus1(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
197712
|
-
}
|
|
197713
|
-
/**
|
|
197714
197544
|
* (EXPERIMENTAL) Computes key driver analysis for the provided execution definition.
|
|
197715
197545
|
* @summary (EXPERIMENTAL) Compute key driver analysis
|
|
197716
197546
|
* @param {ActionsApiKeyDriverAnalysisRequest} requestParameters Request parameters.
|
|
@@ -197921,16 +197751,6 @@ var ActionsApi$2 = class extends BaseAPI$4 {
|
|
|
197921
197751
|
return ActionsApi_TriggerQualityIssuesCalculation(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
197922
197752
|
}
|
|
197923
197753
|
/**
|
|
197924
|
-
*
|
|
197925
|
-
* @param {ActionsApiUserFeedbackRequest} requestParameters Request parameters.
|
|
197926
|
-
* @param {*} [options] Override http request option.
|
|
197927
|
-
* @throws {RequiredError}
|
|
197928
|
-
* @memberof ActionsApi
|
|
197929
|
-
*/
|
|
197930
|
-
userFeedback(requestParameters, options) {
|
|
197931
|
-
return ActionsApi_UserFeedback(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
197932
|
-
}
|
|
197933
|
-
/**
|
|
197934
197754
|
* Permanently removed. Use POST /api/v1/actions/ai/llmProvider/test instead. Always returns 410 Gone.
|
|
197935
197755
|
* @summary Validate LLM Endpoint (Removed)
|
|
197936
197756
|
* @param {*} [options] Override http request option.
|
|
@@ -199862,6 +199682,41 @@ async function ActionsApiAxiosParamCreator_AnalyzeCsv(analyzeCsvRequest, options
|
|
|
199862
199682
|
};
|
|
199863
199683
|
}
|
|
199864
199684
|
/**
|
|
199685
|
+
* Reads the columns, their labels and the first rows of the SPSS (.sav) files at the given locations.
|
|
199686
|
+
* @summary Analyze SPSS files
|
|
199687
|
+
* @param {AnalyzeSavRequest} analyzeSavRequest
|
|
199688
|
+
* @param {*} [options] Override http request option.
|
|
199689
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
199690
|
+
* @throws {RequiredError}
|
|
199691
|
+
*/
|
|
199692
|
+
async function ActionsApiAxiosParamCreator_AnalyzeSav(analyzeSavRequest, options = {}, configuration) {
|
|
199693
|
+
assertParamExists$1("analyzeSav", "analyzeSavRequest", analyzeSavRequest);
|
|
199694
|
+
const localVarUrlObj = new URL(`/api/v1/actions/fileStorage/staging/analyzeSav`, DUMMY_BASE_URL$1);
|
|
199695
|
+
let baseOptions;
|
|
199696
|
+
if (configuration) baseOptions = configuration.baseOptions;
|
|
199697
|
+
const localVarRequestOptions = {
|
|
199698
|
+
method: "POST",
|
|
199699
|
+
...baseOptions,
|
|
199700
|
+
...options
|
|
199701
|
+
};
|
|
199702
|
+
const localVarHeaderParameter = {};
|
|
199703
|
+
const localVarQueryParameter = {};
|
|
199704
|
+
const consumes = ["application/json"];
|
|
199705
|
+
localVarHeaderParameter["Content-Type"] = consumes.includes("application/json") ? "application/json" : consumes[0];
|
|
199706
|
+
setSearchParams$1(localVarUrlObj, localVarQueryParameter);
|
|
199707
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
199708
|
+
localVarRequestOptions.headers = {
|
|
199709
|
+
...localVarHeaderParameter,
|
|
199710
|
+
...headersFromBaseOptions,
|
|
199711
|
+
...options.headers
|
|
199712
|
+
};
|
|
199713
|
+
localVarRequestOptions.data = typeof analyzeSavRequest !== "string" || localVarRequestOptions.headers["Content-Type"] === "application/json" ? JSON.stringify(analyzeSavRequest !== void 0 ? analyzeSavRequest : {}) : analyzeSavRequest || "";
|
|
199714
|
+
return {
|
|
199715
|
+
url: toPathString$1(localVarUrlObj),
|
|
199716
|
+
options: localVarRequestOptions
|
|
199717
|
+
};
|
|
199718
|
+
}
|
|
199719
|
+
/**
|
|
199865
199720
|
* Get the detailed data about how much cache your organization is currently using, broken down by individual workspaces.
|
|
199866
199721
|
* @summary Collect data about the current cache usage
|
|
199867
199722
|
* @param {*} [options] Override http request option.
|
|
@@ -200000,7 +199855,7 @@ async function ActionsApiAxiosParamCreator_DeleteFiles(dataSourceId, deleteFiles
|
|
|
200000
199855
|
};
|
|
200001
199856
|
}
|
|
200002
199857
|
/**
|
|
200003
|
-
* Import the CSV files at the given locations in the staging area to the final location.
|
|
199858
|
+
* Import the CSV files at the given locations in the staging area to the final location. A table that holds an SPSS file cannot take a CSV file.
|
|
200004
199859
|
* @summary Import CSV
|
|
200005
199860
|
* @param {string} dataSourceId
|
|
200006
199861
|
* @param {ImportCsvRequest} importCsvRequest
|
|
@@ -200076,6 +199931,44 @@ async function ActionsApiAxiosParamCreator_ImportCustomGeoCollection(collectionI
|
|
|
200076
199931
|
};
|
|
200077
199932
|
}
|
|
200078
199933
|
/**
|
|
199934
|
+
* Import the SPSS (.sav) files at the given locations in the staging area to the final location. A table that holds a CSV file cannot take an SPSS file.
|
|
199935
|
+
* @summary Import SPSS files
|
|
199936
|
+
* @param {string} dataSourceId
|
|
199937
|
+
* @param {ImportSavRequest} importSavRequest
|
|
199938
|
+
* @param {*} [options] Override http request option.
|
|
199939
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
199940
|
+
* @throws {RequiredError}
|
|
199941
|
+
*/
|
|
199942
|
+
async function ActionsApiAxiosParamCreator_ImportSav(dataSourceId, importSavRequest, options = {}, configuration) {
|
|
199943
|
+
assertParamExists$1("importSav", "dataSourceId", dataSourceId);
|
|
199944
|
+
assertParamExists$1("importSav", "importSavRequest", importSavRequest);
|
|
199945
|
+
const localVarPath = `/api/v1/actions/fileStorage/dataSources/{dataSourceId}/importSav`.replace(`{dataSourceId}`, encodeURIComponent(String(dataSourceId)));
|
|
199946
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$1);
|
|
199947
|
+
let baseOptions;
|
|
199948
|
+
if (configuration) baseOptions = configuration.baseOptions;
|
|
199949
|
+
const localVarRequestOptions = {
|
|
199950
|
+
method: "POST",
|
|
199951
|
+
...baseOptions,
|
|
199952
|
+
...options
|
|
199953
|
+
};
|
|
199954
|
+
const localVarHeaderParameter = {};
|
|
199955
|
+
const localVarQueryParameter = {};
|
|
199956
|
+
const consumes = ["application/json"];
|
|
199957
|
+
localVarHeaderParameter["Content-Type"] = consumes.includes("application/json") ? "application/json" : consumes[0];
|
|
199958
|
+
setSearchParams$1(localVarUrlObj, localVarQueryParameter);
|
|
199959
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
199960
|
+
localVarRequestOptions.headers = {
|
|
199961
|
+
...localVarHeaderParameter,
|
|
199962
|
+
...headersFromBaseOptions,
|
|
199963
|
+
...options.headers
|
|
199964
|
+
};
|
|
199965
|
+
localVarRequestOptions.data = typeof importSavRequest !== "string" || localVarRequestOptions.headers["Content-Type"] === "application/json" ? JSON.stringify(importSavRequest !== void 0 ? importSavRequest : {}) : importSavRequest || "";
|
|
199966
|
+
return {
|
|
199967
|
+
url: toPathString$1(localVarUrlObj),
|
|
199968
|
+
options: localVarRequestOptions
|
|
199969
|
+
};
|
|
199970
|
+
}
|
|
199971
|
+
/**
|
|
200079
199972
|
* List all the files in the given data source.
|
|
200080
199973
|
* @summary List datasource files
|
|
200081
199974
|
* @param {string} dataSourceId
|
|
@@ -200195,6 +200088,19 @@ async function ActionsApi_AnalyzeCsv(axios, basePath, requestParameters, options
|
|
|
200195
200088
|
return createRequestFunction$1(await ActionsApiAxiosParamCreator_AnalyzeCsv(requestParameters.analyzeCsvRequest, options || {}, configuration), axios$1, BASE_PATH$1, configuration)(axios, basePath);
|
|
200196
200089
|
}
|
|
200197
200090
|
/**
|
|
200091
|
+
* Reads the columns, their labels and the first rows of the SPSS (.sav) files at the given locations.
|
|
200092
|
+
* @summary Analyze SPSS files
|
|
200093
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
200094
|
+
* @param {string} basePath Base path.
|
|
200095
|
+
* @param {ActionsApiAnalyzeSavRequest} requestParameters Request parameters.
|
|
200096
|
+
* @param {*} [options] Override http request option.
|
|
200097
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
200098
|
+
* @throws {RequiredError}
|
|
200099
|
+
*/
|
|
200100
|
+
async function ActionsApi_AnalyzeSav(axios, basePath, requestParameters, options, configuration) {
|
|
200101
|
+
return createRequestFunction$1(await ActionsApiAxiosParamCreator_AnalyzeSav(requestParameters.analyzeSavRequest, options || {}, configuration), axios$1, BASE_PATH$1, configuration)(axios, basePath);
|
|
200102
|
+
}
|
|
200103
|
+
/**
|
|
200198
200104
|
* Get the detailed data about how much cache your organization is currently using, broken down by individual workspaces.
|
|
200199
200105
|
* @summary Collect data about the current cache usage
|
|
200200
200106
|
* @param {AxiosInstance} axios Axios instance.
|
|
@@ -200246,7 +200152,7 @@ async function ActionsApi_DeleteFiles(axios, basePath, requestParameters, option
|
|
|
200246
200152
|
return createRequestFunction$1(await ActionsApiAxiosParamCreator_DeleteFiles(requestParameters.dataSourceId, requestParameters.deleteFilesRequest, options || {}, configuration), axios$1, BASE_PATH$1, configuration)(axios, basePath);
|
|
200247
200153
|
}
|
|
200248
200154
|
/**
|
|
200249
|
-
* Import the CSV files at the given locations in the staging area to the final location.
|
|
200155
|
+
* Import the CSV files at the given locations in the staging area to the final location. A table that holds an SPSS file cannot take a CSV file.
|
|
200250
200156
|
* @summary Import CSV
|
|
200251
200157
|
* @param {AxiosInstance} axios Axios instance.
|
|
200252
200158
|
* @param {string} basePath Base path.
|
|
@@ -200272,6 +200178,19 @@ async function ActionsApi_ImportCustomGeoCollection(axios, basePath, requestPara
|
|
|
200272
200178
|
return createRequestFunction$1(await ActionsApiAxiosParamCreator_ImportCustomGeoCollection(requestParameters.collectionId, requestParameters.importGeoCollectionRequest, options || {}, configuration), axios$1, BASE_PATH$1, configuration)(axios, basePath);
|
|
200273
200179
|
}
|
|
200274
200180
|
/**
|
|
200181
|
+
* Import the SPSS (.sav) files at the given locations in the staging area to the final location. A table that holds a CSV file cannot take an SPSS file.
|
|
200182
|
+
* @summary Import SPSS files
|
|
200183
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
200184
|
+
* @param {string} basePath Base path.
|
|
200185
|
+
* @param {ActionsApiImportSavRequest} requestParameters Request parameters.
|
|
200186
|
+
* @param {*} [options] Override http request option.
|
|
200187
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
200188
|
+
* @throws {RequiredError}
|
|
200189
|
+
*/
|
|
200190
|
+
async function ActionsApi_ImportSav(axios, basePath, requestParameters, options, configuration) {
|
|
200191
|
+
return createRequestFunction$1(await ActionsApiAxiosParamCreator_ImportSav(requestParameters.dataSourceId, requestParameters.importSavRequest, options || {}, configuration), axios$1, BASE_PATH$1, configuration)(axios, basePath);
|
|
200192
|
+
}
|
|
200193
|
+
/**
|
|
200275
200194
|
* List all the files in the given data source.
|
|
200276
200195
|
* @summary List datasource files
|
|
200277
200196
|
* @param {AxiosInstance} axios Axios instance.
|
|
@@ -200329,6 +200248,17 @@ var ActionsApi$1 = class extends BaseAPI$1 {
|
|
|
200329
200248
|
return ActionsApi_AnalyzeCsv(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
200330
200249
|
}
|
|
200331
200250
|
/**
|
|
200251
|
+
* Reads the columns, their labels and the first rows of the SPSS (.sav) files at the given locations.
|
|
200252
|
+
* @summary Analyze SPSS files
|
|
200253
|
+
* @param {ActionsApiAnalyzeSavRequest} requestParameters Request parameters.
|
|
200254
|
+
* @param {*} [options] Override http request option.
|
|
200255
|
+
* @throws {RequiredError}
|
|
200256
|
+
* @memberof ActionsApi
|
|
200257
|
+
*/
|
|
200258
|
+
analyzeSav(requestParameters, options) {
|
|
200259
|
+
return ActionsApi_AnalyzeSav(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
200260
|
+
}
|
|
200261
|
+
/**
|
|
200332
200262
|
* Get the detailed data about how much cache your organization is currently using, broken down by individual workspaces.
|
|
200333
200263
|
* @summary Collect data about the current cache usage
|
|
200334
200264
|
* @param {*} [options] Override http request option.
|
|
@@ -200372,7 +200302,7 @@ var ActionsApi$1 = class extends BaseAPI$1 {
|
|
|
200372
200302
|
return ActionsApi_DeleteFiles(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
200373
200303
|
}
|
|
200374
200304
|
/**
|
|
200375
|
-
* Import the CSV files at the given locations in the staging area to the final location.
|
|
200305
|
+
* Import the CSV files at the given locations in the staging area to the final location. A table that holds an SPSS file cannot take a CSV file.
|
|
200376
200306
|
* @summary Import CSV
|
|
200377
200307
|
* @param {ActionsApiImportCsvRequest} requestParameters Request parameters.
|
|
200378
200308
|
* @param {*} [options] Override http request option.
|
|
@@ -200394,6 +200324,17 @@ var ActionsApi$1 = class extends BaseAPI$1 {
|
|
|
200394
200324
|
return ActionsApi_ImportCustomGeoCollection(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
200395
200325
|
}
|
|
200396
200326
|
/**
|
|
200327
|
+
* Import the SPSS (.sav) files at the given locations in the staging area to the final location. A table that holds a CSV file cannot take an SPSS file.
|
|
200328
|
+
* @summary Import SPSS files
|
|
200329
|
+
* @param {ActionsApiImportSavRequest} requestParameters Request parameters.
|
|
200330
|
+
* @param {*} [options] Override http request option.
|
|
200331
|
+
* @throws {RequiredError}
|
|
200332
|
+
* @memberof ActionsApi
|
|
200333
|
+
*/
|
|
200334
|
+
importSav(requestParameters, options) {
|
|
200335
|
+
return ActionsApi_ImportSav(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
200336
|
+
}
|
|
200337
|
+
/**
|
|
200397
200338
|
* List all the files in the given data source.
|
|
200398
200339
|
* @summary List datasource files
|
|
200399
200340
|
* @param {ActionsApiListFilesRequest} requestParameters Request parameters.
|
|
@@ -209062,6 +209003,7 @@ const texts = {
|
|
|
209062
209003
|
cmd__init__host: () => "Enter your GoodData hostname.",
|
|
209063
209004
|
cmd__init__host_example: () => "E.g., example.cloud.gooddata.com",
|
|
209064
209005
|
cmd__init__host__error: () => "The hostname is not valid. It usually is in form example.cloud.gooddata.com",
|
|
209006
|
+
cmd__init__host__insecure_error: () => "The hostname must use a secure connection. Use https:// or leave the protocol out, e.g. example.cloud.gooddata.com",
|
|
209065
209007
|
cmd__init__token: () => "Enter your GoodData API Token.",
|
|
209066
209008
|
cmd__init__token_example: () => "See https://bit.ly/46GFwCb",
|
|
209067
209009
|
cmd__init__token__error: (varName) => `${varName} does not look like a valid env variable. Should look something like GOODDATA_API_TOKEN`,
|
|
@@ -209252,11 +209194,13 @@ function createExample(text) {
|
|
|
209252
209194
|
return ` ${chalk.gray(text)}`;
|
|
209253
209195
|
}
|
|
209254
209196
|
function getNpmVersion() {
|
|
209255
|
-
|
|
209256
|
-
|
|
209257
|
-
|
|
209258
|
-
|
|
209259
|
-
|
|
209197
|
+
const nodeDir = path$4.dirname(process.execPath);
|
|
209198
|
+
const candidates = [path$4.join(nodeDir, "node_modules", "npm", "package.json"), path$4.join(nodeDir, "..", "lib", "node_modules", "npm", "package.json")];
|
|
209199
|
+
for (const candidate of candidates) try {
|
|
209200
|
+
const { version } = JSON.parse(readFileSync$1(candidate, "utf-8"));
|
|
209201
|
+
if (version) return { npm: version };
|
|
209202
|
+
} catch {}
|
|
209203
|
+
return { npm: void 0 };
|
|
209260
209204
|
}
|
|
209261
209205
|
//#endregion
|
|
209262
209206
|
//#region src/diagnosticLogger.ts
|
|
@@ -209667,7 +209611,16 @@ async function deployCommandRuntime({ profile, validate, offline = false }) {
|
|
|
209667
209611
|
}
|
|
209668
209612
|
//#endregion
|
|
209669
209613
|
//#region src/client/index.ts
|
|
209614
|
+
const LOOPBACK_HOSTNAMES = new Set(["localhost", "[::1]"]);
|
|
209615
|
+
function isLoopbackHostname(hostname) {
|
|
209616
|
+
return LOOPBACK_HOSTNAMES.has(hostname) || hostname.endsWith(".localhost") || /^127(\.\d+){3}$/.test(hostname);
|
|
209617
|
+
}
|
|
209618
|
+
function assertTokenSafeHost(host) {
|
|
209619
|
+
const { hostname, protocol } = new URL(host);
|
|
209620
|
+
if (protocol === "http:" && !isLoopbackHostname(hostname)) throw new Error(`Refusing to send an API token over plain HTTP to "${hostname}". Use an https:// host (http:// is allowed only for localhost).`);
|
|
209621
|
+
}
|
|
209670
209622
|
function getApiClient(host, token) {
|
|
209623
|
+
assertTokenSafeHost(host);
|
|
209671
209624
|
const axios = newAxios(host, {
|
|
209672
209625
|
"X-GDC-JS-PACKAGE": name$1,
|
|
209673
209626
|
"X-GDC-JS-PACKAGE-VERSION": version$1
|
|
@@ -209864,12 +209817,19 @@ async function hostInputFromUserInternal() {
|
|
|
209864
209817
|
message: texts.cmd__init__host(),
|
|
209865
209818
|
suffix: createExample(texts.cmd__init__host_example()),
|
|
209866
209819
|
validate: async (input) => {
|
|
209820
|
+
let normalized;
|
|
209867
209821
|
try {
|
|
209868
|
-
|
|
209869
|
-
return true;
|
|
209822
|
+
normalized = normalizeHost(input);
|
|
209870
209823
|
} catch {
|
|
209871
209824
|
return texts.cmd__init__host__error();
|
|
209872
209825
|
}
|
|
209826
|
+
try {
|
|
209827
|
+
assertTokenSafeHost(normalized);
|
|
209828
|
+
} catch {
|
|
209829
|
+
return texts.cmd__init__host__insecure_error();
|
|
209830
|
+
}
|
|
209831
|
+
if (!await checkHost(normalized)) return texts.cmd__init__testing_host__error();
|
|
209832
|
+
return true;
|
|
209873
209833
|
}
|
|
209874
209834
|
});
|
|
209875
209835
|
return normalizeHost(host);
|