Built motion from commit 3e059bc2.|2.5.32
[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 _0x8aff=['MailQueueReport','report_mail_queue','uniqueid','lodash','util','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./mailQueueReport.attributes','exports','define'];(function(_0x201e7b,_0x4f7a71){var _0x264373=function(_0x221058){while(--_0x221058){_0x201e7b['push'](_0x201e7b['shift']());}};_0x264373(++_0x4f7a71);}(_0x8aff,0x120));var _0xf8af=function(_0x36884e,_0x48008f){_0x36884e=_0x36884e-0x0;var _0x1cc367=_0x8aff[_0x36884e];return _0x1cc367;};'use strict';var _=require(_0xf8af('0x0'));var util=require(_0xf8af('0x1'));var logger=require('../../config/logger')(_0xf8af('0x2'));var moment=require(_0xf8af('0x3'));var BPromise=require(_0xf8af('0x4'));var rp=require(_0xf8af('0x5'));var fs=require('fs');var path=require(_0xf8af('0x6'));var rimraf=require(_0xf8af('0x7'));var config=require(_0xf8af('0x8'));var attributes=require(_0xf8af('0x9'));module[_0xf8af('0xa')]=function(_0x20f38a,_0x281f18){return _0x20f38a[_0xf8af('0xb')](_0xf8af('0xc'),attributes,{'tableName':_0xf8af('0xd'),'paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0xf8af('0xe')]}],'timestamps':!![]});};