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 _0xc810=['report_agent_preview','lodash','util','moment','path','../../config/environment','./reportAgentPreview.attributes','ReportAgentPreview'];(function(_0x163040,_0x38a58c){var _0x364667=function(_0x3b104f){while(--_0x3b104f){_0x163040['push'](_0x163040['shift']());}};_0x364667(++_0x38a58c);}(_0xc810,0x1e1));var _0x0c81=function(_0x467fc7,_0x30674a){_0x467fc7=_0x467fc7-0x0;var _0x15bcd3=_0xc810[_0x467fc7];return _0x15bcd3;};'use strict';var _=require(_0x0c81('0x0'));var util=require(_0x0c81('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x0c81('0x2'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x0c81('0x3'));var rimraf=require('rimraf');var config=require(_0x0c81('0x4'));var attributes=require(_0x0c81('0x5'));module['exports']=function(_0xed78d4,_0x5d351d){return _0xed78d4['define'](_0x0c81('0x6'),attributes,{'tableName':_0x0c81('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};