eab77833fc5ee2d4bc461187f36aab0e176c09c4
[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 _0x3135=['../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment','./reportAgentPreview.attributes','exports','define','ReportAgentPreview','report_agent_preview','lodash','util'];(function(_0x3ab51d,_0x2fa01d){var _0x29a04e=function(_0x7807b0){while(--_0x7807b0){_0x3ab51d['push'](_0x3ab51d['shift']());}};_0x29a04e(++_0x2fa01d);}(_0x3135,0x186));var _0x5313=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0x3135[_0x14add3];return _0x4a174f;};'use strict';var _=require(_0x5313('0x0'));var util=require(_0x5313('0x1'));var logger=require(_0x5313('0x2'))(_0x5313('0x3'));var moment=require(_0x5313('0x4'));var BPromise=require('bluebird');var rp=require(_0x5313('0x5'));var fs=require('fs');var path=require(_0x5313('0x6'));var rimraf=require(_0x5313('0x7'));var config=require(_0x5313('0x8'));var attributes=require(_0x5313('0x9'));module[_0x5313('0xa')]=function(_0x282274,_0x5ae021){return _0x282274[_0x5313('0xb')](_0x5313('0xc'),attributes,{'tableName':_0x5313('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};