@buynomics-lib/bn-shared 1.16.2-feat-nx64-76.1 → 1.16.3-feature-nx64-516.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.16.2](https://gitlab.com/buynomics/libraries/bn-shared/compare/v1.16.1...v1.16.2) (2023-07-17)
6
+
5
7
  ### [1.16.1](https://gitlab.com/buynomics/libraries/bn-shared/compare/v1.15.16...v1.16.1) (2023-06-05)
6
8
 
7
9
  ### [1.15.16](https://gitlab.com/buynomics/libraries/bn-shared/compare/v1.15.15...v1.15.16) (2023-06-01)
@@ -0,0 +1,13 @@
1
+ export declare enum ClientFeature {
2
+ PriceLevels = "priceLevels",
3
+ ChangeProducts = "changeProducts",
4
+ ChangeCosts = "changeCosts"
5
+ }
6
+ export declare enum ClientFeatureState {
7
+ Enabled = "enabled",
8
+ Disabled = "disabled",
9
+ Hidden = "hidden"
10
+ }
11
+ export declare type ClientFeatures = {
12
+ [key in ClientFeature]?: ClientFeatureState;
13
+ };
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ClientFeatureState = exports.ClientFeature = void 0;
4
+ var ClientFeature;
5
+ (function (ClientFeature) {
6
+ ClientFeature["PriceLevels"] = "priceLevels";
7
+ ClientFeature["ChangeProducts"] = "changeProducts";
8
+ ClientFeature["ChangeCosts"] = "changeCosts";
9
+ })(ClientFeature = exports.ClientFeature || (exports.ClientFeature = {}));
10
+ var ClientFeatureState;
11
+ (function (ClientFeatureState) {
12
+ ClientFeatureState["Enabled"] = "enabled";
13
+ ClientFeatureState["Disabled"] = "disabled";
14
+ ClientFeatureState["Hidden"] = "hidden";
15
+ })(ClientFeatureState = exports.ClientFeatureState || (exports.ClientFeatureState = {}));
16
+ //# sourceMappingURL=client-features.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client-features.js","sourceRoot":"","sources":["../../../src/enums/client/client-features.ts"],"names":[],"mappings":";;;AAAA,IAAY,aAIX;AAJD,WAAY,aAAa;IACvB,4CAA2B,CAAA;IAC3B,kDAAiC,CAAA;IACjC,4CAA2B,CAAA;AAC7B,CAAC,EAJW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAIxB;AAED,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC5B,yCAAmB,CAAA;IACnB,2CAAqB,CAAA;IACrB,uCAAiB,CAAA;AACnB,CAAC,EAJW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAI7B"}
package/build/index.d.ts CHANGED
@@ -35,4 +35,5 @@ import { ClientDuplicationParts } from './enums/client/client-duplication-parts'
35
35
  import { PriceChangeTypes } from './enums/price-change/price-change-types';
36
36
  import { ChangePriceBases } from './enums/price-change/change-price-bases';
37
37
  import { ChangeProductPriceBases } from './enums/product-change/change-product-price-bases';
38
- export { BnPermissions, ConfigurableProductFields, SortableProductFields, PriceLevelTypes, DeeperionVersions, DeeperionAppSwitchValues, CustomCostFormulaParams, ClientTerms, DefaultClientTermLabels, ClientCLVPeriods, ClientCLVPriceTypes, DefaultClientCLVPriceTypeLabels, ClientDecimalSettings, DefaultClientDecimalSettings, ClientTypes, IntermediaryGroupTypes, IntermediaryGroupRangeFormats, FittingStatuses, CentralSteeringVersion, Dimension, DimensionValue, BuynomicsAppVersion, ClientDuplicationParts, PriceChangeTypes, ChangePriceBases, ChangeProductPriceBases, ISimulationInputChangeEvents, IFitting, IFittingLog, IFileUpload, IPromotionPeriod, calculateRange, JSONFormulaToExpression, expressionToJSONFormula, getLatestDeeperionVersionValue, getCustomFormulaParamsLabel, EnumHelper, getPropertyName, PriceDecisionNullificationHelper, FormulaValidator, FormulaConverter, getPromotionPeriods, ClientViewSettingsPages, IClientViewSettings, };
38
+ import { ClientFeature, ClientFeatureState, ClientFeatures } from './enums/client/client-features';
39
+ export { BnPermissions, ConfigurableProductFields, SortableProductFields, PriceLevelTypes, DeeperionVersions, DeeperionAppSwitchValues, CustomCostFormulaParams, ClientTerms, DefaultClientTermLabels, ClientCLVPeriods, ClientCLVPriceTypes, DefaultClientCLVPriceTypeLabels, ClientDecimalSettings, DefaultClientDecimalSettings, ClientTypes, IntermediaryGroupTypes, IntermediaryGroupRangeFormats, FittingStatuses, CentralSteeringVersion, Dimension, DimensionValue, BuynomicsAppVersion, ClientDuplicationParts, PriceChangeTypes, ChangePriceBases, ChangeProductPriceBases, ClientFeature, ClientFeatureState, ClientFeatures, 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.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.DeeperionAppSwitchValues = 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.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.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");
@@ -70,4 +70,7 @@ var change_price_bases_1 = require("./enums/price-change/change-price-bases");
70
70
  Object.defineProperty(exports, "ChangePriceBases", { enumerable: true, get: function () { return change_price_bases_1.ChangePriceBases; } });
71
71
  var change_product_price_bases_1 = require("./enums/product-change/change-product-price-bases");
72
72
  Object.defineProperty(exports, "ChangeProductPriceBases", { enumerable: true, get: function () { return change_product_price_bases_1.ChangeProductPriceBases; } });
73
+ var client_features_1 = require("./enums/client/client-features");
74
+ Object.defineProperty(exports, "ClientFeature", { enumerable: true, get: function () { return client_features_1.ClientFeature; } });
75
+ Object.defineProperty(exports, "ClientFeatureState", { enumerable: true, get: function () { return client_features_1.ClientFeatureState; } });
73
76
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;AAAA,wEAAoE;AA+DlE,iGA/DO,qCAAgB,OA+DP;AA9DlB,oFAAoF;AAgGlF,oGAhGO,uCAAmB,OAgGP;AA9FrB,6EAA0E;AAoExE,gGApEO,kCAAe,OAoEP;AAjEjB,4HAAuH;AAgErH,8GAhEO,gEAA6B,OAgEP;AA/D/B,4GAAwG;AA8DtG,uGA9DO,iDAAsB,OA8DP;AA7DxB,gFAG8C;AAqD5C,oGAvDA,4CAAmB,OAuDA;AACnB,gHAvDA,wDAA+B,OAuDA;AArDjC,kFAG+C;AAmD7C,sGArDA,+CAAqB,OAqDA;AACrB,6GArDA,sDAA4B,OAqDA;AAnD9B,4DAGoC;AA0ClC,4FA5CA,0BAAW,OA4CA;AACX,wGA5CA,sCAAuB,OA4CA;AA1CzB,4DAAyD;AAgDvD,4FAhDO,0BAAW,OAgDP;AA/Cb,4EAA6E;AA6E3E,wGA7EO,8CAAuB,OA6EP;AA5EzB,+CAA+E;AAoC7E,kGApCO,6BAAiB,OAoCP;AACjB,yGArC0B,oCAAwB,OAqC1B;AApC1B,mDAAmD;AA+BjD,8FA/BO,2BAAa,OA+BP;AA9Bf,2EAAuE;AAiCrE,gGAjCO,mCAAe,OAiCP;AAhCjB,yFAAsF;AA8BpF,0GA9BO,sDAAyB,OA8BP;AA7B3B,mFAA+E;AA8B7E,sGA9BO,+CAAqB,OA8BP;AA7BvB,gFAG+C;AA8B7C,wGAhCA,+CAAuB,OAgCA;AA+BvB,4GA9DA,mDAA2B,OA8DA;AA5D7B,6DAAiE;AAyC/D,uGAzCO,yCAAsB,OAyCP;AA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@
1
1
  {
2
2
  "name": "@buynomics-lib/bn-shared",
3
- "version": "1.16.2-feat-nx64-76.1",
3
+ "version": "1.16.3-feature-nx64-516.0",
4
4
  "description": "Shared functionality between API and UI",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",