f828847120a85e6a5f904a7a0ede7f14684c422e
[motion2.git] / server / api / whatsappQueueReport / whatsappQueueReport.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 _0xf073=['moment','bluebird','request-promise','path','rimraf','./whatsappQueueReport.attributes','report_whatsapp_queue','uniqueid','lodash','util'];(function(_0x291ffa,_0x4d7e70){var _0x3e3066=function(_0x1ee903){while(--_0x1ee903){_0x291ffa['push'](_0x291ffa['shift']());}};_0x3e3066(++_0x4d7e70);}(_0xf073,0x1e8));var _0x3f07=function(_0x515255,_0x1ce61e){_0x515255=_0x515255-0x0;var _0x36fd54=_0xf073[_0x515255];return _0x36fd54;};'use strict';var _=require(_0x3f07('0x0'));var util=require(_0x3f07('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x3f07('0x2'));var BPromise=require(_0x3f07('0x3'));var rp=require(_0x3f07('0x4'));var fs=require('fs');var path=require(_0x3f07('0x5'));var rimraf=require(_0x3f07('0x6'));var config=require('../../config/environment');var attributes=require(_0x3f07('0x7'));module['exports']=function(_0xff35c,_0x2b25cd){return _0xff35c['define']('WhatsappQueueReport',attributes,{'tableName':_0x3f07('0x8'),'paranoid':![],'indexes':[{'name':_0x3f07('0x9'),'fields':[_0x3f07('0x9')]}],'timestamps':!![]});};