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 _0x44aa=['request-promise','path','rimraf','exports','Network','network','util','api','moment'];(function(_0x32e4fa,_0x2b7dec){var _0x516f49=function(_0x298aad){while(--_0x298aad){_0x32e4fa['push'](_0x32e4fa['shift']());}};_0x516f49(++_0x2b7dec);}(_0x44aa,0x1e3));var _0xa44a=function(_0x40cf6d,_0x126294){_0x40cf6d=_0x40cf6d-0x0;var _0x2a494e=_0x44aa[_0x40cf6d];return _0x2a494e;};'use strict';var _=require('lodash');var util=require(_0xa44a('0x0'));var logger=require('../../config/logger')(_0xa44a('0x1'));var moment=require(_0xa44a('0x2'));var BPromise=require('bluebird');var rp=require(_0xa44a('0x3'));var fs=require('fs');var path=require(_0xa44a('0x4'));var rimraf=require(_0xa44a('0x5'));var config=require('../../config/environment');var attributes=require('./network.attributes');module[_0xa44a('0x6')]=function(_0x42176c,_0x8a2313){return _0x42176c['define'](_0xa44a('0x7'),attributes,{'tableName':_0xa44a('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};