package gov.samhsa.c2s.c2suiapi.service;

import gov.samhsa.c2s.c2suiapi.infrastructure.dto.*;
import org.springframework.web.bind.annotation.RequestHeader;

import java.util.List;
import java.util.Locale;

public interface PcmService {
    List<ConsentProviderDto> getProviders(String mrn);

    void saveProviders(String mrn, IdentifiersDto providerIdentifiersDto);

    void deleteProvider(String mrn, Long providerId);

    Object getConsent(String mrn, Long consentId, String format);

    Object getAttestedConsent(String mrn, Long consentId, String format);

    Object getRevokedConsent(String mrn, Long consentId, String format);

    PageableDto<DetailedConsentDto> getConsents(String mrn, Integer page, Integer size);

    void saveConsent(String mrn, ConsentDto consentDto, Locale locale);

    void deleteConsent(String mrn, Long consentId);

    void updateConsent(String mrn, Long consentId, ConsentDto consentDto);

    void attestConsent(String mrn, Long consentId, ConsentAttestationDto consentAttestationDto);

    void revokeConsent(String mrn, Long consentId, ConsentRevocationDto consentRevocationDto);

    List<PurposeDto> getPurposes();

    ConsentTermDto getConsentAttestationTerm(Long id,Locale locale);

    ConsentTermDto getConsentRevocationTerm(Long id, Locale locale);
}
@@ -89,71 +89,560 @@
 dto.
-*;%0Aimport org.springframework.web.bind.annotation.RequestHeader
+ConsentAttestationDto;%0Aimport gov.samhsa.c2s.c2suiapi.infrastructure.dto.ConsentDto;%0Aimport gov.samhsa.c2s.c2suiapi.infrastructure.dto.ConsentProviderDto;%0Aimport gov.samhsa.c2s.c2suiapi.infrastructure.dto.ConsentRevocationDto;%0Aimport gov.samhsa.c2s.c2suiapi.infrastructure.dto.ConsentTermDto;%0Aimport gov.samhsa.c2s.c2suiapi.infrastructure.dto.DetailedConsentDto;%0Aimport gov.samhsa.c2s.c2suiapi.infrastructure.dto.IdentifiersDto;%0Aimport gov.samhsa.c2s.c2suiapi.infrastructure.dto.PageableDto;%0Aimport gov.samhsa.c2s.c2suiapi.infrastructure.dto.PurposeDto
 ;%0A%0Ai

Remove wild card and unused imports