Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Proposal

import type { Proposal } from "https://googleapis.deno.dev/v1/adexchangebuyer2:v2beta1.ts";

Represents a proposal in the Marketplace. A proposal is the unit of negotiation between a seller and a buyer and contains deals which are served. Note: You can't update, create, or otherwise modify Private Auction deals through the API. Fields are updatable unless noted otherwise.

interface Proposal {
readonly billedBuyer?: Buyer;
buyer?: Buyer;
buyerContacts?: ContactInformation[];
buyerPrivateData?: PrivateData;
deals?: Deal[];
displayName?: string;
readonly isRenegotiating?: boolean;
readonly isSetupComplete?: boolean;
readonly lastUpdaterOrCommentorRole?: "BUYER_SELLER_ROLE_UNSPECIFIED" | "BUYER" | "SELLER";
readonly notes?: Note[];
readonly originatorRole?: "BUYER_SELLER_ROLE_UNSPECIFIED" | "BUYER" | "SELLER";
readonly privateAuctionId?: string;
readonly proposalId?: string;
readonly proposalRevision?: bigint;
readonly proposalState?:
| "PROPOSAL_STATE_UNSPECIFIED"
| "PROPOSED"
| "BUYER_ACCEPTED"
| "SELLER_ACCEPTED"
| "CANCELED"
| "FINALIZED";
seller?: Seller;
readonly sellerContacts?: ContactInformation[];
readonly termsAndConditions?: string;
readonly updateTime?: Date;
}

§Properties

§
readonly billedBuyer?: Buyer
[src]

Output only. Reference to the buyer that will get billed for this proposal.

§
buyer?: Buyer
[src]

Reference to the buyer on the proposal. Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.

§
buyerContacts?: ContactInformation[]
[src]

Contact information for the buyer.

§
buyerPrivateData?: PrivateData
[src]

Private data for buyer. (hidden from seller).

§
deals?: Deal[]
[src]

The deals associated with this proposal. For Private Auction proposals (whose deals have NonGuaranteedAuctionTerms), there will only be one deal.

§
displayName?: string
[src]

The name for the proposal.

§
readonly isRenegotiating?: boolean
[src]

Output only. True if the proposal is being renegotiated.

§
readonly isSetupComplete?: boolean
[src]

Output only. True, if the buyside inventory setup is complete for this proposal.

§
readonly lastUpdaterOrCommentorRole?: "BUYER_SELLER_ROLE_UNSPECIFIED" | "BUYER" | "SELLER"
[src]

Output only. The role of the last user that either updated the proposal or left a comment.

§
readonly notes?: Note[]
[src]

Output only. The notes associated with this proposal.

§
readonly originatorRole?: "BUYER_SELLER_ROLE_UNSPECIFIED" | "BUYER" | "SELLER"
[src]

Output only. Indicates whether the buyer/seller created the proposal.

§
readonly privateAuctionId?: string
[src]

Output only. Private auction ID if this proposal is a private auction proposal.

§
readonly proposalId?: string
[src]

Output only. The unique ID of the proposal.

§
readonly proposalRevision?: bigint
[src]

Output only. The revision number for the proposal. Each update to the proposal or the deal causes the proposal revision number to auto-increment. The buyer keeps track of the last revision number they know of and pass it in when making an update. If the head revision number on the server has since incremented, then an ABORTED error is returned during the update operation to let the buyer know that a subsequent update was made.

§
readonly proposalState?: "PROPOSAL_STATE_UNSPECIFIED" | "PROPOSED" | "BUYER_ACCEPTED" | "SELLER_ACCEPTED" | "CANCELED" | "FINALIZED"
[src]

Output only. The current state of the proposal.

§
seller?: Seller
[src]

Reference to the seller on the proposal. Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.

§
readonly sellerContacts?: ContactInformation[]
[src]

Output only. Contact information for the seller.

§
readonly termsAndConditions?: string
[src]

Output only. The terms and conditions set by the publisher for this proposal.

§
readonly updateTime?: Date
[src]

Output only. The time when the proposal was last revised.