Built motion from commit (unavailable).|2.5.4
[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 _0x061d=['../../config/environment','Network','network','util','../../config/logger','api','moment','request-promise','path','rimraf'];(function(_0x42e7b7,_0x4a1d91){var _0x296693=function(_0x479bfb){while(--_0x479bfb){_0x42e7b7['push'](_0x42e7b7['shift']());}};_0x296693(++_0x4a1d91);}(_0x061d,0x11b));var _0xd061=function(_0x2d8fc2,_0x1c461d){_0x2d8fc2=_0x2d8fc2-0x0;var _0x3a9e53=_0x061d[_0x2d8fc2];return _0x3a9e53;};'use strict';var _=require('lodash');var util=require(_0xd061('0x0'));var logger=require(_0xd061('0x1'))(_0xd061('0x2'));var moment=require(_0xd061('0x3'));var BPromise=require('bluebird');var rp=require(_0xd061('0x4'));var fs=require('fs');var path=require(_0xd061('0x5'));var rimraf=require(_0xd061('0x6'));var config=require(_0xd061('0x7'));var attributes=require('./network.attributes');module['exports']=function(_0x5e09e7,_0x561a44){return _0x5e09e7['define'](_0xd061('0x8'),attributes,{'tableName':_0xd061('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};