package ca.canadapost.module.track.api;

import ca.canadapost.core.data.model.ResultWrapper;
import ca.canadapost.core.data.model.TrackConstantsCore;
import ca.canadapost.core.data.track.model.DeliveryPreferenceTncResponse;
import ca.canadapost.module.track.model.DeliveryPreferenceUpdateRequest;
import ca.canadapost.module.track.model.PackageDetailsDTO;
import ca.canadapost.module.track.model.PackageDutyAndTaxesCommitDutiesPaymentResponse;
import ca.canadapost.module.track.model.PackageDutyAndTaxesGetDutiesRefundResponse;
import ca.canadapost.module.track.model.PackageEligibilityRequest;
import ca.canadapost.module.track.model.PackageEligibilityResponseItem;
import ca.canadapost.module.track.model.PackageItemSignatureResponse;
import ca.canadapost.module.track.model.PackageItemSummaryDTO;
import ca.canadapost.module.track.webservice.TrackDutyAndTaxesCreatePaymentPayloadResponse;
import com.google.android.gms.common.Scopes;
import com.google.firebase.remoteconfig.RemoteConfigConstants;
import java.util.List;
import kotlin.Metadata;
import rm.n0;
import sr.a;
import sr.f;
import sr.i;
import sr.k;
import sr.o;
import sr.s;
import sr.t;
import uq.c0;
import vm.d;

