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 _0x8ac5=['path','../../config/environment','define','UserVoiceQueue','user_has_voice_queues','util','api','moment','bluebird','request-promise'];(function(_0x30e616,_0x54d51f){var _0x33895b=function(_0x5d2958){while(--_0x5d2958){_0x30e616['push'](_0x30e616['shift']());}};_0x33895b(++_0x54d51f);}(_0x8ac5,0x109));var _0x58ac=function(_0xb3ca4a,_0x1cc12e){_0xb3ca4a=_0xb3ca4a-0x0;var _0x350ef4=_0x8ac5[_0xb3ca4a];return _0x350ef4;};'use strict';var _=require('lodash');var util=require(_0x58ac('0x0'));var logger=require('../../config/logger')(_0x58ac('0x1'));var moment=require(_0x58ac('0x2'));var BPromise=require(_0x58ac('0x3'));var rp=require(_0x58ac('0x4'));var fs=require('fs');var path=require(_0x58ac('0x5'));var rimraf=require('rimraf');var config=require(_0x58ac('0x6'));var attributes=require('./userVoiceQueue.attributes');module['exports']=function(_0x1500e8,_0x5e8279){return _0x1500e8[_0x58ac('0x7')](_0x58ac('0x8'),attributes,{'tableName':_0x58ac('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};