Built motion from commit 639a1a7f.|2.6.19
[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 _0xbacb=['rimraf','exports','define','team_has_voice_queues','lodash','util','api','moment','bluebird','request-promise','path'];(function(_0x1b1948,_0x49f451){var _0x3cbd38=function(_0x2ca4f2){while(--_0x2ca4f2){_0x1b1948['push'](_0x1b1948['shift']());}};_0x3cbd38(++_0x49f451);}(_0xbacb,0x1a6));var _0xbbac=function(_0x53f0db,_0x35c67c){_0x53f0db=_0x53f0db-0x0;var _0xae0a5c=_0xbacb[_0x53f0db];return _0xae0a5c;};'use strict';var _=require(_0xbbac('0x0'));var util=require(_0xbbac('0x1'));var logger=require('../../config/logger')(_0xbbac('0x2'));var moment=require(_0xbbac('0x3'));var BPromise=require(_0xbbac('0x4'));var rp=require(_0xbbac('0x5'));var fs=require('fs');var path=require(_0xbbac('0x6'));var rimraf=require(_0xbbac('0x7'));var config=require('../../config/environment');var attributes=require('./teamVoiceQueue.attributes');module[_0xbbac('0x8')]=function(_0x2b9236,_0x210763){return _0x2b9236[_0xbbac('0x9')]('TeamVoiceQueue',attributes,{'tableName':_0xbbac('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};