60b19aa5a957c721970d4d79bbd74b1a5193f1c2
[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 _0x36be=['../../config/logger','moment','bluebird','request-promise','rimraf','../../config/environment','define','Network','network'];(function(_0x1992f1,_0x5c61f0){var _0x413dfe=function(_0x2136e5){while(--_0x2136e5){_0x1992f1['push'](_0x1992f1['shift']());}};_0x413dfe(++_0x5c61f0);}(_0x36be,0xea));var _0xe36b=function(_0x46698a,_0x8de1e4){_0x46698a=_0x46698a-0x0;var _0x356db0=_0x36be[_0x46698a];return _0x356db0;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xe36b('0x0'))('api');var moment=require(_0xe36b('0x1'));var BPromise=require(_0xe36b('0x2'));var rp=require(_0xe36b('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0xe36b('0x4'));var config=require(_0xe36b('0x5'));var attributes=require('./network.attributes');module['exports']=function(_0x38f2ac,_0xbf4e56){return _0x38f2ac[_0xe36b('0x6')](_0xe36b('0x7'),attributes,{'tableName':_0xe36b('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};