Built motion from commit 10af8726.|2.6.34
[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 _0x780f=['lodash','util','../../config/logger','api','moment','path','rimraf','../../config/environment','./network.attributes','define','Network','network'];(function(_0x4e8880,_0x2505ef){var _0x3688ae=function(_0x557560){while(--_0x557560){_0x4e8880['push'](_0x4e8880['shift']());}};_0x3688ae(++_0x2505ef);}(_0x780f,0x6c));var _0xf780=function(_0x421c56,_0x4efd00){_0x421c56=_0x421c56-0x0;var _0x49b244=_0x780f[_0x421c56];return _0x49b244;};'use strict';var _=require(_0xf780('0x0'));var util=require(_0xf780('0x1'));var logger=require(_0xf780('0x2'))(_0xf780('0x3'));var moment=require(_0xf780('0x4'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xf780('0x5'));var rimraf=require(_0xf780('0x6'));var config=require(_0xf780('0x7'));var attributes=require(_0xf780('0x8'));module['exports']=function(_0x37b0a2,_0x4b55e7){return _0x37b0a2[_0xf780('0x9')](_0xf780('0xa'),attributes,{'tableName':_0xf780('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};