7c8f9eea39e934e44f5918c6c181cf1b3674a7e4
[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 _0xe4d9=['uniqueid','lodash','util','../../config/logger','moment','path','rimraf','./mailTransferReport.attributes','exports','define'];(function(_0x4ca022,_0x31c431){var _0x286898=function(_0x4c88b0){while(--_0x4c88b0){_0x4ca022['push'](_0x4ca022['shift']());}};_0x286898(++_0x31c431);}(_0xe4d9,0x141));var _0x9e4d=function(_0x387d35,_0x427177){_0x387d35=_0x387d35-0x0;var _0x1e1e5b=_0xe4d9[_0x387d35];return _0x1e1e5b;};'use strict';var _=require(_0x9e4d('0x0'));var util=require(_0x9e4d('0x1'));var logger=require(_0x9e4d('0x2'))('api');var moment=require(_0x9e4d('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x9e4d('0x4'));var rimraf=require(_0x9e4d('0x5'));var config=require('../../config/environment');var attributes=require(_0x9e4d('0x6'));module[_0x9e4d('0x7')]=function(_0x5a4881,_0x493fb5){return _0x5a4881[_0x9e4d('0x8')]('MailTransferReport',attributes,{'tableName':'report_mail_transfer','paranoid':![],'indexes':[{'name':_0x9e4d('0x9'),'fields':['uniqueid']}],'timestamps':!![]});};