Built motion from commit ffdca78c.|2.6.24
[motion2.git] / server / api / analyticFieldReport / analyticFieldReport.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 _0xa792=['../../config/logger','bluebird','request-promise','path','rimraf','../../config/environment','./analyticFieldReport.attributes','exports','AnalyticFieldReport','analytics_report_fields','lodash','util'];(function(_0x278451,_0x4db3a4){var _0x39e4f5=function(_0xd15050){while(--_0xd15050){_0x278451['push'](_0x278451['shift']());}};_0x39e4f5(++_0x4db3a4);}(_0xa792,0x1ba));var _0x2a79=function(_0x223d63,_0x2f2193){_0x223d63=_0x223d63-0x0;var _0x56201a=_0xa792[_0x223d63];return _0x56201a;};'use strict';var _=require(_0x2a79('0x0'));var util=require(_0x2a79('0x1'));var logger=require(_0x2a79('0x2'))('api');var moment=require('moment');var BPromise=require(_0x2a79('0x3'));var rp=require(_0x2a79('0x4'));var fs=require('fs');var path=require(_0x2a79('0x5'));var rimraf=require(_0x2a79('0x6'));var config=require(_0x2a79('0x7'));var attributes=require(_0x2a79('0x8'));module[_0x2a79('0x9')]=function(_0x24042b,_0x33fbc6){return _0x24042b['define'](_0x2a79('0xa'),attributes,{'tableName':_0x2a79('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};