1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
17 // *************************************************************************
18 var _0x52e0=['request-promise','path','rimraf','./reportAgentPreview.attributes','define','report_agent_preview','lodash','util','../../config/logger'];(function(_0x350258,_0x4e0a50){var _0x3714b3=function(_0x8918f7){while(--_0x8918f7){_0x350258['push'](_0x350258['shift']());}};_0x3714b3(++_0x4e0a50);}(_0x52e0,0xde));var _0x052e=function(_0x4b9f85,_0xba7b98){_0x4b9f85=_0x4b9f85-0x0;var _0x140712=_0x52e0[_0x4b9f85];return _0x140712;};'use strict';var _=require(_0x052e('0x0'));var util=require(_0x052e('0x1'));var logger=require(_0x052e('0x2'))('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x052e('0x3'));var fs=require('fs');var path=require(_0x052e('0x4'));var rimraf=require(_0x052e('0x5'));var config=require('../../config/environment');var attributes=require(_0x052e('0x6'));module['exports']=function(_0x5f543f,_0x2acac1){return _0x5f543f[_0x052e('0x7')]('ReportAgentPreview',attributes,{'tableName':_0x052e('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};