Built motion from commit 4c281f94.|2.6.31
[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 _0x14c3=['api','moment','bluebird','request-promise','path','rimraf','./whatsappQueueReport.attributes','WhatsappQueueReport','report_whatsapp_queue','lodash','util','../../config/logger'];(function(_0x4707a3,_0x106fd8){var _0x33dc9b=function(_0x35f934){while(--_0x35f934){_0x4707a3['push'](_0x4707a3['shift']());}};_0x33dc9b(++_0x106fd8);}(_0x14c3,0x165));var _0x314c=function(_0x242d02,_0x54ebea){_0x242d02=_0x242d02-0x0;var _0xae4c35=_0x14c3[_0x242d02];return _0xae4c35;};'use strict';var _=require(_0x314c('0x0'));var util=require(_0x314c('0x1'));var logger=require(_0x314c('0x2'))(_0x314c('0x3'));var moment=require(_0x314c('0x4'));var BPromise=require(_0x314c('0x5'));var rp=require(_0x314c('0x6'));var fs=require('fs');var path=require(_0x314c('0x7'));var rimraf=require(_0x314c('0x8'));var config=require('../../config/environment');var attributes=require(_0x314c('0x9'));module['exports']=function(_0x23a5b6,_0x127318){return _0x23a5b6['define'](_0x314c('0xa'),attributes,{'tableName':_0x314c('0xb'),'paranoid':![],'indexes':[{'name':'uniqueid','fields':['uniqueid']}],'timestamps':!![]});};