Built motion from commit e6806ed6.|2.6.0
[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 _0xb8ca=['../../config/environment','./teamVoiceQueue.attributes','exports','define','team_has_voice_queues','lodash','util','../../config/logger','moment','bluebird','rimraf'];(function(_0x573166,_0x577c58){var _0x1eca6a=function(_0x11c0a6){while(--_0x11c0a6){_0x573166['push'](_0x573166['shift']());}};_0x1eca6a(++_0x577c58);}(_0xb8ca,0x89));var _0xab8c=function(_0x131798,_0x566adf){_0x131798=_0x131798-0x0;var _0x2722f2=_0xb8ca[_0x131798];return _0x2722f2;};'use strict';var _=require(_0xab8c('0x0'));var util=require(_0xab8c('0x1'));var logger=require(_0xab8c('0x2'))('api');var moment=require(_0xab8c('0x3'));var BPromise=require(_0xab8c('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xab8c('0x5'));var config=require(_0xab8c('0x6'));var attributes=require(_0xab8c('0x7'));module[_0xab8c('0x8')]=function(_0x31cc24,_0x340159){return _0x31cc24[_0xab8c('0x9')]('TeamVoiceQueue',attributes,{'tableName':_0xab8c('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};