7557bede23596bcf5679de71f4cd3627252528eb
[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 _0x38cd=['../../config/environment','./whatsappQueueReport.attributes','define','WhatsappQueueReport','report_whatsapp_queue','uniqueid','lodash','util','../../config/logger','moment','bluebird','request-promise','path','rimraf'];(function(_0x42cae2,_0x284ef8){var _0x5f256f=function(_0x41abc8){while(--_0x41abc8){_0x42cae2['push'](_0x42cae2['shift']());}};_0x5f256f(++_0x284ef8);}(_0x38cd,0x156));var _0xd38c=function(_0x13d07a,_0x41efc3){_0x13d07a=_0x13d07a-0x0;var _0x5ee0ee=_0x38cd[_0x13d07a];return _0x5ee0ee;};'use strict';var _=require(_0xd38c('0x0'));var util=require(_0xd38c('0x1'));var logger=require(_0xd38c('0x2'))('api');var moment=require(_0xd38c('0x3'));var BPromise=require(_0xd38c('0x4'));var rp=require(_0xd38c('0x5'));var fs=require('fs');var path=require(_0xd38c('0x6'));var rimraf=require(_0xd38c('0x7'));var config=require(_0xd38c('0x8'));var attributes=require(_0xd38c('0x9'));module['exports']=function(_0x4cf27c,_0x112011){return _0x4cf27c[_0xd38c('0xa')](_0xd38c('0xb'),attributes,{'tableName':_0xd38c('0xc'),'paranoid':![],'indexes':[{'name':_0xd38c('0xd'),'fields':[_0xd38c('0xd')]}],'timestamps':!![]});};