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 _0x58dd=['define','report_agent_preview','lodash','util','moment','bluebird','path','rimraf','./reportAgentPreview.attributes'];(function(_0x3f1a6a,_0x1dc852){var _0x3df459=function(_0x320c49){while(--_0x320c49){_0x3f1a6a['push'](_0x3f1a6a['shift']());}};_0x3df459(++_0x1dc852);}(_0x58dd,0xa4));var _0xd58d=function(_0x6d6308,_0x4b7359){_0x6d6308=_0x6d6308-0x0;var _0x536bec=_0x58dd[_0x6d6308];return _0x536bec;};'use strict';var _=require(_0xd58d('0x0'));var util=require(_0xd58d('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0xd58d('0x2'));var BPromise=require(_0xd58d('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xd58d('0x4'));var rimraf=require(_0xd58d('0x5'));var config=require('../../config/environment');var attributes=require(_0xd58d('0x6'));module['exports']=function(_0x2257e0,_0x5aefe4){return _0x2257e0[_0xd58d('0x7')]('ReportAgentPreview',attributes,{'tableName':_0xd58d('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};