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 _0x5eb3=['./userOpenchannelQueue.attributes','exports','define','UserOpenchannelQueue','user_has_openchannel_queues','lodash','util','api','moment','bluebird','path','rimraf','../../config/environment'];(function(_0x580647,_0x43d2c3){var _0x5f0792=function(_0x386cef){while(--_0x386cef){_0x580647['push'](_0x580647['shift']());}};_0x5f0792(++_0x43d2c3);}(_0x5eb3,0x1cc));var _0x35eb=function(_0x1147ab,_0x10e72b){_0x1147ab=_0x1147ab-0x0;var _0x55cb5a=_0x5eb3[_0x1147ab];return _0x55cb5a;};'use strict';var _=require(_0x35eb('0x0'));var util=require(_0x35eb('0x1'));var logger=require('../../config/logger')(_0x35eb('0x2'));var moment=require(_0x35eb('0x3'));var BPromise=require(_0x35eb('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x35eb('0x5'));var rimraf=require(_0x35eb('0x6'));var config=require(_0x35eb('0x7'));var attributes=require(_0x35eb('0x8'));module[_0x35eb('0x9')]=function(_0x54ad3a,_0x26b3f8){return _0x54ad3a[_0x35eb('0xa')](_0x35eb('0xb'),attributes,{'tableName':_0x35eb('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};