3b63340f677f6b72a38500caf852618926f7717d
[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 _0xd0b0=['api','moment','rimraf','exports','AnalyticFieldReport','lodash','util','../../config/logger'];(function(_0x5225fe,_0x24e219){var _0x4a7d03=function(_0x3c042b){while(--_0x3c042b){_0x5225fe['push'](_0x5225fe['shift']());}};_0x4a7d03(++_0x24e219);}(_0xd0b0,0x9d));var _0x0d0b=function(_0x2babef,_0x275118){_0x2babef=_0x2babef-0x0;var _0x2274f6=_0xd0b0[_0x2babef];return _0x2274f6;};'use strict';var _=require(_0x0d0b('0x0'));var util=require(_0x0d0b('0x1'));var logger=require(_0x0d0b('0x2'))(_0x0d0b('0x3'));var moment=require(_0x0d0b('0x4'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x0d0b('0x5'));var config=require('../../config/environment');var attributes=require('./analyticFieldReport.attributes');module[_0x0d0b('0x6')]=function(_0x1cffb8,_0x46b38f){return _0x1cffb8['define'](_0x0d0b('0x7'),attributes,{'tableName':'analytics_report_fields','paranoid':![],'indexes':[],'timestamps':!![]});};