40f22e40c9ee1bb130b9406ff2aca3af67be580b
[motion2.git] / server / api / userVoiceQueue / userVoiceQueue.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 _0xc292=['../../config/environment','./userVoiceQueue.attributes','exports','define','user_has_voice_queues','lodash','util','../../config/logger','api','moment','request-promise','path','rimraf'];(function(_0x169098,_0x55fa34){var _0x43d9b2=function(_0x54ffc7){while(--_0x54ffc7){_0x169098['push'](_0x169098['shift']());}};_0x43d9b2(++_0x55fa34);}(_0xc292,0x18b));var _0x2c29=function(_0x504df1,_0x289598){_0x504df1=_0x504df1-0x0;var _0x1063b5=_0xc292[_0x504df1];return _0x1063b5;};'use strict';var _=require(_0x2c29('0x0'));var util=require(_0x2c29('0x1'));var logger=require(_0x2c29('0x2'))(_0x2c29('0x3'));var moment=require(_0x2c29('0x4'));var BPromise=require('bluebird');var rp=require(_0x2c29('0x5'));var fs=require('fs');var path=require(_0x2c29('0x6'));var rimraf=require(_0x2c29('0x7'));var config=require(_0x2c29('0x8'));var attributes=require(_0x2c29('0x9'));module[_0x2c29('0xa')]=function(_0x570c43,_0x213b52){return _0x570c43[_0x2c29('0xb')]('UserVoiceQueue',attributes,{'tableName':_0x2c29('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};