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 _0x4bca=['lodash','util','../../config/logger','bluebird','request-promise','path','../../config/environment','exports','WhatsappTransferReport','uniqueid'];(function(_0xf10ab2,_0x4139fa){var _0x4c6629=function(_0x1be701){while(--_0x1be701){_0xf10ab2['push'](_0xf10ab2['shift']());}};_0x4c6629(++_0x4139fa);}(_0x4bca,0x1c2));var _0xa4bc=function(_0x4452c1,_0x4cc239){_0x4452c1=_0x4452c1-0x0;var _0x445130=_0x4bca[_0x4452c1];return _0x445130;};'use strict';var _=require(_0xa4bc('0x0'));var util=require(_0xa4bc('0x1'));var logger=require(_0xa4bc('0x2'))('api');var moment=require('moment');var BPromise=require(_0xa4bc('0x3'));var rp=require(_0xa4bc('0x4'));var fs=require('fs');var path=require(_0xa4bc('0x5'));var rimraf=require('rimraf');var config=require(_0xa4bc('0x6'));var attributes=require('./whatsappTransferReport.attributes');module[_0xa4bc('0x7')]=function(_0x19768a,_0x442554){return _0x19768a['define'](_0xa4bc('0x8'),attributes,{'tableName':'report_whatsapp_transfer','paranoid':![],'indexes':[{'name':_0xa4bc('0x9'),'fields':[_0xa4bc('0x9')]}],'timestamps':!![]});};