Built motion from commit (unavailable).|2.5.21
[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 _0x1d69=['moment','path','rimraf','./analyticFieldReport.attributes','exports','define','AnalyticFieldReport','util','api'];(function(_0x161138,_0x5c44de){var _0x13c110=function(_0x25dfb4){while(--_0x25dfb4){_0x161138['push'](_0x161138['shift']());}};_0x13c110(++_0x5c44de);}(_0x1d69,0x19c));var _0x91d6=function(_0x550e29,_0x4047f){_0x550e29=_0x550e29-0x0;var _0x3515b6=_0x1d69[_0x550e29];return _0x3515b6;};'use strict';var _=require('lodash');var util=require(_0x91d6('0x0'));var logger=require('../../config/logger')(_0x91d6('0x1'));var moment=require(_0x91d6('0x2'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x91d6('0x3'));var rimraf=require(_0x91d6('0x4'));var config=require('../../config/environment');var attributes=require(_0x91d6('0x5'));module[_0x91d6('0x6')]=function(_0x4aeafd,_0x4568a2){return _0x4aeafd[_0x91d6('0x7')](_0x91d6('0x8'),attributes,{'tableName':'analytics_report_fields','paranoid':![],'indexes':[],'timestamps':!![]});};