a1abb977b8b14da90164b4b99d2d1d1c1894f969
[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 _0x3d8f=['MailTransferReport','report_mail_transfer','uniqueid','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./mailTransferReport.attributes'];(function(_0xb6b285,_0x596e01){var _0x11393c=function(_0x506469){while(--_0x506469){_0xb6b285['push'](_0xb6b285['shift']());}};_0x11393c(++_0x596e01);}(_0x3d8f,0x1bf));var _0xf3d8=function(_0x388a41,_0x5d2385){_0x388a41=_0x388a41-0x0;var _0x44c5ee=_0x3d8f[_0x388a41];return _0x44c5ee;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xf3d8('0x0'))(_0xf3d8('0x1'));var moment=require(_0xf3d8('0x2'));var BPromise=require(_0xf3d8('0x3'));var rp=require(_0xf3d8('0x4'));var fs=require('fs');var path=require(_0xf3d8('0x5'));var rimraf=require(_0xf3d8('0x6'));var config=require(_0xf3d8('0x7'));var attributes=require(_0xf3d8('0x8'));module['exports']=function(_0x319dbf,_0x44802d){return _0x319dbf['define'](_0xf3d8('0x9'),attributes,{'tableName':_0xf3d8('0xa'),'paranoid':![],'indexes':[{'name':_0xf3d8('0xb'),'fields':[_0xf3d8('0xb')]}],'timestamps':!![]});};