a3f7e3a577b732f4628d77370352ab2bb618b1d4
[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 _0x7978=['util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./mailTransferReport.attributes','exports','report_mail_transfer','uniqueid'];(function(_0x258e1f,_0x24f56b){var _0x3d1177=function(_0x51749c){while(--_0x51749c){_0x258e1f['push'](_0x258e1f['shift']());}};_0x3d1177(++_0x24f56b);}(_0x7978,0x111));var _0x8797=function(_0x39e84d,_0x11931d){_0x39e84d=_0x39e84d-0x0;var _0x1991bc=_0x7978[_0x39e84d];return _0x1991bc;};'use strict';var _=require('lodash');var util=require(_0x8797('0x0'));var logger=require(_0x8797('0x1'))(_0x8797('0x2'));var moment=require(_0x8797('0x3'));var BPromise=require(_0x8797('0x4'));var rp=require(_0x8797('0x5'));var fs=require('fs');var path=require(_0x8797('0x6'));var rimraf=require(_0x8797('0x7'));var config=require(_0x8797('0x8'));var attributes=require(_0x8797('0x9'));module[_0x8797('0xa')]=function(_0x5484d6,_0x305e12){return _0x5484d6['define']('MailTransferReport',attributes,{'tableName':_0x8797('0xb'),'paranoid':![],'indexes':[{'name':_0x8797('0xc'),'fields':[_0x8797('0xc')]}],'timestamps':!![]});};