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 _0x63ce=['define','whatsapp_queues','util','moment','bluebird','path','rimraf','../../config/environment','./whatsappQueue.attributes'];(function(_0x2112d4,_0x3c863c){var _0x434972=function(_0x477020){while(--_0x477020){_0x2112d4['push'](_0x2112d4['shift']());}};_0x434972(++_0x3c863c);}(_0x63ce,0xda));var _0xe63c=function(_0x2a390b,_0xf49f9b){_0x2a390b=_0x2a390b-0x0;var _0x5df10a=_0x63ce[_0x2a390b];return _0x5df10a;};'use strict';var _=require('lodash');var util=require(_0xe63c('0x0'));var logger=require('../../config/logger')('api');var moment=require(_0xe63c('0x1'));var BPromise=require(_0xe63c('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xe63c('0x3'));var rimraf=require(_0xe63c('0x4'));var config=require(_0xe63c('0x5'));var attributes=require(_0xe63c('0x6'));module['exports']=function(_0x2e3598,_0x40ff2e){return _0x2e3598[_0xe63c('0x7')]('WhatsappQueue',attributes,{'tableName':_0xe63c('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};