package com.usky.vpp.service;

import com.usky.vpp.domain.VppDrEvent;

import java.util.Map;

/**
 * DN 主动调用 UN（Poll、注册、申报、出清确认）
 */
public interface VppUnIntegrationService {

    Map<String, Object> refreshToken();

    Map<String, Object> register();

    Map<String, Object> pollOnce();

    Map<String, Object> submitParticipation(Long eventId, boolean participate);

    Map<String, Object> submitClearing(Long eventId);

    Map<String, Object> acknowledgeClearing(Long eventId);

    void handlePollResponse(Map<String, Object> response);
}
