9204909df9b1e30fac927c7da43d84a6439c27fa
[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 _0xf050=['request-promise','rimraf','../../config/environment','define','ReportAgentPreview','report_agent_preview','lodash','util','../../config/logger'];(function(_0x2fd60e,_0xde57c7){var _0x260c22=function(_0x150145){while(--_0x150145){_0x2fd60e['push'](_0x2fd60e['shift']());}};_0x260c22(++_0xde57c7);}(_0xf050,0x138));var _0x0f05=function(_0x59f0f7,_0x423bc4){_0x59f0f7=_0x59f0f7-0x0;var _0xf5ef2a=_0xf050[_0x59f0f7];return _0xf5ef2a;};'use strict';var _=require(_0x0f05('0x0'));var util=require(_0x0f05('0x1'));var logger=require(_0x0f05('0x2'))('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x0f05('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0x0f05('0x4'));var config=require(_0x0f05('0x5'));var attributes=require('./reportAgentPreview.attributes');module['exports']=function(_0x469a58,_0x177bd5){return _0x469a58[_0x0f05('0x6')](_0x0f05('0x7'),attributes,{'tableName':_0x0f05('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};