Built motion from commit (unavailable).|2.5.11
[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 _0x8086=['bluebird','path','rimraf','../../config/environment','./reportAgentPreview.attributes','exports','define','ReportAgentPreview','report_agent_preview','lodash','util','../../config/logger','api'];(function(_0x48b00a,_0x216967){var _0x4f9be7=function(_0x47fe40){while(--_0x47fe40){_0x48b00a['push'](_0x48b00a['shift']());}};_0x4f9be7(++_0x216967);}(_0x8086,0xf3));var _0x6808=function(_0x1d0f51,_0x5ae8f5){_0x1d0f51=_0x1d0f51-0x0;var _0x5cb669=_0x8086[_0x1d0f51];return _0x5cb669;};'use strict';var _=require(_0x6808('0x0'));var util=require(_0x6808('0x1'));var logger=require(_0x6808('0x2'))(_0x6808('0x3'));var moment=require('moment');var BPromise=require(_0x6808('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x6808('0x5'));var rimraf=require(_0x6808('0x6'));var config=require(_0x6808('0x7'));var attributes=require(_0x6808('0x8'));module[_0x6808('0x9')]=function(_0x8fd1e4,_0x5173e6){return _0x8fd1e4[_0x6808('0xa')](_0x6808('0xb'),attributes,{'tableName':_0x6808('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};