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 _0xbc37=['rimraf','./integrationReport.attributes','exports','report_integration','util','moment','bluebird','path'];(function(_0x4173f3,_0x41904c){var _0x2431a0=function(_0x4aab70){while(--_0x4aab70){_0x4173f3['push'](_0x4173f3['shift']());}};_0x2431a0(++_0x41904c);}(_0xbc37,0xcc));var _0x7bc3=function(_0x485172,_0x4e4cce){_0x485172=_0x485172-0x0;var _0x5dbdbd=_0xbc37[_0x485172];return _0x5dbdbd;};'use strict';var _=require('lodash');var util=require(_0x7bc3('0x0'));var logger=require('../../config/logger')('api');var moment=require(_0x7bc3('0x1'));var BPromise=require(_0x7bc3('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x7bc3('0x3'));var rimraf=require(_0x7bc3('0x4'));var config=require('../../config/environment');var attributes=require(_0x7bc3('0x5'));module[_0x7bc3('0x6')]=function(_0x3af64c,_0x433e40){return _0x3af64c['define']('IntegrationReport',attributes,{'tableName':_0x7bc3('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};