Built motion from commit (unavailable).|2.5.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 _0x3199=['../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment','./team.attributes','exports','define','Team','teams','lodash','util'];(function(_0x397e5f,_0x454c8f){var _0x5302b8=function(_0x1a29ef){while(--_0x1a29ef){_0x397e5f['push'](_0x397e5f['shift']());}};_0x5302b8(++_0x454c8f);}(_0x3199,0x16a));var _0x9319=function(_0x52c80f,_0x30fcbf){_0x52c80f=_0x52c80f-0x0;var _0x208232=_0x3199[_0x52c80f];return _0x208232;};'use strict';var _=require(_0x9319('0x0'));var util=require(_0x9319('0x1'));var logger=require(_0x9319('0x2'))('api');var moment=require(_0x9319('0x3'));var BPromise=require(_0x9319('0x4'));var rp=require(_0x9319('0x5'));var fs=require('fs');var path=require(_0x9319('0x6'));var rimraf=require(_0x9319('0x7'));var config=require(_0x9319('0x8'));var attributes=require(_0x9319('0x9'));module[_0x9319('0xa')]=function(_0x430eec,_0x312b0c){return _0x430eec[_0x9319('0xb')](_0x9319('0xc'),attributes,{'tableName':_0x9319('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};