e30e0429e4adc0e0a6c79c0cee856c19b6c35347
[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 _0xc1ad=['rimraf','../../config/environment','exports','define','user_has_voice_queues_rt','util','../../config/logger','path'];(function(_0x387c65,_0x2fd251){var _0x4d24b7=function(_0x58e055){while(--_0x58e055){_0x387c65['push'](_0x387c65['shift']());}};_0x4d24b7(++_0x2fd251);}(_0xc1ad,0x1ad));var _0xdc1a=function(_0x37d892,_0x5c75dd){_0x37d892=_0x37d892-0x0;var _0x5b4e1f=_0xc1ad[_0x37d892];return _0x5b4e1f;};'use strict';var _=require('lodash');var util=require(_0xdc1a('0x0'));var logger=require(_0xdc1a('0x1'))('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xdc1a('0x2'));var rimraf=require(_0xdc1a('0x3'));var config=require(_0xdc1a('0x4'));var attributes=require('./userVoiceQueueRt.attributes');module[_0xdc1a('0x5')]=function(_0xed78d9,_0x11ca95){return _0xed78d9[_0xdc1a('0x6')]('UserVoiceQueueRt',attributes,{'tableName':_0xdc1a('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};