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 _0x8d12=['../../config/logger','moment','path','rimraf','../../config/environment','./team.attributes','exports','define','Team','teams','lodash','util'];(function(_0x599491,_0x13a2d1){var _0x4c0db2=function(_0xee5f19){while(--_0xee5f19){_0x599491['push'](_0x599491['shift']());}};_0x4c0db2(++_0x13a2d1);}(_0x8d12,0x1de));var _0x28d1=function(_0x368bba,_0x1f625b){_0x368bba=_0x368bba-0x0;var _0x409f8f=_0x8d12[_0x368bba];return _0x409f8f;};'use strict';var _=require(_0x28d1('0x0'));var util=require(_0x28d1('0x1'));var logger=require(_0x28d1('0x2'))('api');var moment=require(_0x28d1('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x28d1('0x4'));var rimraf=require(_0x28d1('0x5'));var config=require(_0x28d1('0x6'));var attributes=require(_0x28d1('0x7'));module[_0x28d1('0x8')]=function(_0x5c8769,_0x1883e4){return _0x5c8769[_0x28d1('0x9')](_0x28d1('0xa'),attributes,{'tableName':_0x28d1('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};