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 _0xe823=['lodash','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./team.attributes','exports','Team','teams'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xe823,0x16c));var _0x3e82=function(_0x3f8084,_0xc98d4){_0x3f8084=_0x3f8084-0x0;var _0x5c0055=_0xe823[_0x3f8084];return _0x5c0055;};'use strict';var _=require(_0x3e82('0x0'));var util=require('util');var logger=require(_0x3e82('0x1'))(_0x3e82('0x2'));var moment=require(_0x3e82('0x3'));var BPromise=require(_0x3e82('0x4'));var rp=require(_0x3e82('0x5'));var fs=require('fs');var path=require(_0x3e82('0x6'));var rimraf=require(_0x3e82('0x7'));var config=require(_0x3e82('0x8'));var attributes=require(_0x3e82('0x9'));module[_0x3e82('0xa')]=function(_0x4a7754,_0x11c67){return _0x4a7754['define'](_0x3e82('0xb'),attributes,{'tableName':_0x3e82('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};