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 _0xbcb7=['path','rimraf','../../config/environment','exports','define','Team','teams','lodash','../../config/logger','api','bluebird','request-promise'];(function(_0x455e38,_0x39ef9e){var _0x5538ec=function(_0x4eddbc){while(--_0x4eddbc){_0x455e38['push'](_0x455e38['shift']());}};_0x5538ec(++_0x39ef9e);}(_0xbcb7,0x11b));var _0x7bcb=function(_0x5949f0,_0x45ac8d){_0x5949f0=_0x5949f0-0x0;var _0x25ed1a=_0xbcb7[_0x5949f0];return _0x25ed1a;};'use strict';var _=require(_0x7bcb('0x0'));var util=require('util');var logger=require(_0x7bcb('0x1'))(_0x7bcb('0x2'));var moment=require('moment');var BPromise=require(_0x7bcb('0x3'));var rp=require(_0x7bcb('0x4'));var fs=require('fs');var path=require(_0x7bcb('0x5'));var rimraf=require(_0x7bcb('0x6'));var config=require(_0x7bcb('0x7'));var attributes=require('./team.attributes');module[_0x7bcb('0x8')]=function(_0x141432,_0x2930e5){return _0x141432[_0x7bcb('0x9')](_0x7bcb('0xa'),attributes,{'tableName':_0x7bcb('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};