Deletes an automation from both the backend (via SDK) and the local store
The ID of the automation to delete
Result of the operation
Fetches the next page of automations if available Similar to existing-app-cdf's fetchNext method
Optional SDK identifier to fetch next page for specific SDK
The next page of automations
Get an automation by its ID
The automation ID
The automation entity or undefined if not found
Gets pagination context for a specific SDK
The SDK identifier
The pagination context or undefined if not found
Checks if there are more automations to fetch for a specific SDK
The SDK identifier
True if there are more automations to fetch
Processes a paginated automations response and updates the store Similar to existing-app-cdf's processAutomationsRes method
The paginated response from getAutomations
Optional SDK identifier for storing pagination context per SDK
The processed response with automations
Clears all automations from the store and removes all callbacks This should be called on logout to clean up state