1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0xc88c=['../../config/logger','api','path','exports','define','UserVoiceQueueRt','user_has_voice_queues_rt','lodash'];(function(_0xa08526,_0xd2a376){var _0x2684eb=function(_0x2bfe3a){while(--_0x2bfe3a){_0xa08526['push'](_0xa08526['shift']());}};_0x2684eb(++_0xd2a376);}(_0xc88c,0x187));var _0xcc88=function(_0x5de446,_0x2c10ee){_0x5de446=_0x5de446-0x0;var _0x3b23fd=_0xc88c[_0x5de446];return _0x3b23fd;};'use strict';var _=require(_0xcc88('0x0'));var util=require('util');var logger=require(_0xcc88('0x1'))(_0xcc88('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xcc88('0x3'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require('./userVoiceQueueRt.attributes');module[_0xcc88('0x4')]=function(_0x433714,_0x7aa967){return _0x433714[_0xcc88('0x5')](_0xcc88('0x6'),attributes,{'tableName':_0xcc88('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};