db2080e5100e2afe9285208104663023ae13c233
[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 _0x8701=['../../config/logger','api','moment','bluebird','path','../../config/environment','./mailTransferReport.attributes','exports','report_mail_transfer','uniqueid','lodash','util'];(function(_0x469008,_0x556e05){var _0x262bc8=function(_0x4b337){while(--_0x4b337){_0x469008['push'](_0x469008['shift']());}};_0x262bc8(++_0x556e05);}(_0x8701,0xd6));var _0x1870=function(_0x4cbfc3,_0x12425b){_0x4cbfc3=_0x4cbfc3-0x0;var _0x1f6a01=_0x8701[_0x4cbfc3];return _0x1f6a01;};'use strict';var _=require(_0x1870('0x0'));var util=require(_0x1870('0x1'));var logger=require(_0x1870('0x2'))(_0x1870('0x3'));var moment=require(_0x1870('0x4'));var BPromise=require(_0x1870('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x1870('0x6'));var rimraf=require('rimraf');var config=require(_0x1870('0x7'));var attributes=require(_0x1870('0x8'));module[_0x1870('0x9')]=function(_0x1caed0,_0x4d2d2e){return _0x1caed0['define']('MailTransferReport',attributes,{'tableName':_0x1870('0xa'),'paranoid':![],'indexes':[{'name':_0x1870('0xb'),'fields':['uniqueid']}],'timestamps':!![]});};