e08e3b48dbb18d178a9b16e482b97e5cb42dd02e
[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 _0xf9a3=['request-promise','path','rimraf','../../config/environment','./reportAgentPreview.attributes','exports','ReportAgentPreview','lodash','util','../../config/logger','api','moment'];(function(_0x1527ba,_0x5ca840){var _0x4e3ddb=function(_0x507070){while(--_0x507070){_0x1527ba['push'](_0x1527ba['shift']());}};_0x4e3ddb(++_0x5ca840);}(_0xf9a3,0x8b));var _0x3f9a=function(_0x1e76e5,_0x32ffc7){_0x1e76e5=_0x1e76e5-0x0;var _0x5d78d4=_0xf9a3[_0x1e76e5];return _0x5d78d4;};'use strict';var _=require(_0x3f9a('0x0'));var util=require(_0x3f9a('0x1'));var logger=require(_0x3f9a('0x2'))(_0x3f9a('0x3'));var moment=require(_0x3f9a('0x4'));var BPromise=require('bluebird');var rp=require(_0x3f9a('0x5'));var fs=require('fs');var path=require(_0x3f9a('0x6'));var rimraf=require(_0x3f9a('0x7'));var config=require(_0x3f9a('0x8'));var attributes=require(_0x3f9a('0x9'));module[_0x3f9a('0xa')]=function(_0x548474,_0x34be9e){return _0x548474['define'](_0x3f9a('0xb'),attributes,{'tableName':'report_agent_preview','paranoid':![],'indexes':[],'timestamps':!![]});};