package ca.canadapost.core.data.auth.api;

import ca.canadapost.core.data.auth.model.RegistrationResponse;
import ca.canadapost.core.data.auth.model.RegistrationTermsResponse;
import ca.canadapost.core.data.auth.model.RegistrationValidateUsernameResponse;
import ca.canadapost.core.data.auth.model.ResendEmailRequest;
import java.util.Map;
import kotlin.Metadata;
import or.t;
import rm.n0;
import sr.a;
import sr.c;
import sr.d;
import sr.e;
import sr.k;
import sr.o;

@Metadata(d1 = {"\u0000>\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010$\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\bf\u0018\u00002\u00020\u0001J.\u0010\u0007\u001a\u00020\u00062\b\b\u0001\u0010\u0003\u001a\u00020\u00022\b\b\u0001\u0010\u0004\u001a\u00020\u00022\b\b\u0001\u0010\u0005\u001a\u00020\u0002H§@¢\u0006\u0004\b\u0007\u0010\bJ&\u0010\f\u001a\u00020\u000b2\u0014\b\u0001\u0010\n\u001a\u000e\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u00020\u00020\tH§@¢\u0006\u0004\b\f\u0010\rJ&\u0010\u0010\u001a\u00020\u000f2\n\b\u0001\u0010\u000e\u001a\u0004\u0018\u00010\u00022\b\b\u0001\u0010\u0005\u001a\u00020\u0002H§@¢\u0006\u0004\b\u0010\u0010\u0011J \u0010\u0015\u001a\b\u0012\u0004\u0012\u00020\u00140\u00132\b\b\u0001\u0010\n\u001a\u00020\u0012H§@¢\u0006\u0004\b\u0015\u0010\u0016¨\u0006\u0017"}, d2 = {"Lca/canadapost/core/data/auth/api/IRegistrationApi;", "", "", "alias", "pass", "lang", "Lca/canadapost/core/data/auth/model/RegistrationValidateUsernameResponse;", "validateUsername", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lvm/d;)Ljava/lang/Object;", "", "body", "Lca/canadapost/core/data/auth/model/RegistrationResponse;", "signUpRequest", "(Ljava/util/Map;Lvm/d;)Ljava/lang/Object;", "type", "Lca/canadapost/core/data/auth/model/RegistrationTermsResponse;", "signUpTermsRequest", "(Ljava/lang/String;Ljava/lang/String;Lvm/d;)Ljava/lang/Object;", "Lca/canadapost/core/data/auth/model/ResendEmailRequest;", "Lor/t;", "Lrm/n0;", "signUpResendEmailRequest", "(Lca/canadapost/core/data/auth/model/ResendEmailRequest;Lvm/d;)Ljava/lang/Object;", "core_data_productionRelease"}, k = 1, mv = {1, 9, 0})
/* loaded from: classes.dex */
public interface IRegistrationApi {
    @k({"Content-Type: application/x-www-form-urlencoded"})
    @o("user/register")
    @e
    Object signUpRequest(@d Map<String, String> map, vm.d<? super RegistrationResponse> dVar);

    @k({"Content-Type: application/vnd.cpc.mobile-user-v1+json"})
    @o("user/register/verification-email")
    Object signUpResendEmailRequest(@a ResendEmailRequest resendEmailRequest, vm.d<? super t<n0>> dVar);

    @o("user/termsAndConditions")
    @e
    Object signUpTermsRequest(@c("type") String str, @c("language") String str2, vm.d<? super RegistrationTermsResponse> dVar);

    @o("user/validateUsernamePassword")
    @e
    Object validateUsername(@c("alias") String str, @c("password") String str2, @c("language") String str3, vm.d<? super RegistrationValidateUsernameResponse> dVar);
}
