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 _0xa7d4=['lodash','util','../../config/logger','moment','request-promise','path','rimraf','./integrationReport.attributes','report_integration'];(function(_0x3e6647,_0x2c0d09){var _0x46bddd=function(_0xad96c0){while(--_0xad96c0){_0x3e6647['push'](_0x3e6647['shift']());}};_0x46bddd(++_0x2c0d09);}(_0xa7d4,0xab));var _0x4a7d=function(_0x134c2e,_0x3573c4){_0x134c2e=_0x134c2e-0x0;var _0x2825db=_0xa7d4[_0x134c2e];return _0x2825db;};'use strict';var _=require(_0x4a7d('0x0'));var util=require(_0x4a7d('0x1'));var logger=require(_0x4a7d('0x2'))('api');var moment=require(_0x4a7d('0x3'));var BPromise=require('bluebird');var rp=require(_0x4a7d('0x4'));var fs=require('fs');var path=require(_0x4a7d('0x5'));var rimraf=require(_0x4a7d('0x6'));var config=require('../../config/environment');var attributes=require(_0x4a7d('0x7'));module['exports']=function(_0x1e6c8d,_0x586439){return _0x1e6c8d['define']('IntegrationReport',attributes,{'tableName':_0x4a7d('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};