Built motion from commit (unavailable).|2.5.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 _0x26f2=['./network.attributes','exports','network','lodash','util','../../config/logger','api','request-promise','path','rimraf','../../config/environment'];(function(_0x44c01a,_0x102504){var _0x2d701c=function(_0x659243){while(--_0x659243){_0x44c01a['push'](_0x44c01a['shift']());}};_0x2d701c(++_0x102504);}(_0x26f2,0x7c));var _0x226f=function(_0x138727,_0xd42a92){_0x138727=_0x138727-0x0;var _0x3a0037=_0x26f2[_0x138727];return _0x3a0037;};'use strict';var _=require(_0x226f('0x0'));var util=require(_0x226f('0x1'));var logger=require(_0x226f('0x2'))(_0x226f('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x226f('0x4'));var fs=require('fs');var path=require(_0x226f('0x5'));var rimraf=require(_0x226f('0x6'));var config=require(_0x226f('0x7'));var attributes=require(_0x226f('0x8'));module[_0x226f('0x9')]=function(_0x18c882,_0x28b81d){return _0x18c882['define']('Network',attributes,{'tableName':_0x226f('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};