Built motion from commit e0fa946e.|2.6.5
[motion2.git] / server / api / teamVoiceQueue / teamVoiceQueue.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 _0xbe48=['team_has_voice_queues','lodash','util','../../config/logger','api','moment','path','rimraf','./teamVoiceQueue.attributes','exports','define','TeamVoiceQueue'];(function(_0x1eee16,_0x2f14c5){var _0x29767c=function(_0x4fc672){while(--_0x4fc672){_0x1eee16['push'](_0x1eee16['shift']());}};_0x29767c(++_0x2f14c5);}(_0xbe48,0x121));var _0x8be4=function(_0x34e4ad,_0x229c77){_0x34e4ad=_0x34e4ad-0x0;var _0xaeb1da=_0xbe48[_0x34e4ad];return _0xaeb1da;};'use strict';var _=require(_0x8be4('0x0'));var util=require(_0x8be4('0x1'));var logger=require(_0x8be4('0x2'))(_0x8be4('0x3'));var moment=require(_0x8be4('0x4'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x8be4('0x5'));var rimraf=require(_0x8be4('0x6'));var config=require('../../config/environment');var attributes=require(_0x8be4('0x7'));module[_0x8be4('0x8')]=function(_0x286baa,_0x2312e8){return _0x286baa[_0x8be4('0x9')](_0x8be4('0xa'),attributes,{'tableName':_0x8be4('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};