@buynomics-lib/bn-shared 1.18.26 → 1.18.27-feature-ace-989.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/strategy-rules/index.d.ts +4 -0
- package/build/enums/strategy-rules/index.js +12 -0
- package/build/enums/strategy-rules/index.js.map +1 -0
- package/build/enums/strategy-rules/rule-condition-boundary-type.enum.d.ts +6 -0
- package/build/enums/strategy-rules/rule-condition-boundary-type.enum.js +11 -0
- package/build/enums/strategy-rules/rule-condition-boundary-type.enum.js.map +1 -0
- package/build/enums/strategy-rules/rule-condition-value-format.enum.d.ts +4 -0
- package/build/enums/strategy-rules/rule-condition-value-format.enum.js +9 -0
- package/build/enums/strategy-rules/rule-condition-value-format.enum.js.map +1 -0
- package/build/enums/strategy-rules/rule-enforcement.enum.d.ts +4 -0
- package/build/enums/strategy-rules/rule-enforcement.enum.js +9 -0
- package/build/enums/strategy-rules/rule-enforcement.enum.js.map +1 -0
- package/build/enums/strategy-rules/rule-type.enum.d.ts +5 -0
- package/build/enums/strategy-rules/rule-type.enum.js +10 -0
- package/build/enums/strategy-rules/rule-type.enum.js.map +1 -0
- package/build/index.d.ts +4 -2
- package/build/index.js +7 -2
- package/build/index.js.map +1 -1
- package/build/interfaces/scenario-kpis/get-scenario-kpis-filters-params.interface.d.ts +26 -0
- package/build/interfaces/scenario-kpis/get-scenario-kpis-filters-params.interface.js +3 -0
- package/build/interfaces/scenario-kpis/get-scenario-kpis-filters-params.interface.js.map +1 -0
- package/build/interfaces/scenario-kpis/index.d.ts +1 -0
- package/build/interfaces/strategy-rules/index.d.ts +1 -0
- package/build/interfaces/strategy-rules/index.js +3 -0
- package/build/interfaces/strategy-rules/index.js.map +1 -0
- package/build/interfaces/strategy-rules/strategy-rule.interface.d.ts +52 -0
- package/build/interfaces/strategy-rules/strategy-rule.interface.js +3 -0
- package/build/interfaces/strategy-rules/strategy-rule.interface.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RuleConditionValueFormat = exports.RuleConditionBoundaryType = exports.RuleEnforcement = exports.RuleType = void 0;
|
|
4
|
+
var rule_type_enum_1 = require("./rule-type.enum");
|
|
5
|
+
Object.defineProperty(exports, "RuleType", { enumerable: true, get: function () { return rule_type_enum_1.RuleType; } });
|
|
6
|
+
var rule_enforcement_enum_1 = require("./rule-enforcement.enum");
|
|
7
|
+
Object.defineProperty(exports, "RuleEnforcement", { enumerable: true, get: function () { return rule_enforcement_enum_1.RuleEnforcement; } });
|
|
8
|
+
var rule_condition_boundary_type_enum_1 = require("./rule-condition-boundary-type.enum");
|
|
9
|
+
Object.defineProperty(exports, "RuleConditionBoundaryType", { enumerable: true, get: function () { return rule_condition_boundary_type_enum_1.RuleConditionBoundaryType; } });
|
|
10
|
+
var rule_condition_value_format_enum_1 = require("./rule-condition-value-format.enum");
|
|
11
|
+
Object.defineProperty(exports, "RuleConditionValueFormat", { enumerable: true, get: function () { return rule_condition_value_format_enum_1.RuleConditionValueFormat; } });
|
|
12
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/enums/strategy-rules/index.ts"],"names":[],"mappings":";;;AAAA,mDAA2C;AAAlC,0GAAA,QAAQ,OAAA;AACjB,iEAAyD;AAAhD,wHAAA,eAAe,OAAA;AACxB,yFAA+E;AAAtE,8IAAA,yBAAyB,OAAA;AAClC,uFAA6E;AAApE,4IAAA,wBAAwB,OAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RuleConditionBoundaryType = void 0;
|
|
4
|
+
var RuleConditionBoundaryType;
|
|
5
|
+
(function (RuleConditionBoundaryType) {
|
|
6
|
+
RuleConditionBoundaryType["Floor"] = "floor";
|
|
7
|
+
RuleConditionBoundaryType["Ceiling"] = "ceiling";
|
|
8
|
+
RuleConditionBoundaryType["MaxDecrease"] = "maxDecrease";
|
|
9
|
+
RuleConditionBoundaryType["MaxIncrease"] = "maxIncrease";
|
|
10
|
+
})(RuleConditionBoundaryType = exports.RuleConditionBoundaryType || (exports.RuleConditionBoundaryType = {}));
|
|
11
|
+
//# sourceMappingURL=rule-condition-boundary-type.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rule-condition-boundary-type.enum.js","sourceRoot":"","sources":["../../../src/enums/strategy-rules/rule-condition-boundary-type.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,yBAKX;AALD,WAAY,yBAAyB;IACnC,4CAAe,CAAA;IACf,gDAAmB,CAAA;IACnB,wDAA2B,CAAA;IAC3B,wDAA2B,CAAA;AAC7B,CAAC,EALW,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAKpC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RuleConditionValueFormat = void 0;
|
|
4
|
+
var RuleConditionValueFormat;
|
|
5
|
+
(function (RuleConditionValueFormat) {
|
|
6
|
+
RuleConditionValueFormat["Percentage"] = "percentage";
|
|
7
|
+
RuleConditionValueFormat["Absolute"] = "absolute";
|
|
8
|
+
})(RuleConditionValueFormat = exports.RuleConditionValueFormat || (exports.RuleConditionValueFormat = {}));
|
|
9
|
+
//# sourceMappingURL=rule-condition-value-format.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rule-condition-value-format.enum.js","sourceRoot":"","sources":["../../../src/enums/strategy-rules/rule-condition-value-format.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,wBAGX;AAHD,WAAY,wBAAwB;IAClC,qDAAyB,CAAA;IACzB,iDAAqB,CAAA;AACvB,CAAC,EAHW,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAGnC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RuleEnforcement = void 0;
|
|
4
|
+
var RuleEnforcement;
|
|
5
|
+
(function (RuleEnforcement) {
|
|
6
|
+
RuleEnforcement["Soft"] = "soft";
|
|
7
|
+
RuleEnforcement["Hard"] = "hard";
|
|
8
|
+
})(RuleEnforcement = exports.RuleEnforcement || (exports.RuleEnforcement = {}));
|
|
9
|
+
//# sourceMappingURL=rule-enforcement.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rule-enforcement.enum.js","sourceRoot":"","sources":["../../../src/enums/strategy-rules/rule-enforcement.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,eAGX;AAHD,WAAY,eAAe;IACzB,gCAAa,CAAA;IACb,gCAAa,CAAA;AACf,CAAC,EAHW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAG1B"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RuleType = void 0;
|
|
4
|
+
var RuleType;
|
|
5
|
+
(function (RuleType) {
|
|
6
|
+
RuleType["KpiConstraint"] = "kpiConstraint";
|
|
7
|
+
RuleType["PriceConstraint"] = "priceConstraint";
|
|
8
|
+
RuleType["MinimumPriceChange"] = "minimumPriceChange";
|
|
9
|
+
})(RuleType = exports.RuleType || (exports.RuleType = {}));
|
|
10
|
+
//# sourceMappingURL=rule-type.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rule-type.enum.js","sourceRoot":"","sources":["../../../src/enums/strategy-rules/rule-type.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,QAIX;AAJD,WAAY,QAAQ;IAClB,2CAA+B,CAAA;IAC/B,+CAAmC,CAAA;IACnC,qDAAyC,CAAA;AAC3C,CAAC,EAJW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAInB"}
|
package/build/index.d.ts
CHANGED
|
@@ -90,6 +90,8 @@ import { ProductNamingDelimiter } from './enums/product/product-naming-delimiter
|
|
|
90
90
|
import { WidgetType, WidgetPresetAvailability, WidgetChartCategory, WidgetChartSubtype, WidgetChartScenarioMode, WidgetChartAxisValueType, WidgetChartSeriesType, WidgetChartBarLayout, WidgetChartDisplayMode, WidgetChartRankingRule, WidgetChartSortDirection, WidgetTableRowDensity, WidgetTableGroupingFormat, WidgetTableGrandTotalPosition, WidgetTableSortDirection } from './enums/widget';
|
|
91
91
|
import { IWidgetChartConfig, IWidgetChartAxisConfig, IWidgetChartLimitationConfig, IWidgetChartLimitsConfig, IWidgetTableAppearanceConfig, IWidgetTablePresetGridSortItem, IWidgetTablePresetGridState, IWidgetTablePresetDataConfig, IWidgetTablePresetSettings, IWidgetTablePresetConfig, IWidgetPresetUsage } from './interfaces/widget';
|
|
92
92
|
import { ScenarioKpisGroupByOptions } from './enums/scenario-kpis';
|
|
93
|
-
import { IScenarioKpisGroupBy } from './interfaces/scenario-kpis';
|
|
93
|
+
import { IScenarioKpisGroupBy, IGetScenarioKpisFiltersParams } from './interfaces/scenario-kpis';
|
|
94
|
+
import { RuleType, RuleEnforcement, RuleConditionBoundaryType, RuleConditionValueFormat } from './enums/strategy-rules';
|
|
95
|
+
import { IStrategyRule, IStrategyRuleInput, IStrategyRuleScope, IStrategyRuleScopeFilters, IStrategyRuleEnforcement, IRuleConditionBoundary, IRuleConditionBoundaryWithType, IKpiConstraintCondition, IPriceConstraintCondition, IMinimumPriceChangeCondition, StrategyRuleCondition } from './interfaces/strategy-rules';
|
|
94
96
|
import { SystemSpecificKpis, SystemSpecificKpisReferenceIds } from './enums/kpis/system-specific-kpis';
|
|
95
|
-
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, ChangeCostBases, CostChangeTypes, AvailabilityChangeTypes, ClientStatus, ClientIndustry, ValueDriverType, KpiConstraintType, KpiConstraintMode, MechanicParamTypes, MechanicParamReferenceIds, MechanicTypeRelations, PluginType, ProductType, ProductNamingDelimiter, 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, AggregationRule, IAggregationGroup, IAggregationGroupDecimalSettings, IAggregationGroupNumericConfig, ICategoricalAggregationRule, ICategoricalAttributeAggregationRule, INumericBetweenAggregationRule, INumericGreaterThanOrEqualAggregationRule, INumericLessThanAggregationRule, INumericRangeAggregationRule, NumericAggregationRule, IWidgetChartConfig, IWidgetChartAxisConfig, IWidgetChartLimitationConfig, IWidgetChartLimitsConfig, IWidgetTableAppearanceConfig, IWidgetTablePresetGridSortItem, IWidgetTablePresetGridState, IWidgetTablePresetDataConfig, IWidgetTablePresetSettings, IWidgetTablePresetConfig, IWidgetPresetUsage, IScenarioKpisGroupBy, 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, IGroupMetadata, IGroupMetadataAppliedChanges, IGroupMetadataAppliedPpaChange, DefaultClientFeaturesSettings, DefaultClientFeatures, DefaultClientNumberFormattingSettings, WebsocketEvents, ScenarioEventSource, IWebSocketPromoBaselineStatusChangedPayload, KpiVariableFormat, 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, 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, };
|
|
97
|
+
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, ChangeCostBases, CostChangeTypes, AvailabilityChangeTypes, ClientStatus, ClientIndustry, ValueDriverType, KpiConstraintType, KpiConstraintMode, MechanicParamTypes, MechanicParamReferenceIds, MechanicTypeRelations, PluginType, ProductType, ProductNamingDelimiter, 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, AggregationRule, IAggregationGroup, IAggregationGroupDecimalSettings, IAggregationGroupNumericConfig, ICategoricalAggregationRule, ICategoricalAttributeAggregationRule, INumericBetweenAggregationRule, INumericGreaterThanOrEqualAggregationRule, INumericLessThanAggregationRule, INumericRangeAggregationRule, NumericAggregationRule, IWidgetChartConfig, IWidgetChartAxisConfig, IWidgetChartLimitationConfig, IWidgetChartLimitsConfig, IWidgetTableAppearanceConfig, IWidgetTablePresetGridSortItem, IWidgetTablePresetGridState, IWidgetTablePresetDataConfig, IWidgetTablePresetSettings, IWidgetTablePresetConfig, IWidgetPresetUsage, IScenarioKpisGroupBy, IGetScenarioKpisFiltersParams, IStrategyRule, IStrategyRuleInput, IStrategyRuleScope, IStrategyRuleScopeFilters, IStrategyRuleEnforcement, IRuleConditionBoundary, IRuleConditionBoundaryWithType, IKpiConstraintCondition, IPriceConstraintCondition, IMinimumPriceChangeCondition, StrategyRuleCondition, 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, IGroupMetadata, IGroupMetadataAppliedChanges, IGroupMetadataAppliedPpaChange, DefaultClientFeaturesSettings, DefaultClientFeatures, DefaultClientNumberFormattingSettings, WebsocketEvents, ScenarioEventSource, IWebSocketPromoBaselineStatusChangedPayload, KpiVariableFormat, 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, 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, };
|
package/build/index.js
CHANGED
|
@@ -4,8 +4,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.MechanicParamReferenceIds = exports.MechanicParamTypes = exports.KpiConstraintMode = exports.KpiConstraintType = exports.ValueDriverType = exports.ClientIndustry = exports.ClientStatus = exports.AvailabilityChangeTypes = exports.CostChangeTypes = exports.ChangeCostBases = exports.ClientFeatureScope = exports.ClientFeatureState = exports.ClientFeature = exports.ChangeProductPriceBases = exports.ChangePriceBases = exports.PriceChangeTypes = exports.ClientProductPortfolioVersion = exports.ClientNumberFormattingSettingsCurrency = exports.ClientNumberFormattingSettingsMetric = exports.ClientNumberFormattingSettingsNotation = exports.ClientNumberFormattingSettingsStyle = exports.ClientNumberFormattingSettingsGlobalFormat = exports.ClientDuplicationParts = exports.BuynomicsAppVersion = exports.DiscoveryType = exports.CentralSteeringVersion = exports.FittingStatuses = exports.IntermediaryGroupRangeFormats = exports.IntermediaryGroupTypes = exports.ClientTypes = exports.DefaultClientDecimalSettings = exports.ClientDecimalSettings = exports.DefaultClientCLVPriceTypeLabels = exports.ClientCLVPriceTypes = exports.ClientCLVPeriods = exports.DefaultClientTermLabels = exports.ClientTerms = exports.CustomCostFormulaParams = exports.DeeperionModelTypes = exports.DeeperionRequestTypes = exports.DeeperionAppSwitchValues = exports.DeeperionVersions = exports.StaticLevelReferenceIds = exports.PriceLevelTypes = exports.SortableProductFields = exports.ConfigurableProductFields = exports.BnPermissions = exports.NumericAggregationRuleOperator = exports.AggregationGroupType = exports.AggregationGroupMembershipMode = void 0;
|
|
7
|
-
exports.
|
|
8
|
-
exports.WIDGET_PRESET_DESCRIPTION_MAX_LENGTH = exports.WIDGET_PRESET_NAME_MAX_LENGTH = exports.INPUT_VARIABLE_REFERENCE_KPI_REFERENCE_ID_MAX_LENGTH = exports.INPUT_VARIABLE_CUSTOM_ACTION_NAME_MAX_LENGTH = exports.INPUT_VARIABLE_REFERENCE_ID_MAX_LENGTH = exports.INPUT_VARIABLE_DESCRIPTION_MAX_LENGTH = exports.INPUT_VARIABLE_NAME_MAX_LENGTH = exports.FORMULA_PREFIX_FOR_INPUT_VARIABLES = exports.FORMULA_PREFIX_FOR_MEASURING_UNITS = exports.SCENARIO_KPIS_GROUP_BY_MAX_LEVEL = exports.MAX_ACTIVE_OPTIMIZATIONS_LIMIT = exports.DEFAULT_ACTIVE_OPTIMIZATIONS_LIMIT = exports.MeasurementConverter = exports.SystemVariablesReferenceIds = exports.SystemSpecificKpis = exports.SystemSpecificKpisReferenceIds = exports.SystemDerivedKpisReferenceIds = exports.SystemDerivedKpis = exports.SystemScopedKpisReferenceIds = exports.SystemScopedKpis = exports.SystemBaseKpisReferenceIds = exports.SystemKpis = exports.KpiSystemVariables = exports.SystemVariableType = void 0;
|
|
7
|
+
exports.ScenarioEventSource = exports.WebsocketEvents = exports.DefaultClientNumberFormattingSettings = exports.DefaultClientFeatures = exports.DefaultClientFeaturesSettings = exports.ClientViewSettingsPages = exports.getPromotionPeriods = exports.PriceDecisionNullificationHelper = exports.getPropertyName = exports.EnumHelper = exports.isCompactIndianFormatInDecimals = exports.formatNumberToIndianCompactInCrores = exports.getCustomFormulaParamsLabel = exports.getLatestDeeperionVersionValue = exports.getAggregationGroupMembershipMode = exports.calculateRange = exports.RuleConditionValueFormat = exports.RuleConditionBoundaryType = exports.RuleEnforcement = exports.RuleType = exports.TimeDimensionType = exports.ScenarioKpisGroupByOptions = exports.WidgetTableSortDirection = exports.WidgetTableGrandTotalPosition = exports.WidgetTableGroupingFormat = exports.WidgetTableRowDensity = exports.WidgetChartSortDirection = exports.WidgetChartRankingRule = exports.WidgetChartDisplayMode = exports.WidgetChartBarLayout = exports.WidgetChartSeriesType = exports.WidgetChartAxisValueType = exports.WidgetChartScenarioMode = exports.WidgetChartSubtype = exports.WidgetChartCategory = exports.WidgetPresetAvailability = exports.WidgetType = exports.DefaultClientDateSettings = exports.DateWeekStart = exports.DateGranularity = exports.ScenarioStatus = exports.OptimizationSolutionBucket = exports.OptimizationKpis = exports.OptimizationStatus = exports.PromotionOffersCalendarGroupByOptions = exports.PromotionOfferStatus = exports.ProductNamingDelimiter = exports.ProductType = exports.PluginType = exports.MechanicTypeRelations = void 0;
|
|
8
|
+
exports.WIDGET_PRESET_DESCRIPTION_MAX_LENGTH = exports.WIDGET_PRESET_NAME_MAX_LENGTH = exports.INPUT_VARIABLE_REFERENCE_KPI_REFERENCE_ID_MAX_LENGTH = exports.INPUT_VARIABLE_CUSTOM_ACTION_NAME_MAX_LENGTH = exports.INPUT_VARIABLE_REFERENCE_ID_MAX_LENGTH = exports.INPUT_VARIABLE_DESCRIPTION_MAX_LENGTH = exports.INPUT_VARIABLE_NAME_MAX_LENGTH = exports.FORMULA_PREFIX_FOR_INPUT_VARIABLES = exports.FORMULA_PREFIX_FOR_MEASURING_UNITS = exports.SCENARIO_KPIS_GROUP_BY_MAX_LEVEL = exports.MAX_ACTIVE_OPTIMIZATIONS_LIMIT = exports.DEFAULT_ACTIVE_OPTIMIZATIONS_LIMIT = exports.MeasurementConverter = exports.SystemVariablesReferenceIds = exports.SystemSpecificKpis = exports.SystemSpecificKpisReferenceIds = exports.SystemDerivedKpisReferenceIds = exports.SystemDerivedKpis = exports.SystemScopedKpisReferenceIds = exports.SystemScopedKpis = exports.SystemBaseKpisReferenceIds = exports.SystemKpis = exports.KpiSystemVariables = exports.SystemVariableType = exports.KpiConfigType = exports.KpiDisplayStyle = exports.KpiAggregation = exports.KpiVariableFormat = void 0;
|
|
9
9
|
var activeOptimizationsLimit_1 = require("./constants/activeOptimizationsLimit");
|
|
10
10
|
Object.defineProperty(exports, "DEFAULT_ACTIVE_OPTIMIZATIONS_LIMIT", { enumerable: true, get: function () { return activeOptimizationsLimit_1.DEFAULT_ACTIVE_OPTIMIZATIONS_LIMIT; } });
|
|
11
11
|
Object.defineProperty(exports, "MAX_ACTIVE_OPTIMIZATIONS_LIMIT", { enumerable: true, get: function () { return activeOptimizationsLimit_1.MAX_ACTIVE_OPTIMIZATIONS_LIMIT; } });
|
|
@@ -203,6 +203,11 @@ Object.defineProperty(exports, "WidgetTableGrandTotalPosition", { enumerable: tr
|
|
|
203
203
|
Object.defineProperty(exports, "WidgetTableSortDirection", { enumerable: true, get: function () { return widget_1.WidgetTableSortDirection; } });
|
|
204
204
|
var scenario_kpis_1 = require("./enums/scenario-kpis");
|
|
205
205
|
Object.defineProperty(exports, "ScenarioKpisGroupByOptions", { enumerable: true, get: function () { return scenario_kpis_1.ScenarioKpisGroupByOptions; } });
|
|
206
|
+
var strategy_rules_1 = require("./enums/strategy-rules");
|
|
207
|
+
Object.defineProperty(exports, "RuleType", { enumerable: true, get: function () { return strategy_rules_1.RuleType; } });
|
|
208
|
+
Object.defineProperty(exports, "RuleEnforcement", { enumerable: true, get: function () { return strategy_rules_1.RuleEnforcement; } });
|
|
209
|
+
Object.defineProperty(exports, "RuleConditionBoundaryType", { enumerable: true, get: function () { return strategy_rules_1.RuleConditionBoundaryType; } });
|
|
210
|
+
Object.defineProperty(exports, "RuleConditionValueFormat", { enumerable: true, get: function () { return strategy_rules_1.RuleConditionValueFormat; } });
|
|
206
211
|
var system_specific_kpis_1 = require("./enums/kpis/system-specific-kpis");
|
|
207
212
|
Object.defineProperty(exports, "SystemSpecificKpis", { enumerable: true, get: function () { return system_specific_kpis_1.SystemSpecificKpis; } });
|
|
208
213
|
Object.defineProperty(exports, "SystemSpecificKpisReferenceIds", { enumerable: true, get: function () { return system_specific_kpis_1.SystemSpecificKpisReferenceIds; } });
|
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;AAmc3C,mHArcA,6DAAkC,OAqcA;AAClC,+GArcA,yDAA8B,OAqcA;AAnchC,yDAA2E;AAoczE,iHApcO,+CAAgC,OAocP;AAnclC,+DAGoC;AAiclC,mHAncA,oDAAkC,OAmcA;AAClC,mHAncA,oDAAkC,OAmcA;AAjcpC,+EAM4C;AA4b1C,+GAjcA,wDAA8B,OAicA;AAC9B,sHAjcA,+DAAqC,OAicA;AACrC,uHAjcA,gEAAsC,OAicA;AACtC,6HAjcA,sEAA4C,OAicA;AA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
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ProductType } from '../../enums/product/product-type.enum';
|
|
2
|
+
/**
|
|
3
|
+
* The platform's shared data-filter vocabulary. Used by widgets, the promo
|
|
4
|
+
* calendar, discovery and strategy rules — check every one of them before
|
|
5
|
+
* widening this shape for a single surface.
|
|
6
|
+
*/
|
|
7
|
+
export interface IGetScenarioKpisFiltersParams {
|
|
8
|
+
segments?: string[];
|
|
9
|
+
subsegments?: string[];
|
|
10
|
+
salesChannels?: string[];
|
|
11
|
+
aggregationGroups?: {
|
|
12
|
+
[aggregationGroupReferenceId: string]: string[];
|
|
13
|
+
};
|
|
14
|
+
productTypes?: ProductType[];
|
|
15
|
+
dimensions?: {
|
|
16
|
+
time?: {
|
|
17
|
+
startDate: string;
|
|
18
|
+
endDate: string;
|
|
19
|
+
}[];
|
|
20
|
+
year?: string[];
|
|
21
|
+
quarter?: string[];
|
|
22
|
+
month?: string[];
|
|
23
|
+
};
|
|
24
|
+
promoOffer?: string | string[];
|
|
25
|
+
hasPromoOffer?: boolean;
|
|
26
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-scenario-kpis-filters-params.interface.js","sourceRoot":"","sources":["../../../src/interfaces/scenario-kpis/get-scenario-kpis-filters-params.interface.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { IStrategyRule, IStrategyRuleInput, IStrategyRuleScope, IStrategyRuleScopeFilters, IStrategyRuleEnforcement, IRuleConditionBoundary, IRuleConditionBoundaryWithType, IKpiConstraintCondition, IPriceConstraintCondition, IMinimumPriceChangeCondition, StrategyRuleCondition, } from './strategy-rule.interface';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/interfaces/strategy-rules/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { RuleConditionBoundaryType, RuleConditionValueFormat, RuleEnforcement, RuleType } from '../../enums/strategy-rules';
|
|
2
|
+
import { IGetScenarioKpisFiltersParams } from '../scenario-kpis/get-scenario-kpis-filters-params.interface';
|
|
3
|
+
import { IScenarioKpisGroupBy } from '../scenario-kpis/scenario-kpis-group-by.interface';
|
|
4
|
+
/**
|
|
5
|
+
* IStrategyRuleScopeFilters and IGetScenarioKpisFiltersParams are the same today;
|
|
6
|
+
* this alias names the contract so IStrategyRuleScopeFilters can diverge without moving every caller.
|
|
7
|
+
*/
|
|
8
|
+
export type IStrategyRuleScopeFilters = IGetScenarioKpisFiltersParams;
|
|
9
|
+
export interface IStrategyRuleScope {
|
|
10
|
+
filters?: IStrategyRuleScopeFilters;
|
|
11
|
+
includedProducts?: string[];
|
|
12
|
+
excludedProducts?: string[];
|
|
13
|
+
}
|
|
14
|
+
export interface IRuleConditionBoundary {
|
|
15
|
+
value: number;
|
|
16
|
+
valueFormat: RuleConditionValueFormat;
|
|
17
|
+
}
|
|
18
|
+
export interface IRuleConditionBoundaryWithType extends IRuleConditionBoundary {
|
|
19
|
+
type: RuleConditionBoundaryType;
|
|
20
|
+
}
|
|
21
|
+
export interface IKpiConstraintCondition {
|
|
22
|
+
kpiReferenceId: string;
|
|
23
|
+
groupBy: IScenarioKpisGroupBy;
|
|
24
|
+
boundary: IRuleConditionBoundaryWithType;
|
|
25
|
+
}
|
|
26
|
+
export interface IPriceConstraintCondition {
|
|
27
|
+
measuringUnit?: {
|
|
28
|
+
referenceId: string;
|
|
29
|
+
};
|
|
30
|
+
boundary: IRuleConditionBoundaryWithType;
|
|
31
|
+
}
|
|
32
|
+
export interface IMinimumPriceChangeCondition {
|
|
33
|
+
boundary: IRuleConditionBoundary;
|
|
34
|
+
}
|
|
35
|
+
export type StrategyRuleCondition = IKpiConstraintCondition | IPriceConstraintCondition | IMinimumPriceChangeCondition;
|
|
36
|
+
export interface IStrategyRuleEnforcement {
|
|
37
|
+
type: RuleEnforcement;
|
|
38
|
+
}
|
|
39
|
+
export interface IStrategyRuleInput {
|
|
40
|
+
name: string;
|
|
41
|
+
ruleType: RuleType;
|
|
42
|
+
scope?: IStrategyRuleScope;
|
|
43
|
+
condition: StrategyRuleCondition;
|
|
44
|
+
enforcement: IStrategyRuleEnforcement;
|
|
45
|
+
}
|
|
46
|
+
export interface IStrategyRule extends IStrategyRuleInput {
|
|
47
|
+
id: string;
|
|
48
|
+
createdBy: string;
|
|
49
|
+
createdAt: string;
|
|
50
|
+
updatedBy: string | null;
|
|
51
|
+
updatedAt: string | null;
|
|
52
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"strategy-rule.interface.js","sourceRoot":"","sources":["../../../src/interfaces/strategy-rules/strategy-rule.interface.ts"],"names":[],"mappings":""}
|