@buynomics-lib/bn-shared 1.17.64 → 1.17.65-feature-bb-201.1
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/kpis/kpi-system-variables.d.ts +6 -0
- package/build/enums/kpis/kpi-system-variables.js +30 -0
- package/build/enums/kpis/kpi-system-variables.js.map +1 -0
- package/build/enums/kpis/kpi-variable-format.enum.d.ts +5 -0
- package/build/enums/kpis/kpi-variable-format.enum.js +10 -0
- package/build/enums/kpis/kpi-variable-format.enum.js.map +1 -0
- package/build/index.d.ts +3 -1
- package/build/index.js +5 -1
- package/build/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.KpiSystemVariables = void 0;
|
|
4
|
+
exports.KpiSystemVariables = [
|
|
5
|
+
{
|
|
6
|
+
referenceId: 'units',
|
|
7
|
+
name: 'Units',
|
|
8
|
+
description: 'Predicted number of units sold for the product.',
|
|
9
|
+
format: 'numeric',
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
referenceId: 'price',
|
|
13
|
+
name: 'Price',
|
|
14
|
+
description: 'Price used in the prediction.',
|
|
15
|
+
format: 'monetary',
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
referenceId: 'availability',
|
|
19
|
+
name: 'Availability',
|
|
20
|
+
description: 'Total distribution of the product in the market.',
|
|
21
|
+
format: 'percentage',
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
referenceId: 'base_price',
|
|
25
|
+
name: 'Base Price',
|
|
26
|
+
description: 'Price before applying promotional overlays.',
|
|
27
|
+
format: 'monetary',
|
|
28
|
+
},
|
|
29
|
+
];
|
|
30
|
+
//# sourceMappingURL=kpi-system-variables.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kpi-system-variables.js","sourceRoot":"","sources":["../../../src/enums/kpis/kpi-system-variables.ts"],"names":[],"mappings":";;;AAAa,QAAA,kBAAkB,GAAG;IAChC;QACE,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,OAAO;QACb,WAAW,EAAE,iDAAiD;QAC9D,MAAM,EAAE,SAAS;KAClB;IACD;QACE,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,OAAO;QACb,WAAW,EAAE,+BAA+B;QAC5C,MAAM,EAAE,UAAU;KACnB;IACD;QACE,WAAW,EAAE,cAAc;QAC3B,IAAI,EAAE,cAAc;QACpB,WAAW,EAAE,kDAAkD;QAC/D,MAAM,EAAE,YAAY;KACrB;IACD;QACE,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,YAAY;QAClB,WAAW,EAAE,6CAA6C;QAC1D,MAAM,EAAE,UAAU;KACnB;CACF,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.KpiVariableFormat = void 0;
|
|
4
|
+
var KpiVariableFormat;
|
|
5
|
+
(function (KpiVariableFormat) {
|
|
6
|
+
KpiVariableFormat["Numeric"] = "numeric";
|
|
7
|
+
KpiVariableFormat["Percentage"] = "percentage";
|
|
8
|
+
KpiVariableFormat["Monetary"] = "monetary";
|
|
9
|
+
})(KpiVariableFormat = exports.KpiVariableFormat || (exports.KpiVariableFormat = {}));
|
|
10
|
+
//# sourceMappingURL=kpi-variable-format.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kpi-variable-format.enum.js","sourceRoot":"","sources":["../../../src/enums/kpis/kpi-variable-format.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,iBAIX;AAJD,WAAY,iBAAiB;IAC3B,wCAAmB,CAAA;IACnB,8CAAyB,CAAA;IACzB,0CAAqB,CAAA;AACvB,CAAC,EAJW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAI5B"}
|
package/build/index.d.ts
CHANGED
|
@@ -56,4 +56,6 @@ import PriceDecisionNullificationHelper from './helpers/price-decision/price-dec
|
|
|
56
56
|
import { IClientViewSettings } from './interfaces/client-view-settings';
|
|
57
57
|
import { IFileUpload } from './interfaces/file-upload';
|
|
58
58
|
import { ISimulationInputChangeEvents } from './interfaces/simulation/simulation-input-change-events';
|
|
59
|
-
|
|
59
|
+
import { KpiVariableFormat } from './enums/kpis/kpi-variable-format.enum';
|
|
60
|
+
import { KpiSystemVariables } from './enums/kpis/kpi-system-variables';
|
|
61
|
+
export { BnPermissions, ConfigurableProductFields, SortableProductFields, PriceLevelTypes, StaticLevelReferenceIds, DeeperionVersions, DeeperionAppSwitchValues, DeeperionRequestTypes, DeeperionModelTypes, CustomCostFormulaParams, ClientTerms, DefaultClientTermLabels, ClientCLVPeriods, ClientCLVPriceTypes, DefaultClientCLVPriceTypeLabels, ClientDecimalSettings, DefaultClientDecimalSettings, ClientTypes, IntermediaryGroupTypes, IntermediaryGroupRangeFormats, FittingStatuses, CentralSteeringVersion, 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, PromotionOfferStatus, PromotionOffersCalendarGroupByOptions, OptimizationStatus, OptimizationKpis, OptimizationSolutionBucket, ScenarioStatus, DateGranularity, DateWeekStart, ClientDateSettings, DefaultClientDateSettings, ISimulationInputChangeEvents, IFitting, IFittingLog, IFileUpload, IPromotionPeriod, calculateRange, getLatestDeeperionVersionValue, getCustomFormulaParamsLabel, formatNumberToIndianCompactInCrores, isCompactIndianFormatInDecimals, EnumHelper, getPropertyName, PriceDecisionNullificationHelper, getPromotionPeriods, ClientViewSettingsPages, IClientViewSettings, DefaultClientFeaturesSettings, DefaultClientFeatures, DefaultClientNumberFormattingSettings, WebsocketEvents, ScenarioEventSource, KpiVariableFormat, KpiSystemVariables, };
|
package/build/index.js
CHANGED
|
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.OptimizationStatus = exports.PromotionOffersCalendarGroupByOptions = exports.PromotionOfferStatus = exports.MechanicTypeRelations = 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.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 = 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.calculateRange = exports.DefaultClientDateSettings = exports.DateWeekStart = exports.DateGranularity = exports.ScenarioStatus = exports.OptimizationSolutionBucket = exports.OptimizationKpis = void 0;
|
|
7
|
+
exports.KpiSystemVariables = exports.KpiVariableFormat = 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.calculateRange = exports.DefaultClientDateSettings = exports.DateWeekStart = exports.DateGranularity = exports.ScenarioStatus = exports.OptimizationSolutionBucket = exports.OptimizationKpis = void 0;
|
|
8
8
|
var fitting_statuses_1 = require("./domains/fitting/enums/fitting-statuses");
|
|
9
9
|
Object.defineProperty(exports, "FittingStatuses", { enumerable: true, get: function () { return fitting_statuses_1.FittingStatuses; } });
|
|
10
10
|
var intermediary_group_range_formats_1 = require("./domains/pricing/intermediaries/enums/intermediary-group-range-formats");
|
|
@@ -127,4 +127,8 @@ var get_property_name_1 = require("./helpers/get-property-name");
|
|
|
127
127
|
Object.defineProperty(exports, "getPropertyName", { enumerable: true, get: function () { return get_property_name_1.getPropertyName; } });
|
|
128
128
|
var price_decision_helper_1 = __importDefault(require("./helpers/price-decision/price-decision-helper"));
|
|
129
129
|
exports.PriceDecisionNullificationHelper = price_decision_helper_1.default;
|
|
130
|
+
var kpi_variable_format_enum_1 = require("./enums/kpis/kpi-variable-format.enum");
|
|
131
|
+
Object.defineProperty(exports, "KpiVariableFormat", { enumerable: true, get: function () { return kpi_variable_format_enum_1.KpiVariableFormat; } });
|
|
132
|
+
var kpi_system_variables_1 = require("./enums/kpis/kpi-system-variables");
|
|
133
|
+
Object.defineProperty(exports, "KpiSystemVariables", { enumerable: true, get: function () { return kpi_system_variables_1.KpiSystemVariables; } });
|
|
130
134
|
//# sourceMappingURL=index.js.map
|
package/build/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;AAAA,6EAA0E;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;AAAA,6EAA0E;AAgIxE,gGAhIO,kCAAe,OAgIP;AA7HjB,4HAAuH;AA4HrH,8GA5HO,gEAA6B,OA4HP;AA3H/B,4GAAwG;AA0HtG,uGA1HO,iDAAsB,OA0HP;AAzHxB,oFAAoF;AAsLlF,oGAtLO,uCAAmB,OAsLP;AApLrB,mGAA+F;AAkJ7F,wGAlJO,mDAAuB,OAkJP;AAjJzB,6DAAiE;AAyH/D,uGAzHO,yCAAsB,OAyHP;AAxHxB,wEAAuE;AA2HrE,oGA3HO,wCAAmB,OA2HP;AA1HrB,wEAAoE;AA8GlE,iGA9GO,qCAAgB,OA8GP;AA7GlB,gFAG8C;AA2G5C,oGA7GA,4CAAmB,OA6GA;AACnB,gHA7GA,wDAA+B,OA6GA;AA3GjC,kFAG+C;AAyG7C,sGA3GA,+CAAqB,OA2GA;AACrB,6GA3GA,sDAA4B,OA2GA;AAxG9B,oFAAgF;AAiH9E,uGAjHO,iDAAsB,OAiHP;AAhHxB,kEAMuC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