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 _0xc985=['Network','lodash','util','api','moment','bluebird','rimraf','exports','define'];(function(_0x43b584,_0x20a6bd){var _0x48f27b=function(_0x1eeb77){while(--_0x1eeb77){_0x43b584['push'](_0x43b584['shift']());}};_0x48f27b(++_0x20a6bd);}(_0xc985,0x10f));var _0x5c98=function(_0x3a20ff,_0x4ba5cb){_0x3a20ff=_0x3a20ff-0x0;var _0x4679e6=_0xc985[_0x3a20ff];return _0x4679e6;};'use strict';var _=require(_0x5c98('0x0'));var util=require(_0x5c98('0x1'));var logger=require('../../config/logger')(_0x5c98('0x2'));var moment=require(_0x5c98('0x3'));var BPromise=require(_0x5c98('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x5c98('0x5'));var config=require('../../config/environment');var attributes=require('./network.attributes');module[_0x5c98('0x6')]=function(_0x50f66b,_0x5640c6){return _0x50f66b[_0x5c98('0x7')](_0x5c98('0x8'),attributes,{'tableName':'network','paranoid':![],'indexes':[],'timestamps':!![]});};