import actionCreatorFactory from 'typescript-fsa' const actionCreator = actionCreatorFactory() import * as constants from './constants' import { ICustomMeetingTypes, IMeeting } from './interfaces' export const fetchDefaultMeetingTypePending = actionCreator(constants.FETCH_DEFAULT_MEETING_TYPE_PENDING) export const fetchDefaultMeetingTypeSuccess = actionCreator(constants.FETCH_DEFAULT_MEETING_TYPE_SUCCESS) export const fetchDefaultMeetingTypeFailure = actionCreator(constants.FETCH_DEFAULT_MEETING_TYPE_FAILURE) export const fetchCustomMeetingTypesPending = actionCreator(constants.FETCH_CUSTOM_MEETING_TYPES_PENDING) export const fetchCustomMeetingTypesSuccess = actionCreator(constants.FETCH_CUSTOM_MEETING_TYPES_SUCCESS) export const fetchCustomMeetingTypesFailure = actionCreator(constants.FETCH_CUSTOM_MEETING_TYPES_FAILURE) export const refetchMeetingTypes = actionCreator(constants.REFETCH_MEETING_TYPES)