Built motion from commit 9d0783e6.|2.6.13
[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 _0xff1a=['path','./analyticFieldReport.attributes','exports','define','analytics_report_fields','util','../../config/logger','api','moment','request-promise'];(function(_0x506a86,_0x41e1c9){var _0x5e1960=function(_0xbc7559){while(--_0xbc7559){_0x506a86['push'](_0x506a86['shift']());}};_0x5e1960(++_0x41e1c9);}(_0xff1a,0x18b));var _0xaff1=function(_0x2c45d8,_0x3c2ea6){_0x2c45d8=_0x2c45d8-0x0;var _0xe57dee=_0xff1a[_0x2c45d8];return _0xe57dee;};'use strict';var _=require('lodash');var util=require(_0xaff1('0x0'));var logger=require(_0xaff1('0x1'))(_0xaff1('0x2'));var moment=require(_0xaff1('0x3'));var BPromise=require('bluebird');var rp=require(_0xaff1('0x4'));var fs=require('fs');var path=require(_0xaff1('0x5'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xaff1('0x6'));module[_0xaff1('0x7')]=function(_0x179201,_0x297c40){return _0x179201[_0xaff1('0x8')]('AnalyticFieldReport',attributes,{'tableName':_0xaff1('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};