"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.buildObjectsPath = buildObjectsPath;
exports.buildRefsPath = buildRefsPath;
function buildObjectsPath(queryParams) {
    const path = '/batch/objects';
    return buildPath(path, queryParams);
}
function buildRefsPath(queryParams) {
    const path = '/batch/references';
    return buildPath(path, queryParams);
}
function buildPath(path, queryParams) {
    if (queryParams && queryParams.toString() != '') {
        path = `${path}?${queryParams.toString()}`;
    }
    return path;
}
