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 _0xd691=['exports','network','lodash','util','../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment','./network.attributes'];(function(_0x5a20ee,_0x1172e4){var _0x407879=function(_0x2ab3b3){while(--_0x2ab3b3){_0x5a20ee['push'](_0x5a20ee['shift']());}};_0x407879(++_0x1172e4);}(_0xd691,0xe6));var _0x1d69=function(_0x5ca7b8,_0x1d8f03){_0x5ca7b8=_0x5ca7b8-0x0;var _0x58e84e=_0xd691[_0x5ca7b8];return _0x58e84e;};'use strict';var _=require(_0x1d69('0x0'));var util=require(_0x1d69('0x1'));var logger=require(_0x1d69('0x2'))('api');var moment=require(_0x1d69('0x3'));var BPromise=require(_0x1d69('0x4'));var rp=require(_0x1d69('0x5'));var fs=require('fs');var path=require(_0x1d69('0x6'));var rimraf=require(_0x1d69('0x7'));var config=require(_0x1d69('0x8'));var attributes=require(_0x1d69('0x9'));module[_0x1d69('0xa')]=function(_0xdbf1f2,_0x3b36f5){return _0xdbf1f2['define']('Network',attributes,{'tableName':_0x1d69('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};