Built motion from commit bab6f49e.|2.6.17
[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 _0x01f5=['../../config/logger','bluebird','request-promise','path','rimraf','../../config/environment','./mailTransferReport.attributes','define','report_mail_transfer','uniqueid','lodash','util'];(function(_0xf89585,_0x2c2d12){var _0x3b7011=function(_0x47d8ba){while(--_0x47d8ba){_0xf89585['push'](_0xf89585['shift']());}};_0x3b7011(++_0x2c2d12);}(_0x01f5,0x9a));var _0x501f=function(_0x356499,_0x707fe4){_0x356499=_0x356499-0x0;var _0x122cd4=_0x01f5[_0x356499];return _0x122cd4;};'use strict';var _=require(_0x501f('0x0'));var util=require(_0x501f('0x1'));var logger=require(_0x501f('0x2'))('api');var moment=require('moment');var BPromise=require(_0x501f('0x3'));var rp=require(_0x501f('0x4'));var fs=require('fs');var path=require(_0x501f('0x5'));var rimraf=require(_0x501f('0x6'));var config=require(_0x501f('0x7'));var attributes=require(_0x501f('0x8'));module['exports']=function(_0x227f07,_0xfa196d){return _0x227f07[_0x501f('0x9')]('MailTransferReport',attributes,{'tableName':_0x501f('0xa'),'paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0x501f('0xb')]}],'timestamps':!![]});};