190b402fbf11b585c491850a5caf0b8834b7ca73
[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 _0xf9ec=['../../config/logger','moment','bluebird','request-promise','rimraf','../../config/environment','./reportAgentPreview.attributes','exports','ReportAgentPreview','report_agent_preview','util'];(function(_0x24c450,_0x29225f){var _0x1166cb=function(_0x2868c){while(--_0x2868c){_0x24c450['push'](_0x24c450['shift']());}};_0x1166cb(++_0x29225f);}(_0xf9ec,0x13e));var _0xcf9e=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0xf9ec[_0x14add3];return _0x4a174f;};'use strict';var _=require('lodash');var util=require(_0xcf9e('0x0'));var logger=require(_0xcf9e('0x1'))('api');var moment=require(_0xcf9e('0x2'));var BPromise=require(_0xcf9e('0x3'));var rp=require(_0xcf9e('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xcf9e('0x5'));var config=require(_0xcf9e('0x6'));var attributes=require(_0xcf9e('0x7'));module[_0xcf9e('0x8')]=function(_0x438af9,_0x15f446){return _0x438af9['define'](_0xcf9e('0x9'),attributes,{'tableName':_0xcf9e('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};