Built motion from commit (unavailable).|2.5.31
[motion2.git] / server / api / team / team.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 _0xf9eb=['../../config/environment','./team.attributes','exports','define','lodash','../../config/logger','api','moment','bluebird','request-promise','path','rimraf'];(function(_0xf266fd,_0x553467){var _0x52b5ff=function(_0x47fd04){while(--_0x47fd04){_0xf266fd['push'](_0xf266fd['shift']());}};_0x52b5ff(++_0x553467);}(_0xf9eb,0xe8));var _0xbf9e=function(_0x21ec69,_0x11cf23){_0x21ec69=_0x21ec69-0x0;var _0x202df8=_0xf9eb[_0x21ec69];return _0x202df8;};'use strict';var _=require(_0xbf9e('0x0'));var util=require('util');var logger=require(_0xbf9e('0x1'))(_0xbf9e('0x2'));var moment=require(_0xbf9e('0x3'));var BPromise=require(_0xbf9e('0x4'));var rp=require(_0xbf9e('0x5'));var fs=require('fs');var path=require(_0xbf9e('0x6'));var rimraf=require(_0xbf9e('0x7'));var config=require(_0xbf9e('0x8'));var attributes=require(_0xbf9e('0x9'));module[_0xbf9e('0xa')]=function(_0x345b2d,_0x31126b){return _0x345b2d[_0xbf9e('0xb')]('Team',attributes,{'tableName':'teams','paranoid':![],'indexes':[],'timestamps':!![]});};