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 _0xf912=['path','rimraf','../../config/environment','./userWhatsappQueue.attributes','exports','define','UserWhatsappQueue','user_has_whatsapp_queues','lodash','util','../../config/logger','moment','bluebird','request-promise'];(function(_0x5e265e,_0x58b246){var _0x55a032=function(_0x55af38){while(--_0x55af38){_0x5e265e['push'](_0x5e265e['shift']());}};_0x55a032(++_0x58b246);}(_0xf912,0x112));var _0x2f91=function(_0x4b8397,_0x2a84e9){_0x4b8397=_0x4b8397-0x0;var _0x4b438d=_0xf912[_0x4b8397];return _0x4b438d;};'use strict';var _=require(_0x2f91('0x0'));var util=require(_0x2f91('0x1'));var logger=require(_0x2f91('0x2'))('api');var moment=require(_0x2f91('0x3'));var BPromise=require(_0x2f91('0x4'));var rp=require(_0x2f91('0x5'));var fs=require('fs');var path=require(_0x2f91('0x6'));var rimraf=require(_0x2f91('0x7'));var config=require(_0x2f91('0x8'));var attributes=require(_0x2f91('0x9'));module[_0x2f91('0xa')]=function(_0x4e3196,_0x5d41bb){return _0x4e3196[_0x2f91('0xb')](_0x2f91('0xc'),attributes,{'tableName':_0x2f91('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};