cdd792cda341de326a73ec690516c5f95c7af786
[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 _0x1a68=['analytics_report_fields','lodash','util','api','moment','bluebird','rimraf','define'];(function(_0x3b58c9,_0x1f46c3){var _0x5b653a=function(_0xecac3b){while(--_0xecac3b){_0x3b58c9['push'](_0x3b58c9['shift']());}};_0x5b653a(++_0x1f46c3);}(_0x1a68,0x129));var _0x81a6=function(_0x4df928,_0x3d4292){_0x4df928=_0x4df928-0x0;var _0x1d6f26=_0x1a68[_0x4df928];return _0x1d6f26;};'use strict';var _=require(_0x81a6('0x0'));var util=require(_0x81a6('0x1'));var logger=require('../../config/logger')(_0x81a6('0x2'));var moment=require(_0x81a6('0x3'));var BPromise=require(_0x81a6('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x81a6('0x5'));var config=require('../../config/environment');var attributes=require('./analyticFieldReport.attributes');module['exports']=function(_0x254853,_0x3812ad){return _0x254853[_0x81a6('0x6')]('AnalyticFieldReport',attributes,{'tableName':_0x81a6('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};