@gooddata/code-cli 0.52.0-alpha.6 → 0.52.0-alpha.8
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 +473 -646
- 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.52.0-alpha.
|
|
37373
|
+
var version$1 = "0.52.0-alpha.8";
|
|
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) => {
|
|
@@ -103070,6 +103070,8 @@ var CoreErrorCode;
|
|
|
103070
103070
|
CoreErrorCode["ParameterDuplicateAllowedTitle"] = "core.parameter.duplicateAllowedTitle";
|
|
103071
103071
|
CoreErrorCode["ParameterLengthRange"] = "core.parameter.lengthRange";
|
|
103072
103072
|
CoreErrorCode["ParameterDefaultOutOfBounds"] = "core.parameter.defaultOutOfBounds";
|
|
103073
|
+
CoreErrorCode["ParameterNumberRange"] = "core.parameter.numberRange";
|
|
103074
|
+
CoreErrorCode["ParameterDefaultOutOfRange"] = "core.parameter.defaultOutOfRange";
|
|
103073
103075
|
CoreErrorCode["MissingDataSourceId"] = "core.missingDataSourceId";
|
|
103074
103076
|
CoreErrorCode["NonExistingRemoteReference"] = "core.nonExistingRemoteReference";
|
|
103075
103077
|
CoreErrorCode["NonExistingRemoteReferences"] = "core.nonExistingRemoteReferences";
|
|
@@ -103169,6 +103171,8 @@ const CoreErrorMessages$1 = {
|
|
|
103169
103171
|
[CoreErrorCode.ParameterDuplicateAllowedTitle]: `allowed_values contains duplicate title "{0}". Each title must be unique.`,
|
|
103170
103172
|
[CoreErrorCode.ParameterLengthRange]: `minLength {0} is greater than maxLength {1}. The bounds must describe a non-empty range.`,
|
|
103171
103173
|
[CoreErrorCode.ParameterDefaultOutOfBounds]: `Default "{0}" has length {1}, which is outside the declared bounds {2}.`,
|
|
103174
|
+
[CoreErrorCode.ParameterNumberRange]: `min {0} is greater than max {1}. The bounds must describe a non-empty range.`,
|
|
103175
|
+
[CoreErrorCode.ParameterDefaultOutOfRange]: `Default {0} is outside the declared bounds {1}.`,
|
|
103172
103176
|
[CoreErrorCode.MissingDataSourceId]: `Missing data source. Data source must be specified in profile or directly on dataset. Use "data_source" property in profile or "data_source" property in current dataset definition.`,
|
|
103173
103177
|
[CoreErrorCode.SqlIsNotRefreshedFromServer]: `SQL statement not loaded from server and need to be refreshed. Use "Run" button over the SQL statement to force retrieve new definition.`,
|
|
103174
103178
|
[SpecificCoreErrorCode.UniquenessDatasetsId]: `There are more datasets with id "{0}". Use unique names for datasets.`,
|
|
@@ -103254,6 +103258,8 @@ const CoreErrorTypes$1 = {
|
|
|
103254
103258
|
[CoreErrorCode.ParameterDuplicateAllowedTitle]: "ParameterDuplicateAllowedTitle",
|
|
103255
103259
|
[CoreErrorCode.ParameterLengthRange]: "ParameterLengthRange",
|
|
103256
103260
|
[CoreErrorCode.ParameterDefaultOutOfBounds]: "ParameterDefaultOutOfBounds",
|
|
103261
|
+
[CoreErrorCode.ParameterNumberRange]: "ParameterNumberRange",
|
|
103262
|
+
[CoreErrorCode.ParameterDefaultOutOfRange]: "ParameterDefaultOutOfRange",
|
|
103257
103263
|
[CoreErrorCode.MissingDataSourceId]: "MissingDataSourceId",
|
|
103258
103264
|
[SpecificCoreErrorCode.UniquenessDatasetsId]: "UniquenessDatasetsId",
|
|
103259
103265
|
[SpecificCoreErrorCode.UniquenessMetricsId]: "UniquenessMetricsId",
|
|
@@ -106661,7 +106667,12 @@ function normalizeUrl(urlString, options) {
|
|
|
106661
106667
|
}
|
|
106662
106668
|
//#endregion
|
|
106663
106669
|
//#region ../code/esm/features/references/utils/index.js
|
|
106670
|
+
/**
|
|
106671
|
+
* The computed attribute token precedes "attribute" in the alternation the patterns build from
|
|
106672
|
+
* this list, so the longer token wins.
|
|
106673
|
+
*/
|
|
106664
106674
|
const SupportedReferenceTypes$1 = [
|
|
106675
|
+
"computed_attribute",
|
|
106665
106676
|
"fact",
|
|
106666
106677
|
"label",
|
|
106667
106678
|
"metric",
|
|
@@ -106669,14 +106680,21 @@ const SupportedReferenceTypes$1 = [
|
|
|
106669
106680
|
"attribute"
|
|
106670
106681
|
];
|
|
106671
106682
|
/**
|
|
106672
|
-
* MAQL can additionally name a parameter
|
|
106673
|
-
* cannot. The computed attribute token precedes "attribute" in the alternation the patterns build
|
|
106674
|
-
* from this list, so the longer token wins.
|
|
106683
|
+
* MAQL can additionally name a parameter.
|
|
106675
106684
|
*/
|
|
106676
|
-
const SupportedMaqlReferenceTypes = [
|
|
106677
|
-
|
|
106678
|
-
|
|
106679
|
-
|
|
106685
|
+
const SupportedMaqlReferenceTypes = [...SupportedReferenceTypes$1, "parameter"];
|
|
106686
|
+
/**
|
|
106687
|
+
* A custom URL substitutes attribute values only; it cannot name a computed attribute or a parameter.
|
|
106688
|
+
*/
|
|
106689
|
+
const SupportedCustomUrlReferenceTypes = SupportedReferenceTypes$1.filter((type) => type !== "computed_attribute");
|
|
106690
|
+
/**
|
|
106691
|
+
* Reference prefixes that stand for an attribute-like object a query field, an attribute filter
|
|
106692
|
+
* or a drill can use. A computed attribute behaves as a label with computed values.
|
|
106693
|
+
*/
|
|
106694
|
+
const AttributeLikeReferenceTypes$1 = [
|
|
106695
|
+
"attribute",
|
|
106696
|
+
"label",
|
|
106697
|
+
"computed_attribute"
|
|
106680
106698
|
];
|
|
106681
106699
|
/** The id fragment of a `type/id` reference, shared by every pattern that matches one. */
|
|
106682
106700
|
const REFERENCE_ID_PATTERN = "(?!\\.)[.A-Za-z0-9_-]{1,255}";
|
|
@@ -106883,11 +106901,7 @@ function isShothandField(obj) {
|
|
|
106883
106901
|
function isAttributeField$1(obj) {
|
|
106884
106902
|
if (typeof obj === "object" && obj && "using" in obj && typeof obj.using === "string" && !("aggregation" in obj)) {
|
|
106885
106903
|
const id = parseReferenceObject$1(obj.using);
|
|
106886
|
-
return Boolean(id && [
|
|
106887
|
-
"attribute",
|
|
106888
|
-
"label",
|
|
106889
|
-
"fact"
|
|
106890
|
-
].includes(id.type));
|
|
106904
|
+
return Boolean(id && [...AttributeLikeReferenceTypes$1, "fact"].includes(id.type));
|
|
106891
106905
|
}
|
|
106892
106906
|
return false;
|
|
106893
106907
|
}
|
|
@@ -106938,14 +106952,14 @@ function isAllTimeDateFilter$1(obj) {
|
|
|
106938
106952
|
function isAttributeFilter$2(obj) {
|
|
106939
106953
|
if (typeof obj === "object" && obj && "using" in obj && "type" in obj && obj.type === "attribute_filter") {
|
|
106940
106954
|
const id = parseReferenceObject$1(obj.using);
|
|
106941
|
-
return Boolean(id &&
|
|
106955
|
+
return Boolean(id && AttributeLikeReferenceTypes$1.includes(id.type));
|
|
106942
106956
|
}
|
|
106943
106957
|
return false;
|
|
106944
106958
|
}
|
|
106945
106959
|
function isTextFilter$1(obj) {
|
|
106946
106960
|
if (typeof obj === "object" && obj && "using" in obj && typeof obj.using === "string" && "type" in obj && obj.type === "text_filter") {
|
|
106947
106961
|
const id = parseReferenceObject$1(obj.using);
|
|
106948
|
-
return Boolean(id &&
|
|
106962
|
+
return Boolean(id && AttributeLikeReferenceTypes$1.includes(id.type));
|
|
106949
106963
|
}
|
|
106950
106964
|
return false;
|
|
106951
106965
|
}
|
|
@@ -106999,7 +107013,7 @@ function isDashboardAttributeFilter$2(obj) {
|
|
|
106999
107013
|
function isDashboardTextFilter$1(obj) {
|
|
107000
107014
|
if (typeof obj === "object" && obj && "type" in obj && obj.type === "text_filter" && "using" in obj && typeof obj.using === "string") {
|
|
107001
107015
|
const id = parseReferenceObject$1(obj.using);
|
|
107002
|
-
return Boolean(id &&
|
|
107016
|
+
return Boolean(id && AttributeLikeReferenceTypes$1.includes(id.type));
|
|
107003
107017
|
}
|
|
107004
107018
|
return false;
|
|
107005
107019
|
}
|
|
@@ -135226,15 +135240,32 @@ function getIdentifier(obj, untype, errorContext) {
|
|
|
135226
135240
|
identifier: obj.identifier.id
|
|
135227
135241
|
} : obj;
|
|
135228
135242
|
if (isLocalIdRef(idRef)) return idRef.localIdentifier;
|
|
135229
|
-
if (isIdentifierRef(idRef) && !untype) return `${idRef.type
|
|
135243
|
+
if (isIdentifierRef(idRef) && !untype) return `${declarativeTypeToReferencePrefix(idRef.type)}/${idRef.identifier}`;
|
|
135230
135244
|
if (isIdentifierRef(idRef) && untype) return idRef.identifier;
|
|
135231
135245
|
throw newError("core.referenceTypeNotSupported", [JSON.stringify(obj)], errorContext);
|
|
135232
135246
|
}
|
|
135247
|
+
/**
|
|
135248
|
+
* Maps the yaml reference prefix (`metric/`, `computed_attribute/`, ...) to the object type the
|
|
135249
|
+
* declarative API uses for the same object.
|
|
135250
|
+
*/
|
|
135251
|
+
function referencePrefixToDeclarativeType(prefix, forceMetric) {
|
|
135252
|
+
if (prefix === "metric" && !forceMetric) return "measure";
|
|
135253
|
+
if (prefix === "computed_attribute") return "computedAttribute";
|
|
135254
|
+
return prefix;
|
|
135255
|
+
}
|
|
135256
|
+
/**
|
|
135257
|
+
* Inverse of {@link referencePrefixToDeclarativeType}.
|
|
135258
|
+
*/
|
|
135259
|
+
function declarativeTypeToReferencePrefix(type) {
|
|
135260
|
+
if (type === "measure") return "metric";
|
|
135261
|
+
if (type === "computedAttribute") return "computed_attribute";
|
|
135262
|
+
return type;
|
|
135263
|
+
}
|
|
135233
135264
|
/** @public */
|
|
135234
135265
|
function createIdentifier(data, { forceMetric, forceType } = {}) {
|
|
135235
135266
|
const [type, objId] = data.split("/");
|
|
135236
135267
|
if (type && objId) return { identifier: {
|
|
135237
|
-
type: forceType || (type
|
|
135268
|
+
type: forceType || referencePrefixToDeclarativeType(type, forceMetric),
|
|
135238
135269
|
id: objId
|
|
135239
135270
|
} };
|
|
135240
135271
|
if (forceType) return { identifier: {
|
|
@@ -135540,6 +135571,14 @@ function yamlMetricToDeclarative(input) {
|
|
|
135540
135571
|
function isDeclarativeStringParameter(parameter) {
|
|
135541
135572
|
return parameter.content.type === "STRING";
|
|
135542
135573
|
}
|
|
135574
|
+
/** @public */
|
|
135575
|
+
function isDeclarativeNumberParameter(parameter) {
|
|
135576
|
+
return parameter.content.type === "NUMBER";
|
|
135577
|
+
}
|
|
135578
|
+
/** @public */
|
|
135579
|
+
function isDeclarativeCodeParameter(parameter) {
|
|
135580
|
+
return isDeclarativeStringParameter(parameter) || isDeclarativeNumberParameter(parameter);
|
|
135581
|
+
}
|
|
135543
135582
|
/**
|
|
135544
135583
|
* Spreadable `constraints` entry for a parameter definition: present only when at least one
|
|
135545
135584
|
* restriction is set, and never carrying a key whose value is undefined.
|
|
@@ -135568,6 +135607,9 @@ function yamlParameterToDeclarative(input) {
|
|
|
135568
135607
|
};
|
|
135569
135608
|
}
|
|
135570
135609
|
function yamlParameterDefinitionToDeclarative(definition) {
|
|
135610
|
+
return definition.type === "NUMBER" ? yamlNumberDefinitionToDeclarative(definition) : yamlStringDefinitionToDeclarative(definition);
|
|
135611
|
+
}
|
|
135612
|
+
function yamlStringDefinitionToDeclarative(definition) {
|
|
135571
135613
|
const { minLength, maxLength, allowedValues } = definition.constraints ?? {};
|
|
135572
135614
|
return {
|
|
135573
135615
|
type: "STRING",
|
|
@@ -135579,15 +135621,19 @@ function yamlParameterDefinitionToDeclarative(definition) {
|
|
|
135579
135621
|
})
|
|
135580
135622
|
};
|
|
135581
135623
|
}
|
|
135624
|
+
function yamlNumberDefinitionToDeclarative(definition) {
|
|
135625
|
+
const { min, max } = definition.constraints ?? {};
|
|
135626
|
+
return {
|
|
135627
|
+
type: "NUMBER",
|
|
135628
|
+
defaultValue: definition.defaultValue,
|
|
135629
|
+
...optionalConstraints({
|
|
135630
|
+
min,
|
|
135631
|
+
max
|
|
135632
|
+
})
|
|
135633
|
+
};
|
|
135634
|
+
}
|
|
135582
135635
|
//#endregion
|
|
135583
135636
|
//#region ../../../sdk/libs/sdk-code-convertors/src/to/yamlComputedAttributeToDeclarative.ts
|
|
135584
|
-
/**
|
|
135585
|
-
* A computed attribute is textual for now: the backend does not transfer the value type from
|
|
135586
|
-
* metadata yet, so every computed attribute is interpreted as a STRING/TEXT one. The YAML shape
|
|
135587
|
-
* therefore does not expose dataType/valueType and the defaults are filled in here.
|
|
135588
|
-
*/
|
|
135589
|
-
const DEFAULT_DATA_TYPE = "STRING";
|
|
135590
|
-
const DEFAULT_VALUE_TYPE = "TEXT";
|
|
135591
135637
|
/** @public */
|
|
135592
135638
|
function yamlComputedAttributeToDeclarative(input) {
|
|
135593
135639
|
const output = {
|
|
@@ -135595,10 +135641,15 @@ function yamlComputedAttributeToDeclarative(input) {
|
|
|
135595
135641
|
title: input.title ?? convertIdToTitle$1(input.id),
|
|
135596
135642
|
description: input.description ?? "",
|
|
135597
135643
|
tags: input.tags ?? [],
|
|
135598
|
-
content: { maql: input.maql }
|
|
135599
|
-
|
|
135600
|
-
|
|
135601
|
-
|
|
135644
|
+
content: { maql: input.maql }
|
|
135645
|
+
};
|
|
135646
|
+
if (input.format !== void 0) output.content.format = input.format;
|
|
135647
|
+
if (input.metric_type !== void 0) output.content.metricType = input.metric_type;
|
|
135648
|
+
if (input.data_type !== void 0) output.dataType = input.data_type;
|
|
135649
|
+
if (input.value_type !== void 0) output.valueType = input.value_type;
|
|
135650
|
+
if (input.is_nullable !== void 0) output.isNullable = input.is_nullable;
|
|
135651
|
+
if (input.null_value_join_replacement !== void 0) output.nullValue = input.null_value_join_replacement;
|
|
135652
|
+
if (input.show_in_ai_results !== void 0) output.isHidden = input.show_in_ai_results === false;
|
|
135602
135653
|
if (input.locale !== void 0) output.locale = input.locale;
|
|
135603
135654
|
return output;
|
|
135604
135655
|
}
|
|
@@ -135655,10 +135706,20 @@ function addInPath(base, path, newValue) {
|
|
|
135655
135706
|
const SupportedReferenceTypes = [
|
|
135656
135707
|
"fact",
|
|
135657
135708
|
"label",
|
|
135709
|
+
"computed_attribute",
|
|
135658
135710
|
"metric",
|
|
135659
135711
|
"dataset",
|
|
135660
135712
|
"attribute"
|
|
135661
135713
|
];
|
|
135714
|
+
/**
|
|
135715
|
+
* Reference prefixes that stand for an attribute-like object a query field, an attribute filter
|
|
135716
|
+
* or a drill can use. A computed attribute behaves as a label with computed values.
|
|
135717
|
+
*/
|
|
135718
|
+
const AttributeLikeReferenceTypes = [
|
|
135719
|
+
"attribute",
|
|
135720
|
+
"label",
|
|
135721
|
+
"computed_attribute"
|
|
135722
|
+
];
|
|
135662
135723
|
function parseReferenceObject(obj) {
|
|
135663
135724
|
const [t, identifier] = obj?.split("/") ?? [];
|
|
135664
135725
|
const type = t;
|
|
@@ -135676,14 +135737,16 @@ function isAttribute(obj) {
|
|
|
135676
135737
|
function isAttributeField(obj) {
|
|
135677
135738
|
if (typeof obj === "object" && obj && "using" in obj && typeof obj.using === "string" && !("aggregation" in obj)) {
|
|
135678
135739
|
const id = parseReferenceObject(obj.using);
|
|
135679
|
-
return Boolean(id && [
|
|
135680
|
-
"attribute",
|
|
135681
|
-
"label",
|
|
135682
|
-
"fact"
|
|
135683
|
-
].includes(id.type));
|
|
135740
|
+
return Boolean(id && [...AttributeLikeReferenceTypes, "fact"].includes(id.type));
|
|
135684
135741
|
}
|
|
135685
135742
|
return false;
|
|
135686
135743
|
}
|
|
135744
|
+
/**
|
|
135745
|
+
* Whether the reference names a computed attribute (`computed_attribute/{id}`).
|
|
135746
|
+
*/
|
|
135747
|
+
function isComputedAttributeReference(reference) {
|
|
135748
|
+
return parseReferenceObject(reference)?.type === "computed_attribute";
|
|
135749
|
+
}
|
|
135687
135750
|
function isInlineMetricField(obj) {
|
|
135688
135751
|
return typeof obj === "object" && obj !== null && "maql" in obj && typeof obj.maql === "string";
|
|
135689
135752
|
}
|
|
@@ -135731,7 +135794,7 @@ function isAllTimeDateFilter(obj) {
|
|
|
135731
135794
|
function isAttributeFilter(obj) {
|
|
135732
135795
|
if (typeof obj === "object" && obj && "using" in obj && "type" in obj && obj.type === "attribute_filter") {
|
|
135733
135796
|
const id = parseReferenceObject(obj.using);
|
|
135734
|
-
return Boolean(id &&
|
|
135797
|
+
return Boolean(id && AttributeLikeReferenceTypes.includes(id.type));
|
|
135735
135798
|
}
|
|
135736
135799
|
return false;
|
|
135737
135800
|
}
|
|
@@ -139638,6 +139701,10 @@ function findObjectProps(entities, item) {
|
|
|
139638
139701
|
switch (item.identifier.type) {
|
|
139639
139702
|
case "attribute": return { title: items.attributes.find((attribute) => attribute.attribute.id === item.identifier.id)?.attribute.title ?? firstLetterUpperCase(convertIdToTitle$1(item.identifier.id).toLowerCase()) };
|
|
139640
139703
|
case "fact": return { title: items.facts.find((fact) => fact.fact.id === item.identifier.id)?.fact.title ?? firstLetterUpperCase(convertIdToTitle$1(item.identifier.id).toLowerCase()) };
|
|
139704
|
+
case "computedAttribute": {
|
|
139705
|
+
const found = entities.find((entity) => entity.type === "computed_attribute" && entity.id === item.identifier.id);
|
|
139706
|
+
return { title: (found ? found.data.title : void 0) ?? firstLetterUpperCase(convertIdToTitle$1(item.identifier.id).toLowerCase()) };
|
|
139707
|
+
}
|
|
139641
139708
|
case "label":
|
|
139642
139709
|
case "metric": return { title: items.labels.find((label) => label.id === item.identifier.id)?.title ?? firstLetterUpperCase(convertIdToTitle$1(item.identifier.id).toLowerCase()) };
|
|
139643
139710
|
}
|
|
@@ -141057,7 +141124,7 @@ function sourceInsightFilterIdToDeclarative(filterId, sourceVisualizationFilters
|
|
|
141057
141124
|
}
|
|
141058
141125
|
function yamlIgnoredFilterToDeclarative(input) {
|
|
141059
141126
|
const ref = parseReferenceObject(input);
|
|
141060
|
-
if (ref?.type === "label") return {
|
|
141127
|
+
if (ref?.type === "label" || ref?.type === "computed_attribute") return {
|
|
141061
141128
|
type: "attributeFilterReference",
|
|
141062
141129
|
displayForm: createIdentifier(input)
|
|
141063
141130
|
};
|
|
@@ -141620,6 +141687,9 @@ function declarativeParameterToYaml(parameter) {
|
|
|
141620
141687
|
};
|
|
141621
141688
|
}
|
|
141622
141689
|
function declarativeParameterDefinitionToYaml(definition) {
|
|
141690
|
+
return definition.type === "NUMBER" ? declarativeNumberDefinitionToYaml(definition) : declarativeStringDefinitionToYaml(definition);
|
|
141691
|
+
}
|
|
141692
|
+
function declarativeStringDefinitionToYaml(definition) {
|
|
141623
141693
|
const { minLength, maxLength, allowedValues } = definition.constraints ?? {};
|
|
141624
141694
|
const [first, ...rest] = allowedValues ?? [];
|
|
141625
141695
|
return {
|
|
@@ -141632,6 +141702,17 @@ function declarativeParameterDefinitionToYaml(definition) {
|
|
|
141632
141702
|
})
|
|
141633
141703
|
};
|
|
141634
141704
|
}
|
|
141705
|
+
function declarativeNumberDefinitionToYaml(definition) {
|
|
141706
|
+
const { min, max } = definition.constraints ?? {};
|
|
141707
|
+
return {
|
|
141708
|
+
type: "NUMBER",
|
|
141709
|
+
defaultValue: definition.defaultValue,
|
|
141710
|
+
...optionalConstraints({
|
|
141711
|
+
min,
|
|
141712
|
+
max
|
|
141713
|
+
})
|
|
141714
|
+
};
|
|
141715
|
+
}
|
|
141635
141716
|
//#endregion
|
|
141636
141717
|
//#region ../../../sdk/libs/sdk-code-convertors/src/from/declarativeComputedAttributeToYaml.ts
|
|
141637
141718
|
/** @public */
|
|
@@ -141643,6 +141724,13 @@ function declarativeComputedAttributeToYaml(computedAttribute) {
|
|
|
141643
141724
|
doc.commentBefore = COMPUTED_ATTRIBUTE_COMMENT;
|
|
141644
141725
|
fillOptionalMetaFields(doc, computedAttribute);
|
|
141645
141726
|
doc.add(entryWithSpace("maql", computedAttribute.content.maql ?? ""));
|
|
141727
|
+
if (computedAttribute.content.format) doc.add(doc.createPair("format", computedAttribute.content.format));
|
|
141728
|
+
if (computedAttribute.content.metricType) doc.add(doc.createPair("metric_type", computedAttribute.content.metricType));
|
|
141729
|
+
if (computedAttribute.dataType) doc.add(doc.createPair("data_type", computedAttribute.dataType));
|
|
141730
|
+
if (computedAttribute.valueType) doc.add(doc.createPair("value_type", computedAttribute.valueType));
|
|
141731
|
+
if (computedAttribute.isNullable !== void 0) doc.add(doc.createPair("is_nullable", computedAttribute.isNullable));
|
|
141732
|
+
if (computedAttribute.nullValue !== void 0) doc.add(doc.createPair("null_value_join_replacement", computedAttribute.nullValue));
|
|
141733
|
+
if (computedAttribute.isHidden === true) doc.add(doc.createPair("show_in_ai_results", false));
|
|
141646
141734
|
if (computedAttribute.locale) doc.add(doc.createPair("locale", computedAttribute.locale));
|
|
141647
141735
|
return {
|
|
141648
141736
|
content: doc.toString({ lineWidth: 0 }),
|
|
@@ -143510,7 +143598,7 @@ function buildExecution(entities, query) {
|
|
|
143510
143598
|
const fieldDef = getFullField$1(fields[field]);
|
|
143511
143599
|
if (isAttributeField(fieldDef)) return {
|
|
143512
143600
|
localIdentifier: field,
|
|
143513
|
-
label: createIdentifier(fieldDef.using, { forceType: "label" }),
|
|
143601
|
+
label: isComputedAttributeReference(fieldDef.using) ? createIdentifier(fieldDef.using) : createIdentifier(fieldDef.using, { forceType: "label" }),
|
|
143514
143602
|
showAllValues: fieldDef.show_all_values
|
|
143515
143603
|
};
|
|
143516
143604
|
return null;
|
|
@@ -143794,8 +143882,8 @@ const SupportedUrlTargetPlaceholders = [
|
|
|
143794
143882
|
"workspace_id"
|
|
143795
143883
|
];
|
|
143796
143884
|
const SupportFilterPlaceholders = ["dash_attribute_filter_selection", "attribute_filter_selection"];
|
|
143797
|
-
new RegExp(`\\{((?:${
|
|
143798
|
-
const referenceAndPlaceholdersRegex = new RegExp(`\\{((?:${
|
|
143885
|
+
new RegExp(`\\{((?:${SupportedCustomUrlReferenceTypes.join("|")})\\/(?!\\.)[.A-Za-z0-9_-]{1,255})\\}`);
|
|
143886
|
+
const referenceAndPlaceholdersRegex = new RegExp(`\\{((?:${SupportedCustomUrlReferenceTypes.join("|")})\\/(?!\\.)[.A-Za-z0-9_-]{1,255}|(?:${SupportedUrlTargetPlaceholders.join("|")})|(?:${SupportFilterPlaceholders.join("|")})\\((?!\\.)[.A-Za-z0-9_-]{1,255}\\))\\}`);
|
|
143799
143887
|
function loadUrlTarget(data) {
|
|
143800
143888
|
const parsed = data.split(referenceAndPlaceholdersRegex);
|
|
143801
143889
|
const result = [];
|
|
@@ -145212,7 +145300,7 @@ function resolveCurrentInsightWidgetQueryFieldAttribute(references, widget, type
|
|
|
145212
145300
|
visualisation: visualisation.id
|
|
145213
145301
|
};
|
|
145214
145302
|
if (!isDateAttribute && types.includes("attribute")) return {
|
|
145215
|
-
id: attributesMap[field.using],
|
|
145303
|
+
id: attributesMap[field.using] ?? field.using,
|
|
145216
145304
|
..."title" in field ? { title: field.title } : {},
|
|
145217
145305
|
..."alias" in field ? { title: field.alias } : {},
|
|
145218
145306
|
visualisation: visualisation.id
|
|
@@ -147501,9 +147589,59 @@ const metadata_v1 = {
|
|
|
147501
147589
|
"description": "Define MAQL syntax for the computed attribute. Values are assigned with break points written as CASE WHEN branches over a metric, and the first matching branch wins.",
|
|
147502
147590
|
"$semantic": { "type": "maql" }
|
|
147503
147591
|
},
|
|
147504
|
-
"
|
|
147592
|
+
"format": {
|
|
147593
|
+
"type": "string",
|
|
147594
|
+
"description": "An optional Excel-like format string applied to the computed values."
|
|
147595
|
+
},
|
|
147596
|
+
"metric_type": {
|
|
147505
147597
|
"type": "string",
|
|
147506
|
-
"
|
|
147598
|
+
"enum": ["UNSPECIFIED", "CURRENCY"],
|
|
147599
|
+
"description": "An optional categorization of the computed values semantics, for example currency."
|
|
147600
|
+
},
|
|
147601
|
+
"data_type": {
|
|
147602
|
+
"type": "string",
|
|
147603
|
+
"enum": [
|
|
147604
|
+
"INT",
|
|
147605
|
+
"STRING",
|
|
147606
|
+
"DATE",
|
|
147607
|
+
"NUMERIC",
|
|
147608
|
+
"TIMESTAMP",
|
|
147609
|
+
"TIMESTAMP_TZ",
|
|
147610
|
+
"BOOLEAN",
|
|
147611
|
+
"HLL"
|
|
147612
|
+
],
|
|
147613
|
+
"description": "An optional data type of the computed values. Defaults to STRING on the backend."
|
|
147614
|
+
},
|
|
147615
|
+
"value_type": {
|
|
147616
|
+
"type": "string",
|
|
147617
|
+
"enum": [
|
|
147618
|
+
"TEXT",
|
|
147619
|
+
"HYPERLINK",
|
|
147620
|
+
"GEO",
|
|
147621
|
+
"GEO_LONGITUDE",
|
|
147622
|
+
"GEO_LATITUDE",
|
|
147623
|
+
"GEO_AREA",
|
|
147624
|
+
"GEO_ICON",
|
|
147625
|
+
"IMAGE",
|
|
147626
|
+
"HYPERLOGLOG"
|
|
147627
|
+
],
|
|
147628
|
+
"description": "An optional specific type of the computed values. Defaults to TEXT on the backend."
|
|
147629
|
+
},
|
|
147630
|
+
"is_nullable": {
|
|
147631
|
+
"type": "boolean",
|
|
147632
|
+
"description": "Optional flag to indicate if the computed attribute can contain null values."
|
|
147633
|
+
},
|
|
147634
|
+
"null_value_join_replacement": {
|
|
147635
|
+
"type": "string",
|
|
147636
|
+
"description": "Optional value which can be used as replacement for NULL in join conditions."
|
|
147637
|
+
},
|
|
147638
|
+
"show_in_ai_results": {
|
|
147639
|
+
"type": "boolean",
|
|
147640
|
+
"description": "Optional flag to indicate if the computed attribute should be shown in AI results. When omitted, the computed attribute is visible."
|
|
147641
|
+
},
|
|
147642
|
+
"locale": {
|
|
147643
|
+
"$ref": "#/$global/gaac/locale",
|
|
147644
|
+
"description": "An optional locale in BCP 47 format (for example en-US) whose collation order the computed values are sorted by."
|
|
147507
147645
|
}
|
|
147508
147646
|
},
|
|
147509
147647
|
"$semantic": {
|
|
@@ -149781,6 +149919,12 @@ const metadata_v1 = {
|
|
|
149781
149919
|
"typePrefix": true
|
|
149782
149920
|
}
|
|
149783
149921
|
},
|
|
149922
|
+
"locale": {
|
|
149923
|
+
"title": "Locale",
|
|
149924
|
+
"type": "string",
|
|
149925
|
+
"pattern": "^[a-zA-Z]{2,3}(-[a-zA-Z0-9]{1,8})*$",
|
|
149926
|
+
"description": "Locale string in BCP 47 format (for example en-US or cs-CZ-u-kn-true)."
|
|
149927
|
+
},
|
|
149784
149928
|
"dashboardFilters": {
|
|
149785
149929
|
"title": "Dashboard Filters",
|
|
149786
149930
|
"type": "object",
|
|
@@ -149861,6 +150005,17 @@ const metadata_v1 = {
|
|
|
149861
150005
|
"typePrefix": true
|
|
149862
150006
|
}
|
|
149863
150007
|
},
|
|
150008
|
+
"computedAttributeIdentifier": {
|
|
150009
|
+
"title": "Computed Attribute Identifier",
|
|
150010
|
+
"description": "A computed attribute identifier in the form of computed_attribute/{id}.",
|
|
150011
|
+
"type": "string",
|
|
150012
|
+
"pattern": "^computed_attribute/(?!\\.)[.A-Za-z0-9_-]{1,255}$",
|
|
150013
|
+
"$semantic": {
|
|
150014
|
+
"type": "reference",
|
|
150015
|
+
"source": "computedAttribute.id",
|
|
150016
|
+
"typePrefix": true
|
|
150017
|
+
}
|
|
150018
|
+
},
|
|
149864
150019
|
"queryFilters": {
|
|
149865
150020
|
"title": "Query Filters",
|
|
149866
150021
|
"type": "object",
|
|
@@ -150606,6 +150761,17 @@ const metadata_v1 = {
|
|
|
150606
150761
|
"typePrefix": true
|
|
150607
150762
|
}
|
|
150608
150763
|
},
|
|
150764
|
+
"computedAttributeIdentifier": {
|
|
150765
|
+
"title": "Computed Attribute Identifier",
|
|
150766
|
+
"description": "A computed attribute identifier in the form of computed_attribute/{id}.",
|
|
150767
|
+
"type": "string",
|
|
150768
|
+
"pattern": "^computed_attribute/(?!\\.)[.A-Za-z0-9_-]{1,255}$",
|
|
150769
|
+
"$semantic": {
|
|
150770
|
+
"type": "reference",
|
|
150771
|
+
"source": "computedAttribute.id",
|
|
150772
|
+
"typePrefix": true
|
|
150773
|
+
}
|
|
150774
|
+
},
|
|
150609
150775
|
"displayAsLabelIdentifier": {
|
|
150610
150776
|
"title": "Display As Label Identifier",
|
|
150611
150777
|
"description": "Configures the label used for representing attribute filter elements in UI.",
|
|
@@ -150831,7 +150997,11 @@ const metadata_v1 = {
|
|
|
150831
150997
|
},
|
|
150832
150998
|
"using": {
|
|
150833
150999
|
"description": "Attribute or label to use in this filter.",
|
|
150834
|
-
"oneOf": [
|
|
151000
|
+
"oneOf": [
|
|
151001
|
+
{ "$ref": "#/$defs/attributeIdentifier" },
|
|
151002
|
+
{ "$ref": "#/$defs/labelIdentifier" },
|
|
151003
|
+
{ "$ref": "#/$defs/computedAttributeIdentifier" }
|
|
151004
|
+
],
|
|
150835
151005
|
"$semantic": { "type": "one_attribute_item_only" }
|
|
150836
151006
|
},
|
|
150837
151007
|
"multiselect": {
|
|
@@ -150919,7 +151089,11 @@ const metadata_v1 = {
|
|
|
150919
151089
|
},
|
|
150920
151090
|
"using": {
|
|
150921
151091
|
"description": "Attribute or label to use in this filter.",
|
|
150922
|
-
"oneOf": [
|
|
151092
|
+
"oneOf": [
|
|
151093
|
+
{ "$ref": "#/$defs/attributeIdentifier" },
|
|
151094
|
+
{ "$ref": "#/$defs/labelIdentifier" },
|
|
151095
|
+
{ "$ref": "#/$defs/computedAttributeIdentifier" }
|
|
151096
|
+
]
|
|
150923
151097
|
},
|
|
150924
151098
|
"multiselect": {
|
|
150925
151099
|
"type": "boolean",
|
|
@@ -151019,7 +151193,11 @@ const metadata_v1 = {
|
|
|
151019
151193
|
},
|
|
151020
151194
|
"using": {
|
|
151021
151195
|
"description": "Attribute or label to use in this filter.",
|
|
151022
|
-
"oneOf": [
|
|
151196
|
+
"oneOf": [
|
|
151197
|
+
{ "$ref": "#/$defs/attributeIdentifier" },
|
|
151198
|
+
{ "$ref": "#/$defs/labelIdentifier" },
|
|
151199
|
+
{ "$ref": "#/$defs/computedAttributeIdentifier" }
|
|
151200
|
+
]
|
|
151023
151201
|
},
|
|
151024
151202
|
"multiselect": {
|
|
151025
151203
|
"type": "boolean",
|
|
@@ -151127,7 +151305,11 @@ const metadata_v1 = {
|
|
|
151127
151305
|
},
|
|
151128
151306
|
"using": {
|
|
151129
151307
|
"description": "Attribute or label to use in this filter.",
|
|
151130
|
-
"oneOf": [
|
|
151308
|
+
"oneOf": [
|
|
151309
|
+
{ "$ref": "#/$defs/attributeIdentifier" },
|
|
151310
|
+
{ "$ref": "#/$defs/labelIdentifier" },
|
|
151311
|
+
{ "$ref": "#/$defs/computedAttributeIdentifier" }
|
|
151312
|
+
],
|
|
151131
151313
|
"$semantic": { "type": "one_attribute_item_only" }
|
|
151132
151314
|
},
|
|
151133
151315
|
"case_sensitive": { "type": "boolean" },
|
|
@@ -151229,7 +151411,11 @@ const metadata_v1 = {
|
|
|
151229
151411
|
},
|
|
151230
151412
|
"using": {
|
|
151231
151413
|
"description": "Attribute or label to use in this filter.",
|
|
151232
|
-
"oneOf": [
|
|
151414
|
+
"oneOf": [
|
|
151415
|
+
{ "$ref": "#/$defs/attributeIdentifier" },
|
|
151416
|
+
{ "$ref": "#/$defs/labelIdentifier" },
|
|
151417
|
+
{ "$ref": "#/$defs/computedAttributeIdentifier" }
|
|
151418
|
+
],
|
|
151233
151419
|
"$semantic": { "type": "one_attribute_item_only" }
|
|
151234
151420
|
},
|
|
151235
151421
|
"condition": { "enum": ["is", "isNot"] },
|
|
@@ -151342,7 +151528,11 @@ const metadata_v1 = {
|
|
|
151342
151528
|
},
|
|
151343
151529
|
"using": {
|
|
151344
151530
|
"description": "Attribute or label to use in this filter.",
|
|
151345
|
-
"oneOf": [
|
|
151531
|
+
"oneOf": [
|
|
151532
|
+
{ "$ref": "#/$defs/attributeIdentifier" },
|
|
151533
|
+
{ "$ref": "#/$defs/labelIdentifier" },
|
|
151534
|
+
{ "$ref": "#/$defs/computedAttributeIdentifier" }
|
|
151535
|
+
],
|
|
151346
151536
|
"$semantic": { "type": "one_attribute_item_only" }
|
|
151347
151537
|
},
|
|
151348
151538
|
"condition": { "enum": [
|
|
@@ -151421,8 +151611,8 @@ const metadata_v1 = {
|
|
|
151421
151611
|
},
|
|
151422
151612
|
"dimensionality": {
|
|
151423
151613
|
"type": "array",
|
|
151424
|
-
"description": "Optional array of label references to apply dimensionality to the filter.",
|
|
151425
|
-
"items": { "$ref": "#/$defs/labelIdentifier" }
|
|
151614
|
+
"description": "Optional array of label or computed attribute references to apply dimensionality to the filter.",
|
|
151615
|
+
"items": { "oneOf": [{ "$ref": "#/$defs/labelIdentifier" }, { "$ref": "#/$defs/computedAttributeIdentifier" }] }
|
|
151426
151616
|
},
|
|
151427
151617
|
"null_values_as_zero": {
|
|
151428
151618
|
"type": "boolean",
|
|
@@ -151909,7 +152099,11 @@ const metadata_v1 = {
|
|
|
151909
152099
|
},
|
|
151910
152100
|
"using": {
|
|
151911
152101
|
"description": "Attribute or label to use in this filter.",
|
|
151912
|
-
"oneOf": [
|
|
152102
|
+
"oneOf": [
|
|
152103
|
+
{ "$ref": "#/$defs/attributeIdentifier" },
|
|
152104
|
+
{ "$ref": "#/$defs/labelIdentifier" },
|
|
152105
|
+
{ "$ref": "#/$defs/computedAttributeIdentifier" }
|
|
152106
|
+
]
|
|
151913
152107
|
},
|
|
151914
152108
|
"display_as": {
|
|
151915
152109
|
"type": "string",
|
|
@@ -151973,7 +152167,11 @@ const metadata_v1 = {
|
|
|
151973
152167
|
},
|
|
151974
152168
|
"using": {
|
|
151975
152169
|
"description": "Attribute or label to use in this filter.",
|
|
151976
|
-
"oneOf": [
|
|
152170
|
+
"oneOf": [
|
|
152171
|
+
{ "$ref": "#/$defs/attributeIdentifier" },
|
|
152172
|
+
{ "$ref": "#/$defs/labelIdentifier" },
|
|
152173
|
+
{ "$ref": "#/$defs/computedAttributeIdentifier" }
|
|
152174
|
+
]
|
|
151977
152175
|
},
|
|
151978
152176
|
"case_sensitive": { "type": "boolean" },
|
|
151979
152177
|
"display_as": {
|
|
@@ -151990,7 +152188,11 @@ const metadata_v1 = {
|
|
|
151990
152188
|
},
|
|
151991
152189
|
"using": {
|
|
151992
152190
|
"description": "Attribute or label to use in this filter.",
|
|
151993
|
-
"oneOf": [
|
|
152191
|
+
"oneOf": [
|
|
152192
|
+
{ "$ref": "#/$defs/attributeIdentifier" },
|
|
152193
|
+
{ "$ref": "#/$defs/labelIdentifier" },
|
|
152194
|
+
{ "$ref": "#/$defs/computedAttributeIdentifier" }
|
|
152195
|
+
]
|
|
151994
152196
|
},
|
|
151995
152197
|
"condition": { "enum": ["is", "isNot"] },
|
|
151996
152198
|
"values": {
|
|
@@ -152018,7 +152220,11 @@ const metadata_v1 = {
|
|
|
152018
152220
|
},
|
|
152019
152221
|
"using": {
|
|
152020
152222
|
"description": "Attribute or label to use in this filter.",
|
|
152021
|
-
"oneOf": [
|
|
152223
|
+
"oneOf": [
|
|
152224
|
+
{ "$ref": "#/$defs/attributeIdentifier" },
|
|
152225
|
+
{ "$ref": "#/$defs/labelIdentifier" },
|
|
152226
|
+
{ "$ref": "#/$defs/computedAttributeIdentifier" }
|
|
152227
|
+
]
|
|
152022
152228
|
},
|
|
152023
152229
|
"condition": { "enum": [
|
|
152024
152230
|
"contains",
|
|
@@ -152122,13 +152328,17 @@ const metadata_v1 = {
|
|
|
152122
152328
|
"dimensionality": {
|
|
152123
152329
|
"type": "array",
|
|
152124
152330
|
"description": "Optional array of attribute or label references or local identifiers to apply dimensionality to the filter.",
|
|
152125
|
-
"items": { "oneOf": [
|
|
152126
|
-
"
|
|
152127
|
-
"$
|
|
152128
|
-
|
|
152129
|
-
"
|
|
152331
|
+
"items": { "oneOf": [
|
|
152332
|
+
{ "$ref": "#/$defs/labelIdentifier" },
|
|
152333
|
+
{ "$ref": "#/$defs/computedAttributeIdentifier" },
|
|
152334
|
+
{
|
|
152335
|
+
"type": "string",
|
|
152336
|
+
"$semantic": {
|
|
152337
|
+
"type": "reference",
|
|
152338
|
+
"sources": ["current.query.attribute.localId"]
|
|
152339
|
+
}
|
|
152130
152340
|
}
|
|
152131
|
-
|
|
152341
|
+
] }
|
|
152132
152342
|
}
|
|
152133
152343
|
},
|
|
152134
152344
|
"required": [
|
|
@@ -152191,13 +152401,17 @@ const metadata_v1 = {
|
|
|
152191
152401
|
"dimensionality": {
|
|
152192
152402
|
"type": "array",
|
|
152193
152403
|
"description": "Optional array of attribute or label references or local identifiers to apply dimensionality to the filter.",
|
|
152194
|
-
"items": { "oneOf": [
|
|
152195
|
-
"
|
|
152196
|
-
"$
|
|
152197
|
-
|
|
152198
|
-
"
|
|
152404
|
+
"items": { "oneOf": [
|
|
152405
|
+
{ "$ref": "#/$defs/labelIdentifier" },
|
|
152406
|
+
{ "$ref": "#/$defs/computedAttributeIdentifier" },
|
|
152407
|
+
{
|
|
152408
|
+
"type": "string",
|
|
152409
|
+
"$semantic": {
|
|
152410
|
+
"type": "reference",
|
|
152411
|
+
"sources": ["current.query.attribute.localId"]
|
|
152412
|
+
}
|
|
152199
152413
|
}
|
|
152200
|
-
|
|
152414
|
+
] }
|
|
152201
152415
|
}
|
|
152202
152416
|
},
|
|
152203
152417
|
"required": [
|
|
@@ -152251,13 +152465,17 @@ const metadata_v1 = {
|
|
|
152251
152465
|
"dimensionality": {
|
|
152252
152466
|
"type": "array",
|
|
152253
152467
|
"description": "Optional array of attribute or label references or local identifiers to apply dimensionality to the filter.",
|
|
152254
|
-
"items": { "oneOf": [
|
|
152255
|
-
"
|
|
152256
|
-
"$
|
|
152257
|
-
|
|
152258
|
-
"
|
|
152468
|
+
"items": { "oneOf": [
|
|
152469
|
+
{ "$ref": "#/$defs/labelIdentifier" },
|
|
152470
|
+
{ "$ref": "#/$defs/computedAttributeIdentifier" },
|
|
152471
|
+
{
|
|
152472
|
+
"type": "string",
|
|
152473
|
+
"$semantic": {
|
|
152474
|
+
"type": "reference",
|
|
152475
|
+
"sources": ["current.query.attribute.localId"]
|
|
152476
|
+
}
|
|
152259
152477
|
}
|
|
152260
|
-
|
|
152478
|
+
] }
|
|
152261
152479
|
}
|
|
152262
152480
|
},
|
|
152263
152481
|
"required": [
|
|
@@ -152298,13 +152516,17 @@ const metadata_v1 = {
|
|
|
152298
152516
|
"dimensionality": {
|
|
152299
152517
|
"type": "array",
|
|
152300
152518
|
"description": "Optional array of attribute or label references or local identifiers to apply dimensionality to the filter.",
|
|
152301
|
-
"items": { "oneOf": [
|
|
152302
|
-
"
|
|
152303
|
-
"$
|
|
152304
|
-
|
|
152305
|
-
"
|
|
152519
|
+
"items": { "oneOf": [
|
|
152520
|
+
{ "$ref": "#/$defs/labelIdentifier" },
|
|
152521
|
+
{ "$ref": "#/$defs/computedAttributeIdentifier" },
|
|
152522
|
+
{
|
|
152523
|
+
"type": "string",
|
|
152524
|
+
"$semantic": {
|
|
152525
|
+
"type": "reference",
|
|
152526
|
+
"sources": ["current.query.attribute.localId"]
|
|
152527
|
+
}
|
|
152306
152528
|
}
|
|
152307
|
-
|
|
152529
|
+
] }
|
|
152308
152530
|
}
|
|
152309
152531
|
},
|
|
152310
152532
|
"required": ["type", "using"]
|
|
@@ -152339,13 +152561,17 @@ const metadata_v1 = {
|
|
|
152339
152561
|
},
|
|
152340
152562
|
"attribute": {
|
|
152341
152563
|
"description": "Label reference or local identifier to use for this filter.",
|
|
152342
|
-
"oneOf": [
|
|
152343
|
-
"
|
|
152344
|
-
"$
|
|
152345
|
-
|
|
152346
|
-
"
|
|
152564
|
+
"oneOf": [
|
|
152565
|
+
{ "$ref": "#/$defs/labelIdentifier" },
|
|
152566
|
+
{ "$ref": "#/$defs/computedAttributeIdentifier" },
|
|
152567
|
+
{
|
|
152568
|
+
"type": "string",
|
|
152569
|
+
"$semantic": {
|
|
152570
|
+
"type": "reference",
|
|
152571
|
+
"source": "current.query.attribute.localId"
|
|
152572
|
+
}
|
|
152347
152573
|
}
|
|
152348
|
-
|
|
152574
|
+
]
|
|
152349
152575
|
},
|
|
152350
152576
|
"bottom": {
|
|
152351
152577
|
"type": "number",
|
|
@@ -152420,9 +152646,59 @@ const metadata_v1 = {
|
|
|
152420
152646
|
"description": "Define MAQL syntax for the computed attribute. Values are assigned with break points written as CASE WHEN branches over a metric, and the first matching branch wins.",
|
|
152421
152647
|
"$semantic": { "type": "maql" }
|
|
152422
152648
|
},
|
|
152423
|
-
"
|
|
152649
|
+
"format": {
|
|
152650
|
+
"type": "string",
|
|
152651
|
+
"description": "An optional Excel-like format string applied to the computed values."
|
|
152652
|
+
},
|
|
152653
|
+
"metric_type": {
|
|
152654
|
+
"type": "string",
|
|
152655
|
+
"enum": ["UNSPECIFIED", "CURRENCY"],
|
|
152656
|
+
"description": "An optional categorization of the computed values semantics, for example currency."
|
|
152657
|
+
},
|
|
152658
|
+
"data_type": {
|
|
152424
152659
|
"type": "string",
|
|
152425
|
-
"
|
|
152660
|
+
"enum": [
|
|
152661
|
+
"INT",
|
|
152662
|
+
"STRING",
|
|
152663
|
+
"DATE",
|
|
152664
|
+
"NUMERIC",
|
|
152665
|
+
"TIMESTAMP",
|
|
152666
|
+
"TIMESTAMP_TZ",
|
|
152667
|
+
"BOOLEAN",
|
|
152668
|
+
"HLL"
|
|
152669
|
+
],
|
|
152670
|
+
"description": "An optional data type of the computed values. Defaults to STRING on the backend."
|
|
152671
|
+
},
|
|
152672
|
+
"value_type": {
|
|
152673
|
+
"type": "string",
|
|
152674
|
+
"enum": [
|
|
152675
|
+
"TEXT",
|
|
152676
|
+
"HYPERLINK",
|
|
152677
|
+
"GEO",
|
|
152678
|
+
"GEO_LONGITUDE",
|
|
152679
|
+
"GEO_LATITUDE",
|
|
152680
|
+
"GEO_AREA",
|
|
152681
|
+
"GEO_ICON",
|
|
152682
|
+
"IMAGE",
|
|
152683
|
+
"HYPERLOGLOG"
|
|
152684
|
+
],
|
|
152685
|
+
"description": "An optional specific type of the computed values. Defaults to TEXT on the backend."
|
|
152686
|
+
},
|
|
152687
|
+
"is_nullable": {
|
|
152688
|
+
"type": "boolean",
|
|
152689
|
+
"description": "Optional flag to indicate if the computed attribute can contain null values."
|
|
152690
|
+
},
|
|
152691
|
+
"null_value_join_replacement": {
|
|
152692
|
+
"type": "string",
|
|
152693
|
+
"description": "Optional value which can be used as replacement for NULL in join conditions."
|
|
152694
|
+
},
|
|
152695
|
+
"show_in_ai_results": {
|
|
152696
|
+
"type": "boolean",
|
|
152697
|
+
"description": "Optional flag to indicate if the computed attribute should be shown in AI results. When omitted, the computed attribute is visible."
|
|
152698
|
+
},
|
|
152699
|
+
"locale": {
|
|
152700
|
+
"$ref": "#/$global/gaac/locale",
|
|
152701
|
+
"description": "An optional locale in BCP 47 format (for example en-US) whose collation order the computed values are sorted by."
|
|
152426
152702
|
}
|
|
152427
152703
|
},
|
|
152428
152704
|
"$semantic": {
|
|
@@ -153222,13 +153498,14 @@ const metadata_v1 = {
|
|
|
153222
153498
|
"description": "A list of dashboard filters to be ignored for this widget",
|
|
153223
153499
|
"items": {
|
|
153224
153500
|
"type": "string",
|
|
153225
|
-
"description": "An id of the dashboard label, attribute, metric or date to be ignored",
|
|
153501
|
+
"description": "An id of the dashboard label, attribute, computed attribute, metric or date to be ignored",
|
|
153226
153502
|
"$semantic": {
|
|
153227
153503
|
"type": "reference",
|
|
153228
153504
|
"sources": [
|
|
153229
153505
|
"dateDataset.id",
|
|
153230
153506
|
"attribute.id",
|
|
153231
153507
|
"label.id",
|
|
153508
|
+
"computedAttribute.id",
|
|
153232
153509
|
"metric.id"
|
|
153233
153510
|
],
|
|
153234
153511
|
"typePrefix": true
|
|
@@ -153282,11 +153559,19 @@ const metadata_v1 = {
|
|
|
153282
153559
|
"properties": {
|
|
153283
153560
|
"href": {
|
|
153284
153561
|
"description": "An ID of the attribute that holds the url to be opened on interaction",
|
|
153285
|
-
"oneOf": [
|
|
153562
|
+
"oneOf": [
|
|
153563
|
+
{ "$ref": "#/$global/gaac/attributeIdentifier" },
|
|
153564
|
+
{ "$ref": "#/$global/gaac/labelIdentifier" },
|
|
153565
|
+
{ "$ref": "#/$global/gaac/computedAttributeIdentifier" }
|
|
153566
|
+
]
|
|
153286
153567
|
},
|
|
153287
153568
|
"label": {
|
|
153288
153569
|
"description": "An id of the attribute that holds the label for the url to be opened on interaction",
|
|
153289
|
-
"oneOf": [
|
|
153570
|
+
"oneOf": [
|
|
153571
|
+
{ "$ref": "#/$global/gaac/attributeIdentifier" },
|
|
153572
|
+
{ "$ref": "#/$global/gaac/labelIdentifier" },
|
|
153573
|
+
{ "$ref": "#/$global/gaac/computedAttributeIdentifier" }
|
|
153574
|
+
]
|
|
153290
153575
|
}
|
|
153291
153576
|
}
|
|
153292
153577
|
},
|
|
@@ -153824,7 +154109,7 @@ const metadata_v1 = {
|
|
|
153824
154109
|
"deprecated": true
|
|
153825
154110
|
},
|
|
153826
154111
|
"locale": {
|
|
153827
|
-
"$ref": "#/$
|
|
154112
|
+
"$ref": "#/$global/gaac/locale",
|
|
153828
154113
|
"description": "Locale string in BCP 47 format used for default label sorting."
|
|
153829
154114
|
},
|
|
153830
154115
|
"is_nullable": {
|
|
@@ -154009,11 +154294,6 @@ const metadata_v1 = {
|
|
|
154009
154294
|
"code": "core.reference.table.column.dataType"
|
|
154010
154295
|
}
|
|
154011
154296
|
},
|
|
154012
|
-
"locale": {
|
|
154013
|
-
"type": "string",
|
|
154014
|
-
"pattern": "^[a-zA-Z]{2,3}(-[a-zA-Z0-9]{1,8})*$",
|
|
154015
|
-
"description": "Locale string in BCP 47 format (for example en-US or cs-CZ-u-kn-true)."
|
|
154016
|
-
},
|
|
154017
154297
|
"label": {
|
|
154018
154298
|
"title": "Label",
|
|
154019
154299
|
"type": "object",
|
|
@@ -154067,7 +154347,7 @@ const metadata_v1 = {
|
|
|
154067
154347
|
"deprecated": true
|
|
154068
154348
|
},
|
|
154069
154349
|
"locale": {
|
|
154070
|
-
"$ref": "#/$
|
|
154350
|
+
"$ref": "#/$global/gaac/locale",
|
|
154071
154351
|
"description": "Locale string in BCP 47 format used for default label sorting."
|
|
154072
154352
|
},
|
|
154073
154353
|
"translations": {
|
|
@@ -154114,7 +154394,7 @@ const metadata_v1 = {
|
|
|
154114
154394
|
"description": "Column that stores the localized label values."
|
|
154115
154395
|
},
|
|
154116
154396
|
"locale": {
|
|
154117
|
-
"$ref": "#/$
|
|
154397
|
+
"$ref": "#/$global/gaac/locale",
|
|
154118
154398
|
"description": "Locale string in BCP 47 format that identifies the translation."
|
|
154119
154399
|
}
|
|
154120
154400
|
},
|
|
@@ -154269,17 +154549,23 @@ const metadata_v1 = {
|
|
|
154269
154549
|
},
|
|
154270
154550
|
"parameterDefinition": {
|
|
154271
154551
|
"title": "Parameter Definition",
|
|
154272
|
-
"description": "A typed parameter definition
|
|
154552
|
+
"description": "A typed parameter definition: textual or numeric.",
|
|
154273
154553
|
"allOf": [{
|
|
154274
154554
|
"if": {
|
|
154275
154555
|
"properties": { "type": { "const": "STRING" } },
|
|
154276
154556
|
"required": ["type"]
|
|
154277
154557
|
},
|
|
154278
154558
|
"then": { "$ref": "#/$defs/stringParameterDefinition" }
|
|
154559
|
+
}, {
|
|
154560
|
+
"if": {
|
|
154561
|
+
"properties": { "type": { "const": "NUMBER" } },
|
|
154562
|
+
"required": ["type"]
|
|
154563
|
+
},
|
|
154564
|
+
"then": { "$ref": "#/$defs/numberParameterDefinition" }
|
|
154279
154565
|
}],
|
|
154280
154566
|
"properties": { "type": {
|
|
154281
154567
|
"type": "string",
|
|
154282
|
-
"enum": ["STRING"]
|
|
154568
|
+
"enum": ["STRING", "NUMBER"]
|
|
154283
154569
|
} },
|
|
154284
154570
|
"required": ["type"]
|
|
154285
154571
|
},
|
|
@@ -154326,6 +154612,40 @@ const metadata_v1 = {
|
|
|
154326
154612
|
"required": ["type", "defaultValue"],
|
|
154327
154613
|
"$semantic": { "type": "parameter_constraints" }
|
|
154328
154614
|
},
|
|
154615
|
+
"numberParameterDefinition": {
|
|
154616
|
+
"title": "Number Parameter Definition",
|
|
154617
|
+
"description": "A numeric parameter definition. Without 'constraints' the parameter accepts any number.",
|
|
154618
|
+
"type": "object",
|
|
154619
|
+
"additionalProperties": false,
|
|
154620
|
+
"properties": {
|
|
154621
|
+
"type": {
|
|
154622
|
+
"type": "string",
|
|
154623
|
+
"enum": ["NUMBER"]
|
|
154624
|
+
},
|
|
154625
|
+
"defaultValue": {
|
|
154626
|
+
"type": "number",
|
|
154627
|
+
"description": "The value used whenever the parameter is not overridden."
|
|
154628
|
+
},
|
|
154629
|
+
"constraints": {
|
|
154630
|
+
"title": "Number Parameter Constraints",
|
|
154631
|
+
"type": "object",
|
|
154632
|
+
"additionalProperties": false,
|
|
154633
|
+
"description": "Optional bounds the parameter value must satisfy.",
|
|
154634
|
+
"properties": {
|
|
154635
|
+
"min": {
|
|
154636
|
+
"type": "number",
|
|
154637
|
+
"description": "The smallest accepted value, inclusive."
|
|
154638
|
+
},
|
|
154639
|
+
"max": {
|
|
154640
|
+
"type": "number",
|
|
154641
|
+
"description": "The largest accepted value, inclusive."
|
|
154642
|
+
}
|
|
154643
|
+
}
|
|
154644
|
+
}
|
|
154645
|
+
},
|
|
154646
|
+
"required": ["type", "defaultValue"],
|
|
154647
|
+
"$semantic": { "type": "parameter_constraints" }
|
|
154648
|
+
},
|
|
154329
154649
|
"parameterAllowedValue": {
|
|
154330
154650
|
"title": "Parameter Allowed Value",
|
|
154331
154651
|
"type": "object",
|
|
@@ -154404,6 +154724,7 @@ const metadata_v1 = {
|
|
|
154404
154724
|
"oneOf": [
|
|
154405
154725
|
{ "$ref": "#/$global/gaac/attributeIdentifier" },
|
|
154406
154726
|
{ "$ref": "#/$global/gaac/labelIdentifier" },
|
|
154727
|
+
{ "$ref": "#/$global/gaac/computedAttributeIdentifier" },
|
|
154407
154728
|
{ "$ref": "#/$global/gaac/metricIdentifier" },
|
|
154408
154729
|
{ "$ref": "#/$global/gaac/factIdentifier" },
|
|
154409
154730
|
{
|
|
@@ -154501,6 +154822,7 @@ const metadata_v1 = {
|
|
|
154501
154822
|
"oneOf": [
|
|
154502
154823
|
{ "$ref": "#/$global/gaac/attributeIdentifier" },
|
|
154503
154824
|
{ "$ref": "#/$global/gaac/labelIdentifier" },
|
|
154825
|
+
{ "$ref": "#/$global/gaac/computedAttributeIdentifier" },
|
|
154504
154826
|
{ "$ref": "#/$global/gaac/factIdentifier" }
|
|
154505
154827
|
]
|
|
154506
154828
|
}
|
|
@@ -154866,7 +155188,8 @@ const metadata_v1 = {
|
|
|
154866
155188
|
}
|
|
154867
155189
|
},
|
|
154868
155190
|
{ "$ref": "#/$global/gaac/attributeIdentifier" },
|
|
154869
|
-
{ "$ref": "#/$global/gaac/labelIdentifier" }
|
|
155191
|
+
{ "$ref": "#/$global/gaac/labelIdentifier" },
|
|
155192
|
+
{ "$ref": "#/$global/gaac/computedAttributeIdentifier" }
|
|
154870
155193
|
]
|
|
154871
155194
|
},
|
|
154872
155195
|
"direction": {
|
|
@@ -154925,7 +155248,8 @@ const metadata_v1 = {
|
|
|
154925
155248
|
}
|
|
154926
155249
|
},
|
|
154927
155250
|
{ "$ref": "#/$global/gaac/attributeIdentifier" },
|
|
154928
|
-
{ "$ref": "#/$global/gaac/labelIdentifier" }
|
|
155251
|
+
{ "$ref": "#/$global/gaac/labelIdentifier" },
|
|
155252
|
+
{ "$ref": "#/$global/gaac/computedAttributeIdentifier" }
|
|
154929
155253
|
]
|
|
154930
155254
|
},
|
|
154931
155255
|
"element": {
|
|
@@ -157473,26 +157797,43 @@ function validateYamlSemanticForParameterConstraints(schemas, schema, node) {
|
|
|
157473
157797
|
const report = (code, params) => {
|
|
157474
157798
|
currentDiagnostics.diagnostics.push(createDiagnostic$1(SchemaDiagnosticSeverity.Error, node.position, getSchemaArray(schemas, schema), code, CoreErrorMessages$1[code], params));
|
|
157475
157799
|
};
|
|
157476
|
-
|
|
157477
|
-
|
|
157478
|
-
if (minLength !== void 0 && maxLength !== void 0 && minLength > maxLength) report(CoreErrorCode.ParameterLengthRange, [String(minLength), String(maxLength)]);
|
|
157479
|
-
const declared = Array.isArray(allowedValues) ? allowedValues.filter((allowed) => typeof allowed?.value === "string") : [];
|
|
157480
|
-
for (const value of findDuplicates(declared.map((allowed) => allowed.value))) report(CoreErrorCode.ParameterDuplicateAllowedValue, [value]);
|
|
157481
|
-
const distinct = uniqueBy(declared, (allowed) => allowed.value);
|
|
157482
|
-
for (const title of findDuplicates(distinct.map((allowed) => allowed.title ?? allowed.value))) report(CoreErrorCode.ParameterDuplicateAllowedTitle, [title]);
|
|
157483
|
-
if (typeof defaultValue !== "string") return currentDiagnostics;
|
|
157484
|
-
const values = distinct.map((allowed) => allowed.value);
|
|
157485
|
-
if (values.length > 0 && !values.includes(defaultValue)) report(CoreErrorCode.ParameterDefaultNotAllowed, [defaultValue, values.join(", ")]);
|
|
157486
|
-
const tooShort = minLength !== void 0 && defaultValue.length < minLength;
|
|
157487
|
-
const tooLong = maxLength !== void 0 && defaultValue.length > maxLength;
|
|
157488
|
-
if (tooShort || tooLong) report(CoreErrorCode.ParameterDefaultOutOfBounds, [
|
|
157489
|
-
defaultValue,
|
|
157490
|
-
String(defaultValue.length),
|
|
157491
|
-
describeBounds(minLength, maxLength)
|
|
157492
|
-
]);
|
|
157800
|
+
if (definition.type === "NUMBER") validateNumberDefinition(definition, report);
|
|
157801
|
+
else validateStringDefinition(definition, report);
|
|
157493
157802
|
return currentDiagnostics;
|
|
157494
157803
|
}));
|
|
157495
157804
|
}
|
|
157805
|
+
function validateStringDefinition(definition, report) {
|
|
157806
|
+
const { defaultValue, constraints } = definition;
|
|
157807
|
+
const { minLength, maxLength, allowedValues } = constraints ?? {};
|
|
157808
|
+
if (minLength !== void 0 && maxLength !== void 0 && minLength > maxLength) {
|
|
157809
|
+
report(CoreErrorCode.ParameterLengthRange, [String(minLength), String(maxLength)]);
|
|
157810
|
+
return;
|
|
157811
|
+
}
|
|
157812
|
+
const declared = Array.isArray(allowedValues) ? allowedValues.filter((allowed) => typeof allowed?.value === "string") : [];
|
|
157813
|
+
for (const value of findDuplicates(declared.map((allowed) => allowed.value))) report(CoreErrorCode.ParameterDuplicateAllowedValue, [value]);
|
|
157814
|
+
const distinct = uniqueBy(declared, (allowed) => allowed.value);
|
|
157815
|
+
for (const title of findDuplicates(distinct.map((allowed) => allowed.title ?? allowed.value))) report(CoreErrorCode.ParameterDuplicateAllowedTitle, [title]);
|
|
157816
|
+
if (typeof defaultValue !== "string") return;
|
|
157817
|
+
const values = distinct.map((allowed) => allowed.value);
|
|
157818
|
+
if (values.length > 0 && !values.includes(defaultValue)) report(CoreErrorCode.ParameterDefaultNotAllowed, [defaultValue, values.join(", ")]);
|
|
157819
|
+
const tooShort = minLength !== void 0 && defaultValue.length < minLength;
|
|
157820
|
+
const tooLong = maxLength !== void 0 && defaultValue.length > maxLength;
|
|
157821
|
+
if (tooShort || tooLong) report(CoreErrorCode.ParameterDefaultOutOfBounds, [
|
|
157822
|
+
defaultValue,
|
|
157823
|
+
String(defaultValue.length),
|
|
157824
|
+
describeBounds(minLength, maxLength)
|
|
157825
|
+
]);
|
|
157826
|
+
}
|
|
157827
|
+
function validateNumberDefinition(definition, report) {
|
|
157828
|
+
const { defaultValue, constraints } = definition;
|
|
157829
|
+
const { min, max } = constraints ?? {};
|
|
157830
|
+
if (typeof min === "number" && typeof max === "number" && min > max) {
|
|
157831
|
+
report(CoreErrorCode.ParameterNumberRange, [String(min), String(max)]);
|
|
157832
|
+
return;
|
|
157833
|
+
}
|
|
157834
|
+
if (typeof defaultValue !== "number") return;
|
|
157835
|
+
if (typeof min === "number" && defaultValue < min || typeof max === "number" && defaultValue > max) report(CoreErrorCode.ParameterDefaultOutOfRange, [String(defaultValue), describeBounds(min, max)]);
|
|
157836
|
+
}
|
|
157496
157837
|
function describeBounds(minLength, maxLength) {
|
|
157497
157838
|
if (minLength === void 0) return `at most ${maxLength}`;
|
|
157498
157839
|
if (maxLength === void 0) return `at least ${minLength}`;
|
|
@@ -161410,7 +161751,7 @@ async function open(state, emitter, file) {
|
|
|
161410
161751
|
//#endregion
|
|
161411
161752
|
//#region ../code/package.json
|
|
161412
161753
|
var name = "@gooddata/code";
|
|
161413
|
-
var version = "0.52.0-alpha.
|
|
161754
|
+
var version = "0.52.0-alpha.8";
|
|
161414
161755
|
//#endregion
|
|
161415
161756
|
//#region ../../../sdk/libs/api-client-tiger/src/axios.ts
|
|
161416
161757
|
/**
|
|
@@ -161432,7 +161773,7 @@ const _CONFIG = {
|
|
|
161432
161773
|
common: {
|
|
161433
161774
|
"X-Requested-With": "XMLHttpRequest",
|
|
161434
161775
|
"X-GDC-JS-PACKAGE": "@gooddata/api-client-tiger",
|
|
161435
|
-
"X-GDC-JS-PACKAGE-VERSION": "11.56.0-alpha.
|
|
161776
|
+
"X-GDC-JS-PACKAGE-VERSION": "11.56.0-alpha.8"
|
|
161436
161777
|
},
|
|
161437
161778
|
post: { "Content-Type": "application/json;charset=utf8" },
|
|
161438
161779
|
put: { "Content-Type": "application/json;charset=utf8" }
|
|
@@ -165126,7 +165467,7 @@ async function EntitiesApiAxiosParamCreator_CreateEntityAgents(jsonApiAgentInDoc
|
|
|
165126
165467
|
* @summary Post Dashboards
|
|
165127
165468
|
* @param {string} workspaceId
|
|
165128
165469
|
* @param {JsonApiAnalyticalDashboardPostOptionalIdDocument} jsonApiAnalyticalDashboardPostOptionalIdDocument
|
|
165129
|
-
* @param {Array<'userIdentifiers' | 'visualizationObjects' | 'analyticalDashboards' | 'labels' | 'metrics' | 'parameters' | 'datasets' | 'filterContexts' | 'dashboardPlugins' | 'createdBy' | 'modifiedBy' | 'certifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
165470
|
+
* @param {Array<'userIdentifiers' | 'visualizationObjects' | 'analyticalDashboards' | 'labels' | 'metrics' | 'parameters' | 'datasets' | 'filterContexts' | 'dashboardPlugins' | 'computedAttributes' | 'createdBy' | 'modifiedBy' | 'certifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
165130
165471
|
* @param {Array<'permissions' | 'origin' | 'accessInfo' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
165131
165472
|
* @param {*} [options] Override http request option.
|
|
165132
165473
|
* @param {Configuration} [configuration] Optional configuration.
|
|
@@ -165671,7 +166012,7 @@ async function EntitiesApiAxiosParamCreator_CreateEntityExportTemplates(jsonApiE
|
|
|
165671
166012
|
* @summary Post Filter Context
|
|
165672
166013
|
* @param {string} workspaceId
|
|
165673
166014
|
* @param {JsonApiFilterContextPostOptionalIdDocument} jsonApiFilterContextPostOptionalIdDocument
|
|
165674
|
-
* @param {Array<'attributes' | 'datasets' | 'labels' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
166015
|
+
* @param {Array<'attributes' | 'datasets' | 'labels' | 'computedAttributes' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
165675
166016
|
* @param {Array<'origin' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
165676
166017
|
* @param {*} [options] Override http request option.
|
|
165677
166018
|
* @param {Configuration} [configuration] Optional configuration.
|
|
@@ -168467,7 +168808,7 @@ async function EntitiesApiAxiosParamCreator_GetAllEntitiesAggregatedFacts(worksp
|
|
|
168467
168808
|
* @param {string} workspaceId
|
|
168468
168809
|
* @param {'ALL' | 'PARENTS' | 'NATIVE'} [origin]
|
|
168469
168810
|
* @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\').
|
|
168470
|
-
* @param {Array<'userIdentifiers' | 'visualizationObjects' | 'analyticalDashboards' | 'labels' | 'metrics' | 'parameters' | 'datasets' | 'filterContexts' | 'dashboardPlugins' | 'createdBy' | 'modifiedBy' | 'certifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
168811
|
+
* @param {Array<'userIdentifiers' | 'visualizationObjects' | 'analyticalDashboards' | 'labels' | 'metrics' | 'parameters' | 'datasets' | 'filterContexts' | 'dashboardPlugins' | 'computedAttributes' | 'createdBy' | 'modifiedBy' | 'certifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
168471
168812
|
* @param {number} [page] Zero-based page index (0..N)
|
|
168472
168813
|
* @param {number} [size] The size of the page to be returned
|
|
168473
168814
|
* @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
@@ -169321,7 +169662,7 @@ async function EntitiesApiAxiosParamCreator_GetAllEntitiesFacts(workspaceId, ori
|
|
|
169321
169662
|
* @param {string} workspaceId
|
|
169322
169663
|
* @param {'ALL' | 'PARENTS' | 'NATIVE'} [origin]
|
|
169323
169664
|
* @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\').
|
|
169324
|
-
* @param {Array<'attributes' | 'datasets' | 'labels' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
169665
|
+
* @param {Array<'attributes' | 'datasets' | 'labels' | 'computedAttributes' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
169325
169666
|
* @param {number} [page] Zero-based page index (0..N)
|
|
169326
169667
|
* @param {number} [size] The size of the page to be returned
|
|
169327
169668
|
* @param {Array<string>} [sort] Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
@@ -170985,7 +171326,7 @@ async function EntitiesApiAxiosParamCreator_GetEntityAggregatedFacts(workspaceId
|
|
|
170985
171326
|
* @param {string} workspaceId
|
|
170986
171327
|
* @param {string} objectId
|
|
170987
171328
|
* @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\').
|
|
170988
|
-
* @param {Array<'userIdentifiers' | 'visualizationObjects' | 'analyticalDashboards' | 'labels' | 'metrics' | 'parameters' | 'datasets' | 'filterContexts' | 'dashboardPlugins' | 'createdBy' | 'modifiedBy' | 'certifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
171329
|
+
* @param {Array<'userIdentifiers' | 'visualizationObjects' | 'analyticalDashboards' | 'labels' | 'metrics' | 'parameters' | 'datasets' | 'filterContexts' | 'dashboardPlugins' | 'computedAttributes' | 'createdBy' | 'modifiedBy' | 'certifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
170989
171330
|
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
170990
171331
|
* @param {Array<'permissions' | 'origin' | 'accessInfo' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
170991
171332
|
* @param {*} [options] Override http request option.
|
|
@@ -171771,7 +172112,7 @@ async function EntitiesApiAxiosParamCreator_GetEntityFacts(workspaceId, objectId
|
|
|
171771
172112
|
* @param {string} workspaceId
|
|
171772
172113
|
* @param {string} objectId
|
|
171773
172114
|
* @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\').
|
|
171774
|
-
* @param {Array<'attributes' | 'datasets' | 'labels' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
172115
|
+
* @param {Array<'attributes' | 'datasets' | 'labels' | 'computedAttributes' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
171775
172116
|
* @param {boolean} [xGDCVALIDATERELATIONS]
|
|
171776
172117
|
* @param {Array<'origin' | 'all' | 'ALL'>} [metaInclude] Include Meta objects.
|
|
171777
172118
|
* @param {*} [options] Override http request option.
|
|
@@ -173224,7 +173565,7 @@ async function EntitiesApiAxiosParamCreator_PatchEntityAgents(id, jsonApiAgentPa
|
|
|
173224
173565
|
* @param {string} objectId
|
|
173225
173566
|
* @param {JsonApiAnalyticalDashboardPatchDocument} jsonApiAnalyticalDashboardPatchDocument
|
|
173226
173567
|
* @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\').
|
|
173227
|
-
* @param {Array<'userIdentifiers' | 'visualizationObjects' | 'analyticalDashboards' | 'labels' | 'metrics' | 'parameters' | 'datasets' | 'filterContexts' | 'dashboardPlugins' | 'createdBy' | 'modifiedBy' | 'certifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
173568
|
+
* @param {Array<'userIdentifiers' | 'visualizationObjects' | 'analyticalDashboards' | 'labels' | 'metrics' | 'parameters' | 'datasets' | 'filterContexts' | 'dashboardPlugins' | 'computedAttributes' | 'createdBy' | 'modifiedBy' | 'certifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
173228
173569
|
* @param {*} [options] Override http request option.
|
|
173229
173570
|
* @param {Configuration} [configuration] Optional configuration.
|
|
173230
173571
|
* @throws {RequiredError}
|
|
@@ -173902,7 +174243,7 @@ async function EntitiesApiAxiosParamCreator_PatchEntityFacts(workspaceId, object
|
|
|
173902
174243
|
* @param {string} objectId
|
|
173903
174244
|
* @param {JsonApiFilterContextPatchDocument} jsonApiFilterContextPatchDocument
|
|
173904
174245
|
* @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\').
|
|
173905
|
-
* @param {Array<'attributes' | 'datasets' | 'labels' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
174246
|
+
* @param {Array<'attributes' | 'datasets' | 'labels' | 'computedAttributes' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
173906
174247
|
* @param {*} [options] Override http request option.
|
|
173907
174248
|
* @param {Configuration} [configuration] Optional configuration.
|
|
173908
174249
|
* @throws {RequiredError}
|
|
@@ -176218,7 +176559,7 @@ async function EntitiesApiAxiosParamCreator_UpdateEntityAgents(id, jsonApiAgentI
|
|
|
176218
176559
|
* @param {string} objectId
|
|
176219
176560
|
* @param {JsonApiAnalyticalDashboardInDocument} jsonApiAnalyticalDashboardInDocument
|
|
176220
176561
|
* @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\').
|
|
176221
|
-
* @param {Array<'userIdentifiers' | 'visualizationObjects' | 'analyticalDashboards' | 'labels' | 'metrics' | 'parameters' | 'datasets' | 'filterContexts' | 'dashboardPlugins' | 'createdBy' | 'modifiedBy' | 'certifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
176562
|
+
* @param {Array<'userIdentifiers' | 'visualizationObjects' | 'analyticalDashboards' | 'labels' | 'metrics' | 'parameters' | 'datasets' | 'filterContexts' | 'dashboardPlugins' | 'computedAttributes' | 'createdBy' | 'modifiedBy' | 'certifiedBy' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
176222
176563
|
* @param {*} [options] Override http request option.
|
|
176223
176564
|
* @param {Configuration} [configuration] Optional configuration.
|
|
176224
176565
|
* @throws {RequiredError}
|
|
@@ -176806,7 +177147,7 @@ async function EntitiesApiAxiosParamCreator_UpdateEntityExportTemplates(id, json
|
|
|
176806
177147
|
* @param {string} objectId
|
|
176807
177148
|
* @param {JsonApiFilterContextInDocument} jsonApiFilterContextInDocument
|
|
176808
177149
|
* @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\').
|
|
176809
|
-
* @param {Array<'attributes' | 'datasets' | 'labels' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
177150
|
+
* @param {Array<'attributes' | 'datasets' | 'labels' | 'computedAttributes' | 'ALL'>} [include] Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.
|
|
176810
177151
|
* @param {*} [options] Override http request option.
|
|
176811
177152
|
* @param {Configuration} [configuration] Optional configuration.
|
|
176812
177153
|
* @throws {RequiredError}
|
|
@@ -190483,72 +190824,6 @@ async function ActionsApiAxiosParamCreator_CancelExecutions(workspaceId, afmCanc
|
|
|
190483
190824
|
};
|
|
190484
190825
|
}
|
|
190485
190826
|
/**
|
|
190486
|
-
*
|
|
190487
|
-
* @param {string} workspaceId Workspace identifier
|
|
190488
|
-
* @param {string} runId
|
|
190489
|
-
* @param {*} [options] Override http request option.
|
|
190490
|
-
* @param {Configuration} [configuration] Optional configuration.
|
|
190491
|
-
* @throws {RequiredError}
|
|
190492
|
-
*/
|
|
190493
|
-
async function ActionsApiAxiosParamCreator_CancelWorkflow(workspaceId, runId, options = {}, configuration) {
|
|
190494
|
-
assertParamExists$4("cancelWorkflow", "workspaceId", workspaceId);
|
|
190495
|
-
assertParamExists$4("cancelWorkflow", "runId", runId);
|
|
190496
|
-
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/workflow/{runId}/cancel`.replace(`{workspaceId}`, encodeURIComponent(String(workspaceId))).replace(`{runId}`, encodeURIComponent(String(runId)));
|
|
190497
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
|
|
190498
|
-
let baseOptions;
|
|
190499
|
-
if (configuration) baseOptions = configuration.baseOptions;
|
|
190500
|
-
const localVarRequestOptions = {
|
|
190501
|
-
method: "POST",
|
|
190502
|
-
...baseOptions,
|
|
190503
|
-
...options
|
|
190504
|
-
};
|
|
190505
|
-
const localVarHeaderParameter = {};
|
|
190506
|
-
setSearchParams$4(localVarUrlObj, {});
|
|
190507
|
-
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
190508
|
-
localVarRequestOptions.headers = {
|
|
190509
|
-
...localVarHeaderParameter,
|
|
190510
|
-
...headersFromBaseOptions,
|
|
190511
|
-
...options.headers
|
|
190512
|
-
};
|
|
190513
|
-
return {
|
|
190514
|
-
url: toPathString$4(localVarUrlObj),
|
|
190515
|
-
options: localVarRequestOptions
|
|
190516
|
-
};
|
|
190517
|
-
}
|
|
190518
|
-
/**
|
|
190519
|
-
*
|
|
190520
|
-
* @param {string} workspaceId Workspace identifier
|
|
190521
|
-
* @param {string} runId
|
|
190522
|
-
* @param {*} [options] Override http request option.
|
|
190523
|
-
* @param {Configuration} [configuration] Optional configuration.
|
|
190524
|
-
* @throws {RequiredError}
|
|
190525
|
-
*/
|
|
190526
|
-
async function ActionsApiAxiosParamCreator_CancelWorkflow1(workspaceId, runId, options = {}, configuration) {
|
|
190527
|
-
assertParamExists$4("cancelWorkflow1", "workspaceId", workspaceId);
|
|
190528
|
-
assertParamExists$4("cancelWorkflow1", "runId", runId);
|
|
190529
|
-
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/agent/{runId}/cancel`.replace(`{workspaceId}`, encodeURIComponent(String(workspaceId))).replace(`{runId}`, encodeURIComponent(String(runId)));
|
|
190530
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
|
|
190531
|
-
let baseOptions;
|
|
190532
|
-
if (configuration) baseOptions = configuration.baseOptions;
|
|
190533
|
-
const localVarRequestOptions = {
|
|
190534
|
-
method: "POST",
|
|
190535
|
-
...baseOptions,
|
|
190536
|
-
...options
|
|
190537
|
-
};
|
|
190538
|
-
const localVarHeaderParameter = {};
|
|
190539
|
-
setSearchParams$4(localVarUrlObj, {});
|
|
190540
|
-
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
190541
|
-
localVarRequestOptions.headers = {
|
|
190542
|
-
...localVarHeaderParameter,
|
|
190543
|
-
...headersFromBaseOptions,
|
|
190544
|
-
...options.headers
|
|
190545
|
-
};
|
|
190546
|
-
return {
|
|
190547
|
-
url: toPathString$4(localVarUrlObj),
|
|
190548
|
-
options: localVarRequestOptions
|
|
190549
|
-
};
|
|
190550
|
-
}
|
|
190551
|
-
/**
|
|
190552
190827
|
* Computes change analysis for the provided execution definition.
|
|
190553
190828
|
* @summary Compute change analysis
|
|
190554
190829
|
* @param {string} workspaceId Workspace identifier
|
|
@@ -191026,80 +191301,6 @@ async function ActionsApiAxiosParamCreator_ForecastResult(workspaceId, resultId,
|
|
|
191026
191301
|
};
|
|
191027
191302
|
}
|
|
191028
191303
|
/**
|
|
191029
|
-
*
|
|
191030
|
-
* @param {string} workspaceId Workspace identifier
|
|
191031
|
-
* @param {WorkflowDashboardSummaryRequestDto} workflowDashboardSummaryRequestDto
|
|
191032
|
-
* @param {*} [options] Override http request option.
|
|
191033
|
-
* @param {Configuration} [configuration] Optional configuration.
|
|
191034
|
-
* @throws {RequiredError}
|
|
191035
|
-
*/
|
|
191036
|
-
async function ActionsApiAxiosParamCreator_GenerateDashboardSummary(workspaceId, workflowDashboardSummaryRequestDto, options = {}, configuration) {
|
|
191037
|
-
assertParamExists$4("generateDashboardSummary", "workspaceId", workspaceId);
|
|
191038
|
-
assertParamExists$4("generateDashboardSummary", "workflowDashboardSummaryRequestDto", workflowDashboardSummaryRequestDto);
|
|
191039
|
-
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/workflow/dashboardSummary`.replace(`{workspaceId}`, encodeURIComponent(String(workspaceId)));
|
|
191040
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
|
|
191041
|
-
let baseOptions;
|
|
191042
|
-
if (configuration) baseOptions = configuration.baseOptions;
|
|
191043
|
-
const localVarRequestOptions = {
|
|
191044
|
-
method: "POST",
|
|
191045
|
-
...baseOptions,
|
|
191046
|
-
...options
|
|
191047
|
-
};
|
|
191048
|
-
const localVarHeaderParameter = {};
|
|
191049
|
-
const localVarQueryParameter = {};
|
|
191050
|
-
const consumes = ["application/json"];
|
|
191051
|
-
localVarHeaderParameter["Content-Type"] = consumes.includes("application/json") ? "application/json" : consumes[0];
|
|
191052
|
-
setSearchParams$4(localVarUrlObj, localVarQueryParameter);
|
|
191053
|
-
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
191054
|
-
localVarRequestOptions.headers = {
|
|
191055
|
-
...localVarHeaderParameter,
|
|
191056
|
-
...headersFromBaseOptions,
|
|
191057
|
-
...options.headers
|
|
191058
|
-
};
|
|
191059
|
-
localVarRequestOptions.data = typeof workflowDashboardSummaryRequestDto !== "string" || localVarRequestOptions.headers["Content-Type"] === "application/json" ? JSON.stringify(workflowDashboardSummaryRequestDto !== void 0 ? workflowDashboardSummaryRequestDto : {}) : workflowDashboardSummaryRequestDto || "";
|
|
191060
|
-
return {
|
|
191061
|
-
url: toPathString$4(localVarUrlObj),
|
|
191062
|
-
options: localVarRequestOptions
|
|
191063
|
-
};
|
|
191064
|
-
}
|
|
191065
|
-
/**
|
|
191066
|
-
*
|
|
191067
|
-
* @param {string} workspaceId Workspace identifier
|
|
191068
|
-
* @param {DashboardSummaryRequestDto} dashboardSummaryRequestDto
|
|
191069
|
-
* @param {*} [options] Override http request option.
|
|
191070
|
-
* @param {Configuration} [configuration] Optional configuration.
|
|
191071
|
-
* @throws {RequiredError}
|
|
191072
|
-
*/
|
|
191073
|
-
async function ActionsApiAxiosParamCreator_GenerateDashboardSummary1(workspaceId, dashboardSummaryRequestDto, options = {}, configuration) {
|
|
191074
|
-
assertParamExists$4("generateDashboardSummary1", "workspaceId", workspaceId);
|
|
191075
|
-
assertParamExists$4("generateDashboardSummary1", "dashboardSummaryRequestDto", dashboardSummaryRequestDto);
|
|
191076
|
-
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/agent/dashboardSummary`.replace(`{workspaceId}`, encodeURIComponent(String(workspaceId)));
|
|
191077
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
|
|
191078
|
-
let baseOptions;
|
|
191079
|
-
if (configuration) baseOptions = configuration.baseOptions;
|
|
191080
|
-
const localVarRequestOptions = {
|
|
191081
|
-
method: "POST",
|
|
191082
|
-
...baseOptions,
|
|
191083
|
-
...options
|
|
191084
|
-
};
|
|
191085
|
-
const localVarHeaderParameter = {};
|
|
191086
|
-
const localVarQueryParameter = {};
|
|
191087
|
-
const consumes = ["application/json"];
|
|
191088
|
-
localVarHeaderParameter["Content-Type"] = consumes.includes("application/json") ? "application/json" : consumes[0];
|
|
191089
|
-
setSearchParams$4(localVarUrlObj, localVarQueryParameter);
|
|
191090
|
-
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
191091
|
-
localVarRequestOptions.headers = {
|
|
191092
|
-
...localVarHeaderParameter,
|
|
191093
|
-
...headersFromBaseOptions,
|
|
191094
|
-
...options.headers
|
|
191095
|
-
};
|
|
191096
|
-
localVarRequestOptions.data = typeof dashboardSummaryRequestDto !== "string" || localVarRequestOptions.headers["Content-Type"] === "application/json" ? JSON.stringify(dashboardSummaryRequestDto !== void 0 ? dashboardSummaryRequestDto : {}) : dashboardSummaryRequestDto || "";
|
|
191097
|
-
return {
|
|
191098
|
-
url: toPathString$4(localVarUrlObj),
|
|
191099
|
-
options: localVarRequestOptions
|
|
191100
|
-
};
|
|
191101
|
-
}
|
|
191102
|
-
/**
|
|
191103
191304
|
* Generates a description for the specified analytics object. Returns description and a note with details if generation was not performed.
|
|
191104
191305
|
* @summary Generate Description for Analytics Object
|
|
191105
191306
|
* @param {string} workspaceId Workspace identifier
|
|
@@ -191138,43 +191339,6 @@ async function ActionsApiAxiosParamCreator_GenerateDescription(workspaceId, gene
|
|
|
191138
191339
|
};
|
|
191139
191340
|
}
|
|
191140
191341
|
/**
|
|
191141
|
-
*
|
|
191142
|
-
* @param {string} workspaceId Workspace identifier
|
|
191143
|
-
* @param {KnowledgeRecommendationsRequestDto} knowledgeRecommendationsRequestDto
|
|
191144
|
-
* @param {*} [options] Override http request option.
|
|
191145
|
-
* @param {Configuration} [configuration] Optional configuration.
|
|
191146
|
-
* @throws {RequiredError}
|
|
191147
|
-
*/
|
|
191148
|
-
async function ActionsApiAxiosParamCreator_GenerateKnowledgeRecommendations(workspaceId, knowledgeRecommendationsRequestDto, options = {}, configuration) {
|
|
191149
|
-
assertParamExists$4("generateKnowledgeRecommendations", "workspaceId", workspaceId);
|
|
191150
|
-
assertParamExists$4("generateKnowledgeRecommendations", "knowledgeRecommendationsRequestDto", knowledgeRecommendationsRequestDto);
|
|
191151
|
-
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/agent/knowledgeRecommendations`.replace(`{workspaceId}`, encodeURIComponent(String(workspaceId)));
|
|
191152
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
|
|
191153
|
-
let baseOptions;
|
|
191154
|
-
if (configuration) baseOptions = configuration.baseOptions;
|
|
191155
|
-
const localVarRequestOptions = {
|
|
191156
|
-
method: "POST",
|
|
191157
|
-
...baseOptions,
|
|
191158
|
-
...options
|
|
191159
|
-
};
|
|
191160
|
-
const localVarHeaderParameter = {};
|
|
191161
|
-
const localVarQueryParameter = {};
|
|
191162
|
-
const consumes = ["application/json"];
|
|
191163
|
-
localVarHeaderParameter["Content-Type"] = consumes.includes("application/json") ? "application/json" : consumes[0];
|
|
191164
|
-
setSearchParams$4(localVarUrlObj, localVarQueryParameter);
|
|
191165
|
-
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
191166
|
-
localVarRequestOptions.headers = {
|
|
191167
|
-
...localVarHeaderParameter,
|
|
191168
|
-
...headersFromBaseOptions,
|
|
191169
|
-
...options.headers
|
|
191170
|
-
};
|
|
191171
|
-
localVarRequestOptions.data = typeof knowledgeRecommendationsRequestDto !== "string" || localVarRequestOptions.headers["Content-Type"] === "application/json" ? JSON.stringify(knowledgeRecommendationsRequestDto !== void 0 ? knowledgeRecommendationsRequestDto : {}) : knowledgeRecommendationsRequestDto || "";
|
|
191172
|
-
return {
|
|
191173
|
-
url: toPathString$4(localVarUrlObj),
|
|
191174
|
-
options: localVarRequestOptions
|
|
191175
|
-
};
|
|
191176
|
-
}
|
|
191177
|
-
/**
|
|
191178
191342
|
* Generates a title for the specified analytics object. Returns title and a note with details if generation was not performed.
|
|
191179
191343
|
* @summary Generate Title for Analytics Object
|
|
191180
191344
|
* @param {string} workspaceId Workspace identifier
|
|
@@ -191279,72 +191443,6 @@ async function ActionsApiAxiosParamCreator_GetQualityIssuesCalculationStatus(wor
|
|
|
191279
191443
|
};
|
|
191280
191444
|
}
|
|
191281
191445
|
/**
|
|
191282
|
-
*
|
|
191283
|
-
* @param {string} workspaceId Workspace identifier
|
|
191284
|
-
* @param {string} runId
|
|
191285
|
-
* @param {*} [options] Override http request option.
|
|
191286
|
-
* @param {Configuration} [configuration] Optional configuration.
|
|
191287
|
-
* @throws {RequiredError}
|
|
191288
|
-
*/
|
|
191289
|
-
async function ActionsApiAxiosParamCreator_GetWorkflowStatus(workspaceId, runId, options = {}, configuration) {
|
|
191290
|
-
assertParamExists$4("getWorkflowStatus", "workspaceId", workspaceId);
|
|
191291
|
-
assertParamExists$4("getWorkflowStatus", "runId", runId);
|
|
191292
|
-
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/workflow/{runId}/status`.replace(`{workspaceId}`, encodeURIComponent(String(workspaceId))).replace(`{runId}`, encodeURIComponent(String(runId)));
|
|
191293
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
|
|
191294
|
-
let baseOptions;
|
|
191295
|
-
if (configuration) baseOptions = configuration.baseOptions;
|
|
191296
|
-
const localVarRequestOptions = {
|
|
191297
|
-
method: "GET",
|
|
191298
|
-
...baseOptions,
|
|
191299
|
-
...options
|
|
191300
|
-
};
|
|
191301
|
-
const localVarHeaderParameter = {};
|
|
191302
|
-
setSearchParams$4(localVarUrlObj, {});
|
|
191303
|
-
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
191304
|
-
localVarRequestOptions.headers = {
|
|
191305
|
-
...localVarHeaderParameter,
|
|
191306
|
-
...headersFromBaseOptions,
|
|
191307
|
-
...options.headers
|
|
191308
|
-
};
|
|
191309
|
-
return {
|
|
191310
|
-
url: toPathString$4(localVarUrlObj),
|
|
191311
|
-
options: localVarRequestOptions
|
|
191312
|
-
};
|
|
191313
|
-
}
|
|
191314
|
-
/**
|
|
191315
|
-
*
|
|
191316
|
-
* @param {string} workspaceId Workspace identifier
|
|
191317
|
-
* @param {string} runId
|
|
191318
|
-
* @param {*} [options] Override http request option.
|
|
191319
|
-
* @param {Configuration} [configuration] Optional configuration.
|
|
191320
|
-
* @throws {RequiredError}
|
|
191321
|
-
*/
|
|
191322
|
-
async function ActionsApiAxiosParamCreator_GetWorkflowStatus1(workspaceId, runId, options = {}, configuration) {
|
|
191323
|
-
assertParamExists$4("getWorkflowStatus1", "workspaceId", workspaceId);
|
|
191324
|
-
assertParamExists$4("getWorkflowStatus1", "runId", runId);
|
|
191325
|
-
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/agent/{runId}/status`.replace(`{workspaceId}`, encodeURIComponent(String(workspaceId))).replace(`{runId}`, encodeURIComponent(String(runId)));
|
|
191326
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
|
|
191327
|
-
let baseOptions;
|
|
191328
|
-
if (configuration) baseOptions = configuration.baseOptions;
|
|
191329
|
-
const localVarRequestOptions = {
|
|
191330
|
-
method: "GET",
|
|
191331
|
-
...baseOptions,
|
|
191332
|
-
...options
|
|
191333
|
-
};
|
|
191334
|
-
const localVarHeaderParameter = {};
|
|
191335
|
-
setSearchParams$4(localVarUrlObj, {});
|
|
191336
|
-
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
191337
|
-
localVarRequestOptions.headers = {
|
|
191338
|
-
...localVarHeaderParameter,
|
|
191339
|
-
...headersFromBaseOptions,
|
|
191340
|
-
...options.headers
|
|
191341
|
-
};
|
|
191342
|
-
return {
|
|
191343
|
-
url: toPathString$4(localVarUrlObj),
|
|
191344
|
-
options: localVarRequestOptions
|
|
191345
|
-
};
|
|
191346
|
-
}
|
|
191347
|
-
/**
|
|
191348
191446
|
* (EXPERIMENTAL) Computes key driver analysis for the provided execution definition.
|
|
191349
191447
|
* @summary (EXPERIMENTAL) Compute key driver analysis
|
|
191350
191448
|
* @param {string} workspaceId Workspace identifier
|
|
@@ -191634,38 +191732,6 @@ async function ActionsApiAxiosParamCreator_ResolveLlmEndpoints(workspaceId, opti
|
|
|
191634
191732
|
};
|
|
191635
191733
|
}
|
|
191636
191734
|
/**
|
|
191637
|
-
* Resolves the active LLM provider configuration for the given workspace.
|
|
191638
|
-
* @summary Get Active LLM configuration for this workspace
|
|
191639
|
-
* @param {string} workspaceId Workspace identifier
|
|
191640
|
-
* @param {*} [options] Override http request option.
|
|
191641
|
-
* @param {Configuration} [configuration] Optional configuration.
|
|
191642
|
-
* @throws {RequiredError}
|
|
191643
|
-
*/
|
|
191644
|
-
async function ActionsApiAxiosParamCreator_ResolveLlmProviders(workspaceId, options = {}, configuration) {
|
|
191645
|
-
assertParamExists$4("resolveLlmProviders", "workspaceId", workspaceId);
|
|
191646
|
-
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/resolveLlmProviders`.replace(`{workspaceId}`, encodeURIComponent(String(workspaceId)));
|
|
191647
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
|
|
191648
|
-
let baseOptions;
|
|
191649
|
-
if (configuration) baseOptions = configuration.baseOptions;
|
|
191650
|
-
const localVarRequestOptions = {
|
|
191651
|
-
method: "GET",
|
|
191652
|
-
...baseOptions,
|
|
191653
|
-
...options
|
|
191654
|
-
};
|
|
191655
|
-
const localVarHeaderParameter = {};
|
|
191656
|
-
setSearchParams$4(localVarUrlObj, {});
|
|
191657
|
-
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
191658
|
-
localVarRequestOptions.headers = {
|
|
191659
|
-
...localVarHeaderParameter,
|
|
191660
|
-
...headersFromBaseOptions,
|
|
191661
|
-
...options.headers
|
|
191662
|
-
};
|
|
191663
|
-
return {
|
|
191664
|
-
url: toPathString$4(localVarUrlObj),
|
|
191665
|
-
options: localVarRequestOptions
|
|
191666
|
-
};
|
|
191667
|
-
}
|
|
191668
|
-
/**
|
|
191669
191735
|
* The resource provides execution result\'s metadata as AFM and resultSpec used in execution request and an executionResponse
|
|
191670
191736
|
* @summary Get a single execution result\'s metadata.
|
|
191671
191737
|
* @param {string} workspaceId Workspace identifier
|
|
@@ -191916,45 +191982,6 @@ async function ActionsApiAxiosParamCreator_TriggerQualityIssuesCalculation(works
|
|
|
191916
191982
|
};
|
|
191917
191983
|
}
|
|
191918
191984
|
/**
|
|
191919
|
-
*
|
|
191920
|
-
* @param {string} workspaceId Workspace identifier
|
|
191921
|
-
* @param {string} runId
|
|
191922
|
-
* @param {FeedbackRequestDto} feedbackRequestDto
|
|
191923
|
-
* @param {*} [options] Override http request option.
|
|
191924
|
-
* @param {Configuration} [configuration] Optional configuration.
|
|
191925
|
-
* @throws {RequiredError}
|
|
191926
|
-
*/
|
|
191927
|
-
async function ActionsApiAxiosParamCreator_UserFeedback(workspaceId, runId, feedbackRequestDto, options = {}, configuration) {
|
|
191928
|
-
assertParamExists$4("userFeedback", "workspaceId", workspaceId);
|
|
191929
|
-
assertParamExists$4("userFeedback", "runId", runId);
|
|
191930
|
-
assertParamExists$4("userFeedback", "feedbackRequestDto", feedbackRequestDto);
|
|
191931
|
-
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/ai/agent/{runId}/feedback`.replace(`{workspaceId}`, encodeURIComponent(String(workspaceId))).replace(`{runId}`, encodeURIComponent(String(runId)));
|
|
191932
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$4);
|
|
191933
|
-
let baseOptions;
|
|
191934
|
-
if (configuration) baseOptions = configuration.baseOptions;
|
|
191935
|
-
const localVarRequestOptions = {
|
|
191936
|
-
method: "POST",
|
|
191937
|
-
...baseOptions,
|
|
191938
|
-
...options
|
|
191939
|
-
};
|
|
191940
|
-
const localVarHeaderParameter = {};
|
|
191941
|
-
const localVarQueryParameter = {};
|
|
191942
|
-
const consumes = ["application/json"];
|
|
191943
|
-
localVarHeaderParameter["Content-Type"] = consumes.includes("application/json") ? "application/json" : consumes[0];
|
|
191944
|
-
setSearchParams$4(localVarUrlObj, localVarQueryParameter);
|
|
191945
|
-
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
191946
|
-
localVarRequestOptions.headers = {
|
|
191947
|
-
...localVarHeaderParameter,
|
|
191948
|
-
...headersFromBaseOptions,
|
|
191949
|
-
...options.headers
|
|
191950
|
-
};
|
|
191951
|
-
localVarRequestOptions.data = typeof feedbackRequestDto !== "string" || localVarRequestOptions.headers["Content-Type"] === "application/json" ? JSON.stringify(feedbackRequestDto !== void 0 ? feedbackRequestDto : {}) : feedbackRequestDto || "";
|
|
191952
|
-
return {
|
|
191953
|
-
url: toPathString$4(localVarUrlObj),
|
|
191954
|
-
options: localVarRequestOptions
|
|
191955
|
-
};
|
|
191956
|
-
}
|
|
191957
|
-
/**
|
|
191958
191985
|
* Permanently removed. Use POST /api/v1/actions/ai/llmProvider/test instead. Always returns 410 Gone.
|
|
191959
191986
|
* @summary Validate LLM Endpoint (Removed)
|
|
191960
191987
|
* @param {*} [options] Override http request option.
|
|
@@ -192107,30 +192134,6 @@ async function ActionsApi_CancelExecutions(axios, basePath, requestParameters, o
|
|
|
192107
192134
|
return createRequestFunction$4(await ActionsApiAxiosParamCreator_CancelExecutions(requestParameters.workspaceId, requestParameters.afmCancelTokens, options || {}, configuration), axios$1, BASE_PATH$4, configuration)(axios, basePath);
|
|
192108
192135
|
}
|
|
192109
192136
|
/**
|
|
192110
|
-
*
|
|
192111
|
-
* @param {AxiosInstance} axios Axios instance.
|
|
192112
|
-
* @param {string} basePath Base path.
|
|
192113
|
-
* @param {ActionsApiCancelWorkflowRequest} requestParameters Request parameters.
|
|
192114
|
-
* @param {*} [options] Override http request option.
|
|
192115
|
-
* @param {Configuration} [configuration] Optional configuration.
|
|
192116
|
-
* @throws {RequiredError}
|
|
192117
|
-
*/
|
|
192118
|
-
async function ActionsApi_CancelWorkflow(axios, basePath, requestParameters, options, configuration) {
|
|
192119
|
-
return createRequestFunction$4(await ActionsApiAxiosParamCreator_CancelWorkflow(requestParameters.workspaceId, requestParameters.runId, options || {}, configuration), axios$1, BASE_PATH$4, configuration)(axios, basePath);
|
|
192120
|
-
}
|
|
192121
|
-
/**
|
|
192122
|
-
*
|
|
192123
|
-
* @param {AxiosInstance} axios Axios instance.
|
|
192124
|
-
* @param {string} basePath Base path.
|
|
192125
|
-
* @param {ActionsApiCancelWorkflow1Request} requestParameters Request parameters.
|
|
192126
|
-
* @param {*} [options] Override http request option.
|
|
192127
|
-
* @param {Configuration} [configuration] Optional configuration.
|
|
192128
|
-
* @throws {RequiredError}
|
|
192129
|
-
*/
|
|
192130
|
-
async function ActionsApi_CancelWorkflow1(axios, basePath, requestParameters, options, configuration) {
|
|
192131
|
-
return createRequestFunction$4(await ActionsApiAxiosParamCreator_CancelWorkflow1(requestParameters.workspaceId, requestParameters.runId, options || {}, configuration), axios$1, BASE_PATH$4, configuration)(axios, basePath);
|
|
192132
|
-
}
|
|
192133
|
-
/**
|
|
192134
192137
|
* Computes change analysis for the provided execution definition.
|
|
192135
192138
|
* @summary Compute change analysis
|
|
192136
192139
|
* @param {AxiosInstance} axios Axios instance.
|
|
@@ -192287,30 +192290,6 @@ async function ActionsApi_ForecastResult(axios, basePath, requestParameters, opt
|
|
|
192287
192290
|
return createRequestFunction$4(await ActionsApiAxiosParamCreator_ForecastResult(requestParameters.workspaceId, requestParameters.resultId, requestParameters.offset, requestParameters.limit, options || {}, configuration), axios$1, BASE_PATH$4, configuration)(axios, basePath);
|
|
192288
192291
|
}
|
|
192289
192292
|
/**
|
|
192290
|
-
*
|
|
192291
|
-
* @param {AxiosInstance} axios Axios instance.
|
|
192292
|
-
* @param {string} basePath Base path.
|
|
192293
|
-
* @param {ActionsApiGenerateDashboardSummaryRequest} requestParameters Request parameters.
|
|
192294
|
-
* @param {*} [options] Override http request option.
|
|
192295
|
-
* @param {Configuration} [configuration] Optional configuration.
|
|
192296
|
-
* @throws {RequiredError}
|
|
192297
|
-
*/
|
|
192298
|
-
async function ActionsApi_GenerateDashboardSummary(axios, basePath, requestParameters, options, configuration) {
|
|
192299
|
-
return createRequestFunction$4(await ActionsApiAxiosParamCreator_GenerateDashboardSummary(requestParameters.workspaceId, requestParameters.workflowDashboardSummaryRequestDto, options || {}, configuration), axios$1, BASE_PATH$4, configuration)(axios, basePath);
|
|
192300
|
-
}
|
|
192301
|
-
/**
|
|
192302
|
-
*
|
|
192303
|
-
* @param {AxiosInstance} axios Axios instance.
|
|
192304
|
-
* @param {string} basePath Base path.
|
|
192305
|
-
* @param {ActionsApiGenerateDashboardSummary1Request} requestParameters Request parameters.
|
|
192306
|
-
* @param {*} [options] Override http request option.
|
|
192307
|
-
* @param {Configuration} [configuration] Optional configuration.
|
|
192308
|
-
* @throws {RequiredError}
|
|
192309
|
-
*/
|
|
192310
|
-
async function ActionsApi_GenerateDashboardSummary1(axios, basePath, requestParameters, options, configuration) {
|
|
192311
|
-
return createRequestFunction$4(await ActionsApiAxiosParamCreator_GenerateDashboardSummary1(requestParameters.workspaceId, requestParameters.dashboardSummaryRequestDto, options || {}, configuration), axios$1, BASE_PATH$4, configuration)(axios, basePath);
|
|
192312
|
-
}
|
|
192313
|
-
/**
|
|
192314
192293
|
* Generates a description for the specified analytics object. Returns description and a note with details if generation was not performed.
|
|
192315
192294
|
* @summary Generate Description for Analytics Object
|
|
192316
192295
|
* @param {AxiosInstance} axios Axios instance.
|
|
@@ -192324,18 +192303,6 @@ async function ActionsApi_GenerateDescription(axios, basePath, requestParameters
|
|
|
192324
192303
|
return createRequestFunction$4(await ActionsApiAxiosParamCreator_GenerateDescription(requestParameters.workspaceId, requestParameters.generateDescriptionRequest, options || {}, configuration), axios$1, BASE_PATH$4, configuration)(axios, basePath);
|
|
192325
192304
|
}
|
|
192326
192305
|
/**
|
|
192327
|
-
*
|
|
192328
|
-
* @param {AxiosInstance} axios Axios instance.
|
|
192329
|
-
* @param {string} basePath Base path.
|
|
192330
|
-
* @param {ActionsApiGenerateKnowledgeRecommendationsRequest} requestParameters Request parameters.
|
|
192331
|
-
* @param {*} [options] Override http request option.
|
|
192332
|
-
* @param {Configuration} [configuration] Optional configuration.
|
|
192333
|
-
* @throws {RequiredError}
|
|
192334
|
-
*/
|
|
192335
|
-
async function ActionsApi_GenerateKnowledgeRecommendations(axios, basePath, requestParameters, options, configuration) {
|
|
192336
|
-
return createRequestFunction$4(await ActionsApiAxiosParamCreator_GenerateKnowledgeRecommendations(requestParameters.workspaceId, requestParameters.knowledgeRecommendationsRequestDto, options || {}, configuration), axios$1, BASE_PATH$4, configuration)(axios, basePath);
|
|
192337
|
-
}
|
|
192338
|
-
/**
|
|
192339
192306
|
* Generates a title for the specified analytics object. Returns title and a note with details if generation was not performed.
|
|
192340
192307
|
* @summary Generate Title for Analytics Object
|
|
192341
192308
|
* @param {AxiosInstance} axios Axios instance.
|
|
@@ -192375,30 +192342,6 @@ async function ActionsApi_GetQualityIssuesCalculationStatus(axios, basePath, req
|
|
|
192375
192342
|
return createRequestFunction$4(await ActionsApiAxiosParamCreator_GetQualityIssuesCalculationStatus(requestParameters.workspaceId, requestParameters.processId, options || {}, configuration), axios$1, BASE_PATH$4, configuration)(axios, basePath);
|
|
192376
192343
|
}
|
|
192377
192344
|
/**
|
|
192378
|
-
*
|
|
192379
|
-
* @param {AxiosInstance} axios Axios instance.
|
|
192380
|
-
* @param {string} basePath Base path.
|
|
192381
|
-
* @param {ActionsApiGetWorkflowStatusRequest} requestParameters Request parameters.
|
|
192382
|
-
* @param {*} [options] Override http request option.
|
|
192383
|
-
* @param {Configuration} [configuration] Optional configuration.
|
|
192384
|
-
* @throws {RequiredError}
|
|
192385
|
-
*/
|
|
192386
|
-
async function ActionsApi_GetWorkflowStatus(axios, basePath, requestParameters, options, configuration) {
|
|
192387
|
-
return createRequestFunction$4(await ActionsApiAxiosParamCreator_GetWorkflowStatus(requestParameters.workspaceId, requestParameters.runId, options || {}, configuration), axios$1, BASE_PATH$4, configuration)(axios, basePath);
|
|
192388
|
-
}
|
|
192389
|
-
/**
|
|
192390
|
-
*
|
|
192391
|
-
* @param {AxiosInstance} axios Axios instance.
|
|
192392
|
-
* @param {string} basePath Base path.
|
|
192393
|
-
* @param {ActionsApiGetWorkflowStatus1Request} requestParameters Request parameters.
|
|
192394
|
-
* @param {*} [options] Override http request option.
|
|
192395
|
-
* @param {Configuration} [configuration] Optional configuration.
|
|
192396
|
-
* @throws {RequiredError}
|
|
192397
|
-
*/
|
|
192398
|
-
async function ActionsApi_GetWorkflowStatus1(axios, basePath, requestParameters, options, configuration) {
|
|
192399
|
-
return createRequestFunction$4(await ActionsApiAxiosParamCreator_GetWorkflowStatus1(requestParameters.workspaceId, requestParameters.runId, options || {}, configuration), axios$1, BASE_PATH$4, configuration)(axios, basePath);
|
|
192400
|
-
}
|
|
192401
|
-
/**
|
|
192402
192345
|
* (EXPERIMENTAL) Computes key driver analysis for the provided execution definition.
|
|
192403
192346
|
* @summary (EXPERIMENTAL) Compute key driver analysis
|
|
192404
192347
|
* @param {AxiosInstance} axios Axios instance.
|
|
@@ -192503,19 +192446,6 @@ async function ActionsApi_ResolveLlmEndpoints(axios, basePath, requestParameters
|
|
|
192503
192446
|
return createRequestFunction$4(await ActionsApiAxiosParamCreator_ResolveLlmEndpoints(requestParameters.workspaceId, options || {}, configuration), axios$1, BASE_PATH$4, configuration)(axios, basePath);
|
|
192504
192447
|
}
|
|
192505
192448
|
/**
|
|
192506
|
-
* Resolves the active LLM provider configuration for the given workspace.
|
|
192507
|
-
* @summary Get Active LLM configuration for this workspace
|
|
192508
|
-
* @param {AxiosInstance} axios Axios instance.
|
|
192509
|
-
* @param {string} basePath Base path.
|
|
192510
|
-
* @param {ActionsApiResolveLlmProvidersRequest} requestParameters Request parameters.
|
|
192511
|
-
* @param {*} [options] Override http request option.
|
|
192512
|
-
* @param {Configuration} [configuration] Optional configuration.
|
|
192513
|
-
* @throws {RequiredError}
|
|
192514
|
-
*/
|
|
192515
|
-
async function ActionsApi_ResolveLlmProviders(axios, basePath, requestParameters, options, configuration) {
|
|
192516
|
-
return createRequestFunction$4(await ActionsApiAxiosParamCreator_ResolveLlmProviders(requestParameters.workspaceId, options || {}, configuration), axios$1, BASE_PATH$4, configuration)(axios, basePath);
|
|
192517
|
-
}
|
|
192518
|
-
/**
|
|
192519
192449
|
* The resource provides execution result\'s metadata as AFM and resultSpec used in execution request and an executionResponse
|
|
192520
192450
|
* @summary Get a single execution result\'s metadata.
|
|
192521
192451
|
* @param {AxiosInstance} axios Axios instance.
|
|
@@ -192607,18 +192537,6 @@ async function ActionsApi_TriggerQualityIssuesCalculation(axios, basePath, reque
|
|
|
192607
192537
|
return createRequestFunction$4(await ActionsApiAxiosParamCreator_TriggerQualityIssuesCalculation(requestParameters.workspaceId, options || {}, configuration), axios$1, BASE_PATH$4, configuration)(axios, basePath);
|
|
192608
192538
|
}
|
|
192609
192539
|
/**
|
|
192610
|
-
*
|
|
192611
|
-
* @param {AxiosInstance} axios Axios instance.
|
|
192612
|
-
* @param {string} basePath Base path.
|
|
192613
|
-
* @param {ActionsApiUserFeedbackRequest} requestParameters Request parameters.
|
|
192614
|
-
* @param {*} [options] Override http request option.
|
|
192615
|
-
* @param {Configuration} [configuration] Optional configuration.
|
|
192616
|
-
* @throws {RequiredError}
|
|
192617
|
-
*/
|
|
192618
|
-
async function ActionsApi_UserFeedback(axios, basePath, requestParameters, options, configuration) {
|
|
192619
|
-
return createRequestFunction$4(await ActionsApiAxiosParamCreator_UserFeedback(requestParameters.workspaceId, requestParameters.runId, requestParameters.feedbackRequestDto, options || {}, configuration), axios$1, BASE_PATH$4, configuration)(axios, basePath);
|
|
192620
|
-
}
|
|
192621
|
-
/**
|
|
192622
192540
|
* Permanently removed. Use POST /api/v1/actions/ai/llmProvider/test instead. Always returns 410 Gone.
|
|
192623
192541
|
* @summary Validate LLM Endpoint (Removed)
|
|
192624
192542
|
* @param {AxiosInstance} axios Axios instance.
|
|
@@ -192730,26 +192648,6 @@ var ActionsApi$2 = class extends BaseAPI$4 {
|
|
|
192730
192648
|
return ActionsApi_CancelExecutions(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
192731
192649
|
}
|
|
192732
192650
|
/**
|
|
192733
|
-
*
|
|
192734
|
-
* @param {ActionsApiCancelWorkflowRequest} requestParameters Request parameters.
|
|
192735
|
-
* @param {*} [options] Override http request option.
|
|
192736
|
-
* @throws {RequiredError}
|
|
192737
|
-
* @memberof ActionsApi
|
|
192738
|
-
*/
|
|
192739
|
-
cancelWorkflow(requestParameters, options) {
|
|
192740
|
-
return ActionsApi_CancelWorkflow(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
192741
|
-
}
|
|
192742
|
-
/**
|
|
192743
|
-
*
|
|
192744
|
-
* @param {ActionsApiCancelWorkflow1Request} requestParameters Request parameters.
|
|
192745
|
-
* @param {*} [options] Override http request option.
|
|
192746
|
-
* @throws {RequiredError}
|
|
192747
|
-
* @memberof ActionsApi
|
|
192748
|
-
*/
|
|
192749
|
-
cancelWorkflow1(requestParameters, options) {
|
|
192750
|
-
return ActionsApi_CancelWorkflow1(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
192751
|
-
}
|
|
192752
|
-
/**
|
|
192753
192651
|
* Computes change analysis for the provided execution definition.
|
|
192754
192652
|
* @summary Compute change analysis
|
|
192755
192653
|
* @param {ActionsApiChangeAnalysisRequest} requestParameters Request parameters.
|
|
@@ -192882,26 +192780,6 @@ var ActionsApi$2 = class extends BaseAPI$4 {
|
|
|
192882
192780
|
return ActionsApi_ForecastResult(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
192883
192781
|
}
|
|
192884
192782
|
/**
|
|
192885
|
-
*
|
|
192886
|
-
* @param {ActionsApiGenerateDashboardSummaryRequest} requestParameters Request parameters.
|
|
192887
|
-
* @param {*} [options] Override http request option.
|
|
192888
|
-
* @throws {RequiredError}
|
|
192889
|
-
* @memberof ActionsApi
|
|
192890
|
-
*/
|
|
192891
|
-
generateDashboardSummary(requestParameters, options) {
|
|
192892
|
-
return ActionsApi_GenerateDashboardSummary(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
192893
|
-
}
|
|
192894
|
-
/**
|
|
192895
|
-
*
|
|
192896
|
-
* @param {ActionsApiGenerateDashboardSummary1Request} requestParameters Request parameters.
|
|
192897
|
-
* @param {*} [options] Override http request option.
|
|
192898
|
-
* @throws {RequiredError}
|
|
192899
|
-
* @memberof ActionsApi
|
|
192900
|
-
*/
|
|
192901
|
-
generateDashboardSummary1(requestParameters, options) {
|
|
192902
|
-
return ActionsApi_GenerateDashboardSummary1(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
192903
|
-
}
|
|
192904
|
-
/**
|
|
192905
192783
|
* Generates a description for the specified analytics object. Returns description and a note with details if generation was not performed.
|
|
192906
192784
|
* @summary Generate Description for Analytics Object
|
|
192907
192785
|
* @param {ActionsApiGenerateDescriptionRequest} requestParameters Request parameters.
|
|
@@ -192913,16 +192791,6 @@ var ActionsApi$2 = class extends BaseAPI$4 {
|
|
|
192913
192791
|
return ActionsApi_GenerateDescription(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
192914
192792
|
}
|
|
192915
192793
|
/**
|
|
192916
|
-
*
|
|
192917
|
-
* @param {ActionsApiGenerateKnowledgeRecommendationsRequest} requestParameters Request parameters.
|
|
192918
|
-
* @param {*} [options] Override http request option.
|
|
192919
|
-
* @throws {RequiredError}
|
|
192920
|
-
* @memberof ActionsApi
|
|
192921
|
-
*/
|
|
192922
|
-
generateKnowledgeRecommendations(requestParameters, options) {
|
|
192923
|
-
return ActionsApi_GenerateKnowledgeRecommendations(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
192924
|
-
}
|
|
192925
|
-
/**
|
|
192926
192794
|
* Generates a title for the specified analytics object. Returns title and a note with details if generation was not performed.
|
|
192927
192795
|
* @summary Generate Title for Analytics Object
|
|
192928
192796
|
* @param {ActionsApiGenerateTitleRequest} requestParameters Request parameters.
|
|
@@ -192956,26 +192824,6 @@ var ActionsApi$2 = class extends BaseAPI$4 {
|
|
|
192956
192824
|
return ActionsApi_GetQualityIssuesCalculationStatus(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
192957
192825
|
}
|
|
192958
192826
|
/**
|
|
192959
|
-
*
|
|
192960
|
-
* @param {ActionsApiGetWorkflowStatusRequest} requestParameters Request parameters.
|
|
192961
|
-
* @param {*} [options] Override http request option.
|
|
192962
|
-
* @throws {RequiredError}
|
|
192963
|
-
* @memberof ActionsApi
|
|
192964
|
-
*/
|
|
192965
|
-
getWorkflowStatus(requestParameters, options) {
|
|
192966
|
-
return ActionsApi_GetWorkflowStatus(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
192967
|
-
}
|
|
192968
|
-
/**
|
|
192969
|
-
*
|
|
192970
|
-
* @param {ActionsApiGetWorkflowStatus1Request} requestParameters Request parameters.
|
|
192971
|
-
* @param {*} [options] Override http request option.
|
|
192972
|
-
* @throws {RequiredError}
|
|
192973
|
-
* @memberof ActionsApi
|
|
192974
|
-
*/
|
|
192975
|
-
getWorkflowStatus1(requestParameters, options) {
|
|
192976
|
-
return ActionsApi_GetWorkflowStatus1(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
192977
|
-
}
|
|
192978
|
-
/**
|
|
192979
192827
|
* (EXPERIMENTAL) Computes key driver analysis for the provided execution definition.
|
|
192980
192828
|
* @summary (EXPERIMENTAL) Compute key driver analysis
|
|
192981
192829
|
* @param {ActionsApiKeyDriverAnalysisRequest} requestParameters Request parameters.
|
|
@@ -193065,17 +192913,6 @@ var ActionsApi$2 = class extends BaseAPI$4 {
|
|
|
193065
192913
|
return ActionsApi_ResolveLlmEndpoints(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
193066
192914
|
}
|
|
193067
192915
|
/**
|
|
193068
|
-
* Resolves the active LLM provider configuration for the given workspace.
|
|
193069
|
-
* @summary Get Active LLM configuration for this workspace
|
|
193070
|
-
* @param {ActionsApiResolveLlmProvidersRequest} requestParameters Request parameters.
|
|
193071
|
-
* @param {*} [options] Override http request option.
|
|
193072
|
-
* @throws {RequiredError}
|
|
193073
|
-
* @memberof ActionsApi
|
|
193074
|
-
*/
|
|
193075
|
-
resolveLlmProviders(requestParameters, options) {
|
|
193076
|
-
return ActionsApi_ResolveLlmProviders(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
193077
|
-
}
|
|
193078
|
-
/**
|
|
193079
192916
|
* The resource provides execution result\'s metadata as AFM and resultSpec used in execution request and an executionResponse
|
|
193080
192917
|
* @summary Get a single execution result\'s metadata.
|
|
193081
192918
|
* @param {ActionsApiRetrieveExecutionMetadataRequest} requestParameters Request parameters.
|
|
@@ -193153,16 +192990,6 @@ var ActionsApi$2 = class extends BaseAPI$4 {
|
|
|
193153
192990
|
return ActionsApi_TriggerQualityIssuesCalculation(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
193154
192991
|
}
|
|
193155
192992
|
/**
|
|
193156
|
-
*
|
|
193157
|
-
* @param {ActionsApiUserFeedbackRequest} requestParameters Request parameters.
|
|
193158
|
-
* @param {*} [options] Override http request option.
|
|
193159
|
-
* @throws {RequiredError}
|
|
193160
|
-
* @memberof ActionsApi
|
|
193161
|
-
*/
|
|
193162
|
-
userFeedback(requestParameters, options) {
|
|
193163
|
-
return ActionsApi_UserFeedback(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
193164
|
-
}
|
|
193165
|
-
/**
|
|
193166
192993
|
* Permanently removed. Use POST /api/v1/actions/ai/llmProvider/test instead. Always returns 410 Gone.
|
|
193167
192994
|
* @summary Validate LLM Endpoint (Removed)
|
|
193168
192995
|
* @param {*} [options] Override http request option.
|
|
@@ -201533,7 +201360,7 @@ async function makeRequest(func) {
|
|
|
201533
201360
|
}
|
|
201534
201361
|
function mergeParameters(current, fromFiles) {
|
|
201535
201362
|
const authored = new Set(fromFiles.map((parameter) => parameter.id));
|
|
201536
|
-
return [...(current ?? []).filter((parameter) => !
|
|
201363
|
+
return [...(current ?? []).filter((parameter) => !isDeclarativeCodeParameter(parameter) && !authored.has(parameter.id)), ...fromFiles];
|
|
201537
201364
|
}
|
|
201538
201365
|
function updateDeclarativeLayout(currentWs, newWs) {
|
|
201539
201366
|
return {
|
|
@@ -202089,7 +201916,7 @@ async function fromDeclarative(workspace, basePath, profile, { tables = {}, stor
|
|
|
202089
201916
|
});
|
|
202090
201917
|
return createNewFile(store, filePath, createFileContent({ content: Buffer.from(content, "utf8") }), { mode: "remote" });
|
|
202091
201918
|
}) ?? []);
|
|
202092
|
-
if (workspace?.analytics?.parameters) mergeResults(update, workspace.analytics.parameters.filter(
|
|
201919
|
+
if (workspace?.analytics?.parameters) mergeResults(update, workspace.analytics.parameters.filter(isDeclarativeCodeParameter).map((parameter) => {
|
|
202093
201920
|
const { content, json } = declarativeParameterToYaml(parameter);
|
|
202094
201921
|
const filePath = generateFileName(files, parametersPath, parameter.id, parameter.title);
|
|
202095
201922
|
if (json && content) entitiesLoaded.push({
|