Built motion from commit 97153652.|2.6.26
[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 _0x180f=['../../config/environment','./network.attributes','network','lodash','util','api','moment','request-promise','path','rimraf'];(function(_0x21f8a8,_0x1d7071){var _0x21d3d5=function(_0x4ee4b4){while(--_0x4ee4b4){_0x21f8a8['push'](_0x21f8a8['shift']());}};_0x21d3d5(++_0x1d7071);}(_0x180f,0xf3));var _0xf180=function(_0x54c10d,_0x2f2251){_0x54c10d=_0x54c10d-0x0;var _0x1fa703=_0x180f[_0x54c10d];return _0x1fa703;};'use strict';var _=require(_0xf180('0x0'));var util=require(_0xf180('0x1'));var logger=require('../../config/logger')(_0xf180('0x2'));var moment=require(_0xf180('0x3'));var BPromise=require('bluebird');var rp=require(_0xf180('0x4'));var fs=require('fs');var path=require(_0xf180('0x5'));var rimraf=require(_0xf180('0x6'));var config=require(_0xf180('0x7'));var attributes=require(_0xf180('0x8'));module['exports']=function(_0x2ef675,_0x3c6552){return _0x2ef675['define']('Network',attributes,{'tableName':_0xf180('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};