Built motion from commit 44377920.|2.6.11
[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 _0xe4f8=['../../config/environment','./analyticFieldReport.attributes','exports','define','AnalyticFieldReport','analytics_report_fields','lodash','util','../../config/logger','moment','request-promise','path','rimraf'];(function(_0x5eee1c,_0x3817d8){var _0x5f2ea1=function(_0x19173b){while(--_0x19173b){_0x5eee1c['push'](_0x5eee1c['shift']());}};_0x5f2ea1(++_0x3817d8);}(_0xe4f8,0x13e));var _0x8e4f=function(_0x543242,_0xeac9fd){_0x543242=_0x543242-0x0;var _0x4c99b6=_0xe4f8[_0x543242];return _0x4c99b6;};'use strict';var _=require(_0x8e4f('0x0'));var util=require(_0x8e4f('0x1'));var logger=require(_0x8e4f('0x2'))('api');var moment=require(_0x8e4f('0x3'));var BPromise=require('bluebird');var rp=require(_0x8e4f('0x4'));var fs=require('fs');var path=require(_0x8e4f('0x5'));var rimraf=require(_0x8e4f('0x6'));var config=require(_0x8e4f('0x7'));var attributes=require(_0x8e4f('0x8'));module[_0x8e4f('0x9')]=function(_0x10460b,_0x19f128){return _0x10460b[_0x8e4f('0xa')](_0x8e4f('0xb'),attributes,{'tableName':_0x8e4f('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};