package com.crm.ucard.service;

import com.crm.rely.backend.core.dto.base.BaseResultDto;
import com.crm.rely.backend.core.entity.custom.kyc.CustomKycVerifyRecodeEntity;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(name = "KYC-SERVICE", path = "/kyc")
public interface KycFeignService {

    @PostMapping("/verify/getWebsdkLink")
    BaseResultDto<CustomKycVerifyRecodeEntity> getWebsdkLink(CustomKycVerifyRecodeEntity customKycVerifyRecodeEntity);

    @PostMapping("/verify/uploadImage")
    BaseResultDto uploadImage(CustomKycVerifyRecodeEntity customKycVerifyRecodeEntity);

    @PostMapping("/verify/createApplicant")
    String createApplicant(CustomKycVerifyRecodeEntity customKycVerifyRecodeEntity);
}
