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 _0x3092=['moment','bluebird','request-promise','path','rimraf','../../config/environment','./integrationReport.attributes','exports','define','IntegrationReport','report_integration','lodash'];(function(_0x4c9863,_0x27d446){var _0x367acd=function(_0x3298dc){while(--_0x3298dc){_0x4c9863['push'](_0x4c9863['shift']());}};_0x367acd(++_0x27d446);}(_0x3092,0xb3));var _0x2309=function(_0x3d5351,_0x27bc80){_0x3d5351=_0x3d5351-0x0;var _0x1db4db=_0x3092[_0x3d5351];return _0x1db4db;};'use strict';var _=require(_0x2309('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0x2309('0x1'));var BPromise=require(_0x2309('0x2'));var rp=require(_0x2309('0x3'));var fs=require('fs');var path=require(_0x2309('0x4'));var rimraf=require(_0x2309('0x5'));var config=require(_0x2309('0x6'));var attributes=require(_0x2309('0x7'));module[_0x2309('0x8')]=function(_0x13285a,_0x4feb33){return _0x13285a[_0x2309('0x9')](_0x2309('0xa'),attributes,{'tableName':_0x2309('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};