Built motion from commit (unavailable).|2.5.14
[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 _0xe884=['define','MailTransferReport','report_mail_transfer','uniqueid','util','../../config/logger','api','request-promise','rimraf','../../config/environment','./mailTransferReport.attributes'];(function(_0x5dd0d0,_0x213a28){var _0x194c9f=function(_0x43cccf){while(--_0x43cccf){_0x5dd0d0['push'](_0x5dd0d0['shift']());}};_0x194c9f(++_0x213a28);}(_0xe884,0x1bc));var _0x4e88=function(_0x153fb4,_0x5ab8c8){_0x153fb4=_0x153fb4-0x0;var _0x373974=_0xe884[_0x153fb4];return _0x373974;};'use strict';var _=require('lodash');var util=require(_0x4e88('0x0'));var logger=require(_0x4e88('0x1'))(_0x4e88('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x4e88('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0x4e88('0x4'));var config=require(_0x4e88('0x5'));var attributes=require(_0x4e88('0x6'));module['exports']=function(_0x49ce20,_0x4949a4){return _0x49ce20[_0x4e88('0x7')](_0x4e88('0x8'),attributes,{'tableName':_0x4e88('0x9'),'paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0x4e88('0xa')]}],'timestamps':!![]});};