Built motion from commit (unavailable).|2.3.1
[motion2.git] / server / api / analyticExtractedReport / analyticExtractedReport.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 _0xeea2=['request-promise','./analyticExtractedReport.attributes','exports','define','AnalyticExtractedReport','analytics_extracted_reports','lodash','moment','bluebird'];(function(_0x3776d9,_0x2dbf19){var _0x312918=function(_0x4e0389){while(--_0x4e0389){_0x3776d9['push'](_0x3776d9['shift']());}};_0x312918(++_0x2dbf19);}(_0xeea2,0x192));var _0x2eea=function(_0x411017,_0x4a8117){_0x411017=_0x411017-0x0;var _0x2adeea=_0xeea2[_0x411017];return _0x2adeea;};'use strict';var _=require(_0x2eea('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0x2eea('0x1'));var BPromise=require(_0x2eea('0x2'));var rp=require(_0x2eea('0x3'));var attributes=require(_0x2eea('0x4'));module[_0x2eea('0x5')]=function(_0x142cbf,_0x26c220){return _0x142cbf[_0x2eea('0x6')](_0x2eea('0x7'),attributes,{'tableName':_0x2eea('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};