/**
 * Action Types: Define unique identifiers for actions across all store modules.
 *
 * @file
 */

export default {
	// Transient data.
	SET_TRANSIENT: 'COMMON:SET_TRANSIENT',

	// Persistent data.
	SET_PERSISTENT: 'COMMON:SET_PERSISTENT',
	RESET: 'COMMON:RESET',
	HYDRATE: 'COMMON:HYDRATE',

	// Activity management (advanced solution that replaces the isBusy state).
	START_ACTIVITY: 'COMMON:START_ACTIVITY',
	STOP_ACTIVITY: 'COMMON:STOP_ACTIVITY',

	// Controls - always start with "DO_".
	DO_PERSIST_DATA: 'COMMON:DO_PERSIST_DATA',
	DO_DIRECT_API_AUTHENTICATION: 'COMMON:DO_DIRECT_API_AUTHENTICATION',
	DO_OAUTH_AUTHENTICATION: 'COMMON:DO_OAUTH_AUTHENTICATION',
	DO_GENERATE_ONBOARDING_URL: 'COMMON:DO_GENERATE_ONBOARDING_URL',
	DO_REFRESH_MERCHANT: 'COMMON:DO_REFRESH_MERCHANT',
	DO_REFRESH_FEATURES: 'COMMON:DO_REFRESH_FEATURES',
	DO_RESUBSCRIBE_WEBHOOKS: 'COMMON:DO_RESUBSCRIBE_WEBHOOKS',
	DO_START_WEBHOOK_SIMULATION: 'COMMON:DO_START_WEBHOOK_SIMULATION',
	DO_CHECK_WEBHOOK_SIMULATION_STATE:
		'COMMON:DO_CHECK_WEBHOOK_SIMULATION_STATE',
};
