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 _0x2c76=['exports','define','Team','teams','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./team.attributes'];(function(_0x44bcb0,_0x235aa9){var _0xfaf881=function(_0x25d81d){while(--_0x25d81d){_0x44bcb0['push'](_0x44bcb0['shift']());}};_0xfaf881(++_0x235aa9);}(_0x2c76,0x170));var _0x62c7=function(_0x59733e,_0x14cb59){_0x59733e=_0x59733e-0x0;var _0x1fde0b=_0x2c76[_0x59733e];return _0x1fde0b;};'use strict';var _=require('lodash');var util=require(_0x62c7('0x0'));var logger=require(_0x62c7('0x1'))(_0x62c7('0x2'));var moment=require(_0x62c7('0x3'));var BPromise=require(_0x62c7('0x4'));var rp=require(_0x62c7('0x5'));var fs=require('fs');var path=require(_0x62c7('0x6'));var rimraf=require(_0x62c7('0x7'));var config=require(_0x62c7('0x8'));var attributes=require(_0x62c7('0x9'));module[_0x62c7('0xa')]=function(_0x1e9af8,_0x3872a8){return _0x1e9af8[_0x62c7('0xb')](_0x62c7('0xc'),attributes,{'tableName':_0x62c7('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};