@Metadata(d1 = {"\u0000p\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\u000e\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\u0007\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\bf\u0018\u00002\u00020\u0001JL\u0010\n\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020\t0\b0\u00072\n\b\u0001\u0010\u0003\u001a\u0004\u0018\u00010\u00022\n\b\u0001\u0010\u0004\u001a\u0004\u0018\u00010\u00022\n\b\u0001\u0010\u0005\u001a\u0004\u0018\u00010\u00022\n\b\u0001\u0010\u0006\u001a\u0004\u0018\u00010\u0002H§@¢\u0006\u0004\b\n\u0010\u000bJ \u0010\u000e\u001a\b\u0012\u0004\u0012\u00020\r0\u00072\b\b\u0001\u0010\f\u001a\u00020\u0002H§@¢\u0006\u0004\b\u000e\u0010\u000fJ \u0010\u0010\u001a\b\u0012\u0004\u0012\u00020\r0\u00072\b\b\u0001\u0010\f\u001a\u00020\u0002H§@¢\u0006\u0004\b\u0010\u0010\u000fJ \u0010\u0012\u001a\b\u0012\u0004\u0012\u00020\r0\u00072\b\b\u0001\u0010\u0011\u001a\u00020\u0002H§@¢\u0006\u0004\b\u0012\u0010\u000fJ&\u0010\u0016\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u00150\b0\u00072\b\b\u0001\u0010\u0014\u001a\u00020\u0013H§@¢\u0006\u0004\b\u0016\u0010\u0017J\u001a\u0010\u001a\u001a\u00020\u00192\b\b\u0001\u0010\u0014\u001a\u00020\u0018H§@¢\u0006\u0004\b\u001a\u0010\u001bJ.\u0010\u001e\u001a\b\u0012\u0004\u0012\u00020\u001d0\u00072\n\b\u0001\u0010\u001c\u001a\u0004\u0018\u00010\u00022\n\b\u0001\u0010\f\u001a\u0004\u0018\u00010\u0002H§@¢\u0006\u0004\b\u001e\u0010\u001fJ,\u0010!\u001a\b\u0012\u0004\u0012\u00020\u00190\u00072\n\b\u0001\u0010 \u001a\u0004\u0018\u00010\u00022\b\b\u0001\u0010\u0014\u001a\u00020\u0018H§@¢\u0006\u0004\b!\u0010\"J\"\u0010$\u001a\b\u0012\u0004\u0012\u00020#0\u00072\n\b\u0001\u0010 \u001a\u0004\u0018\u00010\u0002H§@¢\u0006\u0004\b$\u0010\u000fJv\u0010,\u001a\b\u0012\u0004\u0012\u00020+0\u00072\n\b\u0001\u0010%\u001a\u0004\u0018\u00010\u00022\n\b\u0003\u0010&\u001a\u0004\u0018\u00010\u00022\n\b\u0003\u0010'\u001a\u0004\u0018\u00010\u00022\n\b\u0003\u0010(\u001a\u0004\u0018\u00010\u00022\n\b\u0001\u0010 \u001a\u0004\u0018\u00010\u00022\n\b\u0001\u0010\f\u001a\u0004\u0018\u00010\u00022\n\b\u0001\u0010)\u001a\u0004\u0018\u00010\u00022\n\b\u0001\u0010*\u001a\u0004\u0018\u00010\u0002H§@¢\u0006\u0004\b,\u0010-J,\u00101\u001a\b\u0012\u0004\u0012\u0002000\u00072\n\b\u0001\u0010%\u001a\u0004\u0018\u00010\u00022\b\b\u0001\u0010/\u001a\u00020.H§@¢\u0006\u0004\b1\u00102J8\u00104\u001a\b\u0012\u0004\u0012\u0002030\u00072\n\b\u0001\u0010 \u001a\u0004\u0018\u00010\u00022\n\b\u0001\u0010\f\u001a\u0004\u0018\u00010\u00022\b\b\u0001\u0010/\u001a\u00020.H§@¢\u0006\u0004\b4\u00105¨\u00066"}, d2 = {"Lca/canadapost/module/track/api/ITrackApi;", "", "", "pins", "dncs", "refs", "destinationPostalCode", "Lca/canadapost/core/data/model/ResultWrapper;", "", "Lca/canadapost/module/track/model/PackageItemSummaryDTO;", "trackItemsInfo", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lvm/d;)Ljava/lang/Object;", "pin", "Lca/canadapost/module/track/model/PackageDetailsDTO;", "trackPinDetails", "(Ljava/lang/String;Lvm/d;)Ljava/lang/Object;", "stagingTrackPinDetailsWithCustomsHandling", "dnc", "trackDncDetails", "Lca/canadapost/module/track/model/PackageEligibilityRequest;", "body", "Lca/canadapost/module/track/model/PackageEligibilityResponseItem;", "packageEligibility", "(Lca/canadapost/module/track/model/PackageEligibilityRequest;Lvm/d;)Ljava/lang/Object;", "Lca/canadapost/module/track/model/DeliveryPreferenceUpdateRequest;", "Lrm/n0;", "updatePackageDeliveryPreference", "(Lca/canadapost/module/track/model/DeliveryPreferenceUpdateRequest;Lvm/d;)Ljava/lang/Object;", "postalCd", "Lca/canadapost/module/track/model/PackageItemSignatureResponse;", "getPackageDetailSignature", "(Ljava/lang/String;Ljava/lang/String;Lvm/d;)Ljava/lang/Object;", "language", "setPackageDeliveryOptionInstructions", "(Ljava/lang/String;Lca/canadapost/module/track/model/DeliveryPreferenceUpdateRequest;Lvm/d;)Ljava/lang/Object;", "Lca/canadapost/core/data/track/model/DeliveryPreferenceTncResponse;", "getPackageDeliveryOptionTermsAndCondition", "acceptLanguage", RemoteConfigConstants.RequestFieldKey.APP_ID, "callbackEventNm", "uiIntegrationPattern", "amount", Scopes.EMAIL, "Lca/canadapost/module/track/webservice/TrackDutyAndTaxesCreatePaymentPayloadResponse;", "packageDutyAndTaxesCreatePaymentPayload", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lvm/d;)Ljava/lang/Object;", "Luq/c0;", "postDate", "Lca/canadapost/module/track/model/PackageDutyAndTaxesCommitDutiesPaymentResponse;", "packageDutyAndTaxesCommitDutiesPayment", "(Ljava/lang/String;Luq/c0;Lvm/d;)Ljava/lang/Object;", "Lca/canadapost/module/track/model/PackageDutyAndTaxesGetDutiesRefundResponse;", "packageDutyAndTaxesGetDutiesRefund", "(Ljava/lang/String;Ljava/lang/String;Luq/c0;Lvm/d;)Ljava/lang/Object;", "track_productionRelease"}, k = 1, mv = {1, 9, 0})
/* loaded from: classes4.dex */
public interface ITrackApi {
    @f("tnc/dp")
    Object getPackageDeliveryOptionTermsAndCondition(@i("Accept-language") String str, d<? super ResultWrapper<DeliveryPreferenceTncResponse>> dVar);

