Built motion from commit 936e8062.|2.5.33
[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 _0xd63a=['rimraf','./integrationReport.attributes','exports','define','IntegrationReport','report_integration','lodash','../../config/logger','api','moment','path'];(function(_0x540582,_0x1f8a7f){var _0x5c44b4=function(_0x2b60c5){while(--_0x2b60c5){_0x540582['push'](_0x540582['shift']());}};_0x5c44b4(++_0x1f8a7f);}(_0xd63a,0x19d));var _0xad63=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xd63a[_0x3dd15e];return _0x231fd0;};'use strict';var _=require(_0xad63('0x0'));var util=require('util');var logger=require(_0xad63('0x1'))(_0xad63('0x2'));var moment=require(_0xad63('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xad63('0x4'));var rimraf=require(_0xad63('0x5'));var config=require('../../config/environment');var attributes=require(_0xad63('0x6'));module[_0xad63('0x7')]=function(_0xe7d867,_0x4c4115){return _0xe7d867[_0xad63('0x8')](_0xad63('0x9'),attributes,{'tableName':_0xad63('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};