Built motion from commit 85328c08.|2.5.50
[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 _0xc80e=['analytics_report_fields','lodash','util','../../config/logger','api','bluebird','request-promise','path','../../config/environment','./analyticFieldReport.attributes','exports','AnalyticFieldReport'];(function(_0x204b09,_0x309f2a){var _0x38508d=function(_0x18d6f5){while(--_0x18d6f5){_0x204b09['push'](_0x204b09['shift']());}};_0x38508d(++_0x309f2a);}(_0xc80e,0x15d));var _0xec80=function(_0xb2320d,_0xe69d49){_0xb2320d=_0xb2320d-0x0;var _0x9db91a=_0xc80e[_0xb2320d];return _0x9db91a;};'use strict';var _=require(_0xec80('0x0'));var util=require(_0xec80('0x1'));var logger=require(_0xec80('0x2'))(_0xec80('0x3'));var moment=require('moment');var BPromise=require(_0xec80('0x4'));var rp=require(_0xec80('0x5'));var fs=require('fs');var path=require(_0xec80('0x6'));var rimraf=require('rimraf');var config=require(_0xec80('0x7'));var attributes=require(_0xec80('0x8'));module[_0xec80('0x9')]=function(_0x315a4f,_0x240161){return _0x315a4f['define'](_0xec80('0xa'),attributes,{'tableName':_0xec80('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};