Built motion from commit (unavailable).|2.5.25
[motion2.git] / server / api / network / network.model.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xcb4d=['../../config/environment','./network.attributes','exports','network','lodash','util','../../config/logger','api','bluebird','rimraf'];(function(_0x40a045,_0x516f0e){var _0x1a687c=function(_0x48c9fe){while(--_0x48c9fe){_0x40a045['push'](_0x40a045['shift']());}};_0x1a687c(++_0x516f0e);}(_0xcb4d,0x68));var _0xdcb4=function(_0x41eff0,_0x2f7dd1){_0x41eff0=_0x41eff0-0x0;var _0x3ae1a9=_0xcb4d[_0x41eff0];return _0x3ae1a9;};'use strict';var _=require(_0xdcb4('0x0'));var util=require(_0xdcb4('0x1'));var logger=require(_0xdcb4('0x2'))(_0xdcb4('0x3'));var moment=require('moment');var BPromise=require(_0xdcb4('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xdcb4('0x5'));var config=require(_0xdcb4('0x6'));var attributes=require(_0xdcb4('0x7'));module[_0xdcb4('0x8')]=function(_0x5ec198,_0x3928d9){return _0x5ec198['define']('Network',attributes,{'tableName':_0xdcb4('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};