Built motion from commit (unavailable).|2.5.20
[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 _0xeafc=['../../config/logger','moment','request-promise','path','rimraf','../../config/environment','./reportAgentPreview.attributes','exports','define','ReportAgentPreview','report_agent_preview','util'];(function(_0xa27e25,_0x5d6da0){var _0x136a90=function(_0x4531ba){while(--_0x4531ba){_0xa27e25['push'](_0xa27e25['shift']());}};_0x136a90(++_0x5d6da0);}(_0xeafc,0x8f));var _0xceaf=function(_0x213969,_0x303344){_0x213969=_0x213969-0x0;var _0x5f4fca=_0xeafc[_0x213969];return _0x5f4fca;};'use strict';var _=require('lodash');var util=require(_0xceaf('0x0'));var logger=require(_0xceaf('0x1'))('api');var moment=require(_0xceaf('0x2'));var BPromise=require('bluebird');var rp=require(_0xceaf('0x3'));var fs=require('fs');var path=require(_0xceaf('0x4'));var rimraf=require(_0xceaf('0x5'));var config=require(_0xceaf('0x6'));var attributes=require(_0xceaf('0x7'));module[_0xceaf('0x8')]=function(_0x532b5f,_0x20c68c){return _0x532b5f[_0xceaf('0x9')](_0xceaf('0xa'),attributes,{'tableName':_0xceaf('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};