Built motion from commit fe909640.|2.6.8
[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 _0x6934=['exports','define','MailTransferReport','report_mail_transfer','uniqueid','lodash','util','../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment'];(function(_0x5b3230,_0x42af57){var _0x2b6c7a=function(_0x4e7beb){while(--_0x4e7beb){_0x5b3230['push'](_0x5b3230['shift']());}};_0x2b6c7a(++_0x42af57);}(_0x6934,0x17f));var _0x4693=function(_0x4ba772,_0x527864){_0x4ba772=_0x4ba772-0x0;var _0x4dc6f7=_0x6934[_0x4ba772];return _0x4dc6f7;};'use strict';var _=require(_0x4693('0x0'));var util=require(_0x4693('0x1'));var logger=require(_0x4693('0x2'))(_0x4693('0x3'));var moment=require(_0x4693('0x4'));var BPromise=require('bluebird');var rp=require(_0x4693('0x5'));var fs=require('fs');var path=require(_0x4693('0x6'));var rimraf=require(_0x4693('0x7'));var config=require(_0x4693('0x8'));var attributes=require('./mailTransferReport.attributes');module[_0x4693('0x9')]=function(_0x19e7d1,_0x344c63){return _0x19e7d1[_0x4693('0xa')](_0x4693('0xb'),attributes,{'tableName':_0x4693('0xc'),'paranoid':![],'indexes':[{'name':_0x4693('0xd'),'fields':[_0x4693('0xd')]}],'timestamps':!![]});};