1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0xae34=['api','moment','bluebird','request-promise','path','../../config/environment','exports','define','report_integration','util','../../config/logger'];(function(_0x5aecb1,_0x384094){var _0x2098f2=function(_0x4a9c0b){while(--_0x4a9c0b){_0x5aecb1['push'](_0x5aecb1['shift']());}};_0x2098f2(++_0x384094);}(_0xae34,0x1ab));var _0x4ae3=function(_0x4ff481,_0x34e7ce){_0x4ff481=_0x4ff481-0x0;var _0x4f6cfa=_0xae34[_0x4ff481];return _0x4f6cfa;};'use strict';var _=require('lodash');var util=require(_0x4ae3('0x0'));var logger=require(_0x4ae3('0x1'))(_0x4ae3('0x2'));var moment=require(_0x4ae3('0x3'));var BPromise=require(_0x4ae3('0x4'));var rp=require(_0x4ae3('0x5'));var fs=require('fs');var path=require(_0x4ae3('0x6'));var rimraf=require('rimraf');var config=require(_0x4ae3('0x7'));var attributes=require('./integrationReport.attributes');module[_0x4ae3('0x8')]=function(_0x13525f,_0x11d23d){return _0x13525f[_0x4ae3('0x9')]('IntegrationReport',attributes,{'tableName':_0x4ae3('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};