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 _0x4049=['../../config/environment','./userChatQueue.attributes','exports','define','UserChatQueue','user_has_chat_queues','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path'];(function(_0x26c718,_0x554fe7){var _0x563e96=function(_0x5367ac){while(--_0x5367ac){_0x26c718['push'](_0x26c718['shift']());}};_0x563e96(++_0x554fe7);}(_0x4049,0xf4));var _0x9404=function(_0x58e09b,_0x6ef44c){_0x58e09b=_0x58e09b-0x0;var _0x243038=_0x4049[_0x58e09b];return _0x243038;};'use strict';var _=require(_0x9404('0x0'));var util=require(_0x9404('0x1'));var logger=require(_0x9404('0x2'))(_0x9404('0x3'));var moment=require(_0x9404('0x4'));var BPromise=require(_0x9404('0x5'));var rp=require(_0x9404('0x6'));var fs=require('fs');var path=require(_0x9404('0x7'));var rimraf=require('rimraf');var config=require(_0x9404('0x8'));var attributes=require(_0x9404('0x9'));module[_0x9404('0xa')]=function(_0x10f611,_0x5c50af){return _0x10f611[_0x9404('0xb')](_0x9404('0xc'),attributes,{'tableName':_0x9404('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};