Built motion from commit 538092ac.|2.6.10
[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 _0xdd36=['lodash','util','../../config/logger','api','bluebird','request-promise','path','../../config/environment','./analyticFieldReport.attributes','define','AnalyticFieldReport','analytics_report_fields'];(function(_0x4dad78,_0x410018){var _0x2418de=function(_0xde23a3){while(--_0xde23a3){_0x4dad78['push'](_0x4dad78['shift']());}};_0x2418de(++_0x410018);}(_0xdd36,0x1a4));var _0x6dd3=function(_0x31f7ca,_0x6f7fd0){_0x31f7ca=_0x31f7ca-0x0;var _0x2f9f64=_0xdd36[_0x31f7ca];return _0x2f9f64;};'use strict';var _=require(_0x6dd3('0x0'));var util=require(_0x6dd3('0x1'));var logger=require(_0x6dd3('0x2'))(_0x6dd3('0x3'));var moment=require('moment');var BPromise=require(_0x6dd3('0x4'));var rp=require(_0x6dd3('0x5'));var fs=require('fs');var path=require(_0x6dd3('0x6'));var rimraf=require('rimraf');var config=require(_0x6dd3('0x7'));var attributes=require(_0x6dd3('0x8'));module['exports']=function(_0x2305b2,_0x3f98db){return _0x2305b2[_0x6dd3('0x9')](_0x6dd3('0xa'),attributes,{'tableName':_0x6dd3('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};