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 _0x80ce=['api','path','../../config/environment','./network.attributes','exports','define','Network','util'];(function(_0x42c5cc,_0x39507c){var _0x299202=function(_0x2e11e3){while(--_0x2e11e3){_0x42c5cc['push'](_0x42c5cc['shift']());}};_0x299202(++_0x39507c);}(_0x80ce,0x1e7));var _0xe80c=function(_0x1d0f86,_0x5a6e34){_0x1d0f86=_0x1d0f86-0x0;var _0x2ba5db=_0x80ce[_0x1d0f86];return _0x2ba5db;};'use strict';var _=require('lodash');var util=require(_0xe80c('0x0'));var logger=require('../../config/logger')(_0xe80c('0x1'));var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xe80c('0x2'));var rimraf=require('rimraf');var config=require(_0xe80c('0x3'));var attributes=require(_0xe80c('0x4'));module[_0xe80c('0x5')]=function(_0x3bb3e0,_0xbba4ab){return _0x3bb3e0[_0xe80c('0x6')](_0xe80c('0x7'),attributes,{'tableName':'network','paranoid':![],'indexes':[],'timestamps':!![]});};