Built motion from commit 1fa89557.|2.6.10
[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 _0x545f=['report_agent_preview','lodash','util','api','moment','request-promise','path','rimraf','../../config/environment','./reportAgentPreview.attributes','exports','define','ReportAgentPreview'];(function(_0x25f1ad,_0x531ee6){var _0x1fae9c=function(_0x57dff7){while(--_0x57dff7){_0x25f1ad['push'](_0x25f1ad['shift']());}};_0x1fae9c(++_0x531ee6);}(_0x545f,0x69));var _0xf545=function(_0x3a7a9c,_0x24f7d6){_0x3a7a9c=_0x3a7a9c-0x0;var _0x59156e=_0x545f[_0x3a7a9c];return _0x59156e;};'use strict';var _=require(_0xf545('0x0'));var util=require(_0xf545('0x1'));var logger=require('../../config/logger')(_0xf545('0x2'));var moment=require(_0xf545('0x3'));var BPromise=require('bluebird');var rp=require(_0xf545('0x4'));var fs=require('fs');var path=require(_0xf545('0x5'));var rimraf=require(_0xf545('0x6'));var config=require(_0xf545('0x7'));var attributes=require(_0xf545('0x8'));module[_0xf545('0x9')]=function(_0x1dc515,_0x2fe45d){return _0x1dc515[_0xf545('0xa')](_0xf545('0xb'),attributes,{'tableName':_0xf545('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};