2efa82e011aa75d3c0a982d7e95eabf82700d632
[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 _0x0728=['report_whatsapp_transfer','uniqueid','lodash','util','api','moment','path','rimraf','../../config/environment','./whatsappTransferReport.attributes','exports','define'];(function(_0x246cfa,_0x255d18){var _0x52cd7a=function(_0x4fe3ab){while(--_0x4fe3ab){_0x246cfa['push'](_0x246cfa['shift']());}};_0x52cd7a(++_0x255d18);}(_0x0728,0x92));var _0x8072=function(_0x648e67,_0xde90b9){_0x648e67=_0x648e67-0x0;var _0x1d7a29=_0x0728[_0x648e67];return _0x1d7a29;};'use strict';var _=require(_0x8072('0x0'));var util=require(_0x8072('0x1'));var logger=require('../../config/logger')(_0x8072('0x2'));var moment=require(_0x8072('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x8072('0x4'));var rimraf=require(_0x8072('0x5'));var config=require(_0x8072('0x6'));var attributes=require(_0x8072('0x7'));module[_0x8072('0x8')]=function(_0x511df8,_0x393139){return _0x511df8[_0x8072('0x9')]('WhatsappTransferReport',attributes,{'tableName':_0x8072('0xa'),'paranoid':![],'indexes':[{'name':_0x8072('0xb'),'fields':[_0x8072('0xb')]}],'timestamps':!![]});};