@buynomics-lib/bn-shared 1.17.56-feature-bb-109.0 → 1.17.56-feature-bb-109.2
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.
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare enum DateGranularity {
|
|
2
|
+
Week = "WEEK",
|
|
3
|
+
Month = "MONTH"
|
|
4
|
+
}
|
|
5
|
+
export declare enum DateWeekStart {
|
|
6
|
+
Monday = "MON",
|
|
7
|
+
Tuesday = "TUE",
|
|
8
|
+
Wednesday = "WED",
|
|
9
|
+
Thursday = "THU",
|
|
10
|
+
Friday = "FRI",
|
|
11
|
+
Saturday = "SAT",
|
|
12
|
+
Sunday = "SUN"
|
|
13
|
+
}
|
|
14
|
+
export declare const DefaultClientDateSettings: {
|
|
15
|
+
granularity: DateGranularity;
|
|
16
|
+
weekStart: DateWeekStart;
|
|
17
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DefaultClientDateSettings = exports.DateWeekStart = exports.DateGranularity = void 0;
|
|
4
|
+
var DateGranularity;
|
|
5
|
+
(function (DateGranularity) {
|
|
6
|
+
DateGranularity["Week"] = "WEEK";
|
|
7
|
+
DateGranularity["Month"] = "MONTH";
|
|
8
|
+
})(DateGranularity = exports.DateGranularity || (exports.DateGranularity = {}));
|
|
9
|
+
var DateWeekStart;
|
|
10
|
+
(function (DateWeekStart) {
|
|
11
|
+
DateWeekStart["Monday"] = "MON";
|
|
12
|
+
DateWeekStart["Tuesday"] = "TUE";
|
|
13
|
+
DateWeekStart["Wednesday"] = "WED";
|
|
14
|
+
DateWeekStart["Thursday"] = "THU";
|
|
15
|
+
DateWeekStart["Friday"] = "FRI";
|
|
16
|
+
DateWeekStart["Saturday"] = "SAT";
|
|
17
|
+
DateWeekStart["Sunday"] = "SUN";
|
|
18
|
+
})(DateWeekStart = exports.DateWeekStart || (exports.DateWeekStart = {}));
|
|
19
|
+
exports.DefaultClientDateSettings = {
|
|
20
|
+
granularity: DateGranularity.Week,
|
|
21
|
+
weekStart: DateWeekStart.Monday,
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=client-date.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client-date.js","sourceRoot":"","sources":["../../../src/enums/client/client-date.ts"],"names":[],"mappings":";;;AAAA,IAAY,eAGX;AAHD,WAAY,eAAe;IACzB,gCAAa,CAAA;IACb,kCAAe,CAAA;AACjB,CAAC,EAHW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAG1B;AAED,IAAY,aAQX;AARD,WAAY,aAAa;IACvB,+BAAc,CAAA;IACd,gCAAe,CAAA;IACf,kCAAiB,CAAA;IACjB,iCAAgB,CAAA;IAChB,+BAAc,CAAA;IACd,iCAAgB,CAAA;IAChB,+BAAc,CAAA;AAChB,CAAC,EARW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAQxB;AAEY,QAAA,yBAAyB,GAAG;IACvC,WAAW,EAAE,eAAe,CAAC,IAAI;IACjC,SAAS,EAAE,aAAa,CAAC,MAAM;CAChC,CAAA"}
|
package/build/index.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ import { CostChangeTypes } from './enums/cost-change/cost-change-types';
|
|
|
26
26
|
import { DeeperionVersions, DeeperionAppSwitchValues, DeeperionRequestTypes, DeeperionModelTypes } from './enums/deeperion';
|
|
27
27
|
import { KpiConstraintType, KpiConstraintMode, OptimizationStatus, OptimizationKpis, OptimizationSolutionBucket } from './enums/optimization';
|
|
28
28
|
import { BnPermissions } from './enums/permissions';
|
|
29
|
+
import { DateGranularity, DateWeekStart, DefaultClientDateSettings } from './enums/client/client-date';
|
|
29
30
|
import { ChangePriceBases } from './enums/price-change/change-price-bases';
|
|
30
31
|
import { PriceChangeTypes } from './enums/price-change/price-change-types';
|
|
31
32
|
import { PriceLevelTypes } from './enums/price-level/price-level-types';
|
|
@@ -55,4 +56,4 @@ import PriceDecisionNullificationHelper from './helpers/price-decision/price-dec
|
|
|
55
56
|
import { IClientViewSettings } from './interfaces/client-view-settings';
|
|
56
57
|
import { IFileUpload } from './interfaces/file-upload';
|
|
57
58
|
import { ISimulationInputChangeEvents } from './interfaces/simulation/simulation-input-change-events';
|
|
58
|
-
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, KpiConstraintMode, MechanicParamTypes, MechanicParamReferenceIds, MechanicTypeRelations, PromotionOfferStatus, PromotionOffersCalendarGroupByOptions, OptimizationStatus, OptimizationKpis, OptimizationSolutionBucket, ScenarioStatus, ISimulationInputChangeEvents, IFitting, IFittingLog, IFileUpload, IPromotionPeriod, calculateRange, getLatestDeeperionVersionValue, getCustomFormulaParamsLabel, formatNumberToIndianCompactInCrores, isCompactIndianFormatInDecimals, EnumHelper, getPropertyName, PriceDecisionNullificationHelper, getPromotionPeriods, ClientViewSettingsPages, IClientViewSettings, DefaultClientFeaturesSettings, DefaultClientFeatures, DefaultClientNumberFormattingSettings, WebsocketEvents, ScenarioEventSource, };
|
|
59
|
+
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, KpiConstraintMode, MechanicParamTypes, MechanicParamReferenceIds, MechanicTypeRelations, PromotionOfferStatus, PromotionOffersCalendarGroupByOptions, OptimizationStatus, OptimizationKpis, OptimizationSolutionBucket, ScenarioStatus, DateGranularity, DateWeekStart, DefaultClientDateSettings, ISimulationInputChangeEvents, IFitting, IFittingLog, IFileUpload, IPromotionPeriod, calculateRange, getLatestDeeperionVersionValue, getCustomFormulaParamsLabel, formatNumberToIndianCompactInCrores, isCompactIndianFormatInDecimals, EnumHelper, getPropertyName, PriceDecisionNullificationHelper, getPromotionPeriods, ClientViewSettingsPages, IClientViewSettings, DefaultClientFeaturesSettings, DefaultClientFeatures, DefaultClientNumberFormattingSettings, WebsocketEvents, ScenarioEventSource, };
|
package/build/index.js
CHANGED
|
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.OptimizationStatus = exports.PromotionOffersCalendarGroupByOptions = exports.PromotionOfferStatus = exports.MechanicTypeRelations = exports.MechanicParamReferenceIds = exports.MechanicParamTypes = exports.KpiConstraintMode = 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.ScenarioEventSource = exports.WebsocketEvents = exports.DefaultClientNumberFormattingSettings = exports.DefaultClientFeatures = exports.DefaultClientFeaturesSettings = exports.ClientViewSettingsPages = exports.getPromotionPeriods = exports.PriceDecisionNullificationHelper = exports.getPropertyName = exports.EnumHelper = exports.isCompactIndianFormatInDecimals = exports.formatNumberToIndianCompactInCrores = exports.getCustomFormulaParamsLabel = exports.getLatestDeeperionVersionValue = exports.calculateRange = exports.ScenarioStatus = exports.OptimizationSolutionBucket = exports.OptimizationKpis = void 0;
|
|
7
|
+
exports.ScenarioEventSource = exports.WebsocketEvents = exports.DefaultClientNumberFormattingSettings = exports.DefaultClientFeatures = exports.DefaultClientFeaturesSettings = exports.ClientViewSettingsPages = exports.getPromotionPeriods = exports.PriceDecisionNullificationHelper = exports.getPropertyName = exports.EnumHelper = exports.isCompactIndianFormatInDecimals = exports.formatNumberToIndianCompactInCrores = exports.getCustomFormulaParamsLabel = exports.getLatestDeeperionVersionValue = exports.calculateRange = exports.DefaultClientDateSettings = exports.DateWeekStart = exports.DateGranularity = exports.ScenarioStatus = exports.OptimizationSolutionBucket = exports.OptimizationKpis = 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");
|
|
@@ -69,6 +69,10 @@ Object.defineProperty(exports, "OptimizationKpis", { enumerable: true, get: func
|
|
|
69
69
|
Object.defineProperty(exports, "OptimizationSolutionBucket", { enumerable: true, get: function () { return optimization_1.OptimizationSolutionBucket; } });
|
|
70
70
|
var permissions_1 = require("./enums/permissions");
|
|
71
71
|
Object.defineProperty(exports, "BnPermissions", { enumerable: true, get: function () { return permissions_1.BnPermissions; } });
|
|
72
|
+
var client_date_1 = require("./enums/client/client-date");
|
|
73
|
+
Object.defineProperty(exports, "DateGranularity", { enumerable: true, get: function () { return client_date_1.DateGranularity; } });
|
|
74
|
+
Object.defineProperty(exports, "DateWeekStart", { enumerable: true, get: function () { return client_date_1.DateWeekStart; } });
|
|
75
|
+
Object.defineProperty(exports, "DefaultClientDateSettings", { enumerable: true, get: function () { return client_date_1.DefaultClientDateSettings; } });
|
|
72
76
|
var change_price_bases_1 = require("./enums/price-change/change-price-bases");
|
|
73
77
|
Object.defineProperty(exports, "ChangePriceBases", { enumerable: true, get: function () { return change_price_bases_1.ChangePriceBases; } });
|
|
74
78
|
var price_change_types_1 = require("./enums/price-change/price-change-types");
|
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;AA6HxE,gGA7HO,kCAAe,OA6HP;AA1HjB,4HAAuH;AAyHrH,8GAzHO,gEAA6B,OAyHP;AAxH/B,4GAAwG;AAuHtG,uGAvHO,iDAAsB,OAuHP;AAtHxB,oFAAoF;AAkLlF,oGAlLO,uCAAmB,OAkLP;AAhLrB,mGAA+F;AA+I7F,wGA/IO,mDAAuB,OA+IP;AA9IzB,6DAAiE;AAsH/D,uGAtHO,yCAAsB,OAsHP;AArHxB,wEAAuE;AAwHrE,oGAxHO,wCAAmB,OAwHP;AAvHrB,wEAAoE;AA2GlE,iGA3GO,qCAAgB,OA2GP;AA1GlB,gFAG8C;AAwG5C,oGA1GA,4CAAmB,OA0GA;AACnB,gHA1GA,wDAA+B,OA0GA;AAxGjC,kFAG+C;AAsG7C,sGAxGA,+CAAqB,OAwGA;AACrB,6GAxGA,sDAA4B,OAwGA;AArG9B,oFAAgF;AA8G9E,uGA9GO,iDAAsB,OA8GP;AA7GxB,kEAMuC;AAoHrC,8FAzHA,+BAAa,OAyHA;AACb,mGAzHA,oCAAkB,OAyHA;AAElB,mGAzHA,oCAAkB,OAyHA;AAtHpB,kEAA+D;AA4H7D,+FA5HO,gCAAc,OA4HP;AA3HhB,sGASyD;AAiGvD,uHAxGA,0EAAsC,OAwGA;AAJtC,2HAnGA,8EAA0C,O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