// This file was auto-generated by Fern from our API Definition.

import type * as Intercom from "../../../../../index.js";

/**
 * A paginated list of macros (saved replies) in the workspace.
 */
export interface MacroList {
    /** Always list */
    type?: "list";
    /** The list of macro objects */
    data?: (Intercom.unstable.Macro | undefined)[];
    /** Pagination information */
    pages?: MacroList.Pages;
}

export namespace MacroList {
    /**
     * Pagination information
     */
    export interface Pages {
        /** The type of pagination */
        type?: "pages";
        /** Number of results per page */
        per_page?: number;
        /** Cursor for the next page */
        next?: Pages.Next;
    }

    export namespace Pages {
        /**
         * Cursor for the next page
         */
        export interface Next {
            /** Base64-encoded cursor containing [updated_at, id] for pagination */
            starting_after?: string;
        }
    }
}
