lib/api-syncRecords.js
function listAppliedChangeSinceLastSync(datasetId, lastSyncEndTime, clientInfo, cb) {
  syncStorage.listUpdates(datasetId, {
    type: SYNC_UPDATE_TYPES.APPLIED,
    cuid: clientInfo.cuid,
    timestamp: {$gt: lastSyncEndTime}
  }, null, cb);
}
function listAppliedChangeSinceLastSync(datasetId, lastSyncEndTime, clientInfo, cb) {
  syncStorage.listUpdates(datasetId, {
    type: SYNC_UPDATE_TYPES.APPLIED,
    cuid: clientInfo.cuid,
    timestamp: {$gt: lastSyncEndTime}
  }, null, cb);
}
List the applied changes since the last sync loop for the given client
@param {String} datasetId the id of the dataset
@param {Number} lastSyncEndTime the timestamp of when the last sync loop completed
@param {Object} clientInfo the client info. Should contain the cuid
@param {Function} cb