Built motion from commit (unavailable).|2.5.21
[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 _0xa70f=['util','../../config/logger','api','moment','bluebird','request-promise','path','./mailQueueReport.attributes','exports','uniqueid'];(function(_0x502c7d,_0x2f1285){var _0x30b7ed=function(_0x2d92f3){while(--_0x2d92f3){_0x502c7d['push'](_0x502c7d['shift']());}};_0x30b7ed(++_0x2f1285);}(_0xa70f,0x1f4));var _0xfa70=function(_0x2b14ce,_0xc39b45){_0x2b14ce=_0x2b14ce-0x0;var _0x310467=_0xa70f[_0x2b14ce];return _0x310467;};'use strict';var _=require('lodash');var util=require(_0xfa70('0x0'));var logger=require(_0xfa70('0x1'))(_0xfa70('0x2'));var moment=require(_0xfa70('0x3'));var BPromise=require(_0xfa70('0x4'));var rp=require(_0xfa70('0x5'));var fs=require('fs');var path=require(_0xfa70('0x6'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xfa70('0x7'));module[_0xfa70('0x8')]=function(_0x4a11b2,_0x1f9b37){return _0x4a11b2['define']('MailQueueReport',attributes,{'tableName':'report_mail_queue','paranoid':![],'indexes':[{'name':_0xfa70('0x9'),'fields':[_0xfa70('0x9')]}],'timestamps':!![]});};