2c6c01a2660b9a15a0e47842b49e211c204eb4f2
[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 _0xac05=['rimraf','./reportAgentPreview.attributes','exports','define','report_agent_preview','lodash','util','api','moment','bluebird','request-promise','path'];(function(_0x32bcbb,_0x2e37ae){var _0x157155=function(_0x2fb9ae){while(--_0x2fb9ae){_0x32bcbb['push'](_0x32bcbb['shift']());}};_0x157155(++_0x2e37ae);}(_0xac05,0x1f1));var _0x5ac0=function(_0x367922,_0x19f865){_0x367922=_0x367922-0x0;var _0xb2c86e=_0xac05[_0x367922];return _0xb2c86e;};'use strict';var _=require(_0x5ac0('0x0'));var util=require(_0x5ac0('0x1'));var logger=require('../../config/logger')(_0x5ac0('0x2'));var moment=require(_0x5ac0('0x3'));var BPromise=require(_0x5ac0('0x4'));var rp=require(_0x5ac0('0x5'));var fs=require('fs');var path=require(_0x5ac0('0x6'));var rimraf=require(_0x5ac0('0x7'));var config=require('../../config/environment');var attributes=require(_0x5ac0('0x8'));module[_0x5ac0('0x9')]=function(_0xcb4479,_0x1410e0){return _0xcb4479[_0x5ac0('0xa')]('ReportAgentPreview',attributes,{'tableName':_0x5ac0('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};