Built motion from commit 85328c08.|2.5.50
[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 _0x212a=['../../config/environment','./team.attributes','Team','teams','lodash','util','../../config/logger','api','moment','bluebird','request-promise','rimraf'];(function(_0x384ca5,_0x37d802){var _0x1495f1=function(_0x54e8ae){while(--_0x54e8ae){_0x384ca5['push'](_0x384ca5['shift']());}};_0x1495f1(++_0x37d802);}(_0x212a,0xe8));var _0xa212=function(_0x465a0c,_0x19d4d5){_0x465a0c=_0x465a0c-0x0;var _0x1e202e=_0x212a[_0x465a0c];return _0x1e202e;};'use strict';var _=require(_0xa212('0x0'));var util=require(_0xa212('0x1'));var logger=require(_0xa212('0x2'))(_0xa212('0x3'));var moment=require(_0xa212('0x4'));var BPromise=require(_0xa212('0x5'));var rp=require(_0xa212('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0xa212('0x7'));var config=require(_0xa212('0x8'));var attributes=require(_0xa212('0x9'));module['exports']=function(_0x200b73,_0x3f4ff5){return _0x200b73['define'](_0xa212('0xa'),attributes,{'tableName':_0xa212('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};