Built motion from commit 616d3211.|2.6.4
[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 _0x6ba5=['path','rimraf','../../config/environment','./reportAgentPreview.attributes','define','ReportAgentPreview','report_agent_preview','util','../../config/logger','api','moment','bluebird'];(function(_0x390c60,_0x2b0c48){var _0x13013a=function(_0xd40540){while(--_0xd40540){_0x390c60['push'](_0x390c60['shift']());}};_0x13013a(++_0x2b0c48);}(_0x6ba5,0xf7));var _0x56ba=function(_0x2c9cf9,_0x2bed45){_0x2c9cf9=_0x2c9cf9-0x0;var _0x560d6d=_0x6ba5[_0x2c9cf9];return _0x560d6d;};'use strict';var _=require('lodash');var util=require(_0x56ba('0x0'));var logger=require(_0x56ba('0x1'))(_0x56ba('0x2'));var moment=require(_0x56ba('0x3'));var BPromise=require(_0x56ba('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x56ba('0x5'));var rimraf=require(_0x56ba('0x6'));var config=require(_0x56ba('0x7'));var attributes=require(_0x56ba('0x8'));module['exports']=function(_0x53e732,_0x23c623){return _0x53e732[_0x56ba('0x9')](_0x56ba('0xa'),attributes,{'tableName':_0x56ba('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};