    @f("trackpackage/json/package/signature")
    @k({"Accept: application/vnd.cpc.track-v5+json"})
    Object getPackageDetailSignature(@t("postalCd") String str, @t("pin") String str2, d<? super ResultWrapper<PackageItemSignatureResponse>> dVar);

    @k({"Accept: application/vnd.cpc.recipientonlinepayment-v1+json", "Content-type: application/vnd.cpc.recipientonlinepayment-v1+json"})
    @o(TrackConstantsCore.TRACK_DUTY_TAXES_COMMIT_DUTIES_PAYMENT_ENDPOINT)
    Object packageDutyAndTaxesCommitDutiesPayment(@i("Accept-language") String str, @a c0 c0Var, d<? super ResultWrapper<PackageDutyAndTaxesCommitDutiesPaymentResponse>> dVar);

    @f("https://www.canadapost-postescanada.ca/mgw//payment/json/recipientOnlinePayment/encryptedPaymentAuthorization")
    @k({"Accept: application/vnd.cpc.recipientonlinepayment-v1+json", "Content-type: application/vnd.cpc.recipientonlinepayment-v1+json"})
    Object packageDutyAndTaxesCreatePaymentPayload(@i("Accept-language") String str, @t("appId") String str2, @t("callbackEventNm") String str3, @t("uiIntegrationPattern") String str4, @t("language") String str5, @t("pin") String str6, @t("transValue") String str7, @t("custEmail") String str8, d<? super ResultWrapper<? extends TrackDutyAndTaxesCreatePaymentPayloadResponse>> dVar);

    @k({"Accept: application/vnd.cpc.recipientonlinepayment-v1+json"})
    @o("https://www.canadapost-postescanada.ca/mgw//enab/json/order/dutiestaxesrefund/pin/{pin}")
    Object packageDutyAndTaxesGetDutiesRefund(@i("Accept-language") String str, @s("pin") String str2, @a c0 c0Var, d<? super ResultWrapper<PackageDutyAndTaxesGetDutiesRefundResponse>> dVar);

    @k({"Accept: application/vnd.cpc.elengine-v1+json"})
    @o("customerexperience/elengine/json/eligibility")
    Object packageEligibility(@a PackageEligibilityRequest packageEligibilityRequest, d<? super ResultWrapper<? extends List<PackageEligibilityResponseItem>>> dVar);

    @k({"Accept: application/vnd.cpc.deliveryinstructionsevent+json", "Content-type: application/vnd.cpc.deliveryinstructionsevent+json"})
    @o("vis/json/deliveryinstructions")
    Object setPackageDeliveryOptionInstructions(@i("Accept-language") String str, @a DeliveryPreferenceUpdateRequest deliveryPreferenceUpdateRequest, d<? super ResultWrapper<n0>> dVar);

    @f("secure/package/{id}/detail")
    @k({"Accept: application/vnd.cpc.track-v6+json"})
    Object stagingTrackPinDetailsWithCustomsHandling(@s("id") String str, d<? super ResultWrapper<PackageDetailsDTO>> dVar);

    @f("trackpackage/json/package/dnc/{dnc}/detail")
    Object trackDncDetails(@s("dnc") String str, d<? super ResultWrapper<PackageDetailsDTO>> dVar);

    @f("trackpackage/json/package")
    Object trackItemsInfo(@t("pins") String str, @t("dncs") String str2, @t("refNbrs") String str3, @t("destPostalCode") String str4, d<? super ResultWrapper<? extends List<PackageItemSummaryDTO>>> dVar);

    @f("secure/package/{id}/detail")
    @k({"Accept: application/vnd.cpc.track-v6+json"})
    Object trackPinDetails(@s("id") String str, d<? super ResultWrapper<PackageDetailsDTO>> dVar);

    @k({"Accept: application/vnd.cpc.deliveryinstructionsevent+json", "Content-type: application/vnd.cpc.deliveryinstructionsevent+json"})
    @o("vis/json/deliveryinstructions")
    Object updatePackageDeliveryPreference(@a DeliveryPreferenceUpdateRequest deliveryPreferenceUpdateRequest, d<? super n0> dVar);
}
