37e715c7b82a0d558a0d99efc6f4bfafcf2b32d0
[motion2.git] / server / api / userVoiceQueueRt / userVoiceQueueRt.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 _0x518a=['exports','define','user_has_voice_queues_rt','lodash','../../config/logger','api','moment','bluebird','request-promise','path'];(function(_0x25b00d,_0xc4ee5e){var _0x20b719=function(_0x55aec6){while(--_0x55aec6){_0x25b00d['push'](_0x25b00d['shift']());}};_0x20b719(++_0xc4ee5e);}(_0x518a,0xfd));var _0xa518=function(_0x217ea5,_0x1d327d){_0x217ea5=_0x217ea5-0x0;var _0x3fff81=_0x518a[_0x217ea5];return _0x3fff81;};'use strict';var _=require(_0xa518('0x0'));var util=require('util');var logger=require(_0xa518('0x1'))(_0xa518('0x2'));var moment=require(_0xa518('0x3'));var BPromise=require(_0xa518('0x4'));var rp=require(_0xa518('0x5'));var fs=require('fs');var path=require(_0xa518('0x6'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require('./userVoiceQueueRt.attributes');module[_0xa518('0x7')]=function(_0x2c9c9a,_0x286a23){return _0x2c9c9a[_0xa518('0x8')]('UserVoiceQueueRt',attributes,{'tableName':_0xa518('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};