Built motion from commit 85328c08.|2.5.50
[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 _0xf33a=['./reportAgentPreview.attributes','exports','define','ReportAgentPreview','report_agent_preview','lodash','util','api','moment','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x2f2a6d,_0x41b785){var _0x36f857=function(_0x1a18e5){while(--_0x1a18e5){_0x2f2a6d['push'](_0x2f2a6d['shift']());}};_0x36f857(++_0x41b785);}(_0xf33a,0x155));var _0xaf33=function(_0x36f5e4,_0x36f27c){_0x36f5e4=_0x36f5e4-0x0;var _0x17f908=_0xf33a[_0x36f5e4];return _0x17f908;};'use strict';var _=require(_0xaf33('0x0'));var util=require(_0xaf33('0x1'));var logger=require('../../config/logger')(_0xaf33('0x2'));var moment=require(_0xaf33('0x3'));var BPromise=require(_0xaf33('0x4'));var rp=require(_0xaf33('0x5'));var fs=require('fs');var path=require(_0xaf33('0x6'));var rimraf=require(_0xaf33('0x7'));var config=require(_0xaf33('0x8'));var attributes=require(_0xaf33('0x9'));module[_0xaf33('0xa')]=function(_0x271daa,_0x196cc7){return _0x271daa[_0xaf33('0xb')](_0xaf33('0xc'),attributes,{'tableName':_0xaf33('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};