64cca1c1e6c9c76bb8e3dfb8b5e869dfc350f3a0
[motion2.git] / server / api / reportAgentPreview / reportAgentPreview.model.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xfe10=['request-promise','path','rimraf','../../config/environment','./reportAgentPreview.attributes','exports','define','ReportAgentPreview','report_agent_preview','lodash','../../config/logger','api','moment','bluebird'];(function(_0x2c966c,_0x5d444e){var _0x1fd12e=function(_0x220dae){while(--_0x220dae){_0x2c966c['push'](_0x2c966c['shift']());}};_0x1fd12e(++_0x5d444e);}(_0xfe10,0x79));var _0x0fe1=function(_0x2ecdf9,_0xf232a1){_0x2ecdf9=_0x2ecdf9-0x0;var _0x16e960=_0xfe10[_0x2ecdf9];return _0x16e960;};'use strict';var _=require(_0x0fe1('0x0'));var util=require('util');var logger=require(_0x0fe1('0x1'))(_0x0fe1('0x2'));var moment=require(_0x0fe1('0x3'));var BPromise=require(_0x0fe1('0x4'));var rp=require(_0x0fe1('0x5'));var fs=require('fs');var path=require(_0x0fe1('0x6'));var rimraf=require(_0x0fe1('0x7'));var config=require(_0x0fe1('0x8'));var attributes=require(_0x0fe1('0x9'));module[_0x0fe1('0xa')]=function(_0x35a5e8,_0x583db8){return _0x35a5e8[_0x0fe1('0xb')](_0x0fe1('0xc'),attributes,{'tableName':_0x0fe1('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};