1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0xd80f=['rimraf','../../config/environment','exports','define','Team','teams','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path'];(function(_0x423f2b,_0x5972c9){var _0x4ee4a3=function(_0x32fcf2){while(--_0x32fcf2){_0x423f2b['push'](_0x423f2b['shift']());}};_0x4ee4a3(++_0x5972c9);}(_0xd80f,0x18e));var _0xfd80=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xd80f[_0x3dd15e];return _0x231fd0;};'use strict';var _=require(_0xfd80('0x0'));var util=require(_0xfd80('0x1'));var logger=require(_0xfd80('0x2'))(_0xfd80('0x3'));var moment=require(_0xfd80('0x4'));var BPromise=require(_0xfd80('0x5'));var rp=require(_0xfd80('0x6'));var fs=require('fs');var path=require(_0xfd80('0x7'));var rimraf=require(_0xfd80('0x8'));var config=require(_0xfd80('0x9'));var attributes=require('./team.attributes');module[_0xfd80('0xa')]=function(_0xc5ef3b,_0x5b0488){return _0xc5ef3b[_0xfd80('0xb')](_0xfd80('0xc'),attributes,{'tableName':_0xfd80('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};