import { RestClient } from './restClient.js';

class MissingReportClient {
    restClient;
    constructor(config) {
        this.restClient = new RestClient('Missing report API Client', config);
    }
    submitMissingReportEntry(token, reportId, variantId, reason) {
        return this.restClient.post({
            path: `/missingRequest/${reportId}/${variantId}`,
            ...(reason && { data: reason }),
        }, token);
    }
}

export { MissingReportClient, MissingReportClient as default };
//# sourceMappingURL=missingReportClient.js.map
