Built motion from commit (unavailable).|2.5.30
[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 _0xc9cb=['util','moment','path','../../config/environment','./mailTransferReport.attributes','define','MailTransferReport','report_mail_transfer','uniqueid','lodash'];(function(_0x9c5060,_0x1be4d7){var _0x420869=function(_0xf4d781){while(--_0xf4d781){_0x9c5060['push'](_0x9c5060['shift']());}};_0x420869(++_0x1be4d7);}(_0xc9cb,0x199));var _0xbc9c=function(_0x2e0468,_0x5d5641){_0x2e0468=_0x2e0468-0x0;var _0x33794c=_0xc9cb[_0x2e0468];return _0x33794c;};'use strict';var _=require(_0xbc9c('0x0'));var util=require(_0xbc9c('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0xbc9c('0x2'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xbc9c('0x3'));var rimraf=require('rimraf');var config=require(_0xbc9c('0x4'));var attributes=require(_0xbc9c('0x5'));module['exports']=function(_0x55350c,_0x4d57e0){return _0x55350c[_0xbc9c('0x6')](_0xbc9c('0x7'),attributes,{'tableName':_0xbc9c('0x8'),'paranoid':![],'indexes':[{'name':_0xbc9c('0x9'),'fields':[_0xbc9c('0x9')]}],'timestamps':!![]});};