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 _0xe535=['moment','bluebird','path','rimraf','../../config/environment','define','WhatsappQueue','util','../../config/logger','api'];(function(_0x58b019,_0x1ecddf){var _0x1decfb=function(_0x169c22){while(--_0x169c22){_0x58b019['push'](_0x58b019['shift']());}};_0x1decfb(++_0x1ecddf);}(_0xe535,0x11f));var _0x5e53=function(_0x40bffc,_0x3a45d7){_0x40bffc=_0x40bffc-0x0;var _0x3007e9=_0xe535[_0x40bffc];return _0x3007e9;};'use strict';var _=require('lodash');var util=require(_0x5e53('0x0'));var logger=require(_0x5e53('0x1'))(_0x5e53('0x2'));var moment=require(_0x5e53('0x3'));var BPromise=require(_0x5e53('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x5e53('0x5'));var rimraf=require(_0x5e53('0x6'));var config=require(_0x5e53('0x7'));var attributes=require('./whatsappQueue.attributes');module['exports']=function(_0x944245,_0x5ebc6d){return _0x944245[_0x5e53('0x8')](_0x5e53('0x9'),attributes,{'tableName':'whatsapp_queues','paranoid':![],'indexes':[],'timestamps':!![]});};