dd736a10256803abc8b8e60d3b8ecf7550e3d290
[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 _0x36de=['bluebird','rimraf','../../config/environment','./whatsappQueueReport.attributes','define','report_whatsapp_queue','uniqueid','lodash','util','../../config/logger','api','moment'];(function(_0x68c979,_0x431cff){var _0x4f0001=function(_0xa7595d){while(--_0xa7595d){_0x68c979['push'](_0x68c979['shift']());}};_0x4f0001(++_0x431cff);}(_0x36de,0x1ab));var _0xe36d=function(_0x3ed714,_0xaad5d9){_0x3ed714=_0x3ed714-0x0;var _0x3eeffc=_0x36de[_0x3ed714];return _0x3eeffc;};'use strict';var _=require(_0xe36d('0x0'));var util=require(_0xe36d('0x1'));var logger=require(_0xe36d('0x2'))(_0xe36d('0x3'));var moment=require(_0xe36d('0x4'));var BPromise=require(_0xe36d('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xe36d('0x6'));var config=require(_0xe36d('0x7'));var attributes=require(_0xe36d('0x8'));module['exports']=function(_0xcd90b9,_0x4ba71f){return _0xcd90b9[_0xe36d('0x9')]('WhatsappQueueReport',attributes,{'tableName':_0xe36d('0xa'),'paranoid':![],'indexes':[{'name':_0xe36d('0xb'),'fields':[_0xe36d('0xb')]}],'timestamps':!![]});};