Built motion from commit 10af8726.|2.6.34
[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 _0x861e=['moment','bluebird','request-promise','path','rimraf','./analyticFieldReport.attributes','exports','define','AnalyticFieldReport','analytics_report_fields','util','../../config/logger','api'];(function(_0x4a848a,_0x2e09e1){var _0x396f47=function(_0x51bd0a){while(--_0x51bd0a){_0x4a848a['push'](_0x4a848a['shift']());}};_0x396f47(++_0x2e09e1);}(_0x861e,0xcd));var _0xe861=function(_0x42b629,_0x2127b8){_0x42b629=_0x42b629-0x0;var _0x22c891=_0x861e[_0x42b629];return _0x22c891;};'use strict';var _=require('lodash');var util=require(_0xe861('0x0'));var logger=require(_0xe861('0x1'))(_0xe861('0x2'));var moment=require(_0xe861('0x3'));var BPromise=require(_0xe861('0x4'));var rp=require(_0xe861('0x5'));var fs=require('fs');var path=require(_0xe861('0x6'));var rimraf=require(_0xe861('0x7'));var config=require('../../config/environment');var attributes=require(_0xe861('0x8'));module[_0xe861('0x9')]=function(_0x1f39a4,_0x4b840b){return _0x1f39a4[_0xe861('0xa')](_0xe861('0xb'),attributes,{'tableName':_0xe861('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};