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 _0xc71d=['user_has_chat_queues','util','../../config/logger','moment','request-promise','rimraf','../../config/environment','./userChatQueue.attributes','exports','define','UserChatQueue'];(function(_0x1abd7d,_0x17e2d8){var _0x5923c6=function(_0x3df741){while(--_0x3df741){_0x1abd7d['push'](_0x1abd7d['shift']());}};_0x5923c6(++_0x17e2d8);}(_0xc71d,0x12a));var _0xdc71=function(_0x4232d8,_0x13fd09){_0x4232d8=_0x4232d8-0x0;var _0x324de2=_0xc71d[_0x4232d8];return _0x324de2;};'use strict';var _=require('lodash');var util=require(_0xdc71('0x0'));var logger=require(_0xdc71('0x1'))('api');var moment=require(_0xdc71('0x2'));var BPromise=require('bluebird');var rp=require(_0xdc71('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0xdc71('0x4'));var config=require(_0xdc71('0x5'));var attributes=require(_0xdc71('0x6'));module[_0xdc71('0x7')]=function(_0x4a8fd3,_0x4dd55b){return _0x4a8fd3[_0xdc71('0x8')](_0xdc71('0x9'),attributes,{'tableName':_0xdc71('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};