13fb285aebca79262c47f87b142ae12527f2ff23
[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 _0x0eaa=['./network.attributes','exports','network','lodash','util','moment','bluebird','path','rimraf','../../config/environment'];(function(_0x47159c,_0x1c8216){var _0x454dbe=function(_0x2b54f7){while(--_0x2b54f7){_0x47159c['push'](_0x47159c['shift']());}};_0x454dbe(++_0x1c8216);}(_0x0eaa,0x1c5));var _0xa0ea=function(_0x2df317,_0x5f36d0){_0x2df317=_0x2df317-0x0;var _0x41db2b=_0x0eaa[_0x2df317];return _0x41db2b;};'use strict';var _=require(_0xa0ea('0x0'));var util=require(_0xa0ea('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0xa0ea('0x2'));var BPromise=require(_0xa0ea('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xa0ea('0x4'));var rimraf=require(_0xa0ea('0x5'));var config=require(_0xa0ea('0x6'));var attributes=require(_0xa0ea('0x7'));module[_0xa0ea('0x8')]=function(_0x5636ed,_0x3c6586){return _0x5636ed['define']('Network',attributes,{'tableName':_0xa0ea('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};