@avaya/infinity-agent-sdk - v1.0.0
    Preparing search index...

    Interface InteractionSummaryPage

    A single page of interaction summaries returned by InteractionView.getInteractions.

    Use hasNextPage to check whether more results exist, and pass currentPage + 1 in the next call to paginate.

    let page = await view.getInteractions({ page: 1 });
    console.log(`${page.totalInteractions} interactions across ${page.totalPages} pages`);
    if (page.hasNextPage) {
    page = await view.getInteractions({ page: 2 });
    }
    interface InteractionSummaryPage {
        interactions: InteractionSummary[];
        currentPage: number;
        totalPages: number;
        totalInteractions: number;
        pageSize: number;
        hasNextPage: boolean;
        hasPreviousPage: boolean;
    }
    Index

    Properties

    interactions: InteractionSummary[]

    The interactions on this page.

    currentPage: number

    The current page number, 1-based.

    totalPages: number

    The total number of pages available.

    totalInteractions: number

    The total number of interactions across all pages.

    pageSize: number

    The number of interactions per page.

    hasNextPage: boolean

    true when a subsequent page is available.

    hasPreviousPage: boolean

    true when a preceding page is available.