44b7abfbd975b9f197b599bbc124026440a3aeb3
[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 _0x275d=['request-promise','path','rimraf','../../config/environment','./reportAgentPreview.attributes','define','ReportAgentPreview','report_agent_preview','lodash','util','api','moment','bluebird'];(function(_0x53be66,_0x9ec3be){var _0x9e5520=function(_0x5c4742){while(--_0x5c4742){_0x53be66['push'](_0x53be66['shift']());}};_0x9e5520(++_0x9ec3be);}(_0x275d,0x126));var _0xd275=function(_0x204ad4,_0x502841){_0x204ad4=_0x204ad4-0x0;var _0x50675f=_0x275d[_0x204ad4];return _0x50675f;};'use strict';var _=require(_0xd275('0x0'));var util=require(_0xd275('0x1'));var logger=require('../../config/logger')(_0xd275('0x2'));var moment=require(_0xd275('0x3'));var BPromise=require(_0xd275('0x4'));var rp=require(_0xd275('0x5'));var fs=require('fs');var path=require(_0xd275('0x6'));var rimraf=require(_0xd275('0x7'));var config=require(_0xd275('0x8'));var attributes=require(_0xd275('0x9'));module['exports']=function(_0x5a2c12,_0x474316){return _0x5a2c12[_0xd275('0xa')](_0xd275('0xb'),attributes,{'tableName':_0xd275('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};