a7da91cffc7b58253d71d57fe2beded16f728d03
[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 _0xc203=['define','AnalyticFieldReport','lodash','util','../../config/logger','moment','bluebird','request-promise','rimraf','../../config/environment','./analyticFieldReport.attributes','exports'];(function(_0x5f2226,_0x4a2f89){var _0x19161a=function(_0x16e163){while(--_0x16e163){_0x5f2226['push'](_0x5f2226['shift']());}};_0x19161a(++_0x4a2f89);}(_0xc203,0x1ca));var _0x3c20=function(_0x26c8f2,_0x28a9f2){_0x26c8f2=_0x26c8f2-0x0;var _0xe521bb=_0xc203[_0x26c8f2];return _0xe521bb;};'use strict';var _=require(_0x3c20('0x0'));var util=require(_0x3c20('0x1'));var logger=require(_0x3c20('0x2'))('api');var moment=require(_0x3c20('0x3'));var BPromise=require(_0x3c20('0x4'));var rp=require(_0x3c20('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x3c20('0x6'));var config=require(_0x3c20('0x7'));var attributes=require(_0x3c20('0x8'));module[_0x3c20('0x9')]=function(_0x4f4eb4,_0x4080fd){return _0x4f4eb4[_0x3c20('0xa')](_0x3c20('0xb'),attributes,{'tableName':'analytics_report_fields','paranoid':![],'indexes':[],'timestamps':!![]});};