io.mosip.pms.partner.manager.service.PartnerManagerService Maven / Gradle / Ivy
The newest version!
package io.mosip.pms.partner.manager.service;
import java.util.List;
import java.util.Optional;
import io.mosip.pms.partner.manager.dto.StatusRequestDto;
import io.mosip.pms.partner.manager.dto.ApikeyRequests;
import io.mosip.pms.partner.manager.dto.PartnerAPIKeyToPolicyMappingsResponse;
import io.mosip.pms.partner.manager.dto.PartnerDetailsResponse;
import io.mosip.pms.partner.manager.dto.PartnersPolicyMappingRequest;
import io.mosip.pms.partner.manager.dto.PartnersPolicyMappingResponse;
import io.mosip.pms.partner.manager.dto.RetrievePartnerDetailsResponse;
import io.mosip.pms.partner.request.dto.APIKeyGenerateRequestDto;
import io.mosip.pms.partner.request.dto.APIkeyStatusUpdateRequestDto;
import io.mosip.pms.partner.response.dto.APIKeyGenerateResponseDto;
public interface PartnerManagerService {
/**
*
* @param request
* @param partnerID
* @param partnerAPIKey
* @return
*/
public PartnersPolicyMappingResponse updatePolicyAgainstApikey(PartnersPolicyMappingRequest request,
String partnerID, String partnerApikey);
/**
*
* @param partnerID
* @param request
* @return
*/
public PartnersPolicyMappingResponse activateDeactivateAuthEKYCPartner(String partnerID,
StatusRequestDto request);
/**
*
* @param partnerType
* @return
*/
public RetrievePartnerDetailsResponse getAllAuthEKYCPartnersForThePolicyGroup(Optional partnerType);
/**
*
* @param partnerID
* @param partnerAPIKey
* @return
*/
public PartnerAPIKeyToPolicyMappingsResponse getPartnerAPIKeyToPolicyMapping(String partnerID, String partnerAPIKey);
/**
*
* @return
*/
public List getAllPartnerAPIKeyRequestsAsReceivedByPartnerManagers();
/**
*
* @param apiKeyReqID
* @return
*/
public ApikeyRequests getTheRequestForPartnerAPIKeyToPolicyMappingsForGivenRequestId(String apiKeyReqID);
/**
* This method will generate apikey for approved partner policy mapping
* @param partnerId
* @return
*/
public APIKeyGenerateResponseDto generateAPIKey(String partnerId, APIKeyGenerateRequestDto requestDto);
/**
*
* @param mappingkey
* @param statusRequest
* @return
*/
public String approveRejectPartnerPolicyMapping(String mappingkey, StatusRequestDto statusRequest);
/**
*
* @param partnerId
* @param policyId
* @param label
* @return
*/
public String updateAPIKeyStatus(String partnerId, String policyId, APIkeyStatusUpdateRequestDto request);
/**
*
* @param partnerType
* @return
*/
public PartnerDetailsResponse getPartners(Optional partnerType);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy