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 _0x55a7=['report_whatsapp_transfer','uniqueid','util','../../config/logger','api','moment','request-promise','path','./whatsappTransferReport.attributes','exports'];(function(_0x1236c5,_0x19733d){var _0x3661dc=function(_0x4a420c){while(--_0x4a420c){_0x1236c5['push'](_0x1236c5['shift']());}};_0x3661dc(++_0x19733d);}(_0x55a7,0x174));var _0x755a=function(_0x5433fc,_0x3459ff){_0x5433fc=_0x5433fc-0x0;var _0x2f58d0=_0x55a7[_0x5433fc];return _0x2f58d0;};'use strict';var _=require('lodash');var util=require(_0x755a('0x0'));var logger=require(_0x755a('0x1'))(_0x755a('0x2'));var moment=require(_0x755a('0x3'));var BPromise=require('bluebird');var rp=require(_0x755a('0x4'));var fs=require('fs');var path=require(_0x755a('0x5'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x755a('0x6'));module[_0x755a('0x7')]=function(_0x190dcb,_0x43b9a9){return _0x190dcb['define']('WhatsappTransferReport',attributes,{'tableName':_0x755a('0x8'),'paranoid':![],'indexes':[{'name':_0x755a('0x9'),'fields':[_0x755a('0x9')]}],'timestamps':!![]});};