1541d40067748d6251cb43982b89173e3f2e9af2
[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 _0x1b6f=['util','../../config/logger','api','bluebird','request-promise','path','rimraf','./network.attributes','exports','define','network','lodash'];(function(_0x190a70,_0x8709a2){var _0x477c50=function(_0x3c9e46){while(--_0x3c9e46){_0x190a70['push'](_0x190a70['shift']());}};_0x477c50(++_0x8709a2);}(_0x1b6f,0x6b));var _0xf1b6=function(_0x3d9b04,_0x1e851a){_0x3d9b04=_0x3d9b04-0x0;var _0x557936=_0x1b6f[_0x3d9b04];return _0x557936;};'use strict';var _=require(_0xf1b6('0x0'));var util=require(_0xf1b6('0x1'));var logger=require(_0xf1b6('0x2'))(_0xf1b6('0x3'));var moment=require('moment');var BPromise=require(_0xf1b6('0x4'));var rp=require(_0xf1b6('0x5'));var fs=require('fs');var path=require(_0xf1b6('0x6'));var rimraf=require(_0xf1b6('0x7'));var config=require('../../config/environment');var attributes=require(_0xf1b6('0x8'));module[_0xf1b6('0x9')]=function(_0x112efc,_0x586e73){return _0x112efc[_0xf1b6('0xa')]('Network',attributes,{'tableName':_0xf1b6('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};