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

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

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