Built motion from commit (unavailable).|2.5.4
[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 _0x0457=['../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./reportAgentPreview.attributes','exports','ReportAgentPreview','report_agent_preview'];(function(_0x4b3d77,_0x138118){var _0x163796=function(_0xf430a6){while(--_0xf430a6){_0x4b3d77['push'](_0x4b3d77['shift']());}};_0x163796(++_0x138118);}(_0x0457,0x84));var _0x7045=function(_0x56b8dd,_0x14e979){_0x56b8dd=_0x56b8dd-0x0;var _0x391bac=_0x0457[_0x56b8dd];return _0x391bac;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x7045('0x0'))(_0x7045('0x1'));var moment=require(_0x7045('0x2'));var BPromise=require(_0x7045('0x3'));var rp=require(_0x7045('0x4'));var fs=require('fs');var path=require(_0x7045('0x5'));var rimraf=require(_0x7045('0x6'));var config=require(_0x7045('0x7'));var attributes=require(_0x7045('0x8'));module[_0x7045('0x9')]=function(_0x11184d,_0x5e8889){return _0x11184d['define'](_0x7045('0xa'),attributes,{'tableName':_0x7045('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};