import { freezeSys, toPlainObject } from 'contentful-sdk-core';
import copy from 'fast-copy';
import { wrapCollection } from '../common-utils';
export function wrapAgentRun(_makeRequest, data) {
  const agentRun = toPlainObject(copy(data));
  return freezeSys(agentRun);
}
export const wrapAgentRunCollection = wrapCollection(wrapAgentRun);