@buynomics-lib/bn-shared 1.17.69-feature-cf-108.0 → 1.17.69-feature-cf-109.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/kpis/system-kpi.interface.d.ts +35 -0
- package/build/{interfaces/kpis/scoped-kpi-scope.interface.js → enums/kpis/system-kpi.interface.js} +1 -1
- package/build/enums/kpis/system-kpi.interface.js.map +1 -0
- package/build/enums/kpis/system-kpis.d.ts +2 -17
- package/build/enums/kpis/system-kpis.js.map +1 -1
- package/build/enums/kpis/system-scoped-kpis.d.ts +1 -20
- package/build/enums/kpis/system-scoped-kpis.js.map +1 -1
- package/build/index.d.ts +3 -3
- package/build/index.js.map +1 -1
- package/package.json +1 -1
- package/build/interfaces/kpis/index.d.ts +0 -1
- package/build/interfaces/kpis/index.js +0 -18
- package/build/interfaces/kpis/index.js.map +0 -1
- package/build/interfaces/kpis/scoped-kpi-scope.interface.d.ts +0 -32
- package/build/interfaces/kpis/scoped-kpi-scope.interface.js.map +0 -1
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { KpiAggregation, KpiVariableFormat } from './kpi-variable-format.enum';
|
|
2
|
+
import { KpiDisplayStyle } from './kpi-display-style.enum';
|
|
3
|
+
import { KpiConfigType } from './kpi-config-type.enum';
|
|
4
|
+
export interface IScopedKpiScope {
|
|
5
|
+
isCompetitor?: boolean;
|
|
6
|
+
segmentReferenceIds?: string[];
|
|
7
|
+
salesChannelReferenceIds?: string[];
|
|
8
|
+
timeRanges?: {
|
|
9
|
+
startDate: string;
|
|
10
|
+
endDate: string;
|
|
11
|
+
}[];
|
|
12
|
+
}
|
|
13
|
+
export interface IKpiDisplaySettings {
|
|
14
|
+
minDecimalPlaces: number;
|
|
15
|
+
maxDecimalPlaces: number;
|
|
16
|
+
displayStyle: KpiDisplayStyle;
|
|
17
|
+
}
|
|
18
|
+
export interface ISystemKpiBase {
|
|
19
|
+
referenceId: string;
|
|
20
|
+
name: string;
|
|
21
|
+
formula: string;
|
|
22
|
+
aggregation: KpiAggregation;
|
|
23
|
+
format: KpiVariableFormat;
|
|
24
|
+
displaySettings: IKpiDisplaySettings;
|
|
25
|
+
isVisible: boolean;
|
|
26
|
+
type: KpiConfigType;
|
|
27
|
+
}
|
|
28
|
+
export interface ISystemKpi extends ISystemKpiBase {
|
|
29
|
+
type: KpiConfigType.Base;
|
|
30
|
+
}
|
|
31
|
+
export interface ISystemScopedKpi extends ISystemKpiBase {
|
|
32
|
+
underlyingKpiReferenceId: string;
|
|
33
|
+
scope: IScopedKpiScope;
|
|
34
|
+
type: KpiConfigType.Scoped;
|
|
35
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"system-kpi.interface.js","sourceRoot":"","sources":["../../../src/enums/kpis/system-kpi.interface.ts"],"names":[],"mappings":""}
|
|
@@ -1,17 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import { KpiConfigType } from './kpi-config-type.enum';
|
|
4
|
-
export declare const SystemKpis: {
|
|
5
|
-
referenceId: string;
|
|
6
|
-
name: string;
|
|
7
|
-
formula: string;
|
|
8
|
-
aggregation: KpiAggregation;
|
|
9
|
-
format: KpiVariableFormat;
|
|
10
|
-
displaySettings: {
|
|
11
|
-
minDecimalPlaces: number;
|
|
12
|
-
maxDecimalPlaces: number;
|
|
13
|
-
displayStyle: KpiDisplayStyle;
|
|
14
|
-
};
|
|
15
|
-
isVisible: boolean;
|
|
16
|
-
type: KpiConfigType;
|
|
17
|
-
}[];
|
|
1
|
+
import { ISystemKpi } from './system-kpi.interface';
|
|
2
|
+
export declare const SystemKpis: ISystemKpi[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"system-kpis.js","sourceRoot":"","sources":["../../../src/enums/kpis/system-kpis.ts"],"names":[],"mappings":";;;AAAA,uEAA8E;AAC9E,qHAA+G;AAC/G,iGAAkG;AAClG,mEAA0D;AAC1D,+DAAsD;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
|
|
1
|
-
import {
|
|
2
|
-
import { KpiDisplayStyle } from './kpi-display-style.enum';
|
|
3
|
-
import { KpiConfigType } from './kpi-config-type.enum';
|
|
4
|
-
import { IScopedKpiScope } from '../../interfaces/kpis/scoped-kpi-scope.interface';
|
|
5
|
-
export interface ISystemScopedKpi {
|
|
6
|
-
referenceId: string;
|
|
7
|
-
name: string;
|
|
8
|
-
underlyingKpiReferenceId: string;
|
|
9
|
-
scope: IScopedKpiScope;
|
|
10
|
-
formula: string;
|
|
11
|
-
aggregation: KpiAggregation;
|
|
12
|
-
format: KpiVariableFormat;
|
|
13
|
-
displaySettings: {
|
|
14
|
-
minDecimalPlaces: number;
|
|
15
|
-
maxDecimalPlaces: number;
|
|
16
|
-
displayStyle: KpiDisplayStyle;
|
|
17
|
-
};
|
|
18
|
-
isVisible: boolean;
|
|
19
|
-
type: KpiConfigType.Scoped;
|
|
20
|
-
}
|
|
1
|
+
import { ISystemScopedKpi } from './system-kpi.interface';
|
|
21
2
|
export declare const SystemScopedKpis: ISystemScopedKpi[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"system-scoped-kpis.js","sourceRoot":"","sources":["../../../src/enums/kpis/system-scoped-kpis.ts"],"names":[],"mappings":";;;AAAA,uEAA8E;AAC9E,qHAA+G;AAC/G,iGAAkG;AAClG,mEAA0D;AAC1D,+DAAsD;AAGtD,IAAM,6BAA6B,GACjC,iFAAqC,CAAC,cAAc,CAClD,wEAAoC,CAAC,KAAK,CAC3C,CAAA;AACH,IAAM,6BAA6B,GACjC,iFAAqC,CAAC,cAAc,CAClD,wEAAoC,CAAC,KAAK,CAC3C,CAAA;
|
|
1
|
+
{"version":3,"file":"system-scoped-kpis.js","sourceRoot":"","sources":["../../../src/enums/kpis/system-scoped-kpis.ts"],"names":[],"mappings":";;;AAAA,uEAA8E;AAC9E,qHAA+G;AAC/G,iGAAkG;AAClG,mEAA0D;AAC1D,+DAAsD;AAGtD,IAAM,6BAA6B,GACjC,iFA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,oCAAa,CAAC,IAAI,aAAU;QAC7D,KAAK,EAAE,EAAE,YAAY,EAAE,KAAK,EAAE;QAC9B,OAAO,EAAE,eAAe;QACxB,WAAW,EAAE,yCAAc,CAAC,GAAG;QAC/B,MAAM,EAAE,4CAAiB,CAAC,QAAQ;QAClC,eAAe,EAAE;YACf,gBAAgB,EAAE,6BAA6B,CAAC,qBAAqB;YACrE,gBAAgB,EAAE,6BAA6B,CAAC,qBAAqB;YACrE,YAAY,EAAE,wCAAe,CAAC,QAAQ;SACvC;QACD,SAAS,EAAE,IAAI;QACf,IAAI,EAAE,oCAAa,CAAC,MAAM;KAC3B;IACD;QACE,WAAW,EAAE,cAAO,oCAAa,CAAC,MAAM,qBAAkB;QAC1D,IAAI,EAAE,iBAAiB;QACvB,wBAAwB,EAAE,cAAO,oCAAa,CAAC,IAAI,WAAQ;QAC3D,KAAK,EAAE,EAAE,YAAY,EAAE,KAAK,EAAE;QAC9B,OAAO,EAAE,OAAO;QAChB,WAAW,EAAE,yCAAc,CAAC,GAAG;QAC/B,MAAM,EAAE,4CAAiB,CAAC,OAAO;QACjC,eAAe,EAAE;YACf,gBAAgB,EAAE,6BAA6B,CAAC,qBAAqB;YACrE,gBAAgB,EAAE,6BAA6B,CAAC,qBAAqB;YACrE,YAAY,EAAE,wCAAe,CAAC,QAAQ;SACvC;QACD,SAAS,EAAE,IAAI;QACf,IAAI,EAAE,oCAAa,CAAC,MAAM;KAC3B;CACF,CAAA"}
|
package/build/index.d.ts
CHANGED
|
@@ -61,6 +61,6 @@ import { KpiDisplayStyle } from './enums/kpis/kpi-display-style.enum';
|
|
|
61
61
|
import { KpiConfigType } from './enums/kpis/kpi-config-type.enum';
|
|
62
62
|
import { KpiSystemVariables } from './enums/kpis/kpi-system-variables';
|
|
63
63
|
import { SystemKpis } from './enums/kpis/system-kpis';
|
|
64
|
-
import { SystemScopedKpis
|
|
65
|
-
import { IScopedKpiScope } from './
|
|
66
|
-
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, ClientDateSettings, DefaultClientDateSettings, ISimulationInputChangeEvents, IFitting, IFittingLog, IFileUpload, IPromotionPeriod, calculateRange, getLatestDeeperionVersionValue, getCustomFormulaParamsLabel, formatNumberToIndianCompactInCrores, isCompactIndianFormatInDecimals, EnumHelper, getPropertyName, PriceDecisionNullificationHelper, getPromotionPeriods, ClientViewSettingsPages, IClientViewSettings, DefaultClientFeaturesSettings, DefaultClientFeatures, DefaultClientNumberFormattingSettings, WebsocketEvents, ScenarioEventSource, KpiVariableFormat, KpiAggregation, KpiDisplayStyle, KpiConfigType, KpiSystemVariables, SystemKpis, SystemScopedKpis, ISystemScopedKpi, IScopedKpiScope, };
|
|
64
|
+
import { SystemScopedKpis } from './enums/kpis/system-scoped-kpis';
|
|
65
|
+
import { ISystemKpiBase, ISystemKpi, IKpiDisplaySettings, ISystemScopedKpi, IScopedKpiScope } from './enums/kpis/system-kpi.interface';
|
|
66
|
+
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, ClientDateSettings, DefaultClientDateSettings, ISimulationInputChangeEvents, IFitting, IFittingLog, IFileUpload, IPromotionPeriod, calculateRange, getLatestDeeperionVersionValue, getCustomFormulaParamsLabel, formatNumberToIndianCompactInCrores, isCompactIndianFormatInDecimals, EnumHelper, getPropertyName, PriceDecisionNullificationHelper, getPromotionPeriods, ClientViewSettingsPages, IClientViewSettings, DefaultClientFeaturesSettings, DefaultClientFeatures, DefaultClientNumberFormattingSettings, WebsocketEvents, ScenarioEventSource, KpiVariableFormat, KpiAggregation, KpiDisplayStyle, KpiConfigType, KpiSystemVariables, SystemKpis, SystemScopedKpis, ISystemKpiBase, ISystemKpi, ISystemScopedKpi, IKpiDisplaySettings, IScopedKpiScope, };
|
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;AA8IxE,gGA9IO,kCAAe,OA8IP;AA3IjB,4HAAuH;AA0IrH,8GA1IO,gEAA6B,OA0IP;AAzI/B,4GAAwG;AAwItG,uGAxIO,iDAAsB,OAwIP;AAvIxB,oFAAoF;AAoMlF,oGApMO,uCAAmB,OAoMP;AAlMrB,mGAA+F;AAgK7F,wGAhKO,mDAAuB,OAgKP;AA/JzB,6DAAiE;AAuI/D,uGAvIO,yCAAsB,OAuIP;AAtIxB,wEAAuE;AAyIrE,oGAzIO,wCAAmB,OAyIP;AAxIrB,wEAAoE;AA4HlE,iGA5HO,qCAAgB,OA4HP;AA3HlB,gFAG8C;AAyH5C,oGA3HA,4CAAmB,OA2HA;AACnB,gHA3HA,wDAA+B,OA2HA;AAzHjC,kFAG+C;AAuH7C,sGAzHA,+CAAqB,OAyHA;AACrB,6GAzHA,sDAA4B,OAyHA;AAtH9B,oFAAgF;AA+H9E,uGA/HO,iDAAsB,OA+HP;AA9HxB,kEAMuC;AAqIrC,8FA1IA,+BAAa,OA0IA;AACb,mGA1IA,oCAAkB,OA0IA;AAElB,mGA1IA,oCAAkB,OA0IA;AAvIpB,kEAA+D;AA6I7D,+FA7IO,gCAAc,OA6IP;AA5IhB,sGASyD;AAkHvD,uHAzHA,0EAAsC,OAyHA;AAJtC,2HApHA,8EAA0C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GP;AAtGpB,wDAAqD;AAuGnD,2FAvGO,wBAAU,OAuGP;AAtGZ,sEAAkE;AAuGhE,iGAvGO,qCAAgB,OAuGP"}
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './scoped-kpi-scope.interface';
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./scoped-kpi-scope.interface"), exports);
|
|
18
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/interfaces/kpis/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+DAA4C"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Interface defining the scope of a scoped KPI.
|
|
3
|
-
* A scope determines which subset of data the KPI calculation applies to.
|
|
4
|
-
*/
|
|
5
|
-
export interface IScopedKpiScope {
|
|
6
|
-
/**
|
|
7
|
-
* Filter by product ownership:
|
|
8
|
-
* - false: "Own products" only
|
|
9
|
-
* - true: "Competition" products only
|
|
10
|
-
* - undefined: All products (no filter)
|
|
11
|
-
*/
|
|
12
|
-
isCompetitor?: boolean;
|
|
13
|
-
/**
|
|
14
|
-
* Filter by specific segment reference IDs.
|
|
15
|
-
* For future custom scopes (CF-109).
|
|
16
|
-
*/
|
|
17
|
-
segmentReferenceIds?: string[];
|
|
18
|
-
/**
|
|
19
|
-
* Filter by specific subsegment reference IDs.
|
|
20
|
-
* For future custom scopes (CF-109).
|
|
21
|
-
*/
|
|
22
|
-
subsegmentReferenceIds?: string[];
|
|
23
|
-
/**
|
|
24
|
-
* Filter by aggregation group attributes.
|
|
25
|
-
* Key: aggregation group reference ID
|
|
26
|
-
* Value: array of attribute reference IDs within that group
|
|
27
|
-
* For future custom scopes (CF-109).
|
|
28
|
-
*/
|
|
29
|
-
aggregationGroupReferenceIds?: {
|
|
30
|
-
[aggregationGroupReferenceId: string]: string[];
|
|
31
|
-
};
|
|
32
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"scoped-kpi-scope.interface.js","sourceRoot":"","sources":["../../../src/interfaces/kpis/scoped-kpi-scope.interface.ts"],"names":[],"mappings":""}
|