55a6d772ff06b23262fb3c7b5706d82da13663de
[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 _0x6e99=['exports','define','ReportAgentPreview','report_agent_preview','lodash','util','../../config/logger','api','moment','bluebird','request-promise','rimraf','../../config/environment','./reportAgentPreview.attributes'];(function(_0x189bae,_0x46a0de){var _0x527b9b=function(_0x5496fe){while(--_0x5496fe){_0x189bae['push'](_0x189bae['shift']());}};_0x527b9b(++_0x46a0de);}(_0x6e99,0x154));var _0x96e9=function(_0x11e841,_0x16a6e2){_0x11e841=_0x11e841-0x0;var _0x518719=_0x6e99[_0x11e841];return _0x518719;};'use strict';var _=require(_0x96e9('0x0'));var util=require(_0x96e9('0x1'));var logger=require(_0x96e9('0x2'))(_0x96e9('0x3'));var moment=require(_0x96e9('0x4'));var BPromise=require(_0x96e9('0x5'));var rp=require(_0x96e9('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0x96e9('0x7'));var config=require(_0x96e9('0x8'));var attributes=require(_0x96e9('0x9'));module[_0x96e9('0xa')]=function(_0x13f9a2,_0x4a9a00){return _0x13f9a2[_0x96e9('0xb')](_0x96e9('0xc'),attributes,{'tableName':_0x96e9('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};