@buynomics-lib/bn-shared 1.17.2-feature-nx64-1529.0 → 1.17.2-feature-nx64-1529.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.
@@ -1,2 +1,3 @@
1
+ import { KpiConstraintType } from './kpi-constraint-type';
1
2
  import { OptimizationStatus } from './optimization-status';
2
- export { OptimizationStatus };
3
+ export { KpiConstraintType, OptimizationStatus };
@@ -1,6 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.OptimizationStatus = void 0;
3
+ exports.OptimizationStatus = exports.KpiConstraintType = void 0;
4
+ var kpi_constraint_type_1 = require("./kpi-constraint-type");
5
+ Object.defineProperty(exports, "KpiConstraintType", { enumerable: true, get: function () { return kpi_constraint_type_1.KpiConstraintType; } });
4
6
  var optimization_status_1 = require("./optimization-status");
5
7
  Object.defineProperty(exports, "OptimizationStatus", { enumerable: true, get: function () { return optimization_status_1.OptimizationStatus; } });
6
8
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/enums/optimization/index.ts"],"names":[],"mappings":";;;AAAA,6DAA0D;AAEjD,mGAFA,wCAAkB,OAEA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/enums/optimization/index.ts"],"names":[],"mappings":";;;AAAA,6DAAyD;AAGhD,kGAHA,uCAAiB,OAGA;AAF1B,6DAA0D;AAE9B,mGAFnB,wCAAkB,OAEmB"}
@@ -0,0 +1,4 @@
1
+ export declare enum KpiConstraintType {
2
+ AbsoluteDecrease = "absoluteDecrease",
3
+ RelativeDecrease = "relativeDecrease"
4
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.KpiConstraintType = void 0;
4
+ var KpiConstraintType;
5
+ (function (KpiConstraintType) {
6
+ KpiConstraintType["AbsoluteDecrease"] = "absoluteDecrease";
7
+ KpiConstraintType["RelativeDecrease"] = "relativeDecrease";
8
+ })(KpiConstraintType = exports.KpiConstraintType || (exports.KpiConstraintType = {}));
9
+ //# sourceMappingURL=kpi-constraint-type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kpi-constraint-type.js","sourceRoot":"","sources":["../../../src/enums/optimization/kpi-constraint-type.ts"],"names":[],"mappings":";;;AAAA,IAAY,iBAGX;AAHD,WAAY,iBAAiB;IAC3B,0DAAqC,CAAA;IACrC,0DAAqC,CAAA;AACvC,CAAC,EAHW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAG5B"}
package/build/index.d.ts CHANGED
@@ -22,7 +22,7 @@ import { ClientViewSettingsPages } from './enums/client/client-view-settings';
22
22
  import { ChangeCostBases } from './enums/cost-change/change-cost-bases';
23
23
  import { CostChangeTypes } from './enums/cost-change/cost-change-types';
24
24
  import { DeeperionVersions, DeeperionAppSwitchValues, DeeperionRequestTypes, DeeperionModelTypes } from './enums/deeperion';
25
- import { OptimizationStatus } from './enums/optimization';
25
+ import { KpiConstraintType, OptimizationStatus } from './enums/optimization';
26
26
  import { BnPermissions } from './enums/permissions';
27
27
  import { ChangePriceBases } from './enums/price-change/change-price-bases';
28
28
  import { PriceChangeTypes } from './enums/price-change/price-change-types';
@@ -44,4 +44,4 @@ import PriceDecisionNullificationHelper from './helpers/price-decision/price-dec
44
44
  import { IClientViewSettings } from './interfaces/client-view-settings';
45
45
  import { IFileUpload } from './interfaces/file-upload';
46
46
  import { ISimulationInputChangeEvents } from './interfaces/simulation/simulation-input-change-events';
47
- export { BnPermissions, ConfigurableProductFields, SortableProductFields, PriceLevelTypes, DeeperionVersions, DeeperionAppSwitchValues, DeeperionRequestTypes, DeeperionModelTypes, CustomCostFormulaParams, ClientTerms, DefaultClientTermLabels, ClientCLVPeriods, ClientCLVPriceTypes, DefaultClientCLVPriceTypeLabels, ClientDecimalSettings, DefaultClientDecimalSettings, ClientTypes, IntermediaryGroupTypes, IntermediaryGroupRangeFormats, FittingStatuses, CentralSteeringVersion, Dimension, DimensionValue, BuynomicsAppVersion, ClientDuplicationParts, PriceChangeTypes, ChangePriceBases, ChangeProductPriceBases, ClientFeature, ClientFeatureState, ClientFeatures, ClientFeatureScope, ClientFeaturesSettings, ChangeCostBases, CostChangeTypes, AvailabilityChangeTypes, ClientStatus, ClientIndustry, ValueDriverType, OptimizationStatus, ISimulationInputChangeEvents, IFitting, IFittingLog, IFileUpload, IPromotionPeriod, calculateRange, JSONFormulaToExpression, expressionToJSONFormula, getLatestDeeperionVersionValue, getCustomFormulaParamsLabel, EnumHelper, getPropertyName, PriceDecisionNullificationHelper, FormulaValidator, FormulaConverter, getPromotionPeriods, ClientViewSettingsPages, IClientViewSettings, DefaultClientFeaturesSettings, };
47
+ export { BnPermissions, ConfigurableProductFields, SortableProductFields, PriceLevelTypes, DeeperionVersions, DeeperionAppSwitchValues, DeeperionRequestTypes, DeeperionModelTypes, CustomCostFormulaParams, ClientTerms, DefaultClientTermLabels, ClientCLVPeriods, ClientCLVPriceTypes, DefaultClientCLVPriceTypeLabels, ClientDecimalSettings, DefaultClientDecimalSettings, ClientTypes, IntermediaryGroupTypes, IntermediaryGroupRangeFormats, FittingStatuses, CentralSteeringVersion, Dimension, DimensionValue, BuynomicsAppVersion, ClientDuplicationParts, PriceChangeTypes, ChangePriceBases, ChangeProductPriceBases, ClientFeature, ClientFeatureState, ClientFeatures, ClientFeatureScope, ClientFeaturesSettings, ChangeCostBases, CostChangeTypes, AvailabilityChangeTypes, ClientStatus, ClientIndustry, ValueDriverType, KpiConstraintType, OptimizationStatus, ISimulationInputChangeEvents, IFitting, IFittingLog, IFileUpload, IPromotionPeriod, calculateRange, JSONFormulaToExpression, expressionToJSONFormula, getLatestDeeperionVersionValue, getCustomFormulaParamsLabel, EnumHelper, getPropertyName, PriceDecisionNullificationHelper, FormulaValidator, FormulaConverter, getPromotionPeriods, ClientViewSettingsPages, IClientViewSettings, DefaultClientFeaturesSettings, };
package/build/index.js CHANGED
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.DefaultClientFeaturesSettings = exports.ClientViewSettingsPages = exports.getPromotionPeriods = exports.FormulaConverter = exports.FormulaValidator = exports.PriceDecisionNullificationHelper = exports.getPropertyName = exports.EnumHelper = exports.getCustomFormulaParamsLabel = exports.getLatestDeeperionVersionValue = exports.expressionToJSONFormula = exports.JSONFormulaToExpression = exports.calculateRange = exports.OptimizationStatus = 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.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.PriceLevelTypes = exports.SortableProductFields = exports.ConfigurableProductFields = exports.BnPermissions = void 0;
6
+ exports.DefaultClientFeaturesSettings = exports.ClientViewSettingsPages = exports.getPromotionPeriods = exports.FormulaConverter = exports.FormulaValidator = exports.PriceDecisionNullificationHelper = exports.getPropertyName = exports.EnumHelper = exports.getCustomFormulaParamsLabel = exports.getLatestDeeperionVersionValue = exports.expressionToJSONFormula = exports.JSONFormulaToExpression = exports.calculateRange = exports.OptimizationStatus = 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.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.PriceLevelTypes = exports.SortableProductFields = exports.ConfigurableProductFields = exports.BnPermissions = void 0;
7
7
  var fitting_statuses_1 = require("./domains/fitting/enums/fitting-statuses");
8
8
  Object.defineProperty(exports, "FittingStatuses", { enumerable: true, get: function () { return fitting_statuses_1.FittingStatuses; } });
9
9
  var intermediary_group_range_formats_1 = require("./domains/pricing/intermediaries/enums/intermediary-group-range-formats");
@@ -53,6 +53,7 @@ Object.defineProperty(exports, "DeeperionAppSwitchValues", { enumerable: true, g
53
53
  Object.defineProperty(exports, "DeeperionRequestTypes", { enumerable: true, get: function () { return deeperion_1.DeeperionRequestTypes; } });
54
54
  Object.defineProperty(exports, "DeeperionModelTypes", { enumerable: true, get: function () { return deeperion_1.DeeperionModelTypes; } });
55
55
  var optimization_1 = require("./enums/optimization");
56
+ Object.defineProperty(exports, "KpiConstraintType", { enumerable: true, get: function () { return optimization_1.KpiConstraintType; } });
56
57
  Object.defineProperty(exports, "OptimizationStatus", { enumerable: true, get: function () { return optimization_1.OptimizationStatus; } });
57
58
  var permissions_1 = require("./enums/permissions");
58
59
  Object.defineProperty(exports, "BnPermissions", { enumerable: true, get: function () { return permissions_1.BnPermissions; } });
@@ -1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sDP;AArDlB,8EAA0E;AAoDxE,iGApDO,qCAAgB,OAoDP;AAnDlB,2EAAuE;AA6BrE,gGA7BO,mCAAe,OA6BP;AA5BjB,gGAA2F;AAoDzF,wGApDO,oDAAuB,OAoDP;AAnDzB,yFAAsF;AAyBpF,0GAzBO,sDAAyB,OAyBP;AAxB3B,mFAA+E;AAyB7E,sGAzBO,+CAAqB,OAyBP;AAxBvB,gFAG+C;AA2B7C,wGA7BA,+CAAuB,OA6BA;AA4CvB,4GAxEA,mDAA2B,OAwEA;AAtE7B,oFAAgF;AAwD9E,gGAxDO,mCAAe,OAwDP;AAvDjB,6DAA0D;AAiExD,+FAjEO,gCAAc,OAiEP;AAhEhB,iGAAiG;AAmE/F,+GAnEO,6DAA8B,OAmEP;AAlEhC,6FAAyF;AA4EvF,8GA5EO,+DAA6B,OA4EP;AA3E/B,sEAA8C;AAmE5C,qBAnEK,qBAAU,CAmEL;AAlEZ,0FAAkE;AAsEhE,2BAtEK,2BAAgB,CAsEL;AArElB,4GAAoF;AAoElF,2BApEK,2BAAgB,CAoEL;AAnElB,2FAGqD;AA0DnD,wGA5DA,oDAAuB,OA4DA;AADvB,wGA1DA,oDAAuB,OA0DA;AAxDzB,iEAA6D;AA6D3D,gGA7DO,mCAAe,OA6DP;AA5DjB,yGAA6F;AA6D3F,2CA7DK,+BAAgC,CA6DL"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@buynomics-lib/bn-shared",
3
- "version": "1.17.2-feature-nx64-1529.0",
3
+ "version": "1.17.2-feature-nx64-1529.1",
4
4
  "description": "Shared functionality between API and UI",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",