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 _0x5d15=['define','whatsapp_queues','lodash','util','../../config/logger','api','moment','bluebird','path','../../config/environment','./whatsappQueue.attributes','exports'];(function(_0x15b813,_0x328e09){var _0x36411f=function(_0x458183){while(--_0x458183){_0x15b813['push'](_0x15b813['shift']());}};_0x36411f(++_0x328e09);}(_0x5d15,0xc2));var _0x55d1=function(_0x343e44,_0x519af9){_0x343e44=_0x343e44-0x0;var _0xa5130e=_0x5d15[_0x343e44];return _0xa5130e;};'use strict';var _=require(_0x55d1('0x0'));var util=require(_0x55d1('0x1'));var logger=require(_0x55d1('0x2'))(_0x55d1('0x3'));var moment=require(_0x55d1('0x4'));var BPromise=require(_0x55d1('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x55d1('0x6'));var rimraf=require('rimraf');var config=require(_0x55d1('0x7'));var attributes=require(_0x55d1('0x8'));module[_0x55d1('0x9')]=function(_0x1c818d,_0x40d1d4){return _0x1c818d[_0x55d1('0xa')]('WhatsappQueue',attributes,{'tableName':_0x55d1('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};