Built motion from commit (unavailable).|2.5.10
[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 _0x161e=['../../config/environment','./team.attributes','exports','define','Team','teams','lodash','util','../../config/logger','api','moment','request-promise','path','rimraf'];(function(_0x4caf90,_0x3313af){var _0xba5e3=function(_0x4ca5a1){while(--_0x4ca5a1){_0x4caf90['push'](_0x4caf90['shift']());}};_0xba5e3(++_0x3313af);}(_0x161e,0x148));var _0xe161=function(_0x2c563e,_0x2dbe3b){_0x2c563e=_0x2c563e-0x0;var _0x5e065d=_0x161e[_0x2c563e];return _0x5e065d;};'use strict';var _=require(_0xe161('0x0'));var util=require(_0xe161('0x1'));var logger=require(_0xe161('0x2'))(_0xe161('0x3'));var moment=require(_0xe161('0x4'));var BPromise=require('bluebird');var rp=require(_0xe161('0x5'));var fs=require('fs');var path=require(_0xe161('0x6'));var rimraf=require(_0xe161('0x7'));var config=require(_0xe161('0x8'));var attributes=require(_0xe161('0x9'));module[_0xe161('0xa')]=function(_0x5bda5d,_0x453250){return _0x5bda5d[_0xe161('0xb')](_0xe161('0xc'),attributes,{'tableName':_0xe161('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};