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 _0x8ec2=['moment','bluebird','request-promise','path','rimraf','./team.attributes','exports','define','teams','util','../../config/logger','api'];(function(_0x353abb,_0x194c80){var _0x43c9c5=function(_0x456b74){while(--_0x456b74){_0x353abb['push'](_0x353abb['shift']());}};_0x43c9c5(++_0x194c80);}(_0x8ec2,0xbd));var _0x28ec=function(_0x497287,_0x11d321){_0x497287=_0x497287-0x0;var _0x6764a1=_0x8ec2[_0x497287];return _0x6764a1;};'use strict';var _=require('lodash');var util=require(_0x28ec('0x0'));var logger=require(_0x28ec('0x1'))(_0x28ec('0x2'));var moment=require(_0x28ec('0x3'));var BPromise=require(_0x28ec('0x4'));var rp=require(_0x28ec('0x5'));var fs=require('fs');var path=require(_0x28ec('0x6'));var rimraf=require(_0x28ec('0x7'));var config=require('../../config/environment');var attributes=require(_0x28ec('0x8'));module[_0x28ec('0x9')]=function(_0x48ec72,_0x2d53eb){return _0x48ec72[_0x28ec('0xa')]('Team',attributes,{'tableName':_0x28ec('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};