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 _0xc0c8=['path','rimraf','../../config/environment','define','user_has_openchannel_queues','lodash','api','moment','bluebird','request-promise'];(function(_0x59f5fe,_0x4524ed){var _0x398bd2=function(_0x148eda){while(--_0x148eda){_0x59f5fe['push'](_0x59f5fe['shift']());}};_0x398bd2(++_0x4524ed);}(_0xc0c8,0x16d));var _0x8c0c=function(_0x2f91db,_0x3b979a){_0x2f91db=_0x2f91db-0x0;var _0x1f22cf=_0xc0c8[_0x2f91db];return _0x1f22cf;};'use strict';var _=require(_0x8c0c('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x8c0c('0x1'));var moment=require(_0x8c0c('0x2'));var BPromise=require(_0x8c0c('0x3'));var rp=require(_0x8c0c('0x4'));var fs=require('fs');var path=require(_0x8c0c('0x5'));var rimraf=require(_0x8c0c('0x6'));var config=require(_0x8c0c('0x7'));var attributes=require('./userOpenchannelQueue.attributes');module['exports']=function(_0x26910f,_0x2f5b86){return _0x26910f[_0x8c0c('0x8')]('UserOpenchannelQueue',attributes,{'tableName':_0x8c0c('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};