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 _0x407a=['path','../../config/environment','exports','define','Network','lodash','util','api','moment','request-promise'];(function(_0x591cfd,_0x501204){var _0x4d0100=function(_0xb9ff0c){while(--_0xb9ff0c){_0x591cfd['push'](_0x591cfd['shift']());}};_0x4d0100(++_0x501204);}(_0x407a,0x18b));var _0xa407=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0x407a[_0x14add3];return _0x4a174f;};'use strict';var _=require(_0xa407('0x0'));var util=require(_0xa407('0x1'));var logger=require('../../config/logger')(_0xa407('0x2'));var moment=require(_0xa407('0x3'));var BPromise=require('bluebird');var rp=require(_0xa407('0x4'));var fs=require('fs');var path=require(_0xa407('0x5'));var rimraf=require('rimraf');var config=require(_0xa407('0x6'));var attributes=require('./network.attributes');module[_0xa407('0x7')]=function(_0x4c473b,_0xbcee6b){return _0x4c473b[_0xa407('0x8')](_0xa407('0x9'),attributes,{'tableName':'network','paranoid':![],'indexes':[],'timestamps':!![]});};