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 _0x4f3f=['request-promise','path','./whatsappQueue.attributes','exports','define','whatsapp_queues','lodash','../../config/logger','api','moment'];(function(_0x2df41c,_0x415709){var _0x18796e=function(_0x1eb02b){while(--_0x1eb02b){_0x2df41c['push'](_0x2df41c['shift']());}};_0x18796e(++_0x415709);}(_0x4f3f,0xd8));var _0xf4f3=function(_0x2ada93,_0x5c6763){_0x2ada93=_0x2ada93-0x0;var _0x4d48e0=_0x4f3f[_0x2ada93];return _0x4d48e0;};'use strict';var _=require(_0xf4f3('0x0'));var util=require('util');var logger=require(_0xf4f3('0x1'))(_0xf4f3('0x2'));var moment=require(_0xf4f3('0x3'));var BPromise=require('bluebird');var rp=require(_0xf4f3('0x4'));var fs=require('fs');var path=require(_0xf4f3('0x5'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xf4f3('0x6'));module[_0xf4f3('0x7')]=function(_0x57a67c,_0x418695){return _0x57a67c[_0xf4f3('0x8')]('WhatsappQueue',attributes,{'tableName':_0xf4f3('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};