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 _0xae24=['../../config/logger','moment','bluebird','rimraf','./userVoiceQueue.attributes','exports','define','UserVoiceQueue','lodash'];(function(_0x428871,_0x427e80){var _0x1277d5=function(_0x6b7edf){while(--_0x6b7edf){_0x428871['push'](_0x428871['shift']());}};_0x1277d5(++_0x427e80);}(_0xae24,0x182));var _0x4ae2=function(_0x1fa8a1,_0x57c057){_0x1fa8a1=_0x1fa8a1-0x0;var _0x28397c=_0xae24[_0x1fa8a1];return _0x28397c;};'use strict';var _=require(_0x4ae2('0x0'));var util=require('util');var logger=require(_0x4ae2('0x1'))('api');var moment=require(_0x4ae2('0x2'));var BPromise=require(_0x4ae2('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x4ae2('0x4'));var config=require('../../config/environment');var attributes=require(_0x4ae2('0x5'));module[_0x4ae2('0x6')]=function(_0x20c85c,_0x3e6055){return _0x20c85c[_0x4ae2('0x7')](_0x4ae2('0x8'),attributes,{'tableName':'user_has_voice_queues','paranoid':![],'indexes':[],'timestamps':!![]});};