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 _0xf8c6=['request-promise','path','rimraf','../../config/environment','./team.attributes','exports','define','Team','teams','util','../../config/logger','api','moment','bluebird'];(function(_0x237fff,_0x52e444){var _0x513dfd=function(_0x50c8c6){while(--_0x50c8c6){_0x237fff['push'](_0x237fff['shift']());}};_0x513dfd(++_0x52e444);}(_0xf8c6,0x105));var _0x6f8c=function(_0x1b08c1,_0x242b5e){_0x1b08c1=_0x1b08c1-0x0;var _0x1792e3=_0xf8c6[_0x1b08c1];return _0x1792e3;};'use strict';var _=require('lodash');var util=require(_0x6f8c('0x0'));var logger=require(_0x6f8c('0x1'))(_0x6f8c('0x2'));var moment=require(_0x6f8c('0x3'));var BPromise=require(_0x6f8c('0x4'));var rp=require(_0x6f8c('0x5'));var fs=require('fs');var path=require(_0x6f8c('0x6'));var rimraf=require(_0x6f8c('0x7'));var config=require(_0x6f8c('0x8'));var attributes=require(_0x6f8c('0x9'));module[_0x6f8c('0xa')]=function(_0x206d3e,_0x566baa){return _0x206d3e[_0x6f8c('0xb')](_0x6f8c('0xc'),attributes,{'tableName':_0x6f8c('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};