Built motion from commit (unavailable).|2.4.19
[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 _0xb8b7=['exports','Team','teams','lodash','../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment','./team.attributes'];(function(_0x13b8f3,_0x442821){var _0x1a6d06=function(_0x5126f2){while(--_0x5126f2){_0x13b8f3['push'](_0x13b8f3['shift']());}};_0x1a6d06(++_0x442821);}(_0xb8b7,0x147));var _0x7b8b=function(_0x465028,_0x4570ac){_0x465028=_0x465028-0x0;var _0xb783d4=_0xb8b7[_0x465028];return _0xb783d4;};'use strict';var _=require(_0x7b8b('0x0'));var util=require('util');var logger=require(_0x7b8b('0x1'))('api');var moment=require(_0x7b8b('0x2'));var BPromise=require(_0x7b8b('0x3'));var rp=require(_0x7b8b('0x4'));var fs=require('fs');var path=require(_0x7b8b('0x5'));var rimraf=require(_0x7b8b('0x6'));var config=require(_0x7b8b('0x7'));var attributes=require(_0x7b8b('0x8'));module[_0x7b8b('0x9')]=function(_0x13b1f4,_0x2632fc){return _0x13b1f4['define'](_0x7b8b('0xa'),attributes,{'tableName':_0x7b8b('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};