@buynomics-lib/bn-shared 1.17.30 → 1.17.31-feature-hc-2472.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/promotion-offer/mechanic-type-relations.d.ts +3 -0
- package/build/enums/promotion-offer/mechanic-type-relations.js +8 -0
- package/build/enums/promotion-offer/mechanic-type-relations.js.map +1 -0
- package/build/enums/promotion-offer/mechanic-types.d.ts +5 -0
- package/build/enums/promotion-offer/mechanic-types.js +10 -0
- package/build/enums/promotion-offer/mechanic-types.js.map +1 -0
- package/build/enums/promotion-offer/promotion-offer-relations.d.ts +3 -0
- package/build/enums/promotion-offer/promotion-offer-relations.js +8 -0
- package/build/enums/promotion-offer/promotion-offer-relations.js.map +1 -0
- package/build/index.d.ts +4 -1
- package/build/index.js +8 -2
- package/build/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MechanicTypeRelations = void 0;
|
|
4
|
+
var MechanicTypeRelations;
|
|
5
|
+
(function (MechanicTypeRelations) {
|
|
6
|
+
MechanicTypeRelations["MechanicTypeParams"] = "mechanicTypeParams";
|
|
7
|
+
})(MechanicTypeRelations = exports.MechanicTypeRelations || (exports.MechanicTypeRelations = {}));
|
|
8
|
+
//# sourceMappingURL=mechanic-type-relations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mechanic-type-relations.js","sourceRoot":"","sources":["../../../src/enums/promotion-offer/mechanic-type-relations.ts"],"names":[],"mappings":";;;AAAA,IAAY,qBAEX;AAFD,WAAY,qBAAqB;IAC/B,kEAAyC,CAAA;AAC3C,CAAC,EAFW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAEhC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MechanicTypes = void 0;
|
|
4
|
+
var MechanicTypes;
|
|
5
|
+
(function (MechanicTypes) {
|
|
6
|
+
MechanicTypes["Numeric"] = "numeric";
|
|
7
|
+
MechanicTypes["NumericPercentage"] = "numeric_percentage";
|
|
8
|
+
MechanicTypes["NumericMonetary"] = "numeric_monetary";
|
|
9
|
+
})(MechanicTypes = exports.MechanicTypes || (exports.MechanicTypes = {}));
|
|
10
|
+
//# sourceMappingURL=mechanic-types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mechanic-types.js","sourceRoot":"","sources":["../../../src/enums/promotion-offer/mechanic-types.ts"],"names":[],"mappings":";;;AAAA,IAAY,aAIX;AAJD,WAAY,aAAa;IACvB,oCAAmB,CAAA;IACnB,yDAAwC,CAAA;IACxC,qDAAoC,CAAA;AACtC,CAAC,EAJW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAIxB"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PromotionOfferRelations = void 0;
|
|
4
|
+
var PromotionOfferRelations;
|
|
5
|
+
(function (PromotionOfferRelations) {
|
|
6
|
+
PromotionOfferRelations["SalesChannel"] = "salesChannel";
|
|
7
|
+
})(PromotionOfferRelations = exports.PromotionOfferRelations || (exports.PromotionOfferRelations = {}));
|
|
8
|
+
//# sourceMappingURL=promotion-offer-relations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"promotion-offer-relations.js","sourceRoot":"","sources":["../../../src/enums/promotion-offer/promotion-offer-relations.ts"],"names":[],"mappings":";;;AAAA,IAAY,uBAEX;AAFD,WAAY,uBAAuB;IACjC,wDAA6B,CAAA;AAC/B,CAAC,EAFW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAElC"}
|
package/build/index.d.ts
CHANGED
|
@@ -50,4 +50,7 @@ import { ISimulationInputChangeEvents } from './interfaces/simulation/simulation
|
|
|
50
50
|
import { ClientNumberFormattingSettings, ClientNumberFormattingSettingsCurrency, ClientNumberFormattingSettingsGlobalFormat, ClientNumberFormattingSettingsMetric, ClientNumberFormattingSettingsNotation, ClientNumberFormattingSettingsStyle, NumberFormat, NumberFormatSettings } from './enums/client/client-number-formatting-settings';
|
|
51
51
|
import { DefaultClientNumberFormattingSettings } from './helpers/default-client-number-formatting-settings';
|
|
52
52
|
import { formatNumberToIndianCompactInCrores, isCompactIndianFormatInDecimals } from './helpers/format-number-to-indian-compact-in-crores';
|
|
53
|
-
|
|
53
|
+
import { MechanicTypes } from './enums/promotion-offer/mechanic-types';
|
|
54
|
+
import { MechanicTypeRelations } from './enums/promotion-offer/mechanic-type-relations';
|
|
55
|
+
import { PromotionOfferRelations } from './enums/promotion-offer/promotion-offer-relations';
|
|
56
|
+
export { BnPermissions, ConfigurableProductFields, SortableProductFields, PriceLevelTypes, StaticLevelReferenceIds, DeeperionVersions, DeeperionAppSwitchValues, DeeperionRequestTypes, DeeperionModelTypes, CustomCostFormulaParams, ClientTerms, DefaultClientTermLabels, ClientCLVPeriods, ClientCLVPriceTypes, DefaultClientCLVPriceTypeLabels, ClientDecimalSettings, DefaultClientDecimalSettings, ClientTypes, IntermediaryGroupTypes, IntermediaryGroupRangeFormats, FittingStatuses, CentralSteeringVersion, Dimension, DimensionValue, BuynomicsAppVersion, ClientDuplicationParts, ClientNumberFormattingSettingsGlobalFormat, ClientNumberFormattingSettingsStyle, ClientNumberFormattingSettingsNotation, ClientNumberFormattingSettingsMetric, ClientNumberFormattingSettingsCurrency, ClientNumberFormattingSettings, NumberFormat, NumberFormatSettings, ClientProductPortfolioVersion, PriceChangeTypes, ChangePriceBases, ChangeProductPriceBases, ClientFeature, ClientFeatureState, ClientFeatures, ClientFeatureScope, ClientFeaturesSettings, ChangeCostBases, CostChangeTypes, AvailabilityChangeTypes, ClientStatus, ClientIndustry, ValueDriverType, KpiConstraintType, MechanicTypes, MechanicTypeRelations, OptimizationStatus, OptimizationKpis, OptimizationSolutionBucket, PromotionOfferRelations, ISimulationInputChangeEvents, IFitting, IFittingLog, IFileUpload, IPromotionPeriod, calculateRange, JSONFormulaToExpression, expressionToJSONFormula, getLatestDeeperionVersionValue, getCustomFormulaParamsLabel, formatNumberToIndianCompactInCrores, isCompactIndianFormatInDecimals, EnumHelper, getPropertyName, PriceDecisionNullificationHelper, FormulaValidator, FormulaConverter, getPromotionPeriods, ClientViewSettingsPages, IClientViewSettings, DefaultClientFeaturesSettings, DefaultClientFeatures, DefaultClientNumberFormattingSettings, };
|
package/build/index.js
CHANGED
|
@@ -3,8 +3,8 @@ 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.
|
|
7
|
-
exports.DefaultClientNumberFormattingSettings = exports.DefaultClientFeatures = exports.DefaultClientFeaturesSettings = exports.ClientViewSettingsPages = exports.getPromotionPeriods = exports.FormulaConverter = exports.FormulaValidator = exports.PriceDecisionNullificationHelper = exports.getPropertyName = exports.EnumHelper = exports.isCompactIndianFormatInDecimals = exports.formatNumberToIndianCompactInCrores = exports.getCustomFormulaParamsLabel = void 0;
|
|
6
|
+
exports.calculateRange = exports.PromotionOfferRelations = exports.OptimizationSolutionBucket = exports.OptimizationKpis = exports.OptimizationStatus = exports.MechanicTypeRelations = exports.MechanicTypes = 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.ClientProductPortfolioVersion = exports.ClientNumberFormattingSettingsCurrency = exports.ClientNumberFormattingSettingsMetric = exports.ClientNumberFormattingSettingsNotation = exports.ClientNumberFormattingSettingsStyle = exports.ClientNumberFormattingSettingsGlobalFormat = 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.StaticLevelReferenceIds = exports.PriceLevelTypes = exports.SortableProductFields = exports.ConfigurableProductFields = exports.BnPermissions = void 0;
|
|
7
|
+
exports.DefaultClientNumberFormattingSettings = exports.DefaultClientFeatures = exports.DefaultClientFeaturesSettings = exports.ClientViewSettingsPages = exports.getPromotionPeriods = exports.FormulaConverter = exports.FormulaValidator = exports.PriceDecisionNullificationHelper = exports.getPropertyName = exports.EnumHelper = exports.isCompactIndianFormatInDecimals = exports.formatNumberToIndianCompactInCrores = exports.getCustomFormulaParamsLabel = exports.getLatestDeeperionVersionValue = exports.expressionToJSONFormula = exports.JSONFormulaToExpression = void 0;
|
|
8
8
|
var fitting_statuses_1 = require("./domains/fitting/enums/fitting-statuses");
|
|
9
9
|
Object.defineProperty(exports, "FittingStatuses", { enumerable: true, get: function () { return fitting_statuses_1.FittingStatuses; } });
|
|
10
10
|
var intermediary_group_range_formats_1 = require("./domains/pricing/intermediaries/enums/intermediary-group-range-formats");
|
|
@@ -113,4 +113,10 @@ Object.defineProperty(exports, "DefaultClientNumberFormattingSettings", { enumer
|
|
|
113
113
|
var format_number_to_indian_compact_in_crores_1 = require("./helpers/format-number-to-indian-compact-in-crores");
|
|
114
114
|
Object.defineProperty(exports, "formatNumberToIndianCompactInCrores", { enumerable: true, get: function () { return format_number_to_indian_compact_in_crores_1.formatNumberToIndianCompactInCrores; } });
|
|
115
115
|
Object.defineProperty(exports, "isCompactIndianFormatInDecimals", { enumerable: true, get: function () { return format_number_to_indian_compact_in_crores_1.isCompactIndianFormatInDecimals; } });
|
|
116
|
+
var mechanic_types_1 = require("./enums/promotion-offer/mechanic-types");
|
|
117
|
+
Object.defineProperty(exports, "MechanicTypes", { enumerable: true, get: function () { return mechanic_types_1.MechanicTypes; } });
|
|
118
|
+
var mechanic_type_relations_1 = require("./enums/promotion-offer/mechanic-type-relations");
|
|
119
|
+
Object.defineProperty(exports, "MechanicTypeRelations", { enumerable: true, get: function () { return mechanic_type_relations_1.MechanicTypeRelations; } });
|
|
120
|
+
var promotion_offer_relations_1 = require("./enums/promotion-offer/promotion-offer-relations");
|
|
121
|
+
Object.defineProperty(exports, "PromotionOfferRelations", { enumerable: true, get: function () { return promotion_offer_relations_1.PromotionOfferRelations; } });
|
|
116
122
|
//# sourceMappingURL=index.js.map
|
package/build/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;AAAA,6EAA0E;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;AAAA,6EAA0E;AAwHxE,gGAxHO,kCAAe,OAwHP;AArHjB,4HAAuH;AAoHrH,8GApHO,gEAA6B,OAoHP;AAnH/B,4GAAwG;AAkHtG,uGAlHO,iDAAsB,OAkHP;AAjHxB,oFAAoF;AA0KlF,oGA1KO,uCAAmB,OA0KP;AAxKrB,mGAA+F;AA0I7F,wGA1IO,mDAAuB,OA0IP;AAzIzB,6DAAiE;AAiH/D,uGAjHO,yCAAsB,OAiHP;AAhHxB,wEAAuE;AAmHrE,oGAnHO,wCAAmB,OAmHP;AAlHrB,wEAAoE;AAsGlE,iGAtGO,qCAAgB,OAsGP;AArGlB,gFAG8C;AAmG5C,oGArGA,4CAAmB,OAqGA;AACnB,gHArGA,wDA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