@annalib/anna-feature-spots-approval 0.0.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.
- package/README.md +63 -0
- package/anna-feature-shared-lib/index.d.ts +5 -0
- package/anna-feature-shared-lib/public-api.d.ts +16 -0
- package/anna-feature-shared-lib/src/biz-rules/constants/generic-business-rule-page.constants.d.ts +5 -0
- package/anna-feature-shared-lib/src/biz-rules/models/generic-business-rule-history-popup.model.d.ts +10 -0
- package/anna-feature-shared-lib/src/biz-rules/services/generic-business-rule-common-SI-BI-logic.service.d.ts +20 -0
- package/anna-feature-shared-lib/src/constants/generic-feature-related-constants.d.ts +3 -0
- package/anna-feature-shared-lib/src/daily-revision-listing/components/action-comments-popup/action-comments-popup.component.d.ts +35 -0
- package/anna-feature-shared-lib/src/daily-revision-listing/components/offer-rejection-popup/offer-rejection-popup.component.d.ts +44 -0
- package/anna-feature-shared-lib/src/daily-revision-listing/models/generic-daily-revision-listing.model.d.ts +64 -0
- package/anna-feature-shared-lib/src/daily-revision-listing/models/generic-offers-awaiting-approval.model.d.ts +36 -0
- package/anna-feature-shared-lib/src/daily-revision-listing/models/generic-todays-anna-offers-listing.model.d.ts +34 -0
- package/anna-feature-shared-lib/src/daily-revision-listing/models/generic-todays-user-offers-listing.model.d.ts +39 -0
- package/anna-feature-shared-lib/src/daily-revision-listing/models/spot-approval-generic.model.d.ts +12 -0
- package/anna-feature-shared-lib/src/daily-revision-listing/services/generic-daily-revision-listing.service.d.ts +12 -0
- package/anna-feature-shared-lib/src/generic-primary-order-panel/models/generic-primary-order-panel.model.d.ts +5 -0
- package/anna-feature-shared-lib/src/generic-primary-order-panel/services/generic-primary-order-panel.service.d.ts +13 -0
- package/anna-feature-shared-lib/src/order-listing/constants/generic-order-listing.constant.d.ts +18 -0
- package/anna-feature-shared-lib/src/spot-approval/models/spot-approval-generic-in-feature-shared-lib.model.d.ts +7 -0
- package/anna-feature-shared-lib/src/spot-approval/services/spot-approval-generic-in-feature-shared-lib.service.d.ts +14 -0
- package/drr-listing/index.d.ts +5 -0
- package/drr-listing/public-api.d.ts +8 -0
- package/drr-listing/src/daily-revision-filter-modal/config/daily-revision-listing-backend-service.token.d.ts +10 -0
- package/drr-listing/src/daily-revision-filter-modal/daily-revision-filter-modal.component.d.ts +89 -0
- package/drr-listing/src/daily-revision-filter-modal/models/daily-revision-filter-modal.model.d.ts +41 -0
- package/drr-listing/src/daily-revision-listing/config/daily-revision-listing-backend-service.token.d.ts +18 -0
- package/drr-listing/src/daily-revision-listing/constants/daily-revision-listing.constant.d.ts +80 -0
- package/drr-listing/src/daily-revision-listing/constants/orders.constant.d.ts +69 -0
- package/drr-listing/src/daily-revision-listing/daily-revision-listing.component.d.ts +154 -0
- package/drr-listing/src/daily-revision-listing/models/daily-revision-listing.model.d.ts +33 -0
- package/drr-listing/src/daily-revision-listing/services/daily-revision-listing.service.d.ts +25 -0
- package/fesm2022/annalib-anna-feature-spots-approval-anna-feature-shared-lib.mjs +670 -0
- package/fesm2022/annalib-anna-feature-spots-approval-anna-feature-shared-lib.mjs.map +1 -0
- package/fesm2022/annalib-anna-feature-spots-approval-drr-listing.mjs +2844 -0
- package/fesm2022/annalib-anna-feature-spots-approval-drr-listing.mjs.map +1 -0
- package/fesm2022/annalib-anna-feature-spots-approval-spot-approval-shared-lib.mjs +112 -0
- package/fesm2022/annalib-anna-feature-spots-approval-spot-approval-shared-lib.mjs.map +1 -0
- package/fesm2022/annalib-anna-feature-spots-approval-spots-approval.mjs +12115 -0
- package/fesm2022/annalib-anna-feature-spots-approval-spots-approval.mjs.map +1 -0
- package/fesm2022/annalib-anna-feature-spots-approval-src-lib-all-offers-listing.mjs +1369 -0
- package/fesm2022/annalib-anna-feature-spots-approval-src-lib-all-offers-listing.mjs.map +1 -0
- package/fesm2022/annalib-anna-feature-spots-approval-src-lib-spot-approval-seller-or-buyer-revision.mjs +1223 -0
- package/fesm2022/annalib-anna-feature-spots-approval-src-lib-spot-approval-seller-or-buyer-revision.mjs.map +1 -0
- package/fesm2022/annalib-anna-feature-spots-approval.mjs +88 -0
- package/fesm2022/annalib-anna-feature-spots-approval.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/anna-feature-spots-approval.module.d.ts +20 -0
- package/package.json +57 -0
- package/public-api.d.ts +1 -0
- package/spot-approval-shared-lib/index.d.ts +5 -0
- package/spot-approval-shared-lib/public-api.d.ts +2 -0
- package/spot-approval-shared-lib/src/revision-offer-status-progress-view/revision-offer-status-progress-view.component.d.ts +19 -0
- package/spot-approval-shared-lib/src/revision-summary-panel/revision-summary-panel.component.d.ts +21 -0
- package/spots-approval/index.d.ts +5 -0
- package/spots-approval/public-api.d.ts +21 -0
- package/spots-approval/src/add-os-spots-popup/add-os-spots-popup.component.d.ts +59 -0
- package/spots-approval/src/anna-revision/anna-revision.component.d.ts +551 -0
- package/spots-approval/src/badly-behaved-spot-details-popup/badly-behaved-spot-details-popup.component.d.ts +38 -0
- package/spots-approval/src/badly-behaved-spot-details-popup/models/badly-behaved-spot-details-popup.model.d.ts +15 -0
- package/spots-approval/src/badly-behaved-spot-details-popup/services/badly-behaved-spot-details-popup.service.d.ts +7 -0
- package/spots-approval/src/cancel-offers-popup/cancel-offers-popup.component.d.ts +36 -0
- package/spots-approval/src/config/spots-approval-backend-service.token.d.ts +30 -0
- package/spots-approval/src/constants/create-or-edit-offers.constant.d.ts +44 -0
- package/spots-approval/src/constants/spots-approval.constant.d.ts +129 -0
- package/spots-approval/src/create-or-edit-adu-or-bonus/create-or-edit-adu-or-bonus.component.d.ts +214 -0
- package/spots-approval/src/create-or-edit-offers-popup/create-or-edit-offers-popup.component.d.ts +333 -0
- package/spots-approval/src/credit-confirmation-table-popup/credit-confirmation-table-popup.component.d.ts +72 -0
- package/spots-approval/src/models/anna-revisions-backend.model.d.ts +325 -0
- package/spots-approval/src/models/anna-revisions-enums.model.d.ts +53 -0
- package/spots-approval/src/models/anna-revisions-response.model.d.ts +355 -0
- package/spots-approval/src/models/anna-revisions-total-rows.model.d.ts +124 -0
- package/spots-approval/src/models/create-or-edit-offer-total-rows.model.d.ts +73 -0
- package/spots-approval/src/models/create-or-edit-offers-popup.model.d.ts +384 -0
- package/spots-approval/src/models/order-revision-detail.model.d.ts +156 -0
- package/spots-approval/src/offered-mg-edit-table/offered-mg-edit-table.component.d.ts +74 -0
- package/spots-approval/src/other-spots-edit-table/other-spots-edit-table.component.d.ts +44 -0
- package/spots-approval/src/political-rate-warning-popup/political-rate-warning-popup.component.d.ts +26 -0
- package/spots-approval/src/revision-header/revision-header.component.d.ts +21 -0
- package/spots-approval/src/revision-summary/revision-summary.component.d.ts +22 -0
- package/spots-approval/src/select-spot-length-popup/select-spot-length-popup.component.d.ts +37 -0
- package/spots-approval/src/services/create-or-edit-offers-popup.service.d.ts +25 -0
- package/spots-approval/src/services/generic-spots-approval.service.d.ts +99 -0
- package/spots-approval/src/services/spots-approval.service.d.ts +81 -0
- package/spots-approval/src/spot-details-popup/spot-details-popup.component.d.ts +57 -0
- package/src/lib/all-offers-listing/index.d.ts +5 -0
- package/src/lib/all-offers-listing/public-api.d.ts +6 -0
- package/src/lib/all-offers-listing/src/all-offers-listing.component.d.ts +162 -0
- package/src/lib/all-offers-listing/src/configs/all-offers-listing-backend.token.d.ts +11 -0
- package/src/lib/all-offers-listing/src/models/all-offers-filter.model.d.ts +12 -0
- package/src/lib/all-offers-listing/src/models/all-offers-listing-backend.model.d.ts +88 -0
- package/src/lib/all-offers-listing/src/models/all-offers-listing.constant.d.ts +84 -0
- package/src/lib/all-offers-listing/src/models/all-offers-listing.model.d.ts +95 -0
- package/src/lib/all-offers-listing/src/services/all-offers-listing.service.d.ts +25 -0
- package/src/lib/spot-approval-seller-or-buyer-revision/index.d.ts +5 -0
- package/src/lib/spot-approval-seller-or-buyer-revision/public-api.d.ts +6 -0
- package/src/lib/spot-approval-seller-or-buyer-revision/src/seller-or-buyer-revision/models/seller-or-buyer-revision-additional-data.model.d.ts +73 -0
- package/src/lib/spot-approval-seller-or-buyer-revision/src/seller-or-buyer-revision/models/seller-or-buyer-revision-backend.model.d.ts +57 -0
- package/src/lib/spot-approval-seller-or-buyer-revision/src/seller-or-buyer-revision/models/seller-or-buyer-revision-response.model.d.ts +117 -0
- package/src/lib/spot-approval-seller-or-buyer-revision/src/seller-or-buyer-revision/models/seller-or-buyer-revision-total-row.model.d.ts +29 -0
- package/src/lib/spot-approval-seller-or-buyer-revision/src/seller-or-buyer-revision/models/seller-or-buyer-revision.constant.d.ts +13 -0
- package/src/lib/spot-approval-seller-or-buyer-revision/src/seller-or-buyer-revision/models/seller-or-buyer-revision.token.d.ts +14 -0
- package/src/lib/spot-approval-seller-or-buyer-revision/src/seller-or-buyer-revision/seller-or-buyer-revision.component.d.ts +128 -0
|
@@ -0,0 +1,325 @@
|
|
|
1
|
+
import { REVISIONSTATUSES } from "@annalib/anna-feature-lib/anna-feature-shared-lib";
|
|
2
|
+
import { DisplaySpotTypeFromBE, ESTIMATEPRIORITIES, SpotaApprovalIRadioButton, SpotTypeCategoryFromBE } from "./anna-revisions-enums.model";
|
|
3
|
+
export interface IANNARevisionBEResponse {
|
|
4
|
+
OrderInfo: IANNARevisionOrderInfo;
|
|
5
|
+
RevisionSummary: IANNARevisionOrderSummary;
|
|
6
|
+
HighlightingPercentageLimitForColumns: IANNARevisionOrderInfo;
|
|
7
|
+
OfferedMGsAndADUs: ISpotInformationResponse[];
|
|
8
|
+
OutstandingSpots: ISpotInformationResponse[];
|
|
9
|
+
BadlyBehavedInfo: IBadlyBehavedSpotAdditionalInfo[];
|
|
10
|
+
BizRulesFromDb: IBizRulesFromDB;
|
|
11
|
+
GuideLinesAdditionalSpots: IGuideLines;
|
|
12
|
+
EnableRevenueClassEdit: boolean;
|
|
13
|
+
OfferCreationDropDown: [];
|
|
14
|
+
BroadcastTime: string;
|
|
15
|
+
}
|
|
16
|
+
export interface IANNARevisionOrderInfo {
|
|
17
|
+
Status: [
|
|
18
|
+
{
|
|
19
|
+
IsCurrent: boolean;
|
|
20
|
+
Status: REVISIONSTATUSES;
|
|
21
|
+
Action: string;
|
|
22
|
+
ShowNeedsAttentionIcon: boolean;
|
|
23
|
+
OffersRequiringActionCount: number;
|
|
24
|
+
}
|
|
25
|
+
];
|
|
26
|
+
SellerActionForOfferedMgAduTakenBy: string;
|
|
27
|
+
SellerActionForOsPeTakenBy: string;
|
|
28
|
+
SellerApprovalTimeForOsPe: string;
|
|
29
|
+
SellerApprovalTime: string;
|
|
30
|
+
SellerApprovalTimeout: string;
|
|
31
|
+
AgencyName: string;
|
|
32
|
+
SellerReviewTime: string;
|
|
33
|
+
SellerReviewTimeout: string;
|
|
34
|
+
SmTimeout: string;
|
|
35
|
+
BuyerApprovalTime: string;
|
|
36
|
+
BuyerApprovalTimeout: string;
|
|
37
|
+
BuyerActionTakenBy: string;
|
|
38
|
+
AdvertiserId: 66;
|
|
39
|
+
ReasonForNoRevision: null | string;
|
|
40
|
+
SpDayparts: string[];
|
|
41
|
+
OrderDiscrepancyExists: boolean;
|
|
42
|
+
FlightStartDate: string;
|
|
43
|
+
FlightEndDate: string;
|
|
44
|
+
EstimateNumber: string;
|
|
45
|
+
LastEditedBy: string;
|
|
46
|
+
LastEditedAt: string;
|
|
47
|
+
IntermediateOrderStatus: {
|
|
48
|
+
Message: string;
|
|
49
|
+
ShowMessageAfterStatus: string;
|
|
50
|
+
};
|
|
51
|
+
AEEmailId: string;
|
|
52
|
+
SalesSupportEmailId: string;
|
|
53
|
+
DisableOffersReportDownloadIcon: boolean;
|
|
54
|
+
DisableAduListingInDropDown: boolean;
|
|
55
|
+
AnyActionsAllowed: boolean;
|
|
56
|
+
IsSellerReconfirmationNeeded: boolean;
|
|
57
|
+
HiatusPeriod: {
|
|
58
|
+
StartDate: string;
|
|
59
|
+
EndDate: string;
|
|
60
|
+
}[];
|
|
61
|
+
PlacedWeeks: string[];
|
|
62
|
+
FirstBookedSpotDate: string;
|
|
63
|
+
LastBookedSpotDate: string;
|
|
64
|
+
Durations: {
|
|
65
|
+
DisplayDuration: string;
|
|
66
|
+
Duration: number;
|
|
67
|
+
SpotTypeId: number;
|
|
68
|
+
}[];
|
|
69
|
+
ShowOverDeliveryWarning: boolean;
|
|
70
|
+
OverDeliveryValue: number;
|
|
71
|
+
Station: string;
|
|
72
|
+
OrderId: string;
|
|
73
|
+
RevisionNumber: number;
|
|
74
|
+
RevisedOn: string;
|
|
75
|
+
TimeZone: string;
|
|
76
|
+
OrderType: string;
|
|
77
|
+
IsRepOrder: boolean;
|
|
78
|
+
AEName: string;
|
|
79
|
+
OrderStatus: string;
|
|
80
|
+
IsReadMode: boolean;
|
|
81
|
+
IsAutomated: boolean;
|
|
82
|
+
IsPayForPerformanceOrder: boolean;
|
|
83
|
+
Metric: "CPM" | "CPP";
|
|
84
|
+
ShowSubmitButton: boolean;
|
|
85
|
+
ShowEditButton: boolean;
|
|
86
|
+
EnableSubmitForMGADUFilter: boolean;
|
|
87
|
+
EnableSubmitForOSPEFilter: boolean;
|
|
88
|
+
ShowBizRuleApprovalWarning: boolean;
|
|
89
|
+
OrderBizRuleStatus: string;
|
|
90
|
+
IsInheritedLevelBizRulePending: boolean;
|
|
91
|
+
InheritedLevel: string;
|
|
92
|
+
ApprovedByBuyerName: null;
|
|
93
|
+
BusinessRuleApprovedDate: string;
|
|
94
|
+
BusinessRuleApprovedTime: string;
|
|
95
|
+
IsOrderLevelBusinessRuleSet: boolean;
|
|
96
|
+
RevisionType: string;
|
|
97
|
+
AlternateOrderId: string;
|
|
98
|
+
IsOngoingTemporaryRevisionAfterTransition: boolean;
|
|
99
|
+
UniverseSize: number;
|
|
100
|
+
IsDeletedAtTraffic: boolean;
|
|
101
|
+
BusinessHistoryId: number;
|
|
102
|
+
AdvertiserName: string;
|
|
103
|
+
EstimatePriority: ESTIMATEPRIORITIES[];
|
|
104
|
+
ShowUnmappedBuyerLineWarning: boolean;
|
|
105
|
+
}
|
|
106
|
+
export interface IANNARevisionOrderSummary {
|
|
107
|
+
OfferedMakegoods: ICostRatingsImpresssions;
|
|
108
|
+
OfferedADUs: ICostRatingsImpresssions;
|
|
109
|
+
ANNACredited: ICostRatingsImpresssions;
|
|
110
|
+
UD: number;
|
|
111
|
+
UDProjection: ICostRatingsImpresssions;
|
|
112
|
+
OutstandingSpots: ICostRatingsImpresssions;
|
|
113
|
+
Equivalisation: boolean;
|
|
114
|
+
TgName: string;
|
|
115
|
+
TgId: number;
|
|
116
|
+
Advertiser: string;
|
|
117
|
+
Agency: string;
|
|
118
|
+
IsDeletedAtTraffic: boolean;
|
|
119
|
+
Booked: ICPPCPMCostRatingsImpresssions;
|
|
120
|
+
}
|
|
121
|
+
export interface IBizRulesFromDB {
|
|
122
|
+
MaxSpotsPerPremption: number;
|
|
123
|
+
MinimumGrp: number;
|
|
124
|
+
MaxSpotsPerPremptionRelaxed: number;
|
|
125
|
+
MinimumGrpRelaxed: number;
|
|
126
|
+
MaxSpotsRule: {
|
|
127
|
+
MinProgramDuration: number;
|
|
128
|
+
MaxSpotsAllowedInOto: number;
|
|
129
|
+
MaxSpotsAllowedInOtoRelaxed: number;
|
|
130
|
+
MaxSpotsAllowedInStripDaily: number;
|
|
131
|
+
MaxSpotsAllowedInStripDailyRelaxed: number;
|
|
132
|
+
MaxSpotsAllowedInStripWeekly: number;
|
|
133
|
+
MaxSpotsAllowedInStripWeeklyRelaxed: number;
|
|
134
|
+
}[];
|
|
135
|
+
}
|
|
136
|
+
export interface IGuidelinesAdditionalData {
|
|
137
|
+
TwoHoursToThreeHours: number;
|
|
138
|
+
ThreeHoursPlus: number;
|
|
139
|
+
PerHalfHour: number;
|
|
140
|
+
HalfHourToOneHour: number;
|
|
141
|
+
OneHourToTwoHours: number;
|
|
142
|
+
}
|
|
143
|
+
export interface IGuideLines {
|
|
144
|
+
IsProjectionUsed: boolean;
|
|
145
|
+
MinimumThreshold: number;
|
|
146
|
+
Alternative: string;
|
|
147
|
+
MaxSpotsAllowedInOTO: IGuidelinesAdditionalData;
|
|
148
|
+
MaxSpotsAllowedInStripDaily: IGuidelinesAdditionalData;
|
|
149
|
+
MaxSpotsAllowedInStripWeekly: IGuidelinesAdditionalData;
|
|
150
|
+
}
|
|
151
|
+
export interface ISpotInformationResponse {
|
|
152
|
+
ProgramId: string;
|
|
153
|
+
ProgramScheduleId: string;
|
|
154
|
+
SpotTypeId: number;
|
|
155
|
+
UniqueId: string;
|
|
156
|
+
NewGroupId: string;
|
|
157
|
+
GroupableId: string;
|
|
158
|
+
SellerLine: number;
|
|
159
|
+
NewSpotId: string;
|
|
160
|
+
NewOfferGuId: string;
|
|
161
|
+
SolvedType: string;
|
|
162
|
+
SpotId: number;
|
|
163
|
+
DisplaySpotType: DisplaySpotTypeFromBE;
|
|
164
|
+
ImpressionUsedToSolve: number;
|
|
165
|
+
RatingUsedToSolve: number;
|
|
166
|
+
ExcludeFromFutureOffers: boolean;
|
|
167
|
+
BuyerProgramName: string;
|
|
168
|
+
BuyerProgramNameColumn: {
|
|
169
|
+
type: "INPUT" | "STRING";
|
|
170
|
+
disabled?: boolean;
|
|
171
|
+
className?: string;
|
|
172
|
+
hasError?: boolean;
|
|
173
|
+
value: string;
|
|
174
|
+
placeholder?: string;
|
|
175
|
+
};
|
|
176
|
+
BusinessRules: "Standard" | "Relaxed" | "-" | "Diluted";
|
|
177
|
+
HighlightRate: boolean;
|
|
178
|
+
HighlightRatingOrImpressions: boolean;
|
|
179
|
+
ProjectedRatings: number;
|
|
180
|
+
ProjectedImpressions: number;
|
|
181
|
+
IsRatingImpressionBumped: boolean;
|
|
182
|
+
LineNumber: number;
|
|
183
|
+
SpotNumber: number;
|
|
184
|
+
SpotCount: number;
|
|
185
|
+
WeekStartDate: string;
|
|
186
|
+
Length: string;
|
|
187
|
+
InventoryCode: string;
|
|
188
|
+
Rate: number;
|
|
189
|
+
GroupId: number;
|
|
190
|
+
SpotType: SpotTypeCategoryFromBE;
|
|
191
|
+
Remarks: string;
|
|
192
|
+
PreemptMessages: string;
|
|
193
|
+
ActionType?: string;
|
|
194
|
+
Action?: "resubmit" | "approve" | "credit" | "noAction";
|
|
195
|
+
IsApprovalRequired?: boolean;
|
|
196
|
+
iconClass?: string;
|
|
197
|
+
Daypart: string;
|
|
198
|
+
RadioButtonConfig?: SpotaApprovalIRadioButton[];
|
|
199
|
+
gtClass?: string;
|
|
200
|
+
DisplayRate: string;
|
|
201
|
+
AllowedActions: any;
|
|
202
|
+
EnableAllowedActions: boolean;
|
|
203
|
+
ActualRatings: number;
|
|
204
|
+
ActualImpressions: number;
|
|
205
|
+
ActualRate: number;
|
|
206
|
+
IsMappedWithRep?: boolean;
|
|
207
|
+
WeeklyAUR: number;
|
|
208
|
+
WeeklyAURatings: number;
|
|
209
|
+
WeeklyAUImpressions: number;
|
|
210
|
+
DisplayWeeklyAUR: string;
|
|
211
|
+
SellerOfferComments: string[];
|
|
212
|
+
MarkForCreditComment: string[];
|
|
213
|
+
ExcludedFromFutureOffersTooltipMessage: string;
|
|
214
|
+
MakeGoodsOfferNumber: string;
|
|
215
|
+
WeekDay: string;
|
|
216
|
+
Time: string;
|
|
217
|
+
RevenueClass: string;
|
|
218
|
+
Date: string;
|
|
219
|
+
Days: string;
|
|
220
|
+
AdBreakId: number;
|
|
221
|
+
Duration: number;
|
|
222
|
+
InventoryCodeId: number;
|
|
223
|
+
DaypartId: number;
|
|
224
|
+
PriorityCodeId: number;
|
|
225
|
+
BookedImpression: number;
|
|
226
|
+
BookedRating: number;
|
|
227
|
+
RollingEstimateImpression: number;
|
|
228
|
+
RollingEstimateRating: number;
|
|
229
|
+
StationEstimateImpression: number;
|
|
230
|
+
StationEstimateRating: number;
|
|
231
|
+
StartTime: string;
|
|
232
|
+
EndTime: string;
|
|
233
|
+
RestrictedEndTime: string;
|
|
234
|
+
RestrictedStartTime: string;
|
|
235
|
+
IsGroupModified: boolean;
|
|
236
|
+
GroupModifiedBy: null | string;
|
|
237
|
+
IsAddedInGroup: boolean;
|
|
238
|
+
IsRemovedFromGroup: boolean;
|
|
239
|
+
GroupTableId: number | null;
|
|
240
|
+
NewOfferId: number;
|
|
241
|
+
BizRules: IBizRulesForSpotsApproval | null;
|
|
242
|
+
GuideLinesAdditionalSpots: IGuideLinesAdditionalSpots | null;
|
|
243
|
+
BuyerLine: number;
|
|
244
|
+
LastEditedAt: string;
|
|
245
|
+
LastEditedBy: string;
|
|
246
|
+
Ratings: number;
|
|
247
|
+
Impressions: number;
|
|
248
|
+
BizRulesFromDb: any;
|
|
249
|
+
IsFreeFlowGroup: boolean;
|
|
250
|
+
AllowRecall: boolean;
|
|
251
|
+
AllowCancel: boolean;
|
|
252
|
+
RecalledBy: string;
|
|
253
|
+
CancelledBy: string;
|
|
254
|
+
AllowActionInRejectionPopup: boolean;
|
|
255
|
+
ShowActionInRejectionPopup: boolean;
|
|
256
|
+
RejectionHeader: string;
|
|
257
|
+
ShowNoReOfferToolTip: boolean;
|
|
258
|
+
ActualInvetoryTime: string;
|
|
259
|
+
AllowTimeEdit: boolean;
|
|
260
|
+
IsTimeEdited: boolean;
|
|
261
|
+
ForceTimeEdit: boolean;
|
|
262
|
+
}
|
|
263
|
+
export interface IBizRulesForSpotsApproval {
|
|
264
|
+
MaxSpotsPerPremption: number | null;
|
|
265
|
+
MinimumGrp: number | null;
|
|
266
|
+
MaxSpotsAllowedInOTO: {
|
|
267
|
+
PerHalfHour: number | null;
|
|
268
|
+
HalfHourToOneHour: number | null;
|
|
269
|
+
OneHourToTwoHours: number | null;
|
|
270
|
+
TwoHoursToThreeHours: number | null;
|
|
271
|
+
ThreeHoursPlus: number | null;
|
|
272
|
+
};
|
|
273
|
+
MaxSpotsAllowedInStripDaily: {
|
|
274
|
+
PerHalfHour: number | null;
|
|
275
|
+
HalfHourToOneHour: number | null;
|
|
276
|
+
OneHourToTwoHours: number | null;
|
|
277
|
+
TwoHoursPlus: number | null;
|
|
278
|
+
};
|
|
279
|
+
MaxSpotsAllowedInStripWeekly: {
|
|
280
|
+
PerHalfHour: number | null;
|
|
281
|
+
HalfHourToOneHour: number | null;
|
|
282
|
+
OneHourToTwoHours: number | null;
|
|
283
|
+
TwoHoursPlus: number | null;
|
|
284
|
+
};
|
|
285
|
+
}
|
|
286
|
+
export interface IGuideLinesAdditionalSpots {
|
|
287
|
+
IsProjectionUsed: boolean;
|
|
288
|
+
MinimumThreshold: number;
|
|
289
|
+
Alternative: string;
|
|
290
|
+
MaxSpotsAllowedInOTO: {
|
|
291
|
+
TwoHoursToThreeHours: number;
|
|
292
|
+
ThreeHoursPlus: number;
|
|
293
|
+
PerHalfHour: number;
|
|
294
|
+
HalfHourToOneHour: number;
|
|
295
|
+
OneHourToTwoHours: number;
|
|
296
|
+
};
|
|
297
|
+
MaxSpotsAllowedInStripDaily: {
|
|
298
|
+
TwoHoursPlus: number;
|
|
299
|
+
PerHalfHour: number;
|
|
300
|
+
HalfHourToOneHour: number;
|
|
301
|
+
OneHourToTwoHours: number;
|
|
302
|
+
};
|
|
303
|
+
MaxSpotsAllowedInStripWeekly: {
|
|
304
|
+
TwoHoursPlus: number;
|
|
305
|
+
PerHalfHour: number;
|
|
306
|
+
HalfHourToOneHour: number;
|
|
307
|
+
OneHourToTwoHours: number;
|
|
308
|
+
};
|
|
309
|
+
}
|
|
310
|
+
export interface ICostRatingsImpresssions {
|
|
311
|
+
Cost: string;
|
|
312
|
+
Ratings: string;
|
|
313
|
+
Impressions: string;
|
|
314
|
+
}
|
|
315
|
+
export interface ICPPCPMCostRatingsImpresssions extends ICostRatingsImpresssions {
|
|
316
|
+
CPP: string;
|
|
317
|
+
CPM: string;
|
|
318
|
+
}
|
|
319
|
+
export interface IBadlyBehavedSpotAdditionalInfo {
|
|
320
|
+
SpotId: string;
|
|
321
|
+
GroupId: string;
|
|
322
|
+
SpotTypeToolTipMessage: string;
|
|
323
|
+
RateImpactToolTipMessage: string;
|
|
324
|
+
BbsOrderId: string;
|
|
325
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { IRadioButton } from "@annalib/anna-core";
|
|
2
|
+
export type ESTIMATEPRIORITIES = "RollingEstimate" | "StationEstimate" | "BookedRTG" | "AverageRTG";
|
|
3
|
+
export interface SpotaApprovalIRadioButton extends IRadioButton {
|
|
4
|
+
label: "Reject" | "Approve" | "Mark for Credit" | "No Action" | "Credit";
|
|
5
|
+
value: "approve" | "resubmit" | "credit" | "rejectCreditRequest" | "noAction" | "credit";
|
|
6
|
+
icons?: {
|
|
7
|
+
class: string;
|
|
8
|
+
name?: string;
|
|
9
|
+
}[];
|
|
10
|
+
tooltipMessage?: string;
|
|
11
|
+
}
|
|
12
|
+
export type SpotTypeCategoryFromBE = "CREDIT" | "PREEMPTION" | "UNRESOLVED" | "MAKEGOOD" | "ADU" | "CREDIT_ADU" | "BONUS" | "PREEMPTED";
|
|
13
|
+
export type DisplaySpotTypeFromBE = "Preemption" | "Unresolved" | "Preemption: Marked for Credit" | "Preemption: Program Change" | "Offered MG" | "Added MG" | "Rejected MG" | "Offered MG: Auto-approved" | "Offered ADU" | "Rejected ADU" | "Offered ADU: Auto-approved" | "Outstanding PE" | "Outstanding PE: Program Change" | "Outstanding PE: Marked for Credit" | "MadeGood Preemption" | "User MG" | "User ADU" | "Buyer Added" | "Buyer Deleted" | "Rate Change" | "Rating/IMPS Change" | "Rate & Rating/IMPS Change" | "User Credited" | "User Unresolved" | "Added MG" | "Booked ADU" | "Booked ADU: Marked for Credit" | "Created ADU" | "Created Bonus";
|
|
14
|
+
export type TotalRowActionColumnPossibleValues = "custom" | "approve" | "resubmit" | "noAction" | "credit";
|
|
15
|
+
export type TotalRowActionColumnPossibleLabels = "Approve All" | "Reject All" | "Custom" | "Credit All" | "No Action";
|
|
16
|
+
export declare enum RevisionStatus {
|
|
17
|
+
BuyerPending = "Buyer Pending",
|
|
18
|
+
SellerPending = "Seller Pending",
|
|
19
|
+
SellerReconfirm = "Seller Reconfirm",
|
|
20
|
+
SMPending = "SM Pending",
|
|
21
|
+
RevGenerated = "Rev Generated",
|
|
22
|
+
RevDiscarded = "Rev Discarded",
|
|
23
|
+
OutstandingSpots = "O/S Spots",
|
|
24
|
+
OutstandingUD = "O/S UD"
|
|
25
|
+
}
|
|
26
|
+
export type REVISIONTYPES = "ANNA" | "USER" | "BUYER";
|
|
27
|
+
export type SPOTCATEGORIES = "UserMGsAndADUs" | "UserCredited" | "UserUnresolved" | "AllBuyerChanges" | "OfferedMGsAndADUs" | "OutstandingSpots" | "BadlyBehavedInfo";
|
|
28
|
+
export declare enum UndoOrReofferOrCancelAction {
|
|
29
|
+
UNDO_OFFER = "undo",
|
|
30
|
+
DISABLED_UNDO_OFFER = "disableUndo",
|
|
31
|
+
REOFFER = "reoffer",
|
|
32
|
+
CANCEL_OFFER = "cancel",
|
|
33
|
+
DISABLED_REOFFER_OFFER = "disableReoffer",
|
|
34
|
+
EDIT_OFFER = "edit"
|
|
35
|
+
}
|
|
36
|
+
export declare enum SpotsApprovalGeneraicTableActions {
|
|
37
|
+
SELLER_LINE_COLUMN_BBS_DETAILS = "SellerLineBBSDetails"
|
|
38
|
+
}
|
|
39
|
+
export type ANNAREVISIONSTAGES = "Seller Pending" | "Buyer Pending" | "Seller Reconfirm" | "SM Pending" | "Rev Generated" | "Rev Discarded" | "O/S Spots" | "O/S UD";
|
|
40
|
+
export type OfferStatusFromBE = "-" | "Seller Pending" | "Seller Approved" | "Seller Rejected" | "Seller Timedout" | "Seller Cancelled" | "Rep Entry In Progress" | "Rep Entry Failed" | "Buyer Pending" | "Seller Reconfirm" | "Seller Reconfirmed" | "Seller Reconfirm Timedout" | "Buyer Approved" | "Buyer Rejected" | "Buyer Timedout" | "WOT Entry In Progress" | "WOT Entry Failed" | "SM Pending" | "SM Approved" | "SM Rejected" | "Confirm In Progress" | "Cancel In Progress" | "Recall In Progress" | "Confirmed" | "Cancelled" | "Recalled";
|
|
41
|
+
export interface IntelliFilter {
|
|
42
|
+
text: string;
|
|
43
|
+
isActive: boolean;
|
|
44
|
+
isDisabled: boolean;
|
|
45
|
+
isShown: boolean;
|
|
46
|
+
}
|
|
47
|
+
export interface ITotalRowRadioButtonData {
|
|
48
|
+
value: TotalRowActionColumnPossibleValues;
|
|
49
|
+
label: TotalRowActionColumnPossibleLabels;
|
|
50
|
+
class: string;
|
|
51
|
+
disabled: boolean;
|
|
52
|
+
iconClass: string[];
|
|
53
|
+
}
|