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 _0x79ca=['lodash','util','moment','bluebird','request-promise','path','rimraf','../../config/environment','exports','define','Team','teams'];(function(_0x41849c,_0x6db388){var _0x43589c=function(_0x24ed08){while(--_0x24ed08){_0x41849c['push'](_0x41849c['shift']());}};_0x43589c(++_0x6db388);}(_0x79ca,0x114));var _0xa79c=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0x79ca[_0x20a584];return _0x4b41a8;};'use strict';var _=require(_0xa79c('0x0'));var util=require(_0xa79c('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0xa79c('0x2'));var BPromise=require(_0xa79c('0x3'));var rp=require(_0xa79c('0x4'));var fs=require('fs');var path=require(_0xa79c('0x5'));var rimraf=require(_0xa79c('0x6'));var config=require(_0xa79c('0x7'));var attributes=require('./team.attributes');module[_0xa79c('0x8')]=function(_0x3e2daa,_0x4c6cae){return _0x3e2daa[_0xa79c('0x9')](_0xa79c('0xa'),attributes,{'tableName':_0xa79c('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};