Built motion from commit 1fa89557.|2.6.10
[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 _0xb9b3=['./whatsappQueueReport.attributes','exports','define','report_whatsapp_queue','uniqueid','lodash','util','../../config/logger','api','bluebird','request-promise','path','../../config/environment'];(function(_0x297fd3,_0x115406){var _0x2af381=function(_0x1dd31b){while(--_0x1dd31b){_0x297fd3['push'](_0x297fd3['shift']());}};_0x2af381(++_0x115406);}(_0xb9b3,0x171));var _0x3b9b=function(_0x31d75b,_0x2a2488){_0x31d75b=_0x31d75b-0x0;var _0x54b69c=_0xb9b3[_0x31d75b];return _0x54b69c;};'use strict';var _=require(_0x3b9b('0x0'));var util=require(_0x3b9b('0x1'));var logger=require(_0x3b9b('0x2'))(_0x3b9b('0x3'));var moment=require('moment');var BPromise=require(_0x3b9b('0x4'));var rp=require(_0x3b9b('0x5'));var fs=require('fs');var path=require(_0x3b9b('0x6'));var rimraf=require('rimraf');var config=require(_0x3b9b('0x7'));var attributes=require(_0x3b9b('0x8'));module[_0x3b9b('0x9')]=function(_0x160500,_0x4413d5){return _0x160500[_0x3b9b('0xa')]('WhatsappQueueReport',attributes,{'tableName':_0x3b9b('0xb'),'paranoid':![],'indexes':[{'name':_0x3b9b('0xc'),'fields':[_0x3b9b('0xc')]}],'timestamps':!![]});};