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 _0x8cd2=['util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','exports','define','Team','teams'];(function(_0x58547b,_0x4b89c2){var _0x1d3fd2=function(_0x4ac500){while(--_0x4ac500){_0x58547b['push'](_0x58547b['shift']());}};_0x1d3fd2(++_0x4b89c2);}(_0x8cd2,0x104));var _0x28cd=function(_0x3b10df,_0x46d3ec){_0x3b10df=_0x3b10df-0x0;var _0x50501e=_0x8cd2[_0x3b10df];return _0x50501e;};'use strict';var _=require('lodash');var util=require(_0x28cd('0x0'));var logger=require(_0x28cd('0x1'))(_0x28cd('0x2'));var moment=require(_0x28cd('0x3'));var BPromise=require(_0x28cd('0x4'));var rp=require(_0x28cd('0x5'));var fs=require('fs');var path=require(_0x28cd('0x6'));var rimraf=require(_0x28cd('0x7'));var config=require(_0x28cd('0x8'));var attributes=require('./team.attributes');module[_0x28cd('0x9')]=function(_0x430838,_0x3a55b1){return _0x430838[_0x28cd('0xa')](_0x28cd('0xb'),attributes,{'tableName':_0x28cd('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};