Built motion from commit (unavailable).|2.5.21
[motion2.git] / server / api / team / team.model.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x3dee=['Team','lodash','util','api','moment','path','../../config/environment','./team.attributes','exports','define'];(function(_0x58330f,_0x4af653){var _0x2b18a2=function(_0x4b1450){while(--_0x4b1450){_0x58330f['push'](_0x58330f['shift']());}};_0x2b18a2(++_0x4af653);}(_0x3dee,0x191));var _0xe3de=function(_0xa694cf,_0x14f131){_0xa694cf=_0xa694cf-0x0;var _0x5367da=_0x3dee[_0xa694cf];return _0x5367da;};'use strict';var _=require(_0xe3de('0x0'));var util=require(_0xe3de('0x1'));var logger=require('../../config/logger')(_0xe3de('0x2'));var moment=require(_0xe3de('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xe3de('0x4'));var rimraf=require('rimraf');var config=require(_0xe3de('0x5'));var attributes=require(_0xe3de('0x6'));module[_0xe3de('0x7')]=function(_0x445dda,_0x8e4595){return _0x445dda[_0xe3de('0x8')](_0xe3de('0x9'),attributes,{'tableName':'teams','paranoid':![],'indexes':[],'timestamps':!![]});};