import { CurrencyPipe, DecimalPipe } from "@angular/common"; import { IActionItemTypeWithStringIconOrTextAction, SvgOrIconTypeInGTTable } from "@annalib/anna-core"; import { OrderRoute } from "@annalib/anna-feature-shared-lib"; export type RevisionType = "ANNA" | "Buyer revision" | "User offers" | "-" | "- (High discrepancy)"; export type RevisionStatus = "Seller Pending" | "Buyer Pending" | "SM Pending" | "Rev Generated" | "Rev discarded" | "O/S Spots" | "O/S UD"; export interface Filter { text: string; isActive: boolean; isDisabled: boolean; iconRequired?: boolean; isSvgIcon?: boolean; iconClass?: string; } export interface OrderListingEasyFilter { label: string; class?: string; filters: Filter[]; } export declare enum OrderType { PAID_WITH_AUDIENCE = "PAID_WITH_AUDIENCE", PAID_NO_AUDIENCE = "PAID_NO_AUDIENCE", UD_LIABILITY_NOT_SET = "UD_LIABILITY_NOT_SET", UD_LIABILITY_SET = "UD_LIABILITY_SET", UD = "UD" } export declare class OrderDetails { station: string; primaryBuyer: string; secondaryBuyer: string; estimateNo: string; stationId: number; agency: string; location: string; advertiser: string; buyerNames: string; repUserNames: string; brand: string; brandId: number; startDate: string; endDate: string; orderId: number; campaignId: number; revision: string; orderStatus: string; orderStarred: boolean; payForPerformance: boolean; bizRuleStatus: string; primaryAe: string; region: string; orderNoRevNo: string; revCode1: string; revCode2: string; revCode3: string; advertiserId: any; isWriteEnabled: boolean; demo: string; productCode: string; buyerOrderId: string; bookedValueExcludingZeroRtngSpots: number; poDAndAAIconKey: SvgOrIconTypeInGTTable[]; deletedOrderIconKey: SvgOrIconTypeInGTTable[]; isAnnaOrderEntry: boolean; booked: number; displayBooked: string; spots: number; displaySpots: string; grp: number; grpWithoutRoundoff: number; imps: number; cpp: number; displaycpp: string; cpm: number; displaycpm: string; rcvPreempt: number; displayMadegoodPe: string; osPreempt: number; displayOsPe: string; postedAdu: number; displayPostedADUs: string; scheduledAdu: number; displayScheduledADUs: string; audienceDeficit: number; displayOsAudienceDelta: string; postedAudPercent: number; displayPostedAudiencePer: string; iconClass: string; gtClass: string; orderCategory: string; revisionType: RevisionType; revisionStatus: RevisionStatus | string; annaRevised: string; cashOrTrade: string; orderSource: string; underDeliveryPercent: number; overDeliveryPercent: number; underDeliveryImpsDisplay: string; underDeliveryGrpDisplay: string; overDeliveryImpsDisplay: string; overDeliveryGrpDisplay: string; underDeliveryPercentDisplay: string; overDeliveryPercentDisplay: string; UDImps: number; UDGrp: number; ODImps: number; ODGrp: number; odImpsPercent: number; odGrpPercent: number; udImpsPercent: number; udGrpPercent: number; displayGrp: string; displayimps: string; orderTypeActionKey?: any; orderTypeTooltipKey: { key: string; value: string; }[]; isDeletedOrder: boolean; orderType?: string; redirectTo: "order-business-rules" | "line-details" | "audience-performance"; displayUdValue: string; udValue: number; displayOdValue: string; odValue: number; isHiatusDateSet: boolean; startDateActionKey: IActionItemTypeWithStringIconOrTextAction[]; startDateTooltipKey: { key: string; value: string; }[]; hasAduDiscrepancy: boolean; market: string; networkAffiliate: string; bookedImpWithoutRoundoff: number; isAudiencePostingRequired: boolean; isAudiencePostingRequiredText: string; constructor(data: any, currencyPipe: CurrencyPipe, decimalPipe: DecimalPipe, currentListingTab: string); static getOrderTypeActionKey(orderType: OrderType, hasAduDiscrepancy: boolean): { showTooltip: boolean; dataToDisplay: string; tooltipPosition: string; additionalTextWoTooltip: string; tooltipIconClass: string; tooltipInnerClass: string; disableTooltip: boolean; }[]; static getOrderTypeTooltipKey(hasAduDiscrepancy: boolean): { key: string; value: string; }[]; toPercent(decimalPipe: DecimalPipe, value: number | string): string; to$Value(currencyPipe: CurrencyPipe, value: string): string; static mapOrderTypeToText(orderType: OrderType): string; static convertToCommaSeperatedString(arrList: any[]): string; } export declare class HaitusTextActions { id: any; data: string; iconClass: string; showIcon: boolean; disabledIcon: boolean; linkClass: string; showLink: boolean; disabledLink: boolean; showTooltip: boolean; disableTooltip: boolean; additionalTextBeforeLink: string; typeOfData: "STRING" | "ICON_TEXT_ACTION"; enableTooltipForAdditionalText: boolean; tooltipData: { key: string; value: string; }[]; tooltipPlacement: string; tooltipClass: string; constructor(data: any); } export declare class OrderListingTotalRow { bookedValue: number; bookedSpots: number; bookedGrp: number; bookedGrpWithoutRoundoff: number; cpp: number; imps: number; cpm: number; rcvPreempt: number; osPreempt: number; postedAudPercent: number; postedAdu: number; scheduledAdu: number; audienceDeficit: number; bookedValueExcludingZeroRtngSpots: number; bookedImpWithoutRoundoff: number; orderCountWithPostedAudiencePer: number; displayImps: string; displayBookedValue: string; displayPostedAdu: string; displayScheduledAdu: string; displayAudienceDeficit: string; displayRcvPreempt: string; displayOsPreempt: string; underDeliveryPercent: number; overDeliveryPercent: number; displayUdImps: any; displayUdGrp: any; displayOdImps: any; displayOdGrp: any; displayUdPercent: any; displayOdPercent: any; udCountWithoutNull: number; odCountWithoutNull: number; udValue: number; odValue: number; displayUdValue: string; displayOdValue: string; constructor(data: OrderDetails[]); } export declare class OrderDetailsGroupedByRevisionStatus { orders: OrderDetails[]; constructor(data: any, currencyPipe: CurrencyPipe, decimalPipe: DecimalPipe, currentTab: string); } export declare class OrderListingTabName { static readonly TVRevenue = "TVRevenue"; static readonly OtherRevenue = "OtherRevenue"; static readonly BlankAndDeleted = "BlankAndDeleted"; static readonly Deleted = "Deleted"; static readonly PostingAndUDTracker = "PostingAndUDTracker"; static readonly TodaysAnnaOffers = "TodaysAnnaOffers"; static readonly TodaysUserOffers = "TodaysUserOffers"; static readonly OffersAwaitingApproval = "OffersAwaitingApproval"; static readonly ECOrders = "ECOrders"; } export interface OrderListingTab { element: string; name: string; url: string; componentName: OrderListingTabName; showDivider: boolean; } export declare class OrderDetailsInfo { channelId: number; orderId: string; campaignId: number; campaignStartDate: string; campaignEndDate: string; displayOrderId: string; currentTab: number; advertiserId: string; latest_revision: number; navigateTo: string; currentListingTab: number; searchRedirected: boolean; currentListingTabName: string; order_type: OrderRoute; orderType: string; constructor(); } export type OrderListingTabsName = "TV Revenue" | "TV" | "Other Revenue" | "Blank & Deleted" | "Deleted";