5d4a48607a7dd9a50c6df16b1b91175fdc71cab8
[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 _0x5e41=['../../config/environment','./analyticFieldReport.attributes','define','AnalyticFieldReport','analytics_report_fields','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf'];(function(_0x18ab2a,_0x4debcd){var _0x16dcee=function(_0x10107a){while(--_0x10107a){_0x18ab2a['push'](_0x18ab2a['shift']());}};_0x16dcee(++_0x4debcd);}(_0x5e41,0x139));var _0x15e4=function(_0x3a106b,_0x429c65){_0x3a106b=_0x3a106b-0x0;var _0x18d9cc=_0x5e41[_0x3a106b];return _0x18d9cc;};'use strict';var _=require(_0x15e4('0x0'));var util=require(_0x15e4('0x1'));var logger=require(_0x15e4('0x2'))(_0x15e4('0x3'));var moment=require(_0x15e4('0x4'));var BPromise=require(_0x15e4('0x5'));var rp=require(_0x15e4('0x6'));var fs=require('fs');var path=require(_0x15e4('0x7'));var rimraf=require(_0x15e4('0x8'));var config=require(_0x15e4('0x9'));var attributes=require(_0x15e4('0xa'));module['exports']=function(_0x54d74f,_0x842632){return _0x54d74f[_0x15e4('0xb')](_0x15e4('0xc'),attributes,{'tableName':_0x15e4('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};