package com.bcxin.api.interfaces.tenants;

import com.bcxin.api.interfaces.tenants.requests.externalMembers.*;
import com.bcxin.api.interfaces.tenants.responses.ExternalMemberJoinRecordResponse;
import com.bcxin.api.interfaces.tenants.responses.ExternalMemberSearchResponse;

import java.util.Collection;

public interface ExternalMemberRpcProvider {
    void create(CreateExternalMemberRequest request);

    void update(UpdateExternalMemberRequest request);

    void delete(DeleteExternalMemberRequest request);

    void updateStatus(UpdateExternalMemberStatusRequest request);

    Collection<ExternalMemberSearchResponse> search(ExternalMemberSearchRequest request);

    Collection<ExternalMemberJoinRecordResponse> getMyJoinRecords(ExternalMemberJoinRecordSearchRequest request);
}
