@gooddata/code-cli 0.46.0-alpha.2 → 0.46.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 +304 -85
- 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.46.0-alpha.
|
|
37373
|
+
var version$1 = "0.46.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) => {
|
|
@@ -93179,7 +93179,7 @@ function visitParents(node, visitor) {
|
|
|
93179
93179
|
}
|
|
93180
93180
|
function visitParentsInternal(parents, node, visitor) {
|
|
93181
93181
|
const parent = node;
|
|
93182
|
-
if (parent.children
|
|
93182
|
+
if (parent.children?.length) {
|
|
93183
93183
|
const subParents = [...parents, parent];
|
|
93184
93184
|
const l = parent.children.length;
|
|
93185
93185
|
for (let i = 0; i < l; i++) {
|
|
@@ -93200,7 +93200,7 @@ function visitSimple(node, visitor) {
|
|
|
93200
93200
|
}
|
|
93201
93201
|
function visitSimpleInternal(node, visitor) {
|
|
93202
93202
|
const parent = node;
|
|
93203
|
-
if (parent.children
|
|
93203
|
+
if (parent.children?.length) {
|
|
93204
93204
|
const l = parent.children.length;
|
|
93205
93205
|
for (let i = 0; i < l; i++) {
|
|
93206
93206
|
const child = parent.children[i];
|
|
@@ -93217,7 +93217,7 @@ function visitSimpleInternalChild(parent, node, visitor) {
|
|
|
93217
93217
|
}
|
|
93218
93218
|
function visitChildren(node, visitor) {
|
|
93219
93219
|
const parent = node;
|
|
93220
|
-
if (parent.children
|
|
93220
|
+
if (parent.children?.length) {
|
|
93221
93221
|
const l = parent.children.length;
|
|
93222
93222
|
for (let i = 0; i < l; i++) {
|
|
93223
93223
|
const child = parent.children[i];
|
|
@@ -103433,7 +103433,7 @@ const resolveVariable = (varName, profile, env, secret = false, optional = false
|
|
|
103433
103433
|
if (secret && value && !envVarNameRx.test(value)) throw new ManifestError(texts$1.err__secret_plain_text(varName));
|
|
103434
103434
|
if (value && envVarNameRx.test(value)) {
|
|
103435
103435
|
const envVarName = value.replace(/^\$/, "");
|
|
103436
|
-
if (!env
|
|
103436
|
+
if (!env?.[envVarName]) throw new ManifestError(texts$1.err__no_env_variable(varName, value));
|
|
103437
103437
|
value = env[envVarName];
|
|
103438
103438
|
}
|
|
103439
103439
|
if (!value && !optional) throw new ManifestError(texts$1.err__no_value(varName));
|
|
@@ -106440,6 +106440,32 @@ function collectFieldLevelFilters(visualisation) {
|
|
|
106440
106440
|
}
|
|
106441
106441
|
//#endregion
|
|
106442
106442
|
//#region ../../../sdk/libs/sdk-code-convertors/src/utils/granularityUtils.ts
|
|
106443
|
+
const CF_YAML_TO_GDC_GRANULARITY = {
|
|
106444
|
+
minute: "GDC.time.minute",
|
|
106445
|
+
hour: "GDC.time.hour",
|
|
106446
|
+
day: "GDC.time.date",
|
|
106447
|
+
week: "GDC.time.week_us",
|
|
106448
|
+
month: "GDC.time.month",
|
|
106449
|
+
quarter: "GDC.time.quarter",
|
|
106450
|
+
year: "GDC.time.year"
|
|
106451
|
+
};
|
|
106452
|
+
const isCfYamlGranularityName = (name) => Object.hasOwn(CF_YAML_TO_GDC_GRANULARITY, name);
|
|
106453
|
+
const CF_GDC_TO_YAML_GRANULARITY = Object.fromEntries(Object.entries(CF_YAML_TO_GDC_GRANULARITY).map(([yaml, gdc]) => [gdc, yaml]));
|
|
106454
|
+
/**
|
|
106455
|
+
* YAML name -\> GDC constant for a conditional-formatting relative-period granularity. Unknown
|
|
106456
|
+
* names pass through unchanged on purpose: they round-trip losslessly and the consuming engine
|
|
106457
|
+
* treats them as unresolvable (the condition never matches) instead of the conversion guessing.
|
|
106458
|
+
*/
|
|
106459
|
+
function cfGranularityFromYaml(name) {
|
|
106460
|
+
return isCfYamlGranularityName(name) ? CF_YAML_TO_GDC_GRANULARITY[name] : name;
|
|
106461
|
+
}
|
|
106462
|
+
/**
|
|
106463
|
+
* GDC constant -\> YAML name for a conditional-formatting relative-period granularity; unknown
|
|
106464
|
+
* values pass through (see {@link cfGranularityFromYaml}).
|
|
106465
|
+
*/
|
|
106466
|
+
function cfGranularityToYaml(granularity) {
|
|
106467
|
+
return CF_GDC_TO_YAML_GRANULARITY[granularity] ?? granularity;
|
|
106468
|
+
}
|
|
106443
106469
|
function convertGranularity$1(gran) {
|
|
106444
106470
|
const g = gran;
|
|
106445
106471
|
switch (g) {
|
|
@@ -106471,6 +106497,7 @@ function convertGranularity$1(gran) {
|
|
|
106471
106497
|
default: assertUnreachable(g);
|
|
106472
106498
|
}
|
|
106473
106499
|
}
|
|
106500
|
+
/** @public */
|
|
106474
106501
|
function parseGranularity(gran) {
|
|
106475
106502
|
switch (gran) {
|
|
106476
106503
|
case "GDC.time.minute": return "MINUTE";
|
|
@@ -138063,6 +138090,15 @@ function loadConditionalFormattingValue(value) {
|
|
|
138063
138090
|
from: value.from,
|
|
138064
138091
|
to: value.to
|
|
138065
138092
|
} };
|
|
138093
|
+
if (value.kind === "absoluteDate") return { value: { absolute: {
|
|
138094
|
+
from: value.from,
|
|
138095
|
+
to: value.to
|
|
138096
|
+
} } };
|
|
138097
|
+
if (value.kind === "relativeDate") return { value: { relative: {
|
|
138098
|
+
granularity: cfGranularityToYaml(value.granularity),
|
|
138099
|
+
from: value.from,
|
|
138100
|
+
to: value.to
|
|
138101
|
+
} } };
|
|
138066
138102
|
return {};
|
|
138067
138103
|
}
|
|
138068
138104
|
function loadConditionalFormattingCondition(condition) {
|
|
@@ -138094,11 +138130,25 @@ function loadConditionalFormatting(value) {
|
|
|
138094
138130
|
}
|
|
138095
138131
|
function saveConditionalFormattingValue(value) {
|
|
138096
138132
|
if (value === null || value === void 0) return { kind: "none" };
|
|
138097
|
-
if (typeof value === "object"
|
|
138098
|
-
|
|
138099
|
-
|
|
138100
|
-
|
|
138101
|
-
|
|
138133
|
+
if (typeof value === "object") {
|
|
138134
|
+
if ("absolute" in value) return {
|
|
138135
|
+
kind: "absoluteDate",
|
|
138136
|
+
from: value.absolute.from,
|
|
138137
|
+
to: value.absolute.to
|
|
138138
|
+
};
|
|
138139
|
+
if ("relative" in value) return {
|
|
138140
|
+
kind: "relativeDate",
|
|
138141
|
+
granularity: cfGranularityFromYaml(value.relative.granularity),
|
|
138142
|
+
from: value.relative.from,
|
|
138143
|
+
to: value.relative.to
|
|
138144
|
+
};
|
|
138145
|
+
if ("from" in value) return {
|
|
138146
|
+
kind: "literalRange",
|
|
138147
|
+
from: value.from,
|
|
138148
|
+
to: value.to
|
|
138149
|
+
};
|
|
138150
|
+
return { kind: "none" };
|
|
138151
|
+
}
|
|
138102
138152
|
return {
|
|
138103
138153
|
kind: "literal",
|
|
138104
138154
|
value
|
|
@@ -138836,6 +138886,39 @@ function convertDateValues(gran, values) {
|
|
|
138836
138886
|
return values.map((v) => parseGranularityValue$1(granularity, v)).filter((v) => v !== null && v !== void 0);
|
|
138837
138887
|
}
|
|
138838
138888
|
//#endregion
|
|
138889
|
+
//#region ../../../sdk/libs/sdk-code-convertors/src/utils/visualisationTypeMap.ts
|
|
138890
|
+
/**
|
|
138891
|
+
* Keyed by the schema's `Visualisation["type"]` union so a new chart type fails the build until mapped;
|
|
138892
|
+
* both conversion directions read it, so they cannot drift.
|
|
138893
|
+
* @internal
|
|
138894
|
+
*/
|
|
138895
|
+
const yamlVisTypeToVisualizationUrl = {
|
|
138896
|
+
table: "local:table",
|
|
138897
|
+
bar_chart: "local:bar",
|
|
138898
|
+
column_chart: "local:column",
|
|
138899
|
+
line_chart: "local:line",
|
|
138900
|
+
area_chart: "local:area",
|
|
138901
|
+
scatter_chart: "local:scatter",
|
|
138902
|
+
bubble_chart: "local:bubble",
|
|
138903
|
+
pie_chart: "local:pie",
|
|
138904
|
+
donut_chart: "local:donut",
|
|
138905
|
+
treemap_chart: "local:treemap",
|
|
138906
|
+
pyramid_chart: "local:pyramid",
|
|
138907
|
+
funnel_chart: "local:funnel",
|
|
138908
|
+
heatmap_chart: "local:heatmap",
|
|
138909
|
+
bullet_chart: "local:bullet",
|
|
138910
|
+
waterfall_chart: "local:waterfall",
|
|
138911
|
+
dependency_wheel_chart: "local:dependencywheel",
|
|
138912
|
+
sankey_chart: "local:sankey",
|
|
138913
|
+
headline_chart: "local:headline",
|
|
138914
|
+
combo_chart: "local:combo2",
|
|
138915
|
+
geo_chart: "local:pushpin",
|
|
138916
|
+
geo_area_chart: "local:choropleth",
|
|
138917
|
+
repeater_chart: "local:repeater",
|
|
138918
|
+
radar_chart: "local:radar"
|
|
138919
|
+
};
|
|
138920
|
+
const visualizationUrlToYamlVisType = new Map(Object.entries(yamlVisTypeToVisualizationUrl).map(([yamlType, url]) => [url, yamlType]));
|
|
138921
|
+
//#endregion
|
|
138839
138922
|
//#region ../../../sdk/libs/sdk-code-convertors/src/to/yamlVisualisationToDeclarative.ts
|
|
138840
138923
|
/** @public */
|
|
138841
138924
|
function yamlVisualisationToDeclarative(entities, input) {
|
|
@@ -138864,31 +138947,7 @@ function yamlVisualisationToDeclarative(entities, input) {
|
|
|
138864
138947
|
return output;
|
|
138865
138948
|
}
|
|
138866
138949
|
function yamlVisTypeToDeclarative(def) {
|
|
138867
|
-
|
|
138868
|
-
case "table": return "local:table";
|
|
138869
|
-
case "bar_chart": return "local:bar";
|
|
138870
|
-
case "column_chart": return "local:column";
|
|
138871
|
-
case "line_chart": return "local:line";
|
|
138872
|
-
case "area_chart": return "local:area";
|
|
138873
|
-
case "scatter_chart": return "local:scatter";
|
|
138874
|
-
case "bubble_chart": return "local:bubble";
|
|
138875
|
-
case "pie_chart": return "local:pie";
|
|
138876
|
-
case "donut_chart": return "local:donut";
|
|
138877
|
-
case "treemap_chart": return "local:treemap";
|
|
138878
|
-
case "pyramid_chart": return "local:pyramid";
|
|
138879
|
-
case "funnel_chart": return "local:funnel";
|
|
138880
|
-
case "heatmap_chart": return "local:heatmap";
|
|
138881
|
-
case "bullet_chart": return "local:bullet";
|
|
138882
|
-
case "waterfall_chart": return "local:waterfall";
|
|
138883
|
-
case "dependency_wheel_chart": return "local:dependencywheel";
|
|
138884
|
-
case "sankey_chart": return "local:sankey";
|
|
138885
|
-
case "headline_chart": return "local:headline";
|
|
138886
|
-
case "combo_chart": return "local:combo2";
|
|
138887
|
-
case "geo_chart": return "local:pushpin";
|
|
138888
|
-
case "geo_area_chart": return "local:choropleth";
|
|
138889
|
-
case "repeater_chart": return "local:repeater";
|
|
138890
|
-
case "radar_chart": return "local:radar";
|
|
138891
|
-
}
|
|
138950
|
+
return yamlVisTypeToVisualizationUrl[def.type];
|
|
138892
138951
|
}
|
|
138893
138952
|
function yamlConfigToDeclarative(def, positions) {
|
|
138894
138953
|
let controls;
|
|
@@ -140793,32 +140852,7 @@ function declarativeFiltersConfigToYaml$1(insight, filtersMap, errorContext) {
|
|
|
140793
140852
|
}
|
|
140794
140853
|
/** @internal */
|
|
140795
140854
|
function declarativeVisTypeToYaml(def) {
|
|
140796
|
-
|
|
140797
|
-
case "local:table": return "table";
|
|
140798
|
-
case "local:bar": return "bar_chart";
|
|
140799
|
-
case "local:column": return "column_chart";
|
|
140800
|
-
case "local:line": return "line_chart";
|
|
140801
|
-
case "local:area": return "area_chart";
|
|
140802
|
-
case "local:scatter": return "scatter_chart";
|
|
140803
|
-
case "local:bubble": return "bubble_chart";
|
|
140804
|
-
case "local:pie": return "pie_chart";
|
|
140805
|
-
case "local:donut": return "donut_chart";
|
|
140806
|
-
case "local:treemap": return "treemap_chart";
|
|
140807
|
-
case "local:pyramid": return "pyramid_chart";
|
|
140808
|
-
case "local:funnel": return "funnel_chart";
|
|
140809
|
-
case "local:heatmap": return "heatmap_chart";
|
|
140810
|
-
case "local:bullet": return "bullet_chart";
|
|
140811
|
-
case "local:waterfall": return "waterfall_chart";
|
|
140812
|
-
case "local:dependencywheel": return "dependency_wheel_chart";
|
|
140813
|
-
case "local:sankey": return "sankey_chart";
|
|
140814
|
-
case "local:headline": return "headline_chart";
|
|
140815
|
-
case "local:combo2": return "combo_chart";
|
|
140816
|
-
case "local:pushpin": return "geo_chart";
|
|
140817
|
-
case "local:choropleth": return "geo_area_chart";
|
|
140818
|
-
case "local:repeater": return "repeater_chart";
|
|
140819
|
-
case "local:radar": return "radar_chart";
|
|
140820
|
-
default: return null;
|
|
140821
|
-
}
|
|
140855
|
+
return visualizationUrlToYamlVisType.get(def.visualizationUrl) ?? null;
|
|
140822
140856
|
}
|
|
140823
140857
|
function declarativeVisToYaml(doc, def, report, entities, errorContext) {
|
|
140824
140858
|
const context = updateErrorContext(errorContext, { data: {
|
|
@@ -144844,6 +144878,7 @@ function stringCleaner(string) {
|
|
|
144844
144878
|
}
|
|
144845
144879
|
//#endregion
|
|
144846
144880
|
//#region ../code/esm/features/references/resolve/tables.js
|
|
144881
|
+
const TIMESTAMP_DATA_TYPES = ["TIMESTAMP", "TIMESTAMP_TZ"];
|
|
144847
144882
|
function resolveTablesReferences(state, file, context = {}) {
|
|
144848
144883
|
const sourceFile = context.sourceFile || resolveSync(state, file);
|
|
144849
144884
|
if (sourceFile?.relatedManifest?.manifest) {
|
|
@@ -144896,7 +144931,7 @@ function resolveColumnDataType(references) {
|
|
|
144896
144931
|
const [table, diagnostics] = findTable(references, self, self.table_path);
|
|
144897
144932
|
if (table) {
|
|
144898
144933
|
const column = findColumn(table, findSourceColumn(references));
|
|
144899
|
-
return [column ?
|
|
144934
|
+
return [column ? getCompatibleColumnDataTypes(column) : [], diagnostics];
|
|
144900
144935
|
}
|
|
144901
144936
|
return [[], diagnostics];
|
|
144902
144937
|
}
|
|
@@ -144904,7 +144939,7 @@ function resolveColumnDataType(references) {
|
|
|
144904
144939
|
const [table, diagnostics] = findStatement(references, self, self.sql);
|
|
144905
144940
|
if (table) {
|
|
144906
144941
|
const column = findColumn(table, findSourceColumn(references));
|
|
144907
|
-
return [column ?
|
|
144942
|
+
return [column ? getCompatibleColumnDataTypes(column) : [], diagnostics];
|
|
144908
144943
|
}
|
|
144909
144944
|
return [[], diagnostics];
|
|
144910
144945
|
}
|
|
@@ -144944,6 +144979,10 @@ function findStatement(references, dataset, sql) {
|
|
|
144944
144979
|
function findColumn(table, column) {
|
|
144945
144980
|
return table.columns.find((col) => col.name === column);
|
|
144946
144981
|
}
|
|
144982
|
+
function getCompatibleColumnDataTypes(column) {
|
|
144983
|
+
if (TIMESTAMP_DATA_TYPES.includes(column.dataType)) return TIMESTAMP_DATA_TYPES.map((dataType) => ({ id: dataType }));
|
|
144984
|
+
return [{ id: column.dataType }];
|
|
144985
|
+
}
|
|
144947
144986
|
function getTableIds(references, dataset) {
|
|
144948
144987
|
const hash = stringToHash(getTableRootId(references.profile, dataset));
|
|
144949
144988
|
const tables = references.tables[hash] || {};
|
|
@@ -149227,7 +149266,7 @@ const metadata_v1 = {
|
|
|
149227
149266
|
]
|
|
149228
149267
|
},
|
|
149229
149268
|
"value": {
|
|
149230
|
-
"description": "Literal (number or string); a {from,to} range for between/not_between; omitted for all/is_empty/is_not_empty.",
|
|
149269
|
+
"description": "Literal (number or string); a {from,to} range for between/not_between; an {absolute} period or {relative} period for date-attribute conditions; omitted for all/is_empty/is_not_empty.",
|
|
149231
149270
|
"oneOf": [
|
|
149232
149271
|
{ "type": "number" },
|
|
149233
149272
|
{ "type": "string" },
|
|
@@ -149239,6 +149278,52 @@ const metadata_v1 = {
|
|
|
149239
149278
|
"from": { "type": "number" },
|
|
149240
149279
|
"to": { "type": "number" }
|
|
149241
149280
|
}
|
|
149281
|
+
},
|
|
149282
|
+
{
|
|
149283
|
+
"type": "object",
|
|
149284
|
+
"additionalProperties": false,
|
|
149285
|
+
"required": ["absolute"],
|
|
149286
|
+
"properties": { "absolute": {
|
|
149287
|
+
"type": "object",
|
|
149288
|
+
"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.",
|
|
149289
|
+
"additionalProperties": false,
|
|
149290
|
+
"required": ["from", "to"],
|
|
149291
|
+
"properties": {
|
|
149292
|
+
"from": { "type": "string" },
|
|
149293
|
+
"to": { "type": "string" }
|
|
149294
|
+
}
|
|
149295
|
+
} }
|
|
149296
|
+
},
|
|
149297
|
+
{
|
|
149298
|
+
"type": "object",
|
|
149299
|
+
"additionalProperties": false,
|
|
149300
|
+
"required": ["relative"],
|
|
149301
|
+
"properties": { "relative": {
|
|
149302
|
+
"type": "object",
|
|
149303
|
+
"description": "Relative period re-resolved on every render/export: integer period offsets where 0 = the current period, negative = past. Granularity must be coarser than or equal to (and aligned with) the target date attribute's granularity.",
|
|
149304
|
+
"additionalProperties": false,
|
|
149305
|
+
"required": [
|
|
149306
|
+
"granularity",
|
|
149307
|
+
"from",
|
|
149308
|
+
"to"
|
|
149309
|
+
],
|
|
149310
|
+
"properties": {
|
|
149311
|
+
"granularity": {
|
|
149312
|
+
"type": "string",
|
|
149313
|
+
"enum": [
|
|
149314
|
+
"minute",
|
|
149315
|
+
"hour",
|
|
149316
|
+
"day",
|
|
149317
|
+
"week",
|
|
149318
|
+
"month",
|
|
149319
|
+
"quarter",
|
|
149320
|
+
"year"
|
|
149321
|
+
]
|
|
149322
|
+
},
|
|
149323
|
+
"from": { "type": "integer" },
|
|
149324
|
+
"to": { "type": "integer" }
|
|
149325
|
+
}
|
|
149326
|
+
} }
|
|
149242
149327
|
}
|
|
149243
149328
|
]
|
|
149244
149329
|
},
|
|
@@ -159681,7 +159766,7 @@ async function open(state, emitter, file) {
|
|
|
159681
159766
|
//#endregion
|
|
159682
159767
|
//#region ../code/package.json
|
|
159683
159768
|
var name = "@gooddata/code";
|
|
159684
|
-
var version = "0.46.0-alpha.
|
|
159769
|
+
var version = "0.46.0-alpha.4";
|
|
159685
159770
|
//#endregion
|
|
159686
159771
|
//#region ../../../sdk/libs/api-client-tiger/src/axios.ts
|
|
159687
159772
|
/**
|
|
@@ -159703,7 +159788,7 @@ const _CONFIG = {
|
|
|
159703
159788
|
common: {
|
|
159704
159789
|
"X-Requested-With": "XMLHttpRequest",
|
|
159705
159790
|
"X-GDC-JS-PACKAGE": "@gooddata/api-client-tiger",
|
|
159706
|
-
"X-GDC-JS-PACKAGE-VERSION": "11.50.0-alpha.
|
|
159791
|
+
"X-GDC-JS-PACKAGE-VERSION": "11.50.0-alpha.4"
|
|
159707
159792
|
},
|
|
159708
159793
|
post: { "Content-Type": "application/json;charset=utf8" },
|
|
159709
159794
|
put: { "Content-Type": "application/json;charset=utf8" }
|
|
@@ -160537,15 +160622,15 @@ async function ActionsApiAxiosParamCreator_ListWorkspaceUsers(workspaceId, page,
|
|
|
160537
160622
|
* @summary Manage Permissions for an Attribute
|
|
160538
160623
|
* @param {string} workspaceId
|
|
160539
160624
|
* @param {string} attributeId
|
|
160540
|
-
* @param {Array<
|
|
160625
|
+
* @param {Array<ManageAttributePermissionsRequestInner>} manageAttributePermissionsRequestInner
|
|
160541
160626
|
* @param {*} [options] Override http request option.
|
|
160542
160627
|
* @param {Configuration} [configuration] Optional configuration.
|
|
160543
160628
|
* @throws {RequiredError}
|
|
160544
160629
|
*/
|
|
160545
|
-
async function ActionsApiAxiosParamCreator_ManageAttributePermissions(workspaceId, attributeId,
|
|
160630
|
+
async function ActionsApiAxiosParamCreator_ManageAttributePermissions(workspaceId, attributeId, manageAttributePermissionsRequestInner, options = {}, configuration) {
|
|
160546
160631
|
assertParamExists$6("manageAttributePermissions", "workspaceId", workspaceId);
|
|
160547
160632
|
assertParamExists$6("manageAttributePermissions", "attributeId", attributeId);
|
|
160548
|
-
assertParamExists$6("manageAttributePermissions", "
|
|
160633
|
+
assertParamExists$6("manageAttributePermissions", "manageAttributePermissionsRequestInner", manageAttributePermissionsRequestInner);
|
|
160549
160634
|
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/attributes/{attributeId}/managePermissions`.replace(`{workspaceId}`, encodeURIComponent(String(workspaceId))).replace(`{attributeId}`, encodeURIComponent(String(attributeId)));
|
|
160550
160635
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
160551
160636
|
let baseOptions;
|
|
@@ -160566,7 +160651,7 @@ async function ActionsApiAxiosParamCreator_ManageAttributePermissions(workspaceI
|
|
|
160566
160651
|
...headersFromBaseOptions,
|
|
160567
160652
|
...options.headers
|
|
160568
160653
|
};
|
|
160569
|
-
localVarRequestOptions.data = typeof
|
|
160654
|
+
localVarRequestOptions.data = typeof manageAttributePermissionsRequestInner !== "string" || localVarRequestOptions.headers["Content-Type"] === "application/json" ? JSON.stringify(manageAttributePermissionsRequestInner !== void 0 ? manageAttributePermissionsRequestInner : {}) : manageAttributePermissionsRequestInner || "";
|
|
160570
160655
|
return {
|
|
160571
160656
|
url: toPathString$7(localVarUrlObj),
|
|
160572
160657
|
options: localVarRequestOptions
|
|
@@ -160655,15 +160740,15 @@ async function ActionsApiAxiosParamCreator_ManageDataSourcePermissions(dataSourc
|
|
|
160655
160740
|
* @summary Manage Permissions for a Fact
|
|
160656
160741
|
* @param {string} workspaceId
|
|
160657
160742
|
* @param {string} factId
|
|
160658
|
-
* @param {Array<
|
|
160743
|
+
* @param {Array<ManageFactPermissionsRequestInner>} manageFactPermissionsRequestInner
|
|
160659
160744
|
* @param {*} [options] Override http request option.
|
|
160660
160745
|
* @param {Configuration} [configuration] Optional configuration.
|
|
160661
160746
|
* @throws {RequiredError}
|
|
160662
160747
|
*/
|
|
160663
|
-
async function ActionsApiAxiosParamCreator_ManageFactPermissions(workspaceId, factId,
|
|
160748
|
+
async function ActionsApiAxiosParamCreator_ManageFactPermissions(workspaceId, factId, manageFactPermissionsRequestInner, options = {}, configuration) {
|
|
160664
160749
|
assertParamExists$6("manageFactPermissions", "workspaceId", workspaceId);
|
|
160665
160750
|
assertParamExists$6("manageFactPermissions", "factId", factId);
|
|
160666
|
-
assertParamExists$6("manageFactPermissions", "
|
|
160751
|
+
assertParamExists$6("manageFactPermissions", "manageFactPermissionsRequestInner", manageFactPermissionsRequestInner);
|
|
160667
160752
|
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/facts/{factId}/managePermissions`.replace(`{workspaceId}`, encodeURIComponent(String(workspaceId))).replace(`{factId}`, encodeURIComponent(String(factId)));
|
|
160668
160753
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
160669
160754
|
let baseOptions;
|
|
@@ -160684,7 +160769,7 @@ async function ActionsApiAxiosParamCreator_ManageFactPermissions(workspaceId, fa
|
|
|
160684
160769
|
...headersFromBaseOptions,
|
|
160685
160770
|
...options.headers
|
|
160686
160771
|
};
|
|
160687
|
-
localVarRequestOptions.data = typeof
|
|
160772
|
+
localVarRequestOptions.data = typeof manageFactPermissionsRequestInner !== "string" || localVarRequestOptions.headers["Content-Type"] === "application/json" ? JSON.stringify(manageFactPermissionsRequestInner !== void 0 ? manageFactPermissionsRequestInner : {}) : manageFactPermissionsRequestInner || "";
|
|
160688
160773
|
return {
|
|
160689
160774
|
url: toPathString$7(localVarUrlObj),
|
|
160690
160775
|
options: localVarRequestOptions
|
|
@@ -162046,7 +162131,7 @@ async function ActionsApi_ListWorkspaceUsers(axios, basePath, requestParameters,
|
|
|
162046
162131
|
* @throws {RequiredError}
|
|
162047
162132
|
*/
|
|
162048
162133
|
async function ActionsApi_ManageAttributePermissions(axios, basePath, requestParameters, options, configuration) {
|
|
162049
|
-
return createRequestFunction$7(await ActionsApiAxiosParamCreator_ManageAttributePermissions(requestParameters.workspaceId, requestParameters.attributeId, requestParameters.
|
|
162134
|
+
return createRequestFunction$7(await ActionsApiAxiosParamCreator_ManageAttributePermissions(requestParameters.workspaceId, requestParameters.attributeId, requestParameters.manageAttributePermissionsRequestInner, options || {}, configuration), axios$1, BASE_PATH$7, configuration)(axios, basePath);
|
|
162050
162135
|
}
|
|
162051
162136
|
/**
|
|
162052
162137
|
*
|
|
@@ -162085,7 +162170,7 @@ async function ActionsApi_ManageDataSourcePermissions(axios, basePath, requestPa
|
|
|
162085
162170
|
* @throws {RequiredError}
|
|
162086
162171
|
*/
|
|
162087
162172
|
async function ActionsApi_ManageFactPermissions(axios, basePath, requestParameters, options, configuration) {
|
|
162088
|
-
return createRequestFunction$7(await ActionsApiAxiosParamCreator_ManageFactPermissions(requestParameters.workspaceId, requestParameters.factId, requestParameters.
|
|
162173
|
+
return createRequestFunction$7(await ActionsApiAxiosParamCreator_ManageFactPermissions(requestParameters.workspaceId, requestParameters.factId, requestParameters.manageFactPermissionsRequestInner, options || {}, configuration), axios$1, BASE_PATH$7, configuration)(axios, basePath);
|
|
162089
162174
|
}
|
|
162090
162175
|
/**
|
|
162091
162176
|
*
|
|
@@ -164418,7 +164503,7 @@ async function EntitiesApiAxiosParamCreator_CreateEntityWorkspaceColorPalettes(w
|
|
|
164418
164503
|
const localVarHeaderParameter = {};
|
|
164419
164504
|
const localVarQueryParameter = {};
|
|
164420
164505
|
if (metaInclude) localVarQueryParameter["metaInclude"] = Array.from(metaInclude).join(COLLECTION_FORMATS$1.csv);
|
|
164421
|
-
const consumes = ["application/json", "application/
|
|
164506
|
+
const consumes = ["application/vnd.gooddata.api+json", "application/json"];
|
|
164422
164507
|
localVarHeaderParameter["Content-Type"] = consumes.includes("application/json") ? "application/json" : consumes[0];
|
|
164423
164508
|
setSearchParams$7(localVarUrlObj, localVarQueryParameter);
|
|
164424
164509
|
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
@@ -164622,7 +164707,7 @@ async function EntitiesApiAxiosParamCreator_CreateEntityWorkspaceThemes(workspac
|
|
|
164622
164707
|
const localVarHeaderParameter = {};
|
|
164623
164708
|
const localVarQueryParameter = {};
|
|
164624
164709
|
if (metaInclude) localVarQueryParameter["metaInclude"] = Array.from(metaInclude).join(COLLECTION_FORMATS$1.csv);
|
|
164625
|
-
const consumes = ["application/json", "application/
|
|
164710
|
+
const consumes = ["application/vnd.gooddata.api+json", "application/json"];
|
|
164626
164711
|
localVarHeaderParameter["Content-Type"] = consumes.includes("application/json") ? "application/json" : consumes[0];
|
|
164627
164712
|
setSearchParams$7(localVarUrlObj, localVarQueryParameter);
|
|
164628
164713
|
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
@@ -167101,6 +167186,53 @@ async function EntitiesApiAxiosParamCreator_GetAllEntitiesFilterViews(workspaceI
|
|
|
167101
167186
|
}
|
|
167102
167187
|
/**
|
|
167103
167188
|
*
|
|
167189
|
+
* @summary Get all Fiscal Calendars
|
|
167190
|
+
* @param {string} workspaceId
|
|
167191
|
+
* @param {'ALL' | 'PARENTS' | 'NATIVE'} [origin]
|
|
167192
|
+
* @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title==\'Some Title\';description==\'desc\'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty==\'Value 123\').
|
|
167193
|
+
* @param {number} [page] Zero-based page index (0..N)
|
|
167194
|
+
* @param {number} [size] The size of the page to be returned
|
|
167195
|
+
* @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
167196
|
+
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
167197
|
+
* @param {Array<'page' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
167198
|
+
* @param {*} [options] Override http request option.
|
|
167199
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
167200
|
+
* @throws {RequiredError}
|
|
167201
|
+
*/
|
|
167202
|
+
async function EntitiesApiAxiosParamCreator_GetAllEntitiesFiscalCalendars(workspaceId, origin, filter, page, size, sort, xGDCVALIDATERELATIONS, metaInclude, options = {}, configuration) {
|
|
167203
|
+
assertParamExists$6("getAllEntitiesFiscalCalendars", "workspaceId", workspaceId);
|
|
167204
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/fiscalCalendars`.replace(`{workspaceId}`, encodeURIComponent(String(workspaceId)));
|
|
167205
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
167206
|
+
let baseOptions;
|
|
167207
|
+
if (configuration) baseOptions = configuration.baseOptions;
|
|
167208
|
+
const localVarRequestOptions = {
|
|
167209
|
+
method: "GET",
|
|
167210
|
+
...baseOptions,
|
|
167211
|
+
...options
|
|
167212
|
+
};
|
|
167213
|
+
const localVarHeaderParameter = {};
|
|
167214
|
+
const localVarQueryParameter = {};
|
|
167215
|
+
if (origin !== void 0) localVarQueryParameter["origin"] = origin;
|
|
167216
|
+
if (filter !== void 0) localVarQueryParameter["filter"] = filter;
|
|
167217
|
+
if (page !== void 0) localVarQueryParameter["page"] = page;
|
|
167218
|
+
if (size !== void 0) localVarQueryParameter["size"] = size;
|
|
167219
|
+
if (sort) localVarQueryParameter["sort"] = sort;
|
|
167220
|
+
if (metaInclude) localVarQueryParameter["metaInclude"] = Array.from(metaInclude).join(COLLECTION_FORMATS$1.csv);
|
|
167221
|
+
if (xGDCVALIDATERELATIONS !== void 0 && xGDCVALIDATERELATIONS !== null) localVarHeaderParameter["X-GDC-VALIDATE-RELATIONS"] = String(JSON.stringify(xGDCVALIDATERELATIONS));
|
|
167222
|
+
setSearchParams$7(localVarUrlObj, localVarQueryParameter);
|
|
167223
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
167224
|
+
localVarRequestOptions.headers = {
|
|
167225
|
+
...localVarHeaderParameter,
|
|
167226
|
+
...headersFromBaseOptions,
|
|
167227
|
+
...options.headers
|
|
167228
|
+
};
|
|
167229
|
+
return {
|
|
167230
|
+
url: toPathString$7(localVarUrlObj),
|
|
167231
|
+
options: localVarRequestOptions
|
|
167232
|
+
};
|
|
167233
|
+
}
|
|
167234
|
+
/**
|
|
167235
|
+
*
|
|
167104
167236
|
* @summary Get all Identity Providers
|
|
167105
167237
|
* @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title==\'Some Title\';description==\'desc\'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty==\'Value 123\').
|
|
167106
167238
|
* @param {number} [page] Zero-based page index (0..N)
|
|
@@ -169300,6 +169432,45 @@ async function EntitiesApiAxiosParamCreator_GetEntityFilterViews(workspaceId, ob
|
|
|
169300
169432
|
}
|
|
169301
169433
|
/**
|
|
169302
169434
|
*
|
|
169435
|
+
* @summary Get a Fiscal Calendar
|
|
169436
|
+
* @param {string} workspaceId
|
|
169437
|
+
* @param {string} objectId
|
|
169438
|
+
* @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title==\'Some Title\';description==\'desc\'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty==\'Value 123\').
|
|
169439
|
+
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
169440
|
+
* @param {*} [options] Override http request option.
|
|
169441
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
169442
|
+
* @throws {RequiredError}
|
|
169443
|
+
*/
|
|
169444
|
+
async function EntitiesApiAxiosParamCreator_GetEntityFiscalCalendars(workspaceId, objectId, filter, xGDCVALIDATERELATIONS, options = {}, configuration) {
|
|
169445
|
+
assertParamExists$6("getEntityFiscalCalendars", "workspaceId", workspaceId);
|
|
169446
|
+
assertParamExists$6("getEntityFiscalCalendars", "objectId", objectId);
|
|
169447
|
+
const localVarPath = `/api/v1/entities/workspaces/{workspaceId}/fiscalCalendars/{objectId}`.replace(`{workspaceId}`, encodeURIComponent(String(workspaceId))).replace(`{objectId}`, encodeURIComponent(String(objectId)));
|
|
169448
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$7);
|
|
169449
|
+
let baseOptions;
|
|
169450
|
+
if (configuration) baseOptions = configuration.baseOptions;
|
|
169451
|
+
const localVarRequestOptions = {
|
|
169452
|
+
method: "GET",
|
|
169453
|
+
...baseOptions,
|
|
169454
|
+
...options
|
|
169455
|
+
};
|
|
169456
|
+
const localVarHeaderParameter = {};
|
|
169457
|
+
const localVarQueryParameter = {};
|
|
169458
|
+
if (filter !== void 0) localVarQueryParameter["filter"] = filter;
|
|
169459
|
+
if (xGDCVALIDATERELATIONS !== void 0 && xGDCVALIDATERELATIONS !== null) localVarHeaderParameter["X-GDC-VALIDATE-RELATIONS"] = String(JSON.stringify(xGDCVALIDATERELATIONS));
|
|
169460
|
+
setSearchParams$7(localVarUrlObj, localVarQueryParameter);
|
|
169461
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
169462
|
+
localVarRequestOptions.headers = {
|
|
169463
|
+
...localVarHeaderParameter,
|
|
169464
|
+
...headersFromBaseOptions,
|
|
169465
|
+
...options.headers
|
|
169466
|
+
};
|
|
169467
|
+
return {
|
|
169468
|
+
url: toPathString$7(localVarUrlObj),
|
|
169469
|
+
options: localVarRequestOptions
|
|
169470
|
+
};
|
|
169471
|
+
}
|
|
169472
|
+
/**
|
|
169473
|
+
*
|
|
169303
169474
|
* @summary Get Identity Provider
|
|
169304
169475
|
* @param {string} id
|
|
169305
169476
|
* @param {string} [filter] Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title==\'Some Title\';description==\'desc\'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty==\'Value 123\').
|
|
@@ -171963,7 +172134,7 @@ async function EntitiesApiAxiosParamCreator_PatchEntityWorkspaceColorPalettes(wo
|
|
|
171963
172134
|
const localVarHeaderParameter = {};
|
|
171964
172135
|
const localVarQueryParameter = {};
|
|
171965
172136
|
if (filter !== void 0) localVarQueryParameter["filter"] = filter;
|
|
171966
|
-
const consumes = ["application/json", "application/
|
|
172137
|
+
const consumes = ["application/vnd.gooddata.api+json", "application/json"];
|
|
171967
172138
|
localVarHeaderParameter["Content-Type"] = consumes.includes("application/json") ? "application/json" : consumes[0];
|
|
171968
172139
|
setSearchParams$7(localVarUrlObj, localVarQueryParameter);
|
|
171969
172140
|
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
@@ -172177,7 +172348,7 @@ async function EntitiesApiAxiosParamCreator_PatchEntityWorkspaceThemes(workspace
|
|
|
172177
172348
|
const localVarHeaderParameter = {};
|
|
172178
172349
|
const localVarQueryParameter = {};
|
|
172179
172350
|
if (filter !== void 0) localVarQueryParameter["filter"] = filter;
|
|
172180
|
-
const consumes = ["application/json", "application/
|
|
172351
|
+
const consumes = ["application/vnd.gooddata.api+json", "application/json"];
|
|
172181
172352
|
localVarHeaderParameter["Content-Type"] = consumes.includes("application/json") ? "application/json" : consumes[0];
|
|
172182
172353
|
setSearchParams$7(localVarUrlObj, localVarQueryParameter);
|
|
172183
172354
|
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
@@ -174689,7 +174860,7 @@ async function EntitiesApiAxiosParamCreator_UpdateEntityWorkspaceColorPalettes(w
|
|
|
174689
174860
|
const localVarHeaderParameter = {};
|
|
174690
174861
|
const localVarQueryParameter = {};
|
|
174691
174862
|
if (filter !== void 0) localVarQueryParameter["filter"] = filter;
|
|
174692
|
-
const consumes = ["application/json", "application/
|
|
174863
|
+
const consumes = ["application/vnd.gooddata.api+json", "application/json"];
|
|
174693
174864
|
localVarHeaderParameter["Content-Type"] = consumes.includes("application/json") ? "application/json" : consumes[0];
|
|
174694
174865
|
setSearchParams$7(localVarUrlObj, localVarQueryParameter);
|
|
174695
174866
|
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
@@ -174903,7 +175074,7 @@ async function EntitiesApiAxiosParamCreator_UpdateEntityWorkspaceThemes(workspac
|
|
|
174903
175074
|
const localVarHeaderParameter = {};
|
|
174904
175075
|
const localVarQueryParameter = {};
|
|
174905
175076
|
if (filter !== void 0) localVarQueryParameter["filter"] = filter;
|
|
174906
|
-
const consumes = ["application/json", "application/
|
|
175077
|
+
const consumes = ["application/vnd.gooddata.api+json", "application/json"];
|
|
174907
175078
|
localVarHeaderParameter["Content-Type"] = consumes.includes("application/json") ? "application/json" : consumes[0];
|
|
174908
175079
|
setSearchParams$7(localVarUrlObj, localVarQueryParameter);
|
|
174909
175080
|
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
@@ -176338,6 +176509,19 @@ async function EntitiesApi_GetAllEntitiesFilterViews(axios, basePath, requestPar
|
|
|
176338
176509
|
}
|
|
176339
176510
|
/**
|
|
176340
176511
|
*
|
|
176512
|
+
* @summary Get all Fiscal Calendars
|
|
176513
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
176514
|
+
* @param {string} basePath Base path.
|
|
176515
|
+
* @param {EntitiesApiGetAllEntitiesFiscalCalendarsRequest} requestParameters Request parameters.
|
|
176516
|
+
* @param {*} [options] Override http request option.
|
|
176517
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
176518
|
+
* @throws {RequiredError}
|
|
176519
|
+
*/
|
|
176520
|
+
async function EntitiesApi_GetAllEntitiesFiscalCalendars(axios, basePath, requestParameters, options, configuration) {
|
|
176521
|
+
return createRequestFunction$7(await EntitiesApiAxiosParamCreator_GetAllEntitiesFiscalCalendars(requestParameters.workspaceId, requestParameters.origin, requestParameters.filter, requestParameters.page, requestParameters.size, requestParameters.sort, requestParameters.xGDCVALIDATERELATIONS, requestParameters.metaInclude, options || {}, configuration), axios$1, BASE_PATH$7, configuration)(axios, basePath);
|
|
176522
|
+
}
|
|
176523
|
+
/**
|
|
176524
|
+
*
|
|
176341
176525
|
* @summary Get all Identity Providers
|
|
176342
176526
|
* @param {AxiosInstance} axios Axios instance.
|
|
176343
176527
|
* @param {string} basePath Base path.
|
|
@@ -177025,6 +177209,19 @@ async function EntitiesApi_GetEntityFilterViews(axios, basePath, requestParamete
|
|
|
177025
177209
|
}
|
|
177026
177210
|
/**
|
|
177027
177211
|
*
|
|
177212
|
+
* @summary Get a Fiscal Calendar
|
|
177213
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
177214
|
+
* @param {string} basePath Base path.
|
|
177215
|
+
* @param {EntitiesApiGetEntityFiscalCalendarsRequest} requestParameters Request parameters.
|
|
177216
|
+
* @param {*} [options] Override http request option.
|
|
177217
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
177218
|
+
* @throws {RequiredError}
|
|
177219
|
+
*/
|
|
177220
|
+
async function EntitiesApi_GetEntityFiscalCalendars(axios, basePath, requestParameters, options, configuration) {
|
|
177221
|
+
return createRequestFunction$7(await EntitiesApiAxiosParamCreator_GetEntityFiscalCalendars(requestParameters.workspaceId, requestParameters.objectId, requestParameters.filter, requestParameters.xGDCVALIDATERELATIONS, options || {}, configuration), axios$1, BASE_PATH$7, configuration)(axios, basePath);
|
|
177222
|
+
}
|
|
177223
|
+
/**
|
|
177224
|
+
*
|
|
177028
177225
|
* @summary Get Identity Provider
|
|
177029
177226
|
* @param {AxiosInstance} axios Axios instance.
|
|
177030
177227
|
* @param {string} basePath Base path.
|
|
@@ -179980,6 +180177,17 @@ var EntitiesApi = class extends BaseAPI$7 {
|
|
|
179980
180177
|
}
|
|
179981
180178
|
/**
|
|
179982
180179
|
*
|
|
180180
|
+
* @summary Get all Fiscal Calendars
|
|
180181
|
+
* @param {EntitiesApiGetAllEntitiesFiscalCalendarsRequest} requestParameters Request parameters.
|
|
180182
|
+
* @param {*} [options] Override http request option.
|
|
180183
|
+
* @throws {RequiredError}
|
|
180184
|
+
* @memberof EntitiesApi
|
|
180185
|
+
*/
|
|
180186
|
+
getAllEntitiesFiscalCalendars(requestParameters, options) {
|
|
180187
|
+
return EntitiesApi_GetAllEntitiesFiscalCalendars(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
180188
|
+
}
|
|
180189
|
+
/**
|
|
180190
|
+
*
|
|
179983
180191
|
* @summary Get all Identity Providers
|
|
179984
180192
|
* @param {EntitiesApiGetAllEntitiesIdentityProvidersRequest} requestParameters Request parameters.
|
|
179985
180193
|
* @param {*} [options] Override http request option.
|
|
@@ -180562,6 +180770,17 @@ var EntitiesApi = class extends BaseAPI$7 {
|
|
|
180562
180770
|
}
|
|
180563
180771
|
/**
|
|
180564
180772
|
*
|
|
180773
|
+
* @summary Get a Fiscal Calendar
|
|
180774
|
+
* @param {EntitiesApiGetEntityFiscalCalendarsRequest} requestParameters Request parameters.
|
|
180775
|
+
* @param {*} [options] Override http request option.
|
|
180776
|
+
* @throws {RequiredError}
|
|
180777
|
+
* @memberof EntitiesApi
|
|
180778
|
+
*/
|
|
180779
|
+
getEntityFiscalCalendars(requestParameters, options) {
|
|
180780
|
+
return EntitiesApi_GetEntityFiscalCalendars(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
180781
|
+
}
|
|
180782
|
+
/**
|
|
180783
|
+
*
|
|
180565
180784
|
* @summary Get Identity Provider
|
|
180566
180785
|
* @param {EntitiesApiGetEntityIdentityProvidersRequest} requestParameters Request parameters.
|
|
180567
180786
|
* @param {*} [options] Override http request option.
|
|
@@ -199982,7 +200201,7 @@ function offlineModeBanner(offline) {
|
|
|
199982
200201
|
}
|
|
199983
200202
|
}
|
|
199984
200203
|
function experimentalFeaturesBanner(manifest) {
|
|
199985
|
-
if (manifest
|
|
200204
|
+
if (manifest?.experimental_features && Object.keys(manifest.experimental_features).length > 0) {
|
|
199986
200205
|
empty("");
|
|
199987
200206
|
warn(texts.experimental_features());
|
|
199988
200207
|
Object.keys(manifest.experimental_features).forEach((key) => {
|
|
@@ -200929,12 +201148,12 @@ async function saveManifest(state, manifestYaml) {
|
|
|
200929
201148
|
} catch (e) {
|
|
200930
201149
|
throw new Error([texts.cmd__init__manifest__write__error(manifestPath), e.message].join("\n"));
|
|
200931
201150
|
}
|
|
200932
|
-
if (state.env
|
|
201151
|
+
if (state.env?.path && ["created", "updated"].includes(state.env.status)) try {
|
|
200933
201152
|
await fsPromise.appendFile(state.env.path, `${state.env.status === "updated" ? os$1.EOL : ""}${state.token?.variable}="${state.token?.raw}"`, { flag: "a+" });
|
|
200934
201153
|
} catch (e) {
|
|
200935
201154
|
throw new Error([texts.cmd__init__env__write__error(state.env.path), e.message].join("\n"));
|
|
200936
201155
|
}
|
|
200937
|
-
if (state.gitignore
|
|
201156
|
+
if (state.gitignore?.path && ["created", "updated"].includes(state.gitignore.status)) try {
|
|
200938
201157
|
await fsPromise.appendFile(state.gitignore.path, `${state.gitignore.status === "updated" ? os$1.EOL : ""}.env`, { flag: "a+" });
|
|
200939
201158
|
} catch (e) {
|
|
200940
201159
|
throw new Error([texts.cmd__init__gitignore__write__error(state.gitignore.path), e.message].join("\n"));
|