Built motion from commit 9d7072cc.|2.5.39
[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 _0x2caf=['Team','teams','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./team.attributes','exports','define'];(function(_0x30b432,_0x55abc2){var _0x5f5156=function(_0x196127){while(--_0x196127){_0x30b432['push'](_0x30b432['shift']());}};_0x5f5156(++_0x55abc2);}(_0x2caf,0x1d3));var _0xf2ca=function(_0x5a2a26,_0x5811ba){_0x5a2a26=_0x5a2a26-0x0;var _0x28eade=_0x2caf[_0x5a2a26];return _0x28eade;};'use strict';var _=require(_0xf2ca('0x0'));var util=require(_0xf2ca('0x1'));var logger=require(_0xf2ca('0x2'))(_0xf2ca('0x3'));var moment=require(_0xf2ca('0x4'));var BPromise=require(_0xf2ca('0x5'));var rp=require(_0xf2ca('0x6'));var fs=require('fs');var path=require(_0xf2ca('0x7'));var rimraf=require(_0xf2ca('0x8'));var config=require(_0xf2ca('0x9'));var attributes=require(_0xf2ca('0xa'));module[_0xf2ca('0xb')]=function(_0x1c5d4c,_0x44ddee){return _0x1c5d4c[_0xf2ca('0xc')](_0xf2ca('0xd'),attributes,{'tableName':_0xf2ca('0xe'),'paranoid':![],'indexes':[],'timestamps':!![]});};