c49b76b878bce47f184d264d12a32bcca7f81b5d
[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 _0xd14a=['api','moment','bluebird','request-promise','rimraf','./whatsappQueueReport.attributes','exports','report_whatsapp_queue','uniqueid','lodash','util','../../config/logger'];(function(_0x567598,_0x17de24){var _0x375110=function(_0x4aa84f){while(--_0x4aa84f){_0x567598['push'](_0x567598['shift']());}};_0x375110(++_0x17de24);}(_0xd14a,0x141));var _0xad14=function(_0xa044ee,_0x3ae7e8){_0xa044ee=_0xa044ee-0x0;var _0x910e33=_0xd14a[_0xa044ee];return _0x910e33;};'use strict';var _=require(_0xad14('0x0'));var util=require(_0xad14('0x1'));var logger=require(_0xad14('0x2'))(_0xad14('0x3'));var moment=require(_0xad14('0x4'));var BPromise=require(_0xad14('0x5'));var rp=require(_0xad14('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0xad14('0x7'));var config=require('../../config/environment');var attributes=require(_0xad14('0x8'));module[_0xad14('0x9')]=function(_0x3413c5,_0x272285){return _0x3413c5['define']('WhatsappQueueReport',attributes,{'tableName':_0xad14('0xa'),'paranoid':![],'indexes':[{'name':_0xad14('0xb'),'fields':[_0xad14('0xb')]}],'timestamps':!![]});};