@buynomics-lib/bn-shared 1.15.1-feature-bd-1439.0 → 1.15.2-feat-do-121-enable-sast.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.1](https://gitlab.com/buynomics/libraries/bn-shared/compare/v1.15.0...v1.15.1) (2022-08-30)
6
+
5
7
  ## [1.15.0](https://gitlab.com/buynomics/libraries/bn-shared/compare/v1.14.0...v1.15.0) (2022-07-05)
6
8
 
7
9
  ## [1.14.0](https://gitlab.com/buynomics/libraries/bn-shared/compare/v1.13.1...v1.14.0) (2022-07-01)
@@ -1,4 +1,4 @@
1
- export declare enum DeeperionConfigurations {
1
+ export declare enum DeeperionAppSwitchValues {
2
2
  v1_only = "v1_only",
3
3
  v2_only = "v2_only",
4
4
  v1v2_prefer_v1 = "v1v2_prefer_v1",
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeeperionAppSwitchValues = void 0;
4
+ var DeeperionAppSwitchValues;
5
+ (function (DeeperionAppSwitchValues) {
6
+ DeeperionAppSwitchValues["v1_only"] = "v1_only";
7
+ DeeperionAppSwitchValues["v2_only"] = "v2_only";
8
+ DeeperionAppSwitchValues["v1v2_prefer_v1"] = "v1v2_prefer_v1";
9
+ DeeperionAppSwitchValues["v1v2_prefer_v2"] = "v1v2_prefer_v2";
10
+ })(DeeperionAppSwitchValues = exports.DeeperionAppSwitchValues || (exports.DeeperionAppSwitchValues = {}));
11
+ //# sourceMappingURL=deeperion-app-switch-values.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deeperion-app-switch-values.js","sourceRoot":"","sources":["../../../src/enums/deeperion/deeperion-app-switch-values.ts"],"names":[],"mappings":";;;AAAA,IAAY,wBAKX;AALD,WAAY,wBAAwB;IAClC,+CAAmB,CAAA;IACnB,+CAAmB,CAAA;IACnB,6DAAiC,CAAA;IACjC,6DAAiC,CAAA;AACnC,CAAC,EALW,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAKnC"}
@@ -1,3 +1,3 @@
1
1
  import { DeeperionVersions } from './deeperion-versions';
2
- import { DeeperionConfigurations } from './deeperion-configurations';
3
- export { DeeperionVersions, DeeperionConfigurations };
2
+ import { DeeperionAppSwitchValues } from './deeperion-app-switch-values';
3
+ export { DeeperionVersions, DeeperionAppSwitchValues };
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DeeperionConfigurations = exports.DeeperionVersions = void 0;
3
+ exports.DeeperionAppSwitchValues = exports.DeeperionVersions = void 0;
4
4
  var deeperion_versions_1 = require("./deeperion-versions");
5
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; } });
6
+ var deeperion_app_switch_values_1 = require("./deeperion-app-switch-values");
7
+ Object.defineProperty(exports, "DeeperionAppSwitchValues", { enumerable: true, get: function () { return deeperion_app_switch_values_1.DeeperionAppSwitchValues; } });
8
8
  //# sourceMappingURL=index.js.map
@@ -1 +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"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/enums/deeperion/index.ts"],"names":[],"mappings":";;;AAAA,2DAAwD;AAG/C,kGAHA,sCAAiB,OAGA;AAF1B,6EAAwE;AAE5C,yGAFnB,sDAAwB,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, DeeperionConfigurations } from './enums/deeperion';
14
+ import { DeeperionVersions, DeeperionAppSwitchValues } 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, 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, };
32
+ export { BnPermissions, ConfigurableProductFields, SortableProductFields, PriceLevelTypes, DeeperionVersions, DeeperionAppSwitchValues, 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.DeeperionConfigurations = 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.DeeperionAppSwitchValues = 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");
@@ -29,7 +29,7 @@ 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
30
  var deeperion_1 = require("./enums/deeperion");
31
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
+ Object.defineProperty(exports, "DeeperionAppSwitchValues", { enumerable: true, get: function () { return deeperion_1.DeeperionAppSwitchValues; } });
33
33
  var permissions_1 = require("./enums/permissions");
34
34
  Object.defineProperty(exports, "BnPermissions", { enumerable: true, get: function () { return permissions_1.BnPermissions; } });
35
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;AAyDlE,iGAzDO,qCAAgB,OAyDP;AAxDlB,oFAAoF;AAmFlF,oGAnFO,uCAAmB,OAmFP;AAjFrB,6EAA0E;AA8DxE,gGA9DO,kCAAe,OA8DP;AA3DjB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,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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@buynomics-lib/bn-shared",
3
- "version": "1.15.1-feature-bd-1439.0",
3
+ "version": "1.15.2-feat-do-121-enable-sast.0",
4
4
  "description": "Shared functionality between API and UI",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -1,11 +0,0 @@
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
@@ -1 +0,0 @@
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"}