Built motion from commit 0900f080.|2.5.45
[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 _0xe700=['util','../../config/logger','api','moment','request-promise','rimraf','../../config/environment','define','MailTransferReport','uniqueid','lodash'];(function(_0x2865ee,_0xffa5d1){var _0x5660da=function(_0x319fbb){while(--_0x319fbb){_0x2865ee['push'](_0x2865ee['shift']());}};_0x5660da(++_0xffa5d1);}(_0xe700,0x16a));var _0x0e70=function(_0x4ef10e,_0x227f53){_0x4ef10e=_0x4ef10e-0x0;var _0x46ebdf=_0xe700[_0x4ef10e];return _0x46ebdf;};'use strict';var _=require(_0x0e70('0x0'));var util=require(_0x0e70('0x1'));var logger=require(_0x0e70('0x2'))(_0x0e70('0x3'));var moment=require(_0x0e70('0x4'));var BPromise=require('bluebird');var rp=require(_0x0e70('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x0e70('0x6'));var config=require(_0x0e70('0x7'));var attributes=require('./mailTransferReport.attributes');module['exports']=function(_0xf3ba11,_0xc96045){return _0xf3ba11[_0x0e70('0x8')](_0x0e70('0x9'),attributes,{'tableName':'report_mail_transfer','paranoid':![],'indexes':[{'name':_0x0e70('0xa'),'fields':[_0x0e70('0xa')]}],'timestamps':!![]});};