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 _0x955f=['user_has_whatsapp_queues','lodash','util','../../config/logger','api','moment','request-promise','../../config/environment','exports','UserWhatsappQueue'];(function(_0x3b9f2b,_0x1e9ed3){var _0x129f8b=function(_0x5de20d){while(--_0x5de20d){_0x3b9f2b['push'](_0x3b9f2b['shift']());}};_0x129f8b(++_0x1e9ed3);}(_0x955f,0x1eb));var _0xf955=function(_0x21dca3,_0x1e77cd){_0x21dca3=_0x21dca3-0x0;var _0x32f3e0=_0x955f[_0x21dca3];return _0x32f3e0;};'use strict';var _=require(_0xf955('0x0'));var util=require(_0xf955('0x1'));var logger=require(_0xf955('0x2'))(_0xf955('0x3'));var moment=require(_0xf955('0x4'));var BPromise=require('bluebird');var rp=require(_0xf955('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xf955('0x6'));var attributes=require('./userWhatsappQueue.attributes');module[_0xf955('0x7')]=function(_0x2caff2,_0x3fdac2){return _0x2caff2['define'](_0xf955('0x8'),attributes,{'tableName':_0xf955('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};