Built motion from commit da24aabd.|2.6.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 _0x3965=['ReportAgentPreview','report_agent_preview','lodash','util','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./reportAgentPreview.attributes','exports','define'];(function(_0x544626,_0x2764f1){var _0x16bfd6=function(_0x48759e){while(--_0x48759e){_0x544626['push'](_0x544626['shift']());}};_0x16bfd6(++_0x2764f1);}(_0x3965,0xc6));var _0x5396=function(_0x4a53d,_0x58a95e){_0x4a53d=_0x4a53d-0x0;var _0x27410e=_0x3965[_0x4a53d];return _0x27410e;};'use strict';var _=require(_0x5396('0x0'));var util=require(_0x5396('0x1'));var logger=require('../../config/logger')(_0x5396('0x2'));var moment=require(_0x5396('0x3'));var BPromise=require(_0x5396('0x4'));var rp=require(_0x5396('0x5'));var fs=require('fs');var path=require(_0x5396('0x6'));var rimraf=require(_0x5396('0x7'));var config=require(_0x5396('0x8'));var attributes=require(_0x5396('0x9'));module[_0x5396('0xa')]=function(_0x56bde5,_0x4d224a){return _0x56bde5[_0x5396('0xb')](_0x5396('0xc'),attributes,{'tableName':_0x5396('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};