Built motion from commit ddca4d0d.|2.5.47
[motion2.git] / server / api / integrationReport / integrationReport.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 _0x3e0d=['api','moment','bluebird','request-promise','path','./integrationReport.attributes','IntegrationReport','report_integration','lodash','util'];(function(_0x432682,_0x253044){var _0x463d05=function(_0xa73403){while(--_0xa73403){_0x432682['push'](_0x432682['shift']());}};_0x463d05(++_0x253044);}(_0x3e0d,0x152));var _0xd3e0=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x3e0d[_0x3dd15e];return _0x231fd0;};'use strict';var _=require(_0xd3e0('0x0'));var util=require(_0xd3e0('0x1'));var logger=require('../../config/logger')(_0xd3e0('0x2'));var moment=require(_0xd3e0('0x3'));var BPromise=require(_0xd3e0('0x4'));var rp=require(_0xd3e0('0x5'));var fs=require('fs');var path=require(_0xd3e0('0x6'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xd3e0('0x7'));module['exports']=function(_0x366609,_0x59a796){return _0x366609['define'](_0xd3e0('0x8'),attributes,{'tableName':_0xd3e0('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};