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 _0xdd26=['path','rimraf','../../config/environment','./network.attributes','exports','Network','network','lodash','util','api','moment','request-promise'];(function(_0x14e1ac,_0x5bcc04){var _0x523a25=function(_0x981e3e){while(--_0x981e3e){_0x14e1ac['push'](_0x14e1ac['shift']());}};_0x523a25(++_0x5bcc04);}(_0xdd26,0x7f));var _0x6dd2=function(_0x14cb94,_0x2f3b3e){_0x14cb94=_0x14cb94-0x0;var _0x471b6f=_0xdd26[_0x14cb94];return _0x471b6f;};'use strict';var _=require(_0x6dd2('0x0'));var util=require(_0x6dd2('0x1'));var logger=require('../../config/logger')(_0x6dd2('0x2'));var moment=require(_0x6dd2('0x3'));var BPromise=require('bluebird');var rp=require(_0x6dd2('0x4'));var fs=require('fs');var path=require(_0x6dd2('0x5'));var rimraf=require(_0x6dd2('0x6'));var config=require(_0x6dd2('0x7'));var attributes=require(_0x6dd2('0x8'));module[_0x6dd2('0x9')]=function(_0x181f09,_0x1ae2c6){return _0x181f09['define'](_0x6dd2('0xa'),attributes,{'tableName':_0x6dd2('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};