Built motion from commit (unavailable).|2.5.21
[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 _0x22bf=['./whatsappQueueReport.attributes','exports','define','uniqueid','lodash','util','moment','bluebird','request-promise','path','../../config/environment'];(function(_0x2c3e2c,_0x23b157){var _0x2cb53f=function(_0x32588d){while(--_0x32588d){_0x2c3e2c['push'](_0x2c3e2c['shift']());}};_0x2cb53f(++_0x23b157);}(_0x22bf,0x1b1));var _0xf22b=function(_0x17c260,_0x53028c){_0x17c260=_0x17c260-0x0;var _0x518453=_0x22bf[_0x17c260];return _0x518453;};'use strict';var _=require(_0xf22b('0x0'));var util=require(_0xf22b('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0xf22b('0x2'));var BPromise=require(_0xf22b('0x3'));var rp=require(_0xf22b('0x4'));var fs=require('fs');var path=require(_0xf22b('0x5'));var rimraf=require('rimraf');var config=require(_0xf22b('0x6'));var attributes=require(_0xf22b('0x7'));module[_0xf22b('0x8')]=function(_0x4fede1,_0x4f17bd){return _0x4fede1[_0xf22b('0x9')]('WhatsappQueueReport',attributes,{'tableName':'report_whatsapp_queue','paranoid':![],'indexes':[{'name':_0xf22b('0xa'),'fields':[_0xf22b('0xa')]}],'timestamps':!![]});};