Built motion from commit 911eb874.|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 _0x13f6=['request-promise','rimraf','../../config/environment','./network.attributes','lodash','util','moment','bluebird'];(function(_0x2981d0,_0x228d6d){var _0x5423cb=function(_0x58561d){while(--_0x58561d){_0x2981d0['push'](_0x2981d0['shift']());}};_0x5423cb(++_0x228d6d);}(_0x13f6,0x124));var _0x613f=function(_0xde9447,_0x45a41c){_0xde9447=_0xde9447-0x0;var _0x3760b7=_0x13f6[_0xde9447];return _0x3760b7;};'use strict';var _=require(_0x613f('0x0'));var util=require(_0x613f('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x613f('0x2'));var BPromise=require(_0x613f('0x3'));var rp=require(_0x613f('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x613f('0x5'));var config=require(_0x613f('0x6'));var attributes=require(_0x613f('0x7'));module['exports']=function(_0x3f3525,_0x2367b3){return _0x3f3525['define']('Network',attributes,{'tableName':'network','paranoid':![],'indexes':[],'timestamps':!![]});};