Built motion from commit (unavailable).|2.3.4
[motion2.git] / server / api / mailQueueReport / mailQueueReport.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 _0x68c9=['request-promise','define','MailQueueReport','report_mail_queue','uniqueid','lodash','util','../../config/logger','moment'];(function(_0xb7bea1,_0x2544e5){var _0xc16caf=function(_0x558444){while(--_0x558444){_0xb7bea1['push'](_0xb7bea1['shift']());}};_0xc16caf(++_0x2544e5);}(_0x68c9,0x140));var _0x968c=function(_0x2101d4,_0x4fe7aa){_0x2101d4=_0x2101d4-0x0;var _0x59e359=_0x68c9[_0x2101d4];return _0x59e359;};'use strict';var _=require(_0x968c('0x0'));var util=require(_0x968c('0x1'));var logger=require(_0x968c('0x2'))('api');var moment=require(_0x968c('0x3'));var BPromise=require('bluebird');var rp=require(_0x968c('0x4'));var attributes=require('./mailQueueReport.attributes');module['exports']=function(_0xb42377,_0x5ada7a){return _0xb42377[_0x968c('0x5')](_0x968c('0x6'),attributes,{'tableName':_0x968c('0x7'),'paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0x968c('0x8')]}],'timestamps':!![]});};