Built motion from commit (unavailable).|2.5.9
[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 _0xb5e9=['exports','define','MailQueueReport','report_mail_queue','uniqueid','lodash','util','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./mailQueueReport.attributes'];(function(_0x36b3f4,_0x2c6ae2){var _0x139d9e=function(_0x43e077){while(--_0x43e077){_0x36b3f4['push'](_0x36b3f4['shift']());}};_0x139d9e(++_0x2c6ae2);}(_0xb5e9,0x1c7));var _0x9b5e=function(_0x28518c,_0x5dabb0){_0x28518c=_0x28518c-0x0;var _0x8e3945=_0xb5e9[_0x28518c];return _0x8e3945;};'use strict';var _=require(_0x9b5e('0x0'));var util=require(_0x9b5e('0x1'));var logger=require('../../config/logger')(_0x9b5e('0x2'));var moment=require(_0x9b5e('0x3'));var BPromise=require(_0x9b5e('0x4'));var rp=require(_0x9b5e('0x5'));var fs=require('fs');var path=require(_0x9b5e('0x6'));var rimraf=require(_0x9b5e('0x7'));var config=require(_0x9b5e('0x8'));var attributes=require(_0x9b5e('0x9'));module[_0x9b5e('0xa')]=function(_0x157058,_0x483bcf){return _0x157058[_0x9b5e('0xb')](_0x9b5e('0xc'),attributes,{'tableName':_0x9b5e('0xd'),'paranoid':![],'indexes':[{'name':_0x9b5e('0xe'),'fields':[_0x9b5e('0xe')]}],'timestamps':!![]});};