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 _0xafa4=['bluebird','path','rimraf','../../config/environment','exports','whatsapp_queues','lodash','util','../../config/logger','api'];(function(_0x72699,_0x2db3f6){var _0x183e18=function(_0x263e9f){while(--_0x263e9f){_0x72699['push'](_0x72699['shift']());}};_0x183e18(++_0x2db3f6);}(_0xafa4,0x132));var _0x4afa=function(_0x53a2c9,_0x5bcc2e){_0x53a2c9=_0x53a2c9-0x0;var _0x3b1949=_0xafa4[_0x53a2c9];return _0x3b1949;};'use strict';var _=require(_0x4afa('0x0'));var util=require(_0x4afa('0x1'));var logger=require(_0x4afa('0x2'))(_0x4afa('0x3'));var moment=require('moment');var BPromise=require(_0x4afa('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x4afa('0x5'));var rimraf=require(_0x4afa('0x6'));var config=require(_0x4afa('0x7'));var attributes=require('./whatsappQueue.attributes');module[_0x4afa('0x8')]=function(_0x3cef4a,_0x332deb){return _0x3cef4a['define']('WhatsappQueue',attributes,{'tableName':_0x4afa('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};