Built motion from commit (unavailable).|2.5.22
[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 _0x623f=['exports','define','AnalyticFieldReport','lodash','util','api','moment','request-promise','path','../../config/environment','./analyticFieldReport.attributes'];(function(_0x247d4a,_0xa354f2){var _0xeb2a92=function(_0x25d776){while(--_0x25d776){_0x247d4a['push'](_0x247d4a['shift']());}};_0xeb2a92(++_0xa354f2);}(_0x623f,0x1d1));var _0xf623=function(_0x2304fb,_0x126873){_0x2304fb=_0x2304fb-0x0;var _0x22ed8b=_0x623f[_0x2304fb];return _0x22ed8b;};'use strict';var _=require(_0xf623('0x0'));var util=require(_0xf623('0x1'));var logger=require('../../config/logger')(_0xf623('0x2'));var moment=require(_0xf623('0x3'));var BPromise=require('bluebird');var rp=require(_0xf623('0x4'));var fs=require('fs');var path=require(_0xf623('0x5'));var rimraf=require('rimraf');var config=require(_0xf623('0x6'));var attributes=require(_0xf623('0x7'));module[_0xf623('0x8')]=function(_0x5e49cc,_0x56deb7){return _0x5e49cc[_0xf623('0x9')](_0xf623('0xa'),attributes,{'tableName':'analytics_report_fields','paranoid':![],'indexes':[],'timestamps':!![]});};