import { CREATE_IDENTIFICATION_PENDING, CREATE_IDENTIFICATION_SUCCESS, CREATE_IDENTIFICATION_ERROR, CREATE_IDENTIFICATION_RESET, GET_NUMBER_DETAIL_PENDING, GET_NUMBER_DETAIL_SUCCESS, GET_NUMBER_DETAIL_ERROR, GET_NUMBER_DETAIL_RESET, GET_USER_IDENTIFICATION_PENDING, GET_USER_IDENTIFICATION_SUCCESS, GET_USER_IDENTIFICATION_ERROR, GET_USER_IDENTIFICATION_RESET, VALIDATE_IDENTIFICATION_PENDING, VALIDATE_IDENTIFICATION_SUCCESS, VALIDATE_IDENTIFICATION_ERROR, VALIDATE_IDENTIFICATION_RESET } from "../types/IdentificationType"; export const fetchCreateIdentificationPending = () => ({ type: CREATE_IDENTIFICATION_PENDING }); export const fetchCreateIdentificationSuccess = (res) => ({ type: CREATE_IDENTIFICATION_SUCCESS, result: res, }); export const fetchCreateIdentificationError = (error) => ({ type: CREATE_IDENTIFICATION_ERROR, result: error }); export const fetchCreateIdentificationReset = () => ({ type: CREATE_IDENTIFICATION_RESET }); export const fetchGetNumberInformationPending = () => ({ type: GET_NUMBER_DETAIL_PENDING }); export const fetchGetNumberInformationSuccess = (res) => ({ type: GET_NUMBER_DETAIL_SUCCESS, result: res, }); export const fetchGetNumberInformationError = (error) => ({ type: GET_NUMBER_DETAIL_ERROR, result: error }); export const fetchGetNumberInformationReset = () => ({ type: GET_NUMBER_DETAIL_RESET }); export const fetchUserIdentificationPending = () => ({ type: GET_USER_IDENTIFICATION_PENDING }); export const fetchUserIdentificationSuccess = (res) => ({ type: GET_USER_IDENTIFICATION_SUCCESS, result: res, }); export const fetchUserIdentificationError = (error) => ({ type: GET_USER_IDENTIFICATION_ERROR, result: error }); export const fetchUserIdentificationReset = () => ({ type: GET_USER_IDENTIFICATION_RESET }); export const fetchValidateIndentificationPending = () => ({ type: VALIDATE_IDENTIFICATION_PENDING }); export const fetchValidateIndentificationSuccess = (res) => ({ type: VALIDATE_IDENTIFICATION_SUCCESS, result: res, }); export const fetchValidateIndentificationError = (error) => ({ type: VALIDATE_IDENTIFICATION_ERROR, result: error }); export const fetchValidateIndentificationReset = () => ({ type: VALIDATE_IDENTIFICATION_RESET });