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 _0xa8b9=['bluebird','request-promise','rimraf','./userChatQueue.attributes','define','user_has_chat_queues','lodash','util','../../config/logger'];(function(_0x5e9756,_0x7647a5){var _0x215cb8=function(_0x11a2e8){while(--_0x11a2e8){_0x5e9756['push'](_0x5e9756['shift']());}};_0x215cb8(++_0x7647a5);}(_0xa8b9,0xc3));var _0x9a8b=function(_0x498539,_0x1f838d){_0x498539=_0x498539-0x0;var _0xbfdd14=_0xa8b9[_0x498539];return _0xbfdd14;};'use strict';var _=require(_0x9a8b('0x0'));var util=require(_0x9a8b('0x1'));var logger=require(_0x9a8b('0x2'))('api');var moment=require('moment');var BPromise=require(_0x9a8b('0x3'));var rp=require(_0x9a8b('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x9a8b('0x5'));var config=require('../../config/environment');var attributes=require(_0x9a8b('0x6'));module['exports']=function(_0x487aea,_0x134956){return _0x487aea[_0x9a8b('0x7')]('UserChatQueue',attributes,{'tableName':_0x9a8b('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};