package com.yuchen.saas.park.service.pull.service;

import com.yuchen.saas.park.service.pull.entity.FaceUploadResponse;
import io.minio.errors.*;
import org.nest.springwrap.core.tool.api.R;
import org.xmlpull.v1.XmlPullParserException;

import java.io.File;
import java.io.IOException;
import java.security.InvalidKeyException;
import java.security.NoSuchAlgorithmException;

/**
 * @author 吕海泉
 * @create 2021/1/2 14:33
 */
public interface FaceHandler {
    R<FaceUploadResponse> uploadFile(File file) throws InvalidPortException, InvalidEndpointException, IOException,
            InvalidKeyException, NoSuchAlgorithmException, InsufficientDataException, InvalidArgumentException,
            InternalException, NoResponseException, InvalidBucketNameException, XmlPullParserException,
            ErrorResponseException, XmlPullParserException, XmlPullParserException, XmlPullParserException,
            XmlPullParserException;
}
