Built motion from commit (unavailable).|2.4.18
[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 _0x7aae=['../../config/environment','./network.attributes','exports','define','Network','lodash','../../config/logger','api','bluebird','request-promise'];(function(_0x31172e,_0xa59e5){var _0x414ada=function(_0x37ede4){while(--_0x37ede4){_0x31172e['push'](_0x31172e['shift']());}};_0x414ada(++_0xa59e5);}(_0x7aae,0x1c7));var _0xe7aa=function(_0x397e5f,_0x454c8f){_0x397e5f=_0x397e5f-0x0;var _0x5302b8=_0x7aae[_0x397e5f];return _0x5302b8;};'use strict';var _=require(_0xe7aa('0x0'));var util=require('util');var logger=require(_0xe7aa('0x1'))(_0xe7aa('0x2'));var moment=require('moment');var BPromise=require(_0xe7aa('0x3'));var rp=require(_0xe7aa('0x4'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xe7aa('0x5'));var attributes=require(_0xe7aa('0x6'));module[_0xe7aa('0x7')]=function(_0x291eb1,_0x59b8c){return _0x291eb1[_0xe7aa('0x8')](_0xe7aa('0x9'),attributes,{'tableName':'network','paranoid':![],'indexes':[],'timestamps':!![]});};