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 _0x1df0=['WhatsappQueue','whatsapp_queues','lodash','../../config/logger','api','path','../../config/environment','./whatsappQueue.attributes','define'];(function(_0x3d0a92,_0x5a1bd0){var _0x4ee517=function(_0x2cff67){while(--_0x2cff67){_0x3d0a92['push'](_0x3d0a92['shift']());}};_0x4ee517(++_0x5a1bd0);}(_0x1df0,0x119));var _0x01df=function(_0x138adb,_0x193fee){_0x138adb=_0x138adb-0x0;var _0x1b27f2=_0x1df0[_0x138adb];return _0x1b27f2;};'use strict';var _=require(_0x01df('0x0'));var util=require('util');var logger=require(_0x01df('0x1'))(_0x01df('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x01df('0x3'));var rimraf=require('rimraf');var config=require(_0x01df('0x4'));var attributes=require(_0x01df('0x5'));module['exports']=function(_0x480b86,_0x2c725a){return _0x480b86[_0x01df('0x6')](_0x01df('0x7'),attributes,{'tableName':_0x01df('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};