Built motion from commit 3a7e82ea.|2.6.29
[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 _0xb218=['define','AnalyticFieldReport','analytics_report_fields','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','exports'];(function(_0x17bbaa,_0x576639){var _0x4d1ffc=function(_0x15c16f){while(--_0x15c16f){_0x17bbaa['push'](_0x17bbaa['shift']());}};_0x4d1ffc(++_0x576639);}(_0xb218,0x1bd));var _0x8b21=function(_0x4f37c1,_0x3ef93d){_0x4f37c1=_0x4f37c1-0x0;var _0x2e95f5=_0xb218[_0x4f37c1];return _0x2e95f5;};'use strict';var _=require('lodash');var util=require(_0x8b21('0x0'));var logger=require(_0x8b21('0x1'))(_0x8b21('0x2'));var moment=require(_0x8b21('0x3'));var BPromise=require(_0x8b21('0x4'));var rp=require(_0x8b21('0x5'));var fs=require('fs');var path=require(_0x8b21('0x6'));var rimraf=require(_0x8b21('0x7'));var config=require(_0x8b21('0x8'));var attributes=require('./analyticFieldReport.attributes');module[_0x8b21('0x9')]=function(_0x459312,_0x18c6f4){return _0x459312[_0x8b21('0xa')](_0x8b21('0xb'),attributes,{'tableName':_0x8b21('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};