Built motion from commit (unavailable).|2.6.0
[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 _0x6067=['define','Network','network','lodash','util','../../config/logger','moment','bluebird','request-promise','path','../../config/environment'];(function(_0x292fec,_0xa06be1){var _0x5a4824=function(_0x186612){while(--_0x186612){_0x292fec['push'](_0x292fec['shift']());}};_0x5a4824(++_0xa06be1);}(_0x6067,0x1c6));var _0x7606=function(_0x355319,_0x4dd743){_0x355319=_0x355319-0x0;var _0x51d7f8=_0x6067[_0x355319];return _0x51d7f8;};'use strict';var _=require(_0x7606('0x0'));var util=require(_0x7606('0x1'));var logger=require(_0x7606('0x2'))('api');var moment=require(_0x7606('0x3'));var BPromise=require(_0x7606('0x4'));var rp=require(_0x7606('0x5'));var fs=require('fs');var path=require(_0x7606('0x6'));var rimraf=require('rimraf');var config=require(_0x7606('0x7'));var attributes=require('./network.attributes');module['exports']=function(_0x18a0ea,_0x171ee8){return _0x18a0ea[_0x7606('0x8')](_0x7606('0x9'),attributes,{'tableName':_0x7606('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};