Built motion from commit (unavailable).|2.5.11
[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 _0x36b0=['lodash','../../config/logger','api','moment','request-promise','path','MailTransferReport','report_mail_transfer','uniqueid'];(function(_0x31a986,_0x622aaf){var _0x46d6ea=function(_0x286b37){while(--_0x286b37){_0x31a986['push'](_0x31a986['shift']());}};_0x46d6ea(++_0x622aaf);}(_0x36b0,0x117));var _0x036b=function(_0x3947c9,_0x4d6c97){_0x3947c9=_0x3947c9-0x0;var _0x2e7871=_0x36b0[_0x3947c9];return _0x2e7871;};'use strict';var _=require(_0x036b('0x0'));var util=require('util');var logger=require(_0x036b('0x1'))(_0x036b('0x2'));var moment=require(_0x036b('0x3'));var BPromise=require('bluebird');var rp=require(_0x036b('0x4'));var fs=require('fs');var path=require(_0x036b('0x5'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require('./mailTransferReport.attributes');module['exports']=function(_0xe2ab0e,_0x5a1fe2){return _0xe2ab0e['define'](_0x036b('0x6'),attributes,{'tableName':_0x036b('0x7'),'paranoid':![],'indexes':[{'name':_0x036b('0x8'),'fields':[_0x036b('0x8')]}],'timestamps':!![]});};