import { IActionItemTypeWithStringIconOrTextAction, ISvgOrIconTypeInGTTable } from "@annalib/anna-core"; import { BizHistoryType, OrderRoute } from "@annalib/anna-feature-shared-lib"; import { RevisionTypeConstants } from "../constants/spots-approval.constant"; import { IANNARevisionBEResponse } from "./anna-revisions-backend.model"; import { ANNAREVISIONSTAGES, DisplaySpotTypeFromBE, ESTIMATEPRIORITIES, OfferStatusFromBE, REVISIONTYPES, SpotaApprovalIRadioButton, SPOTCATEGORIES, SpotTypeCategoryFromBE } from "./anna-revisions-enums.model"; export declare class ANNARevisionSpotsApprovalResponse { braodcastTime: string; enableRevenueClassEdit: boolean; orderInfo: OrderInfoForANNARevision; revisionSummary: ANNARevisionSummary; offeredMGsAndADUs: AdditionalSpotInformation[]; outstandingSpots: AdditionalSpotInformation[]; badlyBehavedSpots: AdditionalSpotInformation[]; offerCreationDropDown: { Name: string; RevenueClass: string; IsAdu: boolean; }[]; constructor(data: IANNARevisionBEResponse, showBadlyBehavedSpotsTooltipCellLevel: boolean, showAUR: boolean, revisionType: REVISIONTYPES); } export declare class BaseRevisionSummary { equivalisation: boolean; tgName: string; advertiser: string; agency: string; isDeletedAtTraffic: boolean; booked: CPPCPMCostRTGIMPS; tgId: number; constructor(data: any); } export declare class ANNARevisionSummary extends BaseRevisionSummary { offeredMakegoods: CPPCPMCostRTGIMPS; offeredADUs: CPPCPMCostRTGIMPS; OutstandingSpots: CPPCPMCostRTGIMPS; ANNACredited: CPPCPMCostRTGIMPS; UDProjection: CPPCPMCostRTGIMPS; UD: CPPCPMCostRTGIMPS; BusinessRuleADUPostingBasedOn: "PROJECTED" | "POSTED" | "DISABLED/NOT_SELECTED"; constructor(data: any); } export interface CPPCPMCostRTGIMPS { CPP?: string; CPM?: string; Cost: string; Ratings: string; Impressions: string; } export declare class OrderInfoForANNARevision { station: string; orderId: string; revisionNumber: number; revisedOn: string; timeZone: string; orderType: OrderRoute; isRepOrder: boolean; aeName: string; metric: "Ratings" | "Impressions"; showWriteEnabledPopup: boolean; isPayForPerformanceOrder: boolean; orderBizRuleStatus: null | string; inheritedLevel: BizHistoryType; approvedByBuyerName: null | string; businessRuleApprovedDate: null | string; businessRuleApprovedTime: null | string; isOrderLevelBusinessRuleSet: boolean; revisionType: REVISIONTYPES; alternateOrderId: string; isOngoingTemporaryRevisionAfterTransition: boolean; universeSize: number; isDeletedAtTraffic: boolean; businessHistoryId: null | string; advertiserName: null | string; advertiserId: number; spDayparts: string[]; aeEmailId: string; salesSupportEmail: string; disableOffersReportDownloadIcon: boolean; lastEditedBy: string | null; lastEditedAt: string | null; estimatePriority: ESTIMATEPRIORITIES[]; flightStartDate: string; flightEndDate: string; hiatusPeriod: { StartDate: string; EndDate: string; }[]; firstBookedSpotDate: string; lastBookedSpotDate: string; placedWeeks: string[]; durations: { DisplayDuration: string; Duration: number; SpotTypeId: number; }[]; showOverDeliveryWarning: boolean; overDeliveryValue: number; isReadMode: boolean; status: { IsCurrent: boolean; Status: ANNAREVISIONSTAGES; OffersRequiringAttentionCount: number; OffersRequiringActionCount: number; ShowNeedsAttentionIcon: boolean; Action: "ShowTime" | "NoAction" | "ShowTimeout" | "AutoRejected" | "Skipped"; }[]; sellerActionForOfferedMgAduTakenBy: string; sellerActionForOsPeTakenBy: string; sellerApprovalTimeForOsPe: string; sellerApprovalTime: string; sellerApprovalTimeout: string; sellerReviewTime: string; sellerReviewTimeout: string; buyerApprovalTime: string; buyerApprovalTimeout: string; buyerActionTakenBy: string; smTimeout: string; reasonForNoRevision: null | string; orderDiscrepancyExists: boolean; intermediateOrderStatus: { Message: null | string; ShowMessageAfterStatus: null | ANNAREVISIONSTAGES; }; pendingEcOrderStatus: string; enableSubmitForMGADUFilter: boolean; enableSubmitForOSPEFilter: boolean; showSubmitButton: boolean; anyActionsAllowed: boolean; showUnmappedBuyerLineWarningMessage: boolean; isSellerReconfirmationNeeded: boolean; constructor(data: any); } export declare class SpotInformation { ProgramId: string; ProgramScheduleId: string; sellerLine: number; spotId: string; uniqueId: string; groupableId: string; offerStatus: OfferStatusFromBE; spotTypeCategory: SpotTypeCategoryFromBE; displaySpotType: DisplaySpotTypeFromBE; origin: null; lineNumber: string; weekStartDate: string; actualWeekStartDate: string; length: string; daypart: string; inventoryCode: string; rate: number; actualRate: number; ratings: number; impressions: number; actualRatings: number; actualImpressions: number; groupId: string | "00000000-0000-0000-0000-000000000000"; allowedActions: any; enableAllowedActions: boolean; spotInsertionRevisionNumber: number; spotRemovedRevisionNumber: number; remarks: string; preemptMessages: string; trafficActionBy: string; isMappedWithRep: boolean; buyerLine: string; buyerProgramName: string; sellerProgramName: string; isBuyerProgramNameEditable: boolean; restrictedStartTime: string; restrictedEndTime: string; weekDay: string; weeklyAUR: number; weeklyAURatings: number; weeklyAUImpressions: number; highlightRates: boolean; highlightRtgOrImps: boolean; projectedImps: number; projectedRtg: number; solvedType: null; ratingUsedToSolve: number; impressionUsedToSolve: number; approveOfferComment: string; rejectOfferComments: string[]; markForCreditComment: string; sellerCancellationComment: string; reOfferComment: string; excludeFromFutureOffers: boolean; offerNumber: null | string; revenueClass: string; time: string; date: string; days: string; adBreakId: number; duration: number; inventoryCodeId: number; daypartId: number; priorityCodeId: number; bookedImpression: number; bookedRating: number; rollingEstimateImpression: number; rollingEstimateRating: number; stationEstimateImpression: number; stationEstimateRating: number; makeGoodsOfferNumber: string; startTime: string; endTime: string; isGroupModified: boolean; groupModifiedBy: null | string; isAddedInGroup: boolean; isRemovedFromGroup: boolean; groupTableId: number | null; newOfferId: number; isRatingImpressionBumped: boolean; bizRules: { MaxSpotsPerPremption: number | null; MinimumGrp: number | null; MaxSpotsAllowedInOTO: { PerHalfHour: number | null; HalfHourToOneHour: number | null; OneHourToTwoHours: number | null; TwoHoursToThreeHours: number | null; ThreeHoursPlus: number | null; }; MaxSpotsAllowedInStripDaily: { PerHalfHour: number | null; HalfHourToOneHour: number | null; OneHourToTwoHours: number | null; TwoHoursPlus: number | null; }; MaxSpotsAllowedInStripWeekly: { PerHalfHour: number | null; HalfHourToOneHour: number | null; OneHourToTwoHours: number | null; TwoHoursPlus: number | null; }; }; daypartTooltipForSportsDP: { key: string; }[]; daypartActionKeyForIcon: { dataToDisplay: string; tooltipIconClass: string; disableTooltip: boolean; tooltipPosition: string; showTooltip: boolean; }[]; isFreeFlowGroup: boolean; allowEdit: boolean; allowUndo: boolean; showUndo: boolean; disableUndo: boolean; allowReOffer: boolean; allowCancel: boolean; undoBy: string; reofferBy: string; cancelledBy: string; cancellationStatus: string; showNoReOfferToolTip: boolean; offerIdWithStatusTagText: ISvgOrIconTypeInGTTable[]; spotTypeActionKey: ISvgOrIconTypeInGTTable[]; sellerAttentionIcon: ISvgOrIconTypeInGTTable[]; lastEditedOrAddedBy: string; lastUpdatedOn: string; sellerLineActionKey: IActionItemTypeWithStringIconOrTextAction[]; sellerLineTooltipKey: { key: string; value: string; }[]; unmappedBuyerLineWarningIcon: ISvgOrIconTypeInGTTable[]; allowActionInRejectionPopup: boolean; showActionInRejectionPopup: boolean; rejectionHeader: string; totalAmount: number; displayTotalAmount: string; totalGrp: number; displayTotalGrp: string; totalImps: number; displayTotalImps: string; previousActualRate: number; previousActualRatings: number; previousActualImpressions: number; badlyBehavedSpotOrderId?: string; badlyBehavedSpotRateImpactToolTipMessage?: string; rateImpactValue?: string; constructor(data: any, orderInfo: OrderInfoForANNARevision, key: SPOTCATEGORIES); } export declare class AdditionalSpotInformation extends SpotInformation { displayRateTdClass: string; spotNumbers: string; totalSpotsCount: number; displayRate: string; displayWeeklyAUR: string; displayRating: string; displayImpressions: string; displayWeeklyAUImpressions: string; displayWeeklyAURatings: string; businessRules: "Standard" | "Relaxed" | "-" | "Free Flow"; action: "resubmit" | "approve" | "credit" | "noAction"; actionType: any; RadioButtonConfig: SpotaApprovalIRadioButton[]; gtClass: string; displayRateActionKey: ISvgOrIconTypeInGTTable[]; displayRateTooltipKey: any; bookedRTGActionKey: any; bookedRTGTooltipKey: any; bookedIMPSActionKey: any; bookedIMPSTooltipKey: any; statusActionKey: any; statusTooltipKey: any; editedOrAddedBy: string; hideactionTd: boolean; hidebusinessRulesTd: boolean; hideinventoryCodeTd: boolean; hidelengthTd: boolean; hidetimeTd: boolean; hideofferIdTd: boolean; hideeditUndoReofferOrCancelColumnTd: boolean; hidedisplaySpotTypeTd: boolean; hidedaypartTd: boolean; businessRulesRowspan: number; offerIdRowspan: number; editUndoReofferOrCancelColumnRowspan: number; actionRowspan: number; hideunmappedBuyerLineWarningIconTd: boolean; unmappedBuyerLineWarningIconRowspan: number; lengthRowspan: number; inventoryCodeRowspan: number; daypartRowspan: number; timeRowspan: number; displaySpotTypeRowspan: number; editUndoReofferOrCancelColumn: any[]; firstTwoEstimatePrioritiesForIMPSMetric: string; lastTwoEstimatePrioritiesForIMPSMetric: string; firstTwoEstimatePrioritiesForRTGMetric: string; lastTwoEstimatePrioritiesForRTGMetric: string; spotCategoryKeyForEasyFilters: "offeredMGsAndADUs" | "outstandingSpots" | "badlyBehavedSpots"; approveActionLocalComment: string; rejectActionComment: string[]; creditActionComment: string; spotBelongsTo: SPOTCATEGORIES; showUnmappedBuyerLineWarningIcon: boolean; actualRateInNumber: any; actualWeeklyAUR: any; enableCommentEdit: boolean; constructor(data: any, orderInfo: OrderInfoForANNARevision, key: SPOTCATEGORIES, keyName: "offeredMGsAndADUs" | "outstandingSpots" | "badlyBehavedSpots", showBadlyBehavedSpotsTooltipCellLevel: boolean, showAUR: boolean, revisionType: RevisionTypeConstants); } export interface AcquireLockResponse { orderId: string; lockAcquired: true; timeoutInSeconds: 600; lockAcquiredByUserId: number | null; lockAcquiredByUserName: string; } export declare class DisplayRate { arrayToReturn: any[]; constructor(data: any, showBadlyBehavedSpotsTooltipCellLevel: boolean, showAUR: boolean, revisionType: RevisionTypeConstants); }