Azure Connectors Node.js SDK
    Preparing search index...

    Definition: DealResponse

    interface DealResponse {
        active?: boolean;
        activities_count?: number;
        add_time?: string;
        close_time?: string;
        creator_user_id?: Record<string, unknown>;
        currency?: string;
        deleted?: boolean;
        done_activities_count?: number;
        email_messages_count?: number;
        expected_close_date?: string;
        files_count?: number;
        followers_count?: number;
        id?: number;
        last_activity_date?: string;
        last_activity_id?: number;
        lost_reason?: string;
        next_activity_date?: string;
        next_activity_duration?: string;
        next_activity_id?: number;
        next_activity_note?: string;
        next_activity_subject?: string;
        next_activity_time?: string;
        next_activity_type?: string;
        notes_count?: number;
        org_id?: Record<string, unknown>;
        participants_count?: number;
        person_id?: Record<string, unknown>;
        pipeline_id?: number;
        products_count?: number;
        reference_activities_count?: number;
        stage_change_time?: string;
        stage_id?: number;
        stage_name?: string;
        status?: string;
        title?: string;
        undone_activities_count?: number;
        update_time?: string;
        user_id?: Record<string, unknown>;
        value?: number;
        visible_to?: string;
    }
    Index
    active?: boolean

    True if the deal is active.

    activities_count?: number

    Number of activities associated with the deal.

    add_time?: string

    yyyy-MM-ddTHH:mm:ss.fffZ

    close_time?: string

    yyyy-MM-ddTHH:mm:ss.fffZ

    creator_user_id?: Record<string, unknown>
    currency?: string

    Currency associated with the deal value.

    deleted?: boolean

    True if the deal has been deleted.

    done_activities_count?: number

    Number of done activities associated with the deal.

    email_messages_count?: number

    Number of email messages associated with the deal.

    expected_close_date?: string

    yyyy-MM-dd

    files_count?: number

    Number of files associated with the deal.

    followers_count?: number

    Number of followers associated with the deal.

    id?: number

    Id of the deal.

    last_activity_date?: string

    yyyy-MM-dd

    last_activity_id?: number

    Id of the last activity.

    lost_reason?: string

    Message about why the deal was lost (to be used when status=lost).

    next_activity_date?: string

    yyyy-MM-dd

    next_activity_duration?: string

    Duration of next activity associated with the deal.

    next_activity_id?: number

    Id of the next activity.

    next_activity_note?: string

    Notes for next activity associated with the deal

    next_activity_subject?: string

    Subject of next activity associated with the deal.

    next_activity_time?: string

    yyyy-MM-ddTHH:mm:ss.fffZ

    next_activity_type?: string

    Type of next activity associated with the deal.

    notes_count?: number

    Number of notes associated with the deal.

    org_id?: Record<string, unknown>
    participants_count?: number

    Number of participants associated with the deal.

    person_id?: Record<string, unknown>
    pipeline_id?: number

    Id of pipeline the deal is associated with.

    products_count?: number

    Number of products associated with the deal.

    reference_activities_count?: number

    Number of referenced activities associated with the deal.

    stage_change_time?: string

    yyyy-MM-ddTHH:mm:ss.fffZ

    stage_id?: number

    ID of stage the deal is placed in a pipeline.

    stage_name?: string

    Name of stage the deal is placed in a pipeline

    status?: string

    Open, won, lost or deleted.

    title?: string

    Title of the deal.

    undone_activities_count?: number

    Number of undone activitie associated with the deals.

    update_time?: string

    yyyy-MM-ddTHH:mm:ss.fffZ

    user_id?: Record<string, unknown>
    value?: number

    Monetary value of the deal.

    visible_to?: string

    Owner, followers or entire company.