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 _0x961b=['bluebird','request-promise','./integrationReport.attributes','exports','define','report_integration','lodash','../../config/logger','api','moment'];(function(_0x521a1c,_0x1510b2){var _0x5dbe62=function(_0x5c2202){while(--_0x5c2202){_0x521a1c['push'](_0x521a1c['shift']());}};_0x5dbe62(++_0x1510b2);}(_0x961b,0x18c));var _0xb961=function(_0x34bc6c,_0x10d089){_0x34bc6c=_0x34bc6c-0x0;var _0x168820=_0x961b[_0x34bc6c];return _0x168820;};'use strict';var _=require(_0xb961('0x0'));var util=require('util');var logger=require(_0xb961('0x1'))(_0xb961('0x2'));var moment=require(_0xb961('0x3'));var BPromise=require(_0xb961('0x4'));var rp=require(_0xb961('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xb961('0x6'));module[_0xb961('0x7')]=function(_0x3fbf50,_0x1c78e0){return _0x3fbf50[_0xb961('0x8')]('IntegrationReport',attributes,{'tableName':_0xb961('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};