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 _0x4ea2=['request-promise','path','rimraf','../../config/environment','exports','define','UserWhatsappQueue','user_has_whatsapp_queues','util','../../config/logger','api','bluebird'];(function(_0x17f672,_0x2653a3){var _0xf5d9be=function(_0x3b51aa){while(--_0x3b51aa){_0x17f672['push'](_0x17f672['shift']());}};_0xf5d9be(++_0x2653a3);}(_0x4ea2,0xec));var _0x24ea=function(_0x36c6eb,_0x4fb127){_0x36c6eb=_0x36c6eb-0x0;var _0x30675b=_0x4ea2[_0x36c6eb];return _0x30675b;};'use strict';var _=require('lodash');var util=require(_0x24ea('0x0'));var logger=require(_0x24ea('0x1'))(_0x24ea('0x2'));var moment=require('moment');var BPromise=require(_0x24ea('0x3'));var rp=require(_0x24ea('0x4'));var fs=require('fs');var path=require(_0x24ea('0x5'));var rimraf=require(_0x24ea('0x6'));var config=require(_0x24ea('0x7'));var attributes=require('./userWhatsappQueue.attributes');module[_0x24ea('0x8')]=function(_0x37bd8f,_0x236d3c){return _0x37bd8f[_0x24ea('0x9')](_0x24ea('0xa'),attributes,{'tableName':_0x24ea('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};