Built motion from commit (unavailable).|2.5.15
[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 _0x3c32=['Network','network','lodash','util','../../config/logger','api','moment','path','rimraf','../../config/environment','./network.attributes','exports','define'];(function(_0x5cf031,_0x266d2c){var _0x57fd9f=function(_0xe45a9e){while(--_0xe45a9e){_0x5cf031['push'](_0x5cf031['shift']());}};_0x57fd9f(++_0x266d2c);}(_0x3c32,0x1a2));var _0x23c3=function(_0x26b33c,_0x16514c){_0x26b33c=_0x26b33c-0x0;var _0x438755=_0x3c32[_0x26b33c];return _0x438755;};'use strict';var _=require(_0x23c3('0x0'));var util=require(_0x23c3('0x1'));var logger=require(_0x23c3('0x2'))(_0x23c3('0x3'));var moment=require(_0x23c3('0x4'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x23c3('0x5'));var rimraf=require(_0x23c3('0x6'));var config=require(_0x23c3('0x7'));var attributes=require(_0x23c3('0x8'));module[_0x23c3('0x9')]=function(_0x484f00,_0x3dfb61){return _0x484f00[_0x23c3('0xa')](_0x23c3('0xb'),attributes,{'tableName':_0x23c3('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};