package com.devjob.application.client;

import com.devjob.application.dto.EmailRequest;
import com.devjob.application.dto.NotificationInfo;
import com.devjob.common.dto.ApiResponse;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.service.annotation.HttpExchange;
import org.springframework.web.service.annotation.PostExchange;

@HttpExchange
public interface NotificationHttpClient {

    @PostExchange("/notifications/email")
    ApiResponse<NotificationInfo> sendEmail(@RequestBody EmailRequest request);
}
