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 _0x2a0b=['UserVoiceQueue','user_has_voice_queues','util','moment','bluebird','request-promise','path','define'];(function(_0x1e1621,_0x52841a){var _0x3d11fd=function(_0x1008fc){while(--_0x1008fc){_0x1e1621['push'](_0x1e1621['shift']());}};_0x3d11fd(++_0x52841a);}(_0x2a0b,0xba));var _0xb2a0=function(_0x6f645d,_0x5ae1d8){_0x6f645d=_0x6f645d-0x0;var _0x3631ec=_0x2a0b[_0x6f645d];return _0x3631ec;};'use strict';var _=require('lodash');var util=require(_0xb2a0('0x0'));var logger=require('../../config/logger')('api');var moment=require(_0xb2a0('0x1'));var BPromise=require(_0xb2a0('0x2'));var rp=require(_0xb2a0('0x3'));var fs=require('fs');var path=require(_0xb2a0('0x4'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require('./userVoiceQueue.attributes');module['exports']=function(_0x6a2fbf,_0x23ee31){return _0x6a2fbf[_0xb2a0('0x5')](_0xb2a0('0x6'),attributes,{'tableName':_0xb2a0('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};