Built motion from commit (unavailable).|2.5.27
[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 _0x9380=['../../config/environment','./team.attributes','define','lodash','../../config/logger','api','request-promise','rimraf'];(function(_0x5c3c0b,_0x4ee35e){var _0x52ecd2=function(_0x3cf575){while(--_0x3cf575){_0x5c3c0b['push'](_0x5c3c0b['shift']());}};_0x52ecd2(++_0x4ee35e);}(_0x9380,0x16b));var _0x0938=function(_0x29d915,_0x54a040){_0x29d915=_0x29d915-0x0;var _0x160f86=_0x9380[_0x29d915];return _0x160f86;};'use strict';var _=require(_0x0938('0x0'));var util=require('util');var logger=require(_0x0938('0x1'))(_0x0938('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x0938('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0x0938('0x4'));var config=require(_0x0938('0x5'));var attributes=require(_0x0938('0x6'));module['exports']=function(_0x56fc58,_0x210681){return _0x56fc58[_0x0938('0x7')]('Team',attributes,{'tableName':'teams','paranoid':![],'indexes':[],'timestamps':!![]});};