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 _0x9f6b=['./whatsappTransferReport.attributes','exports','define','WhatsappTransferReport','report_whatsapp_transfer','uniqueid','lodash','util','../../config/logger','api','request-promise','path','rimraf','../../config/environment'];(function(_0x762f6f,_0x23da53){var _0x1219f8=function(_0x3e234a){while(--_0x3e234a){_0x762f6f['push'](_0x762f6f['shift']());}};_0x1219f8(++_0x23da53);}(_0x9f6b,0x1b8));var _0xb9f6=function(_0x6c41,_0x1e1a01){_0x6c41=_0x6c41-0x0;var _0x51b408=_0x9f6b[_0x6c41];return _0x51b408;};'use strict';var _=require(_0xb9f6('0x0'));var util=require(_0xb9f6('0x1'));var logger=require(_0xb9f6('0x2'))(_0xb9f6('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xb9f6('0x4'));var fs=require('fs');var path=require(_0xb9f6('0x5'));var rimraf=require(_0xb9f6('0x6'));var config=require(_0xb9f6('0x7'));var attributes=require(_0xb9f6('0x8'));module[_0xb9f6('0x9')]=function(_0x8272d5,_0x53382d){return _0x8272d5[_0xb9f6('0xa')](_0xb9f6('0xb'),attributes,{'tableName':_0xb9f6('0xc'),'paranoid':![],'indexes':[{'name':_0xb9f6('0xd'),'fields':['uniqueid']}],'timestamps':!![]});};