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 _0x23cf=['lodash','util','../../config/logger','moment','bluebird','path','rimraf','exports','define','Team','teams'];(function(_0x5e2118,_0x2d6c5e){var _0x10dee5=function(_0x255d11){while(--_0x255d11){_0x5e2118['push'](_0x5e2118['shift']());}};_0x10dee5(++_0x2d6c5e);}(_0x23cf,0xf2));var _0xf23c=function(_0x182acf,_0x727cda){_0x182acf=_0x182acf-0x0;var _0x278535=_0x23cf[_0x182acf];return _0x278535;};'use strict';var _=require(_0xf23c('0x0'));var util=require(_0xf23c('0x1'));var logger=require(_0xf23c('0x2'))('api');var moment=require(_0xf23c('0x3'));var BPromise=require(_0xf23c('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xf23c('0x5'));var rimraf=require(_0xf23c('0x6'));var config=require('../../config/environment');var attributes=require('./team.attributes');module[_0xf23c('0x7')]=function(_0x5e58c6,_0x33864c){return _0x5e58c6[_0xf23c('0x8')](_0xf23c('0x9'),attributes,{'tableName':_0xf23c('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};