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 _0xf857=['moment','request-promise','path','rimraf','../../config/environment','exports','define','UserChatQueue','lodash','util'];(function(_0x59a240,_0x4680d3){var _0x4eaec6=function(_0x409784){while(--_0x409784){_0x59a240['push'](_0x59a240['shift']());}};_0x4eaec6(++_0x4680d3);}(_0xf857,0x13e));var _0x7f85=function(_0x57afc1,_0x5051e6){_0x57afc1=_0x57afc1-0x0;var _0x7f1f47=_0xf857[_0x57afc1];return _0x7f1f47;};'use strict';var _=require(_0x7f85('0x0'));var util=require(_0x7f85('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x7f85('0x2'));var BPromise=require('bluebird');var rp=require(_0x7f85('0x3'));var fs=require('fs');var path=require(_0x7f85('0x4'));var rimraf=require(_0x7f85('0x5'));var config=require(_0x7f85('0x6'));var attributes=require('./userChatQueue.attributes');module[_0x7f85('0x7')]=function(_0x2bde0f,_0x13c9a7){return _0x2bde0f[_0x7f85('0x8')](_0x7f85('0x9'),attributes,{'tableName':'user_has_chat_queues','paranoid':![],'indexes':[],'timestamps':!![]});};