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 _0x4ed0=['bluebird','./userOpenchannelQueue.attributes','exports','user_has_openchannel_queues','../../config/logger','api','moment'];(function(_0x2ae246,_0x2390a4){var _0x5e625d=function(_0x5185d2){while(--_0x5185d2){_0x2ae246['push'](_0x2ae246['shift']());}};_0x5e625d(++_0x2390a4);}(_0x4ed0,0x1d2));var _0x04ed=function(_0xa464c9,_0x7c86d8){_0xa464c9=_0xa464c9-0x0;var _0x3d73c4=_0x4ed0[_0xa464c9];return _0x3d73c4;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x04ed('0x0'))(_0x04ed('0x1'));var moment=require(_0x04ed('0x2'));var BPromise=require(_0x04ed('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x04ed('0x4'));module[_0x04ed('0x5')]=function(_0x22bc04,_0xfed6ba){return _0x22bc04['define']('UserOpenchannelQueue',attributes,{'tableName':_0x04ed('0x6'),'paranoid':![],'indexes':[],'timestamps':!![]});};