Built motion from commit 85328c08.|2.5.50
[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 _0x3aed=['report_mail_queue','uniqueid','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./mailQueueReport.attributes','exports','define','MailQueueReport'];(function(_0x17b6e3,_0x4522ed){var _0x3906f3=function(_0x430f87){while(--_0x430f87){_0x17b6e3['push'](_0x17b6e3['shift']());}};_0x3906f3(++_0x4522ed);}(_0x3aed,0x89));var _0xd3ae=function(_0x5a79e2,_0x319b1a){_0x5a79e2=_0x5a79e2-0x0;var _0x266c45=_0x3aed[_0x5a79e2];return _0x266c45;};'use strict';var _=require('lodash');var util=require(_0xd3ae('0x0'));var logger=require(_0xd3ae('0x1'))(_0xd3ae('0x2'));var moment=require(_0xd3ae('0x3'));var BPromise=require(_0xd3ae('0x4'));var rp=require(_0xd3ae('0x5'));var fs=require('fs');var path=require(_0xd3ae('0x6'));var rimraf=require(_0xd3ae('0x7'));var config=require(_0xd3ae('0x8'));var attributes=require(_0xd3ae('0x9'));module[_0xd3ae('0xa')]=function(_0x4488cd,_0x3c15c6){return _0x4488cd[_0xd3ae('0xb')](_0xd3ae('0xc'),attributes,{'tableName':_0xd3ae('0xd'),'paranoid':![],'indexes':[{'name':_0xd3ae('0xe'),'fields':[_0xd3ae('0xe')]}],'timestamps':!![]});};