@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,355 @@
|
|
|
1
|
+
import { IActionItemTypeWithStringIconOrTextAction, ISvgOrIconTypeInGTTable } from "@annalib/anna-core";
|
|
2
|
+
import { BizHistoryType, OrderRoute } from "@annalib/anna-feature-lib/anna-feature-shared-lib";
|
|
3
|
+
import { RevisionTypeConstants } from "../constants/spots-approval.constant";
|
|
4
|
+
import { IANNARevisionBEResponse } from "./anna-revisions-backend.model";
|
|
5
|
+
import { ANNAREVISIONSTAGES, DisplaySpotTypeFromBE, ESTIMATEPRIORITIES, OfferStatusFromBE, REVISIONTYPES, SpotaApprovalIRadioButton, SPOTCATEGORIES, SpotTypeCategoryFromBE } from "./anna-revisions-enums.model";
|
|
6
|
+
export declare class ANNARevisionSpotsApprovalResponse {
|
|
7
|
+
braodcastTime: string;
|
|
8
|
+
enableRevenueClassEdit: boolean;
|
|
9
|
+
orderInfo: OrderInfoForANNARevision;
|
|
10
|
+
revisionSummary: ANNARevisionSummary;
|
|
11
|
+
offeredMGsAndADUs: AdditionalSpotInformation[];
|
|
12
|
+
outstandingSpots: AdditionalSpotInformation[];
|
|
13
|
+
badlyBehavedSpots: AdditionalSpotInformation[];
|
|
14
|
+
offerCreationDropDown: {
|
|
15
|
+
Name: string;
|
|
16
|
+
RevenueClass: string;
|
|
17
|
+
IsAdu: boolean;
|
|
18
|
+
}[];
|
|
19
|
+
constructor(data: IANNARevisionBEResponse, showBadlyBehavedSpotsTooltipCellLevel: boolean, showAUR: boolean, revisionType: REVISIONTYPES);
|
|
20
|
+
}
|
|
21
|
+
export declare class BaseRevisionSummary {
|
|
22
|
+
equivalisation: boolean;
|
|
23
|
+
tgName: string;
|
|
24
|
+
advertiser: string;
|
|
25
|
+
agency: string;
|
|
26
|
+
isDeletedAtTraffic: boolean;
|
|
27
|
+
booked: CPPCPMCostRTGIMPS;
|
|
28
|
+
tgId: number;
|
|
29
|
+
constructor(data: any);
|
|
30
|
+
}
|
|
31
|
+
export declare class ANNARevisionSummary extends BaseRevisionSummary {
|
|
32
|
+
offeredMakegoods: CPPCPMCostRTGIMPS;
|
|
33
|
+
offeredADUs: CPPCPMCostRTGIMPS;
|
|
34
|
+
OutstandingSpots: CPPCPMCostRTGIMPS;
|
|
35
|
+
ANNACredited: CPPCPMCostRTGIMPS;
|
|
36
|
+
UDProjection: CPPCPMCostRTGIMPS;
|
|
37
|
+
UD: CPPCPMCostRTGIMPS;
|
|
38
|
+
BusinessRuleADUPostingBasedOn: "PROJECTED" | "POSTED" | "DISABLED/NOT_SELECTED";
|
|
39
|
+
constructor(data: any);
|
|
40
|
+
}
|
|
41
|
+
export interface CPPCPMCostRTGIMPS {
|
|
42
|
+
CPP?: string;
|
|
43
|
+
CPM?: string;
|
|
44
|
+
Cost: string;
|
|
45
|
+
Ratings: string;
|
|
46
|
+
Impressions: string;
|
|
47
|
+
}
|
|
48
|
+
export declare class OrderInfoForANNARevision {
|
|
49
|
+
station: string;
|
|
50
|
+
orderId: string;
|
|
51
|
+
revisionNumber: number;
|
|
52
|
+
revisedOn: string;
|
|
53
|
+
timeZone: string;
|
|
54
|
+
orderType: OrderRoute;
|
|
55
|
+
isRepOrder: boolean;
|
|
56
|
+
aeName: string;
|
|
57
|
+
metric: "Ratings" | "Impressions";
|
|
58
|
+
showWriteEnabledPopup: boolean;
|
|
59
|
+
isPayForPerformanceOrder: boolean;
|
|
60
|
+
orderBizRuleStatus: null | string;
|
|
61
|
+
inheritedLevel: BizHistoryType;
|
|
62
|
+
approvedByBuyerName: null | string;
|
|
63
|
+
businessRuleApprovedDate: null | string;
|
|
64
|
+
businessRuleApprovedTime: null | string;
|
|
65
|
+
isOrderLevelBusinessRuleSet: boolean;
|
|
66
|
+
revisionType: REVISIONTYPES;
|
|
67
|
+
alternateOrderId: string;
|
|
68
|
+
isOngoingTemporaryRevisionAfterTransition: boolean;
|
|
69
|
+
universeSize: number;
|
|
70
|
+
isDeletedAtTraffic: boolean;
|
|
71
|
+
businessHistoryId: null | string;
|
|
72
|
+
advertiserName: null | string;
|
|
73
|
+
advertiserId: number;
|
|
74
|
+
spDayparts: string[];
|
|
75
|
+
aeEmailId: string;
|
|
76
|
+
salesSupportEmail: string;
|
|
77
|
+
disableOffersReportDownloadIcon: boolean;
|
|
78
|
+
lastEditedBy: string | null;
|
|
79
|
+
lastEditedAt: string | null;
|
|
80
|
+
estimatePriority: ESTIMATEPRIORITIES[];
|
|
81
|
+
flightStartDate: string;
|
|
82
|
+
flightEndDate: string;
|
|
83
|
+
hiatusPeriod: {
|
|
84
|
+
StartDate: string;
|
|
85
|
+
EndDate: string;
|
|
86
|
+
}[];
|
|
87
|
+
firstBookedSpotDate: string;
|
|
88
|
+
lastBookedSpotDate: string;
|
|
89
|
+
placedWeeks: string[];
|
|
90
|
+
durations: {
|
|
91
|
+
DisplayDuration: string;
|
|
92
|
+
Duration: number;
|
|
93
|
+
SpotTypeId: number;
|
|
94
|
+
}[];
|
|
95
|
+
showOverDeliveryWarning: boolean;
|
|
96
|
+
overDeliveryValue: number;
|
|
97
|
+
isReadMode: boolean;
|
|
98
|
+
status: {
|
|
99
|
+
IsCurrent: boolean;
|
|
100
|
+
Status: ANNAREVISIONSTAGES;
|
|
101
|
+
OffersRequiringAttentionCount: number;
|
|
102
|
+
OffersRequiringActionCount: number;
|
|
103
|
+
ShowNeedsAttentionIcon: boolean;
|
|
104
|
+
Action: "ShowTime" | "NoAction" | "ShowTimeout" | "AutoRejected" | "Skipped";
|
|
105
|
+
}[];
|
|
106
|
+
sellerActionForOfferedMgAduTakenBy: string;
|
|
107
|
+
sellerActionForOsPeTakenBy: string;
|
|
108
|
+
sellerApprovalTimeForOsPe: string;
|
|
109
|
+
sellerApprovalTime: string;
|
|
110
|
+
sellerApprovalTimeout: string;
|
|
111
|
+
sellerReviewTime: string;
|
|
112
|
+
sellerReviewTimeout: string;
|
|
113
|
+
buyerApprovalTime: string;
|
|
114
|
+
buyerApprovalTimeout: string;
|
|
115
|
+
buyerActionTakenBy: string;
|
|
116
|
+
reasonForNoRevision: null | string;
|
|
117
|
+
orderDiscrepancyExists: boolean;
|
|
118
|
+
intermediateOrderStatus: {
|
|
119
|
+
Message: null | string;
|
|
120
|
+
ShowMessageAfterStatus: null | ANNAREVISIONSTAGES;
|
|
121
|
+
};
|
|
122
|
+
pendingEcOrderStatus: string;
|
|
123
|
+
enableSubmitForMGADUFilter: boolean;
|
|
124
|
+
enableSubmitForOSPEFilter: boolean;
|
|
125
|
+
showSubmitButton: boolean;
|
|
126
|
+
anyActionsAllowed: boolean;
|
|
127
|
+
showUnmappedBuyerLineWarningMessage: boolean;
|
|
128
|
+
isSellerReconfirmationNeeded: boolean;
|
|
129
|
+
constructor(data: any);
|
|
130
|
+
}
|
|
131
|
+
export declare class SpotInformation {
|
|
132
|
+
ProgramId: string;
|
|
133
|
+
ProgramScheduleId: string;
|
|
134
|
+
sellerLine: number;
|
|
135
|
+
spotId: string;
|
|
136
|
+
uniqueId: string;
|
|
137
|
+
groupableId: string;
|
|
138
|
+
offerStatus: OfferStatusFromBE;
|
|
139
|
+
spotTypeCategory: SpotTypeCategoryFromBE;
|
|
140
|
+
displaySpotType: DisplaySpotTypeFromBE;
|
|
141
|
+
origin: null;
|
|
142
|
+
lineNumber: string;
|
|
143
|
+
weekStartDate: string;
|
|
144
|
+
actualWeekStartDate: string;
|
|
145
|
+
length: string;
|
|
146
|
+
daypart: string;
|
|
147
|
+
inventoryCode: string;
|
|
148
|
+
rate: number;
|
|
149
|
+
actualRate: number;
|
|
150
|
+
ratings: number;
|
|
151
|
+
impressions: number;
|
|
152
|
+
actualRatings: number;
|
|
153
|
+
actualImpressions: number;
|
|
154
|
+
groupId: string | "00000000-0000-0000-0000-000000000000";
|
|
155
|
+
allowedActions: any;
|
|
156
|
+
enableAllowedActions: boolean;
|
|
157
|
+
spotInsertionRevisionNumber: number;
|
|
158
|
+
spotRemovedRevisionNumber: number;
|
|
159
|
+
remarks: string;
|
|
160
|
+
preemptMessages: string;
|
|
161
|
+
trafficActionBy: string;
|
|
162
|
+
isMappedWithRep: boolean;
|
|
163
|
+
buyerLine: string;
|
|
164
|
+
buyerProgramName: string;
|
|
165
|
+
sellerProgramName: string;
|
|
166
|
+
isBuyerProgramNameEditable: boolean;
|
|
167
|
+
restrictedStartTime: string;
|
|
168
|
+
restrictedEndTime: string;
|
|
169
|
+
weekDay: string;
|
|
170
|
+
weeklyAUR: number;
|
|
171
|
+
weeklyAURatings: number;
|
|
172
|
+
weeklyAUImpressions: number;
|
|
173
|
+
highlightRates: boolean;
|
|
174
|
+
highlightRtgOrImps: boolean;
|
|
175
|
+
projectedImps: number;
|
|
176
|
+
projectedRtg: number;
|
|
177
|
+
solvedType: null;
|
|
178
|
+
ratingUsedToSolve: number;
|
|
179
|
+
impressionUsedToSolve: number;
|
|
180
|
+
approveOfferComment: string;
|
|
181
|
+
rejectOfferComments: string[];
|
|
182
|
+
markForCreditComment: string;
|
|
183
|
+
sellerCancellationComment: string;
|
|
184
|
+
reOfferComment: string;
|
|
185
|
+
excludeFromFutureOffers: boolean;
|
|
186
|
+
offerNumber: null | string;
|
|
187
|
+
revenueClass: string;
|
|
188
|
+
time: string;
|
|
189
|
+
date: string;
|
|
190
|
+
days: string;
|
|
191
|
+
adBreakId: number;
|
|
192
|
+
duration: number;
|
|
193
|
+
inventoryCodeId: number;
|
|
194
|
+
daypartId: number;
|
|
195
|
+
priorityCodeId: number;
|
|
196
|
+
bookedImpression: number;
|
|
197
|
+
bookedRating: number;
|
|
198
|
+
rollingEstimateImpression: number;
|
|
199
|
+
rollingEstimateRating: number;
|
|
200
|
+
stationEstimateImpression: number;
|
|
201
|
+
stationEstimateRating: number;
|
|
202
|
+
makeGoodsOfferNumber: string;
|
|
203
|
+
startTime: string;
|
|
204
|
+
endTime: string;
|
|
205
|
+
isGroupModified: boolean;
|
|
206
|
+
groupModifiedBy: null | string;
|
|
207
|
+
isAddedInGroup: boolean;
|
|
208
|
+
isRemovedFromGroup: boolean;
|
|
209
|
+
groupTableId: number | null;
|
|
210
|
+
newOfferId: number;
|
|
211
|
+
isRatingImpressionBumped: boolean;
|
|
212
|
+
bizRules: {
|
|
213
|
+
MaxSpotsPerPremption: number | null;
|
|
214
|
+
MinimumGrp: number | null;
|
|
215
|
+
MaxSpotsAllowedInOTO: {
|
|
216
|
+
PerHalfHour: number | null;
|
|
217
|
+
HalfHourToOneHour: number | null;
|
|
218
|
+
OneHourToTwoHours: number | null;
|
|
219
|
+
TwoHoursToThreeHours: number | null;
|
|
220
|
+
ThreeHoursPlus: number | null;
|
|
221
|
+
};
|
|
222
|
+
MaxSpotsAllowedInStripDaily: {
|
|
223
|
+
PerHalfHour: number | null;
|
|
224
|
+
HalfHourToOneHour: number | null;
|
|
225
|
+
OneHourToTwoHours: number | null;
|
|
226
|
+
TwoHoursPlus: number | null;
|
|
227
|
+
};
|
|
228
|
+
MaxSpotsAllowedInStripWeekly: {
|
|
229
|
+
PerHalfHour: number | null;
|
|
230
|
+
HalfHourToOneHour: number | null;
|
|
231
|
+
OneHourToTwoHours: number | null;
|
|
232
|
+
TwoHoursPlus: number | null;
|
|
233
|
+
};
|
|
234
|
+
};
|
|
235
|
+
daypartTooltipForSportsDP: {
|
|
236
|
+
key: string;
|
|
237
|
+
}[];
|
|
238
|
+
daypartActionKeyForIcon: {
|
|
239
|
+
dataToDisplay: string;
|
|
240
|
+
tooltipIconClass: string;
|
|
241
|
+
disableTooltip: boolean;
|
|
242
|
+
tooltipPosition: string;
|
|
243
|
+
showTooltip: boolean;
|
|
244
|
+
}[];
|
|
245
|
+
isFreeFlowGroup: boolean;
|
|
246
|
+
allowEdit: boolean;
|
|
247
|
+
allowUndo: boolean;
|
|
248
|
+
showUndo: boolean;
|
|
249
|
+
disableUndo: boolean;
|
|
250
|
+
allowReOffer: boolean;
|
|
251
|
+
allowCancel: boolean;
|
|
252
|
+
undoBy: string;
|
|
253
|
+
reofferBy: string;
|
|
254
|
+
cancelledBy: string;
|
|
255
|
+
cancellationStatus: string;
|
|
256
|
+
showNoReOfferToolTip: boolean;
|
|
257
|
+
offerIdWithStatusTagText: ISvgOrIconTypeInGTTable[];
|
|
258
|
+
spotTypeActionKey: ISvgOrIconTypeInGTTable[];
|
|
259
|
+
sellerAttentionIcon: ISvgOrIconTypeInGTTable[];
|
|
260
|
+
lastEditedOrAddedBy: string;
|
|
261
|
+
lastUpdatedOn: string;
|
|
262
|
+
sellerLineActionKey: IActionItemTypeWithStringIconOrTextAction[];
|
|
263
|
+
sellerLineTooltipKey: {
|
|
264
|
+
key: string;
|
|
265
|
+
value: string;
|
|
266
|
+
}[];
|
|
267
|
+
unmappedBuyerLineWarningIcon: ISvgOrIconTypeInGTTable[];
|
|
268
|
+
allowActionInRejectionPopup: boolean;
|
|
269
|
+
showActionInRejectionPopup: boolean;
|
|
270
|
+
rejectionHeader: string;
|
|
271
|
+
totalAmount: number;
|
|
272
|
+
displayTotalAmount: string;
|
|
273
|
+
totalGrp: number;
|
|
274
|
+
displayTotalGrp: string;
|
|
275
|
+
totalImps: number;
|
|
276
|
+
displayTotalImps: string;
|
|
277
|
+
previousActualRate: number;
|
|
278
|
+
previousActualRatings: number;
|
|
279
|
+
previousActualImpressions: number;
|
|
280
|
+
badlyBehavedSpotOrderId?: string;
|
|
281
|
+
badlyBehavedSpotRateImpactToolTipMessage?: string;
|
|
282
|
+
rateImpactValue?: string;
|
|
283
|
+
constructor(data: any, orderInfo: OrderInfoForANNARevision, key: SPOTCATEGORIES);
|
|
284
|
+
}
|
|
285
|
+
export declare class AdditionalSpotInformation extends SpotInformation {
|
|
286
|
+
displayRateTdClass: string;
|
|
287
|
+
spotNumbers: string;
|
|
288
|
+
totalSpotsCount: number;
|
|
289
|
+
displayRate: string;
|
|
290
|
+
displayWeeklyAUR: string;
|
|
291
|
+
displayRating: string;
|
|
292
|
+
displayImpressions: string;
|
|
293
|
+
displayWeeklyAUImpressions: string;
|
|
294
|
+
displayWeeklyAURatings: string;
|
|
295
|
+
businessRules: "Standard" | "Relaxed" | "-" | "Free Flow";
|
|
296
|
+
action: "resubmit" | "approve" | "credit" | "noAction";
|
|
297
|
+
actionType: any;
|
|
298
|
+
RadioButtonConfig: SpotaApprovalIRadioButton[];
|
|
299
|
+
gtClass: string;
|
|
300
|
+
displayRateActionKey: ISvgOrIconTypeInGTTable[];
|
|
301
|
+
displayRateTooltipKey: any;
|
|
302
|
+
bookedRTGActionKey: any;
|
|
303
|
+
bookedRTGTooltipKey: any;
|
|
304
|
+
bookedIMPSActionKey: any;
|
|
305
|
+
bookedIMPSTooltipKey: any;
|
|
306
|
+
statusActionKey: any;
|
|
307
|
+
statusTooltipKey: any;
|
|
308
|
+
editedOrAddedBy: string;
|
|
309
|
+
hideactionTd: boolean;
|
|
310
|
+
hidebusinessRulesTd: boolean;
|
|
311
|
+
hideinventoryCodeTd: boolean;
|
|
312
|
+
hidelengthTd: boolean;
|
|
313
|
+
hidetimeTd: boolean;
|
|
314
|
+
hideofferIdTd: boolean;
|
|
315
|
+
hideeditUndoReofferOrCancelColumnTd: boolean;
|
|
316
|
+
hidedisplaySpotTypeTd: boolean;
|
|
317
|
+
hidedaypartTd: boolean;
|
|
318
|
+
businessRulesRowspan: number;
|
|
319
|
+
offerIdRowspan: number;
|
|
320
|
+
editUndoReofferOrCancelColumnRowspan: number;
|
|
321
|
+
actionRowspan: number;
|
|
322
|
+
hideunmappedBuyerLineWarningIconTd: boolean;
|
|
323
|
+
unmappedBuyerLineWarningIconRowspan: number;
|
|
324
|
+
lengthRowspan: number;
|
|
325
|
+
inventoryCodeRowspan: number;
|
|
326
|
+
daypartRowspan: number;
|
|
327
|
+
timeRowspan: number;
|
|
328
|
+
displaySpotTypeRowspan: number;
|
|
329
|
+
editUndoReofferOrCancelColumn: any[];
|
|
330
|
+
firstTwoEstimatePrioritiesForIMPSMetric: string;
|
|
331
|
+
lastTwoEstimatePrioritiesForIMPSMetric: string;
|
|
332
|
+
firstTwoEstimatePrioritiesForRTGMetric: string;
|
|
333
|
+
lastTwoEstimatePrioritiesForRTGMetric: string;
|
|
334
|
+
spotCategoryKeyForEasyFilters: "offeredMGsAndADUs" | "outstandingSpots" | "badlyBehavedSpots";
|
|
335
|
+
approveActionLocalComment: string;
|
|
336
|
+
rejectActionComment: string[];
|
|
337
|
+
creditActionComment: string;
|
|
338
|
+
spotBelongsTo: SPOTCATEGORIES;
|
|
339
|
+
showUnmappedBuyerLineWarningIcon: boolean;
|
|
340
|
+
actualRateInNumber: any;
|
|
341
|
+
actualWeeklyAUR: any;
|
|
342
|
+
enableCommentEdit: boolean;
|
|
343
|
+
constructor(data: any, orderInfo: OrderInfoForANNARevision, key: SPOTCATEGORIES, keyName: "offeredMGsAndADUs" | "outstandingSpots" | "badlyBehavedSpots", showBadlyBehavedSpotsTooltipCellLevel: boolean, showAUR: boolean, revisionType: RevisionTypeConstants);
|
|
344
|
+
}
|
|
345
|
+
export interface AcquireLockResponse {
|
|
346
|
+
orderId: string;
|
|
347
|
+
lockAcquired: true;
|
|
348
|
+
timeoutInSeconds: 600;
|
|
349
|
+
lockAcquiredByUserId: number | null;
|
|
350
|
+
lockAcquiredByUserName: string;
|
|
351
|
+
}
|
|
352
|
+
export declare class DisplayRate {
|
|
353
|
+
arrayToReturn: any[];
|
|
354
|
+
constructor(data: any, showBadlyBehavedSpotsTooltipCellLevel: boolean, showAUR: boolean, revisionType: RevisionTypeConstants);
|
|
355
|
+
}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { ITotalRowRadioButtonData, TotalRowActionColumnPossibleValues } from "./anna-revisions-enums.model";
|
|
2
|
+
import { AdditionalSpotInformation } from "./anna-revisions-response.model";
|
|
3
|
+
export interface TotalRowData {
|
|
4
|
+
totalRTG: number;
|
|
5
|
+
totalIMPS: number;
|
|
6
|
+
totalRateForDisplay: string;
|
|
7
|
+
message: string;
|
|
8
|
+
radioButtonsData?: ITotalRowRadioButtonData[];
|
|
9
|
+
showRadioButtonsInActionColumn?: boolean;
|
|
10
|
+
selectedAction?: TotalRowActionColumnPossibleValues;
|
|
11
|
+
totalAmountForDisplay?: string;
|
|
12
|
+
totalAmountGrpForDisplay?: string;
|
|
13
|
+
totalAmountImpsForDisplay?: string;
|
|
14
|
+
}
|
|
15
|
+
export declare class TotalRow {
|
|
16
|
+
totalRow: TotalRowData;
|
|
17
|
+
constructor(data: AdditionalSpotInformation[], state: string, selectedFilter: string);
|
|
18
|
+
}
|
|
19
|
+
export declare class TotalRowWForBuyerRejectedFilteredData {
|
|
20
|
+
totalRTG: number;
|
|
21
|
+
totalIMPS: number;
|
|
22
|
+
totalRateForDisplay: string;
|
|
23
|
+
message: string;
|
|
24
|
+
constructor(data: AdditionalSpotInformation[]);
|
|
25
|
+
}
|
|
26
|
+
export declare class TotalRowForASAAndASRMGs {
|
|
27
|
+
totalRTG: number;
|
|
28
|
+
totalIMPS: number;
|
|
29
|
+
totalRateForDisplay: string;
|
|
30
|
+
message: string;
|
|
31
|
+
constructor(data: AdditionalSpotInformation[]);
|
|
32
|
+
}
|
|
33
|
+
export declare class TotalRowForABAASMARGRDMGs {
|
|
34
|
+
totalRTG: number;
|
|
35
|
+
totalIMPS: number;
|
|
36
|
+
totalRateForDisplay: string;
|
|
37
|
+
message: string;
|
|
38
|
+
constructor(data: any);
|
|
39
|
+
}
|
|
40
|
+
export declare class TotalRowForASAAndASRADUs {
|
|
41
|
+
totalRTG: number;
|
|
42
|
+
totalIMPS: number;
|
|
43
|
+
totalRateForDisplay: string;
|
|
44
|
+
message: string;
|
|
45
|
+
radioButtonsData: ITotalRowRadioButtonData[];
|
|
46
|
+
showRadioButtonsInActionColumn: boolean;
|
|
47
|
+
selectedAction: TotalRowActionColumnPossibleValues;
|
|
48
|
+
constructor(data: AdditionalSpotInformation[]);
|
|
49
|
+
}
|
|
50
|
+
export declare class TotalRowForABAASMARGRDADUs {
|
|
51
|
+
totalRTG: number;
|
|
52
|
+
totalIMPS: number;
|
|
53
|
+
totalRateForDisplay: string;
|
|
54
|
+
message: string;
|
|
55
|
+
radioButtonsData: ITotalRowRadioButtonData[];
|
|
56
|
+
showRadioButtonsInActionColumn: boolean;
|
|
57
|
+
selectedAction: TotalRowActionColumnPossibleValues;
|
|
58
|
+
constructor(data: any);
|
|
59
|
+
}
|
|
60
|
+
export declare class TotalRowForASAAndASRBonusSpots {
|
|
61
|
+
totalRTG: number;
|
|
62
|
+
totalIMPS: number;
|
|
63
|
+
totalRateForDisplay: string;
|
|
64
|
+
message: string;
|
|
65
|
+
constructor(data: AdditionalSpotInformation[]);
|
|
66
|
+
}
|
|
67
|
+
export declare class TotalRowForABAASMARGRDBonusSpots {
|
|
68
|
+
totalRTG: number;
|
|
69
|
+
totalIMPS: number;
|
|
70
|
+
totalRateForDisplay: string;
|
|
71
|
+
message: string;
|
|
72
|
+
constructor(data: any);
|
|
73
|
+
}
|
|
74
|
+
export declare class TotalRowForASAAndASRBookedADUs {
|
|
75
|
+
totalRTG: number;
|
|
76
|
+
totalIMPS: number;
|
|
77
|
+
totalRateForDisplay: string;
|
|
78
|
+
message: string;
|
|
79
|
+
radioButtonsData: ITotalRowRadioButtonData[];
|
|
80
|
+
showRadioButtonsInActionColumn: boolean;
|
|
81
|
+
selectedAction: TotalRowActionColumnPossibleValues;
|
|
82
|
+
constructor(data: AdditionalSpotInformation[]);
|
|
83
|
+
}
|
|
84
|
+
export declare class TotalRowForABAASMARGRDBookedADUs {
|
|
85
|
+
totalRTG: number;
|
|
86
|
+
totalIMPS: number;
|
|
87
|
+
totalRateForDisplay: string;
|
|
88
|
+
message: string;
|
|
89
|
+
radioButtonsData: ITotalRowRadioButtonData[];
|
|
90
|
+
showRadioButtonsInActionColumn: boolean;
|
|
91
|
+
selectedAction: TotalRowActionColumnPossibleValues;
|
|
92
|
+
constructor(data: any);
|
|
93
|
+
}
|
|
94
|
+
export declare class TotalRowForOSSpots {
|
|
95
|
+
totalRTG: number;
|
|
96
|
+
totalIMPS: number;
|
|
97
|
+
totalRateForDisplay: string;
|
|
98
|
+
message: string;
|
|
99
|
+
constructor(data: any);
|
|
100
|
+
}
|
|
101
|
+
export declare class TotalForCreditSpots {
|
|
102
|
+
totalRTG: number;
|
|
103
|
+
totalIMPS: number;
|
|
104
|
+
totalRateForDisplay: string;
|
|
105
|
+
message: string;
|
|
106
|
+
constructor(data: any);
|
|
107
|
+
}
|
|
108
|
+
export declare class TotalForBadlyBehavedSpots {
|
|
109
|
+
totalRTG: number;
|
|
110
|
+
totalIMPS: number;
|
|
111
|
+
totalRateForDisplay: string;
|
|
112
|
+
message: string;
|
|
113
|
+
constructor(data: any);
|
|
114
|
+
}
|
|
115
|
+
export declare class TotalRowWithFilteredColumns {
|
|
116
|
+
totalRTG: number;
|
|
117
|
+
totalIMPS: number;
|
|
118
|
+
totalRateForDisplay: string;
|
|
119
|
+
message: string;
|
|
120
|
+
radioButtonsData: ITotalRowRadioButtonData[];
|
|
121
|
+
showRadioButtonsInActionColumn: boolean;
|
|
122
|
+
selectedAction: TotalRowActionColumnPossibleValues;
|
|
123
|
+
constructor(data: AdditionalSpotInformation[], filter: any);
|
|
124
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { ESTIMATEPRIORITIES, SpotTypeCategoryFromBE } from "./anna-revisions-enums.model";
|
|
2
|
+
import { IADUSpotInformationForEdit, IPreemptionSpotInformationForEdit } from "./create-or-edit-offers-popup.model";
|
|
3
|
+
export interface ITotalRowForEditOrCreateOfferedADUs {
|
|
4
|
+
totalRowsCount: number;
|
|
5
|
+
totalMessage: string;
|
|
6
|
+
totalBookedAvgRate: number;
|
|
7
|
+
totalOfferedIMPSOrRtg: number;
|
|
8
|
+
totalOfferedRateForDisplay: string;
|
|
9
|
+
totalBookedAvgRateForDisplay: string;
|
|
10
|
+
totalRowAction: string;
|
|
11
|
+
}
|
|
12
|
+
export declare class TotalRowForEditOfferedADUsForIMPSOrder implements ITotalRowForEditOrCreateOfferedADUs {
|
|
13
|
+
totalMessage: string;
|
|
14
|
+
totalRowsCount: number;
|
|
15
|
+
totalBookedAvgRate: number;
|
|
16
|
+
totalOfferedIMPSOrRtg: number;
|
|
17
|
+
totalOfferedRateForDisplay: string;
|
|
18
|
+
totalBookedAvgRateForDisplay: string;
|
|
19
|
+
totalRowAction: string;
|
|
20
|
+
constructor(data: IADUSpotInformationForEdit[], estimatePriorities: ESTIMATEPRIORITIES[], spotType: SpotTypeCategoryFromBE);
|
|
21
|
+
}
|
|
22
|
+
export declare class TotalRowForEditOfferedADUsForRtgOrder implements ITotalRowForEditOrCreateOfferedADUs {
|
|
23
|
+
totalMessage: string;
|
|
24
|
+
totalRowsCount: number;
|
|
25
|
+
totalBookedAvgRate: number;
|
|
26
|
+
totalOfferedIMPSOrRtg: number;
|
|
27
|
+
totalOfferedRateForDisplay: string;
|
|
28
|
+
totalBookedAvgRateForDisplay: string;
|
|
29
|
+
totalRowAction: string;
|
|
30
|
+
constructor(data: IADUSpotInformationForEdit[], estimatePriorities: ESTIMATEPRIORITIES[], spotType: SpotTypeCategoryFromBE);
|
|
31
|
+
}
|
|
32
|
+
export declare class TotalRowForCreateADUsForIMPSOrder implements ITotalRowForEditOrCreateOfferedADUs {
|
|
33
|
+
totalMessage: string;
|
|
34
|
+
totalRowsCount: number;
|
|
35
|
+
totalBookedAvgRate: number;
|
|
36
|
+
totalOfferedIMPSOrRtg: number;
|
|
37
|
+
totalOfferedRateForDisplay: string;
|
|
38
|
+
totalBookedAvgRateForDisplay: string;
|
|
39
|
+
totalRowAction: string;
|
|
40
|
+
constructor(data: IADUSpotInformationForEdit[], estimatePriorities: ESTIMATEPRIORITIES[], spotType: SpotTypeCategoryFromBE);
|
|
41
|
+
}
|
|
42
|
+
export declare class TotalRowForCreateADUsForRtgOrder implements ITotalRowForEditOrCreateOfferedADUs {
|
|
43
|
+
totalMessage: string;
|
|
44
|
+
totalRowsCount: number;
|
|
45
|
+
totalBookedAvgRate: number;
|
|
46
|
+
totalOfferedIMPSOrRtg: number;
|
|
47
|
+
totalOfferedRateForDisplay: string;
|
|
48
|
+
totalBookedAvgRateForDisplay: string;
|
|
49
|
+
totalRowAction: string;
|
|
50
|
+
constructor(data: IADUSpotInformationForEdit[], estimatePriorities: ESTIMATEPRIORITIES[], spotType: SpotTypeCategoryFromBE);
|
|
51
|
+
}
|
|
52
|
+
export declare class TotalRowForPreemptionsForRTGOrder {
|
|
53
|
+
totalBookedRate: number;
|
|
54
|
+
totalBookedRtgOrIMPS: number;
|
|
55
|
+
totalBookedRateForDisplay: string;
|
|
56
|
+
constructor(data: IPreemptionSpotInformationForEdit[], estimatePriorities: ESTIMATEPRIORITIES[]);
|
|
57
|
+
}
|
|
58
|
+
export declare class TotalRowForPreemptionsForIMPSOrder {
|
|
59
|
+
totalBookedRate: number;
|
|
60
|
+
totalBookedRtgOrIMPS: number;
|
|
61
|
+
totalBookedRateForDisplay: string;
|
|
62
|
+
constructor(data: IPreemptionSpotInformationForEdit[], estimatePriorities: ESTIMATEPRIORITIES[]);
|
|
63
|
+
}
|
|
64
|
+
export declare class TotalEstimatePriorites {
|
|
65
|
+
totalFirstTwoEstimatePriorities: string;
|
|
66
|
+
totalLastTwoEstimatePriorities: string;
|
|
67
|
+
constructor(data: {
|
|
68
|
+
ANNAEst: number;
|
|
69
|
+
stationEst: number;
|
|
70
|
+
buyerRtg: number;
|
|
71
|
+
bookedAvgRtg: number;
|
|
72
|
+
}, estimatePriorities: ESTIMATEPRIORITIES[]);
|
|
73
|
+
}
|