@buynomics-lib/bn-shared 1.18.72-feature-sim-1309.0 → 1.18.73-feature-sim-1349.0
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/build/enums/client/client-terms.d.ts +3 -1
- package/build/enums/client/client-terms.js +2 -0
- package/build/enums/client/client-terms.js.map +1 -1
- package/build/enums/client/client-terms.test.d.ts +1 -0
- package/build/enums/client/client-terms.test.js +12 -0
- package/build/enums/client/client-terms.test.js.map +1 -0
- package/build/enums/scenario-kpis/scenario-kpis-group-by-options.enum.d.ts +2 -1
- package/build/enums/scenario-kpis/scenario-kpis-group-by-options.enum.js +1 -0
- package/build/enums/scenario-kpis/scenario-kpis-group-by-options.enum.js.map +1 -1
- package/build/enums/scenario-kpis/scenario-kpis-group-by-options.enum.test.d.ts +1 -0
- package/build/enums/scenario-kpis/scenario-kpis-group-by-options.enum.test.js +9 -0
- package/build/enums/scenario-kpis/scenario-kpis-group-by-options.enum.test.js.map +1 -0
- package/build/index.d.ts +2 -2
- package/build/index.js.map +1 -1
- package/build/interfaces/scenario-kpis/get-scenario-kpis-filters-params.interface.d.ts +4 -0
- package/build/interfaces/scenario-kpis/index.d.ts +1 -0
- package/build/interfaces/scenario-kpis/scenario-kpis-filter-alternative.interface.d.ts +6 -0
- package/build/interfaces/scenario-kpis/scenario-kpis-filter-alternative.interface.js +3 -0
- package/build/interfaces/scenario-kpis/scenario-kpis-filter-alternative.interface.js.map +1 -0
- package/package.json +1 -1
|
@@ -9,7 +9,8 @@ export declare enum ClientTerms {
|
|
|
9
9
|
PromotionOffer = 8,
|
|
10
10
|
PromotionOfferSlot = 9,
|
|
11
11
|
PromotionOfferTimeSlot = 10,
|
|
12
|
-
PromotionOfferStatus = 11
|
|
12
|
+
PromotionOfferStatus = 11,
|
|
13
|
+
PromotedProductGroup = 12
|
|
13
14
|
}
|
|
14
15
|
export declare const DefaultClientTermLabels: {
|
|
15
16
|
1: string;
|
|
@@ -23,4 +24,5 @@ export declare const DefaultClientTermLabels: {
|
|
|
23
24
|
9: string;
|
|
24
25
|
10: string;
|
|
25
26
|
11: string;
|
|
27
|
+
12: string;
|
|
26
28
|
};
|
|
@@ -15,6 +15,7 @@ var ClientTerms;
|
|
|
15
15
|
ClientTerms[ClientTerms["PromotionOfferSlot"] = 9] = "PromotionOfferSlot";
|
|
16
16
|
ClientTerms[ClientTerms["PromotionOfferTimeSlot"] = 10] = "PromotionOfferTimeSlot";
|
|
17
17
|
ClientTerms[ClientTerms["PromotionOfferStatus"] = 11] = "PromotionOfferStatus";
|
|
18
|
+
ClientTerms[ClientTerms["PromotedProductGroup"] = 12] = "PromotedProductGroup";
|
|
18
19
|
})(ClientTerms = exports.ClientTerms || (exports.ClientTerms = {}));
|
|
19
20
|
exports.DefaultClientTermLabels = (_a = {},
|
|
20
21
|
_a[ClientTerms.Profit] = 'Profit',
|
|
@@ -28,5 +29,6 @@ exports.DefaultClientTermLabels = (_a = {},
|
|
|
28
29
|
_a[ClientTerms.PromotionOfferSlot] = 'Promotion slot',
|
|
29
30
|
_a[ClientTerms.PromotionOfferTimeSlot] = 'Time slot',
|
|
30
31
|
_a[ClientTerms.PromotionOfferStatus] = 'Promotion status',
|
|
32
|
+
_a[ClientTerms.PromotedProductGroup] = 'Promoted product group',
|
|
31
33
|
_a);
|
|
32
34
|
//# sourceMappingURL=client-terms.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client-terms.js","sourceRoot":"","sources":["../../../src/enums/client/client-terms.ts"],"names":[],"mappings":";;;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"file":"client-terms.js","sourceRoot":"","sources":["../../../src/enums/client/client-terms.ts"],"names":[],"mappings":";;;;AAAA,IAAY,WAaX;AAbD,WAAY,WAAW;IACrB,iDAAU,CAAA;IACV,mDAAW,CAAA;IACX,6DAAgB,CAAA;IAChB,iEAAkB,CAAA;IAClB,mEAAmB,CAAA;IACnB,iEAAkB,CAAA;IAClB,uEAAqB,CAAA;IACrB,iEAAkB,CAAA;IAClB,yEAAsB,CAAA;IACtB,kFAA2B,CAAA;IAC3B,8EAAyB,CAAA;IACzB,8EAAyB,CAAA;AAC3B,CAAC,EAbW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAatB;AAEY,QAAA,uBAAuB;IAClC,GAAC,WAAW,CAAC,MAAM,IAAG,QAAQ;IAC9B,GAAC,WAAW,CAAC,OAAO,IAAG,SAAS;IAChC,GAAC,WAAW,CAAC,YAAY,IAAG,cAAc;IAC1C,GAAC,WAAW,CAAC,cAAc,IAAG,iBAAiB;IAC/C,GAAC,WAAW,CAAC,eAAe,IAAG,kBAAkB;IACjD,GAAC,WAAW,CAAC,cAAc,IAAG,gBAAgB;IAC9C,GAAC,WAAW,CAAC,iBAAiB,IAAG,mBAAmB;IACpD,GAAC,WAAW,CAAC,cAAc,IAAG,iBAAiB;IAC/C,GAAC,WAAW,CAAC,kBAAkB,IAAG,gBAAgB;IAClD,GAAC,WAAW,CAAC,sBAAsB,IAAG,WAAW;IACjD,GAAC,WAAW,CAAC,oBAAoB,IAAG,kBAAkB;IACtD,GAAC,WAAW,CAAC,oBAAoB,IAAG,wBAAwB;QAC7D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var client_terms_1 = require("./client-terms");
|
|
4
|
+
describe('ClientTerms', function () {
|
|
5
|
+
it('stores the promoted product group term under the key 12', function () {
|
|
6
|
+
expect(client_terms_1.ClientTerms.PromotedProductGroup).toBe(12);
|
|
7
|
+
});
|
|
8
|
+
it('labels the promoted product group term "Promoted product group" by default', function () {
|
|
9
|
+
expect(client_terms_1.DefaultClientTermLabels[client_terms_1.ClientTerms.PromotedProductGroup]).toBe('Promoted product group');
|
|
10
|
+
});
|
|
11
|
+
});
|
|
12
|
+
//# sourceMappingURL=client-terms.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client-terms.test.js","sourceRoot":"","sources":["../../../src/enums/client/client-terms.test.ts"],"names":[],"mappings":";;AAAA,+CAAqE;AAErE,QAAQ,CAAC,aAAa,EAAE;IACtB,EAAE,CAAC,yDAAyD,EAAE;QAC5D,MAAM,CAAC,0BAAW,CAAC,oBAAoB,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;IACnD,CAAC,CAAC,CAAA;IAEF,EAAE,CAAC,4EAA4E,EAAE;QAC/E,MAAM,CAAC,sCAAuB,CAAC,0BAAW,CAAC,oBAAoB,CAAC,CAAC,CAAC,IAAI,CACpE,wBAAwB,CACzB,CAAA;IACH,CAAC,CAAC,CAAA;AACJ,CAAC,CAAC,CAAA"}
|
|
@@ -11,5 +11,6 @@ export declare enum ScenarioKpisGroupByOptions {
|
|
|
11
11
|
PromoOffer = "promo_offer",
|
|
12
12
|
PromoGroup = "promo_group",
|
|
13
13
|
HasPromoOffer = "has_promo_offer",
|
|
14
|
-
SalesChannelDimension = "sales_channel_dimension"
|
|
14
|
+
SalesChannelDimension = "sales_channel_dimension",
|
|
15
|
+
Ppg = "ppg"
|
|
15
16
|
}
|
|
@@ -16,5 +16,6 @@ var ScenarioKpisGroupByOptions;
|
|
|
16
16
|
ScenarioKpisGroupByOptions["PromoGroup"] = "promo_group";
|
|
17
17
|
ScenarioKpisGroupByOptions["HasPromoOffer"] = "has_promo_offer";
|
|
18
18
|
ScenarioKpisGroupByOptions["SalesChannelDimension"] = "sales_channel_dimension";
|
|
19
|
+
ScenarioKpisGroupByOptions["Ppg"] = "ppg";
|
|
19
20
|
})(ScenarioKpisGroupByOptions = exports.ScenarioKpisGroupByOptions || (exports.ScenarioKpisGroupByOptions = {}));
|
|
20
21
|
//# sourceMappingURL=scenario-kpis-group-by-options.enum.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scenario-kpis-group-by-options.enum.js","sourceRoot":"","sources":["../../../src/enums/scenario-kpis/scenario-kpis-group-by-options.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"file":"scenario-kpis-group-by-options.enum.js","sourceRoot":"","sources":["../../../src/enums/scenario-kpis/scenario-kpis-group-by-options.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,0BAeX;AAfD,WAAY,0BAA0B;IACpC,iDAAmB,CAAA;IACnB,iDAAmB,CAAA;IACnB,uDAAyB,CAAA;IACzB,4DAA8B,CAAA;IAC9B,oEAAsC,CAAA;IACtC,2CAAa,CAAA;IACb,6CAAe,CAAA;IACf,2CAAa,CAAA;IACb,0DAA4B,CAAA;IAC5B,wDAA0B,CAAA;IAC1B,wDAA0B,CAAA;IAC1B,+DAAiC,CAAA;IACjC,+EAAiD,CAAA;IACjD,yCAAW,CAAA;AACb,CAAC,EAfW,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAerC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var scenario_kpis_group_by_options_enum_1 = require("./scenario-kpis-group-by-options.enum");
|
|
4
|
+
describe('ScenarioKpisGroupByOptions', function () {
|
|
5
|
+
it('groups by promoted product group under the value ppg', function () {
|
|
6
|
+
expect(scenario_kpis_group_by_options_enum_1.ScenarioKpisGroupByOptions.Ppg).toBe('ppg');
|
|
7
|
+
});
|
|
8
|
+
});
|
|
9
|
+
//# sourceMappingURL=scenario-kpis-group-by-options.enum.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scenario-kpis-group-by-options.enum.test.js","sourceRoot":"","sources":["../../../src/enums/scenario-kpis/scenario-kpis-group-by-options.enum.test.ts"],"names":[],"mappings":";;AAAA,6FAAkF;AAElF,QAAQ,CAAC,4BAA4B,EAAE;IACrC,EAAE,CAAC,sDAAsD,EAAE;QACzD,MAAM,CAAC,gEAA0B,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;IACpD,CAAC,CAAC,CAAA;AACJ,CAAC,CAAC,CAAA"}
|
package/build/index.d.ts
CHANGED
|
@@ -105,8 +105,8 @@ import { ProductNamingDelimiter } from './enums/product/product-naming-delimiter
|
|
|
105
105
|
import { WidgetType, WidgetPresetAvailability, WidgetChartCategory, WidgetChartSubtype, WidgetChartScenarioMode, WidgetChartAxisValueType, WidgetChartSeriesType, WidgetChartBarLayout, WidgetChartDisplayMode, WidgetChartRankingRule, WidgetChartSortDirection, WidgetTableRowDensity, WidgetTableGroupingFormat, WidgetTableGrandTotalPosition, WidgetTableSortDirection } from './enums/widget';
|
|
106
106
|
import { IWidgetChartConfig, IWidgetChartAxisConfig, IWidgetChartLimitationConfig, IWidgetChartLimitsConfig, IWidgetTableAppearanceConfig, IWidgetTablePresetGridSortItem, IWidgetTablePresetGridState, IWidgetTablePresetDataConfig, IWidgetTablePresetSettings, IWidgetTablePresetConfig, IWidgetPresetUsage } from './interfaces/widget';
|
|
107
107
|
import { ScenarioKpisGroupByOptions } from './enums/scenario-kpis';
|
|
108
|
-
import { IScenarioKpisGroupBy, IGetScenarioKpisFiltersParams, IFilterScope } from './interfaces/scenario-kpis';
|
|
108
|
+
import { IScenarioKpisGroupBy, IGetScenarioKpisFiltersParams, IFilterScope, IScenarioKpisFilterAlternative } from './interfaces/scenario-kpis';
|
|
109
109
|
import { RuleType, RuleEnforcement, RuleConditionBoundaryType, RuleConditionValueFormat, RuleEvaluationErrorCode, RuleSkipReason } from './enums/strategy-rules';
|
|
110
110
|
import { IStrategyRule, IStrategyRuleInput, IStrategyRuleScope, IStrategyRuleScopeFilters, IStrategyRuleEnforcement, IRuleConditionBoundary, IRuleConditionBoundaryWithType, IKpiConstraintCondition, IPriceConstraintCondition, IMinimumPriceChangeCondition, StrategyRuleCondition, ICreateStrategyRulesResponse, IRuleAchievedValue, IRuleAchievedRange, RuleAchieved, IScenarioRuleResult, IScenarioIncompleteRules, IScenarioRuleResults } from './interfaces/strategy-rules';
|
|
111
111
|
import { SystemSpecificKpis, SystemSpecificKpisReferenceIds } from './enums/kpis/system-specific-kpis';
|
|
112
|
-
export { AggregationGroupMembershipMode, AggregationGroupType, NumericAggregationRuleOperator, BnPermissions, ConfigurableProductFields, SortableProductFields, PriceLevelTypes, StaticLevelReferenceIds, DeeperionVersions, DeeperionAppSwitchValues, DeeperionRequestTypes, DeeperionModelTypes, CustomCostFormulaParams, ClientTerms, DefaultClientTermLabels, ClientCLVPeriods, ClientCLVPriceTypes, DefaultClientCLVPriceTypeLabels, ClientDecimalSettings, DefaultClientDecimalSettings, ClientTypes, IntermediaryGroupTypes, IntermediaryGroupRangeFormats, FittingStatuses, CentralSteeringVersion, DiscoveryType, Dimension, DimensionValue, BuynomicsAppVersion, ClientDuplicationParts, ClientNumberFormattingSettingsGlobalFormat, ClientNumberFormattingSettingsStyle, ClientNumberFormattingSettingsNotation, ClientNumberFormattingSettingsMetric, ClientNumberFormattingSettingsCurrency, ClientNumberFormattingSettings, NumberFormat, NumberFormatSettings, ClientProductPortfolioVersion, PriceChangeTypes, ChangePriceBases, ChangeProductPriceBases, ClientFeature, ClientFeatureState, ClientFeatures, ClientFeatureScope, ClientFeaturesSettings, FeatureFlag, FeatureFlags, ChangeCostBases, CostChangeTypes, AvailabilityChangeTypes, ClientStatus, ClientRecalculationStatus, ClientRecalculationType, ClientIndustry, ValueDriverType, KpiConstraintType, KpiConstraintMode, BulkParamChangeOperation, MechanicParamTypes, MechanicParamReferenceIds, MechanicTypeRelations, PluginType, ProductType, ProductNamingDelimiter, PromoOfferActionType, PromotionOfferStatus, PromotionOffersCalendarGroupByOptions, OptimizationStatus, OptimizationKpis, OptimizationSolutionBucket, ScenarioStatus, DateGranularity, DateWeekStart, ClientDateSettings, DefaultClientDateSettings, WidgetType, WidgetPresetAvailability, WidgetChartCategory, WidgetChartSubtype, WidgetChartScenarioMode, WidgetChartAxisValueType, WidgetChartSeriesType, WidgetChartBarLayout, WidgetChartDisplayMode, WidgetChartRankingRule, WidgetChartSortDirection, WidgetTableRowDensity, WidgetTableGroupingFormat, WidgetTableGrandTotalPosition, WidgetTableSortDirection, ScenarioKpisGroupByOptions, TimeDimensionType, RuleType, RuleEnforcement, RuleConditionBoundaryType, RuleConditionValueFormat, RuleEvaluationErrorCode, RuleSkipReason, AggregationRule, IAggregationGroup, IAggregationGroupDependencies, IAggregationGroupDecimalSettings, IAggregationGroupNumericConfig, ICategoricalAggregationRule, ICategoricalAttributeAggregationRule, INumericBetweenAggregationRule, INumericGreaterThanOrEqualAggregationRule, INumericLessThanAggregationRule, INumericRangeAggregationRule, NumericAggregationRule, IWidgetChartConfig, IWidgetChartAxisConfig, IWidgetChartLimitationConfig, IWidgetChartLimitsConfig, IWidgetTableAppearanceConfig, IWidgetTablePresetGridSortItem, IWidgetTablePresetGridState, IWidgetTablePresetDataConfig, IWidgetTablePresetSettings, IWidgetTablePresetConfig, IWidgetPresetUsage, IScenarioKpisGroupBy, IGetScenarioKpisFiltersParams, IFilterScope, IStrategyRule, IStrategyRuleInput, IStrategyRuleScope, IStrategyRuleScopeFilters, IStrategyRuleEnforcement, IRuleConditionBoundary, IRuleConditionBoundaryWithType, IKpiConstraintCondition, IPriceConstraintCondition, IMinimumPriceChangeCondition, StrategyRuleCondition, ICreateStrategyRulesResponse, IRuleAchievedValue, IRuleAchievedRange, RuleAchieved, IScenarioRuleResult, IScenarioIncompleteRules, IScenarioRuleResults, ISimulationInputChangeEvents, IFitting, IFittingLog, IFileUpload, IPromotionPeriod, PluginConfigFieldType, IPluginConfigField, IPluginNavigation, IPluginManifest, PluginConfigValue, PluginVersionPin, IClientPluginMenuSetting, IClientPluginSetting, ClientPlugins, IPluginCatalogEntry, IPluginContextV1, IPluginModule, calculateRange, getAggregationGroupMembershipMode, getLatestDeeperionVersionValue, getCustomFormulaParamsLabel, formatNumberToIndianCompactInCrores, isCompactIndianFormatInDecimals, EnumHelper, getPropertyName, PriceDecisionNullificationHelper, getPromotionPeriods, ClientViewSettingsPages, IClientViewSettings, IClientRecalculationStateEntry, IRulesRecalculationState, IClientRecalculationState, IGroupMetadata, IGroupMetadataAppliedChanges, IGroupMetadataAppliedPpaChange, IActionDiscoveryAvailabilityChange, IActionDiscoveryAvailabilityLever, IActionDiscoveryAvailabilityVariant, IActionDiscoveryGroupChanges, IActionDiscoveryMatrixEntry, IActionDiscoveryPpaChange, IActionDiscoveryPriceChange, IActionDiscoveryPriceLever, IActionDiscoveryPriceVariant, PpaMode, DefaultClientFeaturesSettings, DefaultClientFeatures, DefaultClientNumberFormattingSettings, WebsocketEvents, ScenarioEventSource, IWebSocketPromoBaselineStatusChangedPayload, IWebSocketClientRecalculationStatusChangedPayload, KpiVariableFormat, InputVariableDefaultRole, InputVariableDefaultRoleFormat, KpiAggregation, KpiDisplayStyle, KpiConfigType, SystemVariableType, KpiSystemVariables, SystemKpis, SystemBaseKpisReferenceIds, SystemScopedKpis, SystemScopedKpisReferenceIds, SystemDerivedKpis, SystemDerivedKpisReferenceIds, SystemSpecificKpisReferenceIds, SystemSpecificKpis, SystemVariablesReferenceIds, ISystemKpiBase, ISystemKpi, ISystemScopedKpi, ISystemVariable, IKpiDisplaySettings, IScopedKpiScope, TimePeriod, MeasurementConverter, DEFAULT_ACTIVE_OPTIMIZATIONS_LIMIT, MAX_ACTIVE_OPTIMIZATIONS_LIMIT, DEFAULT_AGGREGATION_FALLBACK_LABEL_MANUAL, DEFAULT_AGGREGATION_FALLBACK_LABEL_NOT_MANUAL, ENRICHMENT_DEFAULT_AGGREGATION_REFERENCE_ID, NOT_PROVIDED_AGGREGATION_REFERENCE_ID, SALES_CHANNEL_DIMENSION_FALLBACK_REFERENCE_ID, SALES_CHANNEL_DIMENSION_FALLBACK_SORT_ORDER, SALES_CHANNEL_DIMENSION_MIN_VALUES, SALES_CHANNEL_DIMENSION_NAME_MAX_LENGTH, getAggregationFallbackLabel, getAggregationFallbackReferenceId, buildAggregationFallbackReferenceIds, SCENARIO_KPIS_GROUP_BY_MAX_LEVEL, FORMULA_PREFIX_FOR_MEASURING_UNITS, FORMULA_PREFIX_FOR_INPUT_VARIABLES, INPUT_VARIABLE_NAME_MAX_LENGTH, INPUT_VARIABLE_DESCRIPTION_MAX_LENGTH, INPUT_VARIABLE_REFERENCE_ID_MAX_LENGTH, INPUT_VARIABLE_CUSTOM_ACTION_NAME_MAX_LENGTH, INPUT_VARIABLE_REFERENCE_KPI_REFERENCE_ID_MAX_LENGTH, WIDGET_PRESET_NAME_MAX_LENGTH, WIDGET_PRESET_DESCRIPTION_MAX_LENGTH, DISCOVERY_REPORT_MAX_SOLUTIONS, };
|
|
112
|
+
export { AggregationGroupMembershipMode, AggregationGroupType, NumericAggregationRuleOperator, BnPermissions, ConfigurableProductFields, SortableProductFields, PriceLevelTypes, StaticLevelReferenceIds, DeeperionVersions, DeeperionAppSwitchValues, DeeperionRequestTypes, DeeperionModelTypes, CustomCostFormulaParams, ClientTerms, DefaultClientTermLabels, ClientCLVPeriods, ClientCLVPriceTypes, DefaultClientCLVPriceTypeLabels, ClientDecimalSettings, DefaultClientDecimalSettings, ClientTypes, IntermediaryGroupTypes, IntermediaryGroupRangeFormats, FittingStatuses, CentralSteeringVersion, DiscoveryType, Dimension, DimensionValue, BuynomicsAppVersion, ClientDuplicationParts, ClientNumberFormattingSettingsGlobalFormat, ClientNumberFormattingSettingsStyle, ClientNumberFormattingSettingsNotation, ClientNumberFormattingSettingsMetric, ClientNumberFormattingSettingsCurrency, ClientNumberFormattingSettings, NumberFormat, NumberFormatSettings, ClientProductPortfolioVersion, PriceChangeTypes, ChangePriceBases, ChangeProductPriceBases, ClientFeature, ClientFeatureState, ClientFeatures, ClientFeatureScope, ClientFeaturesSettings, FeatureFlag, FeatureFlags, ChangeCostBases, CostChangeTypes, AvailabilityChangeTypes, ClientStatus, ClientRecalculationStatus, ClientRecalculationType, ClientIndustry, ValueDriverType, KpiConstraintType, KpiConstraintMode, BulkParamChangeOperation, MechanicParamTypes, MechanicParamReferenceIds, MechanicTypeRelations, PluginType, ProductType, ProductNamingDelimiter, PromoOfferActionType, PromotionOfferStatus, PromotionOffersCalendarGroupByOptions, OptimizationStatus, OptimizationKpis, OptimizationSolutionBucket, ScenarioStatus, DateGranularity, DateWeekStart, ClientDateSettings, DefaultClientDateSettings, WidgetType, WidgetPresetAvailability, WidgetChartCategory, WidgetChartSubtype, WidgetChartScenarioMode, WidgetChartAxisValueType, WidgetChartSeriesType, WidgetChartBarLayout, WidgetChartDisplayMode, WidgetChartRankingRule, WidgetChartSortDirection, WidgetTableRowDensity, WidgetTableGroupingFormat, WidgetTableGrandTotalPosition, WidgetTableSortDirection, ScenarioKpisGroupByOptions, TimeDimensionType, RuleType, RuleEnforcement, RuleConditionBoundaryType, RuleConditionValueFormat, RuleEvaluationErrorCode, RuleSkipReason, AggregationRule, IAggregationGroup, IAggregationGroupDependencies, IAggregationGroupDecimalSettings, IAggregationGroupNumericConfig, ICategoricalAggregationRule, ICategoricalAttributeAggregationRule, INumericBetweenAggregationRule, INumericGreaterThanOrEqualAggregationRule, INumericLessThanAggregationRule, INumericRangeAggregationRule, NumericAggregationRule, IWidgetChartConfig, IWidgetChartAxisConfig, IWidgetChartLimitationConfig, IWidgetChartLimitsConfig, IWidgetTableAppearanceConfig, IWidgetTablePresetGridSortItem, IWidgetTablePresetGridState, IWidgetTablePresetDataConfig, IWidgetTablePresetSettings, IWidgetTablePresetConfig, IWidgetPresetUsage, IScenarioKpisGroupBy, IGetScenarioKpisFiltersParams, IFilterScope, IScenarioKpisFilterAlternative, IStrategyRule, IStrategyRuleInput, IStrategyRuleScope, IStrategyRuleScopeFilters, IStrategyRuleEnforcement, IRuleConditionBoundary, IRuleConditionBoundaryWithType, IKpiConstraintCondition, IPriceConstraintCondition, IMinimumPriceChangeCondition, StrategyRuleCondition, ICreateStrategyRulesResponse, IRuleAchievedValue, IRuleAchievedRange, RuleAchieved, IScenarioRuleResult, IScenarioIncompleteRules, IScenarioRuleResults, ISimulationInputChangeEvents, IFitting, IFittingLog, IFileUpload, IPromotionPeriod, PluginConfigFieldType, IPluginConfigField, IPluginNavigation, IPluginManifest, PluginConfigValue, PluginVersionPin, IClientPluginMenuSetting, IClientPluginSetting, ClientPlugins, IPluginCatalogEntry, IPluginContextV1, IPluginModule, calculateRange, getAggregationGroupMembershipMode, getLatestDeeperionVersionValue, getCustomFormulaParamsLabel, formatNumberToIndianCompactInCrores, isCompactIndianFormatInDecimals, EnumHelper, getPropertyName, PriceDecisionNullificationHelper, getPromotionPeriods, ClientViewSettingsPages, IClientViewSettings, IClientRecalculationStateEntry, IRulesRecalculationState, IClientRecalculationState, IGroupMetadata, IGroupMetadataAppliedChanges, IGroupMetadataAppliedPpaChange, IActionDiscoveryAvailabilityChange, IActionDiscoveryAvailabilityLever, IActionDiscoveryAvailabilityVariant, IActionDiscoveryGroupChanges, IActionDiscoveryMatrixEntry, IActionDiscoveryPpaChange, IActionDiscoveryPriceChange, IActionDiscoveryPriceLever, IActionDiscoveryPriceVariant, PpaMode, DefaultClientFeaturesSettings, DefaultClientFeatures, DefaultClientNumberFormattingSettings, WebsocketEvents, ScenarioEventSource, IWebSocketPromoBaselineStatusChangedPayload, IWebSocketClientRecalculationStatusChangedPayload, KpiVariableFormat, InputVariableDefaultRole, InputVariableDefaultRoleFormat, KpiAggregation, KpiDisplayStyle, KpiConfigType, SystemVariableType, KpiSystemVariables, SystemKpis, SystemBaseKpisReferenceIds, SystemScopedKpis, SystemScopedKpisReferenceIds, SystemDerivedKpis, SystemDerivedKpisReferenceIds, SystemSpecificKpisReferenceIds, SystemSpecificKpis, SystemVariablesReferenceIds, ISystemKpiBase, ISystemKpi, ISystemScopedKpi, ISystemVariable, IKpiDisplaySettings, IScopedKpiScope, TimePeriod, MeasurementConverter, DEFAULT_ACTIVE_OPTIMIZATIONS_LIMIT, MAX_ACTIVE_OPTIMIZATIONS_LIMIT, DEFAULT_AGGREGATION_FALLBACK_LABEL_MANUAL, DEFAULT_AGGREGATION_FALLBACK_LABEL_NOT_MANUAL, ENRICHMENT_DEFAULT_AGGREGATION_REFERENCE_ID, NOT_PROVIDED_AGGREGATION_REFERENCE_ID, SALES_CHANNEL_DIMENSION_FALLBACK_REFERENCE_ID, SALES_CHANNEL_DIMENSION_FALLBACK_SORT_ORDER, SALES_CHANNEL_DIMENSION_MIN_VALUES, SALES_CHANNEL_DIMENSION_NAME_MAX_LENGTH, getAggregationFallbackLabel, getAggregationFallbackReferenceId, buildAggregationFallbackReferenceIds, SCENARIO_KPIS_GROUP_BY_MAX_LEVEL, FORMULA_PREFIX_FOR_MEASURING_UNITS, FORMULA_PREFIX_FOR_INPUT_VARIABLES, INPUT_VARIABLE_NAME_MAX_LENGTH, INPUT_VARIABLE_DESCRIPTION_MAX_LENGTH, INPUT_VARIABLE_REFERENCE_ID_MAX_LENGTH, INPUT_VARIABLE_CUSTOM_ACTION_NAME_MAX_LENGTH, INPUT_VARIABLE_REFERENCE_KPI_REFERENCE_ID_MAX_LENGTH, WIDGET_PRESET_NAME_MAX_LENGTH, WIDGET_PRESET_DESCRIPTION_MAX_LENGTH, DISCOVERY_REPORT_MAX_SOLUTIONS, };
|
package/build/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;AAAA,iFAG6C;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;AAAA,iFAG6C;AAiiB3C,mHAniBA,6DAAkC,OAmiBA;AAClC,+GAniBA,yDAA8B,OAmiBA;AAjiBhC,uEAKwC;AA6hBtC,0HAjiBA,+DAAyC,OAiiBA;AACzC,8HAjiBA,mEAA6C,OAiiBA;AAC7C,4HAjiBA,iEAA2C,OAiiBA;AAC3C,sHAjiBA,2DAAqC,OAiiBA;AA/hBvC,6EAK2C;A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TA;AA9S7B,sEAGwC;AAqStC,iGAvSA,qCAAgB,OAuSA;AAChB,6GAvSA,iDAA4B,OAuSA;AA5R9B,wEAAoE;AAuKlE,kGAvKO,uCAAiB,OAuKP;AAtKnB,uEAA+D;AAyI7D,4FAzIO,+BAAW,OAyIP;AAxIb,+FAAsF;AAyIpF,uGAzIO,sDAAsB,OAyIP;AAxIxB,yCAgBuB;AAoIrB,2FAnJA,mBAAU,OAmJA;AACV,yGAnJA,iCAAwB,OAmJA;AACxB,oGAnJA,4BAAmB,OAmJA;AACnB,mGAnJA,2BAAkB,OAmJA;AAClB,wGAnJA,gCAAuB,OAmJA;AACvB,yGAnJA,iCAAwB,OAmJA;AACxB,sGAnJA,8BAAqB,OAmJA;AACrB,qGAnJA,6BAAoB,OAmJA;AACpB,uGAnJA,+BAAsB,OAmJA;AACtB,uGAnJA,+BAAsB,OAmJA;AACtB,yGAnJA,iCAAwB,OAmJA;AACxB,sGAnJA,8BAAqB,OAmJA;AACrB,0GAnJA,kCAAyB,OAmJA;AACzB,8GAnJA,sCAA6B,OAmJA;AAC7B,yGAnJA,iCAAwB,OAmJA;AApI1B,uDAAkE;AAqIhE,2GArIO,0CAA0B,OAqIP;AA9H5B,yDAO+B;AAyH7B,yFA/HA,yBAAQ,OA+HA;AACR,gGA/HA,gCAAe,OA+HA;AACf,0GA/HA,0CAAyB,OA+HA;AACzB,yGA/HA,yCAAwB,OA+HA;AACxB,wGA/HA,wCAAuB,OA+HA;AACvB,+FA/HA,+BAAc,OA+HA;AAzGhB,0EAG0C;AAyNxC,mGA3NA,yCAAkB,OA2NA;AADlB,+GAzNA,qDAA8B,OAyNA"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ProductType } from '../../enums/product/product-type.enum';
|
|
2
|
+
import { IScenarioKpisFilterAlternative } from './scenario-kpis-filter-alternative.interface';
|
|
2
3
|
/**
|
|
3
4
|
* The platform's shared data-filter vocabulary. Used by widgets, the promo
|
|
4
5
|
* calendar, discovery and strategy rules — check every one of them before
|
|
@@ -26,4 +27,7 @@ export interface IGetScenarioKpisFiltersParams {
|
|
|
26
27
|
};
|
|
27
28
|
promoOffer?: string | string[];
|
|
28
29
|
hasPromoOffer?: boolean;
|
|
30
|
+
ppgReferenceIds?: string[];
|
|
31
|
+
hasPpg?: boolean;
|
|
32
|
+
anyOf?: IScenarioKpisFilterAlternative[];
|
|
29
33
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export { IScenarioKpisGroupBy } from './scenario-kpis-group-by.interface';
|
|
2
2
|
export { IGetScenarioKpisFiltersParams } from './get-scenario-kpis-filters-params.interface';
|
|
3
3
|
export { IFilterScope } from './filter-scope.interface';
|
|
4
|
+
export { IScenarioKpisFilterAlternative } from './scenario-kpis-filter-alternative.interface';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { IGetScenarioKpisFiltersParams } from './get-scenario-kpis-filters-params.interface';
|
|
2
|
+
/**
|
|
3
|
+
* One alternative inside `anyOf`: rows matching any alternative are kept.
|
|
4
|
+
* Alternatives cannot nest another `anyOf`.
|
|
5
|
+
*/
|
|
6
|
+
export type IScenarioKpisFilterAlternative = Omit<IGetScenarioKpisFiltersParams, 'anyOf'>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scenario-kpis-filter-alternative.interface.js","sourceRoot":"","sources":["../../../src/interfaces/scenario-kpis/scenario-kpis-filter-alternative.interface.ts"],"names":[],"mappings":""}
|
package/package.json
CHANGED