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 _0x96fe=['define','UserOpenchannelQueue','user_has_openchannel_queues','lodash','util','path','rimraf','../../config/environment'];(function(_0x1217b7,_0x14dfbc){var _0x331ddc=function(_0x366d8b){while(--_0x366d8b){_0x1217b7['push'](_0x1217b7['shift']());}};_0x331ddc(++_0x14dfbc);}(_0x96fe,0xdb));var _0xe96f=function(_0x418e5e,_0x198904){_0x418e5e=_0x418e5e-0x0;var _0x1f5053=_0x96fe[_0x418e5e];return _0x1f5053;};'use strict';var _=require(_0xe96f('0x0'));var util=require(_0xe96f('0x1'));var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xe96f('0x2'));var rimraf=require(_0xe96f('0x3'));var config=require(_0xe96f('0x4'));var attributes=require('./userOpenchannelQueue.attributes');module['exports']=function(_0x190d58,_0x2a3d2a){return _0x190d58[_0xe96f('0x5')](_0xe96f('0x6'),attributes,{'tableName':_0xe96f('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};