Built motion from commit 9d0783e6.|2.6.13
[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 _0x1dd5=['request-promise','path','rimraf','./analyticFieldReport.attributes','exports','analytics_report_fields','util','../../config/logger','bluebird'];(function(_0x1beef3,_0x57c4b8){var _0x5af964=function(_0x36f463){while(--_0x36f463){_0x1beef3['push'](_0x1beef3['shift']());}};_0x5af964(++_0x57c4b8);}(_0x1dd5,0xde));var _0x51dd=function(_0xcc4532,_0x40cc5c){_0xcc4532=_0xcc4532-0x0;var _0x46c5bc=_0x1dd5[_0xcc4532];return _0x46c5bc;};'use strict';var _=require('lodash');var util=require(_0x51dd('0x0'));var logger=require(_0x51dd('0x1'))('api');var moment=require('moment');var BPromise=require(_0x51dd('0x2'));var rp=require(_0x51dd('0x3'));var fs=require('fs');var path=require(_0x51dd('0x4'));var rimraf=require(_0x51dd('0x5'));var config=require('../../config/environment');var attributes=require(_0x51dd('0x6'));module[_0x51dd('0x7')]=function(_0x96b23d,_0x1170de){return _0x96b23d['define']('AnalyticFieldReport',attributes,{'tableName':_0x51dd('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};