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 _0xbd9e=['./userChatQueue.attributes','define','UserChatQueue','user_has_chat_queues','../../config/logger','moment','bluebird','request-promise','path','rimraf'];(function(_0x57b54c,_0x54ce0d){var _0x59cc19=function(_0xa33bc6){while(--_0xa33bc6){_0x57b54c['push'](_0x57b54c['shift']());}};_0x59cc19(++_0x54ce0d);}(_0xbd9e,0x108));var _0xebd9=function(_0x1992f1,_0x5c61f0){_0x1992f1=_0x1992f1-0x0;var _0x413dfe=_0xbd9e[_0x1992f1];return _0x413dfe;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xebd9('0x0'))('api');var moment=require(_0xebd9('0x1'));var BPromise=require(_0xebd9('0x2'));var rp=require(_0xebd9('0x3'));var fs=require('fs');var path=require(_0xebd9('0x4'));var rimraf=require(_0xebd9('0x5'));var config=require('../../config/environment');var attributes=require(_0xebd9('0x6'));module['exports']=function(_0x3b2ade,_0x17f877){return _0x3b2ade[_0xebd9('0x7')](_0xebd9('0x8'),attributes,{'tableName':_0xebd9('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};