Built motion from commit f7863d46.|2.5.41
[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 _0xc49a=['./whatsappTransferReport.attributes','exports','define','report_whatsapp_transfer','uniqueid','lodash','util','api','moment','path','rimraf'];(function(_0x2292c6,_0x465491){var _0x5b364=function(_0x29a83b){while(--_0x29a83b){_0x2292c6['push'](_0x2292c6['shift']());}};_0x5b364(++_0x465491);}(_0xc49a,0xb5));var _0xac49=function(_0x496cf0,_0x4ea559){_0x496cf0=_0x496cf0-0x0;var _0x5400f8=_0xc49a[_0x496cf0];return _0x5400f8;};'use strict';var _=require(_0xac49('0x0'));var util=require(_0xac49('0x1'));var logger=require('../../config/logger')(_0xac49('0x2'));var moment=require(_0xac49('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xac49('0x4'));var rimraf=require(_0xac49('0x5'));var config=require('../../config/environment');var attributes=require(_0xac49('0x6'));module[_0xac49('0x7')]=function(_0x162b66,_0xa5315d){return _0x162b66[_0xac49('0x8')]('WhatsappTransferReport',attributes,{'tableName':_0xac49('0x9'),'paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0xac49('0xa')]}],'timestamps':!![]});};