'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var restClient = require('./restClient.js');

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

exports.MissingReportClient = MissingReportClient;
exports.default = MissingReportClient;
//# sourceMappingURL=missingReportClient.js.map
