3b6c788ee4965be29e2609d2d10f87ce7f6cffae
[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 _0xc12d=['util','api','moment','bluebird','request-promise','path','rimraf','./network.attributes','define','Network','network','lodash'];(function(_0x156e16,_0x28042a){var _0x3f5741=function(_0x156e8b){while(--_0x156e8b){_0x156e16['push'](_0x156e16['shift']());}};_0x3f5741(++_0x28042a);}(_0xc12d,0x15b));var _0xdc12=function(_0x385ef0,_0x1f3282){_0x385ef0=_0x385ef0-0x0;var _0xf908fb=_0xc12d[_0x385ef0];return _0xf908fb;};'use strict';var _=require(_0xdc12('0x0'));var util=require(_0xdc12('0x1'));var logger=require('../../config/logger')(_0xdc12('0x2'));var moment=require(_0xdc12('0x3'));var BPromise=require(_0xdc12('0x4'));var rp=require(_0xdc12('0x5'));var fs=require('fs');var path=require(_0xdc12('0x6'));var rimraf=require(_0xdc12('0x7'));var config=require('../../config/environment');var attributes=require(_0xdc12('0x8'));module['exports']=function(_0x4ed862,_0x243969){return _0x4ed862[_0xdc12('0x9')](_0xdc12('0xa'),attributes,{'tableName':_0xdc12('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};