Built motion from commit (unavailable).|2.4.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 _0x5924=['network','util','../../config/logger','moment','bluebird','request-promise','rimraf','../../config/environment','./network.attributes','exports','define'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x5924,0x135));var _0x4592=function(_0x1cd674,_0x8d3638){_0x1cd674=_0x1cd674-0x0;var _0x27928f=_0x5924[_0x1cd674];return _0x27928f;};'use strict';var _=require('lodash');var util=require(_0x4592('0x0'));var logger=require(_0x4592('0x1'))('api');var moment=require(_0x4592('0x2'));var BPromise=require(_0x4592('0x3'));var rp=require(_0x4592('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x4592('0x5'));var config=require(_0x4592('0x6'));var attributes=require(_0x4592('0x7'));module[_0x4592('0x8')]=function(_0x3ca8cb,_0x4612f6){return _0x3ca8cb[_0x4592('0x9')]('Network',attributes,{'tableName':_0x4592('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};