4ab3e592233552b86f2dff72258beb5ce0b48091
[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 _0x9b4c=['analytics_report_fields','util','../../config/logger','api','moment','bluebird','request-promise','rimraf','../../config/environment','exports','define'];(function(_0x133156,_0x109b02){var _0xb6d904=function(_0x2dc8ba){while(--_0x2dc8ba){_0x133156['push'](_0x133156['shift']());}};_0xb6d904(++_0x109b02);}(_0x9b4c,0x198));var _0xc9b4=function(_0x4fe19c,_0x45d0fe){_0x4fe19c=_0x4fe19c-0x0;var _0x952ac7=_0x9b4c[_0x4fe19c];return _0x952ac7;};'use strict';var _=require('lodash');var util=require(_0xc9b4('0x0'));var logger=require(_0xc9b4('0x1'))(_0xc9b4('0x2'));var moment=require(_0xc9b4('0x3'));var BPromise=require(_0xc9b4('0x4'));var rp=require(_0xc9b4('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xc9b4('0x6'));var config=require(_0xc9b4('0x7'));var attributes=require('./analyticFieldReport.attributes');module[_0xc9b4('0x8')]=function(_0x28420f,_0x255689){return _0x28420f[_0xc9b4('0x9')]('AnalyticFieldReport',attributes,{'tableName':_0xc9b4('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};