Built motion from commit (unavailable).|2.5.1
[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 _0x2d0c=['MailQueueReport','uniqueid','util','../../config/logger','moment','bluebird','request-promise','path','rimraf','define'];(function(_0x404f3c,_0x54bebc){var _0x11b307=function(_0x35f301){while(--_0x35f301){_0x404f3c['push'](_0x404f3c['shift']());}};_0x11b307(++_0x54bebc);}(_0x2d0c,0x1e2));var _0xc2d0=function(_0x55257d,_0x3998ec){_0x55257d=_0x55257d-0x0;var _0x4d296d=_0x2d0c[_0x55257d];return _0x4d296d;};'use strict';var _=require('lodash');var util=require(_0xc2d0('0x0'));var logger=require(_0xc2d0('0x1'))('api');var moment=require(_0xc2d0('0x2'));var BPromise=require(_0xc2d0('0x3'));var rp=require(_0xc2d0('0x4'));var fs=require('fs');var path=require(_0xc2d0('0x5'));var rimraf=require(_0xc2d0('0x6'));var config=require('../../config/environment');var attributes=require('./mailQueueReport.attributes');module['exports']=function(_0xc8e0d1,_0x1894e8){return _0xc8e0d1[_0xc2d0('0x7')](_0xc2d0('0x8'),attributes,{'tableName':'report_mail_queue','paranoid':![],'indexes':[{'name':_0xc2d0('0x9'),'fields':[_0xc2d0('0x9')]}],'timestamps':!![]});};