Built motion from commit 351e7f9c.|2.6.31
[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 _0xda65=['../../config/environment','./network.attributes','exports','Network','lodash','util','../../config/logger','moment','bluebird','request-promise'];(function(_0x9cd4c3,_0x1c9b2c){var _0x4c9025=function(_0x25b3c6){while(--_0x25b3c6){_0x9cd4c3['push'](_0x9cd4c3['shift']());}};_0x4c9025(++_0x1c9b2c);}(_0xda65,0x1d0));var _0x5da6=function(_0x43f5a2,_0x34d347){_0x43f5a2=_0x43f5a2-0x0;var _0x4ab853=_0xda65[_0x43f5a2];return _0x4ab853;};'use strict';var _=require(_0x5da6('0x0'));var util=require(_0x5da6('0x1'));var logger=require(_0x5da6('0x2'))('api');var moment=require(_0x5da6('0x3'));var BPromise=require(_0x5da6('0x4'));var rp=require(_0x5da6('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x5da6('0x6'));var attributes=require(_0x5da6('0x7'));module[_0x5da6('0x8')]=function(_0x32ff03,_0x75126f){return _0x32ff03['define'](_0x5da6('0x9'),attributes,{'tableName':'network','paranoid':![],'indexes':[],'timestamps':!![]});};