import { A as Api } from './Api-BulOmiMS.js';
import './Plaid-DxSkT8pY.js';
import './Pagination-CLHwhyvu.js';
import './Business-BcNb9bVO.js';

const api = Api();
class DisputeService {
    async fetchDispute(disputeId, authToken) {
        const endpoint = `disputes/${disputeId}`;
        return api.get({ endpoint, authToken });
    }
    async updateDisputeResponse(disputeId, authToken, payload) {
        const endpoint = `disputes/${disputeId}/response`;
        const body = payload;
        return api.patch({ endpoint, body, authToken });
    }
    async submitDisputeResponse(disputeId, authToken, payload) {
        const endpoint = `disputes/${disputeId}/response`;
        const body = payload;
        return api.post({ endpoint, body, authToken });
    }
    async createDisputeEvidence(disputeId, authToken, payload) {
        const endpoint = `disputes/${disputeId}/evidence`;
        const body = payload;
        return api.put({ endpoint, body, authToken });
    }
}

var DisputeManagementClickActions;
(function (DisputeManagementClickActions) {
    DisputeManagementClickActions["nextStep"] = "nextStep";
    DisputeManagementClickActions["previousStep"] = "previousStep";
    DisputeManagementClickActions["cancelDispute"] = "cancelDispute";
    DisputeManagementClickActions["respondToDispute"] = "respondToDispute";
    DisputeManagementClickActions["submit"] = "submit";
})(DisputeManagementClickActions || (DisputeManagementClickActions = {}));
var DisputeResponseFormStep;
(function (DisputeResponseFormStep) {
    DisputeResponseFormStep["disputeReason"] = "dispute_reason";
    DisputeResponseFormStep["productOrService"] = "product_or_service";
    DisputeResponseFormStep["customerDetails"] = "customer_details";
    DisputeResponseFormStep["cancellationPolicy"] = "cancellation_policy";
    DisputeResponseFormStep["refundPolicy"] = "refund_policy";
    DisputeResponseFormStep["duplicateCharge"] = "duplicate_charge";
    DisputeResponseFormStep["electronicEvidence"] = "electronic_evidence";
    DisputeResponseFormStep["shippingDetails"] = "shipping_details";
    DisputeResponseFormStep["additionalStatement"] = "additional_statement";
})(DisputeResponseFormStep || (DisputeResponseFormStep = {}));

export { DisputeManagementClickActions as D, DisputeService as a };
