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 _0xa3a9=['path','rimraf','../../config/environment','exports','define','Team','teams','lodash','../../config/logger','api','moment','bluebird'];(function(_0x22a79b,_0x4d7fe0){var _0xfb5bcd=function(_0x13314a){while(--_0x13314a){_0x22a79b['push'](_0x22a79b['shift']());}};_0xfb5bcd(++_0x4d7fe0);}(_0xa3a9,0xa3));var _0x9a3a=function(_0x432688,_0x2fcaf2){_0x432688=_0x432688-0x0;var _0x3e496b=_0xa3a9[_0x432688];return _0x3e496b;};'use strict';var _=require(_0x9a3a('0x0'));var util=require('util');var logger=require(_0x9a3a('0x1'))(_0x9a3a('0x2'));var moment=require(_0x9a3a('0x3'));var BPromise=require(_0x9a3a('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x9a3a('0x5'));var rimraf=require(_0x9a3a('0x6'));var config=require(_0x9a3a('0x7'));var attributes=require('./team.attributes');module[_0x9a3a('0x8')]=function(_0x14c1a3,_0x270712){return _0x14c1a3[_0x9a3a('0x9')](_0x9a3a('0xa'),attributes,{'tableName':_0x9a3a('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};