f393e318043672a15a96632e9c01e634148c0b6e
[motion2.git] / server / api / whatsappTransferReport / whatsappTransferReport.model.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xa3ee=['exports','define','WhatsappTransferReport','report_whatsapp_transfer','uniqueid','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./whatsappTransferReport.attributes'];(function(_0x333798,_0x9f6561){var _0x389f4e=function(_0x193b28){while(--_0x193b28){_0x333798['push'](_0x333798['shift']());}};_0x389f4e(++_0x9f6561);}(_0xa3ee,0x1d5));var _0xea3e=function(_0x15b4ac,_0x1a74db){_0x15b4ac=_0x15b4ac-0x0;var _0x4a1e16=_0xa3ee[_0x15b4ac];return _0x4a1e16;};'use strict';var _=require(_0xea3e('0x0'));var util=require(_0xea3e('0x1'));var logger=require(_0xea3e('0x2'))(_0xea3e('0x3'));var moment=require(_0xea3e('0x4'));var BPromise=require(_0xea3e('0x5'));var rp=require(_0xea3e('0x6'));var fs=require('fs');var path=require(_0xea3e('0x7'));var rimraf=require(_0xea3e('0x8'));var config=require(_0xea3e('0x9'));var attributes=require(_0xea3e('0xa'));module[_0xea3e('0xb')]=function(_0x34d6bb,_0x4c5fc4){return _0x34d6bb[_0xea3e('0xc')](_0xea3e('0xd'),attributes,{'tableName':_0xea3e('0xe'),'paranoid':![],'indexes':[{'name':_0xea3e('0xf'),'fields':[_0xea3e('0xf')]}],'timestamps':!![]});};