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 _0x9366=['define','ReportAgentPreview','report_agent_preview','lodash','util','../../config/logger','bluebird','request-promise','../../config/environment','./reportAgentPreview.attributes','exports'];(function(_0x131205,_0x57575c){var _0x305300=function(_0x179eea){while(--_0x179eea){_0x131205['push'](_0x131205['shift']());}};_0x305300(++_0x57575c);}(_0x9366,0xea));var _0x6936=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x9366[_0x3dd15e];return _0x231fd0;};'use strict';var _=require(_0x6936('0x0'));var util=require(_0x6936('0x1'));var logger=require(_0x6936('0x2'))('api');var moment=require('moment');var BPromise=require(_0x6936('0x3'));var rp=require(_0x6936('0x4'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x6936('0x5'));var attributes=require(_0x6936('0x6'));module[_0x6936('0x7')]=function(_0x451882,_0x5091e8){return _0x451882[_0x6936('0x8')](_0x6936('0x9'),attributes,{'tableName':_0x6936('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};