Built motion from commit 00bf23f6.|2.6.16
[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 _0x97ed=['bluebird','path','rimraf','../../config/environment','./mailTransferReport.attributes','MailTransferReport','uniqueid','lodash','util','moment'];(function(_0x5194a1,_0x5c8886){var _0x3121ae=function(_0x43da9c){while(--_0x43da9c){_0x5194a1['push'](_0x5194a1['shift']());}};_0x3121ae(++_0x5c8886);}(_0x97ed,0x1e7));var _0xd97e=function(_0x565c49,_0x54acd0){_0x565c49=_0x565c49-0x0;var _0x20ca34=_0x97ed[_0x565c49];return _0x20ca34;};'use strict';var _=require(_0xd97e('0x0'));var util=require(_0xd97e('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0xd97e('0x2'));var BPromise=require(_0xd97e('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xd97e('0x4'));var rimraf=require(_0xd97e('0x5'));var config=require(_0xd97e('0x6'));var attributes=require(_0xd97e('0x7'));module['exports']=function(_0x2468bc,_0x538bdd){return _0x2468bc['define'](_0xd97e('0x8'),attributes,{'tableName':'report_mail_transfer','paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0xd97e('0x9')]}],'timestamps':!![]});};