Built motion from commit (unavailable).|2.5.6
[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 _0x2916=['rimraf','../../config/environment','./network.attributes','exports','define','network','lodash','util','../../config/logger','api','bluebird','path'];(function(_0x2fa366,_0x548934){var _0x302d14=function(_0x4b94fd){while(--_0x4b94fd){_0x2fa366['push'](_0x2fa366['shift']());}};_0x302d14(++_0x548934);}(_0x2916,0x72));var _0x6291=function(_0x1704d5,_0x1f1740){_0x1704d5=_0x1704d5-0x0;var _0x58b71d=_0x2916[_0x1704d5];return _0x58b71d;};'use strict';var _=require(_0x6291('0x0'));var util=require(_0x6291('0x1'));var logger=require(_0x6291('0x2'))(_0x6291('0x3'));var moment=require('moment');var BPromise=require(_0x6291('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x6291('0x5'));var rimraf=require(_0x6291('0x6'));var config=require(_0x6291('0x7'));var attributes=require(_0x6291('0x8'));module[_0x6291('0x9')]=function(_0x2ebdd3,_0x56ab79){return _0x2ebdd3[_0x6291('0xa')]('Network',attributes,{'tableName':_0x6291('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};