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 _0xa711=['whatsapp_queues','lodash','../../config/logger','api','bluebird','request-promise','./whatsappQueue.attributes','exports','define','WhatsappQueue'];(function(_0x2d0043,_0x160399){var _0x1a7c6f=function(_0x1921dc){while(--_0x1921dc){_0x2d0043['push'](_0x2d0043['shift']());}};_0x1a7c6f(++_0x160399);}(_0xa711,0x123));var _0x1a71=function(_0x25e324,_0x4e7e0f){_0x25e324=_0x25e324-0x0;var _0x863d7a=_0xa711[_0x25e324];return _0x863d7a;};'use strict';var _=require(_0x1a71('0x0'));var util=require('util');var logger=require(_0x1a71('0x1'))(_0x1a71('0x2'));var moment=require('moment');var BPromise=require(_0x1a71('0x3'));var rp=require(_0x1a71('0x4'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x1a71('0x5'));module[_0x1a71('0x6')]=function(_0xcf45c,_0x221da7){return _0xcf45c[_0x1a71('0x7')](_0x1a71('0x8'),attributes,{'tableName':_0x1a71('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};