ebafc96d0b8804e15cc245380a2266b1ffd07954
[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 _0xce6a=['MailQueueReport','report_mail_queue','uniqueid','util','moment','request-promise','path','rimraf','../../config/environment','./mailQueueReport.attributes','define'];(function(_0x1f9252,_0x41048c){var _0xbe2ef0=function(_0x4a680c){while(--_0x4a680c){_0x1f9252['push'](_0x1f9252['shift']());}};_0xbe2ef0(++_0x41048c);}(_0xce6a,0xd4));var _0xace6=function(_0x6ad093,_0x4be846){_0x6ad093=_0x6ad093-0x0;var _0x53c884=_0xce6a[_0x6ad093];return _0x53c884;};'use strict';var _=require('lodash');var util=require(_0xace6('0x0'));var logger=require('../../config/logger')('api');var moment=require(_0xace6('0x1'));var BPromise=require('bluebird');var rp=require(_0xace6('0x2'));var fs=require('fs');var path=require(_0xace6('0x3'));var rimraf=require(_0xace6('0x4'));var config=require(_0xace6('0x5'));var attributes=require(_0xace6('0x6'));module['exports']=function(_0x345044,_0x53eae3){return _0x345044[_0xace6('0x7')](_0xace6('0x8'),attributes,{'tableName':_0xace6('0x9'),'paranoid':![],'indexes':[{'name':_0xace6('0xa'),'fields':[_0xace6('0xa')]}],'timestamps':!![]});};