167ec6f8bc67e646bae17599d7aa7d3d806d76e5
[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 _0xe935=['./analyticFieldReport.attributes','exports','define','analytics_report_fields','util','moment','bluebird','path'];(function(_0x12e52b,_0x9fc7e7){var _0x414019=function(_0x388ecd){while(--_0x388ecd){_0x12e52b['push'](_0x12e52b['shift']());}};_0x414019(++_0x9fc7e7);}(_0xe935,0x1ec));var _0x5e93=function(_0x32b817,_0x31ebbe){_0x32b817=_0x32b817-0x0;var _0x3b624a=_0xe935[_0x32b817];return _0x3b624a;};'use strict';var _=require('lodash');var util=require(_0x5e93('0x0'));var logger=require('../../config/logger')('api');var moment=require(_0x5e93('0x1'));var BPromise=require(_0x5e93('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x5e93('0x3'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x5e93('0x4'));module[_0x5e93('0x5')]=function(_0x17ac6a,_0x37f60c){return _0x17ac6a[_0x5e93('0x6')]('AnalyticFieldReport',attributes,{'tableName':_0x5e93('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};