4335ea2412db2752c6c33f0fdf06aa0c74d57317
[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 _0xc481=['./analyticFieldReport.attributes','exports','AnalyticFieldReport','analytics_report_fields','lodash','util','../../config/logger','api','moment','bluebird','path','../../config/environment'];(function(_0x433a86,_0x175b5c){var _0x23000c=function(_0x4b1fa0){while(--_0x4b1fa0){_0x433a86['push'](_0x433a86['shift']());}};_0x23000c(++_0x175b5c);}(_0xc481,0x154));var _0x1c48=function(_0x356127,_0x4873ac){_0x356127=_0x356127-0x0;var _0x5d4c75=_0xc481[_0x356127];return _0x5d4c75;};'use strict';var _=require(_0x1c48('0x0'));var util=require(_0x1c48('0x1'));var logger=require(_0x1c48('0x2'))(_0x1c48('0x3'));var moment=require(_0x1c48('0x4'));var BPromise=require(_0x1c48('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x1c48('0x6'));var rimraf=require('rimraf');var config=require(_0x1c48('0x7'));var attributes=require(_0x1c48('0x8'));module[_0x1c48('0x9')]=function(_0x4c6a40,_0x5b479d){return _0x4c6a40['define'](_0x1c48('0xa'),attributes,{'tableName':_0x1c48('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};