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 _0x6116=['moment','rimraf','../../config/environment','./reportAgentPreview.attributes','exports','ReportAgentPreview','report_agent_preview','util','../../config/logger'];(function(_0x3eb450,_0x592b0a){var _0x2c4cfd=function(_0x34f5dc){while(--_0x34f5dc){_0x3eb450['push'](_0x3eb450['shift']());}};_0x2c4cfd(++_0x592b0a);}(_0x6116,0x115));var _0x6611=function(_0x40220a,_0x22feb1){_0x40220a=_0x40220a-0x0;var _0x3903cc=_0x6116[_0x40220a];return _0x3903cc;};'use strict';var _=require('lodash');var util=require(_0x6611('0x0'));var logger=require(_0x6611('0x1'))('api');var moment=require(_0x6611('0x2'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x6611('0x3'));var config=require(_0x6611('0x4'));var attributes=require(_0x6611('0x5'));module[_0x6611('0x6')]=function(_0x3f3c09,_0x122cb7){return _0x3f3c09['define'](_0x6611('0x7'),attributes,{'tableName':_0x6611('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};