b3f6bb3ed33f4b1e8fd7602beb9674941791594e
[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 _0xfa1f=['../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./whatsappQueueReport.attributes','exports','define','WhatsappQueueReport','report_whatsapp_queue','uniqueid','lodash','util'];(function(_0x589715,_0x387533){var _0x32662b=function(_0x51ce80){while(--_0x51ce80){_0x589715['push'](_0x589715['shift']());}};_0x32662b(++_0x387533);}(_0xfa1f,0x17e));var _0xffa1=function(_0x21549c,_0x6d64d1){_0x21549c=_0x21549c-0x0;var _0x426cbd=_0xfa1f[_0x21549c];return _0x426cbd;};'use strict';var _=require(_0xffa1('0x0'));var util=require(_0xffa1('0x1'));var logger=require(_0xffa1('0x2'))(_0xffa1('0x3'));var moment=require(_0xffa1('0x4'));var BPromise=require(_0xffa1('0x5'));var rp=require(_0xffa1('0x6'));var fs=require('fs');var path=require(_0xffa1('0x7'));var rimraf=require(_0xffa1('0x8'));var config=require(_0xffa1('0x9'));var attributes=require(_0xffa1('0xa'));module[_0xffa1('0xb')]=function(_0x42e02c,_0x2d4e28){return _0x42e02c[_0xffa1('0xc')](_0xffa1('0xd'),attributes,{'tableName':_0xffa1('0xe'),'paranoid':![],'indexes':[{'name':_0xffa1('0xf'),'fields':[_0xffa1('0xf')]}],'timestamps':!![]});};