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 _0xdfa1=['api','moment','path','rimraf','../../config/environment','./team.attributes','exports','define','teams','lodash','../../config/logger'];(function(_0x2136d5,_0x4b0479){var _0x3bee2e=function(_0x119e88){while(--_0x119e88){_0x2136d5['push'](_0x2136d5['shift']());}};_0x3bee2e(++_0x4b0479);}(_0xdfa1,0x1ab));var _0x1dfa=function(_0x556bb1,_0x34830d){_0x556bb1=_0x556bb1-0x0;var _0x45455f=_0xdfa1[_0x556bb1];return _0x45455f;};'use strict';var _=require(_0x1dfa('0x0'));var util=require('util');var logger=require(_0x1dfa('0x1'))(_0x1dfa('0x2'));var moment=require(_0x1dfa('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x1dfa('0x4'));var rimraf=require(_0x1dfa('0x5'));var config=require(_0x1dfa('0x6'));var attributes=require(_0x1dfa('0x7'));module[_0x1dfa('0x8')]=function(_0xacb411,_0x5e1cf7){return _0xacb411[_0x1dfa('0x9')]('Team',attributes,{'tableName':_0x1dfa('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};