@annalib/anna-feature-biz-rules 0.0.1
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/README.md +63 -0
- package/advertiser-listing/index.d.ts +5 -0
- package/advertiser-listing/public-api.d.ts +5 -0
- package/advertiser-listing/src/advertiser-filter-modal/advertiser-filter-modal.component.d.ts +91 -0
- package/advertiser-listing/src/advertiser-filter-modal/models/advertiser-filter-modal.model.d.ts +13 -0
- package/advertiser-listing/src/advertiser-table-listing/advertiser-table-listing.component.d.ts +81 -0
- package/advertiser-listing/src/advertiser-table-listing/model/adv-table-listing.model.d.ts +24 -0
- package/advertiser-listing/src/advertiser-table-listing/services/adv-table-listing.service.d.ts +6 -0
- package/biz-rules-order-listing/index.d.ts +5 -0
- package/biz-rules-order-listing/public-api.d.ts +5 -0
- package/biz-rules-order-listing/src/biz-rules-order-listing.component.d.ts +139 -0
- package/biz-rules-order-listing/src/model/biz-rule-order-listing.constant.d.ts +35 -0
- package/biz-rules-order-listing/src/model/biz-rule-order-listing.model.d.ts +107 -0
- package/biz-rules-order-listing/src/service/automation-activated-and-pod.token.service.d.ts +24 -0
- package/biz-rules-order-listing/src/service/biz-rule-order-listing-backend.service.d.ts +18 -0
- package/business-rules/index.d.ts +5 -0
- package/business-rules/public-api.d.ts +27 -0
- package/business-rules/src/add-buyer-contact/models/add-buyer-contact.model.d.ts +13 -0
- package/business-rules/src/add-edit-buyer-contact-popup/add-edit-buyer-contact-popup.component.d.ts +53 -0
- package/business-rules/src/add-edit-buyer-contact-popup/services/buyer-contact-token.service.d.ts +6 -0
- package/business-rules/src/adu-rules/adu-rules.component.d.ts +88 -0
- package/business-rules/src/adu-rules/models/adu-rules.model.d.ts +84 -0
- package/business-rules/src/approval-config/approval-config.component.d.ts +49 -0
- package/business-rules/src/approval-config/services/approval-config.service.d.ts +10 -0
- package/business-rules/src/avatar/avatar.component.d.ts +18 -0
- package/business-rules/src/business-rule-page/business-rule-page.component.d.ts +95 -0
- package/business-rules/src/business-rule-page/models/business-rule-page.constants.d.ts +70 -0
- package/business-rules/src/business-rule-page/models/business-rule.model.d.ts +567 -0
- package/business-rules/src/business-rule-page/services/business-rule-common-SI-BI-logic.service.d.ts +19 -0
- package/business-rules/src/business-rules-history/business-rules-history.component.d.ts +44 -0
- package/business-rules/src/business-rules-history/models/biz-rule-history.model.d.ts +28 -0
- package/business-rules/src/business-rules-history-popup/business-rules-history-popup.component.d.ts +60 -0
- package/business-rules/src/business-rules-history-popup/models/business-rules-history-popup.model.d.ts +15 -0
- package/business-rules/src/buyer-contact-history/buyer-contact-history.component.d.ts +31 -0
- package/business-rules/src/buyer-contact-history/models/buyer-contact-history.model.d.ts +16 -0
- package/business-rules/src/buyer-contact-section/buyer-rep-contact-section.component.d.ts +43 -0
- package/business-rules/src/buyer-contact-section/models/buyer-contact.model.d.ts +52 -0
- package/business-rules/src/copy-biz-rules-popup/copy-biz-rules-popup.component.d.ts +91 -0
- package/business-rules/src/copy-biz-rules-popup/copy-business-rule-backend-service.token.d.ts +12 -0
- package/business-rules/src/copy-biz-rules-popup/models/copy-biz-rules.model.d.ts +47 -0
- package/business-rules/src/daypart-grouping-popup/daypart-grouping-popup.component.d.ts +31 -0
- package/business-rules/src/daypart-restrictions/daypart-restrictions.component.d.ts +62 -0
- package/business-rules/src/daypart-restrictions/pipe/replaceEnd.pipe.d.ts +7 -0
- package/business-rules/src/equivalent-and-higher-daypart/equivalent-and-higher-daypart.component.d.ts +39 -0
- package/business-rules/src/excluded-or-special-program/excluded-or-special-program.component.d.ts +58 -0
- package/business-rules/src/general-rules/general-rules.component.d.ts +105 -0
- package/business-rules/src/general-rules/models/general-rules-constant.d.ts +21 -0
- package/business-rules/src/inherit-biz-rule-approval-popup/inherit-biz-rule-approval-popup.component.d.ts +66 -0
- package/business-rules/src/inherit-biz-rule-approval-popup/models/inherit-biz-rule-approval-popup.model.d.ts +47 -0
- package/business-rules/src/inherit-biz-rule-approval-popup/services/inherit-biz-rule-approval-popup.service.d.ts +9 -0
- package/business-rules/src/make-good-rules/make-good-rules.component.d.ts +86 -0
- package/business-rules/src/make-good-rules/models/make-good-rules.model.d.ts +98 -0
- package/business-rules/src/make-good-rules/validators/relaxedValidation.d.ts +2 -0
- package/business-rules/src/mass-copy-biz-rules-popup/mass-copy-biz-rules-popup.component.d.ts +59 -0
- package/business-rules/src/mass-copy-biz-rules-popup/models/mass-copy-biz-rules.model.d.ts +32 -0
- package/fesm2022/annalib-anna-feature-biz-rules-advertiser-listing.mjs +768 -0
- package/fesm2022/annalib-anna-feature-biz-rules-advertiser-listing.mjs.map +1 -0
- package/fesm2022/annalib-anna-feature-biz-rules-biz-rules-order-listing.mjs +1068 -0
- package/fesm2022/annalib-anna-feature-biz-rules-biz-rules-order-listing.mjs.map +1 -0
- package/fesm2022/annalib-anna-feature-biz-rules-business-rules.mjs +6987 -0
- package/fesm2022/annalib-anna-feature-biz-rules-business-rules.mjs.map +1 -0
- package/fesm2022/annalib-anna-feature-biz-rules.mjs +88 -0
- package/fesm2022/annalib-anna-feature-biz-rules.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/anna-feature-biz-rules.module.d.ts +20 -0
- package/package.json +45 -0
- package/public-api.d.ts +1 -0
|
@@ -0,0 +1,567 @@
|
|
|
1
|
+
import { IdText, SingleSelectIdText } from "@annalib/anna-design-components-lib";
|
|
2
|
+
import { BizRuleStatus } from "@annalib/anna-feature-lib/anna-feature-shared-lib";
|
|
3
|
+
import { OrdersToBeInheritedActionType } from "../../inherit-biz-rule-approval-popup/models/inherit-biz-rule-approval-popup.model";
|
|
4
|
+
import { BusinessPageType, UserTypeEnum } from "./business-rule-page.constants";
|
|
5
|
+
export declare class BizRulesResponse {
|
|
6
|
+
isParentStationBizRulesApproved: boolean;
|
|
7
|
+
previousStatus: string;
|
|
8
|
+
isExpired: boolean;
|
|
9
|
+
expiredFromTrafficOn: string;
|
|
10
|
+
highlightChanges: boolean;
|
|
11
|
+
sellerName: string;
|
|
12
|
+
inheritedLevel: BusinessPageType;
|
|
13
|
+
isParentBizRulesInherited: boolean;
|
|
14
|
+
lastSellerToEdit: string;
|
|
15
|
+
lastBuyerToEdit: string;
|
|
16
|
+
lastUserTypeToEdit: UserTypeEnum;
|
|
17
|
+
comment: string;
|
|
18
|
+
isSaved: boolean;
|
|
19
|
+
businessRulesStatus: BizRuleStatus;
|
|
20
|
+
isBuyerApprovalRequiredForPreApprovedSpots: boolean;
|
|
21
|
+
isSellerApprovalRequiredForPreApprovedSpots: boolean;
|
|
22
|
+
isBuyerBizRuleApprovalNeeded: boolean;
|
|
23
|
+
isBuyerSpotApprovalNeeded: boolean;
|
|
24
|
+
isProxyBuyerSpotsApprovalRequired: boolean;
|
|
25
|
+
disableProxyBuyerSpotsApprovalToggle: boolean;
|
|
26
|
+
allowEditForCompletedOrder: boolean;
|
|
27
|
+
lastEditedAt: string;
|
|
28
|
+
lastApprovedAt: string;
|
|
29
|
+
stationName: string;
|
|
30
|
+
advertiserName: string;
|
|
31
|
+
ogName: string;
|
|
32
|
+
minimumSeparation: string;
|
|
33
|
+
hideBizRuleStatusAndButtonButShowBizRules: boolean;
|
|
34
|
+
makeGoodRules: MakeGoodRulesResponse;
|
|
35
|
+
aduRules: AduRules;
|
|
36
|
+
generalRules: GeneralRules;
|
|
37
|
+
approvalConfig: ApprovalConfig;
|
|
38
|
+
dayAndDaypartRestrictionForMgAndAdu: DayAndDaypartRestrictionForMgAndAdu[];
|
|
39
|
+
equivalentAndHigherDaypartForMgAndAdu: EquivalentOrHigherDayparts[];
|
|
40
|
+
selectedExcludedInventories: Inventory[];
|
|
41
|
+
selectedSpecialInventories: Inventory[];
|
|
42
|
+
nonSelectedInventories: Inventory[];
|
|
43
|
+
numberOfMakeGoodRulesChanged: number;
|
|
44
|
+
numberOfAduRulesChanged: number;
|
|
45
|
+
numberOfDpRestrictionRulesChanged: number;
|
|
46
|
+
numberEquivalencyRulesChanged: number;
|
|
47
|
+
numberOfExcludedProgramsSelectionChanged: number;
|
|
48
|
+
numberOfSpecialProgramsSelectionChanged: number;
|
|
49
|
+
numberOfGeneralRulesChanged: number;
|
|
50
|
+
lastApprovedBusinessRulesHistoryId: number;
|
|
51
|
+
lastApprovedUserTypeAndName: string;
|
|
52
|
+
showBusinessRules: boolean;
|
|
53
|
+
showBuyerContactSection: boolean;
|
|
54
|
+
isPastOrderNotApprovedOrSet: boolean;
|
|
55
|
+
hideBuyerEditContactButtonOrDisableBuyerContactForm: boolean;
|
|
56
|
+
isAnyBizRuleChanged: boolean;
|
|
57
|
+
isOrderCompletedBeforeStationBizRuleGotApproved: boolean;
|
|
58
|
+
constructor(data: any, highlightChanges?: boolean);
|
|
59
|
+
}
|
|
60
|
+
export declare class Inventory {
|
|
61
|
+
programName: string;
|
|
62
|
+
startEndTime: string;
|
|
63
|
+
startTimeForFilter: string;
|
|
64
|
+
endTimeForFilter: string;
|
|
65
|
+
daypart: string;
|
|
66
|
+
type: string;
|
|
67
|
+
days: string;
|
|
68
|
+
makeGoodSelected: boolean;
|
|
69
|
+
isMakeGoodSelectedChanged: boolean;
|
|
70
|
+
isAduSelectedChanged: boolean;
|
|
71
|
+
aduSelected: boolean;
|
|
72
|
+
isSelected: boolean;
|
|
73
|
+
makeGoodCheckboxIsChangedIconActionKey: {
|
|
74
|
+
showIcon: boolean;
|
|
75
|
+
iconClass: string;
|
|
76
|
+
isDisabledKey: boolean;
|
|
77
|
+
}[];
|
|
78
|
+
aduCheckboxIsChangedIconActionKey: {
|
|
79
|
+
showIcon: boolean;
|
|
80
|
+
iconClass: string;
|
|
81
|
+
isDisabledKey: boolean;
|
|
82
|
+
}[];
|
|
83
|
+
constructor(data: any, highlightChanges: boolean);
|
|
84
|
+
}
|
|
85
|
+
export declare class PostingTypeBizRule {
|
|
86
|
+
disablePostingTypeDropdown: boolean;
|
|
87
|
+
previous: boolean;
|
|
88
|
+
isChanged: boolean;
|
|
89
|
+
postingTypesDropdownData: SingleSelectIdText[];
|
|
90
|
+
constructor(data: any);
|
|
91
|
+
}
|
|
92
|
+
export interface CurrentPreviousIsChangedStringValues {
|
|
93
|
+
Current: string;
|
|
94
|
+
Previous: string;
|
|
95
|
+
IsChanged: boolean;
|
|
96
|
+
}
|
|
97
|
+
export interface CurrentPreviousIsChangedBoolValues {
|
|
98
|
+
Current: boolean;
|
|
99
|
+
Previous: boolean;
|
|
100
|
+
IsChanged: boolean;
|
|
101
|
+
}
|
|
102
|
+
export interface CurrentPreviousIsChangedNumberValues {
|
|
103
|
+
Current: number;
|
|
104
|
+
Previous: number;
|
|
105
|
+
IsChanged: boolean;
|
|
106
|
+
}
|
|
107
|
+
export declare class MeasurementAgencyBizRule {
|
|
108
|
+
disableMeasurementAgencyDropdown: boolean;
|
|
109
|
+
isChanged: boolean;
|
|
110
|
+
measurementAgencyDropdownData: SingleSelectIdText[];
|
|
111
|
+
constructor(data: any);
|
|
112
|
+
}
|
|
113
|
+
declare class AdvertiserSeperation {
|
|
114
|
+
isAdvertiserSeparationNeeded: CurrentPreviousIsChangedBoolValues;
|
|
115
|
+
advertiserSeparationValue: CurrentPreviousIsChangedStringValues;
|
|
116
|
+
constructor(data: any);
|
|
117
|
+
}
|
|
118
|
+
export declare class GeneralRules {
|
|
119
|
+
postingTypeBusinessRule: PostingTypeBizRule;
|
|
120
|
+
measurementAgencyBizRule: MeasurementAgencyBizRule;
|
|
121
|
+
maxSpotsAllowedInOTO: MaxSpotsAllowedDurationsForOTO;
|
|
122
|
+
maxSpotsAllowedInStripDaily: MaxSpotsAllowedDurationsForStrip;
|
|
123
|
+
maxSpotsAllowedInStripWeekly: MaxSpotsAllowedDurationsForStrip;
|
|
124
|
+
advertiserSeperation: AdvertiserSeperation;
|
|
125
|
+
constructor(data: any);
|
|
126
|
+
}
|
|
127
|
+
export declare class RelaxedPreApprovedValues {
|
|
128
|
+
preApproved: CurrentPreviousIsChangedNumberValues;
|
|
129
|
+
relaxed: CurrentPreviousIsChangedNumberValues;
|
|
130
|
+
constructor(data: any);
|
|
131
|
+
}
|
|
132
|
+
export declare class DaypartGroups {
|
|
133
|
+
daypartGroupList: DaypartGroupsList[];
|
|
134
|
+
allDaypartGroups: IdText[];
|
|
135
|
+
isChanged: boolean;
|
|
136
|
+
constructor(data: any);
|
|
137
|
+
}
|
|
138
|
+
export declare class DaypartGroupsList {
|
|
139
|
+
groupName: string;
|
|
140
|
+
dayparts: IdText[];
|
|
141
|
+
isDuplicateGroupName: boolean;
|
|
142
|
+
constructor(groupName: string, daypartList: any);
|
|
143
|
+
}
|
|
144
|
+
export declare class MaxSpotsAllowedDurationsForOTO {
|
|
145
|
+
perHalfAnHour: RelaxedPreApprovedValues;
|
|
146
|
+
halfHourToOneHour: RelaxedPreApprovedValues;
|
|
147
|
+
oneHourToTwoHour: RelaxedPreApprovedValues;
|
|
148
|
+
twoHoursToThreeHours: RelaxedPreApprovedValues;
|
|
149
|
+
moreThanThreeHours?: RelaxedPreApprovedValues;
|
|
150
|
+
constructor(data: any);
|
|
151
|
+
}
|
|
152
|
+
export declare class MaxSpotsAllowedDurationsForStrip {
|
|
153
|
+
perHalfAnHour: RelaxedPreApprovedValues;
|
|
154
|
+
halfHourToOneHour: RelaxedPreApprovedValues;
|
|
155
|
+
oneHourToTwoHour: RelaxedPreApprovedValues;
|
|
156
|
+
moreThanTwoHours?: RelaxedPreApprovedValues;
|
|
157
|
+
constructor(data: any);
|
|
158
|
+
}
|
|
159
|
+
export declare class MGADUCommonRules {
|
|
160
|
+
isTresholdAllowed: CurrentPreviousIsChangedBoolValues;
|
|
161
|
+
allowedInventory: AllowedInventoryOrTimeWindow;
|
|
162
|
+
daypartRestrictionChanged: boolean;
|
|
163
|
+
equivalentOrHigherDaypartsChangedForMg: boolean;
|
|
164
|
+
equivalentOrHigherDaypartsChangedForAdu: boolean;
|
|
165
|
+
constructor(data: any);
|
|
166
|
+
}
|
|
167
|
+
export declare class MakeGoodRulesResponse extends MGADUCommonRules {
|
|
168
|
+
disableGenerateMgsForUnresolvedSpotsToggle: boolean;
|
|
169
|
+
disableProvideOffersBasedOnSpecificWeekDaysToggle: boolean;
|
|
170
|
+
generateMgsForUnresolvedSpots: CurrentPreviousIsChangedBoolValues;
|
|
171
|
+
maxPercentageOfGrpAllowedToMakeGood: CurrentPreviousIsChangedNumberValues;
|
|
172
|
+
maxSpotsAllowedForEachSpot: CurrentPreviousIsChangedNumberValues;
|
|
173
|
+
maxSpotsAllowedForEachSpotRelaxed: CurrentPreviousIsChangedNumberValues;
|
|
174
|
+
minPercentageRating: CurrentPreviousIsChangedNumberValues;
|
|
175
|
+
minPercentageRatingRelaxed: CurrentPreviousIsChangedNumberValues;
|
|
176
|
+
enableGrouping: CurrentPreviousIsChangedBoolValues;
|
|
177
|
+
isMakeGoodAllowedForSpecialDayparts: CurrentPreviousIsChangedBoolValues;
|
|
178
|
+
isWeekdayAllowedOnWeekends: CurrentPreviousIsChangedBoolValues;
|
|
179
|
+
isWeekdendAllowedOnWeekdays: CurrentPreviousIsChangedBoolValues;
|
|
180
|
+
lowerLimitPercentageForProgramChange: CurrentPreviousIsChangedNumberValues;
|
|
181
|
+
upperLimitPercentageForProgramChange: CurrentPreviousIsChangedNumberValues;
|
|
182
|
+
specialDaypartAllowedInventory: AllowedInventoryOrTimeWindow;
|
|
183
|
+
programChangeAllowedInventory: AllowedInventoryOrTimeWindow;
|
|
184
|
+
timeWindow: AllowedInventoryOrTimeWindow;
|
|
185
|
+
provideOffersBasedOnPreemptionDays: CurrentPreviousIsChangedBoolValues;
|
|
186
|
+
provideOffersBasedOnSpecificWeekDays: CurrentPreviousIsChangedBoolValues;
|
|
187
|
+
maxSpotsToBeGrouped: CurrentPreviousIsChangedNumberValues;
|
|
188
|
+
maxSpotsToBeGroupedRelaxed: CurrentPreviousIsChangedNumberValues;
|
|
189
|
+
constructor(data: any, disableProvideOffersToggle: boolean);
|
|
190
|
+
}
|
|
191
|
+
export declare class AduRules extends MGADUCommonRules {
|
|
192
|
+
generateAdu: CurrentPreviousIsChangedBoolValues;
|
|
193
|
+
useProjectedValues: CurrentPreviousIsChangedBoolValues;
|
|
194
|
+
percentageDeficitAllowedBeforeAdu: CurrentPreviousIsChangedNumberValues;
|
|
195
|
+
timeWindowForProvidingAdu: AllowedInventoryOrTimeWindow;
|
|
196
|
+
timeWindowForUdLiability: AllowedInventoryOrTimeWindow;
|
|
197
|
+
daypartGroups: DaypartGroups;
|
|
198
|
+
provideOffersBasedOnSpecificWeekDays: CurrentPreviousIsChangedBoolValues;
|
|
199
|
+
provideAdusForShortestDuration: CurrentPreviousIsChangedBoolValues;
|
|
200
|
+
sameDpGroupAllowedInventoryOption: PopulateListDropdown;
|
|
201
|
+
disableProvideOffersBasedOnSpecificWeekDaysToggle: boolean;
|
|
202
|
+
hasAduDiscrepancy: boolean;
|
|
203
|
+
isUdLiabilityOrder: boolean;
|
|
204
|
+
onlyForLiveOrders: CurrentPreviousIsChangedBoolValues;
|
|
205
|
+
constructor(data: any, disableProvideOffersToggle: boolean);
|
|
206
|
+
}
|
|
207
|
+
export declare class BuyerContacts {
|
|
208
|
+
campaignId: number;
|
|
209
|
+
orderId: number;
|
|
210
|
+
stationId: number;
|
|
211
|
+
primaryContact: ContactDetails;
|
|
212
|
+
secondaryContact: ContactDetails;
|
|
213
|
+
constructor(data: any);
|
|
214
|
+
}
|
|
215
|
+
export declare class ContactDetails {
|
|
216
|
+
buyerId: number;
|
|
217
|
+
name: string;
|
|
218
|
+
email: string;
|
|
219
|
+
contactNumber: string;
|
|
220
|
+
type: string;
|
|
221
|
+
constructor(data: any);
|
|
222
|
+
}
|
|
223
|
+
export declare class DropdownDataIdText {
|
|
224
|
+
id: number;
|
|
225
|
+
inventory: string;
|
|
226
|
+
text: string;
|
|
227
|
+
isSelected: boolean;
|
|
228
|
+
constructor(data: any);
|
|
229
|
+
}
|
|
230
|
+
export declare class PopulateListDropdown {
|
|
231
|
+
id: number;
|
|
232
|
+
inventory: string;
|
|
233
|
+
inventoryText: string;
|
|
234
|
+
isSelected: boolean;
|
|
235
|
+
constructor(data: any);
|
|
236
|
+
}
|
|
237
|
+
export declare class AllowedInventoryOrTimeWindow {
|
|
238
|
+
previousPreApproved: PopulateListDropdown;
|
|
239
|
+
previousRelaxed: PopulateListDropdown;
|
|
240
|
+
isPreApprovedChanged: boolean;
|
|
241
|
+
isRelaxedChanged: boolean;
|
|
242
|
+
isInvalid: boolean;
|
|
243
|
+
preApproved: PopulateListDropdown[];
|
|
244
|
+
relaxed: PopulateListDropdown[];
|
|
245
|
+
disableEditForRelaxed?: boolean;
|
|
246
|
+
constructor(data: any);
|
|
247
|
+
}
|
|
248
|
+
export declare class EquivalentOrHigherDayparts {
|
|
249
|
+
originalDaypart: IdText;
|
|
250
|
+
disableForEdit: boolean;
|
|
251
|
+
higherDaypartsForMg: DayPartList[];
|
|
252
|
+
equivalentDaypartsForMg: DayPartList[];
|
|
253
|
+
isHigherChangedForMg: boolean;
|
|
254
|
+
isEquivalentChangedForMg: boolean;
|
|
255
|
+
isHigherEditedForMg: boolean;
|
|
256
|
+
isEquivalentEditedForMg: boolean;
|
|
257
|
+
isHigherDpForMgSelected: boolean;
|
|
258
|
+
isEquivalentDpForMgSelected: boolean;
|
|
259
|
+
constructor(data: any);
|
|
260
|
+
}
|
|
261
|
+
export declare class DayPartList {
|
|
262
|
+
id: number;
|
|
263
|
+
text: string;
|
|
264
|
+
additionalData: string;
|
|
265
|
+
isSelected: boolean;
|
|
266
|
+
isDisabled: boolean;
|
|
267
|
+
constructor(data: any, isDisbaled?: boolean, additionalData?: string);
|
|
268
|
+
}
|
|
269
|
+
export declare class WeekdaysAndWeekend {
|
|
270
|
+
name: string;
|
|
271
|
+
isSelected: boolean;
|
|
272
|
+
constructor(data: any);
|
|
273
|
+
}
|
|
274
|
+
export declare class DaySelected {
|
|
275
|
+
name: string;
|
|
276
|
+
isSelected: boolean;
|
|
277
|
+
isChanged?: boolean;
|
|
278
|
+
constructor(data: any);
|
|
279
|
+
}
|
|
280
|
+
export declare class DaypartRestrictionDetails {
|
|
281
|
+
days: DaySelected[];
|
|
282
|
+
isDisabled: boolean;
|
|
283
|
+
restrictedStartTime: CurrentPreviousIsChangedStringValues;
|
|
284
|
+
restrictedEndTime: CurrentPreviousIsChangedStringValues;
|
|
285
|
+
time: {
|
|
286
|
+
time: string;
|
|
287
|
+
}[];
|
|
288
|
+
daySelectedString: string;
|
|
289
|
+
displayTime: string;
|
|
290
|
+
isTimeEdited: boolean;
|
|
291
|
+
isDaysChanged: boolean;
|
|
292
|
+
isDaysEdited: boolean;
|
|
293
|
+
constructor(data: any);
|
|
294
|
+
}
|
|
295
|
+
export declare class DayAndDaypartRestriction {
|
|
296
|
+
weekdays: DaypartRestrictionDetails;
|
|
297
|
+
saturday: DaypartRestrictionDetails;
|
|
298
|
+
sunday: DaypartRestrictionDetails;
|
|
299
|
+
constructor(data: any);
|
|
300
|
+
}
|
|
301
|
+
export declare class DayAndDaypartRestrictionForMgAndAdu {
|
|
302
|
+
id: number;
|
|
303
|
+
name: string;
|
|
304
|
+
daysSelectedForMg: DayAndDaypartRestriction;
|
|
305
|
+
daysSelectedForAdu: DayAndDaypartRestriction;
|
|
306
|
+
constructor(data: any);
|
|
307
|
+
}
|
|
308
|
+
export declare class DaypatrtRestriction {
|
|
309
|
+
id: number;
|
|
310
|
+
name: string;
|
|
311
|
+
startTime: string;
|
|
312
|
+
endTime: string;
|
|
313
|
+
mgTime: any;
|
|
314
|
+
isStartTimeRestrictedForMg: boolean;
|
|
315
|
+
isEndTimeRestrictedForMg: boolean;
|
|
316
|
+
restrictedStartTimeForMg: CurrentPreviousIsChangedStringValues;
|
|
317
|
+
restrictedEndTimeForMg: CurrentPreviousIsChangedStringValues;
|
|
318
|
+
restrictedStartTimeHourForMg: string;
|
|
319
|
+
restrictedStartTimeMinuteForMg: string;
|
|
320
|
+
restrictedStartTimeAmpmForMg: string;
|
|
321
|
+
restrictedEndTimeHourForMg: string;
|
|
322
|
+
restrictedEndTimeMinuteForMg: string;
|
|
323
|
+
restrictedEndTimeAmpmForMg: string;
|
|
324
|
+
restrictedStartTimeHasValidationErrorForMg: boolean;
|
|
325
|
+
restrictedEndTimeHasValidationErrorForMg: boolean;
|
|
326
|
+
restrictedStartTimeMinuteHasValidationError: boolean;
|
|
327
|
+
restrictedStartTimeHourHasValidationError: boolean;
|
|
328
|
+
restrictedEndTimeHourHasValidationError: boolean;
|
|
329
|
+
restrictedEndTimeMinuteHasValidationError: boolean;
|
|
330
|
+
isStartTimeRestrictedForAdu: boolean;
|
|
331
|
+
isEndTimeRestrictedForAdu: boolean;
|
|
332
|
+
restrictedStartTimeForAdu: CurrentPreviousIsChangedStringValues;
|
|
333
|
+
restrictedEndTimeForAdu: CurrentPreviousIsChangedStringValues;
|
|
334
|
+
restrictedStartTimeHourForAdu: string;
|
|
335
|
+
restrictedStartTimeMinuteForAdu: string;
|
|
336
|
+
restrictedStartTimeAmpmForAdu: string;
|
|
337
|
+
restrictedEndTimeHourForAdu: string;
|
|
338
|
+
restrictedEndTimeMinuteForAdu: string;
|
|
339
|
+
restrictedEndTimeAmpmForAdu: string;
|
|
340
|
+
restrictedStartTimeHasValidationErrorForAdu: boolean;
|
|
341
|
+
restrictedEndTimeHasValidationErrorForAdu: boolean;
|
|
342
|
+
timeForMg: {
|
|
343
|
+
timeForMg: string;
|
|
344
|
+
}[];
|
|
345
|
+
timeForAdu: {
|
|
346
|
+
time: string;
|
|
347
|
+
}[];
|
|
348
|
+
constructor(obj: any);
|
|
349
|
+
}
|
|
350
|
+
export declare enum BizRuleInfo {
|
|
351
|
+
A = "The ADUs will be offered in equivalent or higher dayparts selected in this rule, and follow rule# 6."
|
|
352
|
+
}
|
|
353
|
+
export declare class PreApprovedAndRelaxed {
|
|
354
|
+
PreApproved: string | number;
|
|
355
|
+
Relaxed: string | number;
|
|
356
|
+
constructor(preApprovedData: string | number, relaxedData: string | number);
|
|
357
|
+
}
|
|
358
|
+
export declare class EquivalentOrHigherDaypartsRequestPayload {
|
|
359
|
+
OriginalDaypart: number | string;
|
|
360
|
+
MgEquivalentOrHigherDaypart: EquivalentOrHigherDaypartsForMgOrAdu;
|
|
361
|
+
constructor(data: EquivalentOrHigherDayparts);
|
|
362
|
+
}
|
|
363
|
+
export declare class EquivalentOrHigherDaypartsForMgOrAdu {
|
|
364
|
+
EquivalentDaypart: number[];
|
|
365
|
+
HigherDaypart: number[];
|
|
366
|
+
}
|
|
367
|
+
export declare class DaySelectedForPayload {
|
|
368
|
+
Day: string;
|
|
369
|
+
IsSelected: boolean;
|
|
370
|
+
constructor(day: DaySelected);
|
|
371
|
+
}
|
|
372
|
+
export declare class DaypartRestrictionForMgOrAdu {
|
|
373
|
+
WeekdayRestrictedTime: RestrictedTime;
|
|
374
|
+
SaturdayRestrictedTime: RestrictedTime;
|
|
375
|
+
SundayRestrictedTime: RestrictedTime;
|
|
376
|
+
WeekdaysRestricted: DaySelectedForPayload[];
|
|
377
|
+
constructor(data: DayAndDaypartRestriction);
|
|
378
|
+
}
|
|
379
|
+
export declare class RestrictedTime {
|
|
380
|
+
RestrictedEndTime: string;
|
|
381
|
+
RestrictedStartTime: string;
|
|
382
|
+
constructor(startTime: string, endTime: string);
|
|
383
|
+
}
|
|
384
|
+
export declare class DaypatrtRestrictionRequestPayload {
|
|
385
|
+
Id: number;
|
|
386
|
+
MgDaypartRestriction: DaypartRestrictionForMgOrAdu;
|
|
387
|
+
AduDaypartRestriction: DaypartRestrictionForMgOrAdu;
|
|
388
|
+
constructor(data: DayAndDaypartRestrictionForMgAndAdu);
|
|
389
|
+
}
|
|
390
|
+
export declare class MGADUCommonRulesRequest {
|
|
391
|
+
IsTresholdAllowed: boolean;
|
|
392
|
+
AllowedInventory: PreApprovedAndRelaxed;
|
|
393
|
+
constructor(data: MGADUCommonRules);
|
|
394
|
+
}
|
|
395
|
+
export declare class AduRulesRequest extends MGADUCommonRulesRequest {
|
|
396
|
+
generateAdu: boolean;
|
|
397
|
+
UseProjectedValues: boolean;
|
|
398
|
+
percentageDeficitAllowedBeforeAdu: number;
|
|
399
|
+
TimeWindowForProvidingAdu: PreApprovedAndRelaxed;
|
|
400
|
+
TimeWindowForUdLiability: PreApprovedAndRelaxed;
|
|
401
|
+
DaypartGroups: DaypartGroupsRequest[];
|
|
402
|
+
ProvideOffersBasedOnSpecificWeekDays: boolean;
|
|
403
|
+
ProvideAdusForShortestDuration: boolean;
|
|
404
|
+
OnlyForLiveOrders: boolean;
|
|
405
|
+
constructor(data: AduRules);
|
|
406
|
+
}
|
|
407
|
+
export declare class MakeGoodRulesRequest extends MGADUCommonRulesRequest {
|
|
408
|
+
GenerateMgsForUnresolvedSpots: boolean;
|
|
409
|
+
MaxPercentageOfGrpAllowedToMakeGood: number;
|
|
410
|
+
MaxSpotsAllowedForEachSpot: number;
|
|
411
|
+
MaxSpotsAllowedForEachSpotRelaxed: number;
|
|
412
|
+
MinPercentageRating: number;
|
|
413
|
+
MinPercentageRatingRelaxed: number;
|
|
414
|
+
EnableGrouping: boolean;
|
|
415
|
+
IsMakeGoodAllowedForSpecialDayparts: boolean;
|
|
416
|
+
IsWeekdayAllowedOnWeekends: boolean;
|
|
417
|
+
IsWeekdendAllowedOnWeekdays: boolean;
|
|
418
|
+
LowerLimitPercentageForProgramChange: number;
|
|
419
|
+
UpperLimitPercentageForProgramChange: number;
|
|
420
|
+
SpecialDaypartAllowedInventory: PreApprovedAndRelaxed;
|
|
421
|
+
ProgramChangeAllowedInventory: PreApprovedAndRelaxed;
|
|
422
|
+
TimeWindow: PreApprovedAndRelaxed;
|
|
423
|
+
ProvideOffersBasedOnPreemptionDays: boolean;
|
|
424
|
+
ProvideOffersBasedOnSpecificWeekDays: boolean;
|
|
425
|
+
MaxSpotsToBeGrouped: number;
|
|
426
|
+
MaxSpotsToBeGroupedRelaxed: number;
|
|
427
|
+
constructor(data: MakeGoodRulesResponse);
|
|
428
|
+
}
|
|
429
|
+
export declare enum InventoryTypes {
|
|
430
|
+
SPECIAL = "SPECIAL",
|
|
431
|
+
EXCLUDED = "EXCLUDED",
|
|
432
|
+
"-" = "-"
|
|
433
|
+
}
|
|
434
|
+
export declare class ApprovalConfig {
|
|
435
|
+
sellerApprovalConfiguration: SellerBuyerApprovalConfiguration;
|
|
436
|
+
buyerApprovalConfiguration: SellerBuyerApprovalConfiguration;
|
|
437
|
+
buyerApprovalConfigurationForSeller: BuyerApprovalConfigurationForSeller;
|
|
438
|
+
constructor(data: any);
|
|
439
|
+
}
|
|
440
|
+
export declare class SellerBuyerApprovalConfiguration {
|
|
441
|
+
offeredMgs: ApprovalSection;
|
|
442
|
+
offeredAdus: ApprovalSection;
|
|
443
|
+
creditingExtraAdus: ApprovalSection;
|
|
444
|
+
offeredBonus: ApprovalSection;
|
|
445
|
+
constructor(data: any);
|
|
446
|
+
}
|
|
447
|
+
export declare class ApprovalSection {
|
|
448
|
+
selection: ApprovalSelectionOption;
|
|
449
|
+
showSection: boolean;
|
|
450
|
+
constructor(data: any);
|
|
451
|
+
}
|
|
452
|
+
export declare enum ApprovalSelectionOption {
|
|
453
|
+
AUTO_APPROVE_ALL = "AUTO_APPROVE_ALL",
|
|
454
|
+
AUTO_APPROVE_STANDARD = "AUTO_APPROVE_STANDARD",
|
|
455
|
+
REVIEW_ALL = "REVIEW_ALL"
|
|
456
|
+
}
|
|
457
|
+
export declare class BuyerApprovalConfigurationForSeller {
|
|
458
|
+
isBuyerSpotsApprovalNeeded: boolean;
|
|
459
|
+
isBuyerSpotsApprovalNeededOnRepTool: boolean;
|
|
460
|
+
isBuyerBizRuleApprovalNeeded: boolean;
|
|
461
|
+
isSellerSpotsReconfirmationNeeded: boolean;
|
|
462
|
+
disableSellerSpotsReconfirmationToggle: boolean;
|
|
463
|
+
buyerApprovalOnRepToolRequiredFor: RepToolApprovalConfiguration;
|
|
464
|
+
buyerOrSellerReconfirmationRequiredFor: ApprovalReconfirmationSection;
|
|
465
|
+
constructor(data: any);
|
|
466
|
+
}
|
|
467
|
+
export declare class RepToolApprovalConfiguration {
|
|
468
|
+
offeredMgs: ReconfirmationOption;
|
|
469
|
+
offeredAdusAndCreditingExtraAdus: ReconfirmationOption;
|
|
470
|
+
offeredBonus: ReconfirmationOption;
|
|
471
|
+
constructor(data: any);
|
|
472
|
+
}
|
|
473
|
+
export declare class ApprovalReconfirmationSection {
|
|
474
|
+
creditingExtraAdus: ReconfirmationOption;
|
|
475
|
+
offeredAdus: ReconfirmationOption;
|
|
476
|
+
offeredMgs: ReconfirmationOption;
|
|
477
|
+
offeredBonus: ReconfirmationOption;
|
|
478
|
+
constructor(data: any);
|
|
479
|
+
}
|
|
480
|
+
export declare class ReconfirmationOption {
|
|
481
|
+
isChecked: boolean;
|
|
482
|
+
isEnabled: boolean;
|
|
483
|
+
label: string;
|
|
484
|
+
constructor(data: any, label: string);
|
|
485
|
+
}
|
|
486
|
+
export declare class GeneralRulesSaveRequest {
|
|
487
|
+
PostingType: string;
|
|
488
|
+
MeasurementAgency: string;
|
|
489
|
+
MaxSpotsAllowedInOTO: MaxSpotsAllowedInOTORequest;
|
|
490
|
+
MaxSpotsAllowedInStripDaily: MaxSpotsAllowedInStripRequest;
|
|
491
|
+
MaxSpotsAllowedInStripWeekly: MaxSpotsAllowedInStripRequest;
|
|
492
|
+
AdvertiserSeparation: string;
|
|
493
|
+
IsAdvertiserSeparationNeeded: boolean;
|
|
494
|
+
constructor(data: GeneralRules);
|
|
495
|
+
}
|
|
496
|
+
export declare class DaypartGroupsRequest {
|
|
497
|
+
GroupName: string;
|
|
498
|
+
DaypartIds: number[];
|
|
499
|
+
constructor(data: DaypartGroupsList);
|
|
500
|
+
}
|
|
501
|
+
export declare class MaxSpotsAllowedInOTORequest {
|
|
502
|
+
PerHalfHour: PreApprovedAndRelaxed;
|
|
503
|
+
HalfHourToOneHour: PreApprovedAndRelaxed;
|
|
504
|
+
OneHourToTwoHours: PreApprovedAndRelaxed;
|
|
505
|
+
TwoHoursToThreeHours: PreApprovedAndRelaxed;
|
|
506
|
+
ThreeHoursPlus: PreApprovedAndRelaxed;
|
|
507
|
+
constructor(data: MaxSpotsAllowedDurationsForOTO);
|
|
508
|
+
}
|
|
509
|
+
export declare class MaxSpotsAllowedInStripRequest {
|
|
510
|
+
PerHalfHour: PreApprovedAndRelaxed;
|
|
511
|
+
HalfHourToOneHour: PreApprovedAndRelaxed;
|
|
512
|
+
OneHourToTwoHours: PreApprovedAndRelaxed;
|
|
513
|
+
TwoHoursPlus: PreApprovedAndRelaxed;
|
|
514
|
+
constructor(data: MaxSpotsAllowedDurationsForStrip);
|
|
515
|
+
}
|
|
516
|
+
export interface IBizRulesSaveRequest {
|
|
517
|
+
IsADUPostingRequiredValueChanged: boolean;
|
|
518
|
+
IsMeasurementAgencyValueChanged?: boolean;
|
|
519
|
+
IsAdvertiserSeparationValueChanged?: boolean;
|
|
520
|
+
CentralBuyerId: string;
|
|
521
|
+
RequestedBySellerId: number;
|
|
522
|
+
Comment: string;
|
|
523
|
+
Status: BizRuleStatus;
|
|
524
|
+
ActionTakenOnOrdersPopup: OrdersToBeInheritedActionType;
|
|
525
|
+
IsBizRulesAlreadyApprovedBySeller: boolean;
|
|
526
|
+
IsBusinessRulesEdited?: boolean;
|
|
527
|
+
BusinessRules: {
|
|
528
|
+
MakeGoodRules: MakeGoodRulesRequest;
|
|
529
|
+
AduRules: AduRulesRequest;
|
|
530
|
+
GeneralRules: GeneralRulesSaveRequest;
|
|
531
|
+
EquivalentOrHigherDayparts: EquivalentOrHigherDaypartsRequestPayload[];
|
|
532
|
+
DaypartRestriction: DaypatrtRestrictionRequestPayload[];
|
|
533
|
+
UniquePrograms: InventoryPayload[];
|
|
534
|
+
Approvals: ApprovalsRequestPayload;
|
|
535
|
+
} | null;
|
|
536
|
+
}
|
|
537
|
+
export declare class ApprovalsRequestPayload {
|
|
538
|
+
SellerApprovalForMgs: ApprovalSelectionOption;
|
|
539
|
+
SellerApprovalForAdus: ApprovalSelectionOption;
|
|
540
|
+
SellerApprovalForAduCredits: ApprovalSelectionOption;
|
|
541
|
+
BuyerApprovalForDirectOrderMgs: ApprovalSelectionOption;
|
|
542
|
+
BuyerApprovalForDirectOrderAdus: ApprovalSelectionOption;
|
|
543
|
+
BuyerApprovalForDirectOrderAduCredits: ApprovalSelectionOption;
|
|
544
|
+
BuyerSpotsApprovalNeeded: boolean;
|
|
545
|
+
SellerSpotsReconfirmationNeeded: boolean;
|
|
546
|
+
IsBuyerSpotsApprovalNeededForRepTool: boolean;
|
|
547
|
+
BuyerApprovalRequiredForElectronicOrderMgs: boolean;
|
|
548
|
+
BuyerApprovalRequiredForElectronicOrderAdusAndAduCredits: boolean;
|
|
549
|
+
BuyerOrSellerReconfirmationRequiredForDirectOrderMgs: boolean;
|
|
550
|
+
BuyerOrSellerReconfirmationRequiredForDirectOrderAdus: boolean;
|
|
551
|
+
BuyerOrSellerReconfirmationRequiredForDirectOrderAduCredits: boolean;
|
|
552
|
+
IsBuyerBizRuleApprovalNeeded: boolean;
|
|
553
|
+
BuyerApprovalRequiredForElectronicOrderBonus: boolean;
|
|
554
|
+
BuyerOrSellerReconfRequiredForDirectOrderBonus: boolean;
|
|
555
|
+
BuyerApprovalForDirectOrderBonus: ApprovalSelectionOption;
|
|
556
|
+
SellerApprovalForBonus: ApprovalSelectionOption;
|
|
557
|
+
constructor(data: ApprovalConfig);
|
|
558
|
+
}
|
|
559
|
+
export declare class InventoryPayload {
|
|
560
|
+
ProgramName: string;
|
|
561
|
+
MakeGoodSelected: boolean;
|
|
562
|
+
AduSelected: boolean;
|
|
563
|
+
IsSelected: boolean;
|
|
564
|
+
Type: InventoryTypes;
|
|
565
|
+
constructor(data: any);
|
|
566
|
+
}
|
|
567
|
+
export {};
|
package/business-rules/src/business-rule-page/services/business-rule-common-SI-BI-logic.service.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Subject } from "rxjs";
|
|
2
|
+
import { BuyerContactInfo } from "../../add-buyer-contact/models/add-buyer-contact.model";
|
|
3
|
+
import { ADURulesName } from "../../adu-rules/models/adu-rules.model";
|
|
4
|
+
import { MGRulesTooltip } from "../../make-good-rules/models/make-good-rules.model";
|
|
5
|
+
import { BizRulesResponse } from "../models/business-rule.model";
|
|
6
|
+
import { BusinessPageType } from "../models/business-rule-page.constants";
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class BusinessRuleCommonSIBILogicService {
|
|
9
|
+
buyerDetailsChanged$: Subject<{
|
|
10
|
+
primaryBuyer: BuyerContactInfo;
|
|
11
|
+
secondaryBuyer: BuyerContactInfo;
|
|
12
|
+
}>;
|
|
13
|
+
getSpotApprovalConfigMessage(level: BusinessPageType): string;
|
|
14
|
+
getInformationDataForAduForm(): ADURulesName;
|
|
15
|
+
getInformationDataForMgForm(): MGRulesTooltip;
|
|
16
|
+
isAnyChangeInAdvertiserSeparation(oldRules: BizRulesResponse, newRules: BizRulesResponse): boolean;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BusinessRuleCommonSIBILogicService, never>;
|
|
18
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BusinessRuleCommonSIBILogicService>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { OnChanges, OnInit, SimpleChanges } from "@angular/core";
|
|
2
|
+
import { ActivatedRoute } from "@angular/router";
|
|
3
|
+
import { IGtTableHeader } from "@annalib/anna-core";
|
|
4
|
+
import { BizHistoryType, BizRuleStatus } from "@annalib/anna-feature-lib/anna-feature-shared-lib";
|
|
5
|
+
import { BizRulesResponse } from "../business-rule-page/models/business-rule.model";
|
|
6
|
+
import { BizHistoryRuleUrl, BusinessPageType, UserTypeEnum } from "../business-rule-page/models/business-rule-page.constants";
|
|
7
|
+
import { BusinessHistoryTable } from "./models/biz-rule-history.model";
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class BusinessRulesHistoryComponent implements OnInit, OnChanges {
|
|
10
|
+
private route;
|
|
11
|
+
bizRuleData: BizRulesResponse;
|
|
12
|
+
bizRuleDataForHistoryTable: BusinessHistoryTable;
|
|
13
|
+
loading: boolean;
|
|
14
|
+
sellerOrBuyerApprovalKey: "isSellerApprovalRequiredForPreApprovedSpots" | "isBuyerApprovalRequiredForPreApprovedSpots";
|
|
15
|
+
businessRuleSectiontabs: {
|
|
16
|
+
id: number;
|
|
17
|
+
name: string;
|
|
18
|
+
url: BizHistoryRuleUrl;
|
|
19
|
+
}[];
|
|
20
|
+
showBuyerBizRulesApprovalNeededToggle: boolean;
|
|
21
|
+
userType: UserTypeEnum;
|
|
22
|
+
type: BizHistoryType;
|
|
23
|
+
orderId: string;
|
|
24
|
+
bizRuleStatus: BizRuleStatus;
|
|
25
|
+
isTrafficAnnaOrder: boolean;
|
|
26
|
+
orderCurrentTabUrl: any;
|
|
27
|
+
BizHistoryType: typeof BizHistoryType;
|
|
28
|
+
bizRuleUrl: typeof BizHistoryRuleUrl;
|
|
29
|
+
excludedOrSpecialTableHeaders: IGtTableHeader[];
|
|
30
|
+
businessRulePageType: BusinessPageType;
|
|
31
|
+
containerClass: string;
|
|
32
|
+
constructor(route: ActivatedRoute);
|
|
33
|
+
ngOnInit(): void;
|
|
34
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
35
|
+
detectURLChanges(): void;
|
|
36
|
+
tabChangeClicked(event: {
|
|
37
|
+
url: BizHistoryRuleUrl;
|
|
38
|
+
}): void;
|
|
39
|
+
errorHandler(): void;
|
|
40
|
+
setExcludedorSpecialCodesPopUpTableHeaders(): void;
|
|
41
|
+
onContainerScroll(): void;
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BusinessRulesHistoryComponent, never>;
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BusinessRulesHistoryComponent, "anna-feature-business-rules-history", never, { "bizRuleData": { "alias": "bizRuleData"; "required": false; }; "bizRuleDataForHistoryTable": { "alias": "bizRuleDataForHistoryTable"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "sellerOrBuyerApprovalKey": { "alias": "sellerOrBuyerApprovalKey"; "required": false; }; "businessRuleSectiontabs": { "alias": "businessRuleSectiontabs"; "required": false; }; "showBuyerBizRulesApprovalNeededToggle": { "alias": "showBuyerBizRulesApprovalNeededToggle"; "required": false; }; "userType": { "alias": "userType"; "required": false; }; }, {}, never, never, true, never>;
|
|
44
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { BizRulesResponse } from "../../business-rule-page/models/business-rule.model";
|
|
2
|
+
export declare class BusinessHistoryTable {
|
|
3
|
+
selectedExcludedPrograms: InventoryReadMode[];
|
|
4
|
+
selectedSpecialPrograms: InventoryReadMode[];
|
|
5
|
+
constructor(bizRuleData: BizRulesResponse);
|
|
6
|
+
}
|
|
7
|
+
export interface InventoryReadMode {
|
|
8
|
+
programName: string;
|
|
9
|
+
startEndTime: string;
|
|
10
|
+
startTimeForFilter: string;
|
|
11
|
+
endTimeForFilter: string;
|
|
12
|
+
daypart: string;
|
|
13
|
+
type: string;
|
|
14
|
+
days: string;
|
|
15
|
+
isSelected: boolean;
|
|
16
|
+
makeGoodCheckboxIsChangedIconActionKey: {
|
|
17
|
+
showIcon: boolean;
|
|
18
|
+
iconClass: string;
|
|
19
|
+
isDisabledKey: boolean;
|
|
20
|
+
}[];
|
|
21
|
+
aduCheckboxIsChangedIconActionKey: {
|
|
22
|
+
showIcon: boolean;
|
|
23
|
+
iconClass: string;
|
|
24
|
+
isDisabledKey: boolean;
|
|
25
|
+
}[];
|
|
26
|
+
makeGoodSelected: string;
|
|
27
|
+
aduSelected: string;
|
|
28
|
+
}
|