Built motion from commit (unavailable).|2.5.14
[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 _0xc396=['exports','ReportAgentPreview','report_agent_preview','lodash','util','../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment','./reportAgentPreview.attributes'];(function(_0xd89fde,_0x4d2417){var _0xe67f58=function(_0x4b21f9){while(--_0x4b21f9){_0xd89fde['push'](_0xd89fde['shift']());}};_0xe67f58(++_0x4d2417);}(_0xc396,0x148));var _0x6c39=function(_0x2c70e5,_0x1ca216){_0x2c70e5=_0x2c70e5-0x0;var _0x3307af=_0xc396[_0x2c70e5];return _0x3307af;};'use strict';var _=require(_0x6c39('0x0'));var util=require(_0x6c39('0x1'));var logger=require(_0x6c39('0x2'))(_0x6c39('0x3'));var moment=require(_0x6c39('0x4'));var BPromise=require('bluebird');var rp=require(_0x6c39('0x5'));var fs=require('fs');var path=require(_0x6c39('0x6'));var rimraf=require(_0x6c39('0x7'));var config=require(_0x6c39('0x8'));var attributes=require(_0x6c39('0x9'));module[_0x6c39('0xa')]=function(_0x4fbbaa,_0x40db4b){return _0x4fbbaa['define'](_0x6c39('0xb'),attributes,{'tableName':_0x6c39('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};