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 _0x2a95=['path','rimraf','./team.attributes','exports','Team','teams','util','../../config/logger','moment','bluebird'];(function(_0x38af48,_0x400460){var _0x445384=function(_0x464435){while(--_0x464435){_0x38af48['push'](_0x38af48['shift']());}};_0x445384(++_0x400460);}(_0x2a95,0x1be));var _0x52a9=function(_0x11a6a7,_0x3b2f6b){_0x11a6a7=_0x11a6a7-0x0;var _0x3f54d9=_0x2a95[_0x11a6a7];return _0x3f54d9;};'use strict';var _=require('lodash');var util=require(_0x52a9('0x0'));var logger=require(_0x52a9('0x1'))('api');var moment=require(_0x52a9('0x2'));var BPromise=require(_0x52a9('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x52a9('0x4'));var rimraf=require(_0x52a9('0x5'));var config=require('../../config/environment');var attributes=require(_0x52a9('0x6'));module[_0x52a9('0x7')]=function(_0x355a8f,_0x240d28){return _0x355a8f['define'](_0x52a9('0x8'),attributes,{'tableName':_0x52a9('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};