Built motion from commit (unavailable).|2.6.0
[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 _0xf967=['define','teams','lodash','util','../../config/logger','moment','bluebird','request-promise','path','rimraf','./team.attributes'];(function(_0x2e1645,_0x4cc157){var _0x580ad9=function(_0x3de0d9){while(--_0x3de0d9){_0x2e1645['push'](_0x2e1645['shift']());}};_0x580ad9(++_0x4cc157);}(_0xf967,0x120));var _0x7f96=function(_0x397e5f,_0x454c8f){_0x397e5f=_0x397e5f-0x0;var _0x5302b8=_0xf967[_0x397e5f];return _0x5302b8;};'use strict';var _=require(_0x7f96('0x0'));var util=require(_0x7f96('0x1'));var logger=require(_0x7f96('0x2'))('api');var moment=require(_0x7f96('0x3'));var BPromise=require(_0x7f96('0x4'));var rp=require(_0x7f96('0x5'));var fs=require('fs');var path=require(_0x7f96('0x6'));var rimraf=require(_0x7f96('0x7'));var config=require('../../config/environment');var attributes=require(_0x7f96('0x8'));module['exports']=function(_0x2baf6b,_0x121882){return _0x2baf6b[_0x7f96('0x9')]('Team',attributes,{'tableName':_0x7f96('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};