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 _0x7aa1=['UserVoiceQueueRt','lodash','util','../../config/logger','api','bluebird','path','../../config/environment','exports','define'];(function(_0x35d3a8,_0x44406a){var _0x182378=function(_0x298e0b){while(--_0x298e0b){_0x35d3a8['push'](_0x35d3a8['shift']());}};_0x182378(++_0x44406a);}(_0x7aa1,0x169));var _0x17aa=function(_0x1677e9,_0x2e297c){_0x1677e9=_0x1677e9-0x0;var _0x32db12=_0x7aa1[_0x1677e9];return _0x32db12;};'use strict';var _=require(_0x17aa('0x0'));var util=require(_0x17aa('0x1'));var logger=require(_0x17aa('0x2'))(_0x17aa('0x3'));var moment=require('moment');var BPromise=require(_0x17aa('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x17aa('0x5'));var rimraf=require('rimraf');var config=require(_0x17aa('0x6'));var attributes=require('./userVoiceQueueRt.attributes');module[_0x17aa('0x7')]=function(_0x32f2ed,_0x2e2cd3){return _0x32f2ed[_0x17aa('0x8')](_0x17aa('0x9'),attributes,{'tableName':'user_has_voice_queues_rt','paranoid':![],'indexes':[],'timestamps':!![]});};