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 _0xf455=['define','Team','teams','lodash','../../config/logger','api','bluebird','request-promise','path','rimraf','./team.attributes','exports'];(function(_0x4a5f6c,_0x4f532e){var _0x281ffd=function(_0x4c68e3){while(--_0x4c68e3){_0x4a5f6c['push'](_0x4a5f6c['shift']());}};_0x281ffd(++_0x4f532e);}(_0xf455,0x153));var _0x5f45=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xf455[_0x3dd15e];return _0x231fd0;};'use strict';var _=require(_0x5f45('0x0'));var util=require('util');var logger=require(_0x5f45('0x1'))(_0x5f45('0x2'));var moment=require('moment');var BPromise=require(_0x5f45('0x3'));var rp=require(_0x5f45('0x4'));var fs=require('fs');var path=require(_0x5f45('0x5'));var rimraf=require(_0x5f45('0x6'));var config=require('../../config/environment');var attributes=require(_0x5f45('0x7'));module[_0x5f45('0x8')]=function(_0x4007c1,_0x48945c){return _0x4007c1[_0x5f45('0x9')](_0x5f45('0xa'),attributes,{'tableName':_0x5f45('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};