Interface for paginated response containing automation data

interface ESPPaginatedAutomationsResponse {
    automations: ESPAutomation[];
    fetchNext?: () => Promise<ESPPaginatedAutomationsResponse>;
    hasNext: boolean;
}

Properties

automations: ESPAutomation[]

List of automations in the current page

fetchNext?: () => Promise<ESPPaginatedAutomationsResponse>

Function to fetch the next page of automations

hasNext: boolean

Indicates if there are more pages available