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 _0x870d=['moment','bluebird','request-promise','rimraf','exports','define','ReportAgentPreview','report_agent_preview','lodash','util','../../config/logger'];(function(_0x148879,_0x5b4c11){var _0x4f7027=function(_0xad056b){while(--_0xad056b){_0x148879['push'](_0x148879['shift']());}};_0x4f7027(++_0x5b4c11);}(_0x870d,0x126));var _0xd870=function(_0x206e54,_0x53855c){_0x206e54=_0x206e54-0x0;var _0x5740b9=_0x870d[_0x206e54];return _0x5740b9;};'use strict';var _=require(_0xd870('0x0'));var util=require(_0xd870('0x1'));var logger=require(_0xd870('0x2'))('api');var moment=require(_0xd870('0x3'));var BPromise=require(_0xd870('0x4'));var rp=require(_0xd870('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xd870('0x6'));var config=require('../../config/environment');var attributes=require('./reportAgentPreview.attributes');module[_0xd870('0x7')]=function(_0x235339,_0x2c5ad1){return _0x235339[_0xd870('0x8')](_0xd870('0x9'),attributes,{'tableName':_0xd870('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};