@buynomics-lib/bn-shared 1.18.17-feature-ace-890.2 → 1.18.17-feature-ace-890.3
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/index.d.ts
CHANGED
|
@@ -67,7 +67,7 @@ import { formatNumberToIndianCompactInCrores, isCompactIndianFormatInDecimals }
|
|
|
67
67
|
import { getPropertyName } from './helpers/get-property-name';
|
|
68
68
|
import PriceDecisionNullificationHelper from './helpers/price-decision/price-decision-helper';
|
|
69
69
|
import { getAggregationGroupMembershipMode } from './helpers/get-aggregation-group-membership-mode';
|
|
70
|
-
import { AggregationRule, IAggregationGroup, IAggregationGroupNumericConfig, ICategoricalAggregationRule,
|
|
70
|
+
import { AggregationRule, IAggregationGroup, IAggregationGroupNumericConfig, ICategoricalAggregationRule, INumericBetweenAggregationRule, INumericThresholdAggregationRule, NumericAggregationRule } from './interfaces/aggregation-group/aggregation-group.interface';
|
|
71
71
|
import { IClientViewSettings } from './interfaces/client-view-settings';
|
|
72
72
|
import { IFileUpload } from './interfaces/file-upload';
|
|
73
73
|
import { ISimulationInputChangeEvents } from './interfaces/simulation/simulation-input-change-events';
|
|
@@ -86,4 +86,4 @@ import { IWidgetChartConfig, IWidgetChartAxisConfig, IWidgetChartLimitationConfi
|
|
|
86
86
|
import { ScenarioKpisGroupByOptions } from './enums/scenario-kpis';
|
|
87
87
|
import { IScenarioKpisGroupBy } from './interfaces/scenario-kpis';
|
|
88
88
|
import { SystemSpecificKpis, SystemSpecificKpisReferenceIds } from './enums/kpis/system-specific-kpis';
|
|
89
|
-
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, 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, IAggregationGroupNumericConfig, ICategoricalAggregationRule,
|
|
89
|
+
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, 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, IAggregationGroupNumericConfig, ICategoricalAggregationRule, INumericBetweenAggregationRule, INumericThresholdAggregationRule, NumericAggregationRule, IWidgetChartConfig, IWidgetChartAxisConfig, IWidgetChartLimitationConfig, IWidgetChartLimitsConfig, IWidgetTableAppearanceConfig, IWidgetTablePresetGridSortItem, IWidgetTablePresetGridState, IWidgetTablePresetDataConfig, IWidgetTablePresetSettings, IWidgetTablePresetConfig, IWidgetPresetUsage, IScenarioKpisGroupBy, ISimulationInputChangeEvents, IFitting, IFittingLog, IFileUpload, IPromotionPeriod, calculateRange, getAggregationGroupMembershipMode, getLatestDeeperionVersionValue, getCustomFormulaParamsLabel, formatNumberToIndianCompactInCrores, isCompactIndianFormatInDecimals, EnumHelper, getPropertyName, PriceDecisionNullificationHelper, getPromotionPeriods, ClientViewSettingsPages, IClientViewSettings, 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.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;AAA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A;AACxB,sGA3GA,8BAAqB,OA2GA;AACrB,0GA3GA,kCAAyB,OA2GA;AACzB,8GA3GA,sCAA6B,OA2GA;AAC7B,yGA3GA,iCAAwB,OA2GA;AA5F1B,uDAAkE;AA6FhE,2GA7FO,0CAA0B,OA6FP;AA3F5B,0EAG0C;AAmJxC,mGArJA,yCAAkB,OAqJA;AADlB,+GAnJA,qDAA8B,OAmJA"}
|
|
@@ -4,14 +4,19 @@ export interface ICategoricalAggregationRule {
|
|
|
4
4
|
label: string;
|
|
5
5
|
in: string[];
|
|
6
6
|
}
|
|
7
|
-
export interface
|
|
7
|
+
export interface INumericBetweenAggregationRule {
|
|
8
8
|
label: string;
|
|
9
|
-
operator: NumericAggregationRuleOperator;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
max?: number;
|
|
9
|
+
operator: NumericAggregationRuleOperator.Between;
|
|
10
|
+
min: number;
|
|
11
|
+
max: number;
|
|
13
12
|
}
|
|
14
|
-
export
|
|
13
|
+
export interface INumericThresholdAggregationRule {
|
|
14
|
+
label: string;
|
|
15
|
+
operator: NumericAggregationRuleOperator.LessThan | NumericAggregationRuleOperator.GreaterThanOrEqual;
|
|
16
|
+
value: number;
|
|
17
|
+
}
|
|
18
|
+
export type NumericAggregationRule = INumericBetweenAggregationRule | INumericThresholdAggregationRule;
|
|
19
|
+
export type AggregationRule = ICategoricalAggregationRule | NumericAggregationRule;
|
|
15
20
|
export interface IAggregationGroupNumericConfig {
|
|
16
21
|
unit: string;
|
|
17
22
|
precision: number;
|
package/package.json
CHANGED