dfp-lib
Version:
This project hosts the Node.JS client library for the SOAP-based DFP API at Google.
76 lines (75 loc) • 4.43 kB
TypeScript
import { XMLElement } from '../../common/soap/xmlElement';
import { PricingModel } from './pricingModel';
import { ProposalStatus } from './proposalStatus';
import { ProposalCompanyAssociation } from './proposalCompanyAssociation';
import { BillingCap } from './billingCap';
import { BillingSchedule } from './billingSchedule';
import { BillingSource } from './billingSource';
import { BillingBase } from './billingBase';
import { Money } from './money';
import { SalespersonSplit } from './salespersonSplit';
import { BaseCustomFieldValue } from './baseCustomFieldValue';
import { AppliedLabel } from './appliedLabel';
import { ProposalApprovalStatus } from './proposalApprovalStatus';
import { ProposalLink } from './proposalLink';
import { ProposalTermsAndConditions } from './proposalTermsAndConditions';
import { RetractionDetails } from './retractionDetails';
import { DfpDateTime } from './dfpDateTime';
import { OfflineError } from './offlineError';
import { WorkflowProgress } from './workflowProgress';
import { ProposalMarketplaceInfo } from './proposalMarketplaceInfo';
export declare class Proposal extends XMLElement {
protected static XSI_TYPE: string;
id: number;
isProgrammatic: boolean;
dfpOrderId: number;
name: string;
pricingModel: PricingModel;
startDateTime: DfpDateTime;
endDateTime: DfpDateTime;
timeZoneId: string;
status: ProposalStatus;
isArchived: boolean;
advertiser: ProposalCompanyAssociation;
agencies: ProposalCompanyAssociation[];
probabilityOfClose: number;
billingCap: BillingCap;
billingSchedule: BillingSchedule;
billingSource: BillingSource;
billingBase: BillingBase;
poNumber: string;
internalNotes: string;
budget: Money;
primarySalesperson: SalespersonSplit;
secondarySalespeople: SalespersonSplit[];
salesPlannerIds: number[];
primaryTraffickerId: number;
secondaryTraffickerIds: number[];
sellerContactIds: number[];
appliedTeamIds: number[];
customFieldValues: BaseCustomFieldValue[];
appliedLabels: AppliedLabel[];
effectiveAppliedLabels: AppliedLabel[];
advertiserDiscount: number;
proposalDiscount: number;
currencyCode: string;
exchangeRate: number;
refreshExchangeRate: boolean;
agencyCommission: number;
valueAddedTax: number;
isSold: boolean;
approvalStatus: ProposalApprovalStatus;
workflowProgress: WorkflowProgress;
lastModifiedDateTime: DfpDateTime;
resources: ProposalLink[];
actualExpiryTime: DfpDateTime;
expectedExpiryTime: DfpDateTime;
thirdPartyAdServerId: number;
customThirdPartyAdServerName: string;
termsAndConditions: ProposalTermsAndConditions[];
lastRetractionDetails: RetractionDetails;
marketplaceInfo: ProposalMarketplaceInfo;
offlineErrors: OfflineError[];
hasOfflineErrors: boolean;
constructor(id?: number, isProgrammatic?: boolean, dfpOrderId?: number, name?: string, pricingModel?: PricingModel, startDateTime?: DfpDateTime, endDateTime?: DfpDateTime, timeZoneId?: string, status?: ProposalStatus, isArchived?: boolean, advertiser?: ProposalCompanyAssociation, agencies?: ProposalCompanyAssociation[], probabilityOfClose?: number, billingCap?: BillingCap, billingSchedule?: BillingSchedule, billingSource?: BillingSource, billingBase?: BillingBase, poNumber?: string, internalNotes?: string, budget?: Money, primarySalesperson?: SalespersonSplit, secondarySalespeople?: SalespersonSplit[], salesPlannerIds?: number[], primaryTraffickerId?: number, secondaryTraffickerIds?: number[], sellerContactIds?: number[], appliedTeamIds?: number[], customFieldValues?: BaseCustomFieldValue[], appliedLabels?: AppliedLabel[], effectiveAppliedLabels?: AppliedLabel[], advertiserDiscount?: number, proposalDiscount?: number, currencyCode?: string, exchangeRate?: number, refreshExchangeRate?: boolean, agencyCommission?: number, valueAddedTax?: number, isSold?: boolean, approvalStatus?: ProposalApprovalStatus, workflowProgress?: WorkflowProgress, lastModifiedDateTime?: DfpDateTime, resources?: ProposalLink[], actualExpiryTime?: DfpDateTime, expectedExpiryTime?: DfpDateTime, thirdPartyAdServerId?: number, customThirdPartyAdServerName?: string, termsAndConditions?: ProposalTermsAndConditions[], lastRetractionDetails?: RetractionDetails, marketplaceInfo?: ProposalMarketplaceInfo, offlineErrors?: OfflineError[], hasOfflineErrors?: boolean);
}