Built motion from commit e1760111.|2.6.18
[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 _0x9d0d=['path','../../config/environment','./analyticFieldReport.attributes','define','../../config/logger','moment','bluebird'];(function(_0x459edb,_0x402978){var _0x34823c=function(_0x2d370a){while(--_0x2d370a){_0x459edb['push'](_0x459edb['shift']());}};_0x34823c(++_0x402978);}(_0x9d0d,0x131));var _0xd9d0=function(_0xe84a74,_0xa8cfda){_0xe84a74=_0xe84a74-0x0;var _0x166fd8=_0x9d0d[_0xe84a74];return _0x166fd8;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xd9d0('0x0'))('api');var moment=require(_0xd9d0('0x1'));var BPromise=require(_0xd9d0('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xd9d0('0x3'));var rimraf=require('rimraf');var config=require(_0xd9d0('0x4'));var attributes=require(_0xd9d0('0x5'));module['exports']=function(_0x33d281,_0xd8f0e1){return _0x33d281[_0xd9d0('0x6')]('AnalyticFieldReport',attributes,{'tableName':'analytics_report_fields','paranoid':![],'indexes':[],'timestamps':!![]});};