Built motion from commit e6806ed6.|2.6.0
[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 _0x67b0=['rimraf','../../config/environment','define','AnalyticFieldReport','analytics_report_fields','lodash','util','api','moment','request-promise','path'];(function(_0x13e741,_0x5d3c24){var _0x3f8bb3=function(_0x4440a0){while(--_0x4440a0){_0x13e741['push'](_0x13e741['shift']());}};_0x3f8bb3(++_0x5d3c24);}(_0x67b0,0xf7));var _0x067b=function(_0x149a53,_0x118626){_0x149a53=_0x149a53-0x0;var _0x2f4c30=_0x67b0[_0x149a53];return _0x2f4c30;};'use strict';var _=require(_0x067b('0x0'));var util=require(_0x067b('0x1'));var logger=require('../../config/logger')(_0x067b('0x2'));var moment=require(_0x067b('0x3'));var BPromise=require('bluebird');var rp=require(_0x067b('0x4'));var fs=require('fs');var path=require(_0x067b('0x5'));var rimraf=require(_0x067b('0x6'));var config=require(_0x067b('0x7'));var attributes=require('./analyticFieldReport.attributes');module['exports']=function(_0x5ab1da,_0x4aca7a){return _0x5ab1da[_0x067b('0x8')](_0x067b('0x9'),attributes,{'tableName':_0x067b('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};