@buynomics-lib/bn-shared 1.16.21-feature-nx64-1518.2 → 1.16.21-feature-nx64-1561.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/build/enums/client/client-features.d.ts +13 -2
- package/build/enums/client/client-features.js +1 -0
- package/build/enums/client/client-features.js.map +1 -1
- package/build/index.d.ts +2 -3
- package/build/index.js +1 -3
- package/build/index.js.map +1 -1
- package/package.json +1 -1
- package/build/enums/auth/params.d.ts +0 -4
- package/build/enums/auth/params.js +0 -9
- package/build/enums/auth/params.js.map +0 -1
|
@@ -4,7 +4,8 @@ export declare enum ClientFeature {
|
|
|
4
4
|
ChangeProducts = "changeProducts",
|
|
5
5
|
ChangeCosts = "changeCosts",
|
|
6
6
|
ChangePromotions = "changePromotions",
|
|
7
|
-
ChangeAvailability = "changeAvailability"
|
|
7
|
+
ChangeAvailability = "changeAvailability",
|
|
8
|
+
Optimization = "optimization"
|
|
8
9
|
}
|
|
9
10
|
export declare enum ClientFeatureState {
|
|
10
11
|
Enabled = "enabled",
|
|
@@ -20,8 +21,18 @@ export declare enum ClientFeatureScope {
|
|
|
20
21
|
SalesChannel = "salesChannel",
|
|
21
22
|
TimeDimension = "timeDimension"
|
|
22
23
|
}
|
|
23
|
-
|
|
24
|
+
type ClientFeaturesScopeLimits = {
|
|
24
25
|
[feature in ClientFeature]?: {
|
|
25
26
|
[scope in ClientFeatureScope]?: number;
|
|
26
27
|
};
|
|
27
28
|
};
|
|
29
|
+
type ClientFeaturesPriceLimits = {
|
|
30
|
+
[ClientFeature.Optimization]: {
|
|
31
|
+
priceChange: {
|
|
32
|
+
min: number;
|
|
33
|
+
max: number;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
export type ClientFeaturesSettings = ClientFeaturesPriceLimits & ClientFeaturesScopeLimits;
|
|
38
|
+
export {};
|
|
@@ -9,6 +9,7 @@ var ClientFeature;
|
|
|
9
9
|
ClientFeature["ChangeCosts"] = "changeCosts";
|
|
10
10
|
ClientFeature["ChangePromotions"] = "changePromotions";
|
|
11
11
|
ClientFeature["ChangeAvailability"] = "changeAvailability";
|
|
12
|
+
ClientFeature["Optimization"] = "optimization";
|
|
12
13
|
})(ClientFeature = exports.ClientFeature || (exports.ClientFeature = {}));
|
|
13
14
|
var ClientFeatureState;
|
|
14
15
|
(function (ClientFeatureState) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client-features.js","sourceRoot":"","sources":["../../../src/enums/client/client-features.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"file":"client-features.js","sourceRoot":"","sources":["../../../src/enums/client/client-features.ts"],"names":[],"mappings":";;;AAAA,IAAY,aAQX;AARD,WAAY,aAAa;IACvB,4CAA2B,CAAA;IAC3B,8CAA6B,CAAA;IAC7B,kDAAiC,CAAA;IACjC,4CAA2B,CAAA;IAC3B,sDAAqC,CAAA;IACrC,0DAAyC,CAAA;IACzC,8CAA6B,CAAA;AAC/B,CAAC,EARW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAQxB;AAED,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC5B,yCAAmB,CAAA;IACnB,2CAAqB,CAAA;IACrB,uCAAiB,CAAA;AACnB,CAAC,EAJW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAI7B;AAMD,IAAY,kBAKX;AALD,WAAY,kBAAkB;IAC5B,yCAAmB,CAAA;IACnB,+CAAyB,CAAA;IACzB,mDAA6B,CAAA;IAC7B,qDAA+B,CAAA;AACjC,CAAC,EALW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAK7B"}
|
package/build/index.d.ts
CHANGED
|
@@ -6,7 +6,6 @@ import { IFitting } from './domains/fitting/interfaces/fitting';
|
|
|
6
6
|
import { IFittingLog } from './domains/fitting/interfaces/fitting-logs';
|
|
7
7
|
import { IntermediaryGroupRangeFormats } from './domains/pricing/intermediaries/enums/intermediary-group-range-formats';
|
|
8
8
|
import { IntermediaryGroupTypes } from './domains/pricing/intermediaries/enums/intermediary-group-types';
|
|
9
|
-
import { AuthSearchParams } from './enums/auth/params';
|
|
10
9
|
import { ClientCLVPriceTypes, DefaultClientCLVPriceTypeLabels } from './enums/client/client-clv-price-types';
|
|
11
10
|
import { ClientDecimalSettings, DefaultClientDecimalSettings } from './enums/client/client-decimal-settings';
|
|
12
11
|
import { ClientTerms, DefaultClientTermLabels } from './enums/client/client-terms';
|
|
@@ -39,8 +38,8 @@ import { ClientDuplicationParts } from './enums/client/client-duplication-parts'
|
|
|
39
38
|
import { PriceChangeTypes } from './enums/price-change/price-change-types';
|
|
40
39
|
import { ChangePriceBases } from './enums/price-change/change-price-bases';
|
|
41
40
|
import { ChangeProductPriceBases } from './enums/product-change/change-product-price-bases';
|
|
42
|
-
import { ClientFeature, ClientFeatureState, ClientFeatures, ClientFeatureScope,
|
|
41
|
+
import { ClientFeature, ClientFeatureState, ClientFeatures, ClientFeatureScope, ClientFeaturesSettings } from './enums/client/client-features';
|
|
43
42
|
import { ChangeCostBases } from './enums/cost-change/change-cost-bases';
|
|
44
43
|
import { CostChangeTypes } from './enums/cost-change/cost-change-types';
|
|
45
44
|
import { AvailabilityChangeTypes } from './enums/availability-change/availability-change-types';
|
|
46
|
-
export {
|
|
45
|
+
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, 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.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 =
|
|
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.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 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");
|
|
@@ -14,8 +14,6 @@ var intermediary_group_range_formats_1 = require("./domains/pricing/intermediari
|
|
|
14
14
|
Object.defineProperty(exports, "IntermediaryGroupRangeFormats", { enumerable: true, get: function () { return intermediary_group_range_formats_1.IntermediaryGroupRangeFormats; } });
|
|
15
15
|
var intermediary_group_types_1 = require("./domains/pricing/intermediaries/enums/intermediary-group-types");
|
|
16
16
|
Object.defineProperty(exports, "IntermediaryGroupTypes", { enumerable: true, get: function () { return intermediary_group_types_1.IntermediaryGroupTypes; } });
|
|
17
|
-
var params_1 = require("./enums/auth/params");
|
|
18
|
-
Object.defineProperty(exports, "AuthSearchParams", { enumerable: true, get: function () { return params_1.AuthSearchParams; } });
|
|
19
17
|
var client_clv_price_types_1 = require("./enums/client/client-clv-price-types");
|
|
20
18
|
Object.defineProperty(exports, "ClientCLVPriceTypes", { enumerable: true, get: function () { return client_clv_price_types_1.ClientCLVPriceTypes; } });
|
|
21
19
|
Object.defineProperty(exports, "DefaultClientCLVPriceTypeLabels", { enumerable: true, get: function () { return client_clv_price_types_1.DefaultClientCLVPriceTypeLabels; } });
|
package/build/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;AAAA,wEAAoE;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;AAAA,wEAAoE;AAmFlE,iGAnFO,qCAAgB,OAmFP;AAlFlB,oFAAoF;AA8HlF,oGA9HO,uCAAmB,OA8HP;AA5HrB,6EAA0E;AAwFxE,gGAxFO,kCAAe,OAwFP;AArFjB,4HAAuH;AAoFrH,8GApFO,gEAA6B,OAoFP;AAnF/B,4GAAwG;AAkFtG,uGAlFO,iDAAsB,OAkFP;AAjFxB,gFAG8C;AAyE5C,oGA3EA,4CAAmB,OA2EA;AACnB,gHA3EA,wDAA+B,OA2EA;AAzEjC,kFAG+C;AAuE7C,sGAzEA,+CAAqB,OAyEA;AACrB,6GAzEA,sDAA4B,OAyEA;AAvE9B,4DAGoC;AA8DlC,4FAhEA,0BAAW,OAgEA;AACX,wGAhEA,sCAAuB,OAgEA;AA9DzB,4DAAyD;AAoEvD,4FApEO,0BAAW,OAoEP;AAnEb,4EAA6E;AA2G3E,wGA3GO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;AAvClB,gGAA2F;AAwCzF,wGAxCO,oDAAuB,OAwCP;AAvCzB,kEAMuC;AAkCrC,8FAvCA,+BAAa,OAuCA;AACb,mGAvCA,oCAAkB,OAuCA;AAElB,mGAvCA,oCAAkB,OAuCA;AApCpB,2EAAuE;AAsCrE,gGAtCO,mCAAe,OAsCP;AArCjB,2EAAuE;AAsCrE,gGAtCO,mCAAe,OAsCP;AArCjB,mGAA+F;AAsC7F,wGAtCO,mDAAuB,OAsCP"}
|
package/package.json
CHANGED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AuthSearchParams = void 0;
|
|
4
|
-
var AuthSearchParams;
|
|
5
|
-
(function (AuthSearchParams) {
|
|
6
|
-
AuthSearchParams["IsRedirectedFromAdmin"] = "isRedirectedFromAdmin";
|
|
7
|
-
AuthSearchParams["IsRedirectedBack"] = "isRedirectedBack";
|
|
8
|
-
})(AuthSearchParams = exports.AuthSearchParams || (exports.AuthSearchParams = {}));
|
|
9
|
-
//# sourceMappingURL=params.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"params.js","sourceRoot":"","sources":["../../../src/enums/auth/params.ts"],"names":[],"mappings":";;;AAAA,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IAC1B,mEAA+C,CAAA;IAC/C,yDAAqC,CAAA;AACvC,CAAC,EAHW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAG3B"}
|