Built motion from commit (unavailable).|2.5.30
[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 _0x895c=['../../config/environment','exports','Network','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf'];(function(_0x5c2cd5,_0x1c2fbb){var _0x5180e9=function(_0x12ceed){while(--_0x12ceed){_0x5c2cd5['push'](_0x5c2cd5['shift']());}};_0x5180e9(++_0x1c2fbb);}(_0x895c,0x1dc));var _0xc895=function(_0x185a70,_0x576d8b){_0x185a70=_0x185a70-0x0;var _0x4d599c=_0x895c[_0x185a70];return _0x4d599c;};'use strict';var _=require('lodash');var util=require(_0xc895('0x0'));var logger=require(_0xc895('0x1'))(_0xc895('0x2'));var moment=require(_0xc895('0x3'));var BPromise=require(_0xc895('0x4'));var rp=require(_0xc895('0x5'));var fs=require('fs');var path=require(_0xc895('0x6'));var rimraf=require(_0xc895('0x7'));var config=require(_0xc895('0x8'));var attributes=require('./network.attributes');module[_0xc895('0x9')]=function(_0x459497,_0x5ee701){return _0x459497['define'](_0xc895('0xa'),attributes,{'tableName':'network','paranoid':![],'indexes':[],'timestamps':!![]});};