import http from '../../index'

import type { PushRecordIdRequest } from '../invoiceInformation/type.d'
import type { GetFaceAuthInfoRequest, GetFaceAuthInfoReqsponse } from './type.d'
export const getFaceAuthInfoApi = (data: GetFaceAuthInfoRequest) => {
  return http.post({
    url: '/admin/invoice-order/get-face-auth-info',
    data,
  })
}

export const getFaceAuthResultApi = (data: PushRecordIdRequest) => {
  return http.post<GetFaceAuthInfoReqsponse>({
    url: '/admin/invoice-order/get-face-auth-result',
    data,
  })
}
