Built motion from commit e1760111.|2.6.18
[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 _0xe739=['Network','lodash','../../config/logger','api','moment','rimraf','../../config/environment','./network.attributes','exports','define'];(function(_0x40bd3e,_0x3da3c7){var _0x4ed7e6=function(_0xd7093a){while(--_0xd7093a){_0x40bd3e['push'](_0x40bd3e['shift']());}};_0x4ed7e6(++_0x3da3c7);}(_0xe739,0x105));var _0x9e73=function(_0x3eec75,_0x1266e6){_0x3eec75=_0x3eec75-0x0;var _0x1a0b00=_0xe739[_0x3eec75];return _0x1a0b00;};'use strict';var _=require(_0x9e73('0x0'));var util=require('util');var logger=require(_0x9e73('0x1'))(_0x9e73('0x2'));var moment=require(_0x9e73('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x9e73('0x4'));var config=require(_0x9e73('0x5'));var attributes=require(_0x9e73('0x6'));module[_0x9e73('0x7')]=function(_0x4cb2ed,_0x3db8fa){return _0x4cb2ed[_0x9e73('0x8')](_0x9e73('0x9'),attributes,{'tableName':'network','paranoid':![],'indexes':[],'timestamps':!![]});};