Built motion from commit (unavailable).|2.4.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 _0xeaee=['rimraf','../../config/environment','./team.attributes','exports','define','Team','lodash','util','request-promise','path'];(function(_0x553487,_0x38305d){var _0x5ebf13=function(_0x1a9536){while(--_0x1a9536){_0x553487['push'](_0x553487['shift']());}};_0x5ebf13(++_0x38305d);}(_0xeaee,0x9c));var _0xeeae=function(_0xf2ba4,_0x4d37e7){_0xf2ba4=_0xf2ba4-0x0;var _0x784d33=_0xeaee[_0xf2ba4];return _0x784d33;};'use strict';var _=require(_0xeeae('0x0'));var util=require(_0xeeae('0x1'));var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xeeae('0x2'));var fs=require('fs');var path=require(_0xeeae('0x3'));var rimraf=require(_0xeeae('0x4'));var config=require(_0xeeae('0x5'));var attributes=require(_0xeeae('0x6'));module[_0xeeae('0x7')]=function(_0x29d445,_0x5a2e50){return _0x29d445[_0xeeae('0x8')](_0xeeae('0x9'),attributes,{'tableName':'teams','paranoid':![],'indexes':[],'timestamps':!![]});};