import { ACTIVE_COUNTRY_LIST_PENDING, ACTIVE_COUNTRY_LIST_SUCCESS, ACTIVE_COUNTRY_LIST_ERROR, ACTIVE_COUNTRY_LIST_RESET, PAY_COUNTRY_NETWORK_SUCCESS, PAY_COUNTRY_NETWORK_ERROR, PAY_COUNTRY_NETWORK_RESET, COUNTRY_BY_DIAL_CODE_PENDING, COUNTRY_BY_DIAL_CODE_SUCCESS, COUNTRY_BY_DIAL_CODE_RESET, PAY_COUNTRY_NETWORK_PENDING } from "../types/CountryNetworkType"; export const fetchActiveCountryListPending = () => ({ type: ACTIVE_COUNTRY_LIST_PENDING }); export const fetchActiveCountryListSucsess = (res) => ({ type: ACTIVE_COUNTRY_LIST_SUCCESS, result: res, }); export const fetchActiveCountryListError = (error) => ({ type: ACTIVE_COUNTRY_LIST_ERROR, result: error }); export const fetchActiveCountryListReset = () => ({ type: ACTIVE_COUNTRY_LIST_RESET }); export const fetchPayCountryNetworkPending = () => ({ type: PAY_COUNTRY_NETWORK_PENDING }); export const fetchPayCountryNetworkSucsess = (res) => ({ type: PAY_COUNTRY_NETWORK_SUCCESS, result: res, }); export const fetchPayCountryNetworkError = (error) => ({ type: PAY_COUNTRY_NETWORK_ERROR, result: error }); export const fetchPayCountryNetworkReset = () => ({ type: PAY_COUNTRY_NETWORK_RESET }); export const fetchCountryByDialCodePending = () => ({ type: COUNTRY_BY_DIAL_CODE_PENDING }); export const fetchCountryByDialCodeSucsess = (res) => ({ type: COUNTRY_BY_DIAL_CODE_SUCCESS, result: res, }); export const fetchCountryByDialCodeError = (error) => ({ type: COUNTRY_BY_DIAL_CODE_ERROR, result: error }); export const fetchCountryByDialCodeReset = () => ({ type: COUNTRY_BY_DIAL_CODE_RESET });