6e3231dfcdb731f5526eb38606914c1d53a7f05c
[motion2.git] / server / api / mailTransferReport / mailTransferReport.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 _0x3c06=['lodash','util','../../config/logger','api','moment','bluebird','path','rimraf','../../config/environment','./mailTransferReport.attributes','exports','report_mail_transfer','uniqueid'];(function(_0x1e7634,_0x37d8e2){var _0x50a829=function(_0x3fe890){while(--_0x3fe890){_0x1e7634['push'](_0x1e7634['shift']());}};_0x50a829(++_0x37d8e2);}(_0x3c06,0xf7));var _0x63c0=function(_0x577aa0,_0x7fbcbf){_0x577aa0=_0x577aa0-0x0;var _0x3f8800=_0x3c06[_0x577aa0];return _0x3f8800;};'use strict';var _=require(_0x63c0('0x0'));var util=require(_0x63c0('0x1'));var logger=require(_0x63c0('0x2'))(_0x63c0('0x3'));var moment=require(_0x63c0('0x4'));var BPromise=require(_0x63c0('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x63c0('0x6'));var rimraf=require(_0x63c0('0x7'));var config=require(_0x63c0('0x8'));var attributes=require(_0x63c0('0x9'));module[_0x63c0('0xa')]=function(_0x4474bd,_0x2fe268){return _0x4474bd['define']('MailTransferReport',attributes,{'tableName':_0x63c0('0xb'),'paranoid':![],'indexes':[{'name':_0x63c0('0xc'),'fields':[_0x63c0('0xc')]}],'timestamps':!![]});};