Built motion from commit (unavailable).|2.5.31
[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 _0xdd6d=['Network','lodash','util','../../config/logger','api','moment','bluebird','../../config/environment','./network.attributes','exports'];(function(_0x4a9fb1,_0x273043){var _0x348672=function(_0x142b69){while(--_0x142b69){_0x4a9fb1['push'](_0x4a9fb1['shift']());}};_0x348672(++_0x273043);}(_0xdd6d,0x187));var _0xddd6=function(_0x15ecb0,_0x1958d6){_0x15ecb0=_0x15ecb0-0x0;var _0x2f2ba6=_0xdd6d[_0x15ecb0];return _0x2f2ba6;};'use strict';var _=require(_0xddd6('0x0'));var util=require(_0xddd6('0x1'));var logger=require(_0xddd6('0x2'))(_0xddd6('0x3'));var moment=require(_0xddd6('0x4'));var BPromise=require(_0xddd6('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xddd6('0x6'));var attributes=require(_0xddd6('0x7'));module[_0xddd6('0x8')]=function(_0x368628,_0x17e907){return _0x368628['define'](_0xddd6('0x9'),attributes,{'tableName':'network','paranoid':![],'indexes':[],'timestamps':!![]});};