import * as constants from '../../constants'

export function documentCapture(payload) {
  return {
    type: constants.DOCUMENT_CAPTURE,
    payload
  }
}

export function captureIsValid(payload) {
  return {
    type: constants.CAPTURE_IS_VALID,
    payload
  }
}

export function clearDocuments(payload) {
  return {
    type: constants.CLEAR_DOCUMENTS,
    payload
  }
}

export function faceCapture(payload) {
  return {
    type: constants.FACE_CAPTURE,
    payload
  }
}

export function clearFaces(payload) {
  return {
    type: constants.CLEAR_FACES,
    payload
  }
}

import * as constants from '../../constants'

export function createCapture(payload) {
  return {
    type: constants.CAPTURE_CREATE,
    payload
  }
}

export function validCapture(payload) {
  return {
    type: constants.CAPTURE_VALID,
    payload
  }
}

export function deleteCaptures(payload) {
  return {
    type: constants.CAPTURE_DELETE,
    payload
  }
}

Clean up capture action creators
Clean up capture action creators
