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 _0x59b6=['util','moment','bluebird','request-promise','../../config/environment','./whatsappTransferReport.attributes','define','WhatsappTransferReport','uniqueid'];(function(_0x1ee43f,_0x4686d8){var _0x1cb212=function(_0x3a8bc6){while(--_0x3a8bc6){_0x1ee43f['push'](_0x1ee43f['shift']());}};_0x1cb212(++_0x4686d8);}(_0x59b6,0x7e));var _0x659b=function(_0xbf0972,_0x2e7307){_0xbf0972=_0xbf0972-0x0;var _0x2306ff=_0x59b6[_0xbf0972];return _0x2306ff;};'use strict';var _=require('lodash');var util=require(_0x659b('0x0'));var logger=require('../../config/logger')('api');var moment=require(_0x659b('0x1'));var BPromise=require(_0x659b('0x2'));var rp=require(_0x659b('0x3'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x659b('0x4'));var attributes=require(_0x659b('0x5'));module['exports']=function(_0x166d0f,_0x435d41){return _0x166d0f[_0x659b('0x6')](_0x659b('0x7'),attributes,{'tableName':'report_whatsapp_transfer','paranoid':![],'indexes':[{'name':_0x659b('0x8'),'fields':['uniqueid']}],'timestamps':!![]});};