Built motion from commit b0a9a629.|2.6.33
[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 _0x03e9=['path','rimraf','../../config/environment','./whatsappQueueReport.attributes','define','report_whatsapp_queue','uniqueid','lodash','util','../../config/logger','request-promise'];(function(_0x123d68,_0x3e4197){var _0x527693=function(_0x5195aa){while(--_0x5195aa){_0x123d68['push'](_0x123d68['shift']());}};_0x527693(++_0x3e4197);}(_0x03e9,0xac));var _0x903e=function(_0x592794,_0x46b377){_0x592794=_0x592794-0x0;var _0x51deca=_0x03e9[_0x592794];return _0x51deca;};'use strict';var _=require(_0x903e('0x0'));var util=require(_0x903e('0x1'));var logger=require(_0x903e('0x2'))('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x903e('0x3'));var fs=require('fs');var path=require(_0x903e('0x4'));var rimraf=require(_0x903e('0x5'));var config=require(_0x903e('0x6'));var attributes=require(_0x903e('0x7'));module['exports']=function(_0x2dddfe,_0x4005bb){return _0x2dddfe[_0x903e('0x8')]('WhatsappQueueReport',attributes,{'tableName':_0x903e('0x9'),'paranoid':![],'indexes':[{'name':_0x903e('0xa'),'fields':['uniqueid']}],'timestamps':!![]});};