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 _0x4f06=['request-promise','../../config/environment','./whatsappQueueReport.attributes','define','WhatsappQueueReport','uniqueid','lodash','../../config/logger','moment','bluebird'];(function(_0x5a9524,_0x113509){var _0xe3170=function(_0x551c2d){while(--_0x551c2d){_0x5a9524['push'](_0x5a9524['shift']());}};_0xe3170(++_0x113509);}(_0x4f06,0x178));var _0x64f0=function(_0x38d398,_0x199bce){_0x38d398=_0x38d398-0x0;var _0x9d824f=_0x4f06[_0x38d398];return _0x9d824f;};'use strict';var _=require(_0x64f0('0x0'));var util=require('util');var logger=require(_0x64f0('0x1'))('api');var moment=require(_0x64f0('0x2'));var BPromise=require(_0x64f0('0x3'));var rp=require(_0x64f0('0x4'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x64f0('0x5'));var attributes=require(_0x64f0('0x6'));module['exports']=function(_0x2201a8,_0x564d3d){return _0x2201a8[_0x64f0('0x7')](_0x64f0('0x8'),attributes,{'tableName':'report_whatsapp_queue','paranoid':![],'indexes':[{'name':_0x64f0('0x9'),'fields':[_0x64f0('0x9')]}],'timestamps':!![]});};