Built motion from commit (unavailable).|2.5.26
[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 _0xe06c=['util','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','uniqueid'];(function(_0x2f2a6f,_0xe63e10){var _0x14441d=function(_0x3ab031){while(--_0x3ab031){_0x2f2a6f['push'](_0x2f2a6f['shift']());}};_0x14441d(++_0xe63e10);}(_0xe06c,0x1a7));var _0xce06=function(_0x24c621,_0x32480c){_0x24c621=_0x24c621-0x0;var _0x4046ff=_0xe06c[_0x24c621];return _0x4046ff;};'use strict';var _=require('lodash');var util=require(_0xce06('0x0'));var logger=require('../../config/logger')(_0xce06('0x1'));var moment=require(_0xce06('0x2'));var BPromise=require(_0xce06('0x3'));var rp=require(_0xce06('0x4'));var fs=require('fs');var path=require(_0xce06('0x5'));var rimraf=require(_0xce06('0x6'));var config=require(_0xce06('0x7'));var attributes=require('./mailTransferReport.attributes');module['exports']=function(_0x48781e,_0x557ef3){return _0x48781e['define']('MailTransferReport',attributes,{'tableName':'report_mail_transfer','paranoid':![],'indexes':[{'name':_0xce06('0x8'),'fields':[_0xce06('0x8')]}],'timestamps':!![]});};