7b4b42aaab8eac605852e9eaf3c99b62366cf51f
[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 _0x2b8a=['../../config/logger','moment','bluebird','request-promise','path','rimraf','./reportAgentPreview.attributes','define','ReportAgentPreview','report_agent_preview','lodash','util'];(function(_0x43527f,_0x3ac2bc){var _0x277b68=function(_0x3ab2c1){while(--_0x3ab2c1){_0x43527f['push'](_0x43527f['shift']());}};_0x277b68(++_0x3ac2bc);}(_0x2b8a,0x1de));var _0xa2b8=function(_0x29793d,_0x201df4){_0x29793d=_0x29793d-0x0;var _0x1e6ecb=_0x2b8a[_0x29793d];return _0x1e6ecb;};'use strict';var _=require(_0xa2b8('0x0'));var util=require(_0xa2b8('0x1'));var logger=require(_0xa2b8('0x2'))('api');var moment=require(_0xa2b8('0x3'));var BPromise=require(_0xa2b8('0x4'));var rp=require(_0xa2b8('0x5'));var fs=require('fs');var path=require(_0xa2b8('0x6'));var rimraf=require(_0xa2b8('0x7'));var config=require('../../config/environment');var attributes=require(_0xa2b8('0x8'));module['exports']=function(_0x348815,_0x56bc9b){return _0x348815[_0xa2b8('0x9')](_0xa2b8('0xa'),attributes,{'tableName':_0xa2b8('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};