Built motion from commit (unavailable).|2.5.14
[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 _0xde0f=['./mailQueueReport.attributes','exports','define','MailQueueReport','report_mail_queue','uniqueid','../../config/logger','api','moment','bluebird','request-promise','rimraf','../../config/environment'];(function(_0xe01a38,_0x2bac36){var _0x20bf91=function(_0x4517d9){while(--_0x4517d9){_0xe01a38['push'](_0xe01a38['shift']());}};_0x20bf91(++_0x2bac36);}(_0xde0f,0xa2));var _0xfde0=function(_0x3e3de0,_0x41e42c){_0x3e3de0=_0x3e3de0-0x0;var _0x3606f6=_0xde0f[_0x3e3de0];return _0x3606f6;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xfde0('0x0'))(_0xfde0('0x1'));var moment=require(_0xfde0('0x2'));var BPromise=require(_0xfde0('0x3'));var rp=require(_0xfde0('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xfde0('0x5'));var config=require(_0xfde0('0x6'));var attributes=require(_0xfde0('0x7'));module[_0xfde0('0x8')]=function(_0xb6f608,_0x2c17d6){return _0xb6f608[_0xfde0('0x9')](_0xfde0('0xa'),attributes,{'tableName':_0xfde0('0xb'),'paranoid':![],'indexes':[{'name':_0xfde0('0xc'),'fields':[_0xfde0('0xc')]}],'timestamps':!![]});};