8d55c2681c0f3c3e730f8edbd358a620a147a76e
[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 _0xeafb=['moment','bluebird','path','../../config/environment','define','uniqueid','lodash','util','api'];(function(_0x27dba3,_0x523acc){var _0x19f4f3=function(_0x5f1c5a){while(--_0x5f1c5a){_0x27dba3['push'](_0x27dba3['shift']());}};_0x19f4f3(++_0x523acc);}(_0xeafb,0xc3));var _0xbeaf=function(_0x57c9c7,_0xb70a91){_0x57c9c7=_0x57c9c7-0x0;var _0x48ad8b=_0xeafb[_0x57c9c7];return _0x48ad8b;};'use strict';var _=require(_0xbeaf('0x0'));var util=require(_0xbeaf('0x1'));var logger=require('../../config/logger')(_0xbeaf('0x2'));var moment=require(_0xbeaf('0x3'));var BPromise=require(_0xbeaf('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xbeaf('0x5'));var rimraf=require('rimraf');var config=require(_0xbeaf('0x6'));var attributes=require('./mailTransferReport.attributes');module['exports']=function(_0x291469,_0xc129a1){return _0x291469[_0xbeaf('0x7')]('MailTransferReport',attributes,{'tableName':'report_mail_transfer','paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0xbeaf('0x8')]}],'timestamps':!![]});};