Skip to content

BuyerAgreementApproval

Source code in docs_src/capo_marketplace_agreement/types/buyer_agreement_approval.py
class BuyerAgreementApproval(TypedDict, closed=True):
    approval_type: (
        "capo_marketplace_agreement.types.agreement_approval_type.AgreementApprovalType"
    )
    """<p>The type of the agreement approval, which is <code>BUYER_AGREEMENT_APPROVAL</code>.</p>"""
    agreement_approval_id: (
        "capo_marketplace_agreement.types.agreement_approval_id.AgreementApprovalId"
    )
    """<p>The unique identifier of the agreement approval.</p>"""
    name: (
        "capo_marketplace_agreement.types.agreement_approval_name.AgreementApprovalName"
    )
    """<p>The descriptive name of the agreement approval.</p>"""
    agreement_request_id: (
        "capo_marketplace_agreement.types.agreement_request_id.AgreementRequestId"
    )
    """<p>The unique identifier of the agreement request that the agreement approval is for. Use <code>GetAgreementRequest</code> to retrieve the agreement request details.</p>"""
    status: "capo_marketplace_agreement.types.agreement_approval_status.AgreementApprovalStatus"
    """<p>The current status of the agreement approval. Possible values include <code>PENDING_APPROVAL</code>, <code>APPROVED</code>, <code>REJECTED</code>, <code>EXPIRED</code>, and <code>CANCELLED</code>.</p>"""
    requester: "capo_marketplace_agreement.types.agreement_approval_requester.AgreementApprovalRequester"
    """<p>The account that started the agreement approval.</p>"""
    created_at: "capo_marketplace_agreement.types.timestamp.Timestamp"
    """<p>The date and time when the agreement approval was created.</p>"""
    updated_at: "capo_marketplace_agreement.types.timestamp.Timestamp"
    """<p>The date and time when the agreement approval was last updated.</p>"""
    started_at: NotRequired["capo_marketplace_agreement.types.timestamp.Timestamp"]
    """<p>The date and time when approvers could start acting on the agreement approval.</p>"""
    expires_at: NotRequired["capo_marketplace_agreement.types.timestamp.Timestamp"]
    """<p>The date and time when the agreement approval expires if it isn't approved or rejected.</p>"""
    approval_needed_by: "capo_marketplace_agreement.types.timestamp.Timestamp"
    """<p>The date and time by which the agreement approval must be completed.</p>"""
    levels: "capo_marketplace_agreement.types.buyer_agreement_approval_levels.BuyerAgreementApprovalLevels"
    """<p>The approval levels, in the order they are evaluated. Approvers at a level can act only after the previous level is approved. Each level lists its approvers and the decision of each one.</p>"""
    plan_input: "capo_marketplace_agreement.types.buyer_agreement_approval_plan_input.BuyerAgreementApprovalPlanInput"
    """<p>The approval plan and the note that the requester provided in <code>StartAgreementApprovals</code>.</p>"""
    proposer: "capo_marketplace_agreement.types.agreement_approval_proposer.AgreementApprovalProposer"
    """<p>The details of the party proposing the agreement terms. This is commonly the seller for <code>PurchaseAgreement</code>.</p>"""
    proposal_summary: "capo_marketplace_agreement.types.agreement_approval_proposal_summary.AgreementApprovalProposalSummary"
    """<p>A summary of the proposal received from the proposer.</p>"""

agreement_approval_id instance-attribute

agreement_approval_id: AgreementApprovalId

The unique identifier of the agreement approval.

agreement_request_id instance-attribute

agreement_request_id: AgreementRequestId

The unique identifier of the agreement request that the agreement approval is for. Use GetAgreementRequest to retrieve the agreement request details.

approval_needed_by instance-attribute

approval_needed_by: Timestamp

The date and time by which the agreement approval must be completed.

approval_type instance-attribute

approval_type: AgreementApprovalType

The type of the agreement approval, which is BUYER_AGREEMENT_APPROVAL.

created_at instance-attribute

created_at: Timestamp

The date and time when the agreement approval was created.

expires_at instance-attribute

expires_at: NotRequired[Timestamp]

The date and time when the agreement approval expires if it isn't approved or rejected.

levels instance-attribute

The approval levels, in the order they are evaluated. Approvers at a level can act only after the previous level is approved. Each level lists its approvers and the decision of each one.

name instance-attribute

The descriptive name of the agreement approval.

plan_input instance-attribute

The approval plan and the note that the requester provided in StartAgreementApprovals.

proposal_summary instance-attribute

A summary of the proposal received from the proposer.

proposer instance-attribute

The details of the party proposing the agreement terms. This is commonly the seller for PurchaseAgreement.

requester instance-attribute

The account that started the agreement approval.

started_at instance-attribute

started_at: NotRequired[Timestamp]

The date and time when approvers could start acting on the agreement approval.

status instance-attribute

The current status of the agreement approval. Possible values include PENDING_APPROVAL, APPROVED, REJECTED, EXPIRED, and CANCELLED.

updated_at instance-attribute

updated_at: Timestamp

The date and time when the agreement approval was last updated.