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/authorizedbuyersmarketplace:v1.ts";

Represents a proposal in the Marketplace. A proposal is the unit of negotiation between a seller and a buyer.

interface Proposal {
readonly billedBuyer?: string;
readonly buyer?: string;
buyerContacts?: Contact[];
buyerPrivateData?: PrivateData;
readonly client?: string;
readonly dealType?:
| "DEAL_TYPE_UNSPECIFIED"
| "PREFERRED_DEAL"
| "PRIVATE_AUCTION"
| "PROGRAMMATIC_GUARANTEED";
readonly displayName?: string;
readonly isRenegotiating?: boolean;
readonly lastUpdaterOrCommentorRole?: "BUYER_SELLER_ROLE_UNSPECIFIED" | "BUYER" | "SELLER";
name?: string;
notes?: Note[];
readonly originatorRole?: "BUYER_SELLER_ROLE_UNSPECIFIED" | "BUYER" | "SELLER";
pausingConsented?: boolean;
readonly proposalRevision?: bigint;
publisherProfile?: string;
readonly sellerContacts?: Contact[];
readonly state?:
| "STATE_UNSPECIFIED"
| "BUYER_REVIEW_REQUESTED"
| "SELLER_REVIEW_REQUESTED"
| "BUYER_ACCEPTANCE_REQUESTED"
| "FINALIZED"
| "TERMINATED";
readonly termsAndConditions?: string;
readonly updateTime?: Date;
}

§Properties

§
readonly billedBuyer?: string
[src]

Output only. When the client field is populated, this field refers to the buyer who creates and manages the client buyer and gets billed on behalf of the client buyer; when the buyer field is populated, this field is the same value as buyer. Format : buyers/{buyerAccountId}

§
readonly buyer?: string
[src]

Output only. Refers to a buyer in The Realtime-bidding API. Format: buyers/{buyerAccountId}

§
buyerContacts?: Contact[]
[src]

Contact information for the buyer.

§
buyerPrivateData?: PrivateData
[src]

Buyer private data (hidden from seller).

§
readonly client?: string
[src]

Output only. Refers to a Client. Format: buyers/{buyerAccountId}/clients/{clientAccountid}

§
readonly dealType?: "DEAL_TYPE_UNSPECIFIED" | "PREFERRED_DEAL" | "PRIVATE_AUCTION" | "PROGRAMMATIC_GUARANTEED"
[src]

Output only. Type of deal the proposal contains.

§
readonly displayName?: string
[src]

Output only. The descriptive name for the proposal. Maximum length of 255 unicode characters is allowed. Control characters are not allowed. Buyers cannot update this field. Note: Not to be confused with name, which is a unique identifier of the proposal.

§
readonly isRenegotiating?: boolean
[src]

Output only. True if the proposal was previously finalized and is now being renegotiated.

§
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.

§
name?: string
[src]

Immutable. The name of the proposal serving as a unique identifier. Format: buyers/{accountId}/proposals/{proposalId}

§
notes?: Note[]
[src]

A list of notes from the buyer and the seller attached to this proposal.

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

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

§
pausingConsented?: boolean
[src]

Whether pausing is allowed for the proposal. This is a negotiable term between buyers and publishers.

§
readonly proposalRevision?: bigint
[src]

Output only. The revision number for the proposal. Each update to the proposal or 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.

§
publisherProfile?: string
[src]

Immutable. Reference to the seller on the proposal. Format: buyers/{buyerAccountId}/publisherProfiles/{publisherProfileId} 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?: Contact[]
[src]

Output only. Contact information for the seller.

§
readonly state?: "STATE_UNSPECIFIED" | "BUYER_REVIEW_REQUESTED" | "SELLER_REVIEW_REQUESTED" | "BUYER_ACCEPTANCE_REQUESTED" | "FINALIZED" | "TERMINATED"
[src]

Output only. Indicates the state of the proposal.

§
readonly termsAndConditions?: string
[src]

Output only. The terms and conditions associated with this proposal. Accepting a proposal implies acceptance of this field. This is created by the seller, the buyer can only view it.

§
readonly updateTime?: Date
[src]

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