Built motion from commit (unavailable).|2.5.22
[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 _0xe97d=['request-promise','path','rimraf','../../config/environment','./analyticFieldReport.attributes','exports','define','AnalyticFieldReport','analytics_report_fields','lodash','util','../../config/logger','api'];(function(_0x493ac3,_0x477ec7){var _0x1d852a=function(_0x2816fe){while(--_0x2816fe){_0x493ac3['push'](_0x493ac3['shift']());}};_0x1d852a(++_0x477ec7);}(_0xe97d,0xd9));var _0xde97=function(_0x7a65c9,_0x310caf){_0x7a65c9=_0x7a65c9-0x0;var _0x35bc4b=_0xe97d[_0x7a65c9];return _0x35bc4b;};'use strict';var _=require(_0xde97('0x0'));var util=require(_0xde97('0x1'));var logger=require(_0xde97('0x2'))(_0xde97('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xde97('0x4'));var fs=require('fs');var path=require(_0xde97('0x5'));var rimraf=require(_0xde97('0x6'));var config=require(_0xde97('0x7'));var attributes=require(_0xde97('0x8'));module[_0xde97('0x9')]=function(_0xc96695,_0x86d483){return _0xc96695[_0xde97('0xa')](_0xde97('0xb'),attributes,{'tableName':_0xde97('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};