0c540051a9c51b4b7e9d677454406511b326b56b
[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 _0xa33a=['exports','define','AnalyticFieldReport','analytics_report_fields','lodash','../../config/logger','moment','bluebird','request-promise','path','../../config/environment','./analyticFieldReport.attributes'];(function(_0x4532ed,_0x317ea5){var _0x636076=function(_0x5cc2c5){while(--_0x5cc2c5){_0x4532ed['push'](_0x4532ed['shift']());}};_0x636076(++_0x317ea5);}(_0xa33a,0xa0));var _0xaa33=function(_0x16234d,_0x35298a){_0x16234d=_0x16234d-0x0;var _0x38c9b1=_0xa33a[_0x16234d];return _0x38c9b1;};'use strict';var _=require(_0xaa33('0x0'));var util=require('util');var logger=require(_0xaa33('0x1'))('api');var moment=require(_0xaa33('0x2'));var BPromise=require(_0xaa33('0x3'));var rp=require(_0xaa33('0x4'));var fs=require('fs');var path=require(_0xaa33('0x5'));var rimraf=require('rimraf');var config=require(_0xaa33('0x6'));var attributes=require(_0xaa33('0x7'));module[_0xaa33('0x8')]=function(_0xb8b4c0,_0x57258a){return _0xb8b4c0[_0xaa33('0x9')](_0xaa33('0xa'),attributes,{'tableName':_0xaa33('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};