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 _0xc2db=['rimraf','../../config/environment','exports','define','UserWhatsappQueue','user_has_whatsapp_queues','lodash','util','api','bluebird'];(function(_0x36eaaa,_0x326732){var _0x461349=function(_0x4e4180){while(--_0x4e4180){_0x36eaaa['push'](_0x36eaaa['shift']());}};_0x461349(++_0x326732);}(_0xc2db,0x9c));var _0xbc2d=function(_0x126558,_0x143c9a){_0x126558=_0x126558-0x0;var _0x1f6d14=_0xc2db[_0x126558];return _0x1f6d14;};'use strict';var _=require(_0xbc2d('0x0'));var util=require(_0xbc2d('0x1'));var logger=require('../../config/logger')(_0xbc2d('0x2'));var moment=require('moment');var BPromise=require(_0xbc2d('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xbc2d('0x4'));var config=require(_0xbc2d('0x5'));var attributes=require('./userWhatsappQueue.attributes');module[_0xbc2d('0x6')]=function(_0x128a57,_0x5db098){return _0x128a57[_0xbc2d('0x7')](_0xbc2d('0x8'),attributes,{'tableName':_0xbc2d('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};