2640b33a22963dbe2290abb02a7ac804d4fb7074
[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 _0xd90b=['api','request-promise','rimraf','../../config/environment','./mailTransferReport.attributes','exports','MailTransferReport','report_mail_transfer','uniqueid','lodash'];(function(_0x37b112,_0x503b0c){var _0x31c131=function(_0x10d5cc){while(--_0x10d5cc){_0x37b112['push'](_0x37b112['shift']());}};_0x31c131(++_0x503b0c);}(_0xd90b,0xbd));var _0xbd90=function(_0x3833e5,_0x81984e){_0x3833e5=_0x3833e5-0x0;var _0x1e6259=_0xd90b[_0x3833e5];return _0x1e6259;};'use strict';var _=require(_0xbd90('0x0'));var util=require('util');var logger=require('../../config/logger')(_0xbd90('0x1'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xbd90('0x2'));var fs=require('fs');var path=require('path');var rimraf=require(_0xbd90('0x3'));var config=require(_0xbd90('0x4'));var attributes=require(_0xbd90('0x5'));module[_0xbd90('0x6')]=function(_0x448c24,_0x257fd3){return _0x448c24['define'](_0xbd90('0x7'),attributes,{'tableName':_0xbd90('0x8'),'paranoid':![],'indexes':[{'name':_0xbd90('0x9'),'fields':[_0xbd90('0x9')]}],'timestamps':!![]});};