23b98e5e26e96b5f8ec1ea0c273519909c340ba4
[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 _0x2a3a=['exports','TeamVoiceQueue','team_has_voice_queues','lodash','util','../../config/logger','api','moment','path','rimraf','../../config/environment','./teamVoiceQueue.attributes'];(function(_0x97ab47,_0x5cdab2){var _0x2d291f=function(_0x14f4fd){while(--_0x14f4fd){_0x97ab47['push'](_0x97ab47['shift']());}};_0x2d291f(++_0x5cdab2);}(_0x2a3a,0x1bf));var _0xa2a3=function(_0x524190,_0x468d06){_0x524190=_0x524190-0x0;var _0x898064=_0x2a3a[_0x524190];return _0x898064;};'use strict';var _=require(_0xa2a3('0x0'));var util=require(_0xa2a3('0x1'));var logger=require(_0xa2a3('0x2'))(_0xa2a3('0x3'));var moment=require(_0xa2a3('0x4'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xa2a3('0x5'));var rimraf=require(_0xa2a3('0x6'));var config=require(_0xa2a3('0x7'));var attributes=require(_0xa2a3('0x8'));module[_0xa2a3('0x9')]=function(_0xf652d7,_0x186655){return _0xf652d7['define'](_0xa2a3('0xa'),attributes,{'tableName':_0xa2a3('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};