088dbd28c517ccebba94551990dd69c0986bf4cc
[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 _0x92ec=['request-promise','path','rimraf','../../config/environment','./team.attributes','define','Team','teams','lodash','util','../../config/logger','api','bluebird'];(function(_0x491ff4,_0x1c83fd){var _0x223621=function(_0x71f8b3){while(--_0x71f8b3){_0x491ff4['push'](_0x491ff4['shift']());}};_0x223621(++_0x1c83fd);}(_0x92ec,0x14d));var _0xc92e=function(_0x2c780d,_0x236564){_0x2c780d=_0x2c780d-0x0;var _0x4df079=_0x92ec[_0x2c780d];return _0x4df079;};'use strict';var _=require(_0xc92e('0x0'));var util=require(_0xc92e('0x1'));var logger=require(_0xc92e('0x2'))(_0xc92e('0x3'));var moment=require('moment');var BPromise=require(_0xc92e('0x4'));var rp=require(_0xc92e('0x5'));var fs=require('fs');var path=require(_0xc92e('0x6'));var rimraf=require(_0xc92e('0x7'));var config=require(_0xc92e('0x8'));var attributes=require(_0xc92e('0x9'));module['exports']=function(_0x4d1344,_0xf20b0d){return _0x4d1344[_0xc92e('0xa')](_0xc92e('0xb'),attributes,{'tableName':_0xc92e('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};