@buynomics-lib/bn-shared 1.14.0 → 1.15.1-feature-bd-1439.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/CHANGELOG.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [1.15.0](https://gitlab.com/buynomics/libraries/bn-shared/compare/v1.14.0...v1.15.0) (2022-07-05)
6
+
5
7
  ## [1.14.0](https://gitlab.com/buynomics/libraries/bn-shared/compare/v1.13.1...v1.14.0) (2022-07-01)
6
8
 
7
9
  ### [1.13.1](https://gitlab.com/buynomics/libraries/bn-shared/compare/v1.12.11...v1.13.1) (2022-06-23)
@@ -1,4 +1,5 @@
1
1
  export declare enum ClientViewSettingsPages {
2
2
  ScenarioList = "scenarioList",
3
- CentralSteering = "centralSteering"
3
+ CentralSteering = "centralSteering",
4
+ GlobalScenarioCentralSteering = "globalScenarioCentralSteering"
4
5
  }
@@ -5,5 +5,6 @@ var ClientViewSettingsPages;
5
5
  (function (ClientViewSettingsPages) {
6
6
  ClientViewSettingsPages["ScenarioList"] = "scenarioList";
7
7
  ClientViewSettingsPages["CentralSteering"] = "centralSteering";
8
+ ClientViewSettingsPages["GlobalScenarioCentralSteering"] = "globalScenarioCentralSteering";
8
9
  })(ClientViewSettingsPages = exports.ClientViewSettingsPages || (exports.ClientViewSettingsPages = {}));
9
10
  //# sourceMappingURL=client-view-settings.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"client-view-settings.js","sourceRoot":"","sources":["../../../src/enums/client/client-view-settings.ts"],"names":[],"mappings":";;;AAAA,IAAY,uBAGX;AAHD,WAAY,uBAAuB;IACjC,wDAA6B,CAAA;IAC7B,8DAAmC,CAAA;AACrC,CAAC,EAHW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAGlC"}
1
+ {"version":3,"file":"client-view-settings.js","sourceRoot":"","sources":["../../../src/enums/client/client-view-settings.ts"],"names":[],"mappings":";;;AAAA,IAAY,uBAIX;AAJD,WAAY,uBAAuB;IACjC,wDAA6B,CAAA;IAC7B,8DAAmC,CAAA;IACnC,0FAA+D,CAAA;AACjE,CAAC,EAJW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAIlC"}
@@ -0,0 +1,6 @@
1
+ export declare enum DeeperionConfigurations {
2
+ v1_only = "v1_only",
3
+ v2_only = "v2_only",
4
+ v1v2_prefer_v1 = "v1v2_prefer_v1",
5
+ v1v2_prefer_v2 = "v1v2_prefer_v2"
6
+ }
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeeperionConfigurations = void 0;
4
+ var DeeperionConfigurations;
5
+ (function (DeeperionConfigurations) {
6
+ DeeperionConfigurations["v1_only"] = "v1_only";
7
+ DeeperionConfigurations["v2_only"] = "v2_only";
8
+ DeeperionConfigurations["v1v2_prefer_v1"] = "v1v2_prefer_v1";
9
+ DeeperionConfigurations["v1v2_prefer_v2"] = "v1v2_prefer_v2";
10
+ })(DeeperionConfigurations = exports.DeeperionConfigurations || (exports.DeeperionConfigurations = {}));
11
+ //# sourceMappingURL=deeperion-configurations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deeperion-configurations.js","sourceRoot":"","sources":["../../../src/enums/deeperion/deeperion-configurations.ts"],"names":[],"mappings":";;;AAAA,IAAY,uBAKX;AALD,WAAY,uBAAuB;IACjC,8CAAmB,CAAA;IACnB,8CAAmB,CAAA;IACnB,4DAAiC,CAAA;IACjC,4DAAiC,CAAA;AACnC,CAAC,EALW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAKlC"}
@@ -0,0 +1,3 @@
1
+ import { DeeperionVersions } from './deeperion-versions';
2
+ import { DeeperionConfigurations } from './deeperion-configurations';
3
+ export { DeeperionVersions, DeeperionConfigurations };
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeeperionConfigurations = exports.DeeperionVersions = void 0;
4
+ var deeperion_versions_1 = require("./deeperion-versions");
5
+ Object.defineProperty(exports, "DeeperionVersions", { enumerable: true, get: function () { return deeperion_versions_1.DeeperionVersions; } });
6
+ var deeperion_configurations_1 = require("./deeperion-configurations");
7
+ Object.defineProperty(exports, "DeeperionConfigurations", { enumerable: true, get: function () { return deeperion_configurations_1.DeeperionConfigurations; } });
8
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/enums/deeperion/index.ts"],"names":[],"mappings":";;;AAAA,2DAAwD;AAG/C,kGAHA,sCAAiB,OAGA;AAF1B,uEAAoE;AAExC,wGAFnB,kDAAuB,OAEmB"}
package/build/index.d.ts CHANGED
@@ -11,7 +11,7 @@ import { ClientDecimalSettings, DefaultClientDecimalSettings } from './enums/cli
11
11
  import { ClientTerms, DefaultClientTermLabels } from './enums/client/client-terms';
12
12
  import { ClientTypes } from './enums/client/client-types';
13
13
  import { ClientViewSettingsPages } from './enums/client/client-view-settings';
14
- import { DeeperionVersions } from './enums/deeperion/deeperion-versions';
14
+ import { DeeperionVersions, DeeperionConfigurations } from './enums/deeperion';
15
15
  import { BnPermissions } from './enums/permissions';
16
16
  import { PriceLevelTypes } from './enums/price-level/price-level-types';
17
17
  import { ConfigurableProductFields } from './enums/product/configurable-product-field';
@@ -29,4 +29,4 @@ import PriceDecisionNullificationHelper from './helpers/price-decision/price-dec
29
29
  import { ISimulationInputChangeEvents } from './interfaces/simulation/simulation-input-change-events';
30
30
  import { IFileUpload } from './interfaces/file-upload';
31
31
  import { IClientViewSettings } from './interfaces/client-view-settings';
32
- export { BnPermissions, ConfigurableProductFields, SortableProductFields, PriceLevelTypes, DeeperionVersions, CustomCostFormulaParams, ClientTerms, DefaultClientTermLabels, ClientCLVPeriods, ClientCLVPriceTypes, DefaultClientCLVPriceTypeLabels, ClientDecimalSettings, DefaultClientDecimalSettings, ClientTypes, IntermediaryGroupTypes, IntermediaryGroupRangeFormats, FittingStatuses, CentralSteeringVersion, ISimulationInputChangeEvents, IFitting, IFittingLog, IFileUpload, IPromotionPeriod, calculateRange, JSONFormulaToExpression, expressionToJSONFormula, getLatestDeeperionVersionValue, getCustomFormulaParamsLabel, EnumHelper, getPropertyName, PriceDecisionNullificationHelper, FormulaValidator, FormulaConverter, getPromotionPeriods, ClientViewSettingsPages, IClientViewSettings, };
32
+ export { BnPermissions, ConfigurableProductFields, SortableProductFields, PriceLevelTypes, DeeperionVersions, DeeperionConfigurations, CustomCostFormulaParams, ClientTerms, DefaultClientTermLabels, ClientCLVPeriods, ClientCLVPriceTypes, DefaultClientCLVPriceTypeLabels, ClientDecimalSettings, DefaultClientDecimalSettings, ClientTypes, IntermediaryGroupTypes, IntermediaryGroupRangeFormats, FittingStatuses, CentralSteeringVersion, ISimulationInputChangeEvents, IFitting, IFittingLog, IFileUpload, IPromotionPeriod, calculateRange, JSONFormulaToExpression, expressionToJSONFormula, getLatestDeeperionVersionValue, getCustomFormulaParamsLabel, EnumHelper, getPropertyName, PriceDecisionNullificationHelper, FormulaValidator, FormulaConverter, getPromotionPeriods, ClientViewSettingsPages, IClientViewSettings, };
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.ClientViewSettingsPages = exports.getPromotionPeriods = exports.FormulaConverter = exports.FormulaValidator = exports.PriceDecisionNullificationHelper = exports.getPropertyName = exports.EnumHelper = exports.getCustomFormulaParamsLabel = exports.getLatestDeeperionVersionValue = exports.expressionToJSONFormula = exports.JSONFormulaToExpression = exports.calculateRange = 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.DeeperionVersions = exports.PriceLevelTypes = exports.SortableProductFields = exports.ConfigurableProductFields = exports.BnPermissions = void 0;
6
+ 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.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.DeeperionConfigurations = exports.DeeperionVersions = exports.PriceLevelTypes = exports.SortableProductFields = exports.ConfigurableProductFields = exports.BnPermissions = void 0;
7
7
  var client_clv_periods_1 = require("./enums/client/client-clv-periods");
8
8
  Object.defineProperty(exports, "ClientCLVPeriods", { enumerable: true, get: function () { return client_clv_periods_1.ClientCLVPeriods; } });
9
9
  var promotion_periods_1 = require("./domains/promotions/helpers/promotion-periods");
@@ -27,8 +27,9 @@ var client_types_1 = require("./enums/client/client-types");
27
27
  Object.defineProperty(exports, "ClientTypes", { enumerable: true, get: function () { return client_types_1.ClientTypes; } });
28
28
  var client_view_settings_1 = require("./enums/client/client-view-settings");
29
29
  Object.defineProperty(exports, "ClientViewSettingsPages", { enumerable: true, get: function () { return client_view_settings_1.ClientViewSettingsPages; } });
30
- var deeperion_versions_1 = require("./enums/deeperion/deeperion-versions");
31
- Object.defineProperty(exports, "DeeperionVersions", { enumerable: true, get: function () { return deeperion_versions_1.DeeperionVersions; } });
30
+ var deeperion_1 = require("./enums/deeperion");
31
+ Object.defineProperty(exports, "DeeperionVersions", { enumerable: true, get: function () { return deeperion_1.DeeperionVersions; } });
32
+ Object.defineProperty(exports, "DeeperionConfigurations", { enumerable: true, get: function () { return deeperion_1.DeeperionConfigurations; } });
32
33
  var permissions_1 = require("./enums/permissions");
33
34
  Object.defineProperty(exports, "BnPermissions", { enumerable: true, get: function () { return permissions_1.BnPermissions; } });
34
35
  var price_level_types_1 = require("./enums/price-level/price-level-types");
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;AAAA,wEAAoE;AAwDlE,iGAxDO,qCAAgB,OAwDP;AAvDlB,oFAAoF;AAkFlF,oGAlFO,uCAAmB,OAkFP;AAhFrB,6EAA0E;AA6DxE,gGA7DO,kCAAe,OA6DP;AA1DjB,4HAAuH;AAyDrH,8GAzDO,gEAA6B,OAyDP;AAxD/B,4GAAwG;AAuDtG,uGAvDO,iDAAsB,OAuDP;AAtDxB,gFAG8C;AA8C5C,oGAhDA,4CAAmB,OAgDA;AACnB,gHAhDA,wDAA+B,OAgDA;AA9CjC,kFAG+C;AA4C7C,sGA9CA,+CAAqB,OA8CA;AACrB,6GA9CA,sDAA4B,OA8CA;AA5C9B,4DAGoC;AAmClC,4FArCA,0BAAW,OAqCA;AACX,wGArCA,sCAAuB,OAqCA;AAnCzB,4DAAyD;AAyCvD,4FAzCO,0BAAW,OAyCP;AAxCb,4EAA6E;AA+D3E,wGA/DO,8CAAuB,OA+DP;AA9DzB,2EAAwE;AA8BtE,kGA9BO,sCAAiB,OA8BP;AA7BnB,mDAAmD;AAyBjD,8FAzBO,2BAAa,OAyBP;AAxBf,2EAAuE;AA2BrE,gGA3BO,mCAAe,OA2BP;AA1BjB,yFAAsF;AAwBpF,0GAxBO,sDAAyB,OAwBP;AAvB3B,mFAA+E;AAwB7E,sGAxBO,+CAAqB,OAw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AiB,OA8BP;AACjB,wGA/B0B,mCAAuB,OA+B1B;AA9BzB,mDAAmD;AAyBjD,8FAzBO,2BAAa,OAyBP;AAxBf,2EAAuE;AA2BrE,gGA3BO,mCAAe,OA2BP;AA1BjB,yFAAsF;AAwBpF,0GAxBO,sDAAyB,OAwBP;AAvB3B,mFAA+E;AAwB7E,sGAxBO,+CAAqB,OAwBP;AAvBvB,gFAG+C;AAwB7C,wGA1BA,+CAAuB,OA0BA;AAwBvB,4GAjDA,mDAA2B,OAiDA;AA/C7B,6DAAiE;AAmC/D,uGAnCO,yCAAsB,OAmCP;AAlCxB,6DAA0D;AA0CxD,+FA1CO,gCAAc,OA0CP;AAzChB,iGAAiG;AA4C/F,+GA5CO,6DAA8B,OA4CP;AA3ChC,sEAA8C;AA6C5C,qBA7CK,qBAAU,CA6CL;AA5CZ,0FAAkE;AAgDhE,2BAhDK,2BAAgB,CAgDL;AA/ClB,4GAAoF;AA8ClF,2BA9CK,2BAAgB,CA8CL;AA7ClB,2FAGqD;AAoCnD,wGAtCA,oDAAuB,OAsCA;AADvB,wGApCA,oDAAuB,OAoCA;AAlCzB,iEAA6D;AAuC3D,gGAvCO,mCAAe,OAuCP;AAtCjB,yGAA6F;AAuC3F,2CAvCK,+BAAgC,CAuCL"}
@@ -6,5 +6,6 @@ interface IPageViewSetting {
6
6
  export interface IClientViewSettings {
7
7
  [ClientViewSettingsPages.ScenarioList]: IPageViewSetting;
8
8
  [ClientViewSettingsPages.CentralSteering]: IPageViewSetting;
9
+ [ClientViewSettingsPages.GlobalScenarioCentralSteering]: IPageViewSetting;
9
10
  }
10
11
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@buynomics-lib/bn-shared",
3
- "version": "1.14.0",
3
+ "version": "1.15.1-feature-bd-1439.0",
4
4
  "description": "Shared functionality between API and UI",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",