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 _0xba2f=['../../config/logger','bluebird','request-promise','path','rimraf','../../config/environment','define','whatsapp_queues','util'];(function(_0x403c20,_0x4a7b99){var _0x2b271a=function(_0x106ecb){while(--_0x106ecb){_0x403c20['push'](_0x403c20['shift']());}};_0x2b271a(++_0x4a7b99);}(_0xba2f,0x98));var _0xfba2=function(_0x476d4d,_0x4ef2ab){_0x476d4d=_0x476d4d-0x0;var _0x5c3da2=_0xba2f[_0x476d4d];return _0x5c3da2;};'use strict';var _=require('lodash');var util=require(_0xfba2('0x0'));var logger=require(_0xfba2('0x1'))('api');var moment=require('moment');var BPromise=require(_0xfba2('0x2'));var rp=require(_0xfba2('0x3'));var fs=require('fs');var path=require(_0xfba2('0x4'));var rimraf=require(_0xfba2('0x5'));var config=require(_0xfba2('0x6'));var attributes=require('./whatsappQueue.attributes');module['exports']=function(_0x360dd6,_0x2f33a4){return _0x360dd6[_0xfba2('0x7')]('WhatsappQueue',attributes,{'tableName':_0xfba2('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};