Built motion from commit 85328c08.|2.5.50
[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 _0xd0cb=['util','../../config/logger','api','moment','request-promise','path','rimraf','./whatsappQueueReport.attributes','exports','define','WhatsappQueueReport','report_whatsapp_queue','lodash'];(function(_0x218c43,_0x209f63){var _0x4ac0db=function(_0x335608){while(--_0x335608){_0x218c43['push'](_0x218c43['shift']());}};_0x4ac0db(++_0x209f63);}(_0xd0cb,0x1b9));var _0xbd0c=function(_0x10ede2,_0x2c1c33){_0x10ede2=_0x10ede2-0x0;var _0x466543=_0xd0cb[_0x10ede2];return _0x466543;};'use strict';var _=require(_0xbd0c('0x0'));var util=require(_0xbd0c('0x1'));var logger=require(_0xbd0c('0x2'))(_0xbd0c('0x3'));var moment=require(_0xbd0c('0x4'));var BPromise=require('bluebird');var rp=require(_0xbd0c('0x5'));var fs=require('fs');var path=require(_0xbd0c('0x6'));var rimraf=require(_0xbd0c('0x7'));var config=require('../../config/environment');var attributes=require(_0xbd0c('0x8'));module[_0xbd0c('0x9')]=function(_0x2f7730,_0x3a4f0b){return _0x2f7730[_0xbd0c('0xa')](_0xbd0c('0xb'),attributes,{'tableName':_0xbd0c('0xc'),'paranoid':![],'indexes':[{'name':'uniqueid','fields':['uniqueid']}],'timestamps':!![]});};