Built motion from commit (unavailable).|2.5.11
[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 _0x2691=['path','rimraf','../../config/environment','./mailQueueReport.attributes','exports','report_mail_queue','uniqueid','lodash','util','../../config/logger','api','moment','bluebird'];(function(_0x5da8b4,_0x4c9c7f){var _0xce3409=function(_0x569d73){while(--_0x569d73){_0x5da8b4['push'](_0x5da8b4['shift']());}};_0xce3409(++_0x4c9c7f);}(_0x2691,0x132));var _0x1269=function(_0x3dfc54,_0x2effee){_0x3dfc54=_0x3dfc54-0x0;var _0x2cbfe2=_0x2691[_0x3dfc54];return _0x2cbfe2;};'use strict';var _=require(_0x1269('0x0'));var util=require(_0x1269('0x1'));var logger=require(_0x1269('0x2'))(_0x1269('0x3'));var moment=require(_0x1269('0x4'));var BPromise=require(_0x1269('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x1269('0x6'));var rimraf=require(_0x1269('0x7'));var config=require(_0x1269('0x8'));var attributes=require(_0x1269('0x9'));module[_0x1269('0xa')]=function(_0x28edc5,_0x21f45d){return _0x28edc5['define']('MailQueueReport',attributes,{'tableName':_0x1269('0xb'),'paranoid':![],'indexes':[{'name':_0x1269('0xc'),'fields':[_0x1269('0xc')]}],'timestamps':!![]});};