a1600b722c92cab5f3cf9f94158d638a1c5f7de5
[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 _0xce67=['../../config/environment','exports','define','report_agent_preview','lodash','util','../../config/logger','moment','bluebird','rimraf'];(function(_0x18c21b,_0xd1ce0){var _0x5ee8a7=function(_0x52f7a5){while(--_0x52f7a5){_0x18c21b['push'](_0x18c21b['shift']());}};_0x5ee8a7(++_0xd1ce0);}(_0xce67,0x14e));var _0x7ce6=function(_0x32a764,_0x3bab1e){_0x32a764=_0x32a764-0x0;var _0x2f15af=_0xce67[_0x32a764];return _0x2f15af;};'use strict';var _=require(_0x7ce6('0x0'));var util=require(_0x7ce6('0x1'));var logger=require(_0x7ce6('0x2'))('api');var moment=require(_0x7ce6('0x3'));var BPromise=require(_0x7ce6('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x7ce6('0x5'));var config=require(_0x7ce6('0x6'));var attributes=require('./reportAgentPreview.attributes');module[_0x7ce6('0x7')]=function(_0x19f79f,_0x78dabd){return _0x19f79f[_0x7ce6('0x8')]('ReportAgentPreview',attributes,{'tableName':_0x7ce6('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};