Built motion from commit 9e1399f3.|2.5.37
[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 _0x643c=['./reportAgentPreview.attributes','define','ReportAgentPreview','report_agent_preview','lodash','util','api','moment','bluebird','request-promise','path','../../config/environment'];(function(_0x5f07aa,_0x57a49d){var _0x380eda=function(_0x5e12b9){while(--_0x5e12b9){_0x5f07aa['push'](_0x5f07aa['shift']());}};_0x380eda(++_0x57a49d);}(_0x643c,0xf4));var _0xc643=function(_0x466161,_0x29cc00){_0x466161=_0x466161-0x0;var _0x2f9c1d=_0x643c[_0x466161];return _0x2f9c1d;};'use strict';var _=require(_0xc643('0x0'));var util=require(_0xc643('0x1'));var logger=require('../../config/logger')(_0xc643('0x2'));var moment=require(_0xc643('0x3'));var BPromise=require(_0xc643('0x4'));var rp=require(_0xc643('0x5'));var fs=require('fs');var path=require(_0xc643('0x6'));var rimraf=require('rimraf');var config=require(_0xc643('0x7'));var attributes=require(_0xc643('0x8'));module['exports']=function(_0xa71be1,_0x1b7002){return _0xa71be1[_0xc643('0x9')](_0xc643('0xa'),attributes,{'tableName':_0xc643('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};